Search

CN-113811844-B - Split screen display method and electronic equipment

CN113811844BCN 113811844 BCN113811844 BCN 113811844BCN-113811844-B

Abstract

The embodiment of the invention provides a split-screen display method and electronic equipment, wherein the method comprises the steps that when the electronic equipment runs a first application to execute a first task, a display interface corresponding to the first task is displayed on a display screen; receiving a first operation for starting a second task on a display interface corresponding to the first task; and responding to the first operation, and starting a split screen display mode. Compared with the prior art, the embodiment of the invention can trigger the split screen mode without additional manual operation of a user, thereby realizing the technical effect of triggering the electronic equipment to enter the split screen display based on the task and improving the intelligence of the electronic equipment.

Inventors

  • LUO YI

Assignees

  • 华为技术有限公司
  • 华为技术有限公司

Dates

Publication Date
20260421
Application Date
20200716
Priority Date
20190930

Claims (15)

  1. 1. A split screen display method, the method comprising: When a first application is operated to execute a first task, a display interface corresponding to the first task is displayed on a display screen; receiving a first operation for starting a second task on a display interface corresponding to the first task, wherein the second task is an associated task triggered in the process of executing the task by the first application; Responding to the first operation, and starting a split screen display mode; wherein, responding to the first operation, starting a split screen display mode, comprising: generating a view of a display interface corresponding to the second task, and displaying the view on the display interface corresponding to the first task; The method comprises the steps of responding to a second operation for the view, and determining a split-screen display window position according to the second operation, wherein the second operation comprises a first sub-operation of dragging the view to a preset azimuth, and the preset azimuth is the split-screen display window position; Displaying a split screen display window on the split screen display window position, and displaying a display interface corresponding to the second task in the split screen display window; The second task is associated with a first view control in a display interface corresponding to the first task, the first view control is a marked view control in a view tree associated with the display interface corresponding to the first task, and the view is associated with the first view control; Providing a system user interface component, wherein the system user interface component has global authority at a system level, and a drag initiator for processing a drag gesture of a user is included in the system user interface component; the method comprises the steps of providing a split-screen window unified control center component, wherein the split-screen window unified control center component is used for triggering split-screen display, determining the position of a split-screen display window by the drag starter, and sending an instruction to the split-screen window unified control center component so as to trigger the split-screen display; The view is displayed on a display interface corresponding to the first task, which comprises the steps of displaying the first view control on the display interface corresponding to the first task; the method further includes receiving the second operation on the first view control; The system user interface component processes the second operation to determine the position of the split-screen display window and sends a first instruction corresponding to the second operation to the split-screen window unified control center component; the step of displaying the split display window on the split display window position and displaying the display interface corresponding to the second task in the split display window comprises the following steps: and the split-screen window unified control center component responds to the second operation according to the first instruction, and displays a display interface corresponding to the second task in the split-screen display window.
  2. 2. The method of claim 1, wherein displaying a display interface corresponding to a first task on a display screen while executing the first task by a first application comprises: and displaying the display interface corresponding to the first task on the display screen in a full screen mode.
  3. 3. The method of claim 1, wherein, The second task is a task in the first application, or The second task is a task in a second application, and the second application is different from the first application.
  4. 4. The method of claim 1, wherein responsive to the first operation, initiating a split screen display mode comprises: at least two display windows are generated on a display screen, wherein the at least two display windows comprise a first display window and a second display window, a display interface corresponding to the first task is displayed in the first display window, and a display interface corresponding to the second task is displayed in the second display window.
  5. 5. The method of any of claims 1-4, wherein the second operation further comprises a second sub-operation prior to the first sub-operation, the second sub-operation being a single-finger long press or a double-finger long press operation on the view.
  6. 6. The method of any of claims 1-4, wherein the second operation further comprises a third sub-operation subsequent to the first sub-operation, the third sub-operation being an operation to click on the view; the method further comprises the step of displaying a display interface corresponding to the second task in the split-screen display window after the third sub-operation is received.
  7. 7. An electronic device comprising a display screen, one or more processors, memory, a plurality of applications, and one or more computer programs; Wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions that, when executed by the one or more processors, cause the electronic device to perform the steps of: when a first application is operated to execute a first task, a display interface corresponding to the first task is displayed on the display screen; receiving a first operation for starting a second task on a display interface corresponding to the first task, wherein the second task is an associated task triggered in the process of executing the task by the first application; Responding to the first operation, and starting a split screen display mode; wherein, responding to the first operation, starting a split screen display mode, comprising: generating a view of a display interface corresponding to the second task, and displaying the view on the display interface corresponding to the first task; The method comprises the steps of responding to a second operation for the view, and determining a split-screen display window position according to the second operation, wherein the second operation comprises a first sub-operation of dragging the view to a preset azimuth, and the preset azimuth is the split-screen display window position; Displaying a split screen display window on the split screen display window position, and displaying a display interface corresponding to the second task in the split screen display window; The second task is associated with a first view control in a display interface corresponding to the first task, the first view control is a marked view control in a view tree associated with the display interface corresponding to the first task, and the view is associated with the first view control; Wherein the instructions, when invoked by the one or more processors, further cause the electronic device to: providing a system user interface component, wherein the system user interface component has global authority at a system level, and a drag starter for processing a drag gesture of a user is included in the system user interface component; providing a split-screen window unified control center component, wherein the split-screen window unified control center component is used for triggering split-screen display; the drag starter is also used for determining the position of the split screen display window and sending an instruction to the split screen window unified control center component so as to trigger split screen display; the instructions, when invoked by the one or more processors, cause the electronic device to perform the steps of: Displaying the first view control on a display interface corresponding to the first task; Receiving the second operation on the first view control; the system user interface component processes the second operation to determine the position of the split-screen display window, and sends a first instruction corresponding to the second operation to the split-screen window unified control center component; And the split-screen window unified control center component responds to the second operation according to the first instruction, and displays a display interface corresponding to the second task in the split-screen display window.
  8. 8. The electronic device of claim 7, wherein the instructions, when invoked by the one or more processors, cause the electronic device to perform the step of displaying a display interface corresponding to the first task on the display screen in full screen.
  9. 9. The electronic device of claim 7, The second task is a task in the first application, or The second task is a task in a second application, and the second application is different from the first application.
  10. 10. The electronic device of claim 7, wherein the instructions, when invoked by the one or more processors, cause the electronic device to generate at least two display windows on the display screen, the at least two display windows including a first display window in which a display interface corresponding to the first task is displayed and a second display window in which a display interface corresponding to the second task is displayed.
  11. 11. The electronic device of any of claims 7-10, wherein the second operation further comprises a second sub-operation prior to the first sub-operation, the second sub-operation being a single-finger long press or a double-finger long press operation on the view.
  12. 12. The electronic device of any of claims 7-10, wherein the second operation further comprises a third sub-operation subsequent to the first sub-operation, the third sub-operation being an operation to click on the view; And when the instructions are called and executed by the one or more processors, the electronic equipment is further caused to execute the following steps of displaying a display interface corresponding to the second task in the split-screen display window after the third sub-operation is received.
  13. 13. A computer storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the split screen display method of any one of claims 1-6.
  14. 14. A program product, which when run on a computer causes the computer to perform the split-screen display method as claimed in any one of claims 1 to 6.
  15. 15. A graphical user interface on an electronic device with a display screen, one or more memories, and one or more processors to execute one or more computer programs stored in the one or more memories, the graphical user interface comprising a graphical user interface displayed by the electronic device while performing the split-screen display method of any of claims 1-6.

Description

Split screen display method and electronic equipment Cross Reference to Related Applications The present application claims priority from chinese patent office, application No. 201910938898.X, application name "a split screen display method and electronic device", filed 30/09/2019, the entire contents of which are incorporated herein by reference. Technical Field The present application relates to the field of terminal technologies, and in particular, to a split screen display method and an electronic device. Background To enhance the visual experience, the screens of various electronic devices are becoming larger and larger. The electronic device provides a split screen mode to meet the requirement that a user operates a plurality of applications simultaneously. For example, the electronic device may display windows of two applications simultaneously. In the prior art, the electronic equipment needs to be manually triggered by a user to enter a split screen mode. For example, when the electronic device displays the window of the application a in a full screen manner, the user can press the history task key for a long time, the electronic device enters a split screen mode, then the user manually selects an application to be displayed in the split screen window, for example, clicks an icon of the application B, and finally the application a and the application B are respectively displayed in different windows. Therefore, in the prior art, the electronic equipment needs to be manually triggered by a user when entering the split screen mode, the operation process is complicated, and the intelligence is low. Disclosure of Invention The embodiment of the invention provides a split screen display method and electronic equipment, which are used for realizing the technical effect of triggering the electronic equipment to start a split screen display mode through a task and improving the intelligence of the electronic equipment. In a first aspect, the embodiment of the invention provides a split-screen display method, which comprises the steps of displaying a display interface corresponding to a first task on a display screen when the first task is executed by running a first application, receiving a first operation for starting a second task on the display interface corresponding to the first task, and starting a split-screen display mode in response to the first operation. That is, when the electronic device executes the first task by running the first application, if the first operation for starting the second task is received on the display interface corresponding to the first task, the electronic device can be triggered to enter the split-screen display mode through the second task. In one possible design, when executing the first application to perform the first task, the electronic device may display the display interface corresponding to the first task on the display screen in a full screen manner. Therefore, the effect of split-screen display through the task in the full-screen display mode can be achieved, the full-screen mode can be switched to the split-screen mode without additional manual operation of a user, and the intelligence of interaction is improved. In one possible design, the second task may be a task in a second application, and the second application is different from the first application. That is, the technical scheme of the embodiment of the invention can be suitable for a scene of cross-application split screen, and improves user experience. In another possible design, the second task may be a task in the first application. That is, the technical scheme of the embodiment of the invention can be also suitable for the scene of the split screen application, the intelligence of the split screen display can be further improved, and the user experience is improved. In one possible design, when the electronic device responds to the first operation and starts the split-screen display mode, at least two display windows are generated on a display screen, wherein the at least two display windows comprise a first display window and a second display window, a display interface corresponding to the first task is displayed in the first display window, and a display interface corresponding to the second task is displayed in the second display window. That is, when the second task is triggered, the electronic device may directly enter the split screen mode, and display the display interface of the second task in the split screen window, so that interaction efficiency of the electronic device is improved. In one possible design, when the electronic device starts the split screen display mode in response to the first operation, the electronic device may also generate a view of a display interface corresponding to the second task and display the view on the display interface corresponding to the first task, determine a position of a split screen display window according to the second operation in response t