Display method and electronic device

By displaying different windows in the application on electronic devices, the problem of pop-up windows or floating windows blocking the main window is solved, improving the user experience, and achieving flexible split-screen mode and control management.

WO2025107914A1PCT designated stage expired Publication Date: 2025-05-30HUAWEI TECH CO LTD

Patent Information

Application Number
PCT/CN2024/124274
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-11-24
Filing Date
2024-10-11
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

When an existing electronic device displays a pop-up window or floating window in the application, the new window or floating window will block the main window of the application behind, affecting the user experience.

Method used

By split-screen display of different windows in the application program in the display screen of the electronic device, the controls in the first window perform operations, so that the content that should have been displayed in the pop-up window is displayed through the second window, thereby realizing the linkage split-screen or ordinary split-screen mode.

Benefits of technology

Improve the user's visual experience and user experience. Through flexible split-screen mode and control management, users can more conveniently operate and view contents of different windows.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024124274_30052025_PF_FP_ABST
    Figure CN2024124274_30052025_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a display method and an electronic device. In the method, an electronic device may execute an operation on a control in a first window of an application program, so that content originally to be displayed in a pop-up window of the application program is displayed by means of a second window, and the electronic device may display in split-screen mode the first window and the second window in the application program. Therefore, the visual experience and the use experience of a user can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Display method and electronic device

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of the People's Republic of China on November 24, 2023, with application number 202311583583.0 and application name "A Display Method and Electronic Device", the entire contents of which are incorporated by reference into this application. Technical Field

[0003] The present application relates to the technical field of electronic devices, and in particular to a display method and electronic device. Background Art

[0004] With the development of electronic device hardware and software technologies, electronic devices have brought great convenience to people's lives, learning and work. For example, the use of electronic devices (such as mobile phones and tablets) for lightweight interaction and multitasking is increasing.

[0005] To enrich the display and facilitate user operation and browsing, electronic devices can display certain tasks or functions triggered by the user within an application in the form of pop-up windows or floating windows. However, in this display method, the new window or floating window will block the main window of the application behind it, affecting the user experience.

[0006] Summary of the Invention

[0007] The present application provides a display method and an electronic device, which are used to enable the electronic device to display different windows within an application program in a split-screen manner to improve the user experience.

[0008] In a first aspect, embodiments of the present application provide a display method that can be applied to electronic devices. The terminal device herein may refer to the terminal device itself, or to a processor, module, chip, or chip system in the terminal device that implements the method. The following description uses the terminal device as an example. The method includes the following steps:

[0009] An electronic device displays a first window of an application on a display screen; wherein the first window contains a first control, the first control is used to trigger a pop-up window or the first control is a pop-up window opened in the first window; in response to a first operation performed by a user on the first control in the first window, the first window and a second window are displayed in a split screen on the display screen; the second window is used to display the content displayed in the pop-up window.

[0010] Through this method, the electronic device can perform operations on the controls in the first window of the application to display the content that should have been displayed in the pop-up window of the application through the second window, and trigger the electronic device to display the first window and the second window in the application in split screen, thereby improving the user's visual experience and usage experience.

[0011] Exemplarily, the first control may be a control such as a virtual button, an icon, a hyperlink, etc., which is used to trigger a pop-up window to display corresponding content.

[0012] In one possible design, when the electronic device displays the first window and the second window in a split-screen display screen, it can enter a linked split-screen mode or a normal split-screen mode; when the electronic device enters the linked split-screen mode, in response to the second operation performed by the user on the first window, based on the first content displayed in the first window, the second content corresponding to the first content is displayed in the second window; or when the electronic device enters the normal split-screen mode, when the user performs the second operation on the first window, the content displayed in the second window is not updated; wherein, the second operation is used to switch the display content of the first window, or the second operation is used to select the first content in the display content of the first window.

[0013] This design allows the electronic device to use a linked split-screen mode so that the display content of the second window changes as the display content of the first window changes; or to use a normal split-screen mode so that the first and second windows remain independent of each other. This increases the flexibility of the electronic device's split-screen display of the first and second windows, improving the user experience.

[0014] In one possible design, when the second operation is used to switch the display content of the first window, the first content is: all the content displayed in the first window after the display content of the first window is switched, or the content located at the set position of the first window after the display content of the first window is switched.

[0015] In one possible design, the electronic device may further display a first window partition area between the first window and the second window; the first window partition area includes a control icon; and the control icon is used to manage the split-screen mode of the electronic device.

[0016] This design makes it easier for users to manage the split-screen mode of the electronic device through the control icon.

[0017] In one possible design, when the electronic device is in linked split-screen mode, the control icon is a first graphic; when the electronic device is in normal split-screen mode, the control icon is a second graphic. This design can visually inform the user of the current split-screen mode of the electronic device through the control icon.

[0018] In one possible design, the electronic device can also display a prompt window in response to the user's third operation performed on the control icon; wherein, the prompt window includes a split-screen mode switch button and / or a position switch button; in response to the user selecting the split-screen mode switch button in the prompt window, the split-screen mode of the electronic device is switched; or in response to the user selecting the position switch button in the prompt window, the positions of the first window and the second window are switched.

[0019] Through this design, the user can switch the electronic device to split-screen mode or switch the positions of the two windows being displayed in split screen by performing an operation on the control icon. Optionally, the third operation can be a click operation, a double-click operation, etc. performed on the control icon, which is not limited in this application. In addition, the electronic device can also actively close the prompt window after the prompt window is displayed for a certain period of time, or the electronic device can close the prompt window after the user selects any button in the prompt window, which is not limited in this application.

[0020] In one possible design, the electronic device can also switch the split-screen mode of the electronic device in response to the fourth operation performed by the user on the control icon; or switch the positions of the first window and the second window in response to the fifth operation performed by the user on the control icon.

[0021] Through this design, the user can switch the electronic device to split-screen mode or switch the positions of the two windows being displayed in split screen by performing operations on the control icon. The fourth operation and the fifth operation are different operations performed on the control icon. For example, the fourth operation is a single-click operation, and the fifth operation is a continuous click operation. For another example, the fourth operation and the fifth operation are both continuous click operations, but the number of continuous clicks of the two operations is different. For another example, in a scenario where the electronic device is equipped with an external input device, the fourth operation and the fifth operation can be different operations performed by the user through the external input device, such as the fourth operation is a left-click operation, the fifth operation is a right-click operation, etc.

[0022] In a possible design, the electronic device may further adjust the areas of the first window and the second window in response to the user dragging the first window partition.

[0023] With this design, the user can adjust the areas of the two windows displayed on the split screen by dragging the first window split area.

[0024] In one possible design, the first operation is dragging the first control to a first side of a display area in the display screen, where the display area is an area in the display screen used to display a user interface.

[0025] This design defines the operation for triggering the split-screen display function of the electronic device. Furthermore, the first operation can be dragging the first control to within a set range of the first side. Exemplarily, the set range can be the middle position range of the first side excluding the vicinity of the two end points (for example, the distance from the end points is less than a set distance threshold).

[0026] In a possible design, the first side is a set side, and the initial position relationship between the second window and the first window is set.

[0027] The first side can be a side specially set for the electronic device to start the split screen display multiple windows function, that is, the first side is a set side. Optionally, the first side can be a default side of the operating system of the electronic device or can be set by the user.

[0028] In one possible design, the first side may be any side in the display area, and after the electronic device activates the split-screen display function, the initial positional relationship between the second window and the first window may also change according to changes in the first side, as follows:

[0029] The first side is the left side, and the initial position relationship between the second window and the first window is that the second window is located on the left side of the first window; or the first side is the right side, and the initial position relationship between the second window and the first window is that the second window is located on the right side of the first window; or the first side is the upper side, and the initial position relationship between the second window and the first window is that the second window is located on the upper side of the first window; or the first side is the lower side, and the initial position relationship between the second window and the first window is that the second window is located on the lower side of the first window.

[0030] With this design, the electronic device can flexibly display the initial position relationship between the second window and the first window during split-screen display based on the position of the first side, thereby improving user experience.

[0031] In a possible design, when the electronic device does not display other windows on the display screen, the initial area of ​​the first window is the same as the initial area of ​​the second window.

[0032] With this design, the electronic device can set the initial area of ​​the first window to be the same as the initial area of ​​the second window in a two-split screen scenario.

[0033] In one possible design, when the electronic device displays the first window and the third window in split screen on the display screen, in response to the first operation performed on the first control, the electronic device displays the first window, the second window and the third window in split screen on the display screen.

[0034] Through this design, electronic devices can achieve multi-split screen function.

[0035] In one possible design, the electronic device may display the first window, the second window, and the third window in split-screen on the display screen through the following steps:

[0036] The electronic device determines the area ratio of the second window and the third window based on the contact position of the first operation on the first side; and displays the first window, the second window and the third window in split screen on the display screen based on the area ratio; wherein the second window and the third window are located on the same side of the first window.

[0037] With this design, the electronic device can determine the area ratio of the second window and the third window displayed in split screen according to the user's operation, so that the second window and the third window can be displayed in split screen according to the area ratio.

[0038] In a possible design, the electronic device may determine the area ratio of the second window and the third window according to the ratio of the distance between the contact point position and the two ends of the first side.

[0039] In a possible design, the second window and the third window are located on the same side of the first window, and an initial area of ​​the second window is the same as an initial area of ​​the third window.

[0040] In one possible design, the sum of the initial area of ​​the second window and the initial area of ​​the third window is equal to the initial area of ​​the first window; or the sum of the initial area of ​​the second window and the initial area of ​​the third window is equal to the first area, and the first area is the final area of ​​the third window when the electronic device displays the first window and the third window in split screen.

[0041] In one possible design, the electronic device may further display a second window partition area between the second window and the third window; and adjust the areas of the second window and the third window in response to the user dragging the second window partition area.

[0042] With this design, the user can adjust the areas of the second window and the third window displayed on the split screen by dragging the second window split area.

[0043] In one possible design, the electronic device may further switch the positions of the second window and the third window in response to a fifth operation performed by the user on the second window or the third window.

[0044] For example, the fifth operation can be a drag operation, a single click operation, a double click operation, etc. of the second window or the third window by the user, which is not limited in this application. Exemplarily, when the user drags the second window to the position of the third window, the electronic device can switch the positions of the second window and the third window.

[0045] In one possible design, the electronic device can also close the first window and the second window in response to the user's exit operation on the application; and continue to display the first window and the second window in split screen on the display screen in response to the user's start operation on the application.

[0046] Through this design, the split-screen display function of the first window and the second window of the application in the electronic device will not be closed due to the exit of the application. When the application is started again, the electronic device can continue to display the first window and the second window in split screen.

[0047] In a second aspect, an embodiment of the present application provides an electronic device comprising a unit for executing each step of the method provided in the first aspect. For example, the electronic device may include a display unit and a processing unit, wherein the display unit is configured to display a user interface and the processing unit is configured to implement the method provided in the first aspect.

[0048] In a third aspect, an embodiment of the present application provides an electronic device comprising a display screen, at least one processor and a memory; the at least one processor is coupled to the memory, and the at least one processor is used to read the computer program stored in the memory to execute the method provided in the first aspect.

[0049] In a fourth aspect, an embodiment of the present application provides a chip, which is used to read a computer program stored in a memory and execute the method provided in the first aspect above. Optionally, the chip may include a processor, which is coupled to the memory and is used to read the computer program stored in the memory to implement the method provided in the above embodiment. Optionally, the chip may also include components such as a memory, a communication interface, and a power supply module. The memory is used to store computer programs; the communication interface is used to receive and send data; and the power supply unit is used to power the processor.

[0050] In a fifth aspect, embodiments of the present application further provide a chip system, comprising a processor configured to support a computer device in implementing the method provided in the first aspect. In one possible design, the chip system further comprises a memory configured to store the necessary programs and data for the computer device. The chip system may be composed solely of a chip, or may include a chip and other discrete components.

[0051] In a sixth aspect, an embodiment of the present application provides a computer storage medium, which stores a computer program. When the computer program runs on an electronic device, the computer executes the method provided in the first aspect above.

[0052] In a seventh aspect, an embodiment of the present application provides a computer program product, which includes a computer program; when the computer program is run on a computer, the computer is caused to execute the method provided in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] FIG1 is a structural diagram of an electronic device provided in an embodiment of the present application;

[0054] FIG2 is a schematic diagram of the software structure of an electronic device provided in an embodiment of the present application;

[0055] FIG3 is a flow chart of a display method provided in an embodiment of the present application;

[0056] 4A-4R are diagrams illustrating examples of user interfaces of several electronic devices provided in embodiments of the present application;

[0057] FIG5 is an example diagram of a user interface of an electronic device provided in an embodiment of the present application;

[0058] FIG6 is an example diagram of a user interface of an electronic device provided in an embodiment of the present application;

[0059] FIG7 is a structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0060] This application provides a display method and electronic device for enabling the electronic device to display different windows within an application program in a split-screen manner, thereby improving the user experience. The method and electronic device are based on the same technical concept. Since the method and electronic device solve similar problems, the implementation of the electronic device and the method can be referenced in conjunction with each other, and any repetitions will not be repeated.

[0061] Some of the terms used in this application are explained below to facilitate understanding by those skilled in the art.

[0062] 1) Electronic equipment refers to equipment or devices with data connectivity, data calculation and processing, and interface display functions.

[0063] For example, the electronic device in this application may be a tablet computer, a personal computer (PC), a laptop computer, a computer, a netbook, a car computer, a smart phone, a smart wearable device (such as a smart watch, a smart bracelet, smart glasses, etc.), etc. Of course, the electronic device may also be various portable devices, car terminal devices, personal digital assistants (PDAs), smart home devices (such as smart TVs, etc.), and other smart devices. This application does not limit the specific form of the electronic device.

[0064] The electronic device can realize its functions through the operating system it carries and provide services to the user. For example, the electronic device can be equipped with, but not limited to, Or other operating systems.

[0065] 2) Applications are installed in electronic devices and can provide services to users after running. Applications can also be called application software or applications (APP). In the following description, application and application are equivalent and can be used interchangeably.

[0066] The application program may be developed by the manufacturer of the electronic device, or by the supplier of the operating system of the electronic device, or by a third-party application manufacturer, and this application does not limit this.

[0067] For example, the application programs may include: various drawing applications, call applications, camera applications, text messaging applications, chat applications, video applications, music applications, electronic map applications, social applications, office applications, etc.

[0068] 3) Controls are control components installed in electronic devices that encapsulate data and / or programs and are used to activate certain functions or applications of the electronic devices. Optionally, in the user interface, controls can be presented in various forms, including but not limited to virtual buttons, icons, hyperlinks, and pop-up windows (e.g., pop-up boxes, floating windows, etc.).

[0069] In an embodiment of the present application, a control displayed in a window of an application is used to start a certain function of the application or to start another application during the operation of the application to support the application.

[0070] It should be understood that in the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can represent: a, b, c, a and b, a and c, b and c, or a, b and c, where a, b, c can be single or multiple.

[0071] In the embodiments of the present application, descriptions such as "when...", "in the case of...", "if" and "if" all mean that the electronic device will perform corresponding processing under certain objective circumstances. It does not limit the time, nor does it require the electronic device to perform judgment actions when implemented, nor does it mean that there are other limitations.

[0072] It should be noted that in this application, "used for indication" can include being used for direct indication and being used for indirect indication. When describing that a certain information is used to indicate A, it can include that the information directly indicates A or indirectly indicates A, but it does not mean that the information must carry A. Taking the first information used to indicate the first content as an example, the first information can include the first content, and can also include a part of the first content or an identifier or index of the first content, etc., and can also include an algorithm or calculation parameters for determining the first content. This application does not limit the method of "indication".

[0073] In this application, "including / comprising A" may be equivalent to "including / comprising A information". A information is used to indicate A.

[0074] In addition, it should be understood that, in the description of this application, words such as "first" and "second" are only used for the purpose of distinguishing the description, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order.

[0075] The solution provided in the embodiments of the present application is described in detail below with reference to the accompanying drawings.

[0076] The embodiment of the present application provides an electronic device that can implement the display method provided in the embodiment of the present application. The structure of the electronic device provided in the embodiment of the present application is described below with reference to FIG1 .

[0077] As shown in Figure 1, the electronic device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a USB interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a SIM card interface 195, etc.

[0078] The processor 110 may include one or more processing units, for example: the processor 110 may include a central processing unit (CPU), an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units can be independent devices or integrated into one or more processors. Among them, the controller can be the nerve center and command center of the electronic device 100. The controller can generate an operation control signal based on the instruction opcode and the timing signal to complete the control of instruction fetching and execution.

[0079] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or is reusing. If the processor 110 needs to use the instruction or data again, it can directly access the memory. By providing this memory, the number of times the processor 110 accesses data from the internal memory 121 can be reduced, reducing the processor 110's waiting time, thereby improving system efficiency.

[0080] The display method provided in the embodiment of the present application can be controlled by the processor 110 or implemented by calling other components, such as calling the software program of the embodiment of the present application stored in the internal memory 121, and controlling the display screen 194 to display the user interface. The processor 110 can include different components. For example, when the processor 110 is integrated with a CPU and a GPU, the CPU and GPU can cooperate to execute the display method provided in the embodiment of the present application. For example, some internal algorithms in the method are executed by the CPU, while other algorithms related to the user interface display are executed by the GPU, so as to achieve faster processing efficiency.

[0081] Display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLED, or a quantum dot light-emitting diode (QLED). In some embodiments, electronic device 100 may include one or N display screens 194, where N is a positive integer greater than 1. Display screen 194 can be used to display information input by or provided to the user, as well as various graphical user interfaces (GUIs). For example, display screen 194 can display windows, photos, videos, web pages, or files. Furthermore, it will be appreciated that in some embodiments, the status bar may also include a Bluetooth icon, a Wi-Fi icon, an external device icon, and the like. In some embodiments, when the processor 110 detects a touch operation of a user's finger (or stylus, etc.) on the user interface, it executes corresponding instructions in response to the touch operation and may also display an updated user interface on the display screen 194.

[0082] In the embodiment of the present application, the display screen 194 can be a single flexible display screen, or a spliced ​​display screen composed of two or more rigid screens and a flexible screen located between two adjacent rigid screens. After the processor 110 executes the display method provided in the embodiment of the present application, the processor 110 can control the display screen 194 to display the user interface of the application.

[0083] In some embodiments, part or all of the display screen 194 can be used to display a user interface. For example, the electronic device 100 can have multiple display modes, each with a corresponding display area. The display areas corresponding to different display modes can vary in shape or size. It should be noted that the display areas corresponding to different display modes may overlap.

[0084] In some specific scenarios, the display mode of the electronic device 100 may also be related to the state of the electronic device 100. For example, for a foldable electronic device with multiple display screens, the display area in the unfolded state and the folded state may be different, and the display screens where the display area is located and the size, etc. may also be different.

[0085] Of course, the electronic device 100 may also have only one display mode. In this case, the electronic device 100 may display the user interface through the entire area of ​​the display screen 194 or through a partial area of ​​the display screen 194 .

[0086] The camera 193 is used to capture still images or videos. Optionally, the electronic device 100 may include 1 to N cameras 193. For example, the camera 193 may include a front camera or a rear camera, or one camera 193 may serve as both a front camera and a rear camera. Typically, the camera 193 may include a photosensitive element such as a lens group and an image sensor. The lens group includes a plurality of lenses (convex lenses or concave lenses) for collecting light signals reflected by the object to be photographed and transmitting the collected light signals to the image sensor. The image sensor generates an original image of the object to be photographed based on the light signal.

[0087] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. The program storage area may store an operating system, program codes of at least one application, etc. The operating system may include, but is not limited to, The data storage area can store data created during the use of the electronic device 100 .

[0088] The internal memory 121 may also store one or more computer programs for executing the display method provided in the embodiments of the present application. The one or more computer programs are stored in the internal memory 121 and configured to be executed by the one or more processors 110. The one or more computer programs include instructions, which can be used to execute the various steps in the following embodiments.

[0089] In addition, the internal memory 121 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0090] The sensor module 180 may include, but is not limited to, a fingerprint sensor, a touch sensor, a pressure sensor, a magnetic sensor, an ambient light sensor, an air pressure sensor, a bone conduction sensor, and the like.

[0091] A touch sensor, also known as a "touch panel," can be provided on the display screen 194. The touch sensor 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 some embodiments, the touch sensor can be integrated with the display screen 194 to form a touch display screen. In other embodiments, the touch sensor can also be provided on the surface of the electronic device 100, at a location different from that of the display screen 194.

[0092] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0093] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.

[0094] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0095] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0096] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0097] In addition, the electronic device 100 can implement audio functions such as music playback, recording, etc. through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor. The electronic device 100 can receive input from the key 190 and generate key signal input related to the user settings and function control of the electronic device 100. The electronic device 100 can use the motor 191 to generate a vibration prompt. The indicator 192 in the electronic device 100 can be an indicator light, which can be used to indicate the charging status, power changes, and can also be used to indicate messages, missed calls, notifications, etc. The SIM card interface 195 in the electronic device 100 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195.

[0098] It should be understood that, in actual applications, the electronic device 100 shown in FIG1 is merely an example and does not constitute a limitation of the electronic device. Furthermore, the electronic device 100 may have more or fewer components than shown in the figure, may combine two or more components, or may have a different component configuration. The various components shown in the figure may be implemented in hardware, including one or more signal processing and / or application-specific integrated circuits, software, or a combination of hardware and software.

[0099] The software system of the electronic device 100 provided in the embodiment of the present application can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a microservice architecture, or a cloud architecture. The embodiment of the present application takes the layered architecture as an example and illustrates the software structure of the electronic device with reference to FIG2 .

[0100] A layered architecture divides software into several layers, each with distinct roles and responsibilities. Layers communicate with each other through software interfaces. As shown in Figure 3, this software architecture can be divided into four layers: the application layer, the application framework (FWK), the system library, and the kernel layer, from top to bottom. Electronic devices may also include a hardware layer.

[0101] The application layer is the top layer of the operating system, including native applications of the operating system and third-party applications, such as camera, gallery, calendar, Bluetooth, music, video, information and so on.

[0102] The application framework layer provides an application programming interface (API) and programming framework for applications in the application layer. The application framework layer includes some predefined functions. The application framework layer may include a window manager, content provider, view system, telephony manager, resource manager, notification manager, etc.

[0103] A window manager provides window management services (WMS). It can obtain the display size, determine whether a status bar is present, lock the screen, and take screenshots. It also provides multiple management functions to control parameters such as the transparency, position, and size of windows or interfaces on the display.

[0104] Content providers are used to store and retrieve data and make it accessible to applications. The data may include files (such as documents, videos, images, audio), text, and other information.

[0105] The view system includes visual controls, such as those for displaying text, images, and documents. The view system can be used to build applications. The interface within a display window can be composed of one or more controls. For example, a display interface showing a file icon might include controls for displaying text and images.

[0106] The phone manager is used to provide communication functions for terminal devices. The notification manager enables applications to display notification information in the status bar, which can be used to convey informational messages and can disappear automatically after a short stay without user interaction.

[0107] Optionally, the application framework layer may also include a split-screen manager. The split-screen manager can be used to implement the display method provided in the embodiments of the present application, that is, when a window of an application is displayed, when a control operation performed on a control within the window is detected, the window and another window are displayed in a split-screen manner. It should be noted that, at the application framework layer, the split-screen manager can be deployed independently or integrated into the window manager, and this application does not limit this.

[0108] Optionally, in the Android system, the software structure of the electronic device also includes the Android runtime. The Android runtime consists of core libraries and a virtual machine. The Android runtime is responsible for scheduling and management of the Android system. The Android system's core library consists of two parts: one for the functional functions required by the Java language, and the other for the Android system's core library. The application layer and application framework layer run in the virtual machine. Taking Java as an example, the virtual machine executes Java files in the application layer and application framework layer as binary files. The virtual machine is responsible for performing functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.

[0109] The system library can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc. The surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications. The media library supports playback and recording of a variety of common audio and video formats, as well as static image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc. The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing. The 2D graphics engine is a drawing engine for 2D drawing.

[0110] The kernel layer provides the operating system's core system services, such as security, memory management, process management, network protocol stacks, and driver models. These services are all implemented within the kernel layer. The kernel layer also serves as an abstraction layer between the hardware and software stacks. This layer contains many drivers related to electronic devices, primarily display drivers; keyboard drivers for input devices; Flash drivers for memory-based devices; camera drivers; audio drivers; Bluetooth drivers; and Wi-Fi drivers.

[0111] The hardware layer can include various sensors, displays, cameras, etc.

[0112] It should be noted that Figure 2 is merely an example of a software structure diagram for an electronic device, in which only some layers and software modules are simply listed. In actual applications, the operating system of an electronic device may further include other layers, and each layer may further include other software modules for implementing one or more functions or services. This embodiment of the present application does not specifically limit this. In addition, this embodiment of the present application does not limit the specific layer in which each software module is located.

[0113] The embodiment of the present application provides a display method, which can be applied to the electronic device shown in Figure 1. The software structure of the electronic device can be seen in Figure 2. The method provided by the embodiment of the present application is described in detail below with reference to the flowchart shown in Figure 3.

[0114] S301: The electronic device displays a first window of an application on a display screen, wherein the first window includes a first control, and the first control is used to trigger a pop-up window or the first control is a pop-up window opened in the first window.

[0115] Optionally, the first control may be, but is not limited to, any one of the following: a virtual button, an icon, a hyperlink, or a pop-up window (a pop-up box, a floating box). The virtual button, icon, or hyperlink is used to trigger a pop-up window to display corresponding content.

[0116] When the first control is a pop-up window, it can serve as a temporary window or a regular window of the application. The user can trigger the display of the pop-up window through a virtual button, icon, or hyperlink, or by selecting target content from the displayed content of the first window. This application does not limit the triggering method of the pop-up window displayed in the first window.

[0117] Taking a reading app on a tablet as an example, when a user selects a target text in the main function window of the reading app, the reading app can activate the translation function for the target text. As shown in Figure 4A, the first window displayed on the tablet is the main function window of the reading app, which contains the text opened by the user. The first control in the first window is a pop-up window, which is used to implement the translation function of the reading app and translate the target text selected by the user in the first window.

[0118] S302: In response to a first operation performed by a user on a first control in a first window, the electronic device displays a first window and a second window in a split screen on a display screen; the second window is used to display the content displayed in the pop-up window.

[0119] Continuing with the scenario shown in FIG4A as an example, after the user performs a first operation on the first control in the first window, the tablet computer may display the first window and the second window in split screen (ie, a split screen of two windows), as shown in FIG4B .

[0120] Optionally, in an embodiment of the present application, when the electronic device displays the first window and the second window in a split-screen display, it can enter a linked split-screen mode or a normal split-screen mode.

[0121] The linked split-screen mode indicates that there is a correlation between the multiple windows displayed on the split screen. When the display content of one window changes, the display content of the other windows displayed on the split screen will also change. It can be understood that there is a primary and secondary relationship between these windows, one is the main window, and the other windows are secondary windows. The display content of the secondary window will change as the display content of the main window changes. Among them, the secondary window is the window that the user triggers to open through an operation in the main window. In the embodiment of the present application, the first window is the main window and the second window is the secondary window.

[0122] Normal split-screen mode means that the multiple windows displayed on the split screen are independent of each other. If the display content of one window changes, the display content of the other windows displayed on the split screen will not change. It can be understood that these windows are in a parallel relationship.

[0123] Different split-screen modes are described below through the following first and second implementations.

[0124] First embodiment: When the electronic device executes S302, it enters the linkage split-screen mode. In this case, the display content of the second window can change as the display content of the first window changes. For example, the electronic device can implement the linkage between the two windows through the following steps:

[0125] The electronic device displays second content corresponding to the first content in the second window based on the first content displayed in the first window in response to a second operation performed by the user on the first window.

[0126] In one implementation, the second operation may be an operation for switching the display content of the first window. In this case, the first content may be all the content displayed in the first window after the display content of the first window is switched, or the content located at a set position in the first window after the display content of the first window is switched. Continuing with the scenario shown in FIG4B as an example, the second operation may be switching the display content of the first window. As shown in FIG4C , the tablet computer defaults to all the text displayed in the first window after the display content of the first window is switched as the text to be translated. In this case, the second window may display the translated text of all the text; or as shown in FIG4D , the tablet computer may default to the text (for example, the first paragraph of text or the first sentence of text, with the first paragraph of text as an example in the figure) located at a set position in the first window after the display content of the first window is switched as the text to be translated. In this case, the second window may display the translated text corresponding to the text at the set position.

[0127] In another implementation, the second operation can be an operation for selecting the first content in the first window. That is, the first content is the content that is reselected by the second operation. Continuing with the scenario shown in FIG4B as an example, the second operation can be an operation for selecting text in the first window. Referring to FIG4E , the tablet computer can display the translation of the reselected text in the second window based on the text reselected by the user through the second operation.

[0128] Second embodiment: When executing S302, the electronic device enters normal split-screen mode. In this case, the second window and the first window are independent of each other, and their displayed contents are unrelated. That is, when the user performs the second operation on the first window, the content displayed in the second window is not updated. For a description of the second operation, please refer to the relevant description of the first embodiment and will not be repeated here.

[0129] For example, continuing with the scenario shown in FIG4B , the second operation may be an operation of selecting text in the first window. As shown in FIG4F , the text selected in the first window in the tablet computer has changed relative to the initial state in FIG4B , but the content displayed in the second window has not changed, and it is still the second window in the initial state in FIG4B .

[0130] Optionally, in S302, when the electronic device displays the first window and the second window in split screen mode, a first window partition area may be displayed between the first window and the second window, as shown in the blank area between the first window and the second window in Figures 4B to 4F. Optionally, the first window partition area may include a control icon; the control icon is used to manage the split-screen mode of the electronic device.

[0131] In one implementation, in order to facilitate visually prompting the user of the current split-screen mode of the electronic device, the shape of the control icon may be different in different split-screen modes. That is, when the electronic device is in the linked split-screen mode, the control icon may be a first graphic; when the electronic device is in the normal split-screen mode, the control icon may be a second graphic. Continuing with the scenario shown in FIG4B as an example, as shown in (a) of FIG4G , in the linked split-screen mode, the shape of the control icon in the first window partition is the first graphic; as shown in (b) of FIG4G , in the normal split-screen mode, the shape of the control icon in the first window partition is the second graphic.

[0132] In one implementation, the electronic device may manage the split-screen mode of the electronic device based on the control icon in the first window partition area in the following manner:

[0133] The electronic device displays a prompt window in response to the user's third operation on the control icon; wherein the prompt window includes a split-screen mode switch button and / or a position switch button; the electronic device switches the split-screen mode of the electronic device in response to the user's selection operation on the split-screen mode switch button in the prompt window; or switches the positions of the first window and the second window in response to the user's selection operation on the position switch button in the prompt window.

[0134] Optionally, the third operation may be a click operation, a double-click operation, etc. performed on the control icon, which is not limited in this application. In addition, the electronic device may actively close the prompt window after the prompt window is displayed for a certain period of time, or the electronic device may close the prompt window after the user selects any button in the prompt window, which is not limited in this application.

[0135] Continuing with the scenario shown in FIG4B as an example, it is assumed that in S302, the tablet computer responds to the first operation and enters the linked split-screen mode as shown in (a) of FIG4G by default. Referring to FIG4H for an exemplary description, when the user clicks the control icon (shaped as a first graphic) in the first window dividing area between the first window and the second window, the tablet computer may display a prompt window, in which a switch split-screen mode button and a position switch button may be displayed, as shown in (a) of FIG4H; when the user selects the switch split-screen mode button, the tablet computer may switch to the normal split-screen mode, as shown in (b) of FIG4H; when the user selects the position switch button, the tablet computer may switch the positions of the first window and the second window, as shown in (c) of FIG4H.

[0136] In one implementation, the electronic device may further manage the split-screen mode of the electronic device based on the control icon in the first window partition area in the following manner:

[0137] The electronic device switches the split-screen mode of the electronic device in response to a fourth operation performed by the user on the control icon; or switches the positions of the first window and the second window in response to a fifth operation performed by the user on the control icon.

[0138] It should be noted that the fourth operation and the fifth operation are different operations performed on the control icon. For example, the fourth operation is a single-click operation, while the fifth operation is a continuous click operation. For another example, the fourth operation and the fifth operation are both continuous click operations, but the number of continuous clicks of the two operations is different. For another example, in a scenario where the electronic device is equipped with an external input device, the fourth operation and the fifth operation can be different operations performed by the user through the external input device, such as the fourth operation being a left-click operation and the fifth operation being a right-click operation.

[0139] In one implementation, the electronic device may further adjust the areas of the two windows displayed in the split screen based on the first window partition area in the following manner:

[0140] The electronic device may adjust the areas of the first window and the second window in response to a user's drag operation on the first window partition.

[0141] Continuing with the scenario shown in FIG4B as an example, it is assumed that in S302, the tablet computer responds to the first operation and defaults to the linked split-screen mode as shown in (a) in FIG4G . Referring to (a) and (b) in FIG4I , when the user performs a leftward drag operation on the first window partition, the tablet computer can synchronously move the position of the first window partition to the left as the drag operation is performed, thereby gradually reducing the area of ​​the first window and gradually enlarging the area of ​​the second window. Similarly, when the user performs a rightward drag operation on the first window partition, the tablet computer can also synchronously move the position of the first window partition to the right, thereby gradually enlarging the area of ​​the first window and gradually reducing the area of ​​the second window.

[0142] The following describes the first operation performed by the user on the first control in S302. Optionally, the first operation can be a single-click operation, a double-click operation, a drag operation, etc. performed by the user on the first control, which is not limited in this application. In short, the first operation is an operation that can open the second window and display the first window and the second window in split screen.

[0143] In one embodiment, the first operation is to drag the first control to the first side of the display area in the display screen, and the display area is the area in the display screen used to display the user interface. Generally, in order to facilitate the electronic device content system service image plane engine (Surface Flinger) to manage and generate image data of the user interface, the display area is generally a regular quadrilateral. Furthermore, the first operation can be to drag the first control to within a set range of the first side. Exemplarily, the set range can be the middle position range of the first side excluding the vicinity of the two end points (for example, the distance from the end points is less than the set distance threshold).

[0144] In addition, the present application does not limit the position of the first side. The first side is described below through two implementation methods.

[0145] In a first implementation, the first side may be a side specially set for the electronic device to start the split-screen display function of multiple windows, that is, the first side is the set side. Optionally, the first side may be the default of the operating system of the electronic device, or may be set by the user. For example, the first side may be the upper side or the right side of the display area. Based on this, in S302, after the electronic device starts the split-screen display function, the initial position relationship between the second window and the first window (the default window position relationship of the electronic device) may be set. For example, as shown in Figure 4B, the tablet computer displays the first window and the second window in a left-right split screen, and the second window is located on the right side of the first window. For another example, in some scenarios, the electronic device may display the first window and the second window in an upper-lower split screen, and the second window may be located on the lower side of the first window.

[0146] In the second implementation, the first side may be any side in the display area. After the electronic device activates the split-screen display function, the initial position relationship between the second window and the first window may also change according to the change of the first side, as shown in the following ways:

[0147] Mode 1: The first side is the left side, and the initial position relationship between the second window and the first window is that the second window is located on the left side of the first window.

[0148] Mode 2: The first side is the right side, and the initial position relationship between the second window and the first window is that the second window is located on the right side of the first window.

[0149] Mode 3: The first side is the upper side, and the initial position relationship between the second window and the first window is that the second window is located above the first window.

[0150] Mode 4: The first side is the lower side, and the initial position relationship between the second window and the first window is that the second window is located below the first window.

[0151] Take the scenario shown in FIG4A as an example (at this time, it can be assumed that the display area of ​​the tablet computer is the same as the size of the tablet computer) for explanation. Referring to FIG4J (a), when the user drags the first control to the left side of the tablet computer, the tablet computer splits the screen to display the first window and the second window, and the second window is located to the left of the first window. Referring to FIG4J (b), when the user drags the first control to the right side of the tablet computer, the tablet computer splits the screen to display the first window and the second window, and the second window is located to the right of the first window. Referring to FIG4J (c), when the user drags the first control to the upper side of the tablet computer, the tablet computer splits the screen to display the first window and the second window, and the second window is located above the first window. Referring to FIG4J (d), when the user drags the first control to the lower side of the tablet computer, the tablet computer splits the screen to display the first window and the second window, and the second window is located below the first window.

[0152] It should also be noted that, according to the number of windows displayed in the split screen of the electronic device at S302, it can be divided into a two-split screen scenario and a multi-split screen scenario. These two scenarios are described below.

[0153] Scenario 1: Two-split screen scenario.

[0154] In S302, the electronic device does not display other windows on the display screen (only the first window and the second window are displayed in split screen). In this scenario, the initial area of ​​the first window and the initial area of ​​the second window can be the same. As shown in Figures 4B, 4G, and 4J, when the tablet computer only displays the first window and the second window in split screen (that is, the electronic device enters a two-split screen scenario), the tablet computer defaults to the initial area of ​​the first window being the same as the initial area of ​​the second window. Afterwards, the electronic device can adjust the area of ​​the first window and the second window through user operation, as shown in Figure 4I.

[0155] Scenario 2: Multi-split screen scenario.

[0156] If the electronic device is already in a split-screen display state before executing S302, then when executing S302, the electronic device needs to display not only the first window and the second window in split-screen display, but also other windows in split-screen display. If the electronic device displays the first window and the third window in split-screen display in S301, then in S302, the electronic device needs to display the first window, the second window, and the third window in split-screen display.

[0157] Optionally, in this scenario, when the electronic device displays the first window and the third window in split-screen mode in S301, the electronic device may be in a linked split-screen mode or a normal split-screen mode, which is not limited in this application. In addition, the electronic device may also activate the split-screen display function in response to the user performing a first operation on another control in the first window, and begin to display the first window and the third window in split-screen mode, which is not limited in this application.

[0158] Continuing with the reading application in a tablet computer as an example, assume that the user opens the memo function in the main function window of the reading application, thereby starting a pop-up window displaying the memo (referred to as the second control), and then the user performs a first operation on the second control, thereby splitting the first window and the third window on the display screen, with the third window being used to display the memo, as shown in FIG4K. Afterwards, after the user starts the translation function of the reading application, the tablet computer displays a pop-up window of the translation function in the first window (i.e., the first control), and then the user performs a first operation on the first control, thereby splitting the first window, the second window, and the third window on the display screen, with the second window being used to display the translated text, as shown in FIG4L. Optionally, the first window, the second window, and the third window can be distributed side by side; or they can be distributed according to the distribution method shown in FIG4L, with the other windows except the main function window being located on the same side of the main function window, i.e., the second window and the third window being located on the same side of the first window.

[0159] To improve the flexibility of the electronic device in displaying multiple windows on a split screen, in scenario 2, the electronic device may display the first window, the second window, and the third window on a split screen through, but not limited to, the following implementations:

[0160] A first embodiment: The electronic device may determine the area ratio of the second window and the third window based on the contact position on the first side of the first operation; and display the first window, the second window, and the third window in split screen on the display screen based on the area ratio; wherein the second window and the third window are located on the same side of the first window.

[0161] Optionally, in this embodiment, the electronic device may determine the area ratio of the second window and the third window according to the ratio of the distance between the contact point position and the two ends of the first side.

[0162] In one implementation, when the electronic device displays the three windows in a split screen, the sum of the initial area of ​​the second window and the initial area of ​​the third window can be equal to the first area. The first area is the final area of ​​the third window when the electronic device displays the first and third windows in a split screen. Furthermore, when the electronic device displays the three windows in a split screen, the initial area of ​​the first window is equal to the second area, and the second area is the final area of ​​the first window when the electronic device displays the first and third windows in a split screen. That is, the electronic device can divide the final area of ​​the original third window according to the area ratio, thereby displaying the second and third windows on the final area.

[0163] Continuing with the scenario shown in Figure 4K as an example, after the user activates the translation function of the reading application in the scenario, the user drags the pop-up window of the translation function to the right edge of the display area on the display screen through a first operation. The contact position on the right edge of the first operation is at point C on the right edge. At this time, the ratio between the distance AC and the distance BC is 2:1, as shown in (a) in Figure 4M. Then, when the tablet computer displays the three windows in split screen, the area ratio between the initial area of ​​the third window and the initial area of ​​the second window is 2:1, as shown in (b) in Figure 4M.

[0164] As shown in Figure 4N, if the user adjusts the areas of the first window and the third window when the tablet computer displays the first window and the third window in split screen, then the sum of the initial area of ​​the second window and the initial area of ​​the third window when the tablet computer displays three windows is equal to the final area of ​​the third window when the electronic device displays the first window and the third window in split screen.

[0165] In another implementation, when the electronic device displays the three windows in a split screen, the sum of the initial area of ​​the second window and the initial area of ​​the third window is equal to the initial area of ​​the first window. That is, when the electronic device displays the three windows in a split screen, by default, the first window occupies half of the display area, and the second and third windows together occupy the other half of the display area according to the aforementioned area ratio.

[0166] Assume that the user adjusts the areas of the first window and the third window when the tablet computer displays the first window and the third window in split screen, as shown in (a) in Figure 4N, then when the electronic device displays the third window in split screen, it will also default to the sum of the initial area of ​​the second window and the initial area of ​​the third window being equal to the initial area of ​​the first window, as shown in (b) in Figure 4M.

[0167] Second implementation: When the electronic device displays the first window, the second window, and the third window in split screen, the second window and the third window are located on the same side of the first window, and the initial area of ​​the second window is the same as the initial area of ​​the third window.

[0168] It should be noted that, when the electronic device displays the three windows in split screen, the initial area of ​​the second window is the same as the initial area of ​​the third window by default. The electronic device may also determine, based on the first operation, that the initial area of ​​the second window is the same as the initial area of ​​the third window. For example, when the electronic device displays the first window and the third window in left and right split screens, if the user drags the first control to the upper or lower side of the display area, the electronic device may use this second embodiment to display the three windows in split screen; and if the user drags the first control to the left or right side of the display area, the electronic device may continue to use the above-mentioned first embodiment to display the three windows in split screen.

[0169] In one implementation, when the electronic device displays the three windows in a split screen, the sum of the initial area of ​​the second window and the initial area of ​​the third window can be equal to the first area. The first area is the final area of ​​the third window when the electronic device displays the first and third windows in a split screen. Furthermore, when the electronic device displays the three windows in a split screen, the initial area of ​​the first window is equal to the second area, and the second area is the final area of ​​the first window when the electronic device displays the first and third windows in a split screen. In other words, the electronic device can evenly divide the final area of ​​the original third window, thereby displaying the second and third windows of equal area on the final area.

[0170] Continuing with the scenario shown in 4K as an example, no matter where the user drags the pop-up window of the translation function to the first side through the first operation, when the tablet computer displays three windows in split screen, the initial area of ​​the second window is equal to the initial area of ​​the third window. In the case of (a) in Figure 4M, the user drags the pop-up window of the translation function to a side of the display area in the display screen, and the state of the tablet computer displaying three windows in split screen can be shown in Figure 4O. In the case of (a) in Figure 4N, the user drags the pop-up window of the translation function to a side of the display area in the display screen, and the state of the tablet computer displaying three windows in split screen can be shown in Figure 4P.

[0171] In another implementation, when the electronic device displays the three windows in a split screen, the sum of the initial area of ​​the second window and the initial area of ​​the third window is equal to the initial area of ​​the first window. That is, when the electronic device displays the three windows in a split screen, by default, the first window occupies half of the display area, and the second and third windows evenly divide the other half of the display area.

[0172] Assume that the user adjusts the areas of the first window and the third window when the tablet computer displays the first window and the third window in split screen, as shown in (a) in Figure 4N, then when the electronic device displays the third window in split screen, it will also default to the sum of the initial area of ​​the second window and the initial area of ​​the third window being equal to the initial area of ​​the first window, and the initial area of ​​the second window being the same as the initial area of ​​the third window, as shown in Figure 4O.

[0173] It should also be noted that in scenario 2, when the electronic device displays the first window, the second window, and the third window in split screen mode, a second window partition may be displayed between the second window and the third window, as shown in FIG4L, FIG4M (b), FIG4N (b), and the blank area between the second window and the third window in FIG4O and FIG4P. Based on this, the electronic device may further adjust the areas of the second window and the third window based on the second window partition by performing the following steps:

[0174] The electronic device adjusts the areas of the second window and the third window in response to the user's drag operation on the second window partition.

[0175] Taking the scenario shown in FIG4P as an example, referring to FIG4Q , when the user performs a downward drag operation on the second window partition, the tablet computer can synchronously move the second window partition downward as the drag operation is performed, thereby gradually reducing the area of ​​the second window and gradually enlarging the area of ​​the third window. Similarly, when the user performs an upward drag operation on the second window partition, the tablet computer can synchronously move the second window partition upward as the drag operation is performed, thereby enlarging the area of ​​the second window and gradually reducing the area of ​​the third window.

[0176] In addition, in scenario 2, when the electronic device displays the first window, the second window, and the third window in split screen, the user can also switch the positions of the second window and the third window through operations. That is, the electronic device can also switch the positions of the second window and the third window in response to a fifth operation performed by the user on the second window or the third window. For example, the fifth operation can be a drag operation, a single click operation, a continuous click operation, etc. performed by the user on the second window or the third window, which is not limited in this application. For example, when the user drags the second window to the position of the third window, the electronic device can switch the positions of the second window and the third window.

[0177] It should also be noted that in this scenario 2, the electronic device can still manage the split-screen mode of the electronic device through the control icon in the first window partition, and adjust the first window and other windows through the first window partition. Regarding the changes in the third window, please refer to the changes in the second window in the above-mentioned related process, which will not be repeated here. In addition, the multi-split screen scenario in scenario 2 is explained by taking the electronic device's split screen display of three windows as an example. The electronic device can also split the screen to display more than three windows. For details, please refer to the specific description of the above-mentioned electronic device's split screen display of the three windows, which will not be repeated here.

[0178] Through S302, the electronic device can perform operations on controls in the application to display multiple windows in the application in a split screen, thereby improving the user's visual experience and usage experience.

[0179] In addition, after S302, the split-screen display function of the first window and the second window of the application in the electronic device will not be closed due to the exit of the application. When the application is started again, the electronic device can continue to display the first window and the second window in split screen. The specific process is as follows:

[0180] The electronic device can close the first window and the second window in response to the user's exit operation on the application; thereafter, the electronic device can continue to display the first window and the second window in split screen on the display screen in response to the user's start operation on the application.

[0181] Continuing with the scenario shown in FIG4B as an example, it is assumed that in S302, the tablet computer responds to the first operation and defaults to the linked split-screen mode as shown in FIG4G (a). When the user performs an exit operation on the reading application (swiping upward from the bottom of the display area), as shown in FIG4R (a), the tablet computer closes all windows (the first window and the second window) within the reading application, thereby exiting the reading application and entering the tablet computer's main interface, as shown in FIG4R (b); when the user performs a start operation (single-click operation) on the icon of the reading application in the tablet computer's main interface, as shown in FIG4R (c), the tablet computer restarts the application and continues to display the first window and the second window in split-screen on the display screen, as shown in FIG4R (d).

[0182] In summary, an embodiment of the present application provides a display method, through which an electronic device can perform operations on controls in the first window of an application so that content that should have been displayed in the pop-up window of the application is displayed through a second window, and trigger the electronic device to display the first window and the second window in the application in split screen, thereby improving the user's visual experience and usage experience.

[0183] It should be noted that the above Figures 4A-4R are provided as examples and do not constitute any limitation on the electronic devices, scenarios, applications, and interface layouts to which the methods provided in the embodiments of this application are applicable. The method can be applied to any electronic device and any application. The following illustrates this with other examples.

[0184] Example 1: When a user opens an office application on their mobile phone to edit a document, they can activate the image insertion and text search functions through some operations, or the office application can automatically activate the image insertion and text search functions based on the document content being edited by the user. This allows the mobile phone to display a pop-up window for inserting an image (denoted as the first control) and an icon for the text search function (denoted as the second control) within the main function window of the office application (denoted as the first window), as shown in Figure 5 (a). Subsequently, the user can drag the first control and the second control to cause the mobile phone to display the first, second, and third windows in a split-screen display, as shown in Figure 5 (b). The second window displays content related to the inserted image (content originally displayed in the first control), and the third window displays content related to the text search function. Furthermore, when the mobile phone displays these three windows in split-screen mode, it is in linked split-screen mode, and the content displayed in the second and third windows can change based on the text selected by the user in the first window or the changes in the document content in the first window.

[0185] Example 2: When a user opens a video app on their phone to watch a video, they can activate the smart introduction and image shopping functions through some operations. Alternatively, the video app can automatically activate the smart introduction and image shopping functions based on the video content or software settings of the user, thereby allowing the phone to display a smart introduction pop-up window (denoted as the first control) and an image shopping pop-up window (denoted as the second control) within the main function window of the video app (denoted as the first window), as shown in FIG6 (a). Subsequently, the user can drag the first control and the second control to cause the phone to display the first, second, and third windows in split-screen mode, as shown in FIG6 (b). The second window is used to display content related to the smart introduction (content that should originally be displayed in the first control), and the third window is used to display content related to image shopping (content that should originally be displayed in the second control). In addition, when the phone displays the above three windows in split-screen mode, it is in a linked split-screen mode, and the content displayed in the second and third windows can change depending on the text selected by the user in the first window or the changes in the document content in the first window.

[0186] It should also be noted that each step involved in the above embodiments can be performed by a corresponding device, or by a component such as a chip, processor, or chip system within the device, and the embodiments of the present application do not limit this. The above embodiments are only described as being performed by a corresponding device. In addition, the specific implementation methods or examples in the above embodiments do not limit the solutions provided in the embodiments of the present application.

[0187] It should be noted that in each of the above embodiments, some steps may be selected for implementation, and the order of the steps in the diagrams may be adjusted for implementation, and this application does not limit this. It should be understood that executing some of the steps in the diagrams, adjusting the order of the steps, or combining them for specific implementation all fall within the scope of protection of this application.

[0188] It is understandable that in order to implement the functions in the above embodiments, the various devices involved in the above embodiments include hardware structures and / or software modules corresponding to the execution of each function. It should be readily apparent to those skilled in the art that, in combination with the units and method steps of the various examples described in the embodiments disclosed in this application, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application scenario and design constraints of the technical solution.

[0189] It can be understood that the above-mentioned network architecture and application scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present invention, and do not constitute a limitation on the technical solutions provided by the embodiments of the present invention. Ordinary technicians in this field can know that with the evolution of network architecture and the emergence of new services, the technical solutions provided by the embodiments of the present invention are also applicable to similar technical problems.

[0190] It should be noted that the "steps" in the embodiments of this application are merely illustrative and serve as a method of expression for a better understanding of the embodiments. They do not constitute a substantial limitation on the execution of the solutions of this application. For example, the "steps" can also be understood as "features." Furthermore, the steps do not constitute any limitation on the execution order of the solutions of this application. Any changes to the order of steps, or any operations such as step merging or splitting that do not affect the implementation of the overall solution, resulting in new technical solutions, are also within the scope of this application.

[0191] Based on the same concept, an embodiment of the present application also provides an electronic device. As shown in Figure 7, the electronic device includes one or more processors 701, a memory 702, a transceiver 703, and a display screen 704. For example, the above-mentioned components can be connected via one or more communication buses. Among them, one or more computer programs are stored in the above-mentioned memory 702 and are configured to be executed by the processor 701. The one or more computer programs include instructions, and the above-mentioned instructions can be used to cause the electronic device to perform each step of the method in the above-mentioned embodiments.

[0192] For example, the processor 701 may be the processor 110 shown in FIG1 . The memory 702 may be the internal memory 121 shown in FIG1 and / or an external memory connected to the external memory interface 120 of the electronic device. The transceiver 703 may be the mobile communication module 150 and / or the wireless communication module 160 shown in FIG1 . The display screen 704 may be the display screen 194 shown in FIG1 , and this embodiment of the present application does not impose any limitation on this.

[0193] Based on the same concept, an embodiment of the present application further provides an electronic device, which includes a unit for executing each step of the method provided in the above embodiment. Optionally, the electronic device may include a display screen and a processing unit. Optionally, the electronic device may also include a communication unit. The display screen is used to display a user interface; the communication unit is used to receive and send data; and the processing unit is used to execute the method provided in the above embodiment.

[0194] For the specific functions of the above modules, please refer to the above embodiments and will not be repeated here.

[0195] Based on the above embodiments, the embodiments of the present application further provide a computer program product, which includes a computer program; when the computer program runs on a computer, the computer executes the method provided in the above embodiments.

[0196] Based on the above embodiments, an embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a computer, the computer executes the method provided in the above embodiments.

[0197] Optionally, the above-mentioned computer may include, but is not limited to, electronic devices.

[0198] The storage medium may be any available medium that can be accessed by a computer. By way of example and not limitation, computer-readable media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer.

[0199] Based on the above embodiments, embodiments of the present application further provide a chip configured to read a computer program stored in a memory to implement the methods provided in the above embodiments. Optionally, the chip may include a processor and a memory, wherein the processor is coupled to the memory to read the computer program stored in the memory to implement the methods provided in the above embodiments.

[0200] Based on the above embodiments, embodiments of the present application provide a chip system, which includes a processor for supporting a computer device to implement the functions involved in the electronic device in the above embodiments. In one possible design, the chip system also includes a memory for storing the necessary programs and data for the computer device. The chip system can be composed of a chip or can include a chip and other discrete devices.

[0201] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0202] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each flow and / or box in the flow chart and / or block diagram, as well as the combination of the flow chart and / or box in the flow chart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more flow charts and / or one or more boxes in the block diagram.

[0203] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0204] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0205] Obviously, those skilled in the art may make various changes and modifications to this application without departing from the spirit and scope of this application. Thus, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalents, this application is intended to include these modifications and variations.

Claims

1. A display method, applied to an electronic device, characterized in that: include: Displaying a first window of an application on a display screen; wherein the first window includes a first control, and the first control is used to trigger a pop-up window or the first control is a pop-up window opened in the first window; In response to a first operation performed by a user on the first control in the first window, the first window and a second window are displayed in split screen on the display screen; the second window is used to display the content displayed in the pop-up window.

2. The method according to claim 1, characterized in that The method further comprises: Entering a linked split-screen mode; in response to a second operation performed by the user on the first window, displaying second content corresponding to the first content in the second window based on the first content displayed in the first window; or Entering a normal split-screen mode; when the user performs a second operation on the first window, the content displayed in the second window is not updated; The second operation is used to switch the display content of the first window, or the second operation is used to select the first content in the display content of the first window.

3. The method according to claim 2, characterized in that When the second operation is used to switch the display content of the first window, the first content is: all the content displayed in the first window after the display content of the first window is switched, or the content located at a set position of the first window after the display content of the first window is switched.

4. The method according to claim 2 or 3, characterized in that The method further comprises: A first window partition area is displayed between the first window and the second window; the first window partition area includes a control icon; and the control icon is used to manage the split-screen mode of the electronic device.

5. The method according to claim 4, characterized in that When the electronic device is in the linked split-screen mode, the control icon is a first graphic; when the electronic device is in the normal split-screen mode, the control icon is a second graphic.

6. The method according to claim 4 or 5, characterized in that The method further comprises: In response to the user performing a third operation on the control icon, a prompt window is displayed; wherein the prompt window includes a split-screen mode switch button and / or a position switch button; in response to the user performing a selection operation on the split-screen mode switch button in the prompt window, the split-screen mode of the electronic device is switched; or in response to the user performing a selection operation on the position switch button in the prompt window, the positions of the first window and the second window are switched; or In response to a fourth operation performed by the user on the control icon, switching the split-screen mode of the electronic device; or in response to a fifth operation performed by the user on the control icon, switching the positions of the first window and the second window.

7. The method according to any one of claims 4 to 6, characterized in that: The method further comprises: In response to the user's dragging operation on the first window partition, the areas of the first window and the second window are adjusted.

8. The method according to any one of claims 1 to 7, characterized in that: The first operation is to drag the first control to a first side of a display area in the display screen, where the display area is an area in the display screen used to display a user interface.

9. The method according to claim 8, characterized in that The first side is a set side, and an initial position relationship between the second window and the first window is set.

10. The method according to claim 8, characterized in that The first side edge is a left side edge, and an initial position relationship between the second window and the first window is that the second window is located on the left side of the first window; or The first side edge is a right side edge, and the initial position relationship between the second window and the first window is that the second window is located on the right side of the first window; or The first side is an upper side, and the initial position relationship between the second window and the first window is that the second window is located on the upper side of the first window; or The first side is a lower side, and an initial position relationship between the second window and the first window is that the second window is located at a lower side of the first window.

11. The method according to any one of claims 8 to 10, characterized in that: When the electronic device does not display other windows on the display screen, the initial area of ​​the first window is the same as the initial area of ​​the second window.

12. The method according to any one of claims 8 to 10, characterized in that: The first window of the application is displayed on the display screen, including: Displaying the first window and the third window in split screen on the display screen; Displaying the first window and the second window in a split screen on the display screen includes: The first window, the second window and the third window are displayed in split screen on the display screen.

13. The method according to claim 12, characterized in that Displaying the first window, the second window, and the third window in split screen on the display screen includes: determining an area ratio of the second window to the third window according to a contact point position of the first operation on the first side; The first window, the second window and the third window are displayed in split screen on the display screen according to the area ratio; wherein the second window and the third window are located on the same side of the first window.

14. The method according to claim 13, characterized in that, Determining the area ratio of the second window to the third window according to the contact point position of the first operation on the first side, includes: The area ratio of the second window and the third window is determined according to the ratio of the distance between the contact point position and the two ends of the first side.

15. The method according to claim 12, characterized in that The second window and the third window are located at the same side of the first window, and an initial area of ​​the second window is the same as an initial area of ​​the third window.

16. The method according to any one of claims 12 to 15, characterized in that: The sum of the initial area of ​​the second window and the initial area of ​​the third window is equal to the initial area of ​​the first window; or The sum of the initial area of ​​the second window and the initial area of ​​the third window is equal to the first area, and the first area is the final area of ​​the third window when the electronic device displays the first window and the third window in split screen.

17. The method according to any one of claims 12 to 16, characterized in that: The method further comprises: displaying a second window partition area between the second window and the third window; In response to the user's dragging operation on the second window partition, the areas of the second window and the third window are adjusted.

18. The method according to any one of claims 12 to 17, characterized in that: The method further comprises: In response to a fifth operation performed by the user on the second window or the third window, positions of the second window and the third window are switched.

19. The method according to any one of claims 1 to 18, characterized in that: The method further comprises: In response to an exit operation performed by the user on the application, closing the first window and the second window; In response to the user starting the application, the first window and the second window continue to be displayed in split screen on the display screen.

20. An electronic device, characterized in that: The electronic device comprises: A display screen, used for displaying a user interface; a memory for storing computer program instructions; A processor is used to execute the computer program instructions to support the electronic terminal device to implement the method as described in any one of claims 1-19.

21. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processing circuit, the method according to any one of claims 1 to 19 is implemented.

22. A computer program product comprising instructions, characterized in that When the computer program product is run on a computer, the computer is caused to execute the method according to any one of claims 1 to 19.

23. A chip system, characterized in that: The chip system includes a processing circuit and a storage medium, wherein the storage medium stores computer program instructions; when the computer program instructions are executed by the processing circuit, the method as described in any one of claims 1 to 19 is implemented.

Citation Information

Patent Citations

  • Multi-window display method and device of browser

    CN104636120A

  • Interface display method, device, storage medium and terminal equipment

    CN107835322A

  • Split-screen display method and electronic equipment

    CN111142769A

  • Translation result display method and device and electronic equipment

    CN113885973A

  • Screen splitting method and device and electronic equipment

    CN114281439A

Cited By

  • Display method and related device

    CN122018744A