Split-screen display method and electronic device

By automatically triggering the split-screen display mode upon receiving an operation to start a second task in the electronic device, the problem of needing to manually trigger the split-screen mode in the prior art is solved, realizing intelligent split-screen display across applications and within applications, and improving interactive intelligence and user experience.

CN113811844BActive Publication Date: 2026-04-21HUAWEI TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HUAWEI TECH CO LTD
Filing Date
2020-07-16
Publication Date
2026-04-21

AI Technical Summary

Technical Problem

In existing technologies, electronic devices need to be manually triggered by the user to enter split-screen mode, which is cumbersome, lacks intelligence, and can only be used for cross-application split-screen, thus limiting functionality.

Method used

By receiving an operation to start a second task while the first application is running, a split-screen display mode is automatically triggered, dividing the screen into multiple display windows to show the interfaces of the first and second tasks respectively, supporting cross-application and intra-application split-screen display.

Benefits of technology

Split-screen display can be triggered without manual user operation, improving the interactive intelligence and user experience of electronic devices. It supports split-screen display across applications and within applications, enhancing interaction efficiency and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113811844B_ABST
    Figure CN113811844B_ABST
Patent Text Reader

Abstract

This invention provides a split-screen display method and an electronic device. The method includes: when the electronic device is running a first application and performing a first task, displaying a display interface corresponding to the first task on a screen; receiving a first operation for starting a second task on the display interface corresponding to the first task; and activating a split-screen display mode in response to the first operation. Compared with the prior art, this invention allows the user to trigger the split-screen mode without additional manual operation, achieving the technical effect of triggering the electronic device to enter split-screen display based on a task, thus improving the intelligence of the electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Cross-references to related applications

[0002] This application claims priority to Chinese Patent Application No. 201910938898.X, filed on September 30, 2019, entitled "A Split-Screen Display Method and Electronic Device", the entire contents of which are incorporated herein by reference. Technical Field

[0003] This application relates to the field of terminal technology, and in particular to a split-screen display method and electronic device. Background Technology

[0004] To enhance the visual experience, electronic devices are getting larger and larger. Electronic devices offer split-screen modes to meet the needs of users operating multiple applications simultaneously. For example, an electronic device can display two application windows at the same time.

[0005] In existing technologies, electronic devices need to be manually activated by the user to enter split-screen mode. For example, when an electronic device is displaying the window of application A in full screen, the user can long-press the history button to enter split-screen mode. Then, the user can manually select the application to be displayed in the split-screen window, such as clicking the icon of application B, so that application A and application B are displayed in different windows.

[0006] It is evident that in existing technologies, electronic devices require manual activation to enter split-screen mode, which is cumbersome and lacks intelligence. Summary of the Invention

[0007] This invention provides a split-screen display method and an electronic device, which enables the electronic device to start a split-screen display mode by triggering a task, thereby improving the intelligence of the electronic device.

[0008] In a first aspect, the present invention provides a split-screen display method, the method comprising: displaying a display interface corresponding to the first task on a display screen when a first application is running and performing a first task; receiving a first operation for starting a second task on the display interface corresponding to the first task; and activating a split-screen display mode in response to the first operation. That is, when an electronic device is running a first application and performing a first task, if it receives a first operation for starting a second task on the display interface corresponding to the first task, the second task can trigger the electronic device to enter a split-screen display mode. Compared with the prior art, this method eliminates the need for additional manual operation by the user to trigger the split-screen mode, achieving the technical effect of triggering the electronic device to perform split-screen display based on a task, and improving the intelligence of the electronic device.

[0009] In one possible design, when the first application is running and performing the first task, the electronic device can display the interface corresponding to the first task in full screen on the display screen. This allows for a split-screen display effect via task notification in full-screen mode, eliminating the need for manual user intervention to switch between full-screen and split-screen modes, thus improving the intelligence of the interaction.

[0010] In one possible design, the second task can be a task within a second application, and this second application is different from the first application. In other words, the technical solution of this invention can be applied to cross-application split-screen scenarios, improving the user experience.

[0011] In another possible design, the second task can be a task within the first application. That is, the technical solution of this invention can also be applied to in-application split-screen scenarios, further improving the intelligence of split-screen display and enhancing the user experience.

[0012] In one possible design, when the electronic device initiates a split-screen display mode in response to the first operation, it can specifically generate at least two display windows on the screen, including a first display window and a second display window. The first display window displays the interface corresponding to the first task, and the second display window displays the interface corresponding to the second task. In other words, when the second task is triggered, the electronic device can directly enter split-screen mode and display the interface of the second task in the split-screen window, improving the interaction efficiency of the electronic device.

[0013] In one possible design, when the electronic device initiates the split-screen display mode in response to the first operation, it can also generate a view of the display interface corresponding to the second task and display the view on the display interface corresponding to the first task; in response to a second operation on the view, it determines the position of the split-screen display window based on the second operation; the split-screen display window is displayed at the specified position, and the display interface corresponding to the second task is displayed in the split-screen display window. In other words, after the split-screen mode is triggered based on the first operation (initiating the second task), the display position of the split-screen window can be determined based on the received second operation. This means the user can instruct the display position of the split-screen window by executing the second operation, further enhancing the intelligence of the electronic device's interaction and improving the user experience.

[0014] In one possible design, the second operation may include multiple sub-operation steps to avoid accidental triggering of split-screen display and improve the reliability of split-screen display.

[0015] For example, the second operation may include a first sub-operation, which may be an operation of dragging the view or a copy of the view to a preset position (e.g., up, down, left, right, etc.). Accordingly, the electronic device determines the preset position as the location of the split-screen display window, and after receiving the first sub-operation, displays the split-screen display window at the location of the split-screen display window.

[0016] Furthermore, the second operation can also include a second sub-operation preceding the first sub-operation. This second sub-operation can be a single-finger long-press or two-finger long-press operation on the view. In other words, the user needs to long-press the view with one or two fingers before dragging it, thus preventing accidental dragging and improving the reliability of split-screen display. Additionally, if the user clicks on the view, entering split-screen mode can be undone, restoring the full-screen display of the first task's interface.

[0017] Furthermore, the second operation may also include a third sub-operation following the first sub-operation, whereby the third sub-operation may be a click on the view. Accordingly, the electronic device displays the interface corresponding to the second task in the split-screen display window only after receiving the third sub-operation. In other words, after dragging the view to the specified location, the user still needs to click on the view to confirm the display of the second task's interface in the split-screen window. This better avoids accidental view dragging by the user and improves the reliability of the split-screen display.

[0018] Secondly, embodiments of the present invention provide an electronic device, including a display screen; one or more processors; a memory; multiple applications; and one or more computer programs; wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions that, when the instructions are invoked and executed by the one or more processors, cause the electronic device to perform the following steps: when running a first application to perform a first task, displaying a display interface corresponding to the first task on the display screen; receiving a first operation for starting a second task on the display interface corresponding to the first task; and in response to the first operation, starting a split-screen display mode.

[0019] In one possible design, when the instruction is invoked and executed by the one or more processors, the electronic device performs the following steps: displaying the display interface corresponding to the first task in full screen on the display screen.

[0020] In one possible design, the second task is a task in the first application; or the second task is a task in a second application, and the second application is different from the first application.

[0021] In one possible design, when the instruction is invoked and executed by one or more processors, the electronic device performs the following steps: generating at least two display windows on the display screen, the at least two display windows including a first display window and a second display window; displaying the display interface corresponding to the first task in the first display window, and displaying the display interface corresponding to the second task in the second display window.

[0022] In one possible design, when the instruction is invoked and executed by one or more processors, the electronic device performs the following steps: generating a view of the display interface corresponding to the second task and displaying the view on the display interface corresponding to the first task; determining the position of a split-screen display window according to the second operation in response to the view; displaying the split-screen display window at the position of the split-screen display window and displaying the display interface corresponding to the second task in the split-screen display window.

[0023] In one possible design, the second operation includes a first sub-operation, which is to drag the view or a copy of the view to a preset position; when the instruction is invoked and executed by the one or more processors, the electronic device performs the following steps: determining the preset position as the location of the split-screen display window; when the instruction is invoked and executed by the one or more processors, the electronic device also performs the following steps: after receiving the first sub-operation, displaying the split-screen display window at the location of the split-screen display window.

[0024] In one possible design, the second operation may further include a second sub-operation preceding the first sub-operation, wherein the second sub-operation is a single-finger long press or a two-finger long press on the view.

[0025] In one possible design, the second operation further includes a third sub-operation following the first sub-operation, the third sub-operation being an operation of clicking the view; when the instruction is invoked and executed by the one or more processors, the electronic device also performs the following steps: after receiving the third sub-operation, displaying the display interface corresponding to the second task in the split-screen display window.

[0026] Thirdly, embodiments of the present invention provide an electronic device, the electronic device including modules / units for performing the methods of the first aspect or any possible design of the first aspect; these modules / units can be implemented in hardware or by hardware executing corresponding software.

[0027] Fourthly, embodiments of the present invention provide a computer storage medium including computer instructions that, when executed on an electronic device, cause the electronic device to perform the split-screen display method as described in the first aspect of the present invention or any possible design of the first aspect.

[0028] Fifthly, embodiments of the present invention provide a program product that, when run on a computer, causes the computer to perform the split-screen display method as described in the first aspect of the present invention or any possible design of the first aspect.

[0029] In a sixth aspect, embodiments of the present invention provide a chip coupled to a memory in an electronic device, used to call a computer program stored in the memory and execute the first aspect of the present invention and any possible design of the first aspect; in the embodiments of the present invention, "coupling" means that two components are directly or indirectly combined with each other.

[0030] In a seventh aspect, embodiments of the present invention provide a graphical user interface on an electronic device, the electronic device having a display screen, one or more memories, and one or more processors, the one or more processors being configured to execute one or more computer programs stored in the one or more memories, the graphical user interface including a graphical user interface displayed when the electronic device executes a split-screen display method as described in the first aspect of the present invention or any possible design of the first aspect. Attached Figure Description

[0031] Figure 1 This is a schematic diagram illustrating how an electronic device is triggered to enter split-screen mode in existing technology.

[0032] Figure 2 This is a schematic diagram of the hardware structure of an electronic device in an embodiment of the present invention;

[0033] Figure 3 This is a schematic diagram of the software structure of an electronic device in an embodiment of the present invention;

[0034] Figure 4 This is a flowchart of a split-screen display scheme in an embodiment of the present invention;

[0035] Figure 5 This is a schematic diagram of a split-screen display scheme according to an embodiment of the present invention;

[0036] Figure 6 This is a schematic diagram of another split-screen display scheme in an embodiment of the present invention;

[0037] Figure 7 This is a schematic diagram of another split-screen display scheme in an embodiment of the present invention;

[0038] Figure 8A This is a schematic diagram of another split-screen display scheme in an embodiment of the present invention;

[0039] Figure 8B This is a schematic diagram of another split-screen display scheme in an embodiment of the present invention;

[0040] Figure 9 This is a schematic diagram of another split-screen display scheme in an embodiment of the present invention;

[0041] Figure 10 This is a schematic diagram of another split-screen display scheme in an embodiment of the present invention;

[0042] Figure 11 This is a schematic diagram of another split-screen display scheme in an embodiment of the present invention;

[0043] Figure 12 This is a schematic diagram of another split-screen display scheme in an embodiment of the present invention;

[0044] Figure 13 This is a schematic diagram of another split-screen display scheme in an embodiment of the present invention;

[0045] Figure 14 This is a schematic diagram of another split-screen display scheme in an embodiment of the present invention;

[0046] Figure 15 This is a schematic diagram of another split-screen display scheme in an embodiment of the present invention;

[0047] Figure 16 This is a schematic diagram of the hardware structure of another electronic device in an embodiment of the present invention. Detailed Implementation

[0048] The technical solutions of the present invention will now be clearly and completely described with reference to the accompanying drawings in the embodiments of the present invention.

[0049] First, some of the terms used in this invention will be explained to facilitate understanding by those skilled in the art.

[0050] 1) The application (app) involved in the embodiments of this invention, or simply application, is a software program capable of performing one or more specific functions. Typically, multiple applications can be installed on a terminal device, such as instant messaging applications, video applications, audio applications, image capture applications, etc. Instant messaging applications may include, for example, SMS applications, WeChat, WhatsApp Messenger, Line, Instagram, Kakao Talk, DingTalk, etc. Image capture applications may include, for example, camera applications (system camera or third-party camera applications). Video applications may include, for example, YouTube, Twitter, TikTok, iQiyi, Tencent Video, etc. Audio applications may include, for example, Google Music, Kugou Music, Xiami, QQ Music, etc. The applications mentioned in the following embodiments may be applications pre-installed on the terminal device at the factory, or applications downloaded by the user from the network or obtained from other terminal devices during the use of the terminal device.

[0051] 2) The split-screen involved in the embodiments of the present invention refers to the technology of dividing a physical screen into several display areas, which can display multiple application pages at the same time.

[0052] 3) The display window involved in the embodiments of the present invention, also referred to herein as an "application window" or "window," refers to a display area in which the display interface of an application is displayed. One application can correspond to one application window. An application window can be shrunk or enlarged to reduce or increase the size of the display interface within the application window.

[0053] An electronic device's display screen can show only one window. When the display screen shows only one window, the window can be displayed full-screen or part-screen, and this embodiment of the invention does not impose any restrictions. In full-screen display, the window occupies the entire effective display area of ​​the display screen (or the window occupies the maximum display area allowed by the system). In part-screen display, the window only occupies a portion of the effective display area of ​​the display screen (or the display area occupied by the window is smaller than the maximum display area allowed by the system), for example, in a mobile phone's one-handed operation mode, the display area occupied by the window is smaller than the maximum display area allowed by the system.

[0054] Multiple windows can be displayed simultaneously on the screen of electronic devices. For example, in the split-screen mode of electronic devices such as mobile phones and tablets, the display area of ​​the screen is divided into several display areas, and each display area is a display window. Different display windows can display the user interface of different applications.

[0055] The split-screen window or split-screen display window involved in the embodiments of this invention refers to the new display interface that appears after the split-screen display mode is triggered. For example, if the electronic device initially displays application A in full screen, that is, the display screen has only one full-screen window displaying application A, after the electronic device is triggered to enter the split-screen display mode, the display screen of the electronic device is divided into two display areas, displaying application A and application B respectively. Then the display area corresponding to application B is called the split-screen window.

[0056] 4) The at least one involved in the embodiments of the present invention includes one or more; wherein, more than two means two or more.

[0057] In addition, it should be understood that in the description of the present invention, the words "first" and "second" are used only for the purpose of distinguishing descriptions and should not be construed as indicating or implying relative importance, nor should they be construed as indicating or implying order.

[0058] The terminology used in the following embodiments is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification and appended claims of this invention, the singular expressions “a,” “an,” “the,” “the,” “the,” and “this” are intended to also include expressions such as “one or more,” unless the context clearly indicates otherwise. It should also be understood that in the embodiments of this invention, “one or more” means one, two, or more; “and / or” describes the relationship between related objects, indicating that three relationships may exist; for example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character “ / ” generally indicates that the preceding and following related objects are in an “or” relationship.

[0059] References to "one embodiment" or "some embodiments" as used in this specification mean that a particular feature, structure, or characteristic described in connection with that embodiment is included in one or more embodiments of the invention. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless otherwise specifically emphasized.

[0060] The background technology of this invention will be introduced below.

[0061] Please see Figure 1This is an example of an electronic device entering split-screen mode in existing technology. When a user is browsing Taobao and intends to share a product with a WeChat friend, such as... Figure 1 As shown in (A), if a user copies the Taobao link for a product and intends to send it to a WeChat friend but does not want to exit the current display interface, they can manually start the split-screen mode and open the WeChat interface in the split-screen window to perform the sharing operation.

[0062] For example, such as Figure 1 As shown in (B), users can trigger the electronic device to enter split-screen mode by long-pressing the history task button. The display status after entering split-screen mode is as follows. Figure 1 As shown in (C), the display screen is divided into two windows from one. Taobao is displayed in the left window, and the desktop is displayed in the right window (i.e., the split-screen window). Then, the user selects "WeChat" on the desktop, causing the WeChat interface to appear in the right window. This allows the user to browse products on Taobao while chatting with friends on WeChat. Figure 1 As shown in (D), this process requires the user to manually perform multiple operations to trigger the split-screen mode, displaying the Taobao and WeChat interfaces in two separate windows, which is quite cumbersome. Another method to initiate split-screen display is gesture-based. For example, sliding your knuckle in the center of the screen will split the screen in two. The display effect after gesture activation is similar to... Figure 1 Similar to (C) in the example, the user then selects the application to be displayed in split screen (such as WeChat) in the split screen window (desktop). It can be seen that the process of starting split screen display through gestures also requires the user to perform a lot of tedious operations manually, and also requires the user to pay a high learning cost.

[0063] As mentioned above, in existing technologies, electronic devices require manual activation to enter split-screen mode, which is a cumbersome process. Furthermore, existing split-screen modes only support cross-application (i.e., two different applications), such as the aforementioned "Taobao" and "WeChat," thus limiting their functionality. Therefore, existing split-screen display solutions suffer from low intelligence.

[0064] In view of this, embodiments of the present invention provide a split-screen display method and an electronic device. During the execution of a first task by running a first application, the electronic device displays the display interface of the first task (first display interface) on the screen. When an operation to start a second task is received, a split-screen display mode is directly activated, dividing the screen into multiple display windows. The first display interface is then displayed within the first display window, and the second task is run and its display interface (second display interface) is displayed in the second display window. The second task can be another task within the first application or a task from another application, such as the second application; no limitation is made here. This achieves the technical effect of triggering the electronic device to enter split-screen display mode and displaying the interface of the second task via a task. Compared with existing technologies, this eliminates the need for users to manually trigger the split-screen mode, improving the intelligence of the interaction. Furthermore, since the first task and the second task can be tasks from two different applications (i.e., cross-application split-screen) or tasks within the same application, this solution can also achieve the technical effect of in-application split-screen, further improving the intelligence of split-screen display and enhancing the user experience. Specific technical solutions will be described in detail later.

[0065] The embodiments of the present invention can be applied to recognized electronic devices with displays, such as mobile phones, foldable screen phones, tablet computers and other portable electronic devices, as well as desktop computers, televisions and other non-portable electronic devices, and wearable electronic devices, such as wristbands, watches, wearable device helmets, etc., and also in-vehicle devices, smart home devices (e.g., televisions), etc. The embodiments of the present invention are not limited.

[0066] The following describes an electronic device, a graphical user interface (GUI) for such an electronic device, and embodiments for using such an electronic device. The following embodiments use a mobile phone as an example of an electronic device. Figure 2 A schematic diagram of the mobile phone's structure is shown. (For example...) Figure 2As shown, the mobile phone 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. 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.

[0067] Processor 110 may include one or more processing units, such as an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU). Different processing units may be independent devices or integrated into one or more processors. The controller may serve as the central nervous system and command center of the mobile phone 100. The controller can generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution. Processor 110 may also include memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has recently used or is reusing. If the processor 110 needs to reuse the instruction or data, it can directly retrieve it from the memory. This avoids repeated access, reduces the processor 110's waiting time, and thus improves system efficiency. The execution of the split-screen display method in this embodiment of the invention can be controlled by the processor 110 or called by other components, such as calling the processing program of this embodiment of the invention stored in the internal memory 121, or calling the processing program of this embodiment of the invention stored in a third-party device through the external memory interface 120, to control the display screen 194 to perform the split-screen display operation.

[0068] The external storage interface 120 can be used to connect an external storage card, such as a Micro SD card, to expand the storage capacity of the mobile phone 100. The external storage card communicates with the processor 110 through the external storage interface 120 to perform data storage functions. For example, images, videos, and other files can be saved on the external storage 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 mobile phone 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system and software code for at least one application (e.g., iQiyi application, WeChat application, etc.). The data storage area may store data generated during the use of the mobile phone 100 (e.g., images, videos, etc.). Furthermore, the internal memory 121 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc. The internal memory 121 can be used to store computer-executable program code for the split-screen display method proposed in this embodiment of the invention, which includes instructions. The processor 110 can execute the computer-executable program code for the split-screen display method stored in the internal memory 121, thereby enabling the mobile phone 100 to complete the split-screen display method proposed in this embodiment of the invention.

[0070] USB interface 130 is a USB standard compliant interface, specifically a Mini USB interface, Micro USB interface, USB Type-C interface, etc. USB interface 130 can be used to connect a charger to charge mobile phone 100, and can also be used for data transfer between mobile phone 100 and peripheral devices. Charging management module 140 receives charging input from the charger. Power management module 141 connects to battery 142, charging management module 140, and processor 110. Power management module 141 receives input from battery 142 and / or charging management module 140, providing power to processor 110, internal memory 121, external memory, display 194, camera 193, and wireless communication module 160, etc.

[0071] The wireless communication function of mobile phone 100 can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor, and baseband processor. Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in mobile phone 100 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.

[0072] The mobile communication module 150 can provide solutions for wireless communication applications including 2G / 3G / 4G / 5G on the mobile phone 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low-noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.

[0073] The wireless communication module 160 can provide solutions for wireless communication applications on the mobile phone 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), 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.

[0074] In some embodiments, antenna 1 of mobile phone 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling mobile phone 100 to communicate with networks and other devices via wireless communication technology. The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).

[0075] The display screen 194 can be used to display information input by the user or information provided to the user, as well as various menus of the mobile phone 100. It can also accept user input, such as touch operations. It can display the application's interface, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc.

[0076] The display screen 194 may include a display panel and a touch panel. The display panel may be configured using a liquid crystal display (LCD), organic light-emitting diode (OLED), or other similar methods. The touch panel, also known as a touchscreen or touch-sensitive screen, can collect user touch or non-touch operations on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near the touch panel; it may also include motion-sensing operations; these operations include single-point control operations, multi-point control operations, etc.), and drive corresponding connected devices according to a pre-set program.

[0077] Optionally, the touch panel may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch position and gesture, and detects the signals generated by the input operation, transmitting the signals to the touch controller. The touch controller receives touch information from the touch detection device, converts it into information that the processor can process, and sends it to the processor 110. It can also receive and execute commands from the processor 110. Furthermore, the touch panel can be implemented using various types of technologies, such as resistive, capacitive, infrared, and surface acoustic wave, or any future-developed technology. Further, the touch panel may cover the display panel. The user can operate on or near the touch panel covered by the display panel, based on the content displayed on the display panel (including but not limited to a soft keyboard, virtual mouse, virtual buttons, icons, etc.). After detecting the operation on or near the touch panel, the touch panel transmits it to the processor 110 to confirm the user input. Subsequently, the processor 110 provides corresponding visual output on the display panel based on the user input.

[0078] For example, in this embodiment of the invention, after the touch detection device in the touch panel detects a touch operation input by the user, it sends the signal corresponding to the detected touch operation to the touch controller in real time. The touch controller converts the signal into touch point coordinates and sends them to the processor 110. The processor 110 determines, based on the received touch point coordinates, that the touch operation is specifically an operation to start a second task. Then, in response to the touch operation input by the user, it starts a split-screen mode, divides the display area of ​​the display screen 194 into multiple display windows (e.g., a first display window and a second display window), starts the second task, displays the second task in the second display window, and switches the previously full-screen first task to the first display window. The specific implementation of this part of the solution will be described in detail later.

[0079] In some embodiments, the mobile phone 100 may include one or N displays 194. These displays 194 can be folded and connected, or flexibly connected. When multiple displays 194 are folded, the electronic device becomes more portable. When multiple displays 194 are unfolded and connected, the user can enjoy a larger screen and improve the user experience. Here, N is a positive integer greater than 1. When the electronic device includes multiple displays, the split-screen display method in this embodiment can be applied to a single display or to multiple displays that are unfolded and connected to form a large screen.

[0080] Camera 193 is used to capture still images or videos. Camera 193 may include a front-facing camera and a rear-facing camera.

[0081] The mobile phone 100 can achieve audio functions such as music playback and recording through the audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor.

[0082] Pressure sensor 180A is used to sense pressure signals and can convert the pressure signals into electrical signals. In some embodiments, pressure sensor 180A may be disposed on display screen 194. Gyroscope sensor 180B can be used to determine the motion posture of mobile phone 100. In some embodiments, the angular velocity of mobile phone 100 about three axes (i.e., x, y, and z axes) can be determined by gyroscope sensor 180B.

[0083] The gyroscope sensor 180B can be used for image stabilization. The barometric pressure sensor 180C is used to measure air pressure. In some embodiments, the mobile phone 100 calculates altitude using the air pressure value measured by the barometric pressure sensor 180C, assisting in positioning and navigation. The magnetic sensor 180D includes a Hall sensor. The mobile phone 100 can use the magnetic sensor 180D to detect the opening and closing of the flip case. In some embodiments, when the mobile phone 100 is a flip phone, the mobile phone 100 can detect the opening and closing of the flip based on the magnetic sensor 180D. Then, based on the detected opening and closing state of the case or the flip, features such as automatic flip unlocking can be set. The accelerometer sensor 180E can detect the magnitude of the acceleration of the mobile phone 100 in various directions (generally three axes). When the mobile phone 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device, applied to applications such as screen orientation switching and pedometers.

[0084] A proximity sensor 180F is used to measure distance. The mobile phone 100 can measure distance via infrared or laser. In some embodiments, during a shooting scenario, the mobile phone 100 can utilize the proximity sensor 180F to measure distance for fast focusing. A 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 mobile phone 100 emits infrared light outward through the LED. The mobile phone 100 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 mobile phone 100. When insufficient reflected light is detected, the mobile phone 100 can determine that no object is near the mobile phone 100. The mobile phone 100 can use the proximity sensor 180G to detect when a user holds the mobile phone 100 close to their ear for a call, automatically turning off the screen to save power. The proximity sensor 180G can also be used in folding / pocket modes for automatic unlocking and screen locking.

[0085] The ambient light sensor 180L is used to sense ambient light brightness. The phone 100 can adaptively adjust the display brightness 194 based on the sensed ambient light. The ambient light sensor 180L can also be used to automatically adjust white balance when taking photos. The ambient light sensor 180L can also work with the proximity sensor 180G to detect if the phone 100 is in a pocket, preventing accidental touches. The fingerprint sensor 180H is used to collect fingerprints. The phone 100 can use the collected fingerprint characteristics to unlock the phone, access app locks, take photos with fingerprints, and answer calls with fingerprints.

[0086] Temperature sensor 180J is used to detect temperature. In some embodiments, mobile phone 100 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, mobile phone 100 reduces the performance of the processor located near temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is below another threshold, mobile phone 100 heats battery 142 to prevent abnormal shutdown of mobile phone 100 due to low temperature. In still other embodiments, when the temperature is below yet another threshold, mobile phone 100 boosts the output voltage of battery 142 to prevent abnormal shutdown caused by low temperature.

[0087] 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." Touch sensor 180K detects touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 194. In other embodiments, touch sensor 180K may also be located on the surface of mobile phone 100, in a different position than display screen 194.

[0088] The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire vibration signals from vibrating bone fragments in the human vocal cords. The bone conduction sensor 180M can also contact the human pulse to receive blood pressure signals.

[0089] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch buttons. The mobile phone 100 can receive button input and generate key signal inputs related to user settings and function control. Motor 191 can generate vibration alerts. Motor 191 can be used for incoming call vibration alerts or for touch vibration feedback. For example, different vibration feedback effects can correspond to touch operations applied to different applications (such as taking photos, playing audio, etc.). Indicator 192 can be an indicator light, used to indicate charging status, battery level changes, messages, missed calls, notifications, etc. SIM card interface 195 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to achieve contact and separation with the mobile phone 100.

[0090] Understandable Figure 2 The components shown do not constitute a specific limitation on the mobile phone. A mobile phone may include more or fewer components than shown, or combine certain components, or separate certain components, or have different component arrangements. In the following embodiments, [the following text is incomplete and likely refers to a different embodiment]. Figure 2 The following is an introduction using the mobile phone 100 shown as an example.

[0091] It should be understood that the structure illustrated in the embodiments of the present invention does not constitute a specific limitation on the mobile phone 100. In other embodiments of the present invention, the mobile phone 100 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.

[0092] The hardware structure of the Mobile 100 has been introduced above. The software architecture of the Mobile 100 will be introduced below.

[0093] Specifically, the software system of mobile phone 100 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This embodiment of the invention uses the layered architecture of the Android system as an example to illustrate the software structure of mobile phone 100. The layered architecture divides the software into several layers, each with a clear role and division of labor. Layers communicate with each other through software interfaces.

[0094] Please see Figure 3 In some possible embodiments, the Android system is divided into four layers, from top to bottom: the Applications layer (hereinafter referred to as the "Application Layer"), the Application Framework layer (hereinafter referred to as the "Framework Layer"), the Android runtime and system library layer (hereinafter referred to as the "System Runtime Layer"), and the kernel layer.

[0095] The application layer contains at least one application, which can be a built-in Windows application, system settings application, contact application, SMS application, clock application, camera application, etc.; or it can be an application developed by a third-party developer, such as an instant messaging application, photo editing application, game application, etc. Of course, in specific implementations, the application package in the application layer is not limited to the examples above, and may include other application packages. This embodiment of the invention does not impose any limitations on this.

[0096] like Figure 3 As shown in this embodiment of the invention, the ViewTree in the application layer is the view structure of the application interface. Generally, one display interface within an application can correspond to one ViewTree. In this implementation, developers can mark view controls (such as buttons, image views, etc.) that respond to drag-and-drop to form split-screen in the ViewTree corresponding to one display interface of an application. For example, they can... Figure 13 The draggable WeChat interface view is the marked View control. The system user interface (SystemUI) is a system-level UI component with system-level global permissions. SystemUI includes the drag starter, which handles the response logic of the user's drag gesture and decides on the position (top, bottom, left, right) to launch the new split-screen window.

[0097] The framework layer provides an application programming interface (API) and programming framework for applications in the application layer. The application framework layer includes some predefined functions. It acts as a processing center, determining the actions taken by applications in the application layer. In this embodiment, an open API can be added to the framework layer for upper-layer applications to call. For example, a function `setLaunchSplitScreenLocation(intlocation)` can be added to the existing ActivityOption (with one parameter) in the unified control center for split-screen windows. The parameter `location` specifies the location to initiate split-screen mode, supporting four options: LEFT, RIGHT, UP, and BOTTOM. When an application launches a new Activity, such as launching the second task (opening WeChat) described herein, it calls the launch activity `startActivity` (a function), passing in a data package generated from ActivityOption. This allows the application to actively trigger split-screen display.

[0098] like Figure 3 As shown, in this embodiment of the invention, the application framework layer includes an activity manager service (AMS) module, a window manager service (WMS) module, a multi-screen window unified control center (MultiWinSupervisor), an input manager service (IMS), etc.

[0099] Input management is used for listening to and processing touch events.

[0100] The unified control center for split-screen windows is used to: coordinate the scheduling of split-screen windows, respond to application-level calls, and send system service (such as AMS, WMS) calls to lower layers. For example, when a marked View control is detected to be dragged, it triggers split-screen related commands to AMS and WMS, thus achieving passive split-screen triggering. Alternatively, when an upper-layer application actively calls the ActivityOption interface, it triggers split-screen related commands to AMS and WMS, thus achieving active split-screen triggering. The activity management module is used to: manage the lifecycle of each application and common navigation and back functions, such as controlling application exit, opening, and navigating.

[0101] The window management module is used to manage and draw all window interfaces, such as controlling the display size, position, and hierarchy of windows.

[0102] Of course, in specific implementations, the framework layer may also include functional services, such as content provision, telephone management, resource management, notification management, etc., and this embodiment of the invention does not impose any restrictions on this.

[0103] The system runtime library layer provides support for the upper layer, namely the framework layer. When the framework layer is used, the Android operating system will run the C / C++ libraries contained in the system runtime library layer to implement the functions that the framework layer needs to achieve.

[0104] The kernel layer is the layer between hardware and software. For example... Figure 3 As shown, the kernel layer includes at least a touchscreen driver. Of course, in specific implementations, the kernel layer may also include other drivers, such as camera drivers, audio drivers, etc., and this embodiment of the invention does not impose any limitations on this.

[0105] It should be understood that Figure 3 The software programs and / or modules corresponding to the software architecture in the document are stored in [the relevant database]. Figure 2 The internal memory 121 of the mobile phone 100 shown.

[0106] The following describes in detail the solution provided by the present invention, taking the application of the present invention in the above-mentioned mobile phone 100 as an example.

[0107] Please see Figure 4 The split-screen display method provided in this embodiment of the invention includes:

[0108] S401. During the process of running a first application and performing a first task, the mobile phone displays the display interface of the first task on the screen and receives a first operation to start a second task; wherein the display interface corresponding to the second task is different from the display interface corresponding to the first task.

[0109] S402, the mobile phone responds to the first operation by starting the split-screen display mode, dividing the screen into multiple display windows, displaying the display interface corresponding to the first task in the first display window, starting the second task and displaying the display interface corresponding to the second task in the second display window.

[0110] In this embodiment of the invention, before the mobile phone receives the first operation, the display screen may be a full-screen display of the display interface corresponding to the first task (also referred to herein as the first display interface, for example, see...). Figure 5 In (A), the first task is to run and display the product browsing interface in the Taobao application.

[0111] The first operation can be an input operation performed by the user. The type of input operation can be touch input, input, motion input, hover input, etc., and there are no restrictions here.

[0112] The second task can be an associated task triggered during the execution of the first application's task, such as triggering a WeChat sharing task in Taobao, or it can be a task triggered by the user alone, such as the user entering the voice command "open WeChat" while browsing Taobao. This embodiment of the invention does not impose any limitations. The following text will primarily focus on the example where the second task is an associated task triggered during the execution of the first application's task for detailed explanation.

[0113] For example, refer to Figure 3 When the display screen shows the interface for the first task in full screen, the touch panel on the screen detects the signal from the user's touch input. The sensor converts the detected signal into information that the processor can process and transmits it to the processor. The kernel layer running in the processor generates position data corresponding to the operation based on this information (specifically, it may include touch point coordinates, the timestamp corresponding to the touch point coordinates, etc.). The kernel layer uploads the collected finger position data to the framework layer. In the framework layer, the IMS determines the first operation performed by the user (for example, the operation performed by the user is...). Figure 5 The operation of clicking the "Paste Taobao Password to WeChat" control shown in (A) is intended to start the second task (i.e., start WeChat). IMS then reports the event of starting the second task to the application in the application layer (i.e., Taobao). When the application responds to the user's operation to start the task of opening WeChat, it can also actively call the API interface in the framework layer to trigger the unified control center of the split-screen window to send relevant instructions to AMS, WMS, etc., start the system to enter the split-screen mode, and open the display interface of the second task in the split-screen window. This can achieve the effect of the application actively triggering the split-screen display based on the task.

[0114] Some possible designs could involve dividing the window into two parts, for example... Figure 5 As shown in (B) of the diagram, the display screen is divided into two display windows arranged horizontally. The left side is the first display window, used to display the interface corresponding to the first task (Taobao product browsing page), and the right side is the second display window, used to display the interface corresponding to the second task (WeChat page). Of course, in actual implementation, the positions of the first and second display windows can be interchanged. For example, the left side could be the second display window used to display the interface corresponding to the second task, and the right side could be the first display window used to display the interface corresponding to the first task. It should be understood that the Taobao and WeChat interfaces in the attached diagram are merely examples of the first and second tasks; in actual implementation, the first and second tasks can also be tasks from other applications.

[0115] It should be noted that the positional relationship between the first and second display windows can be... Figure 5 Besides the left-right arrangement shown, it can also be arranged vertically. For example... Figure 6As shown, the display screen is divided into two windows, with the first display window at the top and the second display window at the bottom. Of course, Figure 6 The positions of the first and second display windows can also be interchanged.

[0116] In this embodiment of the invention, the first display window and the second display window can have the same shape and size, for example... Figure 5 and Figure 6 As shown. Of course, the shape and size of the first and second display windows can also be different, for example... Figure 7 As shown, the second display window is smaller than the area of ​​the first display window, making it easier for users to view and use the first display interface in the first display window.

[0117] As an optional implementation, users can pre-set the position and size relationship between the first and second display windows after the phone enters split-screen mode.

[0118] In some possible designs, the number of windows can be greater than two. For example, see... Figure 8A The display screen is divided into three windows, with the third window showing the system desktop, allowing users to monitor and operate the desktop simultaneously. Of course, the third window can also display the interface of other applications, for example, see [link to example]. Figure 8B The third display window shows the interface of the video app "iQiyi," allowing users to simultaneously use "iQiyi," "Taobao," and "WeChat." It should be understood that the positional relationship of the first, second, and third display windows in this embodiment of the invention can be implemented in other ways, such as vertical arrangement or other combinations, which are not limited here. The shapes or sizes of the first, second, and third display windows can be the same or different, which is not limited here.

[0119] In some possible designs, the second task and the first task can be tasks from different applications, i.e., cross-application split-screen display scenarios. For example... Figures 5 to 8B In the illustrated embodiment, the first task corresponds to the Taobao application, while the second task corresponds to the WeChat application. In other possible designs, the first and second tasks can be tasks within the same application, i.e., a split-screen display scenario within the application.

[0120] For example, see Figure 9In (A), when a user is browsing products on the Taobao app and intends to chat with customer service, they can click the "Customer Service" icon at the bottom of the product browsing page (first operation). After the phone detects this operation, it directly starts the split-screen mode, dividing the display screen into multiple display windows. The first display window shows the previous product browsing page, and at the same time, the customer service task is started and run. The second display window shows the customer service page, so the user can chat with customer service while browsing products.

[0121] As an optional implementation, a split-screen launch function can be added to the first application. For example, a split-screen display menu option can be added to the control used to trigger the second task, thereby binding the function of triggering the second task with the function of triggering the split-screen mode. This way, when the user clicks the split-screen display menu option, both the simultaneous split-screen display mode and the second task can be triggered. See, for example... Figure 10 Taking WeChat as the primary application and the WeChat chat management interface as an example, an "Open Split-Screen Window" option can be added to the right-click menu of any chat contact. This way, users can long-press on a chat contact to bring up the corresponding right-click menu, and then click the "Open Split-Screen Window" option (the first operation) to trigger the phone to enter split-screen display mode, displaying the chat interface with that chat contact in the split-screen window. This provides a prompt to users to use split-screen mode, further improving the user experience.

[0122] As an optional implementation, before the phone receives the first operation, the display screen may not be in full-screen mode, showing the interface corresponding to the first task. For example, the display screen may already be in split-screen mode, showing two or more display windows. After receiving the first operation, in one possible design, the phone may further divide the display area corresponding to the first task before receiving the first operation, and then further split-screen the interface of the first task and the interface of the second task within that display area. For example, please see... Figure 11 In (A), the phone's display screen is divided into a fourth display window and a fifth display window. The fourth display window shows the desktop, and the fifth display window shows the Taobao interface. After the user clicks "Paste to WeChat to send to a friend" in the fifth display window (first operation), the phone further divides the area where the fifth display window is located into a first display window and a second display window, and then displays the WeChat interface in the second display window. As an optional implementation, in specific implementations, the phone can also adjust the fourth display window, such as adjusting its size or position accordingly.

[0123] In an alternative design, if the phone is already in split-screen mode (i.e., displaying two or more windows) before receiving the first operation, then after receiving the first operation, the phone can display the interface of the second task in a window other than the one corresponding to the first task, or re-divide the entire display screen. For example, please see... Figure 12 The phone's display screen is divided into a fourth display window and a fifth display window. The fourth display window shows the desktop, and the fifth display window shows the Taobao interface. After the user clicks "Paste to WeChat to send to a friend" in the fifth display window (the first operation), the phone replaces the desktop displayed in the fourth display window with the display interface corresponding to the second task, i.e., the WeChat interface (or, in other words, replaces the fourth display window with the second display window, which displays the WeChat interface). As an optional implementation, in practice, after replacing the desktop displayed in the fourth display window with the display interface corresponding to the second task, i.e., the WeChat interface, the phone can also adjust the fourth and fifth display windows, such as adjusting their size or position accordingly.

[0124] To further improve the user experience, this embodiment of the invention also provides a scheme for user-controlled split-screen window display position. Specifically, after receiving the first operation, the mobile phone starts the split-screen display mode and first pops up a view associated with the second task (e.g., a thumbnail of the second display interface) on the first display interface. At this time, the user can drag the view to move it from the screen to the top / bottom / left / right, and determine the position of the split-screen window (second display window) according to the direction of view movement.

[0125] For example, when the touch panel on the display screen detects a signal from a user's touch input, the sensor converts the detected signal into information that the processor can process and transmits it to the processor. The kernel layer running in the processor generates position data corresponding to the operation based on this information (which may include touch coordinates, timestamps corresponding to the touch coordinates, etc.). The kernel layer uploads the collected finger position data to the framework layer. The IMS in the framework layer determines that the operation is a preset gesture operation (e.g., dragging), and then reports the gesture to the DragStarter in the SystemUI in the application layer. The DragStarter processes the response logic of the user's drag gesture, decides on the position (up, down, left, right) to start a new split-screen window, and sends a command to the unified control center of the split-screen window to control the split-screen display. This enables the passive triggering of split-screen display based on user operation.

[0126] Specifically, the application developer of the first application can specify the view to which split-screen events should be bound via layout configuration files or API calls. When the phone receives the first operation confirming the need to start the second task, it displays this view on the interface of the first task. The user can drag it to a specified position (supports four options: LEFT, RIGHT, UP, and BOTTOM). The phone then forms a split-screen window (second display window) at that specified position and displays it in the split-screen window. Optionally, after the phone forms the split-screen window at the specified position, the display of the second task's interface can be shown in the split-screen window only after receiving the user's click operation on the view.

[0127] The algorithm for determining where the phone should initiate split-screen mode is as follows:

[0128] (1) When the coordinate position (x, y) of the dragged UI view exceeds the split-screen response area (the dotted area shown in the figure above), the split-screen in the corresponding direction is triggered.

[0129] (2) If both the horizontal and vertical directions exceed the split-screen response area, the displacement over a period of time is recorded by the previous coordinates (x0, y0): dx = |x - x0| and dy = |y - y0|. By comparing dx and dy, it is determined whether the current finger movement is more pronounced in the horizontal or vertical direction. If dx > dy, it means the finger is moving more horizontally; if x > x0, it moves to the right, triggering the right split-screen, and vice versa. If dx < dy, it means the finger is moving more vertically; if y > y0, it moves downwards, triggering the lower split-screen, and vice versa.

[0130] For example, see Figure 13 After the user performs the first action on the Taobao interface, the phone responds by activating split-screen mode. At this time, a thumbnail pops up on the Taobao interface, such as... Figure 13 As shown in (A) above. At this point, the user can drag and drop the thumbnail, for example... Figure 13 Drag to the right as shown in (B) in the diagram, or as... Figure 13 Drag down as shown in (C), or as... Figure 13 Drag upwards as shown in (D), or as... Figure 13 As shown in (E) in the image, drag to the left, etc. The phone determines the position of the split-screen window based on the direction the view is moved, for example... Figure 13As shown in (F), when the movement direction is downward, the display screen will be divided into two windows arranged vertically. The second display window, which displays the second task (WeChat), is at the bottom, while the first display window, which displays the first task (Taobao), is at the top. The position of the split-screen display window is similar for other drag-and-drop methods, and will not be described in detail here.

[0131] In one possible design, after the view is displayed on the screen, when the user long-presses the view with one or two fingers, a draggable copy of the view (shadow) is generated. The user can then drag this copy to a specified location, achieving a split-screen effect for the second task. If the user taps the view after it's displayed, the phone will still open a new page normally (i.e., exit the first task's interface and display the second task's interface in full-screen mode). This allows the user to choose whether to use split-screen mode after performing the first action, improving the user experience.

[0132] In an alternative implementation, the initial display position of the view can also be at the top / bottom / left / right edge of the first display interface, for example... Figure 14 As shown. This further reduces the obstruction of the view by the main content displayed in the first display interface.

[0133] In one possible design, if the phone has already entered split-screen mode before the first operation, the entire display window can be re-divided based on the user's drag operation. The two newly divided display windows will respectively display the interface for the first task (or the interface that last received user input, i.e., Taobao) and the interface corresponding to the second task, such as... Figure 15 As shown. This allows for flexible updates to the split-screen display window based on user needs, further improving the user experience. Alternatively, the original display area of ​​the first task (Taobao) can be further divided into split-screen sections while maintaining the original split-screen window (desktop) display unchanged.

[0134] As an optional implementation, the area of ​​the view does not exceed a set threshold area, such as one-third or one-fifth of the area of ​​the first display interface. This reduces the view's obstruction of the content of the first display interface and improves the user experience.

[0135] As an optional implementation, the view can be displayed in a semi-transparent manner, which can further reduce the view's obstruction of the main display content in the first display interface and improve the visual effect.

[0136] The above embodiments describe the method provided by the present invention from the perspective of an electronic device (mobile phone 100) as the executing entity. To implement the functions of the methods provided by the present invention, the terminal device may include hardware structures and / or software modules, implementing the above functions in the form of hardware structures, software modules, or a combination of hardware structures and software modules. Whether a particular function is executed in the form of hardware structures, software modules, or a combination of hardware structures and software modules depends on the specific application and design constraints of the technical solution.

[0137] Based on the same technical concept, embodiments of the present invention also provide an electronic device 1600 for performing the steps of the split-screen display method in the above embodiments of the present invention. Please refer to... Figure 16 The electronic device 1600 includes: a display screen 1601; one or more processors 1602; a memory 1603; multiple applications; and one or more computer programs; wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions that, when the instructions are invoked and executed by the one or more processors, cause the electronic device to implement the split-screen display method described above in the embodiments of the present invention.

[0138] The processor 1602 can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this invention. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this invention can be directly manifested as execution by a hardware decoding processor, or execution by a combination of hardware and software modules in the decoding processor. The software modules can reside in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory; the processor reads instructions from the memory and, in conjunction with its hardware, completes the steps of the above methods.

[0139] when Figure 16When the electronic device shown is the aforementioned mobile phone 100, the processor 1601 can be 110, the display screen 1601 can be the display screen 194, and the memory 1603 can be the internal memory 121.

[0140] The specific implementation details of the device can be found in the method section above, and will not be repeated here.

[0141] Based on the same technical concept, embodiments of the present invention also provide an electronic device, which includes modules / units for executing the split-screen display method described above in the embodiments of the present invention; these modules / units can be implemented in hardware or by hardware executing corresponding software.

[0142] Based on the same technical concept, embodiments of the present invention also provide a computer storage medium including computer instructions, which, when executed on an electronic device, cause the electronic device to perform the split-screen display method described above in the embodiments of the present invention.

[0143] Based on the same technical concept, this embodiment of the invention also provides a program product that, when the program product is run on a computer, causes the computer to execute the split-screen display method described above in this embodiment of the invention.

[0144] Based on the same technical concept, this embodiment of the invention also provides a chip, which is coupled to a memory in an electronic device, for calling a computer program stored in the memory and executing the split-screen display method described above in this embodiment of the invention; in this embodiment of the invention, "coupling" means that two components are directly or indirectly combined with each other.

[0145] Based on the same technical concept, embodiments of the present invention also provide a graphical user interface on an electronic device, the electronic device having a display screen, one or more memories, and one or more processors, the one or more processors being used to execute one or more computer programs stored in the one or more memories, the graphical user interface including the electronic device executing the split-screen display method described above in the embodiments of the present invention.

[0146] The various embodiments of the present invention can be used individually or in combination to achieve different technical effects.

[0147] The above description of the embodiments is only used to provide a detailed introduction to the technical solutions of the present invention. However, the description of the above embodiments is only for the purpose of helping to understand the methods of the embodiments of the present invention and should not be construed as a limitation of the embodiments of the present invention. Any changes or substitutions that can be easily conceived by those skilled in the art should be covered within the protection scope of the embodiments of the present invention.

[0148] As used in the above embodiments, depending on the context, the term "when..." can be interpreted as meaning "if...", "after...", "in response to determining...", or "in response to detecting...". Similarly, depending on the context, the phrase "when determining..." or "if (the stated condition or event) is interpreted as meaning "if determining...", "in response to determining...", "when (the stated condition or event) is detected", or "in response to detecting (the stated condition or event)".

[0149] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive), etc.

[0150] For purposes of explanation, the foregoing description has been given with reference to specific embodiments. However, the exemplary discussion above is not intended to be exhaustive, nor is it intended to limit the invention to the precise forms disclosed. Many modifications and variations are possible based on the foregoing teachings. The embodiments were chosen and described to fully elucidate the principles of the invention and its practical application, thereby enabling others skilled in the art to fully utilize the invention with various modifications and embodiments suitable for the particular intended use.

Claims

1. A split-screen display method, characterized in that, The method includes: When the first application is running and performing the first task, the display interface corresponding to the first task is displayed on the screen; On the display interface corresponding to the first task, a first operation for starting the second task is received; wherein, the second task is an associated task triggered during the execution of the first application task; In response to the first operation, the split-screen display mode is activated; Among them, in response to the first operation, starting the split-screen display mode includes: Generate a view of the display interface corresponding to the second task, and display the view on the display interface corresponding to the first task; In response to a second operation on the view, the position of the split-screen display window is determined according to the second operation; the second operation includes a first sub-operation of dragging the view to a preset position, the preset position being the position of the split-screen display window. A split-screen display window is displayed at the specified location, and the display interface corresponding to the second task is displayed within the split-screen display window. The second task is associated with a first view control in the display interface corresponding to the first task. The first view control is a marked view control in the view tree associated with the display interface corresponding to the first task. The view is associated with the first view control. The view control is marked by the developer. The marked view control is used to respond to drag operations to realize split screen. The method further includes: providing a system user interface component, wherein the system user interface component has system-level global permissions, and the system user interface component includes a drag launcher for handling user drag gestures; providing a split-screen window unified control center component, wherein the split-screen window unified control center component is used to trigger split-screen display; wherein the drag launcher is also used to determine the position of the split-screen display window; and sending a command to the split-screen window unified control center component to trigger split-screen display; Displaying the view on the display interface corresponding to the first task includes: displaying the first view control on the display interface corresponding to the first task; The method further includes: receiving the second operation on the first view control; The step of responding to a second operation on the view and determining the position of the split-screen display window according to the second operation includes: the system user interface component processing the second operation to determine the position of the split-screen display window and sending a first instruction corresponding to the second operation to the split-screen window unified control center component; The step of displaying a split-screen display window at the split-screen display window position and displaying the display interface corresponding to the second task in the split-screen display window includes: the split-screen window unified control center component responding to the second operation according to the first instruction and displaying the display interface corresponding to the second task in the split-screen display window.

2. The method as described in claim 1, characterized in that, When the first application is running and performing the first task, a display interface corresponding to the first task is displayed on the screen, including: The display interface corresponding to the first task is displayed in full screen on the display screen.

3. The method as described in claim 1, characterized in that, The second task is the task in the first application; or The second task is a task in a second application, and the second application is different from the first application.

4. The method as described in claim 1, characterized in that, In response to the first operation, the split-screen display mode is activated, including: At least two display windows are generated on the display screen, the at least two display windows including a first display window and a second display window; the display interface corresponding to the first task is displayed in the first display window, and the display interface corresponding to the second task is displayed in the second display window.

5. The method according to any one of claims 1-4, characterized in that, The second operation also includes a second sub-operation preceding the first sub-operation, wherein the second sub-operation is a single-finger long press or a two-finger long press on the view.

6. The method according to any one of claims 1-4, characterized in that, The second operation also includes a third sub-operation following the first sub-operation, wherein the third sub-operation is an operation of clicking the view; The method further includes: after receiving the third sub-operation, displaying the display interface corresponding to the second task in the split-screen display window.

7. An electronic device, characterized in that, Includes a display screen; one or more processors; memory; multiple applications; and one or more computer programs; The one or more computer programs are stored in the memory, and the one or more computer programs include instructions that, when invoked and executed by the one or more processors, cause the electronic device to perform the following steps: When the first application is running and performing the first task, the display interface corresponding to the first task is displayed on the display screen; On the display interface corresponding to the first task, a first operation for starting the second task is received; wherein, the second task is an associated task triggered during the execution of the first application task; In response to the first operation, the split-screen display mode is activated; Among them, in response to the first operation, starting the split-screen display mode includes: Generate a view of the display interface corresponding to the second task, and display the view on the display interface corresponding to the first task; In response to a second operation on the view, the position of the split-screen display window is determined according to the second operation; the second operation includes a first sub-operation of dragging the view to a preset position, the preset position being the position of the split-screen display window. A split-screen display window is displayed at the specified location, and the display interface corresponding to the second task is displayed within the split-screen display window. The second task is associated with a first view control in the display interface corresponding to the first task. The first view control is a marked view control in the view tree associated with the display interface corresponding to the first task. The view is associated with the first view control. The view control is marked by the developer. The marked view control is used to respond to drag operations to realize split screen. When the instruction is invoked and executed by the one or more processors, the electronic device also performs the following steps: A system user interface component is provided, wherein the system user interface component has system-level global permissions, and the system user interface component includes a drag-and-drop launcher for handling user drag gestures. A unified control center component for split-screen windows is provided, wherein the unified control center component for split-screen windows is used to trigger split-screen display; The drag-and-drop launcher is also used to determine the position of the split-screen display window; and to send instructions to the unified control center component of the split-screen window to trigger the split-screen display. When the instruction is invoked and executed by the one or more processors, the electronic device performs the following steps: Display the first view control on the display interface corresponding to the first task; Receive the second operation on the first view control; The system user interface component processes the second operation to determine the position of the split-screen display window, and sends the first instruction corresponding to the second operation to the split-screen window unified control center component; The split-screen window unified control center component responds to the second operation according to the first instruction and displays the display interface corresponding to the second task in the split-screen display window.

8. The electronic device as claimed in claim 7, characterized in that, When the instruction is invoked and executed by the one or more processors, the electronic device performs the following steps: displaying the display interface corresponding to the first task in full screen on the display screen.

9. The electronic device as claimed in claim 7, characterized in that, The second task is the task in the first application; or The second task is a task in a second application, and the second application is different from the first application.

10. The electronic device as claimed in claim 7, characterized in that, When the instruction is invoked and executed by one or more processors, the electronic device performs the following steps: generating at least two display windows on the display screen, the at least two display windows including a first display window and a second display window; displaying the display interface corresponding to the first task in the first display window, and displaying the display interface corresponding to the second task in the second display window.

11. The electronic device according to any one of claims 7-10, characterized in that, The second operation also includes a second sub-operation preceding the first sub-operation, wherein the second sub-operation is a single-finger long press or a two-finger long press on the view.

12. The electronic device according to any one of claims 7-10, characterized in that, The second operation also includes a third sub-operation following the first sub-operation, wherein the third sub-operation is an operation of clicking the view; When the instruction is invoked and executed by one or more processors, the electronic device also performs the following steps: after receiving the third sub-operation, displays the display interface corresponding to the second task in the split-screen display window.

13. 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 method as described in any one of claims 1-6.

14. A program product, characterized in that, When the program product is run on a computer, the computer performs the split-screen display method as described in any one of claims 1-6.

15. A graphical user interface for an electronic device, characterized in that, The electronic device has a display screen, one or more memories, and one or more processors, the one or more processors being configured to execute one or more computer programs stored in the one or more memories, and the graphical user interface including the graphical user interface displayed when the electronic device performs the split-screen display method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Terminal screen splitting implementing method and terminal

    CN104898952A

  • Split-screen display and operation method and device, terminal equipment and storage medium

    CN108509110A

  • Split screen control method and device as well as storage medium and terminal

    CN108804004A

  • Processing method and device for split-screen display, storage medium and electronic device

    CN108984065A

  • Split-screen display method and electronic equipment

    CN110865744A