Screen splitting method and related apparatus
By matching the split-screen mode to the display form of the core interface elements, user operation is simplified, the efficiency of displaying multiple application interfaces on electronic devices is improved, and the device form and display content are adapted to changes.
Patent Information
- Application Number
- PCT/CN2024/082456
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-21
- Filing Date
- 2024-03-19
- Publication Date
- 2024-09-26
AI Technical Summary
In existing technologies, the operation steps are cumbersome and inefficient when users display multiple application interfaces on electronic devices at the same time.
The split-screen mode is matched according to the display form of the core elements in the interface. For example, horizontal display uses the top and bottom split-screen mode, and vertical display uses the left and right split-screen mode, which simplifies the operation steps and improves the efficiency of split-screen.
By matching the split-screen mode, the user operation steps are simplified, the efficiency of displaying multiple application interfaces in split-screen mode is improved, and it adapts to changes in different device forms and display content.
Smart Images

Figure CN2024082456_26092024_PF_FP
Abstract
Description
A screen splitting method and related device
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on March 21, 2023, with application number 202310312187.8 and application name “A Split Screen Method and Related Devices”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of electronic technology, and in particular to a screen splitting method and related devices. Background Art
[0003] With the continuous development of electronic technology, electronic devices are increasingly closely connected with daily life. When using electronic devices, users often need to display multiple application interfaces on the display screen at the same time so that they can use different services provided by the multiple applications at the same time.
[0004] When a user needs to display multiple application interfaces simultaneously on the display, the user must first trigger the split screen and then select the desired split screen mode. After that, the user must select multiple applications to be displayed on the split screen before the interfaces of multiple applications can be displayed simultaneously on the display. This makes the user's operation steps cumbersome and inefficient.
[0005] Although the above method can realize the split-screen display of multiple application interfaces, the user's operation steps are cumbersome and inefficient.
[0006] Summary of the Invention
[0007] The present application provides a split-screen method and related devices, which can use a matching split-screen mode to display the interfaces of multiple applications in split-screen according to the display form of the core elements in the interface, simplify the operation steps, and achieve the matching of the split-screen mode and the scene.
[0008] In a first aspect, the present application provides a split-screen method, which is applied to an electronic device, and the method includes: displaying a first interface of a first application; receiving a first operation of a user on the first interface; in response to the first operation, displaying information of the first application in a first area on the display screen, and displaying icons of multiple applications in a second area on the display screen, the icons of the multiple applications include an icon of the second application, and the information of the first application includes any one or more of the following: a first interface, a partial screen of the first interface, an icon of the first application, and a name of the first application; receiving a second operation of the user on the icon of the second application; in response to the second operation, displaying the second interface of the first application in a third area of the display screen, and displaying the third interface of the second application in a fourth area of the display screen; if the first interface includes a first element, and the display form of the first element is horizontal display, the third area and the fourth area are arranged up and down on the display screen; the first element includes any one or more of the following: video, game, meeting, slideshow, photography (such as the viewfinder in the photography interface), video call (such as the video display window in the video call interface).
[0009] In this way, when a core element is displayed and the display form of the core element is horizontal, the electronic device 100 can quickly use the top-bottom split-screen mode to display the interface of the first application and the second application, which not only improves the split-screen efficiency, but also can adopt a suitable split-screen mode based on the display form of the core element.
[0010] In one possible implementation, when the display interface does not include the first element, the contents of the first and second areas may be displayed according to the system default, and / or the contents of the third and fourth areas may be displayed according to the default. In other possible implementations, regardless of whether the display interface includes the first element, the contents of the first and second areas may be displayed according to the device form factor of the electronic device itself, and / or the contents of the third and fourth areas may be displayed according to the device form factor of the electronic device itself.
[0011] In one possible implementation, whether the display form of the first element is horizontal is determined based on any one of the following: the aspect ratio (the ratio of the horizontal length to the vertical length) of the first element is greater than a preset value, the first application is an application in a preset plurality of applications (also referred to as an application in a "first list"), black borders or blank areas are displayed on the upper and lower sides of the first element, or the first interface calls for a horizontal screen interface display.
[0012] In a possible implementation, the method further includes: if the first interface includes a first element, and the display form of the first element is horizontal display, the first area is located above or below the display screen.
[0013] In a possible implementation, the method further includes: if the first interface includes a first element, and the display form of the first element is horizontal display, in response to the first operation, displaying an upper and lower split-screen mode control on the display screen.
[0014] In one possible implementation, the method also includes: if the first interface includes a first element and the display form of the first element is horizontal display, in response to the first operation, an application window is displayed on the display screen, the first interface is displayed in the application window, and the application window moves following the trajectory of the first operation on the display screen.
[0015] In one possible implementation, the method also includes, when it is detected that the distance between the application window and the upper and lower split-screen mode controls is less than a preset distance, displaying a split-screen hot zone in the fifth area of the display screen, where the fifth area is the upper half of the display screen.
[0016] In this way, the user can be prompted that the split screen mode to be executed is the top-bottom split screen mode by displaying the top-bottom split screen mode control. The user can also be prompted that the split screen mode to be executed is the top-bottom split screen mode by displaying the position of the split screen hot zone.
[0017] In a possible implementation, the method further includes: if the first interface includes a first element, and the display form of the first element is vertical display, the third area and the fourth area are arranged left and right on the display screen.
[0018] In one possible implementation, the method further includes determining a display form of a first element included in the first interface, and displaying the third and fourth regions based on the display form. Specifically, when the first element is displayed in a vertical orientation, the third and fourth regions are arranged left and right on the display screen; when the first element is displayed in a horizontal orientation, the third and fourth regions are arranged up and down on the display screen.
[0019] In this way, when a core element is displayed and the display form of the core element is vertical, the electronic device 100 can quickly adopt a left-right split-screen mode to display the interface of the first application and the second application, which not only improves the split-screen efficiency, but also can adopt a suitable split-screen mode based on the display form of the core element.
[0020] In one possible implementation, the basis for determining whether the display form of the first element is vertical display is any one of the following: the aspect ratio of the first element (the ratio of the horizontal length to the vertical length) is less than a preset value, the first application is an application in a preset plurality of applications (also referred to as the "second list"), black borders or blank areas are displayed on the left and right sides of the first element, or the first interface calls for a vertical screen interface display.
[0021] In a possible implementation, the method further includes: if the first interface includes a first element, and the display form of the first element is vertical display, the first area is located on the left or right side of the display screen.
[0022] In a possible implementation, the method further includes: if the first interface includes a first element, and the display form of the first element is vertical display, in response to the first operation, displaying a left-right split-screen mode control on the display screen.
[0023] In one possible implementation, the method also includes: if the first interface includes a first element, and the display form of the first element is vertical display, in response to the first operation, an application window is displayed on the display screen, the first interface is displayed in the application window, and the application window moves following the trajectory of the first operation on the display screen.
[0024] In one possible implementation, the method also includes, when it is detected that the distance between the application window and the left and right split-screen mode controls is less than a preset distance, displaying a split-screen hot zone in the sixth area of the display screen, where the sixth area is the left half of the display screen.
[0025] In this way, the user can be prompted that the split screen mode to be executed is the left-right split screen mode by displaying the left-right split screen mode control. The user can also be prompted that the split screen mode to be executed is the left-right split screen mode by displaying the position of the split screen hot zone.
[0026] In one possible implementation, the method further includes: if the third area and the fourth area are arranged vertically on the display screen, and the first application is an interactive application, and the second application is a browsing application, the third area and the fourth area are arranged vertically on the display screen, and the third area is below the fourth area.
[0027] In one possible implementation, the method further includes: if the third area and the fourth area are arranged vertically on the display screen, and the first application is a browsing application, and the second application is an interactive application, the third area and the fourth area are arranged vertically on the display screen, and the third area is above the fourth area.
[0028] In one possible implementation, the method further includes: if the third area and the fourth area are arranged vertically on the display screen, and the type of the first application and the type of the second application are the same, the third area and the fourth area are arranged vertically on the display screen, and the third area is above the fourth area.
[0029] In this way, the display positions of the interfaces of different applications during split-screen display can be determined based on the types of the first application and the second application. The type of application can be determined based on the number of interactions the user has with the application per unit time.
[0030] In a possible implementation, the method further includes: if the first area is located above or below the display screen, and the second application does not support top-bottom split screen, the third area and the fourth area are arranged left and right on the display screen.
[0031] In one possible implementation, the method further includes: if the first area is located above or below the display screen and the second application does not support top-bottom split screen, the third area is all areas on the display screen, and the fourth area is the area where the floating window is located.
[0032] In a possible implementation, the method further includes: if the first area is located on the left or right side of the display screen, and the second application does not support left-right split screen, the third area and the fourth area are arranged up and down on the display screen.
[0033] In one possible implementation, the method also includes: if the first area is located on the left or right side of the display screen and the second application does not support left-right split screen, the third area is all areas on the display screen, and the fourth area is the area where the floating window is located.
[0034] In this way, when the second application does not support the split-screen mode to be executed, the split-screen mode can be re-determined.
[0035] In a possible implementation, the second interface is the same as the first interface.
[0036] In a possible implementation, the method further includes: if the first element in the first interface is not displayed in full-screen mode, the first element in the second interface is displayed in the third area in full-screen mode.
[0037] The second interface can also be different from the first interface. For example, when a first element in the first interface is not displayed in full-screen mode in the first interface, after the split-screen operation, the first element can also be displayed in the second interface, and the first element is displayed in full-screen mode in the second interface. The full-screen mode of the first element means that the first element occupies the entire area of one of the split-screen windows, or it can also be understood that the first element is displayed at the maximum display size within the area it can occupy. For example, after the split-screen operation, the video playback window occupies the entire area of one of the split-screen windows in split-screen mode, or it can be understood that after the split-screen operation, the video playback window is displayed at the maximum display size in one of the split-screen windows. Other elements such as PPT, meeting, and video call can be understood by referring to the video. In one possible implementation, the maximum display size of the first element in the second interface can be the size of the third area. For example, when the third area corresponding to the second interface is the entire area of the display screen, the maximum display size of the first element in the second interface can be the size of the display screen; when the third area corresponding to the second interface is the upper half of the display screen, the maximum display size of the first element in the second interface can be the size of the upper half. In another possible implementation, if the aspect ratio of the first element in the first and second interfaces needs to remain unchanged, then in the second interface, the maximum display size of the first element can also be such that the horizontal side is the same as the horizontal side of the third area and the vertical side is slightly smaller than the vertical side of the third area, or the vertical side is the same as the vertical side of the third area and the horizontal side is slightly smaller than the horizontal side of the third area. In this case, the upper and lower sides (or left and right sides) of the first element in the third area can be displayed with black borders or blank areas.
[0038] In one possible implementation, after displaying the second interface in the third area of the display screen, the method further includes: in response to a third operation of the user, displaying the desktop and displaying the first combination icon on the desktop; in response to a fourth operation on the first combination icon, displaying the fourth interface of the first application in the third area of the display screen, and displaying the fifth interface of the second application in the fourth area of the display screen.
[0039] In this way, the split-screen interface of the first application and the second application can be quickly displayed by creating a combined icon.
[0040] In a possible implementation, the fourth interface is the same as the second interface, and the fifth interface is the same as the third interface.
[0041] In one possible implementation, the fourth interface is different from the second interface, and / or the fifth interface is different from the third interface.
[0042] In one possible implementation, after displaying the second interface of the first application in the third area of the display screen, the method further includes: when the device form of the electronic device changes from the first form to the second form, displaying the second interface in the seventh area of the display screen, and displaying the third interface in the eighth area of the display screen.
[0043] Among them, the device form of the electronic device may include one or more of a horizontal screen form, a vertical screen form and a folding form.
[0044] In one possible implementation, the method further includes: if the first device form is a horizontal screen form and the second device form is a vertical screen form, the positional relationship between the third area and the fourth area on the display screen is the same as the positional relationship between the seventh area and the eighth area on the display screen.
[0045] In a possible implementation, the method further includes: if the second device form is a folded form, the positional relationship between the third area and the fourth area on the display screen is different from the positional relationship between the seventh area and the eighth area on the display screen.
[0046] In a possible implementation, the method further includes: if the second device form is a folded form, the seventh area is all areas on the display screen, and the eighth area is the area where the floating window is located on the display screen.
[0047] In this way, after the device form changes, the split-screen area can be re-determined based on the changed device form.
[0048] In a second aspect, the present application provides another split-screen method, which is applied to an electronic device, and the method includes: displaying a first interface of a first application in a first device form; receiving a first operation of a user on the first interface; in response to the first operation, displaying information of the first application in a first area on the display screen, and displaying icons of multiple applications in a second area on the display screen, the icons of the multiple applications include an icon of the second application, and the information of the first application includes any one or more of the following: a first interface, a partial screen of the first interface, an icon of the first application, and a name of the first application; receiving a second operation of the user on the icon of the second application; in response to the second operation, displaying the second interface of the first application in a third area of the display screen, and displaying the third interface of the second application in a fourth area of the display screen; if the first device form is a horizontal screen form, the third area and the fourth area are arranged up and down on the display screen.
[0049] In a possible implementation, the method further includes: if the first device is in a vertical screen state, the third area and the fourth area are arranged left and right on the display screen.
[0050] In a possible implementation, the method further includes: if the first device form is a folded form, the third area and the fourth area are arranged left and right on the display screen.
[0051] In a possible implementation, the method further includes: if the first device is in a folded state, the third area and the fourth area are arranged vertically on the display screen.
[0052] In one possible implementation, the method also includes: if the first device form is a folded form, and the electronic device does not support top-down split screen or left-right split screen in the first device form, the third area is all areas on the display screen, and the fourth area is the area where the floating window is located.
[0053] In this way, the interface of the first application and the interface of the second application can be displayed based on the device form using a split-screen mode that matches the device form.
[0054] In a possible implementation, the method in the second aspect may be combined with any one of the above-mentioned first aspects.
[0055] In a third aspect, the present application provides an electronic device comprising one or more processors, one or more display screens, and one or more memories. The one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program code, the computer program code comprising computer instructions. When the one or more processors execute the computer instructions, the electronic device performs the split-screen method in any possible implementation of any of the above aspects.
[0056] In a possible implementation, the electronic device may be an electronic device with a curved screen, a folding screen, or a scroll screen.
[0057] In a fourth aspect, an embodiment of the present application provides a computer storage medium comprising computer instructions, which, when executed on an electronic device, enables a communication device to execute a split-screen method in any possible implementation of any of the above aspects.
[0058] In a fifth aspect, an embodiment of the present application provides a computer program product (or computer program), which, when running on a computer, enables the computer to execute the split-screen method in any possible implementation of any of the above aspects.
[0059] The beneficial effects of the third to fifth aspects can refer to the beneficial effects of the first and second aspects mentioned above. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] FIG1A is a schematic structural diagram of an electronic device 100 provided in an embodiment of the present application;
[0061] 1B to 1F are schematic diagrams of device configurations provided in embodiments of the present application;
[0062] FIG1G is a schematic diagram of a horizontal and vertical direction provided in an embodiment of the present application;
[0063] 2A to 2I are schematic diagrams of interfaces of a split-screen method in a horizontal screen display scenario provided by an embodiment of the present application;
[0064] 3A to 3E are schematic diagrams of interfaces of a split-screen method in a horizontal immersive scene provided by an embodiment of the present application;
[0065] 3F to 3J are schematic diagrams of interfaces of a split-screen method in a vertical immersive scene provided by an embodiment of the present application;
[0066] 3K to 3M are schematic diagrams of interfaces showing changes in the display size of a video before and after a group of screen-screen operations according to an embodiment of the present application;
[0067] 3N to 3P are schematic diagrams of interfaces showing changes in the display size of slides in a group of interfaces before and after a group of screen-screen operations according to an embodiment of the present application;
[0068] 3Q to 3S are schematic diagrams of interfaces showing changes in the display size of a conference window in a group of interfaces before and after a screen-switch operation according to an embodiment of the present application;
[0069] 4A to 4D are schematic diagrams of interfaces for determining split-screen positions based on the type of split-screen application provided in an embodiment of the present application;
[0070] 5A to 5G are schematic diagrams of interfaces for creating a combination icon according to an embodiment of the present application;
[0071] 6A to 6I are schematic diagrams of interfaces for changing the split-screen mode after the device form changes according to an embodiment of the present application;
[0072] 7A to 7D are schematic diagrams of interfaces for changing a split-screen mode after receiving an operation on a control for changing an interface layout, provided in an embodiment of the present application;
[0073] 8A to 8E are schematic diagrams of interfaces showing three application interfaces in a split screen according to an embodiment of the present application;
[0074] 9A to 9G are schematic diagrams of interfaces for determining a split-screen mode based on different split-screen operations according to an embodiment of the present application;
[0075] 10A and 10B are schematic diagrams of interfaces for re-determining a split-screen mode based on a split-screen application according to an embodiment of the present application;
[0076] FIG11 is a flow chart of a screen splitting method provided in an embodiment of the present application;
[0077] FIG12 is a schematic diagram of functional modules of an electronic device 100 provided in an embodiment of the present application. DETAILED DESCRIPTION
[0078] The following is a clear and detailed description of the technical solutions in the embodiments of the present application in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text is only a description of the association relationship between related objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0079] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood to imply or suggest relative importance or implicitly indicate the number of the technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of this application, unless otherwise specified, "plurality" means two or more.
[0080] The term "user interface (UI)" in the following embodiments of this application refers to a medium interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The user interface is a source code written in a specific computer language such as Java and extensible markup language (XML). The interface source code is parsed and rendered on an electronic device and finally presented as content that the user can recognize. The commonly used form of user interface is graphical user interface (GUI), which refers to a user interface related to computer operations that is displayed in a graphical manner. It can be a visual interface element such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc. displayed on the display screen of an electronic device.
[0081] The following describes the hardware architecture of an electronic device provided in an embodiment of the present application.
[0082] FIG. 1A shows a schematic structural diagram of an electronic device 100 .
[0083] The electronic device 100 may be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a wearable device, an in-vehicle device, a smart home device, and / or a smart city device. The present application does not impose any particular restrictions on the specific type of the electronic device.
[0084] It should be understood that the subsequent embodiments of this application mostly take folding screen electronic devices as examples, but the solution provided in this application can also be applied to non-folding screen electronic devices.
[0085] The electronic device 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, and a display screen 194. In some embodiments, the electronic device 100 may also include any one or more of the following: antenna 1, antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a sensor module 180, a button 190, a motor 191, an indicator 192, etc. The sensor module 180 may include a touch sensor 180K, a gyroscope sensor 180B, and an acceleration sensor 180E. Optionally, the sensor module 180 may also include one or more other sensors, such as a pressure sensor, an air pressure sensor, a magnetic sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, an ambient light sensor, a bone conduction sensor, etc.
[0086] It should be understood that the structure illustrated in the embodiments of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0087] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.
[0088] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
[0089] Processor 110 may also include a 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 have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.
[0090] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also provide power to the electronic device via the power management module 141.
[0091] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 and provides power to the processor 110, the internal memory 121, the display screen 194, and other modules. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be provided in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be provided in the same device.
[0092] In some embodiments, the wireless communication function of the electronic device 100 can be implemented by antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, a modulation and demodulation processor, and a baseband processor. Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the electronic device 100. The wireless communication module 160 can provide solutions for wireless communications 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 technology (NFC), infrared technology (IR), etc. applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module.
[0093] Electronic device 100 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.
[0094] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD). The display panel can also be made of an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, electronic device 100 can include one or N display screens 194, where N is a positive integer greater than 1.
[0095] The internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM).
[0096] Random access memory may include static random-access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM, for example, the fifth generation DDR SDRAM is generally referred to as DDR5 SDRAM), etc.; non-volatile memory may include disk storage devices and flash memory.
[0097] The random access memory can be directly read and written by the processor 110, and can be used to store executable programs (such as machine instructions) of the operating system or other running programs, and can also be used to store user and application data.
[0098] The non-volatile memory may also store executable programs and user and application data, etc., and may be loaded into the random access memory in advance for direct reading and writing by the processor 110 .
[0099] The external memory interface 120 can be used to connect to an external non-volatile memory to expand the storage capacity of the electronic device 100. The external non-volatile memory communicates with the processor 110 via the external memory interface 120 to implement data storage. For example, files such as music and videos can be stored in the external non-volatile memory.
[0100] The audio module 170 may include any one or more of the following: a speaker, a receiver, a microphone, an earphone jack, etc. The electronic device 100 may implement audio functions such as music playback and recording through the audio module 170 and an application processor.
[0101] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be provided in the processor 110, or some functional modules of the audio module 170 can be provided in the processor 110.
[0102] The gyro sensor 180B may be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (ie, x, y, and z axes) may be determined by the gyro sensor 180B.
[0103] Accelerometer 180E can detect the magnitude of acceleration of electronic device 100 in all directions (generally three axes). It can also detect the magnitude and direction of gravity when electronic device 100 is stationary. It can also be used to identify the electronic device's posture, enabling applications such as switching between landscape and portrait modes and pedometers.
[0104] The touch sensor 180K is also called a "touch-sensitive device." The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen." The touch sensor 180K is used to detect touch operations applied thereto or in the vicinity thereof. The touch sensor can transmit the detected touch operations to the application processor to determine the type of touch event. Visual output related to the touch operations can be provided via the display screen 194. In other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, at a location different from that of the display screen 194.
[0105] The buttons 190 include a power button, a volume button, and the like. The buttons 190 may be mechanical buttons or touch buttons. The electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100.
[0106] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
[0107] The indicator 192 may be an indicator light, which may be used to indicate the charging status, power level changes, messages, missed calls, notifications, etc.
[0108] The following describes the device form and split-screen mode of the electronic device 100 provided in an embodiment of the present application.
[0109] In the embodiment of the present application, the device form of the electronic device 100 may include a horizontal screen display and a vertical screen display. In some embodiments, when the electronic device 100 has a foldable display screen, the device form of the electronic device 100 may also include a folded state and an unfolded state.
[0110] Landscape display (also known as landscape mode): If the horizontal length of the display screen of electronic device 100 is greater than its vertical length, the device mode of electronic device 100 is landscape display. For example, as shown in FIG1B , if the horizontal side a of the display screen of electronic device 100 is greater than the vertical side b, the device mode of electronic device 100 is landscape display.
[0111] Portrait display (also called portrait mode): If the vertical length of the display screen of the electronic device 100 is greater than the horizontal length, for example, as shown in Figure 1C, the size of the vertical side b of the electronic device 100 is greater than the size of the horizontal side a, the device mode of the electronic device 100 is portrait display.
[0112] It should be noted that if the lengths of all sides of the display screen of the electronic device 100 are the same, when the front camera is displayed on the top, the device form of the electronic device 100 is a horizontal screen display; when the front camera is displayed on the side, the device form of the electronic device 100 is a vertical screen display.
[0113] Folded state (also referred to as folding form): In some embodiments, the display screen of the electronic device 100 is foldable. When the display screen of the electronic device 100 is in the folded state, the device form of the electronic device 100 is in the folded state. In some embodiments, the electronic device 100 may be the electronic device with a display screen that can be folded left and right as shown in FIG1B above. In FIG1B , the display screen of the electronic device 100 is in the unfolded state. After the display screen of the electronic device 100 is folded left and right along the center line, the device form of the electronic device 100 may be the folded state as shown in FIG1D . At this time, the display screen of the electronic device 100 is in the folded state, and the device form of the electronic device 100 is in the folded state. In other embodiments, the electronic device 100 may also be the electronic device with a display screen that can be folded up and down as shown in FIG1E . In FIG1E , the display screen of the electronic device 100 is in the unfolded state, and the device form of the electronic device 100 is in the unfolded state. After the display screen of the electronic device 100 is folded up and down along the center line, the device form of the electronic device 100 may be the folded state as shown in FIG1F .
[0114] Expanded state: Corresponding to the folded state, if the display screen of the electronic device 100 is not in the folded state, the device state of the electronic device 100 is the expanded state. The device state of the electronic device 100 in the embodiments shown in Figures 1B, 1C and 1E is all the expanded state.
[0115] It should be noted that devices in both landscape and portrait modes can be in either the unfolded or folded state. For example, as shown in Figure 1D, the folded device is also in the portrait mode. The unfolded state does not necessarily mean the foldable screen is completely flat; it can also be an intermediate state between the folded and flat states.
[0116] It can be understood that the electronic devices 100 shown in Figures 1B to 1F are all foldable devices. In some embodiments, the electronic device 100 may also be a non-foldable device. In this case, the device form of the electronic device 100 may include horizontal screen display and vertical screen display.
[0117] The horizontal and vertical directions involved in the embodiment of the present application are explained below with reference to FIG. 1G .
[0118] As shown in Figure 1G, taking the handheld electronic device 100 as an example, the hand-held direction (i.e., the direction represented by arrow d) is the longitudinal direction (also referred to as the vertical direction) in the embodiment of the present application, and the direction perpendicular to the hand-held direction (i.e., the direction represented by arrow c) is the transverse direction in the embodiment of the present application. The transverse side of the electronic device 100 refers to the transverse side of the electronic device 100, i.e., the transverse side a shown in Figure 1G; the vertical side of the electronic device 100 refers to the vertical side of the electronic device 100, i.e., the vertical side b shown in Figure 1G. It can be understood that the embodiment shown in Figure 1G is only an illustrative explanation of the transverse and vertical directions using the handheld electronic device 100 as an example. Other situations can refer to this example, and this application does not limit this.
[0119] In the embodiment of the present application, the split-screen mode may include a top-bottom split-screen mode, a left-right split-screen mode, and a full-screen plus floating window mode, etc. Among them:
[0120] Upper and lower split-screen mode: In the upper and lower split-screen mode, the display screen of the electronic device 100 can be divided into an upper split-screen area and a lower split-screen area, the upper split-screen area being the upper area of the display screen, and the lower split-screen area being the lower area of the display screen. The sizes of the upper split-screen area and the lower split-screen area can be the same or different. If the electronic device 100 uses the upper and lower split-screen mode to display the interfaces of Application 1 and Application 2, the electronic device 100 can display the interface of one of the applications (such as Application 1) in the upper split-screen area and the interface of the other application (such as Application 2) in the lower split-screen area. The upper and lower split-screen areas can also display different interfaces of the same application. In addition, according to the user's operation, the upper and lower split-screen areas can also display the same interface.
[0121] Left-right split-screen mode: In left-right split-screen mode, the display screen of the electronic device 100 can be divided into a left split-screen area and a right split-screen area, the left split-screen area being the left portion of the display screen, and the lower split-screen area being the right portion of the display screen. The sizes of the left split-screen area and the right split-screen area can be the same or different. If the electronic device 100 uses the left-right split-screen mode to display the interfaces of Application 1 and Application 2, the electronic device 100 can display the interface of one of the applications (such as Application 1) in the left split-screen area, and display the interface of the other application (such as Application 2) in the right split-screen area. Similar to the upper and lower split-screen mode, the left and right split-screen areas can display different interfaces of the same application, or display the same interface.
[0122] Full-screen plus floating window mode: In full-screen plus floating window mode, the display screen of the electronic device 100 can be divided into a full-screen area and a floating window area. The full-screen area is the entire area on the display screen, and the floating window area is the area within the floating window, and the floating window is displayed over the full-screen area. If the electronic device 100 uses the full-screen plus floating window mode to display the interfaces of Application 1 and Application 2, the electronic device 100 can display the interface of one application (for example, Application 1) in the full-screen area and the interface of the other application (for example, Application 2) in the floating window area.
[0123] In some embodiments, the top-bottom split-screen mode, the left-right split-screen mode, or the full-screen plus floating window mode may include two split-screen areas, or may include three or more split-screen areas. For example, the electronic device may be divided into three areas from top to bottom, each displaying a different interface; or the electronic device may be divided into three areas from left to right, each displaying a different interface.
[0124] In other embodiments, if the electronic device 100 simultaneously displays the interfaces of three or more applications in split screen, the above-mentioned split-screen mode can be further subdivided into multiple split-screen modes. For example, if the electronic device 100 simultaneously displays the interfaces of three applications in split screen, the upper and lower split-screen modes can include an upper-lower split-screen mode (i.e., a "P" split-screen mode) and an upper-two-lower split-screen mode (i.e., an inverted "P" split-screen mode), etc.
[0125] The embodiment of the present application provides a split-screen method, in which the electronic device 100 can receive and respond to a user's split-screen operation on application 1 (e.g., an operation of sliding upward from the bottom edge of the display screen, an operation of sliding from the bottom edge of the display screen to the upper left, or an operation of sliding from the bottom edge of the display screen to the upper right, etc.), and determine the split-screen mode to be executed (e.g., top-bottom split-screen mode, left-right split-screen mode, or full-screen floating window mode, etc.) based on the device form of the electronic device 100 and / or the display interface of application 1. The electronic device 100 can determine a split-screen waiting area and an icon display area on the display screen based on the split-screen mode to be executed, and display information of application 1 (e.g., the interface of application 1, a partial screen or element of the interface of application 1, the icon of application 1, or the name of application 1, etc.) in the split-screen waiting area, and display one or more application icons in the icon display area, wherein the one or more application icons include the icon of application 2. The electronic device 100 can receive and respond to the user's operation on the icon of application 2, divide the display screen into area 1 and area 2 based on the split-screen mode to be executed, and display the interface of application 1 in area 1 and the interface of application 2 in area 2. Among them, the device form includes: horizontal screen display, vertical screen display, unfolded state and folded state, etc. The specific description of the device form can refer to the embodiments shown in Figures 1B to 1F above.
[0126] It should be understood that application 1 and application 2 may be the same application or different applications.
[0127] Using the split-screen method provided in this application, after receiving a split-screen operation from the user, the electronic device 100 can, based on the device form of the electronic device 100 when the split-screen operation was triggered or the display form of the display elements in the display interface, select and use a split-screen mode corresponding to the device form or the display form of the display elements, and display the interfaces of two or more applications in a split-screen manner. This not only simplifies the split-screen operation steps and improves the efficiency of the split-screen operation, but also allows the appropriate split-screen mode to be determined based on the current device form or the display form of the display elements.
[0128] The following describes the split-screen method provided in the embodiments of the present application in combination with different application scenarios.
[0129] In some application scenarios, the electronic device 100 displays an interface 1 of an application 1, and the device form of the electronic device 100 is a horizontal screen display. The electronic device 100 can receive and respond to the user's split-screen operation (such as sliding upward from the bottom edge of the display screen, etc.), determine that the split-screen mode to be executed is the top-bottom split-screen mode based on the mapping relationship between the horizontal screen display and the split-screen mode, and display the information of the application 1 (such as interface 1, a partial screen or element of interface 1, the icon of application 1 or the name of the application, etc.) in the split-screen waiting area based on the top-bottom split-screen mode, and display the icon of the split-screen application or the interface of the application on the display screen.
[0130] In some embodiments, when the information of Application 1 is displayed in the split-screen waiting area, one or more application icons are displayed in a partial area of the display screen (which may be referred to as the icon display area), and the one or more application icons include the icon of Application 2. The electronic device 100 can receive and respond to the user's operation on the icon of Application 2 in the icon display area, divide the display screen into an upper split-screen area and a lower split-screen area based on the upper and lower split-screen mode, and display the interface of one of the split-screen applications (for example, Application 1) in the upper split-screen area, and display the interface of the other split-screen application (for example, Application 2) in the lower split-screen area.
[0131] In other embodiments, when the information of application 1 is displayed in the split-screen waiting area, the interfaces of one or more applications (or thumbnails of the interfaces) are displayed in a partial area of the display screen. The user can select the application interface to be split with application 1 from these one or more application interfaces, and then split the screen up and down based on the user's selection.
[0132] It should be noted that when the split-screen mode to be executed is the top-bottom split-screen mode, the split-screen waiting area can be located above or below the display screen; when the split-screen mode to be executed is the left-right split-screen mode, the split-screen waiting area can be located on the left or right side of the display screen, etc. The split-screen waiting area can be displayed over the icon display area, or it can be an area on the display screen that does not overlap with the icon display area.
[0133] In other embodiments, in response to the user sliding application 1 upward, application 1 and application 2 can be directly displayed in split screen. Application 2 can be an application set by the user, or an application opened before application 1, or an application related to application 1, etc.
[0134] In some embodiments, the electronic device 100 may determine whether the device form of the electronic device 100 is a horizontal screen display based on devices such as a gyroscope and an acceleration sensor.
[0135] In this way, when the electronic device 100 is in a horizontal screen display, the electronic device 100 can quickly determine the upper and lower split-screen mode corresponding to the horizontal screen display, thereby improving the split-screen efficiency while enhancing the user experience.
[0136] Exemplarily, as shown in FIG2A , the device form of the electronic device 100 is a horizontal screen display. The electronic device 100 displays a desktop 200, which displays a page with application icons, and the page includes multiple application icons (for example, a browser application icon 208, a game application icon 205, a weather application icon, a video application icon 204, a voice assistant application icon, a chat application icon 206, a map application icon, a gallery application icon 207, a settings application icon, etc.). Optionally, a page indicator 203 is also displayed below the page with application icons to indicate the total number of pages on the desktop and the positional relationship between the currently displayed page and other pages. For example, the desktop 200 may include four pages, and the black dots in the page indicator are located at the first and second positions from the left, which may indicate that the currently displayed pages are the first two pages from the left of the four pages. Optionally, a status bar 201 is also displayed above the page with application icons, and the status bar 201 may include information such as the strength indicator of the communication signal, the battery value, and the time. Further optionally, there may be a tray (dock) area 202 below the page indicator, and the dock area 202 may include one or more tray icons (for example, a dial application icon, a message application icon, an address book application icon, a camera application icon, etc.), and one or more tray icons in the dock area may remain displayed when the page is switched.
[0137] The electronic device 100 may receive and, in response to a user operation (eg, a single-click operation) on the video application icon 204 , display the video application interface 210 as shown in FIG. 2B .
[0138] As shown in Figure 2B, the video application interface 210 may include a search bar 211, a search control 212, an option bar 213, and one or more video playback controls (e.g., video playback control 214, video playback control 215, etc.). Among them, the search bar 211 can be used to display the user's input to the search bar 211, and the search control 212 can be used to trigger the electronic device 100 to initiate a search for the content displayed in the search bar 211 and display the search results. The option bar 213 may include one or more option controls, such as: live broadcast options, recommended options, popular options, film and television options, game options, movie options, short video options, follow-up options, sports options, hot options, etc. Each option control in the option bar 213 can be used to trigger the electronic device 100 to display one or more video playback controls corresponding to the option control in the video application interface 210. The video playback control 214 or the video playback control 215 can be used to trigger the electronic device 100 to play the video corresponding to the video playback control.
[0139] The electronic device 100 may receive and respond to a user operation on the video playback control 215 to display a video playback interface 220 as shown in FIG. 2C .
[0140] As shown in Figure 2C, the video playback interface 220 may include a return control 221, a video playback window 222, a video title 223, a full-screen control 224, and a comment area 225. Among them, the return control 221 can be used to trigger the electronic device 100 to display the previous interface, that is, the video application interface 210. The video playback window 222 can display a video that is being played or to be played. The aspect ratio of the video (that is, the ratio of the horizontal length to the vertical length) is greater than the preset value, and it is a horizontal video. The full-screen control 224 can be used to trigger the electronic device 100 to play the video in full-screen playback mode. The comment area 225 can be used to display one or more comments. The video title 223 can be used to prompt the title of the video played in the video playback window 222, such as "Once a day, goodbye troubles". It should be noted that in this embodiment of the present application, the display size of the video is the same as the size of the video playback window corresponding to the video.
[0141] The electronic device 100 may receive and respond to a user operation on the full-screen control 224 to display a full-screen playback interface 230 as shown in FIG. 2D .
[0142] As shown in Figure 2D, the device form of the electronic device 100 is a horizontal screen display. The full-screen playback interface 230 may include a video playback window 231 and an exit full-screen control 232. After the video is switched from non-full-screen playback mode to full-screen playback mode, the display area of the video changes, and the display size of the video playback window also changes accordingly. Among them, the aspect ratio of the video playback window 231 can be the same as the aspect ratio of the video playback window 222 in the embodiment shown in Figure 2C above. The display size of the video playback window 231 can be the display size obtained after the display size of the video playback window 222 is enlarged at a specific ratio (for example, 1:2.3), and the display size of the video playback window 231 can be smaller than the size of the display screen of the electronic device 100. As shown in Figure 2D, if the vertical size of the video playback window 231 is smaller than the vertical size of the display screen, then in the full-screen playback interface 230, the electronic device 100 can display black borders on the upper and lower sides of the video playback window 231. The exit full-screen control 232 can be used to trigger the electronic device 100 to switch from the full-screen playback interface 230 to the video playback interface 220 shown in Figure 2C, that is, to switch from the full-screen playback mode to the non-full-screen playback mode. In other embodiments, the logic for changing the video display size can also refer to the relevant description after the embodiment shown in Figure 2I, which is not described in detail here.
[0143] In some embodiments, the electronic device 100 can receive and respond to the user's operation of sliding upward from the bottom edge of the display screen, determine the executable split-screen modes including the top-bottom split-screen mode and the full-screen plus floating window mode based on the current device form (horizontal screen display), and display the split-screen mode selection interface 240 as shown in Figure 2E.
[0144] As shown in Figure 2E, the split-screen mode selection interface 240 may include an application window 243 and one or more split-screen mode controls, such as an upper and lower split-screen mode control 241 and a full-screen plus floating window mode control 242. Among them, the application window 243 can move along the trajectory of the user sliding upward from the lower edge of the display screen. The application window 243 can also be used to prompt that the application corresponding to the application window 243 is a video application. In the process of the application window 243 following the user's operation, what is displayed in the application window 243 may be a frame of image in the video, or a video application icon. In other embodiments, the application window 243 may also display a playing video, which is not limited in this application.
[0145] It should be noted that the split-screen modes corresponding to one or more split-screen mode controls displayed in the split-screen mode selection interface 240 are all split-screen modes that can be executed by the electronic device 100 in horizontal screen display. For example, if the electronic device 100 can support the top-bottom split-screen mode and the full-screen plus floating window mode in the horizontal screen scenario, and does not support the left-right split-screen mode, then as shown in Figure 2E, the top-bottom split-screen mode control 241 and the full-screen plus floating window mode control 242 can be displayed in the split-screen mode selection interface 240, without displaying the left-right split-screen mode control.
[0146] One or more split-screen mode controls displayed in the split-screen mode selection interface 240 can be used to trigger the electronic device 100 to execute the split-screen mode corresponding to the split-screen mode control. Specifically, the electronic device 100 can determine the split-screen mode to be executed based on whether the distance between the application window 243 and the split-screen mode control is less than a preset distance. In some embodiments, the electronic device 100 can also determine the split-screen mode to be executed based on the movement direction of the application window 243.
[0147] During the movement of the application window 243 following the user's operation, when the electronic device 100 detects that the distance between the application window 243 and the upper and lower split-screen mode controls 241 is less than a preset distance (for example, 5 cm), the electronic device 100 can display the split-screen mode display interface 250 as shown in Figure 2F.
[0148] As shown in Figure 2F, the split-screen mode display interface 250 may include a split-screen hot zone 251 and an application window 243. Among them, the split-screen hot zone 251 is the upper half of the display screen, and the split-screen hot zone 251 can be used to prompt that the split-screen mode to be executed is the upper and lower split-screen mode. In other embodiments, if the split-screen mode is different from the embodiment shown in Figure 2F, the split-screen area may also be an area different from the split-screen hot zone 251 shown in Figure 2F, and this application does not limit this. The specific content of the application window 243 can refer to the corresponding content in the embodiment shown in Figure 2E above, and will not be repeated here.
[0149] After the application window 243 moves to the split-screen hot zone 251 following the user's sliding operation, in response to the user's release operation, the electronic device 100 can display the to-be-split-screen interface 260 as shown in FIG. 2G .
[0150] As shown in Figure 2G, the split-screen interface 260 may include a split-screen waiting area 261 and an icon display area 262. The split-screen waiting area 261 may be displayed over the icon display area 262 and located above or below the display screen, for prompting that the split-screen mode to be executed is the top-bottom split-screen mode. In other embodiments, the display screen of the electronic device 100 may also be divided into non-overlapping split-screen waiting areas 261 and icon display areas 262 based on the split-screen mode to be executed. The split-screen waiting area 261 may also be located above or below the display screen, for prompting that the split-screen mode to be executed is the top-bottom split-screen mode. Among them, the split-screen waiting area 261 is used to prompt the user that the split-screen application includes a video application. The split-screen waiting area 261 may display information about the video application, and the information about the video application may include any one or more of the following: the name of the video application, the application icon, all or part of the screen of the full-screen playback interface 230 shown in Figure 2D above, and some elements of the full-screen playback interface 230 (such as the title of the video, etc.). For example, as shown in FIG2G , the split-screen waiting area 261 may display a portion of the video being played in the full-screen playback interface 230. The icon display area 262 may be used to display one or more application icons, including the game application icon 205, etc. In some embodiments, the icon display area 262 may display the desktop 200 shown in FIG2A .
[0151] The electronic device 100 may receive and respond to a user's operation on the game application icon 205 in the icon display area 262 to display a top-bottom split-screen interface 270 as shown in FIG. 2H .
[0152] As shown in Figure 2H, the top-bottom split-screen interface 270 may include an upper split-screen area 271 and a lower split-screen area 272. The upper split-screen area 271 is the upper portion of the display screen, and the lower split-screen area 272 is the lower portion of the display screen. The display size of the upper split-screen area 271 and the display size of the lower split-screen area 272 may be the same or different. The upper split-screen area 271 may display the interface of a video application, such as the full-screen playback interface 230 shown in Figure 2D above; the lower split-screen area 272 may display the interface of a game application. The aspect ratio of the video displayed in the upper split-screen area 271 may be the same as the aspect ratio of the video in the embodiment shown in Figure 2C above. The display size of the video playback window in the upper split-screen area 271 may be the display size obtained by enlarging the display size of the video playback window 222 at a specific ratio (e.g., 1:2.3). When the electronic device 100 displays the top-bottom split-screen interface 270, the user can watch videos through the upper split-screen area 271 or play games through the lower split-screen area 272.
[0153] In some embodiments, if the electronic device 100 determines that the only executable split-screen mode is the top-bottom split-screen mode based on the mapping relationship between horizontal screen display and split-screen mode, the electronic device 100 may also display the split-screen mode display interface 250 shown in Figure 2F or display the to-be-split-screen interface 260 shown in Figure 2G, or display the to-be-split-screen interface 280 shown in Figure 2I.
[0154] In other embodiments, after the application window 243 moves to the split-screen hot zone 251 following the user's sliding operation, in response to the user's release operation, the electronic device 100 can display the to-be-split-screen interface 280 as shown in FIG. 2I .
[0155] As shown in Figure 2I, the interface 280 to be split can be divided into two upper and lower areas based on the split-screen mode to be executed (i.e., the upper and lower split-screen mode), namely the split-screen waiting area 281 and the icon display area 282. Among them, the split-screen waiting area 281 is used to prompt the user that the split-screen application includes a video application. The split-screen waiting area 281 can display an interface of a video application, such as a full-screen playback interface 230, and can also display other information of the video application. One or more application icons can be displayed in the icon display area 282, such as a game application icon 205, and so on. For other contents in the icon display area 282, please refer to the relevant description in the embodiment shown in Figure 2G above. The electronic device 100 can also receive and respond to the user's operation on the game application icon 205 in the icon display area 282, and display the upper and lower split-screen interface 270 as shown in Figure 2H.
[0156] Compared to the screen-to-be-split interface 260 shown in FIG2G , in the screen-to-be-split interface 280 , the split-screen waiting area 281 occupies a larger proportion of the display screen, and the split-screen waiting area 281 is more suitable for playing videos. Using the screen-to-be-split interface 280 shown in FIG2H , another application for splitting the screen can be determined in the icon display area 282 without affecting the video service provided by the video application. It will be understood that the embodiment shown in FIG2I is merely an example, and in the embodiments of the present application, the video application can also be replaced with other applications, and this application does not limit this.
[0157] It should be noted that in an embodiment of the present application, if the size of the display area of the video changes (for example, before and after split screen, before and after switching between full-screen playback mode and non-full-screen playback mode, etc.), the electronic device 100 can adjust the display size of the video based on the size of the display area after the change, so that the display size of the video is adapted to the size of its display area. In some embodiments, before and after the display area of the video changes, the electronic device 100 can keep the aspect ratio of the video unchanged, enlarge or reduce the display size of the video, and make the display size of the video adapted to the display area by displaying black borders (or blank areas) on the left and right sides or the top and bottom sides of the video. For example, when the video is a horizontal video (i.e., the aspect ratio of the video is greater than a preset value), the electronic device 100 can display black borders on the top and bottom sides of the video after the display area of the video changes; for another example, when the video is a vertical video (i.e., the aspect ratio of the video is less than a preset value), the electronic device 100 can display black borders on the left and right sides of the video after the display area of the video changes. In other embodiments, the electronic device 100 can also dynamically adjust the aspect ratio of the video according to the size of the video display area. It is understood that in the embodiments of the present application, for other elements such as game screens, slides (PPT), and conference windows, the electronic device 100 can also use a similar method to adjust the display size of the element after its display area changes, and the present application does not limit this. In the embodiments of the present application involving the corresponding change in the display size of the element before and after the display area of the element changes, the logic for changing the display size of the element can be referred to as described herein and will not be repeated below.
[0158] It can be understood that the embodiment shown in Figures 2A to 2I above is only an example. In the embodiment of the present application, the device form can also be other forms, application 1 can also be other applications besides video applications, and the split-screen mode can also be other split-screen modes (such as left and right split-screen mode, etc.). This application does not limit this.
[0159] By using the split-screen method provided in the embodiments of the present application, the split-screen mode to be executed can be determined after receiving a split-screen operation, which can simplify the split-screen steps and improve split-screen efficiency. In addition, one or more executable split-screen modes can be determined based on the current scene of the electronic device 100, and the appropriate split-screen mode can be matched for the current scene. This can also prevent the user from selecting a split-screen mode that is not executable in the current scene, thereby reducing time consumption and improving efficiency.
[0160] The split-screen method introduced in the following embodiment does not take into account the device form of the electronic device, but rather takes into account the display form of the content currently displayed by the electronic device.
[0161] In some embodiments, if the electronic device 100 displays the interface of application 1, and the interface of application 1 includes any one of the core elements such as video, conference, game (game elements), slides (PPT), photography (such as the viewfinder in the photography interface), video call (such as the video display window in the video call interface), then the electronic device 100 is in an immersive scene.
[0162] It should be noted that the core elements can be considered as the elements themselves, such as videos, games, and PPTs. In the operating system, these elements are often carried by windows, so the core elements can also be considered as the windows that carry these elements.
[0163] Immersive scenes include horizontal immersive scenes and vertical immersive scenes. When the display form of the core element is horizontal, the core element is a horizontal core element, and the display content of the electronic device 100 is in a horizontal immersive scene; when the display form of the core element is vertical, the core element is a vertical core element, and the display content of the electronic device 100 is in a vertical immersive scene. Among them, the display form of the core element can be determined according to the aspect ratio of the core element (i.e., the ratio of the horizontal length to the vertical length). For example, when the aspect ratio of the core element in the interface of application 1 is greater than a preset value (e.g., 1), the display form of the core element is horizontal; when the aspect ratio of the core element in the interface of application 1 is less than a preset value, the display form of the core element is vertical. In other embodiments, the display form of the core element can also be determined based on any one or more of the judgment criteria such as the preset application list, the called horizontal / vertical screen display interface, the positional relationship between the black borders on both sides of the core element and the core element, and the positional relationship between the blank areas on both sides of the core element and the core element. The specific judgment method can refer to the embodiment shown in Figure 11 below, which will not be described in detail here.
[0164] It should be noted that "immersive scene" is just a name given to facilitate the description and understanding of the solution, and does not limit this application. For example, it can also be called "playback scene", "viewing scene", etc.
[0165] The following is a schematic diagram of the split-screen interface in different immersive scenarios.
[0166] In some application scenarios, the electronic device 100 displays an interface 1 of application 1, and interface 1 includes a horizontal core element. The electronic device 100 can receive and respond to a user's split-screen operation (such as swiping upward from the bottom edge of the display screen, etc.), and determine based on interface 1 that the display content of the electronic device 100 is in a horizontal immersive scene. The electronic device 100 can determine that the split-screen mode to be executed is the top-bottom split-screen mode based on the mapping relationship between the horizontal immersive scene and the split-screen mode, and display information of application 1 (such as interface 1, a portion or element of interface 1, the icon of application 1 or the name of the application, etc.) in the split-screen waiting area based on the top-bottom split-screen mode, and display one or more application icons in the icon display area, wherein the one or more application icons include an icon for application 2. The electronic device 100 can receive and respond to a user's operation on the icon of application 2, and display the interface of one split-screen application (such as application 1) in the upper split-screen area of the display screen, and display the interface of the other split-screen application (such as application 2) in the lower split-screen area of the display screen.
[0167] In some other embodiments, reference may also be made to the split-screen method mentioned in the aforementioned embodiments, such as displaying multiple application interfaces or interface thumbnails, or directly splitting the screen with the default application, etc., which will not be repeated here.
[0168] In this way, when the interface 1 displays a horizontal core element, the electronic device 100 can quickly determine that the split-screen mode to be executed is the top-bottom split-screen mode, thereby improving the split-screen efficiency.
[0169] Exemplarily, as shown in FIG3A , the device form of the electronic device 100 is a vertical screen display, and the electronic device 100 displays a full-screen playback interface 300 of a video application, the full-screen playback interface 300 includes a video, and the display form of the video is a horizontal form. For other contents of the full-screen playback interface 300, reference can be made to the relevant description in the full-screen playback interface 230 shown in FIG2D above, which will not be repeated here. In other embodiments, the device form of the electronic device 100 may also be a horizontal screen display. The electronic device 100 can receive and respond to the user's operation of sliding upward from the bottom edge of the display screen, determine that the scene of the currently displayed content is a horizontal immersive scene based on the video in the full-screen playback interface 300, and display the split-screen mode selection interface 302 as shown in FIG3B , and the split-screen mode selection interface 302 includes upper and lower split-screen mode controls.
[0170] As shown in Figure 3B, the split-screen mode selection interface 302 may include an application window 302c and one or more split-screen mode controls, including a top-bottom split-screen mode control 302a. In some embodiments, the one or more split-screen mode controls may also include a full-screen plus floating window mode control 302b. Among them, the one or more split-screen mode controls can be used to prompt the user of one or more split-screen modes that can be executed in a horizontal immersive scene. For other contents of the split-screen mode selection interface 302, please refer to the relevant description in the embodiment shown in Figure 2E above, and will not be repeated here.
[0171] During the movement of the application window 302c following the user's operation, when the electronic device 100 detects that the distance between the application window 302c and the upper and lower split-screen mode controls 302a is less than a preset distance (for example, 5 cm) or detects that the two overlap, the electronic device 100 can display the split-screen mode display interface 303 as shown in Figure 3C.
[0172] Optionally, as shown in FIG3C , the split-screen mode display interface 303 may include a split-screen hot zone 303a and an application window 302c. The split-screen hot zone 303a is the upper half of the display screen, and the split-screen hot zone 303a may be used to prompt that the split-screen mode to be executed is the top-bottom split-screen mode. The specific content of the application window 302c may refer to the corresponding content in the embodiment shown in FIG3B above, and will not be repeated here. In some other embodiments, the split-screen hot zone may not be displayed.
[0173] After the application window 302c moves to the split-screen hot zone 303a following the user's sliding operation, in response to the user's release operation, the electronic device 100 can display the to-be-split-screen interface 310 as shown in FIG3D based on the upper and lower split-screen mode.
[0174] As shown in Figure 3D, the screen to be split interface 310 may include a split-screen waiting area 311 and an icon display area 312. The split-screen waiting area may display information about the video application, such as a portion of the video screen. For the specific content of the video application information, reference may be made to the relevant content in the embodiment shown in Figure 2G above. The icon display area 312 may display one or more application icons, for example, the game application icon 205. In some embodiments, the icon display area 312 may display the desktop 200 shown in Figure 2A above. The positional relationship between the split-screen waiting area 311 and the icon display area 312 may refer to the relevant description in the above embodiment.
[0175] In other embodiments, the icon display area 312 may also display other application information that can be used for split-screen, such as a list of already started applications, application interface thumbnails, applications associated with the video application, and the like.
[0176] The electronic device 100 can receive and respond to the user's operation on the game application icon 205, and display the upper and lower split screen interface 320 as shown in Figure 3E based on the upper and lower split screen mode. The upper and lower split screen interface 320 can be used to split the screen to display the interface of the video application and the interface of the game application.
[0177] As shown in Figure 3E, the upper and lower split-screen interface 320 may include an upper split-screen area 321 and a lower split-screen area 322. The upper split-screen area 321 is the upper area of the display screen in the vertical screen display state, and the lower split-screen area 322 is the lower area of the display screen in the vertical screen display state. The sizes of the upper split-screen area and the lower split-screen area may be the same or different. The upper split-screen area 321 may display the interface of a video application, such as the full-screen playback interface 300 displayed by the video application when a split-screen operation is received. The lower split-screen area 322 may display the interface of a game application.
[0178] It can be understood that the embodiment shown in Figures 3A to 3E is only an example. In the embodiment of the present application, application 1 can also be an application other than a video application (such as a conference application, a slide application, etc.), application 2 can also be an application other than a game application, and the device form of the electronic device 100 can also be a horizontal screen display form. This application does not limit this.
[0179] In other application scenarios, if the electronic device 100 displays the interface 1 of application 1, and the interface of application 1 includes vertical core elements. The electronic device 100 can receive and respond to the user's split-screen operation (such as sliding upward from the bottom edge of the display screen, etc.), and determine based on the interface 1 that the display content in the electronic device 100 is in a vertical immersive scene. The electronic device 100 can determine that the split-screen mode to be executed is the left-right split-screen mode based on the mapping relationship between the vertical immersive scene and the split-screen mode, and display the information of application 1 (such as interface 1, part of the screen or element of interface 1, the icon of application 1 or the name of the application, etc.) in the split-screen waiting area based on the left-right split-screen mode, and display one or more application icons (including the icon of application 2) in the icon display area. The electronic device 100 can receive and respond to the user's operation on the icon of application 2, and display the interface of one split-screen application (such as application 1) in the left split-screen area based on the left-right split-screen mode, and display the interface of another split-screen application (such as application 2) in the right split-screen area. Other implementation methods can refer to the above and will not be repeated here.
[0180] For example, as shown in FIG3F , the electronic device 100 is in landscape orientation, and displays a full-screen playback interface 330 for a video application. Full-screen playback interface 330 displays a video 331, which is a vertical video. For other details about full-screen playback interface 330, please refer to the description of full-screen playback interface 230 shown in FIG2D , and will not be repeated here.
[0181] The electronic device 100 can receive and respond to the user's operation of sliding upward from the bottom edge of the display screen, determine that the scene of the currently displayed content is a vertical immersive scene based on the vertical video in the full-screen playback interface 330, and display the split-screen mode selection interface 332 as shown in Figure 3G, where the split-screen mode selection interface 302 includes left and right split-screen mode controls.
[0182] Optionally, as shown in Figure 3G, the split-screen mode selection interface 332 may further include an application window 332c and one or more split-screen mode controls, including a left and right split-screen mode control 332a. In some embodiments, the one or more split-screen mode controls may further include a full-screen plus floating window mode control 332b. Among them, the one or more split-screen mode controls may be used to prompt one or more split-screen modes that can be executed in a horizontal immersive scene. For other contents of the split-screen mode selection interface 332, please refer to the relevant description in the embodiment shown in Figure 2E above, and will not be repeated here.
[0183] During the movement of the application window 332c following the user operation, when the electronic device 100 detects that the distance between the application window 332c and the left and right split-screen mode controls 332a is less than the preset distance or there is overlap, the electronic device 100 can display the split-screen mode display interface 333 as shown in Figure 3H.
[0184] Optionally, as shown in FIG3H , the split-screen mode display interface 333 may include a split-screen hotspot 333a and an application window 332c. The split-screen hotspot 333a is the left half of the display screen, and the split-screen hotspot 333a may be used to indicate that the split-screen mode to be executed is the left-right split-screen mode. The specific content of the application window 332c may refer to the corresponding content in the embodiment shown in FIG3G above, and will not be repeated here.
[0185] After the application window 332c moves to the split-screen hot zone 333a following the user's sliding operation, in response to the user's release operation, the electronic device 100 can display the to-be-split-screen interface 340 as shown in FIG. 3I based on the left-right split-screen mode.
[0186] As shown in FIG3I , the screen-to-be-split interface 340 may include a split-screen waiting area 341 and an icon display area 342. The split-screen waiting area 341 may be located on the left or right side of the display screen. The split-screen waiting area 341 may be displayed overlying the icon display area 342. In other embodiments, the split-screen waiting area 341 may be two areas on the display screen that do not overlap with the icon display area 342. For other detailed descriptions of the split-screen waiting area 341 and the icon display area 342, reference may be made to the relevant descriptions in the above embodiments.
[0187] The electronic device 100 can receive and respond to the user's operation on the chat application icon 206, and display the left-right split screen interface 350 as shown in Figure 3J based on the left-right split screen mode. The left-right split screen interface 350 can be used to simultaneously display the interface of the video application and the interface of the chat application in split screen.
[0188] As shown in FIG3J , the left-right split-screen interface 350 may include a left split-screen area 351 and a right split-screen area 352. The left split-screen area 351 is the left portion of the display screen, and the right split-screen area 352 is the right portion of the display screen. The left and right split-screen areas may be the same size or different sizes. The left split-screen area 351 may display the interface of a video application, which may be the full-screen playback interface 330 shown in FIG3F . The right split-screen area 352 may display the interface of a chat application.
[0189] It can be understood that the embodiment shown in Figures 3F to 3J is only an example. In the embodiment of the present application, application 1 can also be an application other than a video application (such as a conference application, a slide application, etc.), application 2 can also be an application other than a chat application, and the device form of the electronic device 100 can also be a vertical screen display form. This application does not limit this.
[0190] This application uses a foldable screen electronic device as an example of a split-screen scenario. It should be understood that non-foldable screen electronic devices can also implement split-screen. The physical appearance of the foldable screen in the drawings of this application is only an example and this application does not limit it.
[0191] In some embodiments, the electronic device 100 displays interface 1 of application 1, which includes core elements, and the core elements are not in full-screen mode (for example, full-screen playback mode of video, slide show mode of PPT, etc.). Then, the electronic device can automatically put the core elements that were not in full-screen mode before splitting the screen into full-screen mode after splitting the screen.
[0192] In some embodiments, the full-screen mode of an interface element in split-screen mode means that the element occupies the entire area of one of the split-screen windows, or it can also be understood that the element is displayed at the maximum display size within the area it can occupy. For example, after splitting the screen, the video playback window occupies the entire area of one of the split-screen windows in split-screen mode, or it can be understood that after splitting the screen, the video playback window is displayed at the maximum display size in one of the split-screen windows. Other elements such as PPT, conferences, and video calls can be understood with reference to the video.
[0193] Specifically, in some embodiments, the electronic device 100 can receive and respond to a user's split-screen operation (such as an operation of sliding upward from the bottom edge of the display screen, etc.), determine the split-screen mode to be executed based on the interface 1 of application 1, and display the information of application 1 (such as interface 1, a partial screen or element of interface 1, the icon of application 1 or the name of the application, etc.) in the split-screen waiting area based on the split-screen mode to be executed, and display one or more application icons (including the icon of application 2) in the icon display area. The electronic device 100 can receive and respond to a user's operation on the icon of application 2 in the icon display area, display the interface 2 of application 1 in area 1 based on the split-screen mode to be executed, and display the interface of application 2 in area 2. In the interface 2 of area 1, the core elements are in full-screen mode.
[0194] In some embodiments, the maximum display size of the core element in interface 2 may be the size of the display area corresponding to application 1. For example, when area 1 corresponding to interface 2 is the entire area on the display screen, the maximum display size of the core element in interface 2 may be the size of the display screen; when area 1 corresponding to interface 2 is the upper half of the display screen, the maximum display size of the core element in interface 2 may be the size of the upper half.
[0195] In some embodiments, if the core element is regarded as the element itself, if the aspect ratio of the core element in interface 1 and interface 2 needs to remain unchanged, then in interface 2, the maximum display size of the core element can also be the same as the horizontal side of area 1, and the vertical side is slightly smaller than the vertical side of area 1, or the vertical side is the same as the vertical side of area 1, and the horizontal side is slightly smaller than the horizontal side of area 1. In this case, the upper and lower sides (or left and right sides) of the core element in area 1 can be displayed with black borders or blank areas. The maximum display size of the core element in interface 1 can also refer to the above content and will not be repeated here. For example, if the core element is a video, then after splitting the screen, black borders can be added to the left and right sides or the upper and lower volumes of the video according to the requirements of the aspect ratio of the video. In other embodiments, if the core element is regarded as a video playback window, then the core element is still in the maximized size mode after splitting the screen.
[0196] For example, as shown in FIG3K , the electronic device 100 displays a video playback interface 360 of a video application. The video playback interface 360 may include a video playback window 360a. The video playback window 360a may display a video that is being played or to be played, and the video is displayed in a horizontal format. The video playback interface 360 may also include other content such as a comment area and a title, which will not be described in detail here. In the video playback interface 360, the video is in windowed playback mode, not full-screen playback mode.
[0197] The electronic device 100 may receive and respond to a user swiping upward from the bottom edge of the display screen to display a split-screen mode selection interface and / or a split-screen mode display interface. The specific contents of these two interfaces may refer to the above-mentioned related embodiments. In other embodiments, the electronic device 100 may also respond to a user swiping upward from the bottom edge of the display screen to determine that the split-screen mode to be executed is a top-bottom split-screen mode based on the display form of the video, and display a to-be-split-screen interface 361 as shown in FIG3L based on the top-bottom split-screen mode.
[0198] As shown in Figure 3L, the screen-to-be-split interface 361 may include a split-screen waiting area 361a and an icon display area 361b. The split-screen waiting area 361a may be located above or below the display screen. The icon display area 361b may occupy all or part of the display screen. The split-screen waiting area 361a may be displayed over the icon display area 361b. In other embodiments, the split-screen waiting area 341 may also be two areas that do not overlap with the icon display area 342. For other specific descriptions of the split-screen waiting area 361a and the icon display area 361b, reference may be made to the relevant descriptions in the above embodiments.
[0199] The electronic device 100 can receive and respond to the user's operation on the game application icon 205, and display the upper and lower split screen interface 362 as shown in Figure 3M based on the upper and lower split screen mode. The upper and lower split screen interface 362 can be used to simultaneously display the interface of the video application and the interface of the game application in split screen.
[0200] As shown in Figure 3M, the upper and lower split-screen interface 362 may include an upper split-screen area 362a and a lower split-screen area 362b. The upper split-screen area 362a is the upper portion of the display screen, and the lower split-screen area 362b is the lower portion of the display screen. The upper and lower split-screen areas may be the same size or different in size. The upper split-screen area 362a may display the interface of a video application, in which the video is played in full-screen mode. The lower split-screen area 362b may display the interface of a game application.
[0201] As another example, as shown in FIG3N , electronic device 100 displays a slide browsing interface 370 of a slideshow (PPT) application. Slide browsing interface 370 can display one or more PPTs, including PPT elements 370a and 370b. PPT elements 370a and 370b are both displayed in landscape orientation and are not displayed in full-screen mode (e.g., slide show mode) in slide browsing interface 370.
[0202] The electronic device 100 may receive and respond to a user swiping upward from the bottom edge of the display screen to display a split-screen mode selection interface and / or a split-screen mode display interface. The specific contents of these two interfaces may refer to the above-mentioned related embodiments. In other embodiments, the electronic device 100 may also respond to a user swiping upward from the bottom edge of the display screen to determine that the split-screen mode to be executed is a top-bottom split-screen mode based on the display form of the PPT element 370a, and display a to-be-split-screen interface 371 as shown in FIG. 3O based on the top-bottom split-screen mode.
[0203] As shown in FIG3O , the screen-to-be-split interface 371 may include a split-screen waiting area 371a and an icon display area 371b. The split-screen waiting area 371a may display all or part of the PPT element 370a, and the icon display area 371b may display one or more application icons, including the chat application icon 206. The split-screen waiting area 371a may be located above or below the display screen, and the icon display area 371b may occupy all or part of the display screen. The positional relationship between the split-screen waiting area 371a and the icon display area 371b may refer to the relevant description of the embodiment shown in FIG3L above.
[0204] The electronic device 100 can receive and respond to the user's operation on the chat application icon 206, and display the upper and lower split screen interface 372 as shown in Figure 3P based on the upper and lower split screen mode. The upper and lower split screen interface 372 can be used to simultaneously display the interface of the PPT application and the interface of the chat application in split screen.
[0205] As shown in Figure 3P, the upper and lower split-screen interface 372 may include an upper split-screen area 372a and a lower split-screen area 372b. The upper split-screen area 372a is the upper area of the display screen, and the lower split-screen area 372b is the lower area of the display screen. The sizes of the upper split-screen area and the lower split-screen area may be the same or different. The upper split-screen area 372a may display the interface of a PPT application, which includes a PPT element 370a. In this interface, the PPT element 370a is displayed in full-screen mode. Moreover, in the upper split-screen area 372a, the PPT is in a projection state, that is, the electronic device 100 can switch the PPT element displayed in the upper split-screen area 372a in response to the user's operation on the PPT element 370a. The lower split-screen area 372b may display the interface of a chat application.
[0206] As another example, as shown in FIG3Q , electronic device 100 displays a conference application conference window interface 380 . Conference window interface 380 may display a conference window 380a , which is not displayed in full-screen mode. Conference window interface 380 may also display other content, such as member chat logs 380b . Conference window 380a is displayed in landscape orientation.
[0207] The electronic device 100 can receive and respond to a user swiping upward from the bottom edge of the display screen to display a split-screen mode selection interface and a split-screen mode display interface. The specific contents of these two interfaces can refer to the above-mentioned related embodiments. In other embodiments, the electronic device 100 can also respond to a user swiping upward from the bottom edge of the display screen to determine that the split-screen mode to be executed is a top-down split-screen mode based on the display form of the conference window 380a, and display the to-be-split-screen interface 381 shown in Figure 3R based on the top-down split-screen mode.
[0208] As shown in FIG3R , the screen-to-be-split interface 381 may include a split-screen waiting area 381a and an icon display area 381b. The split-screen waiting area 381a may display all or part of the conference window 380a, and the icon display area 371b may display one or more application icons, including the chat application icon 206. The split-screen waiting area 381a may be located above or below the display screen, and the icon display area 381b may occupy all or part of the display screen. The positional relationship between the split-screen waiting area 381a and the icon display area 381b may refer to the relevant description of the embodiment shown in FIG3L above.
[0209] The electronic device 100 can receive and respond to the user's operation on the chat application icon 206, and display the upper and lower split screen interface 382 as shown in Figure 3S based on the upper and lower split screen mode. The upper and lower split screen interface 382 can be used to simultaneously display the interface of the conference application and the interface of the chat application in split screen.
[0210] As shown in Figure 3S, the upper and lower split-screen interface 382 may include an upper split-screen area 382a and a lower split-screen area 382b. The upper split-screen area 382a is the upper area of the display screen, and the lower split-screen area 382b is the lower area of the display screen. The sizes of the upper split-screen area and the lower split-screen area may be the same or different. The upper split-screen area 382a may display the interface of a conference application, which includes a conference window 380a, and in this interface, the conference window 380a is in full-screen mode. The lower split-screen area 382b may display the interface of a chat application. Optionally, the conference window 380a may also be switched to the chat record 380b of the members in the meeting.
[0211] It is understandable that the embodiments shown in Figures 3K to 3M, the embodiments shown in Figures 3N to 3P, and the embodiments shown in Figures 3Q to 3S are merely illustrative. When the interface 1 of application 1 includes a core element in a non-full-screen mode, in response to the user's split-screen operation, the electronic device 100 can display the core element in full-screen mode in the split-screen area corresponding to application 1 when displaying the interfaces of application 1 and application 2 in split screen. In the embodiments of the present application, the device form can also be a form other than horizontal screen display, the display form of the core elements in the interface 1 of application 1 can also be vertical display, the split-screen mode can also be other split-screen modes, and application 1 and application 2 can also be other applications (such as conference applications, slide applications, etc.), which are not limited in this application.
[0212] In other embodiments, if the interface 1 of application 1 includes a game screen, and the game screen is not in full-screen mode, then after receiving a split-screen operation from the user on the interface 1, the electronic device 100 may also display the game screen in full-screen mode in area 1 when displaying the interface of application 1 in area 1. The specific steps are similar to those described in the embodiments shown in Figures 3K to 3S above and are not repeated here.
[0213] In some embodiments, the electronic device 100 can determine the position relationship (also written as split-screen position in this application) of the interfaces of the multiple split-screen applications when displayed in split screen based on the split-screen mode to be executed and the type of each split-screen application in the multiple split-screen applications.
[0214] In some embodiments, the types of applications may include interactive and browsing types. The classification criteria for application types may be determined based on the frequency of user interaction with the application. For example, if the user's interaction frequency with an application is greater than a preset frequency (e.g., 5 times / minute, or 10 times / minute, etc.), the application is an interactive application; if the user's interaction frequency with the application is less than the preset frequency, the application is a browsing application. It should be noted that the split-screen mode to be executed may be determined based on the method described in the above embodiment, or may be determined based on other methods (e.g., based on the user's split-screen operation), and this application does not limit this.
[0215] In some embodiments, the application type can be obtained through information preset in the system. For example, a list of interactive applications is preset in the system. If an application is in the list, the application is determined to be an interactive application. Alternatively, the application type can also be determined by obtaining information about the application, for example, obtaining the name, provider, and other information of an application, and using this information to determine which type of application the application belongs to. Alternatively, the application type can also be determined by obtaining elements in the application interface. For example, if there is a chat window in an application interface, the application is determined to be an interactive application. If it is the same application but there is a video window in the switched interface, the application can be determined to be a browsing application.
[0216] In some embodiments, after receiving a split-screen operation from the user on interface 1 of application 1, the electronic device 100 determines that the split-screen mode to be executed is the top-bottom split-screen mode, and displays information about application 1 (e.g., interface 1, a portion or element of interface 1, the icon of application 1 or the name of the application, etc.) in the split-screen waiting bar, and displays an icon for application 2 in the icon display area. Application 1 and application 2 are of the same type (both browsing type or both interactive type). The electronic device 100 can receive and respond to the user's operation on the icon of application 2, display the interface of application 1 in the upper split-screen area of the display screen, and display the interface of application 2 in the lower split-screen area of the display screen.
[0217] Exemplarily, as shown in FIG4A , the electronic device 100 displays a screen-to-be-split interface 400, which may include a split-screen waiting area 401 and an icon display area 402. The split-screen waiting area 401 displays information about game applications, such as application icons for game applications, etc., to prompt the user that the split-screen applications include game applications. The icon display area 402 displays one or more application icons, such as a video application icon 204, a chat application icon 206, and the like. The split-screen waiting area 401 is located in the area above the display screen, and is used to prompt the user that the split-screen mode to be executed is an upper and lower split-screen mode. For other contents of the screen-to-be-split interface 400, reference can be made to the relevant description in the embodiment shown in FIG2G above, which will not be repeated here.
[0218] The electronic device 100 can receive and respond to the user's operation on the chat application icon 206 in the icon display area 402, determine that the split-screen application also includes a chat application, and display the upper and lower split-screen interface 410 as shown in Figure 4B based on the type of game application and the type of chat application.
[0219] As shown in FIG4B , upper and lower split-screen interface 410 may include an upper split-screen area 411 and a lower split-screen area 412. Upper split-screen area 411 is the upper portion of the display screen, and lower split-screen area 412 is the lower portion of the display screen. The display size of upper split-screen area 411 and lower split-screen area 412 may be the same or different. The game application interface is displayed in upper split-screen area 411, and the chat application interface is displayed in lower split-screen area 412.
[0220] It should be noted that since both game applications and chat applications are interactive applications, the electronic device 100 can display the application interface that is first determined as a split-screen application (i.e., game application) in the upper split-screen area 411, and display the application interface that is later determined as a split-screen application (i.e., chat application) in the lower split-screen area 412 based on the determination order of the split-screen applications.
[0221] In other embodiments, after receiving a user's split-screen operation on interface 1 of application 1, the electronic device 100 determines that the split-screen mode to be executed is the top-bottom split-screen mode, and displays information about application 1 (e.g., interface 1, a portion or element of interface 1, the icon of application 1, or the name of the application, etc.) in the split-screen waiting bar, and displays an icon for application 2 in the icon display area. Application 1 is an interactive application, and application 2 is a browsing application. The electronic device 100 can receive and respond to the user's operation on the icon of application 2 by displaying the interface of application 1 in the lower split-screen area of the display screen and displaying the interface of application 2 in the upper split-screen area of the display screen.
[0222] As another example, as shown in FIG4C , the electronic device 100 displays a screen-to-be-split interface 400 . The specific content of the screen-to-be-split interface 400 can refer to the relevant description of the embodiment shown in FIG4A above, and will not be repeated here.
[0223] The electronic device 100 can receive and respond to the user's operation on the video application icon 204 in the icon display area 402, determine that another split-screen application is a video application, and display the upper and lower split-screen interface 420 as shown in Figure 4D based on the type of game application and the type of video application.
[0224] As shown in Figure 4D, the upper and lower split-screen interface 420 may include an upper split-screen area 421 and a lower split-screen area 422. Upper split-screen area 421 is the upper portion of the display screen, and lower split-screen area 422 is the lower portion of the display screen. The display size of upper split-screen area 421 and lower split-screen area 422 may be the same or different. The video application interface is displayed in upper split-screen area 421, and the game application interface is displayed in lower split-screen area 422.
[0225] It should be noted that since game applications are interactive applications and video applications are browsing applications, after determining that the split-screen mode to be executed is the top-bottom split-screen mode, the electronic device 100 can, based on a preset mapping relationship between application type and split-screen position, display the video application interface corresponding to the browsing application in the top split-screen area and display the game application interface corresponding to the interactive application in the bottom split-screen area 422. Automatically placing the interactive application in the user-friendly bottom split-screen area 422 can facilitate user interaction with the application and enhance the user experience.
[0226] In some embodiments, if application 1 is an interactive application, application 2 is a browsing application, and the split-screen mode to be executed is the left-right split-screen mode, when the split screen is displayed, the interface of application 2 can be displayed in the left part of the display screen (i.e., the left split-screen area), and the interface of application 1 can be displayed in the right part of the display screen (i.e., the right split-screen area). If application 1 and application 2 are of the same application type, application 1 is first determined to be a split-screen application, and the split-screen mode to be executed is the left-right split-screen mode. When the split screen is displayed, the interface of application 1 can be displayed in the left split-screen area, and the interface of application 2 can be displayed in the right split-screen area.
[0227] It should be noted that which type of application is placed in what position can be determined according to user settings, user habits, device holding status, etc. For example, in some embodiments, the user is accustomed to typing with his left hand, so the interactive application can always be automatically displayed in the split-screen area on the left when the left and right screens are split. It can be understood that the embodiments shown in Figures 4A to 4D are only exemplary illustrations, and the electronic device 100 can determine the positional relationship of the interfaces of the multiple split-screen applications when the split screen is displayed based on the types of the multiple split-screen applications. In other embodiments of the present application, the type of application may also include more types, the mapping relationship between the application type and the split-screen position may also include other mapping relationships, and the split-screen application may also be an application different from that in the above-mentioned embodiment, which is not limited in the present application.
[0228] By using the split-screen method provided in the embodiment of the present application, the positional relationship of the interfaces of the multiple split-screen applications when displayed in split screen can be determined based on the mapping relationship between the preset application type and the split-screen position, making it easier for users to operate interactive applications in the split-screen state.
[0229] In some application scenarios, the electronic device 100 displays the application interfaces of multiple split-screen applications (including application 1 and application 2) in a split-screen manner. In this case, the electronic device 100 can receive and respond to the user's operation of creating a combined icon, and display the combined icon on the desktop based on the multiple split-screen applications and the current split-screen mode. The combined icon can be used to trigger the electronic device 100 to display the application interfaces of the multiple split-screen applications in a split-screen manner. At this time, the split-screen mode adopted by the electronic device 100 is the same as the split-screen mode of the electronic device 100 when the operation of creating the combined icon is received, and the positional relationship of the application interfaces of the multiple split-screen applications (i.e., the split-screen position) is the same as the split-screen position when the combined icon is created.
[0230] For example, as shown in FIG5A , the electronic device 100 displays a top-bottom split-screen interface 500. The top-bottom split-screen interface 500 may include an upper split-screen area 501 and a lower split-screen area 502. The upper split-screen area 501 displays a video application interface, and the lower split-screen area 502 displays a game application interface. Furthermore, the top-bottom split-screen interface 500 also includes a menu control 503, which may be used to trigger the electronic device 100 to display a menu bar.
[0231] The electronic device 100 can receive and respond to the user's operation on the menu control 503, as shown in Figure 5B, and display a menu bar 504 on the upper and lower split screen interface 500.
[0232] As shown in Figure 5B, the menu bar 504 may include one or more entries, for example, a create combination icon entry 505, an adjust split screen ratio entry, an add split screen application entry, a change split screen mode entry, and the like. The create combination icon entry 505 can be used to trigger the electronic device 100 to create a combination icon based on the current split screen mode and multiple split screen applications. Other entries can be used to trigger the electronic device 100 to display corresponding setting options, for example, the adjust split screen ratio entry can be used to trigger the electronic device 100 to display multiple split screen ratio options, and the like. This is merely an example of how the menu bar 504 may include one or more entries, and this application does not limit the specific content of the one or more entries.
[0233] The electronic device 100 may receive and, in response to the user's operation for creating the combined icon entry 505 , display a combined icon creation interface 510 as shown in FIG. 5C .
[0234] As shown in FIG5C , the combined icon creation interface 510 may display a desktop. The specific contents of the desktop can be found in the detailed description of desktop 200 shown in FIG2A . Optionally, the combined icon creation interface 510 may also include a temporary waiting bar 511 and a combined icon 512. The temporary waiting bar 511 may be used to indicate to the user that the user is currently in a temporary waiting state. After the temporary waiting state ends, the electronic device 100 may redisplay the previous top-bottom split-screen interface 500. The temporary waiting bar 511 may also be used to indicate to the user that the previous split-screen mode was top-bottom split-screen mode, and that the split-screen applications include video applications and game applications, etc. The combined icon 512 may be an icon composed of a video application icon and a game application icon spliced together. In the combined icon 512, the vertical positional relationship of the video application icon and the game application icon is consistent with the positional relationship of the application interfaces in the top-bottom split-screen interface 500, i.e., the video application icon is above the game application icon. The combined icon 512 may also include a combined name, such as "Video|Game," to indicate to the user the names of the multiple applications corresponding to the combined icon. It should be noted that the display size of the combination icon 512 may be the same as the display size of other application icons, or may be larger than the display size of other application icons.
[0235] After the combination icon 522 is displayed in the combination icon creation interface 520, as shown in FIG5C , the electronic device 100 can move the combination icon 522 to a blank position in the combination icon creation interface 520. When the combination icon 522 is moved to the blank position, as shown in FIG5D , the electronic device 100 displays the combination icon 522 in the blank position using the same display size as other application icons. It should be noted that if the display size of the newly created combination icon 522 is larger than the display size of other application icons, then during the process of moving the combination icon 522 to the blank position in the combination icon creation interface 520, the electronic device 100 can gradually reduce the display size of the combination icon 522 until the display size of the combination icon 522 is the same as the display size of other application icons.
[0236] After the combination icon 522 is moved to a blank position on the combination icon creation interface 520 , the combination icon has been created. At this time, as shown in FIG. 5E , the electronic device 100 may redisplay the upper and lower split screen interface 500 .
[0237] In other embodiments, the electronic device 100 may also directly create a combination icon in a blank space on the desktop after detecting that the user clicks the “create combination icon” 505 function.
[0238] In some embodiments, the electronic device 100 may also automatically create a combination icon based on the current split-screen interface when it detects that the current split-screen interface meets specific conditions (for example, detecting that the display time of the split-screen interface is greater than a preset time, or detecting that the split-screen interface is used a preset number of times, etc.).
[0239] It can be understood that the embodiments shown in Figures 5A to 5E are only illustrative of the process of creating a combination icon. In the embodiments of the present application, the split-screen application may also be an application different from the above-mentioned embodiments, and the split-screen application may also include more applications. The split-screen mode when triggering the creation of a combination icon may also be other split-screen modes, which is not limited in this application.
[0240] By using the split-screen method provided in the embodiment of the present application, a combination icon can also be created based on the split-screen application and the current split-screen mode, so that the electronic device 100 can efficiently display the interfaces of multiple split-screen applications based on the split-screen mode and split-screen application corresponding to the combination icon.
[0241] After creating the combined icon, the electronic device 100 can efficiently display the application interfaces of the multiple split-screen applications in split-screen through the combined icon.
[0242] For example, as shown in FIG5F , the electronic device 100 may display a desktop 530 , which may include one or more application icons and a combination icon 522 . For other contents of the desktop 530 , reference may be made to the relevant description in the embodiment shown in FIG2A .
[0243] The electronic device 100 may receive and respond to the user's operation on the combination icon 522 to display the upper and lower split screen interface 540 as shown in FIG. 5G .
[0244] As shown in Figure 5G, the upper and lower split-screen interface 540 may include an upper split-screen area 541, a lower split-screen area 542, and a menu control 543. The upper split-screen area 541 is the upper area of the display screen, and the lower split-screen area 542 is the lower area of the display screen. Among them, a video application interface is displayed in the upper split-screen area 541, and a game application interface is displayed in the lower split-screen area 542. It should be noted that the video application interface displayed in the upper split-screen area 541 may be different from the video application interface displayed in the upper split-screen area 501 shown in Figure 5A. For example, as shown in Figure 5G, the video application interface displayed in the upper split-screen area 541 may be the main interface of the video application. In some embodiments, the video application interface displayed in the upper split-screen area 541 may also be the same as the video application interface displayed in the upper split-screen area 501 shown in Figure 5A. Similarly, the game application interface displayed in the lower split-screen area 542 may also be the same as or different from the game application interface displayed in the lower split-screen area 502 shown in Figure 5A, and this application is not limited thereto.
[0245] It is understood that the embodiments shown in Figures 5F to 5G are merely illustrative of how a combination icon can be used to trigger the electronic device 100 to display the split-screen interface corresponding to the combination icon. In the embodiments of the present application, Application 1 can also be an application other than a video application, Application 2 can also be an application other than a game application, and the split-screen interface can also be a left-right split-screen interface or other split-screen interface, and the present application does not limit this.
[0246] In some embodiments, the electronic device 100 displays multiple split-screen application interfaces in split-screen mode. If the electronic device detects a change in device form (for example, the electronic device 100 switches between landscape and portrait modes, or the display screen of the electronic device 100 is folded or unfolded, etc.), the electronic device 100 can determine the split-screen mode to be executed after the device form change based on the changed device form and the original split-screen mode. Devices such as gyroscopes and accelerometers in the electronic device 100 can be used to detect changes in the device form of the electronic device 100.
[0247] In some application scenarios, when the electronic device 100 changes from landscape display to portrait display, and the split-screen mode in the landscape display state is the top-bottom split-screen mode, the electronic device 100 can determine to maintain the split-screen mode before the device form changes based on the device form of the portrait display, that is, determine that the split-screen mode executed in the portrait display state is the top-bottom split-screen mode.
[0248] For example, as shown in FIG6A , electronic device 100 is in landscape orientation and displays a top-bottom split-screen interface 600. Top-bottom split-screen interface 600 may include an upper split-screen area 601 and a lower split-screen area 602. Upper split-screen area 601 is the upper portion of the display screen, and lower split-screen area 602 is the lower portion of the display screen. A video application interface is displayed in upper split-screen area 601, and a game application interface is displayed in lower split-screen area 602.
[0249] When the electronic device 100 detects that the user rotates the electronic device 100 90 degrees to the right, that is, detects the operation of switching the horizontal screen display to the vertical screen display, in response to the horizontal-to-vertical screen switching operation, the electronic device 100 can determine based on the changed device form (that is, vertical screen display) that the split-screen mode executed in the vertical screen display is the same as before the device form changes, that is, the top-bottom split-screen mode, and based on the top-bottom split-screen mode, display the top-bottom split-screen interface 610 as shown in Figure 6B.
[0250] As shown in FIG6B , the electronic device 100 is in portrait orientation and displays a top-bottom split-screen interface 610. Top-bottom split-screen interface 610 may include an upper split-screen area 611 and a lower split-screen area 612. Upper split-screen area 611 is the upper portion of the display screen, and lower split-screen area 612 is the lower portion of the display screen. The upper split-screen area 611 displays a video application interface, while the lower split-screen area 612 displays a game application interface.
[0251] In some application scenarios, when the electronic device 100 changes from a horizontal screen display to a folded state, the horizontal length of the folded display screen is smaller than the vertical length, and the split-screen mode in the horizontal screen display state is a left-right split-screen mode, the electronic device 100 can determine, based on the device form in the folded state, that the split-screen mode executed in the folded state is a top-bottom split-screen mode.
[0252] As another example, as shown in FIG6C , electronic device 100 is in landscape orientation and displays a left-right split-screen interface 620. Left-right split-screen interface 620 may include a left split-screen area 621 and a right split-screen area 622. Left split-screen area 621 is the left portion of the display screen, and right split-screen area 622 is the right portion of the display screen. A video application interface is displayed in left split-screen area 621, and a chat application interface is displayed in right split-screen area 622.
[0253] When the electronic device 100 detects that the user folds the display screen vertically (that is, the left and right edges of the display screen are overlapped with the boundary between the left and right split-screen areas as the axis), the electronic device 100 can determine that the split-screen mode in the folded state is the top-bottom split-screen mode based on the current device form (folded state), and display the top-bottom split-screen interface 630 as shown in Figure 6D.
[0254] As shown in FIG6D , electronic device 100 is in a state where the display screen is folded vertically, and electronic device 100 displays a top-bottom split-screen interface 630. Top-bottom split-screen interface 630 may include an upper split-screen area 631 and a lower split-screen area 632. Upper split-screen area 631 is the upper portion of the display screen, and lower split-screen area 632 is the lower portion of the display screen. The upper split-screen area 631 displays a video application interface, and the lower split-screen area 632 displays a chat application interface.
[0255] In some application scenarios, when the electronic device 100 changes from a horizontal screen display to a folded state, the horizontal length of the folded display screen is greater than the vertical length, and the split-screen mode in the horizontal screen display state is an upper and lower split-screen mode, the electronic device 100 can determine, based on the device form in the folded state, that the split-screen mode executed in the folded state is a full-screen plus floating window mode.
[0256] As another example, as shown in FIG6E , electronic device 100 is in landscape orientation and displays a top-bottom split-screen interface 640. Top-bottom split-screen interface 640 may include an upper split-screen area 641 and a lower split-screen area 642. Upper split-screen area 641 is the upper portion of the display screen, and lower split-screen area 642 is the lower portion of the display screen. A video application interface is displayed in upper split-screen area 641, and a chat application interface is displayed in lower split-screen area 642.
[0257] When the electronic device 100 detects that the user folds the display screen horizontally (that is, the upper and lower edges of the display screen are overlapped with each other with the boundary between the upper and lower split-screen areas as the axis), the electronic device 100 can determine that the split-screen mode corresponding to the current folded state is the full-screen plus floating window mode based on the current device form, and display the full-screen plus floating window interface 650 as shown in Figure 6F.
[0258] As shown in Figure 6F, the electronic device 100 is in a state where the display screen is folded horizontally, and the electronic device 100 displays a full-screen plus floating window interface 650. The full-screen plus floating window interface 650 may include a video application area 651 and an application floating window 652, wherein the video application area 651 may display the interface of a video application, such as a playing video, and the area of the video application area 651 is the same as the area of the folded display screen. The application floating window 652 may display a chat application interface, and the application floating window 652 is displayed over the upper right corner (or upper left corner, etc.) of the video application area 651.
[0259] In some application scenarios, when the electronic device 100 changes from a landscape display to a folded state, the horizontal length of the folded display screen is greater than the vertical length, and the split-screen mode in the landscape display state is a left-right split-screen mode, the electronic device 100 can determine, based on the device form in the folded state, that split-screen display is not supported in the folded state. The electronic device 100 can display the interface of one of the split-screen applications and display a floating ball, which is used to switch the interface of the currently displayed split-screen application to the interface of another split-screen application.
[0260] As another example, as shown in FIG6G , electronic device 100 is in landscape orientation and displays a top-bottom split-screen interface 660. Top-bottom split-screen interface 660 may include an upper split-screen area 661 and a lower split-screen area 662. Upper split-screen area 661 is the upper portion of the display screen, and lower split-screen area 662 is the lower portion of the display screen. A video application interface is displayed in upper split-screen area 661, and a game application interface is displayed in lower split-screen area 662.
[0261] If the electronic device 100 does not support split-screen in the folded state, when the electronic device 100 detects that the user has folded the display screen horizontally, the electronic device 100 determines based on the current device state that there is no corresponding split-screen mode. In this case, the electronic device 100 may display the non-split-screen interface 670 shown in Figure 6H.
[0262] As shown in Figure 6H, the electronic device 100 is in a state after the display screen is folded horizontally, and the electronic device 100 displays an unsplit screen interface 670. The unsplit screen interface 670 may include a video application area 671 and an application floating ball 672, wherein the video application area 671 may display the interface of a video application, such as a video being played, and the area of the video application area 671 is the same as the area of the display screen after folding. The application floating ball 672 may display a game application icon to prompt the user that the other split screen application is a game application in the split screen interface before folding. The application floating ball 672 may be displayed in the upper right corner (or upper left corner, etc.) of the video application area 671. The application floating ball 672 can also be used to trigger the electronic device 100 to display the interface of the game application in the folded display screen.
[0263] The electronic device 100 may receive and respond to a user operation on the application floating ball 672 to display the non-split screen interface 680 as shown in FIG. 6I .
[0264] As shown in Figure 6I, the electronic device 100 is in a state where the display screen is folded horizontally, and the electronic device 100 displays an unsplit screen interface 680. The unsplit screen interface 680 may include a game application area 681 and an application floating ball 682, wherein the game application area 681 may display the interface of the game application, and the area of the game application area 681 is the same as the area of the folded display screen. The application floating ball 682 may display a video application icon to prompt the user that the other split screen application is a video application in the split screen interface before folding. The application floating ball 682 may be displayed in the upper right corner (or upper left corner, etc.) of the game application area 681. The application floating ball 682 can also be used to trigger the electronic device 100 to display a video application interface in the folded display screen.
[0265] It is understood that the embodiments shown in Figures 6A to 6I are merely illustrative of how the electronic device 100 can adjust the split-screen mode based on the changed device form when the device form changes. In the embodiments of the present application, the split-screen application may be different from the above-described embodiments, and the mapping relationship between the changed device form and the split-screen mode may also be different from the above-described embodiments. This application does not limit this.
[0266] It should be noted that, in some embodiments, the changed device form may correspond to multiple split-screen modes. In this case, the electronic device 100 may determine the split-screen mode with the highest priority among the multiple split-screen modes as the split-screen mode to be executed after the device form changes based on the preset priorities of the split-screen modes. For example, the priorities of the split-screen modes from high to low may be: top-bottom split-screen mode, left-right split-screen mode, full-screen plus floating window mode, etc. In some embodiments, the priority may also be determined based on the split-screen mode before the device form changes (the original split-screen mode). For example, taking the original split-screen mode as the left-right split-screen mode as an example, the priorities of the split-screen modes from high to low may also be: left-right split-screen mode, top-bottom split-screen mode, full-screen plus floating window mode, etc. In other embodiments, the priority of the split-screen mode may also be determined based on the changed device form. For example, in the folded state, the priorities of the split-screen modes from high to low may be: top-bottom split-screen mode, full-screen plus floating window mode, left-right split-screen mode, etc. The embodiments here are only examples, and this application does not limit the specific order of priorities under different device forms.
[0267] In other embodiments, the electronic device 100 may also determine the scene in which the electronic device 100 is located after the device form changes based on the changed device form and the interface displayed by the split-screen application, and determine the split-screen mode to be executed based on the mapping relationship between the scene and the split-screen mode. This application does not limit this.
[0268] By adopting the split-screen method provided in the embodiment of the present application, the electronic device 100 can determine the split-screen mode after the form change based on the current scene and preset priority when detecting that the device form has changed, and can provide the user with a split-screen mode that is more compatible with the current form, providing the user with a good user experience.
[0269] In some embodiments, the electronic device 100 displays multiple split-screen application interfaces in split-screen mode. The electronic device 100 can receive and respond to a user's operation on a specific control (e.g., a full-screen control, an exit full-screen control) in one of the split-screen application interfaces to change the split-screen mode (e.g., changing the left-right split-screen mode to a top-and-bottom split-screen mode, changing the top-and-bottom split-screen mode to a full-screen plus floating window mode, etc.). The specific control can be used to change the interface layout of the split-screen application interface.
[0270] In some application scenarios, the electronic device 100 can display the interfaces of application 1 (such as a video application) and application 2 (such as a chat application) in split screen. The interface of application 1 includes a full-screen control, and the split-screen mode is a left-right split-screen mode. The full-screen control can be used to adjust the interface layout of application 1. The electronic device 100 can receive and respond to user operations on the full-screen control, change the interface layout of application 1, and adopt the top-bottom split-screen mode to display the interface of application 1 and the interface of application 2 in split screen.
[0271] Exemplarily, as shown in FIG7A , the electronic device 100 displays a left-right split-screen interface 700, which may include a left split-screen area 701 and a right split-screen area 702. The left split-screen area 701 is an area on the left side of the display screen, and the right split-screen area 702 is an area on the right side of the display screen. Among them, a video application interface is displayed in the left split-screen area 701. The specific content of the video application interface can refer to the video playback interface 220 shown in FIG2C above. In the video application interface, a video playback window 703 is displayed, and the video playback window 703 can be used to play videos. In the video application interface, a full-screen control 704 is also displayed, which can be used to trigger the electronic device 100 to expand the display size of the video playback window 703 to the maximum display size in the area occupied by the video application interface. A chat application interface can be displayed in the right split-screen area 702.
[0272] The electronic device 100 may receive and respond to a user's click operation on the full-screen control 704 to display a top-bottom split-screen interface 710 as shown in FIG. 7B .
[0273] As shown in Figure 7B, the upper and lower split-screen interface 710 may include an upper split-screen area 711 and a lower split-screen area 712, wherein the upper split-screen area 711 is the area of the upper part of the display screen, and the lower split-screen area 712 is the area of the lower part of the display screen. Among them, a video application interface is displayed in the upper split-screen area 711, and the specific content of the video application interface can refer to the full-screen playback interface 230 shown in Figure 2D above. In the video application interface, an exit full-screen control 713 is also displayed, which can be used to trigger the electronic device 100 to reduce the video playback window of the upper split-screen area 711 from the maximum display size to the preset display size. A chat application interface can be displayed in the lower split-screen area 712.
[0274] The electronic device 100 may receive and respond to a user's click operation to exit the full-screen control 713 , and as shown in FIG7C , the electronic device 100 may redisplay the left-right split-screen interface 700 .
[0275] In other application scenarios, the electronic device 100 can display the interfaces of application 1 (such as a video application) and application 2 (such as a chat application) in split screen. The interface of application 1 includes a full-screen control, and the split-screen mode is a left-right split-screen mode. The full-screen control can be used to adjust the interface layout of application 1. The electronic device 100 can receive and respond to user operations on the full-screen control, change the interface layout of application 1, and adopt a full-screen plus floating window mode to display the interface of application 1 and the interface of application 2 in split screen, with the interface of application 1 displayed in full screen.
[0276] For example, when the electronic device 100 displays the left-right split-screen interface 700 as shown in FIG. 7A , the electronic device 100 may receive and respond to a user's click operation on the full-screen control 704 to display a full-screen plus floating window interface 720 as shown in FIG. 7D .
[0277] As shown in Figure 7D, the full-screen plus floating window interface 720 may include a video playback area 721, an application floating window 722, and an exit full-screen control 723. Among them, the video playback area 721 can occupy the entire display screen and can be used to play videos. In the upper right corner (or upper left corner, etc.) of the video playback area 721, an application floating window 722 can be covered and displayed, and a chat application interface can be displayed in the application floating window 722. The exit full-screen control 723 can be used to trigger the electronic device 100 to reduce the area where the video is played from the maximum display size to a preset display size.
[0278] The electronic device 100 can receive and respond to the user's click operation to exit the full-screen control 723, and redisplay the left-right split-screen interface as shown in Figure 7C.
[0279] It can be understood that the embodiment shown in Figures 7A to 7D above is only an example. In the embodiment of the present application, application 1 can also be an application other than a video application, and the electronic device 100 can also receive and respond to other controls in application 1 to switch the split-screen mode. This application does not limit this.
[0280] By adopting the split-screen method provided in the present application, the electronic device 100 can switch the split-screen mode when receiving the user's operation on a specific control with the function of changing the interface layout in the split-screen application, so as to provide the user with a split-screen effect that is more in line with the current scene, and provide the user with a better experience.
[0281] In some embodiments, the electronic device 100 may also display three or more split-screen application interfaces in a split-screen manner.
[0282] In some application scenarios, when the electronic device 100 displays a split-screen interface of application 1 and application 2, the electronic device 100 may also receive and respond to the user's split-screen operation (for example, an operation of sliding upward from the bottom edge of the display screen, etc.), determine one or more executable three-screen modes based on the current device form and / or the interface of the split-screen application, and determine the three-screen mode to be executed from the one or more executable three-screen modes based on the previous split-screen mode and the preset priority. Among them, the three-screen mode refers to a split-screen mode in a scenario where the split-screen application includes three applications. The three-screen mode may include: an upper and lower split-screen mode (also known as a triangular split-screen mode), an upper and lower split-screen mode (also known as an inverted triangular split-screen mode), a left-one-right two-split-screen mode, a left-two-right one split-screen mode, an upper and lower split-screen plus a floating window mode, and a left and right split-screen plus a floating window mode, etc.
[0283] For example, as shown in FIG8A , the electronic device 100 displays a top-bottom split-screen interface 800. The top-bottom split-screen interface 800 may include an upper split-screen area 801 and a lower split-screen area 802. The upper split-screen area 801 may display a video application interface, and the lower split-screen area 802 may display a chat application interface. The specific content of the top-bottom split-screen interface 800 can refer to the top-bottom split-screen interface 710 in the embodiment shown in FIG7B above, and will not be repeated here.
[0284] The electronic device 100 may receive and respond to a user's operation of sliding upward from the bottom edge of the display screen to display a three-part screen mode selection interface 810 as shown in FIG8B .
[0285] As shown in Figure 8B, the three-part split-screen mode selection interface 810 may include an application window 813 and one or more split-screen mode controls, such as a triangular split-screen mode control 811 and a top-bottom split-screen plus floating window mode control 812. A video application icon and a chat application icon may be displayed in the application window 813, and the video application icon is displayed above the chat application icon. In other embodiments, the top-bottom split-screen interface 800 shown in Figure 8A may also be displayed in the application window 813. The application window 813 may move along the trajectory of the user sliding upward from the bottom edge of the display screen. It should be noted that the one or more split-screen mode controls displayed in the three-screen mode selection interface 810 correspond to the three-screen modes that the electronic device 100 can execute in the current scenario. For example, taking the current scenario as including the electronic device 100 in landscape mode and the split-screen applications including video applications and chat applications, if the electronic device 100 can support the triangular split-screen mode and the top-bottom split-screen plus floating window mode in the current scenario, the triangular split-screen mode control 811 and the top-bottom split-screen plus floating window mode control 812 may be displayed in the three-screen mode selection interface 810. The one or more split-screen mode controls displayed in the three-screen mode selection interface 810 can be used to trigger the electronic device 100 to execute the three-screen mode corresponding to the split-screen mode control. Specifically, the electronic device 100 can determine the split-screen mode to be executed based on whether the distance between the application window 813 and the split-screen mode control is less than a preset distance. In some embodiments, the electronic device 100 can also determine the three-screen mode to be executed based on the movement direction of the application window 813.
[0286] During the movement of the application window 813 following the user's operation, when the electronic device 100 detects that the distance between the application window 813 and the split-screen mode control 811 is less than a preset distance (for example, 5 cm), the electronic device 100 can display the split-screen mode display interface 820 as shown in Figure 8C.
[0287] As shown in Figure 8C, the split-screen mode display interface 820 may include a split-screen hot zone 821 and an application window 822. Among them, the split-screen hot zone 821 may be the inscribed area shown in Figure 8C, which is used to prompt that the three-part screen mode to be executed is the inscribed area split-screen mode. It is understandable that if the three-part screen mode is different from the embodiment shown in Figure 8C, the split-screen area may also be a different division form from the split-screen hot zone 821 shown in Figure 8C, and this application does not limit this. The specific content of the application window 822 can refer to the corresponding content in the embodiment shown in Figure 8B above, and will not be repeated here.
[0288] When the electronic device 100 displays the split-screen mode display interface 820 , in response to a release operation by the user, the electronic device 100 may display a to-be-split-screen interface 830 as shown in FIG. 8D .
[0289] As shown in Figure 8D, the screen to be split interface 830 may include a split-screen waiting area 831, a split-screen waiting area 832, and an icon display area 833. A video application icon may be displayed in the split-screen waiting area 831, and a chat application icon may be displayed in the split-screen waiting area 832. The split-screen waiting area 831 may be displayed overlaid above the icon display area 833, and the split-screen waiting area 832 may be displayed overlaid to the left of the icon display area 833, with the display position of the split-screen waiting area 832 being below and to the left of the display position of the split-screen waiting area 831. In some embodiments, the display screen of the electronic device 100 may also be divided into the split-screen waiting area 831, the split-screen waiting area 832, and the icon display area 833 based on the split-screen mode. The split-screen waiting area 831 may be displayed above the display screen, and the split-screen waiting area 832 may be displayed on the left side of the display screen. The positional relationship between the split-screen waiting area 831, the split-screen waiting area 832, and the icon display area 833 can be used to prompt the user that the three-screen mode to be executed is the triangular split-screen mode. The icon display area 833 may display a desktop, on which one or more application icons are displayed, such as the gallery application icon 207 .
[0290] The electronic device 100 may receive and respond to a user operation on the gallery application icon 207 in the icon display area 833 , and display a triangular split-screen interface 840 as shown in FIG. 8E .
[0291] As shown in Figure 8E, the "Pin" split-screen interface 840 may include an upper split-screen area 841, a lower-left split-screen area 842, and a lower-right split-screen area 843. Upper split-screen area 841 is the upper portion of the display screen, lower-left split-screen area 842 is the lower-left portion of the display screen, and lower-right split-screen area 843 is the lower-right portion of the display screen. Upper split-screen area 841 can be used to display a video application interface; lower-left split-screen area 842 can be used to display a chat application interface; and lower-right split-screen area 843 can be used to display a gallery application interface.
[0292] It is understood that the embodiments shown in Figures 8A to 8E illustrate that the electronic device 100 can also split three or more split-screen applications using the split-screen method provided in this application. In the embodiment of the present application, when the split-screen application includes three or more applications, the specific methods such as determining the positional relationship between the split-screen application interfaces, switching the split-screen mode, and creating the combination icon can refer to the relevant descriptions in the above embodiments and will not be repeated here.
[0293] The split-screen method provided in the embodiment of the present application can also be used to split three or more split-screen applications, thereby providing richer split-screen effects to meet the different needs of users in different scenarios.
[0294] In some application scenarios, the electronic device 100 may also determine the split-screen mode to be executed based on the user's split-screen operation. That is, if it is detected that the user's input to the electronic device 100 is a top-bottom split-screen operation (such as an operation of sliding upward from the lower edge of the display screen), the split-screen mode to be executed is determined to be the top-bottom split-screen mode; if it is detected that the user's input to the electronic device 100 is a left-right split-screen operation (such as an operation of sliding from the lower edge of the display screen to the upper left), the split-screen mode to be executed is determined to be the left-right split-screen mode; if it is detected that the user's input to the electronic device 100 is a full-screen plus floating window split-screen operation (such as an operation of sliding from the lower edge of the display screen to the upper right), the split-screen mode to be executed is determined to be the full-screen plus floating window mode. After determining the split-screen mode to be executed, the split-screen waiting area and the icon display area can be displayed based on the split-screen mode to be executed. And after receiving the input of the icon for application 2, the interface of application 1 and the interface of application 2 are displayed based on the split-screen mode to be executed. In this way, when the electronic device 100 detects the user's split-screen operation, it can quickly determine the split-screen mode to be executed based on the split-screen operation, which simplifies the split-screen steps and improves efficiency.
[0295] For example, as shown in FIG9A , the electronic device 100 displays a full-screen playback interface 230 . The specific content of the full-screen playback interface 230 can be referred to the relevant description in the embodiment shown in FIG2D above, and will not be repeated here.
[0296] The electronic device 100 can receive and respond to the user's operation of sliding from the bottom edge of the display screen to the upper left, determine that the split-screen mode to be executed is the left-right split-screen mode, and display the split-screen mode display interface 900 as shown in Figure 9B.
[0297] As shown in Figure 9B, the split-screen mode display interface 900 may include a split-screen hot zone 901 and an application window 902. Among them, the split-screen hot zone 901 is the left half of the display screen, and the split-screen hot zone 901 can be used to prompt that the split-screen mode to be executed is the left-right split-screen mode. The application window 902 can move along the trajectory of the user sliding upward from the lower edge of the display screen. The application window 902 can also be used to prompt that the application corresponding to the application window 902 is a video application. For other contents of the application window 902, please refer to the corresponding content in the embodiment shown in Figure 2E above, which will not be repeated here.
[0298] After the application window 902 moves to the split-screen hot zone 901 following the user's sliding operation, in response to the user's release operation, the electronic device 100 may display a to-be-split-screen interface 910 as shown in FIG. 9C .
[0299] As shown in Figure 9C, the split-screen interface 910 may include a split-screen waiting area 911 and an icon display area 912. The split-screen waiting area 911 may be displayed overlaid on the left side of the icon display area 912 to indicate that the split-screen mode to be executed is the left-right split-screen mode. In other embodiments, the display screen of the electronic device 100 may also be divided into the split-screen waiting area 911 and the icon display area 912 based on the split-screen mode. The split-screen waiting area 911 may also be displayed on the left side of the display screen to indicate that the split-screen mode to be executed is the top-bottom split-screen mode. The split-screen waiting area 911 is used to prompt the user that the split-screen application includes a video application. The split-screen waiting area 911 may display a video application icon and the title of the currently playing video, such as "One time a day, goodbye worries." The icon display area 912 may be used to display the desktop 200, which may display one or more application icons, such as the chat application icon 206, etc. For other content in the desktop 200, please refer to the relevant description in the embodiment shown in Figure 2A above.
[0300] The electronic device 100 can receive and respond to the user's operation on the chat application icon 206 in the icon display area 912, and display the left-right split screen interface 920 as shown in Figure 9D.
[0301] In some embodiments, the electronic device 100 may also receive and respond to a user sliding operation from the bottom edge of the display screen to the upper left, and after determining that the split-screen mode to be executed is the left-right split-screen mode, display the left-right split-screen interface 920 as shown in FIG9D .
[0302] As shown in Figure 9D, the left-right split-screen interface 920 may include a left split-screen area 921 and a right split-screen area 922. The left split-screen area 921 is the left portion of the display screen, and the right split-screen area 922 is the right portion of the display screen. The display size of the left split-screen area 921 and the display size of the right split-screen area 922 may be the same or different. The left split-screen area 921 can be used to display the interface of a video application, such as displaying a playing video; the right split-screen area 922 can be used to display the interface of a chat application. Users can watch videos through the left split-screen area 921 and chat through the right split-screen area 922.
[0303] As another example, as shown in FIG9E , the electronic device 100 displays a full-screen playback interface 230 . The specific content of the full-screen playback interface 230 can be referred to the relevant description in the embodiment shown in FIG2D above, and will not be repeated here.
[0304] The electronic device 100 can receive and respond to the user's operation of sliding from the bottom edge of the display screen to the upper right, determine that the split screen mode is the full screen plus floating window mode, and display the to-be-split screen interface 930 as shown in Figure 9F.
[0305] As shown in FIG9F , the interface to be split 930 may include an application floating window 931 and an icon display area 932. The application floating window 931 is displayed over the icon display area 932. The application floating window 931 can be used to play videos. The icon display area 932 can be used to display the desktop 200. The desktop 200 may display one or more application icons, such as the game application icon 205, etc. For other content in the desktop 200, please refer to the relevant description of the embodiment shown in FIG2A above.
[0306] The electronic device 100 can receive and respond to the user's operation on the game application icon 205 in the icon display area 932, and display the full-screen plus floating window interface 940 as shown in Figure 9G.
[0307] As shown in Figure 9G, the full-screen plus floating window interface 940 may include a full-screen display area 942 and an application floating window 941. Among them, the full-screen display area 942 occupies the entire area of the display screen and is used to display the interface of the game application. The application floating window 941 is overlaid and displayed on the full-screen display area 942. For other contents of the application floating window 941, please refer to the relevant description in the above embodiment and will not be repeated here. When the electronic device 100 displays the full-screen plus floating window interface 940, the user can play games through the full-screen display area 942 or watch videos through the application floating window 941.
[0308] It can be understood that the embodiments shown in Figures 9A to 9G above are only illustrative of how the split-screen mode to be executed can be determined based on different split-screen operations. In the embodiments of the present application, split-screen operations such as top-bottom split-screen operations and left-right split-screen operations may also be operations different from those described in the above embodiments, or may be user-defined operations, and the present application does not limit this.
[0309] By adopting the split-screen method provided in the embodiment of the present application, the split-screen mode can be determined based on the mapping relationship between the user's split-screen operation and the split-screen mode, which simplifies the split-screen steps and improves efficiency.
[0310] In some application scenarios, the electronic device 100 has determined that the split-screen application includes application 1, and based on the split-screen mode to be executed, a split-screen waiting area and an icon display area (including the icon of application 2) are displayed. When the electronic device 100 receives a user click operation on the icon of application 2 on the split-screen interface to be executed, and detects that application 2 does not support the split-screen mode to be executed, in response to the user click operation on the icon of application 2, the electronic device 100 can re-determine the split-screen mode to be executed, and based on the new split-screen mode to be executed, split-screen display the interfaces of application 1 and application 2. The re-determined split-screen mode to be executed is different from the original split-screen mode to be executed.
[0311] For example, as shown in FIG10A , the electronic device 100 displays a top-bottom screen splitting interface 1000. The top-bottom screen splitting interface 1000 may include a split-screen waiting area 1001 and an icon display area 1002. The split-screen waiting area 1001 is displayed in the upper area of the display screen of the electronic device 100. The icon and name of the video application may be displayed in the split-screen waiting area 1001 to prompt the user that the split-screen application includes the video application and the split-screen mode is top-bottom split. The icon display area 1002 may display one or more application icons, for example, the browser application icon 208.
[0312] The electronic device 100 can receive and respond to the user's click operation on the browser application icon 208. If the electronic device 100 detects that the browser application does not support the top-bottom split-screen mode, the electronic device 100 can display the left-right split-screen interface 1010 as shown in Figure 10B.
[0313] As shown in FIG10B , electronic device 100 displays a left-right split-screen interface 1010. Left-right split-screen interface 1010 may include a left split-screen area 1011 and a right split-screen area 1012. Left split-screen area 1011 is the left portion of the display screen, and right split-screen area 1012 is the right portion of the display screen. The left split-screen area 1011 displays the interface of a video application, while the right split-screen area 1012 may display the interface of a browser application.
[0314] It is understandable that Figures 10A to 10B are only examples. In the embodiments of the present application, the split-screen mode to be executed by the electronic device 100 may also be other split-screen modes, and the present application does not limit this. For example, if the electronic device 100 determines that the split-screen mode to be executed is the left-right split-screen mode, and displays the left-right split-screen interface, when the electronic device 100 receives a click operation on the icon of application 2 and determines that application 2 does not support the left-right split-screen mode, the electronic device 100 may also re-determine the split-screen mode to be executed as the top-bottom split-screen mode, or the full-screen plus floating window mode, etc., and the present application does not limit this.
[0315] By using the split-screen method provided in the embodiment of the present application, when it is detected that the newly determined split-screen application does not support the split-screen mode to be executed, the split-screen mode to be executed can be re-determined, thereby avoiding time loss caused by invalid operations and improving split-screen efficiency.
[0316] The following describes the process of the split-screen method provided in the embodiment of the present application.
[0317] FIG11 shows a flow chart of the screen splitting method provided in an embodiment of the present application.
[0318] It should be noted that in the embodiment of the present application, application 1 can also be called the first application, and application 2 can be called the second application; interface 1 of application 1 can be called the first interface, interface 2 of application 1 can be called the second interface, and interface 3 of application 2 can be called the third interface; the user's split-screen operation on interface 1 can be called the first operation, the split-screen waiting area can be called the first area, and the icon display area can be called the second area; area 1 can be called the third area, and area 2 can be called the fourth area; the user's operation on the icon of application 2 can be called the second operation; if interface 1 includes a core element, the core element can be called the first element.
[0319] As shown in FIG11 , the specific process of the screen splitting method provided in the embodiment of the present application may include the following steps:
[0320] S1101, when displaying interface 1 of application 1, electronic device 100 receives and responds to the user's split-screen operation on interface 1, and determines the device form of electronic device 100 and / or the display form of core elements in interface 1.
[0321] For example, the user's split-screen operation on interface 1 may be an operation in which the user swipes upward from the lower edge of the display screen of electronic device 100 in the embodiment shown in FIG2D . For another example, the user's split-screen operation on application 1 may be an operation in which the user swipes from the lower edge of the display screen of electronic device 100 to the upper left in the embodiment shown in FIG9A , or an operation in which the user swipes from the lower edge of the display screen of electronic device 100 to the upper right in the embodiment shown in FIG9E .
[0322] After receiving the user's split-screen operation on interface 1, the electronic device 100 can determine that the split-screen application includes application 1, and the split-screen application includes applications corresponding to multiple application interfaces subsequently displayed in split screen by the electronic device 100.
[0323] In response to the user's split-screen operation, the electronic device 100 may determine the device form of the electronic device 100 and / or determine whether the interface 1 includes core elements.
[0324] Among them, the device form of the electronic device 100 may include any of the following: horizontal screen display, vertical screen display, unfolded state and folded state. For details, please refer to the relevant description in the embodiments shown in Figures 1B to 1F above.
[0325] Core elements include any one or more of the following: video, conference, slideshow, game, photography (e.g., viewfinder in a photography interface), video call (e.g., video display window in a video call interface), etc. Electronic device 100 may determine whether interface 1 displayed by application 1 includes core elements based on interface 1.
[0326] The display form of the core element can include horizontal display and vertical display. The basis for determining the display form of the core element may include any one or more of the following: the aspect ratio of the core element (i.e., the ratio of the horizontal length to the vertical length), the whitelist, the called horizontal / vertical screen display interface, the position relationship between the black borders on both sides of the core element and the core element, the position relationship between the blank areas on both sides of the core element and the core element, etc.
[0327] Exemplarily, taking the example of determining the display form of the core element based on the aspect ratio of the core element, when the aspect ratio of the core element in the interface of application 1 is greater than a preset value (for example, 1), the display form of the core element is horizontal display; when the aspect ratio of the core element in the interface of application 1 is less than the preset value, the display form of the core element is vertical display. As another example, taking the example of determining the display form of the core element based on a whitelist, the electronic device 100 may store a whitelist of applications (also referred to as a first list), and when application 1 is in the whitelist, the electronic device 100 may determine that the display form of the core element is horizontal display; when application 1 is not in the whitelist (or when application 1 is in another list different from the whitelist, such as a second list), the electronic device 100 may determine that the display form of the core element is vertical display. As another example, taking the positional relationship between the black borders on both sides of the core element and the core element as the basis for judgment, when black borders are displayed on the left and right sides of the core element, the electronic device 100 can determine that the display form of the core element is vertical display; when black borders are displayed on the upper and lower sides of the core element, the electronic device 100 can determine that the display form of the core element is horizontal display.
[0328] S1102 , the electronic device 100 determines the scene in which the electronic device 100 is located based on the device form and / or the display form of the core elements in the interface 1 .
[0329] The scene in which the electronic device 100 is located may include: a horizontal screen display scene, a horizontal immersive scene, a vertical immersive scene, etc. In some embodiments, the scene in which the electronic device 100 is located may also include one or more of a vertical screen non-immersive scene and a non-split screen scene, which is not limited in this application.
[0330] In some embodiments, the electronic device 100 may determine the scene based on the device form or based on elements in the interface 1. For example, if the device form is a landscape display, the electronic device 100 may determine that the current scene is a landscape display scene based on the landscape display. If the electronic device 100 detects that the current form does not support split screen, the electronic device 100 may determine that the current scene is a non-split screen scene. If the device form is a folded state, the electronic device 100 may determine that the current scene is a folded scene.
[0331] In some embodiments, if the interface 1 includes core elements, the electronic device 100 can determine the scene based on the display form of the core elements in the interface 1.
[0332] When the display form of the core element is horizontal display, the electronic device 100 is in a horizontal immersive scene; when the display form of the core element is vertical display, the electronic device 100 is in a vertical immersive scene.
[0333] In other embodiments, the electronic device 100 may determine the scene in which the electronic device 100 is located based on the device form and elements in the interface 1. In this case, the electronic device 100 may store a correspondence between the device form and elements in the interface 1 and the scene in which the electronic device 100 is located. For example, Table 1 shows a mapping relationship between a device form, elements in the interface 1, and a scene.
[0334] Table 1
[0335] As shown in Table 1, Table 1 includes the device form, elements in the interface 1, and the corresponding scenes. As shown in Table 1, when the device form is a horizontal screen display, and the interface 1 does not include core elements, the scene in which the electronic device 100 is located is a horizontal screen display scene; when the device form is a vertical screen display or a horizontal screen display, and the interface 1 includes horizontal core elements, the scene in which the electronic device 100 is located is a horizontal immersive scene; when the device form is a horizontal screen display or a vertical screen display, and the interface 1 includes vertical core elements, the scene in which the electronic device 100 is located is a vertical immersive scene; when the device form is a vertical screen display, and the interface 1 does not include core elements, the scene in which the electronic device 100 is located is a vertical non-immersive scene. Among them, the horizontal core element refers to the core element whose aspect ratio is greater than the preset value, and the vertical core element refers to the core element whose aspect ratio is less than the preset value.
[0336] It can be understood that Table 1 is only an example. In the embodiment of the present application, the correspondence between the device form stored in the electronic device 100, the elements in the interface 1 and the scene may include more or less content than Table 1, or it may be a mapping relationship different from the embodiment shown in Table 1. The present application does not limit this.
[0337] It should be noted that, in other embodiments, the electronic device 100 may also store a mapping relationship table between device forms and scenes, or a mapping relationship table between elements in the interface 1 and scenes.
[0338] S1103: The electronic device 100 determines a split-screen mode to be executed from a mapping relationship between scenes and split-screen modes based on the scene in which the electronic device 100 is located.
[0339] The split-screen mode may include any one or more of the following: top-bottom split-screen mode, left-right split-screen mode, and full-screen plus floating window mode.
[0340] The electronic device 100 may store a mapping relationship between scenes and split-screen modes.
[0341] For example, Table 2 shows a mapping relationship table between scenes and split-screen modes.
[0342] Table 2
[0343] As shown in Table 2, Table 2 includes scenes and split-screen modes, and each scene can correspond to one or more split-screen modes. As shown in Table 2, when the scene is a horizontal screen display scene, the split-screen mode corresponding to the scene may include a top-bottom split-screen mode and a full-screen plus floating window mode; when the scene is a horizontal immersive scene, the split-screen mode corresponding to the scene may include a top-bottom split-screen mode; when the scene is a vertical immersive scene, the split-screen mode corresponding to the scene may include a left-right split-screen mode; when the scene is a vertical non-immersive scene, the split-screen mode corresponding to the scene may include a left-right split-screen mode and a full-screen plus floating window mode; when the scene is a non-split-screen scene, the scene has no corresponding split-screen mode; when the scene is a folded scene, the split-screen mode corresponding to the scene may include a full-screen plus floating window mode.
[0344] It can be understood that Table 2 is only an example. In the embodiment of the present application, the mapping relationship between the scenes stored in the electronic device 100 and the split-screen mode may include more or less content than Table 2, or it may be a mapping relationship different from the embodiment shown in Table 2. The present application does not limit this.
[0345] After determining one or more split-screen modes corresponding to the current scene, the electronic device 100 may determine a split-screen mode to be executed from the one or more split-screen modes.
[0346] If there is only one split-screen mode corresponding to the current scene, then this split-screen mode is the split-screen mode to be executed.
[0347] If there are multiple split-screen modes corresponding to the current scene, in some embodiments, the electronic device 100 can determine the split-screen mode with the highest priority among the multiple split-screen modes as the split-screen mode to be executed based on a preset priority. In other embodiments, the electronic device 100 can also determine the split-screen mode to be executed from the multiple split-screen modes based on the user's split-screen operation (such as the moving direction of the split-screen operation, etc.). Exemplarily, as shown in Figure 2E, when the electronic device 100 determines that the split-screen mode corresponding to the current scene (horizontal screen display, application 1 is a video application) includes an upper and lower split-screen mode and a full-screen plus floating window mode, the electronic device 100 can display the upper and lower split-screen mode control 241 and the full-screen plus floating window mode control 242 shown in Figure 2E, and determine that the split-screen mode to be executed is the upper and lower split-screen mode based on the user's sliding operation in the direction of the upper and lower split-screen mode control 241.
[0348] In some embodiments, the electronic device 100 may also determine the corresponding split-screen mode based on the current device form and / or elements in interface 1. In this case, the electronic device 100 may store a mapping relationship between the device form and / or display interface and the split-screen mode. The mapping relationship between the device form and / or elements in interface 1 and the split-screen mode can refer to the contents of the embodiments described in Tables 1 and 2 above.
[0349] In some embodiments, before executing step S1104 below, the electronic device 100 may further display a split-screen mode selection interface and a split-screen mode display interface. One or more split-screen mode controls (for example, upper and lower split-screen mode controls, left and right split-screen mode controls, etc.) may be displayed in the split-screen mode selection interface to prompt one or more split-screen modes that can be executed in the scene in which the electronic device 100 is located. The split-screen mode display interface may be displayed with a split-screen hot zone, which can be used to prompt the user of the split-screen mode to be executed. Exemplarily, the split-screen mode selection interface may be the split-screen mode selection interface 240 shown in FIG. 2E above, or it may be the interface in the embodiment shown in FIG. 3B or FIG. 3G above. The split-screen mode display interface may be the split-screen mode selection interface 240 shown in FIG. 2F above, or it may be the interface in the embodiment shown in FIG. 3C or FIG. 3H above.
[0350] S1104 , the electronic device 100 displays information of application 1 in the split-screen waiting area based on the split-screen mode to be executed, and displays one or more application icons, including the icon of application 2, in the icon display area.
[0351] The information of application 1 may include any one or more of the following: interface 1, a partial screen or element of interface 1, an icon of application 1 or the name of the application, etc.
[0352] The split-screen waiting area can be used to prompt the user that the split-screen application includes application 1. In some embodiments, the interface of application 1 can be displayed in the split-screen waiting area, and the interface can be the interface of application 1 displayed when the electronic device 100 receives the user's split-screen operation. In other embodiments, the application icon of application 1 can also be displayed in the split-screen waiting area, and optionally, the application name of application 1 can also be displayed. The icon display area can be used to display a desktop, on which one or more application icons can be displayed. The one or more application icons include an icon for application 2. In some embodiments, the icon display area may not display application icons, but instead display the interfaces (or interface thumbnails) of one or more applications, and the interfaces of the one or more applications include the interface of application 2. The interface of application 2 can be used to trigger the electronic device 100 to display the interface of application 2 and interface 1 of application 1 in split screen.
[0353] The electronic device 100 can determine the positional relationship between the split-screen waiting area and the icon display area in the split-screen interface to be split based on the split-screen mode to be executed. In some embodiments, when it is determined to execute the top-bottom split-screen mode, the split-screen waiting area can be located above or below the display screen. Specifically, the split-screen waiting area can be displayed over the icon display area, or it can be arranged on the display screen with the icon display area in an up-down manner. In some embodiments, when it is determined to execute the left-right split-screen mode, the split-screen waiting area can be located on the left or right side of the display screen. Specifically, the split-screen waiting area can be displayed over the icon display area, or it can be arranged on the display screen with the icon display area in a left-right manner.
[0354] Exemplarily, when the split-screen mode to be executed is the top-bottom split-screen mode, the screen-to-be-split interface may be the screen-to-be-split interface 260 shown in FIG. 2G , or the screen-to-be-split interface 280 shown in FIG. 2I ; when the split-screen mode to be executed is the left-right split-screen mode, the screen-to-be-split interface may be the screen-to-be-split interface 910 shown in FIG. 9C ; when the split-screen mode to be executed is the full-screen plus floating window mode, the screen-to-be-split interface may be the screen-to-be-split interface 930 shown in FIG. 9F .
[0355] The split-screen waiting area can be displayed overlaid on the icon display area, such as the to-be-split screen interface 260 shown in FIG2G . In this case, the display position of the split-screen waiting area on the icon display area can be used to indicate the split-screen mode to be executed. In some embodiments, the split-screen waiting area and the icon display area can also be non-overlapping areas on the display screen, such as the to-be-split screen interface 280 shown in FIG2I . In this case, the relative positions of the split-screen waiting area and the icon display area can also be used to indicate the split-screen mode to be executed.
[0356] S1105, the electronic device 100 receives and responds to the user's operation on the icon of application 2, divides the display screen into area 1 and area 2 based on the split-screen mode to be executed, displays interface 2 of application 1 in area 1, and displays interface 3 of application 2 in area 2.
[0357] Electronic device 100 may determine that the split-screen application includes Application 1 and Application 2 in response to a user operation on the icon of Application 2. The user operation on the icon of Application 2 may be a click operation on the icon of Application 2. For example, when Application 2 is a game application, the user operation on the icon of Application 2 may be a click operation on the game application icon 205 in the embodiment shown in FIG. 2G ; when Application 2 is a chat application, the user operation on the icon of Application 2 may be a click operation on the chat application icon 206 in the embodiment shown in FIG. 4A , and so on.
[0358] In some embodiments, the positional relationship between area 1 and area 2 on the display screen is the same as the positional relationship between the split-screen waiting area and the icon display area on the display screen. If the split-screen mode to be executed is the top-bottom split-screen mode, area 1 and area 2 can be the upper split-screen area and the lower split-screen area, respectively. For example, area 1 can be the upper split-screen area 271 in the embodiment shown in FIG. 2H above, and area 2 can be the lower split-screen area 272. If the split-screen mode to be executed is the left-right split-screen mode, area 1 and area 2 can be the left split-screen area and the right split-screen area, respectively. For example, area 1 can be the left split-screen area 921 in the embodiment shown in FIG. 9D above, and area 2 can be the right split-screen area 922. If the split-screen mode to be executed is the full-screen plus floating window mode, area 1 and area 2 can be the full-screen area and the application floating window area, respectively. For example, area 1 can be the full-screen display area 942 in the embodiment shown in FIG. 9G above, and area 2 can be the application floating window 941.
[0359] In other embodiments, the positional relationship between area 1 and area 2 on the display screen may also be different from the positional relationship between the split-screen waiting area and the icon display area on the display screen. For example, if application 2 does not support the split-screen mode to be executed, the electronic device 100 may re-determine the split-screen mode to be executed based on application 1, application 2 and the device form of the electronic device 100, and the re-determined split-screen mode to be executed is different from the original split-screen mode to be executed. In this case, the positional relationship between area 1 and area 2 on the display screen may also be different from the positional relationship between the split-screen waiting area and the icon display area on the display screen. For the specific interface schematic diagram, please refer to the relevant content in the embodiments shown in Figures 10A to 10B above, which will not be repeated here.
[0360] Interface 2 of application 1 may be the same interface as interface 1 of application 1. In some embodiments, interface 2 may also be an interface different from interface 1. For example, when interface 1 includes a core element and the core element does not adopt full-screen mode, interface 2 of application 1 may also be an interface different from application 1. In this case, when the electronic device 100 displays interface 2 of application 1 in split screen, it may adopt full-screen mode to display the core element in area 1. Among them, the definition of the full-screen mode of the core element can refer to the relevant description before the embodiment shown in Figure 3K above, and will not be repeated here. For example, the interface schematic diagrams that are different from interface 1 and interface 2 can refer to the relevant descriptions in the embodiments shown in Figures 3K to 3M, 3N to 3P or 3Q to 3S above.
[0361] The split-screen method provided in the embodiment of the present application can simplify the split-screen steps and improve split-screen efficiency. Moreover, one or more executable split-screen modes can be determined based on the current scene of the electronic device 100, thereby matching the appropriate split-screen mode for the current scene and preventing the user from selecting a split-screen mode that is not executable in the current scene, thereby reducing time consumption and improving efficiency. In addition, the split-screen operation in the split-screen method provided in the embodiment of the present application can be implemented through single-finger operation, which can avoid the problem of accidental touch caused by multi-finger operation.
[0362] In some embodiments, when determining the split-screen mode to be executed, when the split screen is displayed, the positional relationship of the multiple split-screen application interfaces (i.e., the split-screen position) can be determined based on the determination order of the split-screen applications. Specifically, in the upper and lower split-screen mode, the interface 2 of application 1 can be displayed in the upper split-screen area, and the interface 3 of application 2 can be displayed in the lower split-screen area; in the left and right split-screen mode, the interface 2 of application 1 can be displayed in the left split-screen area, and the interface 3 of application 2 can be displayed in the right split-screen area; in the full-screen plus floating window mode, the interface 2 of application 1 can be displayed in the full-screen area, and the interface 3 of application 2 can be displayed in the application floating window. It can be understood that this is just an example of how the split-screen position can be determined based on the determination order of the split-screen applications. In the embodiments of the present application, the mapping relationship between the determination order of the split-screen applications and the split-screen position can also be a mapping relationship different from that in the embodiments here, and the present application does not limit this.
[0363] In other embodiments, when determining a split-screen mode to be executed, during split-screen display, the split-screen position may also be determined based on the type of the split-screen application. For example, taking the split-screen application including application 1 and application 2 as an example, the specific process of determining the split-screen position based on the type of the split-screen application may include the following steps:
[0364] 1. The electronic device 100 determines the identities of the split-screen applications (Application 1 and Application 2).
[0365] The electronic device 100 may determine the identifier of application 1 in the above step S1102. The electronic device 100 may determine the identifier of application 2 when receiving a user operation on the icon of application 2.
[0366] 2. The electronic device 100 determines the type of the split-screen application based on the identifier of the split-screen application.
[0367] After determining the identifier of the split-screen application, the electronic device 100 may determine the type of the split-screen application based on the identifier of the split-screen application.
[0368] Application types can include interactive and browsing. The application type can be determined based on the frequency of user interaction with the application. Specifically, if the user's interaction frequency with an application is greater than a preset frequency (e.g., 5 times / minute, 10 times / minute, etc.), the application type is interactive; if the user's interaction frequency with the application is less than the preset frequency, the application type is browsing.
[0369] The electronic device 100 may store a mapping relationship between an application identifier and an application type.
[0370] For example, Table 3 shows a comparison table of the relationship between an application identifier and a type.
[0371] Table 3
[0372] As shown in Table 3, the relationship between application identifiers and types can include one or more application identifiers and one or more application types, with each application identifier corresponding to an application type. As shown in Table 3, the video application type is browsing-type, the game application type is interactive-type, and the chat application type is also interactive-type.
[0373] It can be understood that Table 3 is just an example. In the embodiment of the present application, the electronic device 100 may store more or fewer application identifiers and corresponding application types, or may store a mapping relationship different from that in Table 3. The present application does not limit this.
[0374] The electronic device 100 may determine the type of application 1 based on the identifier of application 1, and determine the type of application 2 based on the identifier of application 2.
[0375] 3. The electronic device 100 determines the split screen position based on the application type of the split screen application and the split screen mode to be executed.
[0376] For example, Table 4 shows a relationship mapping table of a split-screen mode to be executed, a split-screen application type, and a split-screen position stored in the electronic device 100 .
[0377] Table 4
[0378] As shown in Table 4, the relationship mapping table of the split-screen mode to be executed, the type of split-screen application and the split-screen position may include the split-screen mode to be executed, the type of split-screen application and the corresponding split-screen position. According to Table 4, when the split-screen mode to be executed is the top-bottom split-screen mode, application 1 is a browsing application, and application 2 is a browsing application, the interface display area of application 1 is the upper split-screen area in the top-bottom split-screen interface, and the interface display area of application 2 is the lower split-screen area; when the split-screen mode to be executed is the top-bottom split-screen mode, application 1 is an interactive application, and application 2 is a browsing application, the interface display area of application 1 is the lower split-screen area in the top-bottom split-screen interface, and the interface display area of application 2 is the upper split-screen area; when the split-screen mode to be executed is the top-bottom split-screen mode, application 1 is a browsing application, and application 2 is an interactive application, the interface display area of application 1 is the upper split-screen area in the top-bottom split-screen interface, and the interface display area of application 2 is the lower split-screen area; when the split-screen mode to be executed is the top-bottom split-screen mode, application 1 is an interactive application, and application 2 is an interactive application, The interface display area of application 1 is the upper split-screen area in the upper and lower split-screen interface, and the interface display area of application 2 is the lower split-screen area; when the split-screen mode to be executed is the left-right split-screen mode, application 1 is an interactive application, and application 2 is a browsing application, the interface display area of application 1 is the right split-screen area in the left-right split-screen interface, and the interface display area of application 2 is the left split-screen area; when the split-screen mode to be executed is the full-screen plus floating window mode, application 1 is a browsing application, and application 2 is an interactive application, the interface display area of application 1 is the application floating window in the full-screen plus floating window interface, and the interface display area of application 2 is the full-screen area; when the split-screen mode to be executed is the full-screen plus floating window mode, application 1 is a browsing application, and application 2 is a browsing application, the interface display area of application 1 is the full-screen area in the full-screen plus floating window interface, and the interface display area of application 2 is the application floating window.
[0379] It is understandable that the embodiment shown in Table 4 is only an example. In the embodiment of the present application, the electronic device 100 may also store more or less content than Table 4, or store a mapping relationship different from the embodiment shown in Table 4. The present application does not limit this.
[0380] The electronic device 100 may determine the split screen position based on a relationship comparison table among the split screen mode to be executed, the split screen application type, and the split screen position.
[0381] For example, when determining the split-screen mode to be executed, the interface diagram of the electronic device 100 determining the split-screen position based on the type of the split-screen application may also refer to the relevant content in the embodiments shown in Figures 4A to 4D above.
[0382] Using the split-screen method provided in the embodiment of the present application, when determining the split-screen mode to be executed, the electronic device 100 can determine the split-screen position based on the mapping relationship between the type of split-screen application and the split-screen position, so as to facilitate the user to operate the interactive application in the split-screen state.
[0383] In some embodiments, the electronic device 100 may also determine the split-screen mode to be executed based on the user's split-screen operation. If it is detected that the user's input to the electronic device 100 is a top-bottom split-screen operation (for example, an operation of sliding upward from the lower edge of the display screen), the split-screen mode is determined to be the top-bottom split-screen mode; if it is detected that the user's input to the electronic device 100 is a left-right split-screen operation (for example, an operation of sliding from the lower edge of the display screen to the upper left), the split-screen mode is determined to be the left-right split-screen mode; if it is detected that the user's input to the electronic device 100 is a full-screen plus floating window split-screen operation (for example, an operation of sliding from the lower edge of the display screen to the upper right), the split-screen mode is determined to be the full-screen plus floating window mode.
[0384] For example, the user's input to the electronic device 100 for a left-right split-screen operation may be the operation of the user sliding from the lower edge of the display screen to the upper left as shown in FIG9A above, and the user's input to the electronic device 100 for a full-screen plus floating window split-screen operation may be the operation of the user sliding from the lower edge of the display screen to the upper right as shown in FIG9E above, and so on.
[0385] In this way, when the electronic device 100 detects the user's split-screen operation, it can quickly determine the split-screen mode based on the split-screen operation, which simplifies the split-screen steps and improves efficiency.
[0386] In some embodiments, the electronic device 100 displays the application interfaces of multiple split-screen applications in split screen. In this case, the electronic device 100 can receive and respond to the user's operation of creating a combined icon (also referred to as the third operation), create a combined icon based on the multiple split-screen applications and the current split-screen mode, and display the created combined icon on the desktop. The electronic device 100 can receive and respond to the user's operation on the combined icon (also referred to as the fourth operation), and display the application interfaces of the multiple split-screen applications in split screen. At this time, the split-screen mode adopted by the electronic device 100 is the same as the split-screen mode when creating the combined icon, and the positional relationship of the application interfaces of the multiple split-screen applications is the same as the positional relationship of the application interfaces of the multiple split-screen applications when creating the combined icon.
[0387] Taking the example of the electronic device 100 displaying the interface 2 of application 1 in area 1 and the interface 3 of application 2 in area 2, the electronic device 100 can receive and respond to the user's operation of creating a combined icon, and display the combined icon of application 1 and application 2 on the desktop. The interface diagram of the electronic device 100 creating a combined icon can refer to the embodiments shown in Figures 5A to 5G above. After creating the combined icon, the electronic device 100 can receive and respond to the user's click operation on the combined icon, and display the interface 4 (also called the fourth interface) of application 1 in area 1, and display the interface 5 (also called the fifth interface) of application 2 in area 2. Among them, interface 4 can be the same as interface 2, and interface 3 can be the same as interface 5. In some embodiments, interface 4 can also be different from interface 2, for example, interface 4 can be the homepage of application 1; in some embodiments, interface 5 can also be different from interface 3, for example, interface 5 can also be the homepage of application 2, and this application does not limit this.
[0388] In other embodiments, the electronic device 100 may also display a combination icon on the desktop based on the split-screen interface when it detects that the currently displayed split-screen interface meets specific conditions (for example, detecting that the display time of the split-screen interface is greater than a preset time, or detecting that the split-screen interface is used a preset number of times, etc.).
[0389] By using the split-screen method provided in the embodiment of the present application, a combination icon can also be created based on the split-screen interface to facilitate the quick display of the split-screen interface corresponding to the combination icon.
[0390] In some embodiments, when the electronic device 100 displays multiple application interfaces of split-screen applications in split-screen mode, the electronic device 100 may determine whether to switch to split-screen mode upon detecting a change in the device's form. If the electronic device 100 displays interface 2 of application 1 in area 1 and interface 3 of application 2 in area 2, upon detecting a change in the device's form, the electronic device 100 may display interface 2 of application 1 in area 3 and interface 3 of application 2 in area 4. In the embodiments of the present application, area 3 may also be referred to as the seventh area, and area 4 may also be referred to as the eighth area.
[0391] For example, the specific process of the electronic device 100 determining whether to switch to the split-screen mode based on the change in the device form may include the following steps:
[0392] 1. The electronic device 100 detects a change in the device form and determines the changed device form.
[0393] The device state may include: horizontal screen display, vertical screen display and folded state. The specific content of the device state can refer to the relevant description of the embodiment shown in Figures 1B to 1D above, and will not be repeated here.
[0394] The electronic device 100 may detect whether the device form has changed. For example, the device form change of the electronic device 100 may be detected by using devices such as a gyroscope sensor and / or an acceleration sensor, and the changed device form may be determined.
[0395] 2. The electronic device 100 determines the split screen mode 2 based on the split screen mode 1 before the change and the device form after the change.
[0396] For example, Table 5 shows a comparison relationship table of the split-screen mode before the change, the device form after the change, and the executable split-screen mode stored in the electronic device 100.
[0397] Table 5
[0398] As shown in Table 5, the comparison relationship table of the split-screen mode before the change, the device form after the change, and the executable split-screen mode may include the device form before the change, the split-screen mode before the change, the device form after the change, and the corresponding executable split-screen mode. According to Table 5, when the electronic device 100 is switched from horizontal screen display to vertical screen display, and the split-screen mode before the change is the top-bottom split-screen mode, the split-screen mode that can be executed after the change may include the top-bottom split-screen mode and the full-screen plus floating window mode; when the electronic device 100 is switched from vertical screen display to folded state, and the split-screen mode before the change is the top-bottom split-screen mode, the split-screen mode that can be executed after the change may include the full-screen plus floating window mode; when the electronic device 100 is switched from horizontal screen display to folded state, and the split-screen mode before the change is the left-right split-screen mode, the split-screen mode that can be executed after the change may include the top-bottom split-screen mode.
[0399] It can be understood that Table 5 is only an example. In an embodiment of the present application, the comparison relationship table of the split-screen mode before the change, the device form after the change and the executable split-screen mode stored in the electronic device 100 may also include more, less or different content than the embodiment shown in Table 5, and the present application does not limit this.
[0400] In some embodiments, the comparison relationship table of the split-screen mode before the change, the device form after the change and the executable split-screen mode can also include the identification of the split-screen application (application 1 and application 2), that is, the electronic device 100 can also determine the executable split-screen mode based on the split-screen application.
[0401] The electronic device 100 can determine one or more executable split-screen modes after the device form changes based on a comparison relationship table of the split-screen mode before the change, the device form after the change and the executable split-screen modes, and determine split-screen mode 2 from the one or more executable split-screen modes.
[0402] It should be noted that, when the executable split-screen mode includes multiple split-screen modes, the electronic device 100 can determine split-screen mode 2 based on a preset priority. For example, the priorities of the split-screen modes from high to low can be: top-bottom split-screen mode, left-right split-screen mode, full-screen plus floating window mode, etc. In some embodiments, the priority can also be determined based on the split-screen mode before the device form changes (original split-screen mode). For example, taking the original split-screen mode as the left-right split-screen mode as an example, the priorities of the split-screen modes from high to low can also be: left-right split-screen mode, top-bottom split-screen mode, full-screen plus floating window mode, etc. In other embodiments, the priority of the split-screen mode can also be determined based on the changed device form. For example, in the folded state, the priorities of the split-screen modes from high to low can be: top-bottom split-screen mode, full-screen plus floating window mode, left-right split-screen mode, etc. The embodiments here are only examples, and this application does not limit the specific order of priorities under different device forms.
[0403] For example, the interface diagram of the electronic device 100 determining whether to switch to the split-screen mode based on the change in the device form can refer to the embodiments shown in Figures 6A to 6I above.
[0404] By adopting the split-screen method provided in the embodiment of the present application, the electronic device 100 can determine the split-screen mode after the form change based on the changed device form and the preset priority when detecting that the device form has changed, and can provide the user with a split-screen mode that is more compatible with the current device form, providing the user with a good user experience.
[0405] In some embodiments, the electronic device 100 may receive and respond to a user's operation on a specific control on the split-screen interface that has the function of changing the interface layout to switch the split-screen mode. Specifically, the electronic device 100 may also determine the split-screen mode after switching based on a preset mapping relationship between the specific control and the split-screen mode, or determine the split-screen mode after switching based on a mapping relationship between the change in the interface layout caused by the specific control and the split-screen mode, etc.
[0406] For example, the user's operation on a specific control on the split-screen interface can be a click operation on the full-screen control 704 in the embodiment shown in FIG. 7A ; it can also be a click operation on the exit full-screen control 713 in the embodiment shown in FIG. 7B , etc. For schematic diagrams of the interface in which the electronic device 100 receives and switches the split-screen mode in response to a user's operation on a specific control on the split-screen interface, reference can be made to the embodiments shown in FIG. 7A to FIG. 7D .
[0407] By adopting the split-screen method provided in this application, the electronic device 100 can switch the split-screen mode when receiving the user's operation on a specific control in the split-screen application, so as to provide the user with a split-screen effect that is more in line with the current scene and provide the user with a better experience.
[0408] In some embodiments, the split-screen application may include three or more applications. In this case, the electronic device 100 may also receive and respond to the user's split-screen operation, determine the split-screen mode to be executed based on the current scene of the electronic device 100, and after determining all the split-screen applications, display the split-screen interface based on the split-screen mode to be executed. The split-screen interface may include multiple areas, and each area corresponds to one of the split-screen applications, for displaying the interface of the split-screen application.
[0409] For example, taking the case where the split-screen application includes three applications, the process in which the electronic device 100 displays a three-split-screen interface based on the user's split-screen operation can refer to the embodiments shown in FIG. 8A to FIG. 8E above.
[0410] It should be noted that, when the split-screen application includes three or more applications, the manner in which the electronic device 100 determines the split-screen mode to be executed, the manner in which the electronic device 100 determines the positional relationship between multiple areas in the split-screen interface, and the manner in which the split-screen mode is switched when a change in the device form is detected, etc., can all be referred to the relevant descriptions in the above embodiments and will not be repeated here.
[0411] The split-screen method provided in the embodiment of the present application can also be used to split three or more split-screen applications, thereby providing richer split-screen effects to meet the different needs of users in different scenarios.
[0412] The following introduces the functional modules of an electronic device 100 provided in an embodiment of the present application.
[0413] FIG12 shows a schematic diagram of functional modules of an electronic device 100 provided in an embodiment of the present application.
[0414] As shown in FIG. 12 , the electronic device 100 may include: an interaction module 1201 , a scene recognition module 1202 , a split-screen strategy module 1203 and a display module 1204 .
[0415] The interaction module 1201 is configured to receive user operations on the electronic device 100, such as split-screen operations, click operations on application icons, operations to create combined icons, etc. In response to the user's split-screen operations, the interaction module 1201 may send a recognition instruction to the scene recognition module 1202, the recognition instruction being used to instruct the scene recognition module 1202 to determine the scene in which the electronic device 100 is located.
[0416] In the case of displaying interface 1 of application 1, the scene recognition module 1202 can receive and respond to the recognition instruction sent by the interaction module 1201, determine the device form of the electronic device 100, and / or determine the display form of the core elements in interface 1 of application 1, and determine the current scene based on the current device form and / or the display form of the core elements in interface 1. The scene may include one or more of a horizontal screen display scene, a horizontal immersive scene, a vertical immersive scene, a vertical non-immersive scene, etc. The scene recognition module 1202 can send the current scene to the split-screen strategy module 1203. In some embodiments, the scene recognition module 1202 can also detect changes in the device form of the electronic device 100 and send the changed device form to the split-screen strategy module 1203.
[0417] The split-screen strategy module 1203 may include a split-screen mode determination module 1203a and a split-screen position determination module 1203b. The split-screen mode determination module 1203a may store a mapping relationship between scenes and split-screen modes. After receiving the current scene of the electronic device 100, the split-screen mode determination module 1203a may determine the split-screen mode to be executed from the mapping relationship between scenes and split-screen modes based on the current scene. After determining the split-screen mode to be executed, the split-screen position determination module 1203b may determine the split-screen position (i.e., the positional relationship between the split-screen application interfaces) based on the determination order of the split-screen applications, or may obtain the type of the split-screen application, and determine the split-screen position based on the mapping relationship between the split-screen application type and the split-screen position stored in the split-screen position determination module 1203b. In some embodiments, after the split-screen strategy module 1203 receives the changed device form sent by the scene recognition module 1202, it can also determine the split-screen mode after the device form changes through the split-screen mode judgment module 1203a, and determine the split-screen position after the device form changes through the split-screen position judgment module 1203b.
[0418] After determining the split-screen mode and split-screen position to be executed, the split-screen strategy module 1203 may send the split-screen mode and split-screen position to be executed to the display module 1204 .
[0419] The display module 1204 may display a split-screen interface based on the split-screen mode to be executed and the split-screen position sent by the split-screen strategy module 1203 .
[0420] It can be understood that the embodiment shown in Figure 12 is only an example. In the embodiment of the present application, the electronic device 100 may also include more or fewer modules than the embodiment shown in Figure 12, or include functional modules different from the embodiment shown in Figure 12, and the present application does not limit this.
[0421] The various implementation modes of this application can be combined arbitrarily to achieve different technical effects.
[0422] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware, or any combination thereof. When implemented using software, all or part of the embodiments may be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described herein are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)).
[0423] Those skilled in the art will appreciate that all or part of the process steps in the above-described method embodiments can be implemented by a computer program instructing the relevant hardware. The program can be stored in a computer-readable storage medium, and when executed, the program can include the process steps in the above-described method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.
[0424] In short, the above description is only an embodiment of the technical solution of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent replacements, improvements, etc. made based on the disclosure of the present invention should be included in the scope of protection of the present invention.
Claims
1. A screen splitting method, applied to an electronic device, characterized in that: include: Displaying a first interface of a first application; Receiving a first operation of a user on the first interface; In response to the first operation, information of the first application is displayed in a first area on a display screen, and icons of multiple applications are displayed in a second area on the display screen, wherein the icons of the multiple applications include an icon of the second application, and the information of the first application includes any one or more of the following: the first interface, a partial screen of the first interface, the icon of the first application, and the name of the first application; receiving a second operation of the user on the icon of the second application; In response to the second operation, displaying the second interface of the first application in the third area of the display screen, and displaying the third interface of the second application in the fourth area of the display screen; If the first interface includes a first element, and the display form of the first element is horizontal display, the third area and the fourth area are arranged up and down on the display screen; the first element includes any one or more of the following: video, game, meeting, slideshow, photography, video call.
2. The method according to claim 1, characterized in that The determination basis of whether the display form of the first element is horizontal display is any one of the following: The ratio of the horizontal length to the vertical length of the first element is greater than a preset value, the first application is an application among multiple preset applications, black borders or blank areas are displayed on the upper and lower sides of the first element, or the first interface calls a horizontal screen interface display.
3. The method according to claim 1 or 2, characterized in that: The method further comprises: If the first interface includes the first element and the display form of the first element is horizontal display, in response to the first operation, an upper and lower split-screen mode control is displayed on the display screen.
4. The method according to any one of claims 1 to 3, characterized in that: If the first interface includes the first element, and the display form of the first element is horizontal display, the first area is located above or below the display screen.
5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: If the first interface includes the first element, and the display form of the first element is vertical display, the third area and the fourth area are arranged left and right on the display screen.
6. The method according to claim 5, characterized in that The determination basis of whether the display form of the first element is vertical display is any one of the following: The ratio of the horizontal length to the vertical length of the first element is smaller than a preset value, the first application is an application among a plurality of preset applications, black borders or blank areas are displayed on the left and right sides of the first element, or the first interface calls a vertical screen interface display.
7. The method according to any one of claims 1 to 6, characterized in that The method further comprises: If the first interface includes the first element and the display form of the first element is vertical display, in response to the first operation, a left-right split-screen mode control is displayed on the display screen.
8. The method according to any one of claims 1 to 7, characterized in that: If the first interface includes the first element, and the display form of the first element is vertical display, the first area is located on the left side or the right side of the display screen.
9. The method according to any one of claims 1 to 8, characterized in that The method further includes: in response to the first operation, displaying a small application window on the display screen, wherein the first interface is displayed in the small application window, and the small application window moves along a track of the first operation on the display screen.
10. The method according to any one of claims 1 to 9, characterized in that The method further comprises: If the third area and the fourth area are arranged one above the other on the display screen, the first application is an interactive application, and the second application is a browsing application, the third area is below the fourth area.
11. The method according to any one of claims 1 to 10, characterized in that The method further comprises: If the third area and the fourth area are arranged one above the other on the display screen, the first application is a browsing application, and the second application is an interactive application, the third area is above the fourth area.
12. The method according to any one of claims 1 to 11, characterized in that The method further comprises: If the third area and the fourth area are arranged one above the other on the display screen, and the type of the first application is the same as the type of the second application, the third area is above the fourth area.
13. The method according to any one of claims 1 to 12, characterized in that The method further comprises: If the first area is located above or below the display screen, and the second application does not support top-bottom split screen, the third area and the fourth area are arranged left and right on the display screen.
14. The method according to any one of claims 1 to 12, characterized in that The method further comprises: If the first area is located above or below the display screen and the second application does not support top-bottom split screen, the third area is all areas on the display screen, and the fourth area is the area where the floating window is located.
15. The method according to any one of claims 1 to 14, characterized in that The method further comprises: If the first area is located on the left side or the right side of the display screen and the second application does not support left-right split screen, the third area and the fourth area are arranged up and down on the display screen.
16. The method according to any one of claims 1 to 14, characterized in that The method further comprises: If the first area is located on the left or right side of the display screen and the second application does not support left-right split screen, the third area is all areas on the display screen, and the fourth area is the area where the floating window is located.
17. The method according to any one of claims 1 to 16, characterized in that The second interface is the same as the first interface.
18. The method according to any one of claims 1 to 16, characterized in that The method further comprises: If the first element in the first interface is not displayed in full screen mode, the first element in the second interface is displayed in the third area in full screen mode.
19. The method according to any one of claims 1 to 18, characterized in that After the second interface of the first application is displayed in the third area of the display screen, the method further includes: In response to a third operation of the user, displaying the desktop, and displaying the first combination icon on the desktop; In response to a fourth operation on the first combination icon, a fourth interface of the first application is displayed in a third area of the display screen, and a fifth interface of the second application is displayed in a fourth area of the display screen.
20. The method according to claim 19, characterized in that The fourth interface is the same as the second interface, and the fifth interface is the same as the third interface.
21. The method according to claim 19, characterized in that The fourth interface is different from the second interface, and / or the fifth interface is different from the third interface.
22. An electronic device, characterized in that: include: One or more processors, one or more memories, and one or more display screens; the one or more memories are coupled to the one or more processors, the one or more memories are used to store computer program codes, the computer program codes include computer instructions, and when the one or more processors execute the computer instructions, the electronic device executes the method described in any one of claims 1 to 21.
23. A computer-readable storage medium comprising computer instructions, characterized in that: When the computer instructions are executed on an electronic device, the electronic device is caused to execute the method described in any one of claims 1 to 21.
Citation Information
Patent Citations
Message processing method, related device and system
CN109766066A
Live video control method and device, terminal and computer readable storage medium
CN111131876A
Method and system for media landmark identification
US20080313570A1
