Split-screen display operation method and electronic device
By performing specific swipe operations on a split-screen touchscreen, the operation process for multiple display areas is simplified, solving the problem of high operational complexity in split-screen displays and improving the efficiency of electronic devices.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Filing Date
- 2020-04-24
- Publication Date
- 2026-08-04
AI Technical Summary
When using split-screen display, users need to perform a series of operations to operate a specific application in multiple display areas, resulting in low efficiency of electronic devices.
A method for split-screen display is provided. By performing a specific sliding operation in the display area of the touch screen, such as a sliding operation with a sliding direction and distance that meets preset conditions, the electronic device can be directly triggered to perform operations such as returning to the previous interface, exiting split-screen display, or displaying a multi-tasking interface, thus simplifying the user's operation process.
It reduces the complexity of user operation, improves the efficiency of electronic devices, and enables efficient interaction between electronic devices and users.
Smart Images

Figure CN113795817B_ABST
Abstract
Description
[0001] This application claims priority to Chinese Patent Application No. 201910369148.5, filed on May 5, 2019, with the Chinese National Intellectual Property Administration, entitled “A Split-Screen Display Operation Method and Electronic Device”, the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of electronic devices, and more particularly to a method for operating a split-screen display and an electronic device. Background Technology
[0003] Today, mobile phones and other electronic devices have become indispensable communication tools in people's daily lives and work, with touchscreen electronic devices, such as touchscreen phones, being the most widely used. With the continuous development of screen technology, the touchscreen size of touchscreen phones has also been increasing, from the early popular 3 inches to 4 inches, then 5 inches, 6 inches, and even larger. To fully utilize the ever-increasing touchscreen size, split-screen display has become a common usage scenario for touchscreen phones. When a user triggers split-screen display, the phone can divide the touchscreen into multiple display areas, showing the interface of different applications in each area. For example... Figure 1 As shown in (a), a mobile phone can divide the touchscreen into two display areas, such as... Figure 1 Display areas 101 and 102 are shown in (a). Display area 101 displays the interface 103 of the shopping application, and display area 102 displays the interface 104 of the settings application (e.g., ...). Figure 1 (The wireless LAN settings interface shown in (a)).
[0004] When using split-screen display, if a user wants to perform an operation such as going back on a specific application across multiple display areas, that application must first be activated. For example, the user can tap the display area containing the application to activate it before performing the operation. For instance, combining... Figure 1 When a user wants to go back in the settings app, such as Figure 1 As shown in (a), the user can first click on the display area 102 where the settings application is located to activate the settings application. Then, as... Figure 1 As shown in (b), the user can click the back button 105 in the navigation bar. In response to this click, as... Figure 1 As shown in (c), the phone can display the main interface 106 of the settings application in the display area 102, that is, the phone executes an event to return to the previous display interface for the settings application.
[0005] As can be seen, when displaying in split-screen mode, users need to perform a series of operations to operate a certain application in multiple display areas, which reduces the efficiency of using electronic devices. Summary of the Invention
[0006] This application provides a split-screen display operation method and electronic device, which solves the problem that users need to perform a series of operations to operate a certain application in multiple display areas when displaying a split screen, resulting in low efficiency of electronic devices.
[0007] To achieve the above objectives, the embodiments of this application adopt the following technical solutions:
[0008] In a first aspect, embodiments of this application provide a split-screen display operation method, applied to an electronic device including a touchscreen, the touchscreen being divided into at least two display areas, each displaying an interface of a different application; wherein the at least two display areas may include a first display area, on which a first interface of a first application is displayed; the method may include: the electronic device receiving a first operation from a user in the first display area, and in response to the first operation, the electronic device displaying a second interface of the first application in the first display area, the second interface being the parent interface of the first interface; or, the electronic device receiving a second operation from a user in the first display area, and in response to the second operation, the electronic device exiting the split-screen display of the first application displayed in the first display area; or, the electronic device receiving a third operation from a user in the first display area, and in response to the third operation, the electronic device displaying a multitasking interface in the first display area, the multitasking interface including identifiers of applications running in the background of the electronic device or applications recently used by the user.
[0009] The split-screen display method provided in this application embodiment eliminates the need for users to perform a series of operations when viewing different application interfaces in multiple display areas. Instead, users only need to perform one operation in the corresponding display area, and the electronic device can then execute events such as returning, exiting, or displaying a multitasking interface for the application displayed in that area. This reduces the complexity of user operations, improves the efficiency of electronic device use, and enables efficient interaction between the electronic device and the user.
[0010] In one possible implementation, in response to the first operation, the electronic device displays a second interface of the first application on the first display area. Specifically, this may include: in response to the first operation, the electronic device may display the second interface of the first application on the first display area when it is determined that the first interface is not the homepage of the first application. When the user performs the first operation in the first display area, if the currently displayed interface in the first display area is not the homepage of the first application, then in response to the first operation, the electronic device may return to the previous level from the interface of the first application displayed in the first display area.
[0011] In another possible implementation, the method may further include: in response to the first operation described above, when the electronic device determines that the first interface is the homepage of the first application, displaying "Exit Split-Screen Display of the First Application" on the first display area. When the user performs the first operation in the first display area, if the currently displayed interface in the first display area is the homepage of the first application, then in response to the first operation, the electronic device may display "Exit Split-Screen Display of the First Application" on the first display area.
[0012] In another possible implementation, the first operation can be a first swipe operation; wherein the starting point of the first swipe operation is the first side of the first display area, the swipe direction is away from the first side, and the duration is less than or equal to a first preset duration; or, the starting point of the first swipe operation is the first side of the first display area, the swipe direction is away from the first side, and the swipe distance is less than or equal to a first preset distance; or, the starting point of the first swipe operation is the first side of the first display area, the swipe direction is away from the first side, and the swipe direction is a first preset direction. It can be seen that when a user performs a swipe operation in the display area, the electronic device can trigger an event to return to the previous screen for the application on that display area.
[0013] In another possible implementation, the second operation can be a second swipe operation; the starting point and ending point of the second swipe operation are both the first edge of the first display area, the swipe direction first moves away from the first edge and then points back to the first edge, and the duration of the swipe in the direction away from the first edge is less than or equal to a second preset duration; or, the starting point and ending point of the second swipe operation are both the first edge of the first display area, the swipe direction first moves away from the first edge and then points back to the first edge, and the distance swipe in the direction away from the first edge is less than or equal to a second preset distance; or, the starting point of the second swipe operation is the first edge of the first display area, the swipe direction moves away from the first edge, and the swipe direction is a second preset direction. It can be seen that when a user performs a swipe operation in the display area, it can trigger the electronic device to execute an event to exit split-screen display for the application on that display area.
[0014] In another possible implementation, the aforementioned third operation can be a third swipe operation; the starting point of the third swipe operation is the first side of the first display area, the swipe direction is away from the first side, and the duration is greater than a third preset duration; or, the starting point of the third swipe operation is the first side of the first display area, the swipe direction is away from the first side, the duration is greater than the third preset duration, and there is a pause of a predetermined duration after the swipe; or, the starting point of the third swipe operation is the first side of the first display area, the swipe direction is away from the first side, and the swipe distance is greater than a third preset distance; or, the starting point of the third swipe operation is the first side of the first display area, the swipe direction is away from the first side, and the swipe direction is a third preset direction. It can be seen that when a user performs a swipe operation in the display area, it triggers an event on the electronic device to display a multitasking interface on that display area.
[0015] The first side of the first display area is the side of the first display area that is adjacent to the edge of the touch screen.
[0016] Secondly, embodiments of this application provide an electronic device, which may include: one or more processors, a memory, and a touchscreen; wherein, the touchscreen is used to display content according to instructions from one or more processors; the memory is used to store one or more programs; the one or more processors are used to run one or more programs to perform the following actions: dividing the touchscreen into at least two display areas, instructing the touchscreen to display interfaces of different applications in the at least two display areas respectively, the at least two display areas including a first display area, on which a first interface of a first application is displayed; receiving a first operation from a user in the first display area, and in response to the first operation, instructing the touchscreen to display a second interface of the first application in the first display area, the second interface being the parent interface of the first interface; or, receiving a second operation from a user in the first display area, and in response to the second operation, instructing the touchscreen to exit the split-screen display of the first application displayed in the first display area; or, receiving a third operation from a user in the first display area, and in response to the third operation, instructing the touchscreen to display a multitasking interface in the first display area, the multitasking interface including identifiers of applications running in the background of the electronic device or applications recently used by the user.
[0017] In one possible implementation, in response to a first operation, instructing the touchscreen to display a second interface of the first application on a first display area includes: in response to the first operation, when it is determined that the first interface is not the home page of the first application, instructing the touchscreen to display the second interface of the first application on the first display area.
[0018] In another possible implementation, one or more processors are used to run one or more programs and to perform the following action: in response to a first operation, when it is determined that the first interface is the home page of the first application, instructing the touch screen to display the first application exiting split-screen display on the first display area.
[0019] In another possible implementation, the first operation can be a first sliding operation; the starting point of the first sliding operation is the first side of the first display area, the sliding direction is away from the first side, and the duration is less than or equal to a first preset duration; or, the starting point of the first sliding operation is the first side of the first display area, the sliding direction is away from the first side, and the sliding distance is less than or equal to a first preset distance; or, the starting point of the first sliding operation is the first side of the first display area, the sliding direction is away from the first side, and the sliding direction is a first preset direction.
[0020] In another possible implementation, the second operation can be a second sliding operation; the starting point and the ending point of the second sliding operation are both the first side of the first display area, the sliding direction first moves away from the first side and then points back to the first side, and the duration of sliding in the direction away from the first side is less than or equal to a second preset duration; or, the starting point and the ending point of the second sliding operation are both the first side of the first display area, the sliding direction first moves away from the first side and then points back to the first side, and the distance of sliding in the direction away from the first side is less than or equal to a second preset distance; or, the starting point of the second sliding operation is the first side of the first display area, the sliding direction moves away from the first side, and the sliding direction is a second preset direction.
[0021] In another possible implementation, the third operation can be a third sliding operation; the starting point of the third sliding operation is the first side of the first display area, the sliding direction is away from the first side, and the duration is greater than a third preset duration; or, the starting point of the third sliding operation is the first side of the first display area, the sliding direction is away from the first side, the duration is greater than the third preset duration, and there is a pause of a predetermined duration after the sliding; or, the starting point of the third sliding operation is the first side of the first display area, the sliding direction is away from the first side, and the sliding distance is greater than a third preset distance; or, the starting point of the third sliding operation is the first side of the first display area, the sliding direction is away from the first side, and the sliding direction is a third preset direction.
[0022] The first side of the first display area is the side of the first display area that is adjacent to the edge of the touch screen.
[0023] Thirdly, embodiments of this application provide a computer storage medium including computer instructions that, when executed on an electronic device, cause the electronic device to perform a split-screen display operation method as described in any one of the first aspects or possible implementations of the first aspect.
[0024] Fourthly, embodiments of this application provide a computer program product that, when run on a computer, causes the computer to perform a split-screen display operation method as described in any one of the first aspects or possible implementations of the first aspect.
[0025] Fifthly, embodiments of this application provide an electronic device that may include: one or more processors, a memory, and a touch screen; the memory stores one or more computer programs, and the one or more processors are used to execute the one or more computer programs; the one or more computer programs include instructions that can be used to perform a split-screen display operation method as described in any one of the first aspects or possible implementations of the first aspect.
[0026] Sixthly, embodiments of this application provide an apparatus having the function of implementing the electronic device behavior described in the method of the first aspect. The function can be implemented in hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-described function, such as an input unit or module, a display unit or module.
[0027] It should be understood that the descriptions of technical features, technical solutions, beneficial effects, or similar language in this application do not imply that all features and advantages can be achieved in any single embodiment. Rather, it is understood that the description of a feature or beneficial effect means that a specific technical feature, technical solution, or beneficial effect is included in at least one embodiment. Therefore, the descriptions of technical features, technical solutions, or beneficial effects in this specification do not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions, and beneficial effects described in this embodiment can be combined in any suitable manner. Those skilled in the art will understand that embodiments can be implemented without one or more specific technical features, technical solutions, or beneficial effects of a particular embodiment. In other embodiments, additional technical features and beneficial effects may be identified in specific embodiments that do not embody all embodiments. Attached Figure Description
[0028] Figure 1 A schematic diagram of an interface for split-screen display provided by existing technology;
[0029] Figure 2 A schematic diagram of the form of a foldable screen electronic device provided in an embodiment of this application;
[0030] Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;
[0031] Figure 4 A flowchart illustrating a split-screen display operation method provided in an embodiment of this application;
[0032] Figure 5 This is a schematic diagram of an interface during split-screen display provided in an embodiment of this application;
[0033] Figure 6 This is a schematic diagram of another split-screen display provided in an embodiment of this application;
[0034] Figure 7 A schematic diagram of another split-screen display provided in an embodiment of this application;
[0035] Figure 8 A schematic diagram of another split-screen display provided in an embodiment of this application;
[0036] Figure 9 A schematic diagram of another split-screen display provided in an embodiment of this application;
[0037] Figure 10 This is a schematic diagram of another split-screen display provided in an embodiment of this application. Detailed Implementation
[0038] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of embodiments of this application, unless otherwise stated, "a plurality of" means two or more.
[0039] This application provides a method for split-screen display, applicable to electronic devices. The electronic device supports split-screen display functionality. Multiple applications can be installed on the electronic device. In split-screen display, the electronic device divides its touchscreen into multiple display areas, displaying the interfaces of different applications within each area. In this application, the user can perform operations such as returning or exiting from a specific application within the multiple display areas on the touchscreen without needing to execute a series of steps. This reduces the complexity of user operations, improves the efficiency of the electronic device, and achieves efficient interaction between the electronic device and the user.
[0040] In this application, the application can be an embedded application (i.e., a system application of an electronic device) or a downloadable application. An embedded application is an application provided as part of the implementation of an electronic device. A downloadable application is an application that can provide its own Internet Protocol Multimedia Subsystem (IMS) connectivity. This downloadable application can be an application pre-installed on the electronic device or a third-party application downloaded and installed by the user on the electronic device.
[0041] It should be noted that the electronic devices described in the embodiments of this application may be mobile phones, tablets, desktops, laptops, handheld computers, notebook computers, ultra-mobile personal computers (UMPCs), netbooks, as well as cellular phones, personal digital assistants (PDAs), augmented reality (AR) / virtual reality (VR) devices, media players, etc. The embodiments of this application do not impose any special restrictions on the specific form of the device.
[0042] In addition, the electronic device described in the embodiments of this application can be a non-foldable screen electronic device or a foldable screen electronic device.
[0043] In this context, a foldable screen electronic device can refer to an electronic device with a foldable screen. In some embodiments, the foldable screen can be a flexible foldable screen. The flexible foldable screen includes folding edges. Part or all of the flexible foldable screen can be made of a flexible material. For example, only the foldable portion (such as the folding edges) of the flexible foldable screen is made of a flexible material, while the other portions are made of a rigid material; or, the entire flexible foldable screen is made of a flexible material. The foldable screen can be folded along the folding edges to form multiple (two or more) screens. In other embodiments, the foldable screen can be a multi-screen foldable screen. The multi-screen foldable screen can include multiple (two or more) screens. It should be noted that these multiple screens are multiple individual touchscreens. These multiple screens can be connected sequentially via folding axes. Each screen can rotate about the folding axis to which it is connected, realizing the folding of the multi-screen foldable screen. For example, combined with... Figure 2 Taking foldable screens as an example, specifically flexible foldable screens. Figure 2 The flexible folding screen shown in (a) can be folded along the folding edge to form... Figure 2 Screens A 201 and B 202 are shown in (b) of the diagram. Among them, Figure 2 (a) in the diagram is a schematic of the foldable screen when it is not folded. Figure 2(b) in the diagram is a schematic diagram of the flexible foldable screen after it has been folded (half-folded). Figure 2 Image (c) is a schematic diagram of the flexible foldable screen after it has been fully folded. It should be noted that... Figure 2 The folding screen of the electronic device is folded vertically to achieve folding. Of course, the folding screen of the electronic device can also be folded horizontally to achieve folding. This embodiment does not impose any limitation on this.
[0044] The embodiments of this application will now be described in detail with reference to the accompanying drawings.
[0045] Please refer to Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 3 As shown, the electronic device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0046] It is understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device. In other embodiments, the electronic device may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0047] Processor 110 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0048] A controller can be the nerve center and command center of an electronic device. Based on the instruction opcode and timing signals, the controller generates operation control signals to control the fetching and execution of instructions.
[0049] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0050] In some embodiments, the processor 110 may include one or more interfaces. Interfaces 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.
[0051] It is understood that the interface connection relationships between the modules illustrated in this embodiment are merely illustrative and do not constitute a structural limitation on the electronic device. In other embodiments, the electronic device may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.
[0052] The charging management module 140 receives charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 receives charging input from the wired charger via a USB interface 130. In some wireless charging embodiments, the charging management module 140 receives wireless charging input via the wireless charging coil of the electronic device. While charging the battery 142, the charging management module 140 can also supply power to the electronic device via the power management module 141.
[0053] The power management module 141 connects 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, providing power to the processor 110, internal memory 121, external memory, display screen 194, camera 193, and wireless communication module 160, etc. The power management module 141 can also monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance). In some other embodiments, the power management module 141 may also be located within the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be located in the same device.
[0054] The wireless communication function of electronic devices can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.
[0055] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device can be used to cover one or more communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.
[0056] The mobile communication module 150 can provide solutions for wireless communication applications including 2G / 3G / 4G / 5G in electronic devices. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.
[0057] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates 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 processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs sound signals through an audio device (not limited to speaker 170A, receiver 170B, etc.) or displays images or videos through the display screen 194. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 110 and may be housed in the same device as the mobile communication module 150 or other functional modules.
[0058] The wireless communication module 160 can provide solutions for wireless communication applications in electronic devices, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0059] In some embodiments, antenna 1 of the electronic device is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling the electronic device to communicate with networks and other devices via wireless communication technology. The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).
[0060] Electronic devices implement display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connecting the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0061] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Mini LED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device may include one or N displays 194, where N is a positive integer greater than 1.
[0062] Electronic devices can achieve shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.
[0063] The ISP (Image Signal Processor) is used to process data fed back from the camera 193. For example, when taking a picture, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, and the camera's photosensitive element transmits the electrical signal to the ISP for processing, transforming it into an image visible to the naked eye. The ISP can also perform algorithmic optimization of image noise, brightness, and skin tone. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 193.
[0064] Camera 193 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, the electronic device may include one or N cameras 193, where N is a positive integer greater than 1.
[0065] Digital signal processors (DSPs) are used to process digital signals. Besides digital image signals, they can also process other digital signals. For example, when an electronic device is selecting a frequency, a DSP can perform a Fourier transform on the frequency energy.
[0066] Video codecs are used to compress or decompress digital video. Electronic devices can support one or more video codecs. This allows the electronic device to play or record video in various encoded formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0067] An NPU (Neural Processing Unit) is a computational processor for neural networks (NNs). By borrowing the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it can rapidly process input information and continuously learn on its own. NPUs enable intelligent cognitive applications in electronic devices, such as image recognition, facial recognition, speech recognition, and text understanding.
[0068] The external storage interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.
[0069] The internal memory 121 can be used to store computer executable program code, which includes instructions. The processor 110 executes various functional applications and data processing of the electronic device by running the instructions stored in the internal memory 121. For example, in this embodiment, during split-screen display, the processor 110 can execute the instructions stored in the internal memory 121 to respond to a user's touch operation on a certain display area of the touchscreen by executing corresponding events, such as exiting or switching to the background running of the application displayed on that display area, or returning the interface of the application displayed on that display area to the previous level. The internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback function, image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device (such as audio data, phonebook, etc.). Furthermore, the internal memory 121 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.
[0070] Electronic devices can implement audio functions such as music playback and recording through audio modules 170, speakers 170A, receivers 170B, microphones 170C, headphone jacks 170D, and application processors.
[0071] The audio module 170 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. The audio module 170 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 170 may be located in the processor 110, or some functional modules of the audio module 170 may be located in the processor 110.
[0072] The speaker 170A, also known as a "loudspeaker," is used to convert audio electrical signals into sound signals. Electronic devices can listen to music or make hands-free calls through the speaker 170A.
[0073] The receiver 170B, also known as the "earpiece," is used to convert audio electrical signals into sound signals. When an electronic device answers a phone call or voice message, the receiver 170B can be brought close to the ear to hear the voice.
[0074] Microphone 170C, also known as a "microphone" or "voice transducer," is used to convert sound signals into electrical signals. When making a phone call, sending a voice message, or needing to trigger certain functions of an electronic device through a voice assistant, the user can speak by bringing their mouth close to microphone 170C, inputting sound signals into microphone 170C. The electronic device can have at least one microphone 170C. In some embodiments, the electronic device can have two microphones 170C, which, in addition to collecting sound signals, can also perform noise reduction. In other embodiments, the electronic device can have three, four, or more microphones 170C, enabling sound signal collection, noise reduction, sound source identification, and directional recording, among other functions.
[0075] The 170D headphone jack is used to connect wired headphones. The 170D headphone jack can be a USB 130 interface or a 3.5mm Open Mobile Terminal Platform (OMTP) standard interface, a CTIA (Cellular Telecommunications Industry Association of the USA) standard interface.
[0076] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 180A can be disposed on display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may include at least two parallel plates with conductive material. When force is applied to pressure sensor 180A, the capacitance between the electrodes changes. The electronic device determines the pressure intensity based on the change in capacitance. When a touch operation is applied to display screen 194, the electronic device detects the intensity of the touch operation based on pressure sensor 180A. The electronic device can also calculate the touch position based on the detection signal from pressure sensor 180A. In some embodiments, touch operations applied to the same touch position but with different touch operation intensities can correspond to different operation commands. For example, when a touch operation with an intensity less than a first pressure threshold is applied to the SMS application icon, a command to view an SMS is executed. When a touch operation with an intensity greater than or equal to the first pressure threshold is applied to the SMS application icon, a command to create a new SMS is executed.
[0077] The gyroscope sensor 180B can be used to determine the motion attitude of an electronic device. In some embodiments, the gyroscope sensor 180B can determine the angular velocity of the electronic device around three axes (i.e., the x, y, and z axes). The gyroscope sensor 180B can be used for image stabilization. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of the electronic device's shake, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to counteract the shake of the electronic device by moving in the opposite direction, thus achieving image stabilization. The gyroscope sensor 180B can also be used in navigation and motion-sensing gaming scenarios.
[0078] The barometric pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device calculates altitude using the air pressure value measured by the barometric pressure sensor 180C to assist in positioning and navigation.
[0079] The magnetic sensor 180D includes a Hall sensor. The electronic device can use the magnetic sensor 180D to detect the opening and closing of the flip cover. In some embodiments, when the electronic device is a flip phone, the electronic device can detect the opening and closing of the flip cover using the magnetic sensor 180D. Then, based on the detected opening and closing state of the cover or the flip cover, features such as automatic flip unlocking can be configured.
[0080] The 180E accelerometer can detect the magnitude of acceleration in various directions (typically three axes) of an electronic device. When the electronic device is stationary, it can detect the magnitude and direction of gravity. It can also be used to identify the posture of electronic devices, and is applicable to screen orientation switching, pedometers, and other applications.
[0081] A distance sensor 180F is used to measure distance. Electronic devices can measure distance using infrared or laser. In some embodiments, during a shooting scene, the electronic device can utilize the distance sensor 180F to measure distance for rapid focusing.
[0082] The proximity sensor 180G may include, for example, a light-emitting diode (LED) and a light detector, such as a photodiode. The LED may be an infrared LED. The electronic device emits infrared light outward through the LED. The electronic device uses the photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that an object is near the electronic device. When insufficient reflected light is detected, the electronic device can determine that no object is near the electronic device. The electronic device can use the proximity sensor 180G to detect when a user holds the electronic device close to their ear for a call, so as to automatically turn off the screen to save power. The proximity sensor 180G can also be used in holster mode and pocket mode for automatic unlocking and locking of the screen.
[0083] The ambient light sensor 180L is used to detect ambient light levels. Electronic devices can adaptively adjust the brightness of their displays (194) based on the detected ambient light. The ambient light sensor 180L can also be used to automatically adjust white balance when taking photos. Furthermore, the ambient light sensor 180L can work in conjunction with the proximity sensor 180G to detect whether electronic devices are in a pocket, preventing accidental touches.
[0084] The fingerprint sensor 180H is used to collect fingerprints. Electronic devices can utilize the characteristics of the collected fingerprints to achieve fingerprint unlocking, app access locks, fingerprint photography, fingerprint answering of calls, etc.
[0085] Temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device uses the temperature detected by temperature sensor 180J to execute a temperature handling strategy. For example, when the temperature reported by temperature sensor 180J exceeds a threshold, the electronic device reduces the performance of a processor located near temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is below another threshold, the electronic device heats battery 142 to prevent abnormal shutdown of the electronic device due to low temperature. In still other embodiments, when the temperature is below yet another threshold, the electronic device boosts the output voltage of battery 142 to prevent abnormal shutdown due to low temperature.
[0086] Touch sensor 180K, also known as a "touch panel," can be located on display screen 194. The touch sensor 180K and display screen 194 together form a touchscreen, also known as a "touchscreen." When the electronic device is a foldable screen device, the touchscreen is the aforementioned foldable screen (such as a flexible foldable screen or a multi-screen foldable screen). Touch sensor 180K is used to detect touch operations applied to or near it. Touch sensor 180K can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 194. In other embodiments, touch sensor 180K may also be located on the surface of the electronic device, in a different position than display screen 194.
[0087] The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire vibration signals from the vibrating bone segments of the human vocal cords. The bone conduction sensor 180M can also contact the human pulse to receive blood pressure signals. In some embodiments, the bone conduction sensor 180M can also be incorporated into headphones to form bone conduction headphones. The audio module 170 can parse the voice signals from the vibrating bone segments of the vocal cords acquired by the bone conduction sensor 180M to realize voice functionality. The application processor can parse heart rate information from the blood pressure signals acquired by the bone conduction sensor 180M to realize heart rate detection functionality.
[0088] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch-sensitive buttons. The electronic device can receive button input and generate key signal inputs related to user settings and function control of the electronic device.
[0089] Motor 191 can generate vibration alerts. Motor 191 can be used for incoming call vibration alerts or for touch vibration feedback. For example, different vibration feedback effects can correspond to touch operations performed on different applications (such as taking photos, playing audio, etc.). Motor 191 can also correspond to different vibration feedback effects for touch operations performed on different areas of the display screen 194. Different application scenarios (such as time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also be customized.
[0090] Indicator 192 can be an indicator light, used to indicate charging status, power changes, or to indicate messages, missed calls, notifications, etc.
[0091] The SIM card interface 195 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to achieve contact and separation with the electronic device. The electronic device can support one or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. Multiple cards can be inserted into the same SIM card interface 195 simultaneously. The multiple cards can be of the same or different types. The SIM card interface 195 is also compatible with different types of SIM cards. The SIM card interface 195 is also compatible with external memory cards. The electronic device interacts with the network through the SIM card to achieve functions such as calls and data communication. In some embodiments, the electronic device uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device and cannot be separated from it.
[0092] The methods described in the following embodiments can all be implemented in an electronic device with the above-described hardware structure.
[0093] Figure 4 This is a flowchart illustrating a split-screen display operation method provided in an embodiment of this application. This method can be applied to electronic devices that support split-screen display functionality. In split-screen display, the electronic device can divide its touchscreen into multiple display areas and display the interfaces of different applications within the electronic device in each of these areas. For example... Figure 4 As shown, the method may include the following S401-S408.
[0094] S401, The electronic device receives the user's fourth operation.
[0095] The fourth operation may include one or more operations for triggering the electronic device to display a split screen.
[0096] S402. In response to the fourth operation described above, the electronic device divides the touchscreen into multiple display areas and displays the interfaces of different applications in these multiple display areas respectively.
[0097] For example, such as Figure 5 As shown in (a), the touchscreen of the electronic device currently displays the WeChat interface 501. When a user wants to use the split-screen display function, they can perform a specific gesture, such as double-tapping the touchscreen of the electronic device. In response to this specific gesture, such as... Figure 5As shown in (b), the electronic device can divide the touchscreen into multiple display areas, such as two display areas: display area 1 and display area 2. The WeChat interface 501 described above is displayed in display area 1. The identifiers of applications that can be displayed in split-screen mode with WeChat are displayed in display area 2, such as application icons and thumbnails. For example, displaying icons of applications that can be displayed in split-screen mode with WeChat in display area 2 is shown below. Figure 5 As shown in (b), display area 2 displays icons for "Camera," "Settings," "Calculator," "Photos," "Weather," and "Music Player" (502). Users can select the application from the icons displayed in display area 2 to display WeChat in split-screen mode. For example, let's take the user selecting the Music Player. Figure 5 As shown in (b), the user can click on the "Music Player" icon 502. In response to this click, as... Figure 5 As shown in (c), the electronic device can display the music player interface 503 in display area 2. This interface 503 and interface 501 are displayed simultaneously on the touchscreen, thus achieving split-screen display. The specific gesture and the click operation described above constitute the fourth operation.
[0098] It is understandable that the above Figure 5 The example illustrates how an electronic device divides the touchscreen into two display areas, each showing the interface of a different application. Of course, in split-screen display, the electronic device can also divide the touchscreen into more than two display areas, each showing the interface of a different application. For example, if a user wants to display the interfaces of three or more applications simultaneously on the touchscreen, they can do so by repeatedly executing the above steps. Figure 5 The gestures and operations shown in the example are designed to simultaneously display the interfaces of three or more applications on the touchscreen of an electronic device. The electronic device can also receive the above... Figure 5 When a specific gesture is executed as shown in the example, the touchscreen is divided into three or more display areas. Icons of applications that can be displayed in split-screen mode can be displayed in one or more of these areas. Users can drag the icons of different applications to the divided display areas, thus allowing the interfaces of three or more applications to be displayed simultaneously on the touchscreen of the electronic device. For example, as... Figure 6 As shown, in split-screen display, the electronic device divides the touchscreen into four display areas: display area 1, display area 2, display area 3, and display area 4. Display area 1 displays the WeChat interface 601, display area 2 displays the music player interface 602, display area 3 displays the settings application interface 603, and display area 4 displays the camera interface 604.
[0099] Additionally, users can adjust the size of the display area by dragging the dividing lines between different display areas or the application isolation bars (or application isolation panels) on the dividing lines, thereby adjusting the size of the application interface displayed on that display area. For example, combined with Figure 6 Users can adjust the size of display areas 1, 2, and 3 by dragging the application isolation bar 1 left and right, thereby adjusting the size of the WeChat interface 601, the music player interface 602, and the settings application interface 603. Users can adjust the size of display areas 2 and 3 by dragging the application isolation bar 2 up and down, thereby adjusting the size of the music player interface 602 and the settings application interface 603. Users can adjust the size of display areas 2, 3, and 4 by dragging the application isolation bar 3 left and right, thereby adjusting the size of the music player interface 602, the settings application interface 603, and the camera interface 604. It should be noted that the aforementioned dividing lines or application isolation bars on the dividing lines can be displayed on the touchscreen after the electronic device has divided the touchscreen into multiple display areas, or they can be displayed only when the user touches the boundary of the display area and automatically hidden when the user stops touching the boundary of the display area. This embodiment does not impose specific limitations here.
[0100] It should be noted that the fourth operation is not limited to Figure 5 The gestures and operations shown in the example can also be other operations used to trigger the split-screen display of electronic devices, and this embodiment does not impose specific limitations on them.
[0101] In this embodiment, during split-screen display, the user can perform corresponding operations in the display areas divided by the electronic device to trigger the electronic device to execute corresponding events for the applications displayed in those display areas.
[0102] In this embodiment, the events executed by the electronic device in response to different operations can vary. It should be noted that the specific event executed by the electronic device in response to different user operations can be predefined or pre-configured within the electronic device, or it can be set by the user. In other words, which specific operation triggers which event can be predefined or set by the user. If it is predefined or pre-configured within the electronic device, the device can display a prompt (e.g., when the device starts split-screen display or when the user enables the split-screen display function) to inform the user which operation will trigger which corresponding event. If it is user-set, a settings interface can be provided for the user to configure which operation will trigger which event.
[0103] For example, the following S403-S408 illustrate the events executed by the electronic device according to different operations performed by the user.
[0104] In some embodiments, when the electronic device receives a first operation from the user in the first display area, the electronic device may execute an event to return to the previous screen for the application displayed in the first display area. Specifically, see S403-S404 below.
[0105] S403, The electronic device receives a first operation from a user in a first display area, and a first interface of a first application is displayed in the first display area.
[0106] The first display area can be any one of the multiple display areas in S402 described above. For example, combined with Figure 6 The first display area can be any one of the display areas 1, 2, 3 and 4.
[0107] The first operation could be to trigger the electronic device to perform a return event for the application displayed on the corresponding display area (such as the first display area mentioned above).
[0108] For example, the first operation can be a sliding operation. For instance, the first operation can be sliding operation 1, where the starting point of sliding operation 1 is the first side of the first display area, the sliding direction is away from the first side, and the duration is less than or equal to a first preset duration. The value range of the first preset duration can be [100 milliseconds (ms), 600 ms]. For example, the first preset duration is 200 ms. As another example, the first operation can be sliding operation 2, where the starting point of sliding operation 2 is the first side of the first display area, the sliding direction is away from the first side, and the sliding distance is less than or equal to a first preset distance. The value range of the first preset distance can be [1 centimeter (cm), 6 cm]. Yet another example, the first operation can be sliding operation 3, where the starting point of sliding operation 3 is the first side of the first display area, the sliding direction is away from the first side, and the sliding direction is a first preset direction. For example, the angle between the first preset direction and the first side is within the range of [45°, 135°]. Wherein, sliding operation 1, sliding operation 2, and sliding operation 3 can all be the first sliding operation described in this application.
[0109] Here, the first side of the first display area refers to the side of the first display area that is immediately adjacent to the edge of the touchscreen. For example, combined with Figure 6 ,like Figure 7 As shown, the first side of the first display area will be described. When the first display area is... Figure 7 When the display area is shown as 1, the first side of the first display area can be side 701, side 702, or side 703. When the first display area is... Figure 7When the display area is shown as 2, the first side of the first display area can be side 704. When the first display area is Figure 7 When the display area is shown as 3, the first side of the first display area can be side 705. When the first display area is Figure 7 When displaying area 4 as shown, the first side of the first display area can be side 706, side 707 or side 708.
[0110] It should be noted that the aforementioned first operation can also be used to trigger other operations of the electronic device to perform a return event for the application displayed on the corresponding display area, such as a double-click operation in the first display area. This embodiment does not impose specific limitations here. In addition, the number of fingers performing the first operation can be one or more, and this embodiment does not impose specific limitations here either.
[0111] S404. In response to the first operation described above, the electronic device displays a second interface of the first application on the first display area. The second interface is the parent interface of the first interface.
[0112] In this context, after the electronic device receives the first operation from the user in the first display area, in response to the first operation, the electronic device can execute a corresponding event for the first application displayed in the first display area, such as returning the interface of the first application displayed in the first display area to the previous level.
[0113] For example, combining Figure 6 Taking the first display area as display area 3, the number of fingers performing the first operation as one, the first operation as the aforementioned swipe operation 1, and the first preset duration as 200ms as an example. Currently, the first interface of the settings application is displayed on the touchscreen display area 3 of the electronic device, such as... Figure 8 The wireless LAN settings interface 801 is shown in (a) of the diagram. When the user wants to return to the settings application displayed in display area 3, such as... Figure 8 As shown in (a), the user can perform a first operation on the display area 3, that is, the user can use a single finger to perform a swipe operation starting from the edge 802 adjacent to the edge of the touch screen in the display area 3 and moving away from that edge 802, and leave the touch screen within 200ms. In response to this first operation, as shown in (a), the user can perform a swipe operation starting from the edge 802 adjacent to the edge of the touch screen in the display area 3 and moving away from that edge 802, and leaving the touch screen within 200ms. Figure 8As shown in (b), the electronic device can display a second interface of the settings application in display area 3, such as the main interface 803 of the settings application. That is, when the electronic device detects that a user's finger slides into display area 3 from the edge adjacent to the touchscreen edge and leaves the touchscreen within 200ms, in response, the electronic device can execute an event to return to the previous display interface for the settings application displayed on display area 3. The interfaces displayed in other display areas, such as display area 1, display area 2, and display area 4, remain unchanged. Furthermore, in some embodiments, the timing of the electronic device executing the event to return to the previous display interface for the first application displayed on the first display area can be the moment the user's finger leaves the touchscreen.
[0114] Alternatively, when the first interface is the homepage of the first application, S404 can be replaced with: In response to the first operation, the electronic device exits the split-screen display of the application displayed in the first display area. That is, if the homepage of the application is displayed in the display area, since the homepage does not have a parent interface, when the user performs the first operation in that display area, in response to that first operation, the electronic device can exit the split-screen display of the application displayed in that display area, i.e., it will no longer display the application's interface on the touchscreen. Alternatively, when the homepage of the application is displayed in the display area, if the first operation by the user in that display area is received, the electronic device can display a prompt message in response to that first operation, indicating to the user that the application displayed in that display area will exit the split-screen display. A confirmation button and a cancel button can also be displayed. When the user clicks the confirmation button, the application displayed in that display area exits the split-screen display. If the user clicks the cancel button, the homepage of the application continues to be displayed in that display area.
[0115] It should be noted that, in this embodiment, the event executed by the electronic device in response to the user's first operation is not limited to the aforementioned event of returning to the previous screen. In some embodiments, when the user performs the first operation on the first display area, the event executed by the electronic device in response to the first operation can be the same as the event executed by the electronic device after the user clicks the back button in the navigation bar when the screen is not split, or it can be different.
[0116] In some other embodiments, when the electronic device receives a second operation from the user in the first display area, the electronic device may execute an event to exit split-screen display for the application displayed on the first display area. Specifically, see S405-S406 below.
[0117] S405, The electronic device receives a second operation from the user in the first display area.
[0118] The second operation could be to trigger the electronic device to exit the split-screen display of the application displayed in the corresponding display area (such as the first display area).
[0119] For example, the second operation can be a sliding operation. For instance, the second operation can be sliding operation 4, where the starting point and ending point of sliding operation 4 are both the first edge of the first display area. The sliding direction first moves away from the first edge and then points back towards the first edge, and the duration of sliding away from the first edge is less than or equal to a second preset duration. For example, the value of the second preset duration can be [100ms, 600ms]. The second preset duration can be the same as the value of the first preset duration in S403 above. For example, the second preset duration is also 200ms. As another example, the second operation can be sliding operation 5, where the starting point and ending point of sliding operation 5 are both the first edge of the first display area. The sliding direction first moves away from the first edge and then points back towards the first edge, and the distance of sliding away from the first edge is less than or equal to a second preset distance. The value of the second preset distance can be [1cm, 6cm]. The second preset distance can be the same as the value of the first preset distance in S403 above. For example, the second operation can be a sliding operation 6. The starting point of the sliding operation 6 is the first side of the first display area, and the sliding direction is away from the first side. The sliding direction is a second preset direction, which is different from the first preset direction in S403. For example, the angle between the second preset direction and the first side is within the range of [0°, 45°). The description of the first side of the first display area can be found in the description in S403, and will not be repeated here. The sliding operations 4, 5, and 6 mentioned above can all be the second sliding operations described in this application.
[0120] It should be noted that the aforementioned second operation can also be other operations used to trigger the electronic device to exit split-screen display for the application displayed on the corresponding display area, such as a long press operation in the first display area. This is different from the first operation in S403, and this embodiment does not impose specific limitations on it. In addition, the number of fingers performing the second operation can be one or more, and this embodiment does not impose specific limitations on it either.
[0121] S406. In response to the second operation described above, the electronic device exits the split-screen display of the first application displayed on the first display area.
[0122] After the electronic device receives a second operation from the user in the first display area, in response to the second operation, the electronic device may execute a corresponding event for the first application displayed in the first display area, such as exiting the split-screen display of the first application displayed in the first display area.
[0123] "App exiting split-screen display" means that the interface of a particular application is no longer displayed in the split-screen interface containing multiple applications. For example, exiting the split-screen display of the first application displayed in the first display area means stopping the display of the first application's interface on the touchscreen. For instance, the electronic device can switch the first application to the background to stop it from being displayed on the touchscreen. Alternatively, the electronic device can directly exit the first application to stop it from being displayed on the touchscreen. Furthermore, in some embodiments, after exiting the split-screen display of the first application displayed in the first display area, the size of other display areas can be adaptively adjusted, such as increasing the size of other display areas, so that the applications displayed in all other display areas can match the size of the touchscreen. For example, if the touchscreen of the electronic device only contains two display areas before the first application exits the split-screen display, then after exiting the split-screen display of the first application displayed in the first display area, the interface of the application displayed in the other display area can be displayed in full screen on the touchscreen.
[0124] For example, combining Figure 6 Taking the first display area as display area 4, the number of fingers performing the second operation is one, the second operation is the aforementioned swipe operation 4, and the second preset duration is 200ms, for example. Currently, the camera interface is displayed on the touchscreen display area 4 of the electronic device, such as... Figure 9 The camera interface 901 is shown in (a) above. When the user wants to exit split-screen mode, such as... Figure 9 As shown in (a), the user can perform a second operation on display area 4. Specifically, the user can use a single finger to start from edge 902, which is immediately adjacent to the touchscreen edge of display area 4, and slide it away from edge 902. Within 200ms, the user can then slide it towards edge 902 until it exits edge 902. In response to this second operation, the electronic device can exit split-screen display of the camera application shown on display area 4, i.e., as shown in (a). Figure 9 As shown in (b), the electronic device stops displaying the camera interface 901 on the touchscreen. For interfaces displayed on other display areas, the electronic device can adaptively adjust the size of one or more of these display areas (e.g., increase the display area), for example, Figure 9As shown in (b), the electronic device can increase the size of display areas 1, 2, and 3 so that the applications displayed on display areas 1, 2, and 3 can match the size of the touchscreen. That is, when the electronic device detects that a user's finger slides into display area 4 from the edge immediately adjacent to the touchscreen edge and then slides out of the touchscreen edge in the opposite direction within 200ms, in response, the electronic device can execute an event to exit split-screen display for the camera application displayed on display area 4, but not for applications displayed on other display areas, such as display areas 1, 2, and 3. Furthermore, in some embodiments, the timing of the electronic device executing the event to exit split-screen display for the first application displayed on the first display area can be the moment the user's finger slides out of the touchscreen edge.
[0125] It should be noted that, in this embodiment, the events executed by the electronic device in response to the second operation performed by the user are not limited to the aforementioned event of exiting split-screen display. In some embodiments, when the user performs the second operation on the first display area, the events executed by the electronic device in response to the second operation can be the same as the events executed by the electronic device after the user clicks the Home button in the navigation bar when the screen is not split-screen, or they can be different.
[0126] In other embodiments, when the electronic device receives a third operation from the user in the first display area, the electronic device may display a multitasking interface on the first display area. Specifically, see S407-S408 below.
[0127] S407, The electronic device receives a third operation from the user in the first display area.
[0128] The third operation could be to trigger the electronic device to display a multitasking interface on the corresponding display area (such as the first display area).
[0129] For example, the third operation can be a sliding operation. For instance, the third operation can be sliding operation 7, where the starting point of sliding operation 7 is the first edge of the first display area, the sliding direction is away from the first edge, and the duration is longer than a third preset duration. Alternatively, the starting point of sliding operation 7 is the first edge of the first display area, the sliding direction is away from the first edge, the duration is longer than a third preset duration, and there is a pause of a predetermined duration after the sliding, i.e., the electronic device first detects a sliding operation and then continuously detects a long press operation. The value range of the third preset duration can be [100ms, 600ms]. The third preset duration can be the same as the first preset duration in S403 above. For example, the third preset duration is 200ms. As another example, the third operation can be sliding operation 8, where the starting point of sliding operation 8 is the first edge of the first display area, the sliding direction is away from the first edge, and the sliding distance is greater than a third preset distance. The value range of the third preset distance can be [1cm, 6cm]. The third preset distance can be the same as the first preset distance in S403 above. For example, the third operation can be a sliding operation 9. The starting point of sliding operation 9 is the first side of the first display area, the sliding direction is away from the first side, and the sliding direction is a third preset direction. This third preset direction is different from the first preset direction in S403 and the second preset direction in S405. For example, the angle between the third preset direction and the first side is within the range of (135°, 180°). The description of the first side of the first display area can be referred to the description in S403, and will not be repeated here. The aforementioned sliding operations 7, 8, and 9 can all be the third sliding operations described in this application.
[0130] It should be noted that the aforementioned third operation can also be any other operation used to trigger the electronic device to display a multitasking interface on the corresponding display area, and it differs from the first operation in S403 and the second operation in S405. This embodiment does not impose specific limitations on this. Furthermore, the number of fingers performing the third operation can be one or more; this embodiment also does not impose specific limitations on this.
[0131] S408. In response to the third operation described above, the electronic device displays a multitasking interface on the first display area.
[0132] Specifically, after the electronic device receives a third operation from the user in the first display area, in response to the third operation, the electronic device can execute a corresponding event on the first display area, such as displaying a multitasking interface on the first display area. This multitasking interface can include identifiers of applications running in the background or recently running applications on the electronic device. These identifiers can be screenshots of the last screen displayed when the corresponding application exited the foreground, or application icons, etc. When the user triggers the identifier (e.g., clicks the identifier), the application corresponding to that identifier can be switched to the foreground display.
[0133] For example, combining Figure 6 Taking the first display area as display area 1, the number of fingers performing the third operation is one, the third operation is the aforementioned swipe operation 7, and the third preset duration is 200ms, as an example. Wherein, as... Figure 10 As shown in (a), the WeChat interface 1001 is currently displayed on display area 1 of the electronic device's touchscreen. When the user wants to display the interfaces of other applications on display area 1 in a split-screen format with the applications displayed on display areas 2, 3, and 4, as shown in (a), the interface of WeChat is displayed on display area 1. Figure 10 As shown in (a), a user can perform a third operation on display area 1, namely, the user can use a single finger to perform a swipe operation from the edge 1002 of display area 1 adjacent to the edge of the touchscreen in a direction away from the edge 1002, and the swipe duration exceeds 200ms (or, the user can use a single finger to perform a swipe operation from the edge 1002 of display area 1 adjacent to the edge of the touchscreen in a direction away from the edge 1002, and the swipe duration exceeds 200ms, and the finger is not immediately lifted after the swipe, but pauses for a predetermined duration before being lifted). In response to this third operation, as follows Figure 10 As shown in (b), the electronic device can display a multitasking interface 1003 in display area 1, which includes a screenshot of the last interface displayed when an application running in the background exits the foreground. For example, Figure 10 The screenshots shown in (b) are of the interface displayed when Alipay exits the foreground and the video application exits the foreground. In other words, when the electronic device detects that the user's finger slides into display area 1 from the edge adjacent to the touchscreen edge, and the sliding duration is greater than 200ms, the electronic device can, in response, execute the event of displaying the multitasking interface on display area 1. This allows the user to select other applications on display area 1 (such as clicking on screenshots in multitasking interface 1003) and display them in a split-screen manner with the applications displayed on display areas 2, 3, and 4. Furthermore, in some embodiments, the timing of the electronic device executing the event of displaying the multitasking interface on display area 1 can be the moment when the user's finger performs a sliding operation and the sliding duration equals a third preset time, such as 200ms.
[0134] It should be noted that, in this embodiment, the events executed by the electronic device in response to the third operation performed by the user are not limited to the events described above regarding the display of the multitasking interface. In some embodiments, when the user performs the third operation on the first display area, the events executed by the electronic device in response to the third operation may be the same as the events executed by the electronic device after the user clicks the Recent key in the navigation bar when the screen is not split, or they may be different.
[0135] The split-screen display method provided in this application allows users to perform only one operation on the corresponding display area instead of a series of operations for the interfaces of different applications displayed in multiple display areas. The electronic device can then execute events such as returning or exiting for the application displayed in that area. This reduces the complexity of user operations, improves the efficiency of electronic devices, and enables efficient interaction between the electronic device and the user.
[0136] Other embodiments of this application also provide a computer storage medium that may include computer instructions that, when executed on an electronic device, cause the electronic device to perform actions such as... Figure 4 The various steps performed by the electronic device in the corresponding embodiment.
[0137] Other embodiments of this application also provide a computer program product that, when run on a computer, causes the computer to perform actions such as... Figure 4 The various steps performed by the electronic device in the corresponding embodiment.
[0138] Other embodiments of this application also provide an apparatus that implements the above-described features. Figure 4 The corresponding embodiments describe the functional behavior of the electronic device. These functions can be implemented in hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the aforementioned functions, such as a determination unit or module, a storage unit or module, a partitioning unit or module, and a display unit or module.
[0139] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0140] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0141] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0142] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0143] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of this application embodiment, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0144] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for split-screen display, characterized in that, An electronic device including a touch screen, the touch screen being divided into at least two display areas, the at least two display areas displaying interfaces of different applications respectively, the at least two display areas including a first display area and a second display area, the first display area displaying a first interface of a first application; The method includes: The electronic device receives a first operation from the user in the first display area; When the electronic device determines that the first interface is not the homepage of the first application, it responds to the first operation and displays the second interface of the first application on the first display area, wherein the second interface is the parent interface of the first interface. When the electronic device determines that the first interface is the homepage of the first application, it responds to the first operation by exiting the split-screen display of the first application displayed on the first display area and adjusting the size of the second display area. After the size of the second display area is adjusted, the at least two display areas include the first display area after the size adjustment and the second display area after the size adjustment.
2. The method according to claim 1, characterized in that, The first operation is a first sliding operation; The starting point of the first sliding operation is the first side of the first display area, the sliding direction is away from the first side, and the duration is less than or equal to the first preset duration. Alternatively, the starting point of the first sliding operation is the first side of the first display area, the sliding direction is away from the first side, and the sliding distance is less than or equal to the first preset distance; or, the starting point of the first sliding operation is the first side of the first display area, the sliding direction is away from the first side, and the sliding direction is the first preset direction. The first side of the first display area is the side of the first display area that is adjacent to the edge of the touch screen.
3. The method according to claim 1, characterized in that, An application isolation strip is provided between the first display area and the second display area, and the application isolation strip is used to adjust the size of the display area.
4. The method according to claim 1, characterized in that, The electronic device adjusts the size of the second display area by increasing the size of the second display area.
5. The method according to claim 1, characterized in that, The electronic device adjusts the size of the second display area by displaying a third interface of the second application in full screen on the touchscreen.
6. An electronic device, characterized in that, The electronic device includes: one or more processors, a memory, and a touchscreen; wherein... The touchscreen is used to display content according to instructions from the one or more processors; The memory is used to store one or more programs; The one or more processors are used to run the one or more programs to perform the following actions: The touch screen is divided into at least two display areas, and the touch screen is instructed to display the interface of different applications in the at least two display areas respectively. The at least two display areas include a first display area and a second display area, and the first display area displays the first interface of the first application. Receive the user's first operation in the first display area; When the electronic device determines that the first interface is not the homepage of the first application, in response to the first operation, it displays the second interface of the first application on the first display area, wherein the second interface is the parent interface of the first interface. When the electronic device determines that the first interface is the homepage of the first application, in response to the first operation, it exits the split-screen display of the first application displayed on the first display area and adjusts the size of the second display area; After the size of the second display area is adjusted, the at least two display areas include the first display area after the size adjustment and the second display area after the size adjustment.
7. The electronic device according to claim 6, characterized in that, The first operation is a first sliding operation; The starting point of the first sliding operation is the first side of the first display area, the sliding direction is away from the first side, and the duration is less than or equal to the first preset duration. Alternatively, the starting point of the first sliding operation is the first side of the first display area, the sliding direction is away from the first side, and the sliding distance is less than or equal to the first preset distance; or, the starting point of the first sliding operation is the first side of the first display area, the sliding direction is away from the first side, and the sliding direction is the first preset direction. The first side of the first display area is the side of the first display area that is adjacent to the edge of the touch screen.
8. The electronic device according to claim 6, characterized in that, An application isolation strip is provided between the first display area and the second display area, and the application isolation strip is used to adjust the size of the display area.
9. The electronic device according to claim 6, characterized in that, The electronic device adjusts the size of the second display area by increasing the size of the second display area.
10. The electronic device according to claim 6, characterized in that, The electronic device adjusts the size of the second display area by displaying a third interface of the second application in full screen on the touchscreen.
11. A computer storage medium, characterized in that, It includes computer instructions that, when executed on an electronic device, cause the electronic device to perform the split-screen display operation method as described in any one of claims 1-5.
12. A computer program product, characterized in that, When the computer program product is run on a computer, it causes the computer to perform the split-screen display operation method as described in any one of claims 1-5.