Split-screen display method and electronic device
By implementing split-screen display and locking functions on the display screen of smart terminals, the problem of users frequently switching applications during multitasking is solved, improving operating efficiency and user experience.
Patent Information
- Application Number
- CN201911212028.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-11-30
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2039-11-30
AI Technical Summary
Existing smart terminals can only display the interface of one application at the same time. Users need to frequently switch applications to receive WeChat messages when viewing official account content, which is cumbersome and has a poor user experience.
Provides a split-screen display method that displays different application interfaces in two areas of the display screen and allows users to lock the display content of a split-screen area to improve operating efficiency.
Users can easily lock the displayed content in a split-screen area, reduce operating frequency, and improve user experience and operating efficiency.
Smart Images

Figure CN112882777B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of human-computer interaction, and in particular to a split-screen display method and an electronic device. Background Art
[0002] With the continuous development of mobile communication technology, there are more and more types of applications on smart terminals, and the services provided by an application are becoming more and more complex and diverse. For example, users can view the content of WeChat public accounts through WeChat applications, and can also chat with other users through WeChat applications. However, in the prior art, the display screen of a smart terminal can only display one display interface in an application at the same time. In some scenarios, when a user is viewing a public account, he receives a WeChat message from other users. If the user wants to reply to the chat message in time, he must switch the WeChat application to the chat interface to reply, and then switch back to the display interface of the public account to continue viewing. In this way, the user needs to switch back and forth between multiple display interfaces of the WeChat application, which is cumbersome to operate and has a poor user experience. Summary of the invention
[0003] The embodiments of the present application provide a split-screen display method and an electronic device, which can lock the display content of a split-screen display area.
[0004] In the first aspect, an embodiment of the present application provides a split-screen display method, the method comprising: an electronic device displays a first interface of a first application in a first display area of a display screen, and displays a second interface of a second application in a second display area of the display screen; the electronic device receives a first operation input by a user, and in response to the first operation, the electronic device displays a main interface of the electronic device in full screen on the display screen; the electronic device displays a third interface of a third application in the first display area, and displays a fourth interface of a fourth application in the second display area; the electronic device receives a third operation input by the user on the first display area; the electronic device receives a fourth operation input by the user, and in response to the fourth operation, the electronic device displays the third interface in the first display area, and displays the main interface in the second display area, and the operation mode of the fourth operation is the same as the operation mode of the first operation. In this way, the user can conveniently lock the display content of a split-screen display area, thereby improving the efficiency of user operation.
[0005] In one possible implementation, when the electronic device displays the third interface in the first display area and displays the main interface in the second display area, the electronic device receives a fifth operation input by the user for the third interface; in response to the fifth operation, the electronic device displays the third interface in the first display area and displays the fifth interface of the third application in the second display area.
[0006] In one possible implementation, when the electronic device displays the third interface in the first display area and displays the fifth interface of the third application in the second display area, the electronic device receives a sixth operation input by the user on the second display area; the electronic device receives a seventh operation input by the user for the third interface; in response to the seventh operation, the electronic device displays the sixth interface of the third application in the first display area and displays the fifth interface in the second display area.
[0007] In a possible implementation, when the electronic device displays the first interface in the first display area and displays the second interface in the second display area, the electronic device receives an eighth operation input by the user; in response to the eighth operation, the electronic device displays a seventh interface in full screen on the display screen, and the seventh interface includes the interface content of the first interface and the interface content of the second interface; when the electronic device displays the third interface in the first display area and displays the main interface in the second display area, the electronic device receives a ninth operation input by the user; in response to the ninth operation, the electronic device displays the third interface in the first display area and displays an eighth interface in the second display area, and the eighth interface includes the interface content of the first interface, the interface content of the second interface and the interface content of the fourth interface, and the operation mode of the ninth operation is the same as the operation mode of the eighth operation.
[0008] In a possible implementation, when the electronic device displays the first interface in the first display area and displays the second interface in the second display area, the electronic device receives a tenth operation input by the user; in response to the tenth operation, the electronic device displays the interface content of the first interface or the interface content of the second interface in full screen on the display screen; when the electronic device displays the third interface in the first display area and displays the fourth interface in the second display area, the electronic device receives an eleventh operation input by the user on the first display area, and the operation mode of the eleventh operation is the same as the operation mode of the third operation; the electronic device receives a twelfth operation input by the user; in response to the twelfth operation, the electronic device displays the third interface in the first display area and displays the main interface in the second display area.
[0009] In one possible implementation, the first display area includes a first control, and the second display area includes a second control; before the electronic device receives a third operation input by a user on the first display area, the first control is displayed in a first state, and the second control is displayed in the first state; the method also includes: in response to the third operation, the electronic device switches the first control from being displayed in the first state to being displayed in the second state.
[0010] In one possible implementation, after the electronic device receives a third operation input by the user on the first display area, the method further includes: the electronic device receives a thirteenth operation input by the user for the first control, and in response to the thirteenth operation, the electronic device verifies the user's identity; if the verification is successful, the electronic device switches the first control from being displayed in the second state to being displayed in the first state.
[0011] In one possible implementation, after the electronic device receives a third operation input by the user on the first display area, the method further includes: the electronic device obtains a biometric feature of the user; the electronic device determines that the biometric feature matches a pre-stored biometric feature; the electronic device receives a fourteenth operation input by the user for the first control, and in response to the fourteenth operation, the electronic device switches the first control from being displayed in the second state to being displayed in the first state.
[0012] In one possible implementation, after the electronic device receives a third operation input by the user on the first display area, the method further includes: the electronic device obtains a biometric feature of the user; the electronic device determines that the biometric feature does not match a pre-stored biometric feature; the electronic device receives a fifteenth operation input by the user, and in response to the fifteenth operation, the electronic device verifies the identity of the user; if the verification is successful, the electronic device switches the first control from being displayed in the second state to being displayed in the first state.
[0013] In a second aspect, the present application provides an electronic device, comprising one or more memories, a foldable display screen, and one or more memories. The one or more memories are coupled to one or more processors, the foldable display screen communicates with the one or more processors, and the one or more memories are used to store computer program codes, the computer program codes include computer instructions, and when the one or more processors execute the computer instructions, the electronic device executes the split-screen display method in the above-mentioned first aspect and any possible implementation of the first aspect.
[0014] In a third aspect, an embodiment of the present application provides a computer storage medium, including computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the split-screen display method in the above-mentioned first aspect and any possible implementation of the first aspect.
[0015] In a fourth aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on a computer, it enables the computer to execute the split-screen display method in the above-mentioned first aspect and any possible implementation of the first aspect.
[0016] In an embodiment of the present application, a user inputs an operation for a split-screen display area, such as clicking a lock control of a split-screen display area, and in response to the operation, the electronic device locks the display content of the split-screen display area. Through the method of the embodiment of the present application, the display content of a split-screen display area can be conveniently locked, thereby improving the efficiency of user operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below.
[0018] Figure 1A It is a structural schematic diagram of an electronic device provided in an embodiment of the present application;
[0019] Figure 1B It is a software structure block diagram of an electronic device provided in an embodiment of the present application;
[0020] Figure 2A-2B is a schematic diagram of some display interfaces provided in the embodiments of the present application;
[0021] Figure 2C is a schematic diagram of an electronic device 10 provided in an embodiment of the present application;
[0022] Figure 3A-3C is a schematic diagram of some display interfaces provided in the embodiments of the present application;
[0023] Figure 3D is a flow chart of a method for locking a display area provided in an embodiment of the present application;
[0024] Figure 4A-4F is a schematic diagram of some display interfaces provided in the embodiments of the present application;
[0025] Figure 4G is a flow chart of a method for opening an application provided in an embodiment of the present application;
[0026] Figure 5A is a schematic diagram of a display interface provided in an embodiment of the present application;
[0027] Figure 5B is a flowchart of a method for opening an Activity provided in an embodiment of the present application;
[0028] Figure 5C-5D is a schematic diagram of some display interfaces provided in the embodiments of the present application;
[0029] Figure 6A-6B is a schematic diagram of some display interfaces provided in the embodiments of the present application;
[0030] Figure 7 is a flowchart of a method for opening an Activity provided in an embodiment of the present application;
[0031] Fig. 8A is a flow chart of a method for unlocking a locked state provided by an embodiment of the present application;
[0032] Figure 8B is a schematic diagram of a display interface provided in an embodiment of the present application;
[0033] Figure 8C is a schematic diagram of an electronic device 10 provided in an embodiment of the present application;
[0034] Fig.8D is a schematic diagram of a display interface provided in an embodiment of the present application;
[0035] Fig.9A is a schematic diagram of a display interface provided in an embodiment of the present application;
[0036] Fig. 9B is a flow chart of a return operation provided by an embodiment of the present application;
[0037] Figure 9C-Figure 9I is a schematic diagram of some display interfaces provided in the embodiments of the present application;
[0038] Fig.10 It is a flow chart of a split-screen display method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0039] The technical solutions in the embodiments of the present application are described in more detail below.
[0040] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to be used as limitations to the present application. As used in the specification and appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include plural expressions, unless there is a clear indication to the contrary in the context. It should also be understood that the term "and / or" used in the present application refers to and includes any or all possible combinations of one or more listed items.
[0041] The following describes an electronic device, a user interface for such an electronic device, and an embodiment for using such an electronic device. In some embodiments, the electronic device may be a portable electronic device that also includes other functions such as a personal digital assistant and / or a music player function, such as a mobile phone, a tablet computer, a wearable electronic device with a wireless communication function (such as a smart watch), etc. The above-mentioned portable electronic device may also be other portable electronic devices, such as a laptop computer (Laptop) with a touch-sensitive surface or a touch panel, etc. It should also be understood that in some other embodiments, the above-mentioned electronic device may not be a portable electronic device, but a desktop computer with a touch-sensitive surface or a touch panel.
[0042] The term user interface (UI) in the specification, claims and drawings of this application refers to the medium interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The user interface of an application is a source code written in a specific computer language such as Java and extensible markup language (XML). The interface source code is parsed and rendered on the electronic device 300, and finally presented as content that can be recognized by the user, such as pictures, text, buttons and other controls. Controls are the basic elements of the user interface. Typical controls include buttons, widgets, toolbars, menu bars, text boxes, scroll bars, pictures and text. The properties and contents of controls in the interface are defined by tags or nodes, such as XML through <textview> 、 <imgview> 、 <videoview>The controls contained in the interface are specified by nodes such as . A node corresponds to a control or attribute in the interface. After parsing and rendering, the node is presented as user-visible content. In addition, many applications, such as hybrid applications, usually also contain web pages in their interfaces. A web page, also known as a page, can be understood as a special control embedded in the application interface. A web page is source code written in a specific computer language, such as hypertext markup language (HTML), cascading style sheets (CSS), JavaScript (JS), etc. The web page source code can be loaded and displayed as user-recognizable content by a browser or a web page display component with similar functions to a browser. The specific content contained in a web page is also defined by tags or nodes in the web page source code. For example, HTML is defined by 、 、 <video> 、 <canvas>To define the elements and attributes of a web page.
[0043] The most common form of user interface is graphical user interface (GUI), which refers to a user interface related to computer operation that is displayed in a graphical manner. It can be a window, control or other interface element displayed on the display screen of an electronic device.
[0044] The term activity in the specification, claims and drawings of this application is one of the basic components of Android. Activity can provide a graphical user interface for an electronic device to enable interaction between the electronic device and the user. In the Android architecture, an application contains multiple user interfaces. For example, a WeChat application can include a chat interface and a message list interface. Among them, each user interface corresponds to an Activity, and the multiple Activities corresponding to these multiple user interfaces form an application activity stack, that is, a task. These Activities are queued and stored in a stack in the order of startup. The electronic device manages the Activity through the stack.
[0045] In most cases, the main interface (launcher interface) of the electronic device 10 is the starting point of the task. When the user touches the icon in the application launcher (or the shortcut on the main interface), the task of the application will appear in the foreground. If there is no task for the application (the application has not been used recently), a new task will be created and the initial Activity of the application will be opened as the root Activity in the stack.
[0046] When the current activity starts another activity, the new activity is pushed to the top of the stack and becomes the focus. The previous activity remains in the stack, but is stopped. When an activity stops, the system maintains the current state of its user interface. When the user presses the "Back" button, the current activity is popped from the top of the stack (the activity is destroyed) and the previous activity resumes execution (restoring the previous state of its UI). The activities in the stack are not rearranged, they are only pushed and popped from the stack, that is, pushed into the stack when started by the current activity and popped off the stack when the user exits using the "Back" button.
[0047] In some embodiments of the present application, if an electronic device displays a display interface of an application in full screen, then a task stack of the application exists in the electronic device. If an electronic device displays multiple display areas in split screen, then multiple task stacks corresponding to the multiple display areas exist in the electronic device, and one display area corresponds to one task stack. A task stack may contain one or more activities of an application. For example, see Figure 3A In the user interface 31 shown, the display screen of the electronic device includes two display areas, namely, display area 221 and display area 223. Display area 221 may correspond to active task stack A, and display area 223 may correspond to active task stack B.
[0048] In some embodiments of the present application, the electronic device provides a split-screen lock function. When the electronic device is in split-screen mode, the display screen of the electronic device is divided into two or more display areas. One display area can display an application interface, and one display area can contain a lock control. For example, see Figure 3A The user interface 31 shown in the figure includes two display areas on the display screen of the electronic device, namely display area 221 and display area 223. Among them, display area 221 is used to display the chat interface of an instant messaging application (an example is QQ), and display area 223 is used to display the interface of another instant messaging application (an example is WeChat). Display area 221 contains a lock control 225, and display area 223 contains a lock control 227. Among them, lock control 225 and lock control 227 are both displayed as unlocked. When a user operation on lock control 227 is detected, in response to the user operation, the electronic device switches the display state of lock control 227 to a locked state (refer to Figure 3B The electronic device locks the display content of the first display area.
[0049] First, an exemplary electronic device 10 provided in the following embodiments of the present application is introduced.
[0050] Figure 1A A schematic structural diagram of an electronic device 10 is shown.
[0051] The electronic device 10 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera module 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180G, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0052] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 10. In other embodiments of the present application, the electronic device 10 may include more or fewer components than shown in the figure, or combine some components, or separate 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.
[0053] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a central processing unit (CPU), a graphics processing unit (GPU), a neural-network processing unit (NPU), a modem processor, an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, etc. Among them, different processing units may be independent devices or integrated into one or more processors. In some embodiments, the electronic device 10 may also include one or more processors 110.
[0054] The controller may be the nerve center and command center of the electronic device 10. 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.
[0055] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or circulated. If the processor 110 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 110, and thus improves the efficiency of the electronic device 10.
[0056] In some embodiments, the processor 110 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.
[0057] 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 110 may include multiple I2C buses.
[0058] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to achieve communication between the processor 110 and the audio module 170.
[0059] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface.
[0060] The UART interface is a universal serial data bus used for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
[0061] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera module 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the display screen 194 communicate via the DSI interface to realize the display function of the electronic device 10.
[0062] 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 110 with the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
[0063] The USB interface 130 is an interface that complies with USB standard specifications, and may be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 may be used to connect a charger to charge the electronic device 10, and may also be used to transmit data between the electronic device 10 and a peripheral device.
[0064] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only for illustrative purposes and does not constitute a structural limitation on the electronic device 10. In other embodiments, the electronic device 10 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0065] The charging management module 140 is used to receive charging input from a charger. The charger can be a wireless charger or a wired charger. While the charging management module 140 charges the battery 142, it can also power the electronic device through the power management module 141.
[0066] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to power the processor 110, the internal memory 121, the external memory, the display screen 194, the camera module 193, and the wireless communication module 160.
[0067] The wireless communication function of the electronic device 10 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0068] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 10 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the 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.
[0069] The mobile communication module 150 may provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 10. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc.
[0070] 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 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
[0071] The wireless communication module 160 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 10. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of the signal, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2. Exemplarily, the wireless communication module 160 may include a Bluetooth module, a Wi-Fi module, etc.
[0072] In some embodiments, the antenna 1 of the electronic device 10 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 10 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.
[0073] The electronic device 10 can realize the display function through the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute instructions to generate or change display information.
[0074] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode 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 10 may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0075] The electronic device 10 can realize the camera function through the camera module 193, ISP, video codec, GPU, display screen 194, application processor AP, neural network processor NPU, etc.
[0076] The camera module 193 may be used to collect color image data of the photographed object. The ISP may be used to process the color image data collected by the camera module 193.
[0077] 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 10 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0078] Video codecs are used to compress or decompress digital videos. The electronic device 10 may support one or more video codecs. Thus, the electronic device 10 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG)-1, MPEG-2, MPEG-3, MPEG-4, etc.
[0079] 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 10 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
[0080] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 10. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, photos, videos, etc. in the external memory card.
[0081] The internal memory 121 can be used to store one or more computer programs, which include instructions. The processor 110 can run the above instructions stored in the internal memory 121, so that the electronic device 10 executes the photo preview method of the electronic device provided in some embodiments of the present application, as well as various functional applications and data processing. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system; the program storage area can also store one or more applications (such as a gallery, contacts, etc.). The data storage area can store data (such as photos, contacts, etc.) created during the use of the electronic device 10. In addition, the internal memory 121 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.
[0082] The electronic device 10 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0083] The audio module 170 is used to convert digital audio information into analog audio signal output, and also used to convert analog audio input into digital audio signal. The audio module 170 can also be used to encode and decode audio signals.
[0084] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 10 can listen to music or listen to a hands-free call through the speaker 170A.
[0085] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 10 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.
[0086] Microphone 170C, 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 approaching the microphone 170C with his mouth to input the sound signal into the microphone 170C. The electronic device 10 can be provided with at least one microphone 170C.
[0087] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0088] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, 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 180A, the capacitance between the electrodes changes. The electronic device 10 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 10 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 10 can also calculate the touch position according to the detection signal of the pressure sensor 180A. 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.
[0089] The gyro sensor 180B can be used to determine the motion posture of the electronic device 10. In some embodiments, the angular velocity of the electronic device 10 around three axes (ie, x, y, and z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for anti-shake shooting.
[0090] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 10 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
[0091] The magnetic sensor 180D includes a Hall sensor, and the electronic device 10 can detect the opening and closing of the flip leather case by using the magnetic sensor 180D.
[0092] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 10 in all directions (generally three axes). When the electronic device 10 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device and is applied to applications such as horizontal and vertical screen switching and pedometers.
[0093] The distance sensor 180F is used to measure the distance. The electronic device 10 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 10 can use the distance sensor 180F to measure the distance to achieve fast focusing.
[0094] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 10 emits infrared light outward through the light emitting diode. The electronic device 10 uses the photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 10. When insufficient reflected light is detected, the electronic device 10 can determine that there is no object near the electronic device 10.
[0095] The ambient light sensor 180L is used to sense the brightness of the ambient light. The electronic device 10 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 10 is in a pocket to prevent accidental touch.
[0096] The fingerprint sensor 180G is used to collect fingerprints. The electronic device 10 can use the collected fingerprint characteristics to realize fingerprint unlocking, access application locks, fingerprint photography, fingerprint answering calls, etc. In the embodiment of the present application, the electronic device 10 can also use the fingerprint characteristics collected by the fingerprint sensor 180G to unlock the locked state of a display area, so that a display area is switched from a locked state to an unlocked state.
[0097] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 10 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 10 reduces the performance of a processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 10 heats the battery 142 to prevent the electronic device 10 from shutting down abnormally due to low temperature.
[0098] The touch sensor 180K may also be referred to as a touch panel or a touch-sensitive surface. The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also referred to as a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or thereabout. The touch sensor may transmit the detected touch operation to an application processor to determine the type of touch event. Visual output related to the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 10, at a position different from that of the display screen 194.
[0099] The bone conduction sensor 180M can obtain vibration signals. In some embodiments, the bone conduction sensor 180M can obtain vibration signals of vibrating bones of the human body. The bone conduction sensor 180M can also contact the human body's pulse to receive blood pressure beating signals.
[0100] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 10 may receive key input and generate key signal input related to user settings and function control of the electronic device 10.
[0101] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, in an embodiment of the present application, different touch operations acting on the lock control can correspond to different vibration feedback effects. Exemplarily, the touch operations of clicking the lock control and long pressing the lock control can correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
[0102] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.
[0103] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to or disconnected from the electronic device 10 by inserting the SIM card interface 195 or removing the SIM card interface 195. The electronic device 10 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 10 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 10 and cannot be separated from the electronic device 10.
[0104] Figure 1A The electronic device 10 shown in the example can display the various user interfaces described in the following embodiments through the display screen 194. The electronic device 10 can detect touch operations in various user interfaces through the touch sensor 180K, such as click operations in various user interfaces (such as touch operations on icons, double-click operations), and for example, upward or downward sliding operations in various user interfaces, or operations of performing circle gestures, etc. In some embodiments, the electronic device 10 can detect motion gestures performed by the user holding the electronic device 10, such as shaking the electronic device, through a gyroscope sensor 180B, an acceleration sensor 180E, etc. In some embodiments, the electronic device 10 can detect non-touch gesture operations through a camera module 193 (such as a 3D camera, a depth camera).
[0105] Understandably, Figure 1A The illustrated structure does not constitute a specific limitation on the electronic device 10. In other embodiments of the present application, the electronic device 10 may include more or fewer components than those shown in 1A, or combine some components, or separate some components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0106] In the embodiment of the present application, the software system of the electronic device 10 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 exemplify the software structure of the electronic device 10.
[0107] Figure 1B It is a software structure block diagram of an electronic device 10 provided in an embodiment of the present application.
[0108] 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.
[0109] The application layer may include one or more applications. Figure 1B The application layer exemplarily shows the desktop launcher (Launcher), system user interface (SystemUI), setting (Setting), camera, gallery, calendar, navigation, reading, music, video, short message and other applications. In addition, the application layer can also include other applications, such as: telephone, game applications, instant messaging applications, shopping applications, etc.
[0110] Launcher is one of the main program components in the Android system. The electronic device 10 starts the Android desktop through Launcher.
[0111] SystemUI is the system interface of the Android system. It may include the status bar above the user interface of the electronic device 10, the navigation bar below, the lock screen interface (Keyguard), the power interface (PowerUI), the recent task interface (Recent Task), etc. In an embodiment of the present application, SystemUI adjusts the display state of the task stack through the policy module according to the operation of the user clicking the lock control detected. For example, the locked state of the task stack is switched to the unlocked state, or the unlocked state is switched to the locked state.
[0112] Settings is an application of the electronic device 10. The user can customize the various functional options of the electronic device 10 through settings, such as Bluetooth, GPS (Global Positioning System), Wi-Fi, etc. The user can also use settings to customize the various setting options of the electronic device, such as display brightness, volume, display font size, etc. In some embodiments of the present application, the user can customize the split screen lock function provided by the embodiment of the present application through settings, and can turn on or off the split screen lock function. Exemplarily, when the split screen lock function is turned on, the electronic device 10 is in a split screen display scene, and a lock control can be displayed in multiple display areas of the display screen of the electronic device 10, and the user can lock the display content in a display area by clicking (or double-clicking, long pressing, etc.) the lock control. When the split screen lock function is turned off, the electronic device 10 is in a split screen display scene, and the lock control is not displayed in multiple display areas of the display screen of the electronic device 10.
[0113] The application framework layer provides application programming interface (API) and programming framework for the application layer applications. The application framework layer includes some predefined functions. Figure 1B As shown, the application framework layer may include an activity management module (ActivityManagerService), a window management module (WindowManagerService), a screen lock module, a phone manager, a notification manager, etc. Among them:
[0114] ActivityManagerService can be used to manage various Activities of the electronic device 10. Specifically, for each Activity created by the application of the electronic device 10, there will be a corresponding ActivityRecord in the ActivityManagerService. The ActivityManagerService will use this ActivityRecord as an identifier to manage the Activity of the application. In some embodiments, the ActivityManagerService may include an activity startup module (ActivityStarter), a task startup module (TaskStarter), and an activity task stack and life cycle management module. Among them, ActivityStarter can be used to start a new Activity, TaskStarter can be used to create a new Task, and the activity task stack and life cycle management module can be used to schedule the Activity in the application, manage the life cycle of the Activity, adjust the state of the task stack, and so on.
[0115] WindowManagerService is responsible for the window management of the electronic device 10. WindowManagerService can be used for window creation and destruction, window display and hiding, window layout, input method management, wallpaper management, etc. Each Activity will have its own window, and there will be a WindowState corresponding to the Activity in WindowManagerService. WindowManagerService uses this to identify the window in the application, and uses this WindowState to store, query and control the state of the window. In some embodiments, WindowManagerService may include a motion effect module and a window display module. Among them, the motion effect module can be used to provide animation effects for window switching. The window display module can be used to create and display windows.
[0116] The screen lock module can be used to lock or unlock the screen of the electronic device 10. Exemplarily, the screen lock module can display a lock screen interface above the entire display area of the current display screen of the electronic device 10. In addition, the screen lock module can determine whether to release the screen lock of the electronic device based on the unlock password (e.g., numbers or patterns, etc.) received from the user or the acquired physiological data of the user (e.g., fingerprint information, facial information, voiceprint information, iris information, etc.). Exemplarily, when the received unlock password is the same as the preset unlock password, or the acquired physiological data of the user matches the pre-stored physiological data, the screen lock module releases the screen lock and no longer displays the lock screen interface.
[0117] In some embodiments, the electronic device 10 may further include an application lock module. The application lock module may lock or unlock a display area on the display screen that displays an application interface. Exemplarily, the application lock module may display a lock screen interface above an Activity currently displayed on the electronic device 10, and the Activity corresponds to an application. In addition, the application lock module may be similar to the unlocking method of the screen lock module, that is, it may determine whether to unlock the display area of the electronic device based on the unlock password (e.g., a number or pattern, etc.) received from the user or the physiological data (e.g., fingerprint information, facial information, voiceprint information, iris information, etc.) obtained from the user. Optionally, the unlocking method of the application lock module may also be different from the unlocking method of the screen lock module.
[0118] The phone manager can be used to provide communication functions for the electronic device 10, such as management of call status (including connecting, hanging up, etc.).
[0119] The notification manager allows 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. The notification manager can also display notifications in the system top status bar in the form of icons or scroll bar text, or in the form of dialog windows on the screen.
[0120] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.
[0121] 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.
[0122] The application layer and the application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0123] 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.
[0124] The surface manager can be used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
[0125] 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, G.264, MP3, AAC, AMR, JPG, PNG, etc.
[0126] A 3D graphics processing library that can be used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0127] A 2D graphics engine is a drawing engine for 2D drawings.
[0128] 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.
[0129] Need to explain, Figure 1B The software architecture of the electronic device shown is only one implementation method of the embodiment of the present application. In actual applications, the electronic device may also include more or fewer software modules, which is not limited here.
[0130] In the embodiment of the present application, the electronic device 10 is as follows Figure 1B Based on the software structure shown in FIG. 1 , a display module may also be included, and the display module is used to display a corresponding user interface according to the operation of each software module. The user interface displayed by the display module can refer to the user interface shown in the following embodiment. The display module can be specifically implemented as Figure 1A Display screen 194 in.
[0131] The following is an introduction to the split-screen display method proposed in the embodiment of the present application in conjunction with the interface diagram. First, some methods of opening the split-screen lock function provided in the embodiment of the present application are introduced.
[0132] See also Figure 2A , is a schematic diagram of a display interface provided in an embodiment of the present application. Exemplarily, the user interface 21 is used to display a setting interface of auxiliary functions in the electronic device 10. The user interface 21 includes a plurality of setting controls, for example, a voice control control 211, a touch control 213, a dynamic effect control 215, a split screen lock control 217, and a switching control control 219. The user interface 21 may also include other controls, which are only examples.
[0133] When the user clicks on the split-screen lock control 217, in response to the click operation, the electronic device 10 turns on the split-screen lock function and switches the split-screen lock control 217 from the display "OFF" state to the display "ON" state.
[0134] In some embodiments, the electronic device 10 may also display a split screen lock control in the quick operation menu. Figure 2B When a user operation of sliding downward on the status bar 201 is detected, in response to the user operation, the electronic device 10 can display a quick operation menu 220 on the display screen. The user interface 22 includes a quick operation menu 220 and a plurality of application icons. The quick operation menu 220 includes a plurality of function controls, for example, a Bluetooth control, a flashlight control, a ring control, and a split-screen lock control 222, etc. The user can conveniently turn on or off the split-screen lock function of the electronic device 10 through the split-screen lock control 222. It should be noted that there may be other ways to call out the quick operation menu, which is only an example here.
[0135] In some embodiments, the split-screen lock function of the electronic device 10 may also be enabled by default.
[0136] In some embodiments, the display screen of the electronic device 10 may be a folding screen. By folding the electronic device 10, the display screen 194 of the electronic device 10 may be divided into different display areas. Figure 2C , is a schematic diagram of an electronic device 10 provided in an embodiment of the present application.
[0137] like Figure 2C As shown, the display screen 194 of the electronic device 10 is a folding screen. By folding the electronic device 10, the display screen 194 can be divided into a display area 120, a display area 122 and a split screen bar 124. Among them:
[0138] The split screen bar 124 can be used to separate the display area 120 from the display area 122. In some embodiments, the split screen bar 124 can overlap with the folding area of the display screen 194. In some embodiments, the split screen bar 124 may not overlap with the folding area of the display screen 194. When the user's operation of dragging the split screen bar 124 (for example, a sliding operation, etc.) is detected, in response to the operation, the electronic device 10 adjusts the size of the display area 120 and the display area 122. In other embodiments, the display screen 194 may not include the split screen bar 124.
[0139] The display area 120 is used to display the interface of a video playback application, and the display area 122 is used to display the interface of an instant messaging application. The display area 120 includes a lock control 101, and the display area 122 includes a lock control 103. Among them, the lock control 101 and the lock control 103 are both displayed as unlocked. The user can lock or unlock the display content of the display area 120 through the lock control 101, and lock or unlock the display content of the display area 122 through the lock control 103.
[0140] It should be noted that the display interface exemplarily shown in the following embodiments can be displayed in Figure 2C On the folding screen shown.
[0141] Next, based on the electronic device 10 introduced in the above content, a split-screen display method provided in an embodiment of the present application is described in detail in combination with other drawings.
[0142] See also Figure 3A , is a schematic diagram of a display interface provided by the present application. The user interface 31 includes a status bar, a split screen bar 229 and two display areas, display area 221 and display area 223. Exemplarily, display area 221 is used to display a chat interface of an instant messaging application (example is QQ), and display area 223 is used to display the interface of another instant messaging application (example is WeChat), and the example is the display interface of a public account. It should be noted that display area 221 and display area 223 can also display different interfaces of the same application. For example, display area 221 can display the chat interface of the WeChat application, and display area 223 can display the display interface of the WeChat application's public account.
[0143] The split screen bar 229 is used to separate the display area 221 from the display area 223. In some embodiments, when an operation (e.g., a sliding operation, etc.) of a user dragging the split screen bar 229 is detected, in response to the operation, the electronic device 10 adjusts the size of the display area 221 and the display area 223. In some embodiments, the user interface 22 may not include the split screen bar 229.
[0144] When the split-screen lock function of the electronic device 10 is turned on, the lock control 225 can be displayed in the display area 221, and the lock control 227 can be displayed in the display area 223. In some embodiments, in order not to block the interface display content of the display area, the lock control can be hidden. Exemplarily, after the electronic device 10 enters the split-screen display, the electronic device 10 displays the lock control 225 and the lock control 227. After the lock control 225 and the lock control 227 display a preset time, the electronic device 10 may no longer display the lock control. Optionally, after the lock control is hidden, it can also be called up again according to the needs of the user. Exemplarily, when the user long presses, double-clicks, presses (force touch) the display area 221, or slides in the display area 221, in response to the user operation, the electronic device 10 calls up the lock control 225 again. It can be understood that hiding the lock control does not affect the split-screen lock function provided by the electronic device to the user.
[0145] The display state of the lock control 227 can indicate the lock state of the display area 223. When the lock control 227 is displayed as an unlocked state (see Figure 3A When the lock control 227 is displayed as the locked state (refer to Figure 3B When the display state of the lock control 227 is displayed, it indicates that the display area 223 has been locked. Similarly, the display state of the lock control 225 can indicate the lock state of the display area 221.
[0146] like Figure 3A-3B As shown in the example, when the user clicks (or double-clicks, long presses, or performs other operations) the lock control 227, in response to the click operation, the electronic device 10 switches the display state of the lock control 227 to a locked state and locks the display area 223.
[0147] In some embodiments, the electronic device 10 may include more than two display areas. For example, the electronic device 10 includes three display areas (which may be called a three-split screen), or the electronic device 10 includes four display areas (which may be called a four-split screen). In this case, the electronic device 10 may include more than two lock controls. One lock control corresponds to one display area. For example, see Figure 3C , is a schematic diagram of a display interface provided in an embodiment of the present application. Figure 3C As shown, the user interface 33 includes: a display area 231, a display area 233, a display area 235, a split screen bar 237 and a split screen bar 239. Among them:
[0148] The split screen bar 237 and the split screen bar 239 can be used to separate the display area 231, the display area 233 and the display area 235. Similar to the split screen bar described above, the user can adjust the display size of each display area through the split screen bar. In other embodiments, the display screen 194 may not include the split screen bar 237 and / or the split screen bar 239.
[0149] Exemplarily, display area 231 is used to display the interface of the gallery application, display area 233 is used to display the interface of the QQ application, and display area 235 is used to display the interface of the WeChat application. Display area 231 includes a lock control 241, and the user can lock or unlock the display content of display area 231 through the lock control 241. Display area 233 includes a lock control 243, and the user can lock or unlock the display content of display area 233 through the lock control 243. Display area 235 includes a lock control 245, and the user can lock or unlock the display content of display area 235 through the lock control 245.
[0150] Next, lock the control 227 (see Figure 3A Taking the lock control 227 in the user interface 31 shown in FIG. 1 as an example, the process of locking the display area 223 is described. Figure 3D , is a flowchart of locking a display area provided in an embodiment of the present application. The display screen of the electronic device 10 includes a display area 221 and a display area 223. The user interface displayed in the display area 221 corresponds to the active task stack A, and the user interface displayed in the display area 223 corresponds to the active task stack B.
[0151] S101 . In response to a user clicking on the lock control 227 , SystemUI processes the click event.
[0152] S102: SystemUI calls a policy module to process the click event.
[0153] S103: The policy module calls the activity task stack and lifecycle management module to set the lock state of the activity task stack B according to the click event.
[0154] Optionally, before the policy module calls the active task stack and lifecycle management module to set the lock state of the active task stack B, the policy module may query the state of the active task stack B to determine that the current state of the active task stack B is unlocked.
[0155] S104: The active task stack and lifecycle management module sets the state of the active task stack B to a locked state.
[0156] Among them, the active task stack and the life cycle management module can set, store, query, and modify the state of the active task stack B. In some embodiments, the state of the active task stack can be represented by a state identifier. The state identifier can be various data structures, for example, the state identifier can be a number, specifically, it can be a number or a string of numbers, such as 1, 0, 10, 11, etc. The state identifier can also be a letter, specifically, it can be a letter or a string of letters, such as Y, AA, etc. The state identifier can also be a symbol, specifically, it can be a symbol or a string of symbol sequences, such as "○", "□□", "△○". In addition, in the present application, the state identifier can be one or more data structures used to represent the state of the active task stack, and these data structures can be stored in one or more memories, or stored in different parts of a memory. Exemplarily, the state identifier "1" indicates that the active task stack has been locked, and the state identifier "0" indicates that the active task stack is not locked.
[0157] Exemplarily, the active task stack and lifecycle management module may adjust the state of the active task stack B to the locked state by modifying the state flag of the active task stack B to the state flag "1".
[0158] S105 . The active task stack and lifecycle management module feeds back the locking state of the active task stack B to the policy module.
[0159] S106: The policy module instructs SystemUI to refresh the user interface.
[0160] S107 . SystemUI refreshes the user interface and switches the display state of the lock control 227 to a locked state.
[0161] In some embodiments, if a display area is in a locked state, switching of display interfaces of other display areas will not affect the display interface of the locked display area.
[0162] like Figure 4A-4B As shown in the example, when the user slides upward from the bottom of the display area 221, in response to the sliding operation, the electronic device 10 exits the displayed chat interface and switches the display area 221 to the main interface of the electronic device 10, and the display content of the display area 223 does not change.
[0163] As shown in the user interface 41, the display area 221 is used to display the main interface of the electronic device 10. The main interface of the electronic device 10 may include: a calendar widget 301 indicating the current time, a weather widget 303 indicating the weather type, a page indicator 305 and multiple application icons. The page indicator 305 can be used to indicate the number of pages and which page the user is currently browsing. In addition, the user can slide left and right on the current page to browse the application icons in other pages.
[0164] In some possible implementations, there may be other ways to close the chat interface of the display area 221. For example, the electronic device 10 may include a navigation bar. Fig.9A The user interface 91 shown in FIG. 901 may include system navigation keys such as a return key 902, a home screen key 903, and a call task history key 904. The user may close the display area 221 by pressing the return key 902 or the home screen key 903. This method will be described in the subsequent content and will not be specifically expanded here.
[0165] In some possible implementations, if the user closes the chat interface of the display area 221, the display area 221 may also have other display modes, for example, the display area 221 may also be switched to display icons of applications installed on the electronic device that support the split-screen function. Figure 4C The user interface 42 shown. This application does not limit the way in which the display area 221 switches the display interface after the user closes the chat interface of the display area 221.
[0166] In some embodiments, if a display area is in an unlocked state, after the display interface of other display areas is exited, the display area can cover the exited display area. Figure 4D-4E As shown, both display area 221 and display area 223 are in an unlocked state. When the user slides upward from the bottom of display area 221, in response to the sliding operation, the electronic device exits the displayed chat interface and displays the original display area 223 (i.e. Figure 4D The interface displayed in the display area 223).
[0167] In some embodiments, Figure 4B or Figure 4C In the display area 221 shown, when the user clicks an application icon (for example, the "settings" application icon), in response to the click operation, the display area 221 of the electronic device 10 switches from displaying the main interface to displaying the display interface of the application corresponding to the application icon, and the display content of the display area 223 does not change. After the switch, the display interface of the electronic device 10 can refer to Figure 4F In the user interface 45, the display area 221 switches from displaying the main interface to displaying the display interface of the "settings" application. Exemplarily, the display interface of the "settings" application includes a plurality of setting controls. The user can set various functions of the electronic device 10 through these setting controls.
[0168] Next, the process of opening a new application on the electronic device 10 is described by taking the case where the user clicks the "settings" application icon as an example. Figure 4G , is a flowchart of a method for opening an application provided in an embodiment of the present application.
[0169] S201. In response to the user clicking on the "Settings" application icon, SystemUI processes the click event.
[0170] S202: SystemUI calls the activity startup module to process the click event.
[0171] S203: The activity start module calls the strategy module to process the click event.
[0172] In some embodiments, ActivityStarter calls WindowService, and WindowService calls the policy module to process the click event.
[0173] S204: The policy module calls the active task stack and lifecycle management module to query the status of the active task stack A and the active task stack B.
[0174] S205: The active task stack and lifecycle management module determines the status of the active task stack A and the active task stack B.
[0175] Specifically, in this example, the state of the active task stack A is an unlocked state, and the state of the active task stack B is a locked state.
[0176] S206 : The active task stack and lifecycle management module feeds back the status of the active task stack A and the active task stack B to the policy module.
[0177] S207. After receiving the status of the active task stack A and the active task stack B, the policy module determines, according to the status of the active task stack A and the active task stack B, that the active task stack A is the active task stack of the “settings” application.
[0178] The policy module determines that the active task stack in the unlocked state is the active task stack A according to the states of the active task stack A and the active task stack B fed back, and then the policy module determines that the active task stack A is the active task stack of the "settings" application.
[0179] S208. The policy module calls the window display module to set the display area of the "settings" application.
[0180] S209: The window display module calls the setLaunchBounds(A) interface of the activity task stack A to set the size and screen position of the new Activity of the newly launched application.
[0181] S210. The window display module displays the user interface of the "Settings" application.
[0182] In some embodiments, if a display area is in a locked state, the display area no longer displays other user interfaces. For example, when the user clicks the jump control 311 (see Figure 4B In response to the click operation, the electronic device 10 displays the user interface associated with the jump control 311 in the display area 221 (the area in the unlocked state). After the switch, the display interface of the electronic device 10 can refer to Figure 5A In the user interface 51, the interface in the display area 221 is switched to the user interface associated with the jump control 311, and the interface in the display area 223 is switched to the user interface associated with the jump control 311. Figure 4B The interface of the display area 223 is the same.
[0183] Next, the process of opening a new Activity by the electronic device 10 is described by taking the case where the user clicks the jump control 311 as an example. Figure 5B , is a flowchart of a method for opening an Activity provided in an embodiment of the present application.
[0184] S301 , in response to a user clicking on the jump control 311 , the activity start module processes the click event.
[0185] S302: The activity start module calls the policy module to process the click event.
[0186] In some embodiments, ActivityStarter calls WindowService, and WindowService calls the policy module to process the click event.
[0187] S303: The policy module calls the active task stack and lifecycle management module to query the status of the active task stack A and the active task stack B.
[0188] S304: The active task stack and lifecycle management module determines the status of the active task stack A and the active task stack B.
[0189] S305 : The active task stack and lifecycle management module feeds back the status of the active task stack A and the active task stack B to the policy module.
[0190] Specifically, in this example, the state of the active task stack A is an unlocked state, and the state of the active task stack B is a locked state.
[0191] S306 . After receiving the status of the active task stack A and the active task stack B, the policy module determines, according to the status of the active task stack A and the active task stack B, that the active task stack A is the active task stack of the new Activity.
[0192] The policy module determines that the active task stack in the unlocked state is the active task stack A according to the states of the active task stack A and the active task stack B fed back, and then the policy module determines that the active task stack A is the active task stack of the new Activity.
[0193] S307: The policy module calls the window display module to set the display area of the new Activity.
[0194] S308. The window display module calls the setLaunchBounds(A) interface of the activity task stack A to set the size and screen position of the new Activity.
[0195] S309 , the window display module refreshes the user interface and displays the new Activity in the display area 221 , that is, the user interface associated with the jump control 311 .
[0196] It should be noted that the new Activity will be created at the top of the activity task stack A. If the user clicks the back control of the new Activity, the current Activity will be popped from the top of the stack (the Activity is destroyed), and the Activity before the new Activity will resume execution (the Activity in the main interface in the example). In other words, if the user clicks the back control of the new Activity (see Figure 5A 501 in the display area 221, the display area 221 will switch from displaying the user interface associated with the jump control 311 to displaying the main interface (see Figure 4B The display interface of the display area 221 in FIG.
[0197] In other embodiments, Figure 5C-5D As shown in the example, if both display areas of the electronic device (i.e., display area 221 and display area 223) are in a locked state, when the user clicks Figure 5C The jump control 311 in the display area 223 of the user interface 52 shown in the figure, in response to the click operation, the electronic device 10 displays the user interface associated with the jump control 311 in the display area 223. After switching, the display interface of the electronic device 10 can refer to Figure 5D User interface 53 is shown.
[0198] In some embodiments, the split screen locking method provided in the embodiments of the present application can also be applied to a safe mode, in which the unlocking of the locked state of a display area needs to be verified. Next, a method for the electronic device 10 to enter the split screen locking safe mode is introduced.
[0199] In some embodiments, the user can choose whether to enter the split-screen lock security mode. Fig. 6A In the user interface 61 shown, if the user long presses the lock control 227 in the user interface 61, in response to the long press operation, the electronic device 10 displays a prompt box 601. In the user interface 61, the display area 223 includes a prompt box 601, and the prompt box 601 includes a control 603 and a control 605. Among them:
[0200] The control 605 can receive a user operation, and in response to the user operation, the electronic device 10 no longer displays the prompt box 601.
[0201] The control 603 can receive the user's operation. In response to the user operation, the electronic device 10 determines that the display area 223 enters the split-screen lock security mode. The electronic device 10 switches the lock control 227 from the unlocked state to the locked state. After clicking the control 603, the display interface of the electronic device 10 can refer to Figure 3B User interface 32 shown. It should be noted that the display area 223 enters the split-screen lock safety mode, indicating that the display area 223 is locked, the state of the active task stack B corresponding to the display area 223 is adjusted to the safety lock state, and verification is required to unlock the display area 223. In other words, the safety lock state of the active task stack is different from the locked state and the unlocked state. When the active task stack is in the safety lock state, verification is required to unlock the display area corresponding to the active task stack; when the active task stack is in the locked state, no verification is required to unlock the display area corresponding to the active task stack.
[0202] In other embodiments, when the display area is in the split-screen locked security mode, the lock control corresponding to the display area may be displayed in a secure locked state. Optionally, the icon representing the secure locked state may be different from the icon representing the locked state and the icon representing the unlocked state. Exemplarily, after clicking control 603, the display interface of the electronic device 10 may refer to Figure 6B User interface 62 is shown.
[0203] In addition, if the original active task stack B is in a locked state, the user can also adjust the active task stack B to a safe locked state in a similar manner. In other embodiments, when the display areas of the electronic device 10 are all in a locked state, the user can long press the lock control to make the electronic device 10 enter a split-screen locked safe mode, and verification is required to unlock any display area. In this way, it is convenient for users to lock the display content of the electronic device, improve the security of the electronic device 10, and avoid the leakage of user information.
[0204] In other embodiments, the electronic device 10 can obtain the user's facial information in real time through a camera. When the user's facial information does not match the pre-stored facial information, the electronic device 10 switches the display area that is already in a locked state to a safe mode. In another possible implementation, when the user's facial information does not match the pre-stored facial information, and each of the multiple display areas on the display screen of the electronic device 10 is in a locked state, the electronic device 10 switches the display area that is already in a locked state to a safe mode. In this way, the user is not pre-stored in a locked state in which the display area cannot be unlocked, which can improve the security of the electronic device 10 and avoid the leakage of user information.
[0205] In other embodiments, when the electronic device 10 is in a split-screen lock security mode, the currently displayed application cannot be exited in the locked display area, and only the Activity in the application can be switched. If the user wants to open the Activity of another application in the locked display area, the lock of the display area needs to be unlocked. Figure 7 , is a flow chart of a method for opening an Activity provided by an embodiment of the present application. In this example, the activity task stack B corresponding to the display area 223 is in a safe locked state.
[0206] S501 , in response to a user clicking on the jump control 701 , the activity starting module processes the click event.
[0207] The jump control 701 is associated with an Activity of another application different from the application currently displayed in the display area 223. For example, the application currently displayed in the display area 223 may be a shopping application, and the Activity associated with the jump control 701 may be a payment application.
[0208] S502: The activity start module calls the policy module to process the click event.
[0209] In some embodiments, ActivityStarter calls WindowService, and WindowService calls the policy module to process the click event.
[0210] S503: The policy module calls the active task stack and lifecycle management module to query the status of the active task stack B.
[0211] S504: The active task stack and lifecycle management module determines the state of the active task stack B.
[0212] In this example, the state of the active task stack B is a security locked state.
[0213] S505: The active task stack and lifecycle management module feeds back the status of the active task stack B to the policy module.
[0214] S506: After receiving the status of the active task stack B, the policy module calls the screen locking module to verify the user identity according to the status of the active task stack B.
[0215] S507: The screen locking module verifies the user's identity.
[0216] The implementation of this step may refer to the implementation process of S403 in the subsequent content.
[0217] S508: The screen locking module feeds back the verification result to the policy module.
[0218] S509: The policy module calls the active task stack and lifecycle management module to set the state of the active task stack B to an unlocked state according to the verification result.
[0219] The verification result is that the user identity is successfully verified. It should be noted that if the verification result is that the user identity is failed, the policy module will not modify the state of the activity task stack B. The electronic device will not display a new Activity.
[0220] S510: The active task stack and lifecycle management module sets the state of the active task stack B to an unlocked state.
[0221] S511 . The active task stack and lifecycle management module feeds back the status of the active task stack B to the policy module.
[0222] S512: The policy module calls the window display module to set the display area of the new Activity.
[0223] S513: The window display module calls the setLaunchBounds(B) interface of the activity task stack B to set the size and screen position of the new Activity.
[0224] S514 . The window display module displays the new Activity in the display area 223 .
[0225] S515: The activity startup module instructs SystemUI to refresh the user interface.
[0226] S516 . The systemUI refreshes the user interface and switches the display state of the locked control 227 to an unlocked state.
[0227] Next, the user clicks the lock control 227 (see Figure 6B Taking the lock control 227 in the example, the process of unlocking the locked state of the electronic device 10 in the case of the security mode applied to the split-screen lock is introduced. Fig. 8A , is a flowchart of a method for unlocking a locked state provided in an embodiment of the present application.
[0228] S401 : In response to a user clicking on the lock control 227 , the systemUI processes the click event.
[0229] S402: systemUI calls the screen lock module to process the click event.
[0230] S403: The screen locking module verifies the user's identity.
[0231] In some embodiments, the screen lock module locks the display screen of the electronic device 10, and the electronic device 10 displays a lock screen interface on the display screen. Figure 8B The user interface 81 shown in FIG. 1 is a diagram of a user interface 81. Specifically, the unlocking interface includes a time widget 801 and an unlocking indicator 802. The time widget 801 can indicate the current time. The unlocking indicator 802 can be used to indicate an area for receiving the user's fingerprint information. The screen area where the unlocking indicator 802 is located can receive the user's fingerprint information. When the received user's fingerprint information matches the pre-stored fingerprint information, the screen locking module unlocks the display screen and no longer displays the lock screen interface. The electronic device 10 can display the following: Figure 6B User interface 62 is shown.
[0232] In another possible implementation, the unlocking interface may not include the unlocking indicator 802. The user may unlock the electronic device 10 by using a fingerprint button. Optionally, the fingerprint button may be a physical button. Figure 8C In the schematic diagram of the electronic device 10 shown, the user can unlock the screen by touching the fingerprint button 803.
[0233] In some other embodiments, the systemUI may also call the application lock module to process the click event. The application lock module verifies the user identity. In this way, the application lock module displays the unlock indicator 804 in the display area 223. For example, the user interface displayed by the electronic device 10 may refer to Fig.8D When the received fingerprint information of the user matches the pre-stored fingerprint information, the application locking module unlocks the display area 223 of the display screen and no longer displays the unlock indicator 804.
[0234] It should be noted that the screen lock module and the application lock module may also have other ways of verifying the user's identity, such as performing face recognition based on facial information collected by a camera, or performing voiceprint recognition based on sound information collected by a microphone, and so on.
[0235] In a possible implementation, if the screen lock module or the application lock module fails to verify the user identity, the electronic device 10 may display a prompt message to prompt the user that the identity verification has failed, and display the user interface before unlocking after a preset time. Figure 6B User interface 62 is shown.
[0236] S404: The screen lock module feeds back the verification result to the policy module.
[0237] S405 . The policy module calls the active task stack and lifecycle management module to set the state of the active task stack B to an unlocked state according to the verification result.
[0238] The verification result is that the user identity verification is successful. It should be noted that if the verification result is that the user identity verification fails, the policy module will not modify the state of the active task stack B. The electronic device 10 will not adjust the display state of the lock control 227.
[0239] Optionally, before the policy module calls the active task stack and lifecycle management module to set the state of the active task stack B, the policy module may query the state of the active task stack B to determine that the current state of the active task stack B is a locked state.
[0240] S406: The active task stack and lifecycle management module sets the state of the active task stack B to an unlocked state.
[0241] S407: The active task stack and lifecycle management module feeds back the status of the active task stack B to the policy module.
[0242] S408: The policy module instructs SystemUI to refresh the user interface.
[0243] S409 , SystemUI refreshes the user interface and switches the display state of the locked control 227 to an unlocked state.
[0244] For example, the user interface after switching can refer to Figure 3A The user interface 31 is shown.
[0245] In some embodiments, the user interface of the electronic device also includes a navigation bar. Fig.9A The user interface 91 shown. The user interface 91 includes a display area 221, a display area 223, a split screen bar 229 and a navigation bar 901. Among them, the navigation bar 901 may include: a return button 902, a home screen button 903, an outgoing task history button 904 and other system navigation keys. The naming of each navigation key can also be other, and this application does not limit this. Not limited to virtual buttons, each navigation key in the navigation bar 901 can also be implemented as a physical button. In this example, the display area 221 is in an unlocked state and the display area 223 is in a locked state.
[0246] In some embodiments, when it is detected that the user clicks the back button 902, the electronic device 10 switches the display area in the unlocked state (i.e., the display area 221) to display the previous interface of the current interface. Fig. 9C When it is detected that the user clicks the home interface button 903, the electronic device 10 switches the display area in the unlocked state (i.e., the display area 221) to display the home interface. Fig.9D The user interface 93 shown. When it is detected that the user clicks the outgoing task history button 904, the electronic device 10 displays the task that the user has recently opened in the display area (i.e., display area 221) that is in an unlocked state. In one possible implementation, the task that the user has recently opened only includes the user interface in the active task stack corresponding to the display area 221. In another possible implementation, the task that the user has recently opened includes the user interface in the active task stack corresponding to the display area 221 and the display area 223. Exemplarily, after switching, the display interface of the electronic device 10 can refer to Fig.9E The user interface 94 shown. If the user selects a history interface, the electronic device 10 displays the history interface in the display area in the unlocked state.
[0247] In another example, both the display area 221 and the display area 223 are in an unlocked state. Fig.9I The user interface 98 shown. The user interface 98 includes a display area 221, a display area 223, a split screen bar 229 and a navigation bar 901. Among them, the navigation bar 901 may include: a return button 902, a home screen button 903, an outgoing task history button 904 and other system navigation keys. When it is detected that the user clicks the return button 902, the electronic device 10 exits the split screen display and displays the original display area 221 in full screen or displays the interface of the original display area 223 in full screen. Exemplarily, after switching, the display interface of the electronic device 10 can refer to Figure 4E When it is detected that the user clicks the main interface button 903, the split screen display is exited and the main interface is displayed in full screen. Fig.9F When it is detected that the user clicks the outgoing task history button 904, the electronic device 10 displays the task recently opened by the user in full screen. In a possible implementation, the task recently opened by the user includes the user interface in the active task stack corresponding to the display area 221 and the display area 223. Exemplarily, after switching, the display interface of the electronic device 10 can refer to Figure 9G The user interface 96 shown. If the user selects a history interface, the electronic device 10 displays the history interface in full screen.
[0248] In other embodiments, if the user clicks the back button 902, in response to the click operation, the electronic device 10 determines the activity that received the user's operation most recently before the back button 902 was clicked, and switches the display area corresponding to the activity to display the previous activity of the currently displayed activity. Fig. 9B , is a flow chart of a return operation provided in an embodiment of the present application.
[0249] S601: In response to the user clicking the return button, the systemUI processes the click event.
[0250] S602: The systemUI calls the activity management module to process the click event.
[0251] S603: The activity management module determines the Activity that has received the most recent user operation.
[0252] In this example, the Activity of the most recently received user operation is taken as the Activity displayed in the display area 221 of the user interface 91 .
[0253] S604: The activity management module calls the policy module to process a return event for the activity task stack B according to the Activity that receives the user operation most recently.
[0254] The active task stack B is the active task stack corresponding to the display area 221 .
[0255] S605: The policy module calls the activity task stack and lifecycle management module to update the activity task stack B.
[0256] S606: The activity task stack and lifecycle management module updates the activity task stack B.
[0257] Specifically, the activity task stack and life cycle management module pops the current Activity of the activity task stack B from the top of the stack (the Activity is destroyed), and resumes execution of an Activity before the new Activity (the chat interface of the QQ application in the example).
[0258] S607: The policy module calls the window display module to refresh the user interface.
[0259] S608: The window display module refreshes the user interface and switches the display area 221 to display the chat interface of the QQ application. Fig. 9C User interface 92 is shown.
[0260] It should be noted that when the electronic device 10 is in the split-screen display state, if the user clicks the home interface button 903, then in response to the click operation, the electronic device 10 determines the activity that received the user's operation most recently before the home interface button 903 was clicked, and switches the display area corresponding to the activity to display the main interface. Exemplarily, after the switch, the display interface of the electronic device 10 can refer to Fig.9D User interface 93 is shown.
[0261] In other embodiments, when the electronic device 10 is in a split-screen display state, if the user clicks the outgoing task history button 904, then in response to the click operation, the electronic device 10 can display the task recently opened by the user in full screen. If the user selects a history interface, the electronic device 10 determines the activity that received the user's operation most recently before clicking the outgoing task history button 904, and switches the display area corresponding to the activity to display the history interface.
[0262] In another embodiment, the manner in which the navigation bar is included in the user interface of the electronic device 10 can also refer to Figure 9H The user interface 97 shown in FIG. 9 includes a display area 221, a display area 223, a split screen bar 229, a navigation bar 905, and a navigation bar 906. The navigation bar 905 may include a return button 911, a home screen button 912, an outgoing task history button 913, and other system navigation buttons. The navigation bar 906 may include a return button 921, a home screen button 922, an outgoing task history button 923, and other system navigation buttons. The names of the navigation buttons may also be other, and this application does not limit this.
[0263] In this embodiment, the navigation bar 905 has a corresponding relationship with the display area 221. When it is detected that the user clicks the return button 911, the electronic device 10 switches the display area 221 to display the previous interface of the current interface. When it is detected that the user clicks the main interface button 912, the display area 221 of the electronic device 10 switches to display the main interface. When it is detected that the user clicks the outgoing task history button 913, the electronic device 10 displays the task that the user recently opened in the display area 221. In one possible implementation, the task that the user recently opened only includes the user interface in the active task stack corresponding to the display area 221. In another possible implementation, the task that the user recently opened includes the user interface in the active task stack corresponding to the display area 221 and the display area 223. If the user selects a history interface, the electronic device 10 displays the history interface in the display area 221.
[0264] The navigation bar 906 has a corresponding relationship with the display area 223. When it is detected that the user clicks the return button 921, the electronic device 10 switches the display area 223 to display the previous interface of the current interface. When it is detected that the user clicks the main interface button 922, the display area 223 of the electronic device 10 switches to display the main interface. When it is detected that the user clicks the outgoing task history button 923, the electronic device 10 displays the task that the user recently opened in the display area 223. In one possible implementation, the task that the user recently opened only includes the user interface in the active task stack corresponding to the display area 223. In another possible implementation, the task that the user recently opened includes the display area 221 and the user interface in the active task stack corresponding to the display area 223. If the user selects a history interface, the electronic device 10 displays the history interface in the display area 221.
[0265] It should be noted that if the electronic device 10 includes multiple display areas, then one display area may correspond to a group of navigation bars. Referring to the above example, the user may switch the display interface of the display area through the navigation bar corresponding to the display area.
[0266] Based on the embodiments and electronic device 10 described in the foregoing, a split-screen display method provided by an embodiment of the present application is described below. Fig.10 , Fig.10 1 is a flow chart of a split-screen display method provided in an embodiment of the present application. Fig.10 As shown, the method comprises the following steps:
[0267] S101. An electronic device displays a first interface of a first application in a first display area of a display screen, and displays a second interface of a second application in a second display area of the display screen.
[0268] For example, the user interface displayed by the electronic device can refer to Fig.9I The user interface 98 shown. The first display area can refer to Fig.9I The display area 223 in the second display area can refer to Fig.9I The display area 221 in the display area 221. The first application is a WeChat application, and the second application is also a WeChat application.
[0269] Exemplarily, the user interface displayed by the electronic device may also refer to Figure 3A The user interface 31 shown. The first display area can refer to Figure 3A The display area 223 in the second display area can refer to Figure 3A The first application is a WeChat application, and the second application is a QQ application. It should be noted that the first application and the second application can be the same application, or the first application and the second application can be different applications.
[0270] S102: The electronic device receives a first operation input by a user, and in response to the first operation, the electronic device displays a main interface of the electronic device in full screen on the display screen.
[0271] The first operation may be an operation input by a user to trigger the electronic device to switch back to the main interface. FIG. 9I to FIG. 9F In the corresponding embodiment, the first operation can be an operation of the user on the main interface button 903 (for example, single click, double click or long press, etc.). Optionally, the first operation can also be dragging, pressing, voice input, light input, floating gesture operation or other operations. Exemplarily, the user interface of the electronic device displaying the main interface in full screen can refer to the user interface 95 shown in 9F.
[0272] S103: The electronic device displays a third interface of a third application in the first display area, and displays a fourth interface of a fourth application in the second display area.
[0273] It should be noted that before executing step S103, the electronic device may receive a second operation input by the user, and in response to the second operation, the electronic device displays the third interface of the third application in the first display area, and displays the fourth interface of the fourth application in the second display area. Among them, the second operation may include multiple operations. Exemplary, the process of triggering the electronic device to display the third interface and the fourth interface can be: the user first inputs an operation for the icon of the third application in the main interface, and in response to the operation, the electronic device displays the third interface of the third application on the display screen. Afterwards, the user inputs a split-screen operation on the display screen of the electronic device (for example, the user long presses the outgoing task history button in the navigation bar (refer to the outgoing task history button 904 in the user interface 95)), the electronic device displays the third interface in the first display area of the display screen, and displays the icon of the application supporting the split-screen function installed on the electronic device in the second display area of the display screen. Afterwards, the user inputs an operation for the icon of the fourth application, and in response to the operation, the electronic device displays the fourth interface of the fourth application in the second display area. The second operation includes: an operation in which a user inputs an icon for a third application in the main interface, a split screen operation input by a user on the display screen of the electronic device, and an operation in which a user inputs an icon for a fourth application. The second operation may also be other operations, which are not limited in the embodiments of the present application.
[0274] For example, the user interface displayed by the electronic device can refer to Fig.9I The user interface 98 shown. The first display area can refer to Fig.9I The display area 223 in the second display area can refer to Fig.9I The third application is a WeChat application, and the fourth application is also a WeChat application. It should be noted that the third application and the fourth application can be the same application, or the third application and the fourth application can be different applications. The third application can be the same application as the first application and the second application, or different applications. The fourth application can be the same application as the first application and the second application, or different applications.
[0275] Exemplarily, the user interface displayed by the electronic device may also refer to Figure 3A The user interface 31 shown. The first display area can refer to Figure 3A The display area 223 in the second display area can refer to Figure 3A The display area 221 in the display area 221. The third application is a WeChat application, and the fourth application is a QQ application.
[0276] S104: The electronic device receives a third operation input by the user on the first display area.
[0277] The third operation may be an operation input by the user for locking the display content of the first display area. Figure 3A-3B In the embodiment shown, the third operation can be an operation of the user on the control 227 (for example, single-click, double-click, or long-press, etc.). Optionally, the third operation can also be dragging, pressing, voice input, light input, floating gesture operation, or other operations. Through the third operation, the user can easily lock the display content of the first display area. It should be noted that after the display content of the first display area is locked, the user can operate the display content in the first display area. For example, see Figure 3B In the embodiment shown, the user can slide up and down in the first display area to view other content of the current public account. In other embodiments, if the first display area displays a document editing interface, the user can input content in the first display area.
[0278] In a possible implementation, the first display area includes a first control, and the second display area includes a second control. Before the electronic device receives a third operation input by a user on the first display area, the first control is displayed in a first state, and the second control is displayed in the first state. The method further includes: in response to the third operation, the electronic device switches the first control from being displayed in the first state to being displayed in the second state.
[0279] For example, see FIG. 3A to FIG. 3B In the embodiment shown, the first display area may be Figure 3A or Figure 3B In the display area 223, the first control may be Figure 3A or Figure 3B The second display area can be Figure 3A or Figure 3B In the display area 221, the second control may be Figure 3A or Figure 3B Before receiving the third operation, the first control is displayed in the first state (see Figure 3A The display state of the control 227 in FIG. 2 is shown in FIG. 2 , and the second control is displayed in the first state (refer to FIG. 2 ). Figure 3A After receiving the third operation, the first control switches from being displayed in the first state to being displayed in the second state (see Figure 3B In this way, the user can easily check the locking status of the split-screen display area.
[0280] S105. The electronic device receives a fourth operation input by the user. In response to the fourth operation, the electronic device displays the third interface in the first display area and displays the main interface in the second display area.
[0281] The operation mode of the fourth operation is the same as the operation mode of the first operation. The fourth operation is also an operation input by the user to trigger the electronic device to switch back to the main interface. FIG. 9A to FIG. 9D In the illustrated embodiment, the fourth operation may be an operation by the user on the home interface button 903 (e.g., single-click, double-click, or long-press, etc.). Optionally, the fourth operation may also be dragging, pressing, voice input, light input, floating gesture operation, or other operation. Exemplarily, in response to the fourth operation, the user interface displayed by the electronic device may refer to Fig.9D User interface 93 is shown. In user interface 93, the first display area can refer to display area 223, and the second display area can refer to display area 221.
[0282] In a possible implementation, after the electronic device receives the third operation input by the user on the first display area, the method further includes: the electronic device receives the thirteenth operation input by the user for the first control, and in response to the thirteenth operation, the electronic device verifies the user's identity; if the verification is successful, the electronic device switches the first control from being displayed in the second state to being displayed in the first state. In this way, the security of unlocking can be improved.
[0283] For example, see Figure 6B In the corresponding embodiment, the thirteenth operation may be an operation in which the user clicks the lock control 227. The process of releasing the lock state of the first display area of the electronic device may refer to Fig. 8A The embodiment shown.
[0284] In another possible implementation, after the electronic device receives the third operation input by the user on the first display area, the method further includes: the electronic device obtains the user's biometric feature; the electronic device determines that the biometric feature matches the pre-stored biometric feature; the electronic device receives the fourteenth operation input by the user for the first control, and in response to the fourteenth operation, the electronic device switches the first control from being displayed in the second state to being displayed in the first state. The biometric feature may include physiological data such as the user's facial information, fingerprint information, voiceprint information, etc. In this way, the efficiency of unlocking can be improved while ensuring the security of unlocking.
[0285] In another possible implementation, after the electronic device receives the third operation input by the user on the first display area, the method further includes: the electronic device obtains the user's biometric features; the electronic device determines that the biometric features do not match the pre-stored biometric features; the electronic device receives the fifteenth operation input by the user, and in response to the fifteenth operation, the electronic device verifies the user's identity; if the verification is successful, the electronic device switches the first control from being displayed in the second state to being displayed in the first state. In this way, the security of unlocking can be improved.
[0286] In some embodiments, when the electronic device displays the third interface in the first display area and displays the main interface in the second display area, the electronic device receives a fifth operation input by the user for the third interface; in response to the fifth operation, the electronic device displays the third interface in the first display area and displays the fifth interface of the third application in the second display area.
[0287] For example, see FIG. 4B to FIG. 5A The electronic device displays the third interface in the first display area and displays the main interface in the second display area, which can refer to Figure 4B The fifth operation may be an operation input by the user for the control 311. The electronic device displays the third interface in the first display area and displays the fifth interface of the third application in the second display area. Figure 5A User interface 51 is shown.
[0288] In some embodiments, when the electronic device displays the third interface in the first display area and displays the fifth interface of the third application in the second display area, the electronic device receives a sixth operation input by the user on the second display area; the electronic device receives a seventh operation input by the user for the third interface; in response to the seventh operation, the electronic device displays the sixth interface of the third application in the first display area and displays the fifth interface in the second display area.
[0289] For example, see Figures 3B to 5C , and then Figure 5D The electronic device displays the third interface in the first display area and displays the fifth interface of the third application in the second display area, which can be referred to Figure 3B The sixth operation may be an operation input by the user for the control 225. Afterwards, the electronic device may display Figure 5C The seventh operation may be an operation input by the user for the control 311. The electronic device displays the sixth interface of the third application in the first display area and displays the fifth interface in the second display area. Figure 5D User interface 53 is shown.
[0290] In some embodiments, when the electronic device displays the first interface in the first display area and displays the second interface in the second display area, the electronic device receives an eighth operation input by the user; in response to the eighth operation, the electronic device displays a seventh interface in full screen on the display screen, and the seventh interface includes the interface content of the first interface and the interface content of the second interface; when the electronic device displays the third interface in the first display area and displays the main interface in the second display area, the electronic device receives a ninth operation input by the user; in response to the ninth operation, the electronic device displays the third interface in the first display area and displays an eighth interface in the second display area, and the eighth interface includes the interface content of the first interface, the interface content of the second interface and the interface content of the fourth interface, and the operation mode of the ninth operation is the same as the operation mode of the eighth operation.
[0291] Exemplarily, the eighth operation and the ninth operation may be operations input by the user for calling out the history task bar. The electronic device displays the first interface in the first display area and displays the second interface in the second display area, which may refer to Fig.9I The eighth operation input by the user may be an operation of the outgoing task history button 904 by the user.
[0292] In some embodiments, when the electronic device displays the first interface in the first display area and displays the second interface in the second display area, the electronic device receives a tenth operation input by the user; in response to the tenth operation, the electronic device displays the interface content of the first interface or the interface content of the second interface in full screen on the display screen; when the electronic device displays the third interface in the first display area and displays the fourth interface in the second display area, the electronic device receives an eleventh operation input by the user on the first display area, and the operation mode of the eleventh operation is the same as the operation mode of the third operation; the electronic device receives a twelfth operation input by the user; in response to the twelfth operation, the electronic device displays the third interface in the first display area and displays the main interface in the second display area.
[0293] Exemplarily, the tenth operation and the twelfth operation may be operations input by the user for exiting the interface. The electronic device displays the first interface in the first display area and displays the second interface in the second display area, which may refer to Fig.9I The tenth operation input by the user may be an operation on the return button 902. The eleventh operation input by the user may be an operation on the control 227.
[0294] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in this application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integration. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk), etc.
[0295] In short, the above is only an embodiment of the technical solution of this application, and is not intended to limit the protection scope of this application. Any modification, equivalent replacement, improvement, etc. made according to the disclosure of this application shall be included in the protection scope of this application.< / canvas> < / video> < / videoview> < / imgview> < / textview>
Claims
1. A split-screen display method, characterized in that: include: When the electronic device displays a first interface of a first application in a first display area of a display screen, displays a second interface of a second application in a second display area of the display screen, and the first display area and the second display area are in an unlocked state, the electronic device receives a first operation input by a user; In response to the first operation, the electronic device displays the main interface of the electronic device in full screen on the display screen; When the electronic device displays a third interface of a third application in the first display area, displays a fourth interface of a fourth application in the second display area, and both the first display area and the second display area are in an unlocked state, the electronic device receives a third operation input by a user on the first display area; The third operation is an operation input by a user for locking the display content of the first display area; In response to the third operation, the electronic device sets the first display area to a locked state; When the electronic device displays the third interface of the third application in the first display area, displays the fourth interface of the fourth application in the second display area, and the first display area is in a locked state and the second display area is not in a locked state, the electronic device receives a fourth operation input by the user; In response to the fourth operation, the electronic device displays the third interface in the first display area and displays the main interface in the second display area, the operation mode of the fourth operation is the same as the operation mode of the first operation, and the first operation and the fourth operation are operations input by the user for triggering the electronic device to switch back to the main interface; When the electronic device displays the third interface in the first display area and displays the main interface in the second display area, and the first display area is in a locked state and the second display area is not in a locked state, the electronic device receives a fifth operation input by the user for the third interface, where the fifth operation is a click operation on a first page jump control in the third interface; In response to the fifth operation, the electronic device displays the third interface in the first display area and displays a fifth interface of the third application in the second display area, where the fifth interface is an interface of the third application associated with the first page jump control; When the electronic device displays the third interface in the first display area and displays the fifth interface of the third application in the second display area, and the first display area is in a locked state and the second display area is not in a locked state, the electronic device receives a sixth operation input by the user on the second display area; The sixth operation is an operation input by a user for locking the display content of the second display area; In response to the sixth operation, the electronic device sets the second display area to a locked state; When the electronic device displays the third interface in the first display area and displays the fifth interface of the third application in the second display area, and both the first display area and the second display area are in a locked state, the electronic device receives a seventh operation input by the user for the third interface, where the seventh operation is a click operation on a second page jump control in the third interface; In response to the seventh operation, the electronic device displays the sixth interface of the third application in the first display area and displays the fifth interface in the second display area, wherein the sixth interface is an interface of the third application associated with the second page jump control.
2. The method according to claim 1, characterized in that: The method further comprises: When the electronic device displays the first interface in the first display area and displays the second interface in the second display area, the electronic device receives an eighth operation input by the user; In response to the eighth operation, the electronic device displays a seventh interface in full screen on the display screen, where the seventh interface includes interface content of the first interface and interface content of the second interface; When the electronic device displays the third interface in the first display area and displays the main interface in the second display area, the electronic device receives a ninth operation input by the user; In response to the ninth operation, the electronic device displays the third interface in the first display area and displays the eighth interface in the second display area, the eighth interface includes the interface content of the first interface, the interface content of the second interface and the interface content of the fourth interface, and the operation mode of the ninth operation is the same as the operation mode of the eighth operation.
3. The method according to claim 1, characterized in that The method further comprises: When the electronic device displays the first interface in the first display area and displays the second interface in the second display area, the electronic device receives a tenth operation input by the user; In response to the tenth operation, the electronic device displays the interface content of the first interface or the interface content of the second interface in full screen on the display screen; When the electronic device displays the third interface in the first display area and displays the fourth interface in the second display area, the electronic device receives an eleventh operation input by the user in the first display area, and the operation mode of the eleventh operation is the same as the operation mode of the third operation; The electronic device receives a twelfth operation input by the user; In response to the twelfth operation, the electronic device displays the third interface in the first display area and displays the main interface in the second display area.
4. The method according to any one of claims 1 to 3, characterized in that: The first display area includes a first control, and the second display area includes a second control; before the electronic device receives a third operation input by a user on the first display area, the first control is displayed in a first state, and the second control is displayed in the first state; The method further comprises: In response to the third operation, the electronic device switches the first control from being displayed in the first state to being displayed in the second state.
5. The method according to claim 4, characterized in that After the electronic device receives a third operation input by the user on the first display area, the method further includes: The electronic device receives a thirteenth operation input by the user for the first control, and in response to the thirteenth operation, the electronic device verifies the identity of the user; If the verification is successful, the electronic device switches the first control from being displayed in the second state to being displayed in the first state.
6. The method according to claim 4, characterized in that After the electronic device receives a third operation input by the user on the first display area, the method further includes: The electronic device obtains biometric features of the user; The electronic device determines that the biometric feature matches a pre-stored biometric feature; The electronic device receives a fourteenth operation input by a user for the first control, and in response to the fourteenth operation, the electronic device switches the first control from being displayed in the second state to being displayed in the first state.
7. The method according to claim 4, characterized in that After the electronic device receives a third operation input by the user on the first display area, the method further includes: The electronic device obtains biometric features of the user; The electronic device determines that the biometric characteristic does not match a pre-stored biometric characteristic; The electronic device receives a fifteenth operation input by the user, and in response to the fifteenth operation, the electronic device verifies the identity of the user; If the verification is successful, the electronic device switches the first control from being displayed in the second state to being displayed in the first state.
8. An electronic device, characterized in that: The electronic device comprises: a display screen, a memory and one or more processors; the memory is coupled to the one or more processors, the memory is used to store computer program codes, the computer program codes include computer instructions, and when the one or more processors execute the computer instructions, the electronic device performs the following operations: Displaying a first interface of a first application in a first display area of the display screen, displaying a second interface of a second application in a second display area of the display screen, and receiving a first operation input by a user when the first display area and the second display area are in an unlocked state; In response to the first operation, displaying the main interface of the electronic device in full screen on the display screen; When a third interface of a third application is displayed in the first display area, a fourth interface of a fourth application is displayed in the second display area, and both the first display area and the second display area are in an unlocked state, receiving a third operation input by a user on the first display area; the third operation is an operation input by the user for locking display content of the first display area; In response to the third operation, setting the first display area to a locked state; receiving a fourth operation input by a user when the first display area displays a third interface of the third application and the second display area displays a fourth interface of the fourth application, and the first display area is in a locked state and the second display area is not in a locked state; In response to the fourth operation, the third interface is displayed in the first display area, and the main interface is displayed in the second display area, the operation mode of the fourth operation is the same as the operation mode of the first operation, and the first operation and the fourth operation are operations input by the user for triggering the electronic device to switch back to the main interface; When the third interface is displayed in the first display area, the main interface is displayed in the second display area, and the first display area is in a locked state and the second display area is not in a locked state, receiving a fifth operation input by the user for the third interface, wherein the fifth operation is a click operation on a first page jump control in the third interface; In response to the fifth operation, displaying the third interface in the first display area, and displaying a fifth interface of the third application in the second display area, wherein the fifth interface is an interface of the third application associated with the first page jump control; When the third interface is displayed in the first display area, and the fifth interface of the third application is displayed in the second display area, and the first display area is in a locked state and the second display area is not in a locked state, receiving a sixth operation input by the user on the second display area; the sixth operation is an operation input by the user for locking the display content of the second display area; In response to the sixth operation, setting the second display area to a locked state; When the third interface is displayed in the first display area, and the fifth interface of the third application is displayed in the second display area, and both the first display area and the second display area are in a locked state, receiving a seventh operation input by the user for the third interface, wherein the seventh operation is a click operation on a second page jump control in the third interface; In response to the seventh operation, the electronic device displays a sixth interface of the third application in the first display area and displays the fifth interface in the second display area, wherein the sixth interface is an interface of the third application associated with the second page jump control.
9. The electronic device according to claim 8, characterized in that: When the one or more processors execute the computer instructions, the electronic device further performs the following operations: When the electronic device displays the first interface in the first display area and displays the second interface in the second display area, receiving an eighth operation input by a user; In response to the eighth operation, displaying a seventh interface in full screen on the display screen, wherein the seventh interface includes interface content of the first interface and interface content of the second interface; When the electronic device displays the third interface in the first display area and displays the main interface in the second display area, receiving a ninth operation input by the user; In response to the ninth operation, the third interface is displayed in the first display area, and the eighth interface is displayed in the second display area, the eighth interface includes the interface content of the first interface, the interface content of the second interface and the interface content of the fourth interface, and the operation mode of the ninth operation is the same as the operation mode of the eighth operation.
10. The electronic device according to claim 8, characterized in that: When the one or more processors execute the computer instructions, the electronic device further performs the following operations: When the electronic device displays the first interface in the first display area and displays the second interface in the second display area, receiving a tenth operation input by a user; In response to the tenth operation, displaying the interface content of the first interface or the interface content of the second interface in full screen on the display screen; When the electronic device displays the third interface in the first display area and displays the fourth interface in the second display area, receiving an eleventh operation input by the user on the first display area, wherein the operation mode of the eleventh operation is the same as the operation mode of the third operation; receiving a twelfth operation input by the user; In response to the twelfth operation, the third interface is displayed in the first display area, and the main interface is displayed in the second display area.
11. The electronic device according to any one of claims 8 to 10, characterized in that: The first display area includes a first control, and the second display area includes a second control; before receiving a third operation input by a user on the first display area, the first control is displayed in a first state, and the second control is displayed in the first state; When the one or more processors execute the computer instructions, the electronic device further performs the following operations: In response to the third operation, the first control is switched from being displayed in the first state to being displayed in the second state.
12. The electronic device according to claim 11, characterized in that: When the one or more processors execute the computer instructions, the electronic device further performs the following operations: receiving a thirteenth operation input by the user for the first control, and in response to the thirteenth operation, the electronic device verifies the identity of the user; If the verification is successful, the first control is switched from being displayed in the second state to being displayed in the first state.
13. The electronic device according to claim 11, characterized in that: When the one or more processors execute the computer instructions, the electronic device further performs the following operations: Obtaining the user’s biometrics; determining that the biometric characteristic matches a pre-stored biometric characteristic; A fourteenth operation input by a user for the first control is received, and in response to the fourteenth operation, the first control is switched from being displayed in the second state to being displayed in the first state.
14. The electronic device according to claim 11, characterized in that: When the one or more processors execute the computer instructions, the electronic device further performs the following operations: Obtaining the user’s biometrics; determining that the biometric characteristic does not match a pre-stored biometric characteristic; receiving a fifteenth operation input by a user, and verifying the user identity in response to the fifteenth operation; If the verification is successful, the first control is switched from being displayed in the second state to being displayed in the first state.
15. A computer-readable storage medium comprising instructions, characterized in that: When the instructions are executed on an electronic device, the electronic device is caused to execute the method as claimed in any one of claims 1 to 7.
Citation Information
Patent Citations
Display device and method of controlling the same
CN103853451A
Device and method for split screen display in terminal
CN104331246A
Screen unlocking method and user terminal
CN105573614A
Method and device for switching screen locking modes
CN106959856A
Mobile terminal and method for controlling the same
CN107071133A
Cited By
Split-screen display method and electronic device
WO2021104030A1
