Control method and electronic equipment

By acquiring the device form in the display device and automatically controlling the split screen mode according to the form, the problems of complex operation and low efficiency in the prior art are solved, and the effect of simplifying user operations and improving split screen efficiency is achieved.

CN119937958APending Publication Date: 2025-05-06LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411997370.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

In the prior art, in the device with screens such as notebooks, screen size detection is required to adjust the position and size of the display window, which is complex and inefficient.

Method used

By obtaining the device form of the display device, in response to the different device form, the display device is controlled to enter the corresponding split screen mode, divided into multiple display areas to present the application window, and simplifying the user interface through one-click switching operations.

Benefits of technology

There is no need to perform size detection, and the split screen mode is automatically controlled through the device form to reduce user operation flow, improve split screen efficiency and reduce operation complexity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119937958A_ABST
    Figure CN119937958A_ABST
Patent Text Reader

Abstract

The invention discloses a control method and electronic equipment. The method comprises the steps of obtaining an equipment form of display equipment; responding to the display equipment in the first equipment form or the second equipment form, and controlling the display equipment to be in a corresponding split screen mode; in the split-screen mode, the display equipment is divided into at least two display areas, and the display areas are used for presenting application windows; the first equipment form is different from the second equipment form, and the split screen mode corresponding to the first equipment form is different from the split screen mode corresponding to the second equipment form.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a control method and electronic equipment. Background Art

[0002] Currently, in devices with screens such as notebooks, it is usually necessary to detect the screen size and then adjust the position and size of each display window according to the screen size. Summary of the invention

[0003] In view of this, the present application provides a control method and an electronic device as follows:

[0004] A control method, comprising:

[0005] Get the device state of the display device;

[0006] In response to the display device being in the first device form or the second device form, controlling the display device to be in a corresponding split-screen mode;

[0007] In which, in the split-screen mode, the display device is divided into at least two display areas, and the display areas are used to present application windows; the first device form is different from the second device form, and the split-screen mode corresponding to the first device form is different from the split-screen mode corresponding to the second device form.

[0008] The above method, preferably, further comprises:

[0009] In response to a split-screen switching operation for the first application window, controlling the display device to switch from the first split-screen mode to the second split-screen mode, and switching the first application window from the first display area to be presented in the third display area;

[0010] The first application window is an application window presented by the first display area in the display device; the first display area and at least one second display area in the display device form the first split-screen mode, and the second display area presents a second application window; in the second split-screen mode, the display device is divided into a third display area and at least one fourth display area; the layout positions of at least two display areas are different between the first split-screen mode and the second split-screen mode;

[0011] The second application window is switched from the second display area to be displayed in the fourth display area.

[0012] The above method, preferably, further comprises:

[0013] In response to a triggering display operation for a third application window, presenting the third application window in at least a partial area of ​​the target display area;

[0014] The target display area satisfies at least one of the following in the display device:

[0015] No application window is presented in the target display area;

[0016] The relative position of the target display area in the display device satisfies a position condition;

[0017] The relative position of the target display area in the display device matches the triggering display operation;

[0018] The target display area is different from a fifth display area in the display device, and the fifth display area is used to display an application window of a first application.

[0019] The above method, preferably, presenting the third application window in at least a partial area of ​​the target display area, comprises:

[0020] Presenting the third application window in the entire area of ​​the target display area;

[0021] or,

[0022] The third application window is presented in a first sub-area of ​​the target display area, and a second sub-area of ​​the target display area is used to present a fourth application window, where the fourth application window is an application window presented by the target display window before the third application window is presented.

[0023] In the above method, preferably, when the display device is in the first device form, the display device is in a first split-screen mode;

[0024] Among them, in the first split-screen mode, a sixth display area is presented in the display device, and the sixth display area is used to present the application window of the second application; the application window of the second application is used to present at least one application window.

[0025] The above method, preferably, further comprises:

[0026] In response to a layout switching operation for the first split-screen mode, controlling the display device to switch from a first window layout to a second window layout;

[0027] Among them, the first layout position matches the second layout position; the first layout position is: the layout position of the sixth display area in the first window layout; the second layout position is: the layout position of the sixth display area in the second window layout.

[0028] The above method, preferably, further comprises:

[0029] In response to an adjustment operation on the sixth display area, obtaining an adjusted area position of the sixth display area;

[0030] adjusting the presentation position of each application window in the sixth display area according to the adjusted area position of the sixth display area;

[0031] The application windows fill the sixth display area, and the application windows do not overlap.

[0032] The above method, preferably, further comprises:

[0033] adjusting the area position of the seventh display area according to the adjusted area position of the sixth display area;

[0034] The seventh display area is any display area in the display device except the sixth display area; the seventh display area and the sixth display area fully cover the display device, and the seventh display area and the sixth display area do not overlap.

[0035] In the above method, preferably, the sixth display area is a display area of ​​the display device expanded in the first device form relative to the second device form;

[0036] Alternatively, the sixth display area includes: a display area of ​​the display device in the first device form that is extended relative to the second device form, and an eighth display area; the eighth display area is adjacent to the extended display area in the display device.

[0037] An electronic device, comprising:

[0038] Display devices;

[0039] A processor, configured to obtain a device state of the display device; in response to the display device being in the first device state or the second device state, control the display device to be in a corresponding split-screen mode;

[0040] In which, in the split-screen mode, the display device is divided into at least two display areas, and the display areas are used to present application windows; the first device form is different from the second device form, and the split-screen mode corresponding to the first device form is different from the split-screen mode corresponding to the second device form.

[0041] In the above electronic device, preferably, the display device at least comprises: a first display screen and a second display screen; the first display screen and the second display screen form the first device form or the second device form by changing relative positions;

[0042] Among them, the area of ​​the first region is larger than the area of ​​the second region; the area of ​​the first region is the display area of ​​the display device in the first device form; the area of ​​the second region is the display area of ​​the display device in the second device form.

[0043] In the above electronic device, preferably, the second display screen is a scroll structure; in the second device form, the second display screen is hidden in the housing of the scroll structure; in the first device form, the first display screen and the second display screen are visible;

[0044] Or, the second display screen is a flat panel structure, and the second display screen is foldably connected to the first display screen; the second display screen is unfolded relative to the first display screen in the first device form; and the second display screen is folded relative to the first display screen in the second device form;

[0045] Alternatively, the second display screen is a flat panel structure, and the second display screen and the first display screen are in an overlapping structure; the second display screen is blocked by the first display screen in the second device form; and the second display screen slides out relative to the first display screen in the first device form. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0047] Figure 1 A flow chart of an implementation of a control method provided in an embodiment of the present application;

[0048] Figure 2 This is an example diagram of the area of ​​each of the first device form and the second device form in the embodiment of the present application;

[0049] Figure 3 This is an example diagram of a second display screen having a scroll structure in an embodiment of the present application;

[0050] Figure 4 This is an example diagram of a second display screen in an embodiment of the present application being a foldable flat panel structure;

[0051] Figure 5 This is an example diagram of a second display screen being folded relative to the first display screen in an embodiment of the present application;

[0052] Figure 6This is an example diagram of the second display screen in the embodiment of the present application being a slidable flat plate structure;

[0053] Figure 7 This is an example diagram of controlling the split-screen mode based on the device form in an embodiment of the present application;

[0054] Figure 8 , Fig. 9 , Fig.10 They are respectively example diagrams of one-key switching modes in the embodiments of the present application;

[0055] Fig.11 , Fig.12 , Fig.13 , Fig.14 and Fig.15 They are respectively example diagrams for controlling the display of a new application window in the embodiments of the present application;

[0056] Fig.16 , Fig.17 , Fig.18 , Fig.19 as well as Fig. 20 They are respectively display example diagrams of the split-screen application in the embodiments of the present application;

[0057] Fig.21 A schematic diagram of the structure of a control device provided in an embodiment of the present application;

[0058] Fig. 22 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0059] Fig.23 This is an example diagram of the presentation of an APP in the scroll screen rolled out state in the scenario where the present application is applicable to the scroll screen;

[0060] Fig.24 This is an example diagram of the presentation of an APP in the scroll screen roll-in state in the scenario where the present application is applicable to the scroll screen;

[0061] Fig.25 and Fig.26 They are respectively example diagrams of implementing one-key layout adjustment in the scenario where the present application is applicable to the scroll screen. DETAILED DESCRIPTION

[0062] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0063] refer to Figure 1FIG. 1 is a flowchart of a control method according to an embodiment of the present application, which can be applied to electronic devices with display devices, such as notebooks or tablet devices, etc. The technical solution in this embodiment is used to control the split-screen mode.

[0064] Specifically, the method in this embodiment may include the following steps:

[0065] Step 101: Obtain the device form of the display device.

[0066] The display device includes at least two display screens, such as a first display screen and a second display screen. The device form of the display device is determined based on the relative positions between the display screens included in the display device. For example, the first display screen and the second display screen form a first device form or a second device form by changing the relative positions. The first device form is different from the second device form.

[0067] Specifically, the first device form and the second device form are different in area. For example, the first area corresponding to the first device form is larger than the second area corresponding to the second device form. Figure 2 As shown in , the first region area is the display region area of ​​the display device in the first device form, and the second region area is the display region area of ​​the display device in the second device form. Based on this, in this embodiment, the display region area realized by the display device can be determined by obtaining the device form of the display device.

[0068] In one implementation, the second display screen is a scroll structure, for example, the display device is a scroll screen device. Based on this, in the second device form, the second display screen is hidden in the shell of the scroll structure, such as Figure 3 As shown in , in the first device form, the first display screen and the second display screen are visible.

[0069] In another implementation, the second display screen is a foldable flat panel structure, and the second display screen is foldably connected to the first display screen. Figure 4 As shown in , the second display screen is unfolded relative to the first display screen in the first device form, and the second display screen is folded relative to the first display screen in the second device form.

[0070] It should be noted that the first display screen and the second display screen are folded by adjacent edges. In the second device form, the second display screen is attached to the back of the first display screen, and the second display screen is opposite to the display surface of the first display screen. Figure 5 The second display screen is folded relative to the first display screen in two ways.

[0071] In one implementation, the second display screen is a slidable flat panel structure, there may be one or more second display screens, the second display screen and the first display screen are in an overlapping structure, and the second display screen is blocked by the first display screen in the second device form, such as Figure 6 As shown in , there is a second display screen on both sides of the first display screen, and the second display screen slides out relative to the first display screen in the first device form.

[0072] It should be noted that the first display screen and the second display screen can slide relative to each other through a slide, so that in the first device form, the second display screen slides to the back of the first display screen, and in the second device form, the first display screen slides out from the back of the first display screen. At this time, the second display screen is adjacent to the edge of the first display screen to form a whole display screen.

[0073] In one implementation, in this embodiment, a target instruction may be sent to a controller to which the display device is connected, so as to receive a device state of the display device fed back by the controller in response to the target instruction.

[0074] For example, the central processing unit (CPU) in the notebook sends a target instruction to the embedded controller (EC) and the basic input output system (BIOS). The target instruction is used to indicate the current device state of the notebook scroll screen, such as the roll out state and the roll in state. Based on this, the CPU receives the device state feedback from the EC and BIOS.

[0075] Step 102: In response to the display screen being in the first device form or the second device form, controlling the display device to be in a corresponding split-screen mode.

[0076] In the split-screen mode, the display device is divided into at least two display areas, and the display area is used to present at least one application window.

[0077] For example, Figure 7 As shown in , taking the scroll screen device as an example, the scroll screen device has a scroll-in state and a scroll-out state. In the scroll-in state, the scroll screen presents at least one application window in display area A. In the scroll-out state, the scroll screen presents at least one application window in display area A and display area B respectively.

[0078] It can be seen from the above technical solution that in a control method provided in an embodiment of the present application, the display device is controlled to be in a corresponding split-screen mode by the first device form or the second device form in which the display device is located, and in the split-screen mode, the display device is divided into at least two display areas, and the display areas are used to present application windows. Since the first device form is different from the second device form, the split-screen mode corresponding to the first device form is different from the split-screen mode corresponding to the second device form. It can be seen that in this embodiment, size detection is not required, but the split-screen mode of the display device is controlled by the device form in which the display device is located.

[0079] In one implementation, this embodiment can also control the display device to switch from the first split-screen mode to the second split-screen mode in response to a split-screen switching operation for the first application window, and switch the first application window from the first display area to the third display area for presentation, and then switch the second application window from the second display area to display in the fourth display area.

[0080] Based on this, in this embodiment, the user only needs to perform a split-screen switching operation on the first application window, and the remaining second application window can be automatically presented to the corresponding display area without the user having to drag or perform other switching operations. This can reduce the user's operation process and improve the split-screen efficiency by reducing the operation complexity.

[0081] The first application window is an application window presented by a first display area in a display device, and the first display area forms a first split-screen mode with at least one second display area in a real device. The second display area presents a second application window. In the second split-screen mode, the display device is divided into a third display area and at least one fourth display area. The layout positions of at least two display areas are different between the first split-screen mode and the second split-screen mode.

[0082] For example, Figure 8As shown in , in the first split-screen mode, the first display area and the second display area are split left and right; in the second split-screen mode, the first display area and the second display area are split up and down. In the first split-screen mode, the user drags the application window 1 in the display area 1 to trigger the split-screen operation interface, and the split-screen operation interface presents window thumbnails corresponding to multiple split-screen modes, such as top-bottom split-screen, left-right split-screen, top two-bottom split-screen, top-bottom two-split-screen, etc.; then, the user drags the application window 1 to the upper area of ​​the top-bottom split-screen in the window thumbnail corresponding to the second split-screen mode, thereby, the display device switches from the left-right split-screen to the top-bottom split-screen, and the application window 1 is presented in the upper display area 3, while the application window 2 in the display area 2 is presented in the lower display area 4. In this process, the user does not need to drag the application window 2, thereby realizing one-key mode switching, reducing the user operation process, and thus improving the split-screen efficiency by reducing the complexity of the operation.

[0083] Based on the above implementation, if the number of display areas in the first split-screen mode is greater than the number of display areas in the second split-screen mode, then the application windows in each display area in the first split-screen mode can be switched to each display area in the second split-screen mode respectively, and the application windows in the remaining display areas in the first split-screen mode are switched to one of the display areas in the second split-screen mode, and presented tiled or layered with the existing application windows in the display area.

[0084] For example, Fig. 9 As shown in , in the first split-screen mode, the first display area and the second display area are split into two upper and one lower screens, and in the second split-screen mode, the first display area and the second display area are split into left and right screens. In the first split-screen mode, the user drags the application window 1 in the display area 1 to trigger the split-screen operation interface; then, the user drags the application window 1 to the upper left area of ​​the two upper and one lower split screen in the split-screen thumbnail corresponding to the second split-screen mode, thereby, the display device switches from the two upper and one lower split screen to the left and right split screen, and the application window 1 is presented in the upper display area 3, while the application windows 2 in the remaining two display areas 2 are tiled in the display area 4 on the right. In this process, the user does not need to drag the application window 2, thereby realizing one-key mode switching, reducing the user operation process, and thus improving the split-screen efficiency by reducing the complexity of the operation.

[0085] Based on the above implementation, if the number of display areas in the first split-screen mode is smaller than the number of display areas in the second split-screen mode, the application window in each display area in the first split-screen mode can be switched to each display area in the second split-screen mode respectively. At this time, there are display areas in the second split-screen mode without application windows.

[0086] For example, Fig.10As shown in , in the first split-screen mode, the first display area and the second display area are split into left and right screens; in the second split-screen mode, the first display area and the second display area are split into upper and lower screens. In the first split-screen mode, the user drags the application window 1 in the display area 1 to trigger the split-screen operation interface. After that, the user drags the application window 1 to the upper area of ​​the upper and lower split screens in the split-screen thumbnail corresponding to the second split-screen mode. As a result, the display device switches from the left and right split screens to the upper and lower split screens, and the application window 1 is presented in the upper display area 3, while the application window 2 in the display area 2 is presented in the lower left display area 4. There is no application window in the lower right display area 4. In this process, the user does not need to drag the application window 2, thereby realizing one-key mode switching, reducing the user operation process, and thus improving the split-screen efficiency by reducing the complexity of the operation.

[0087] In one implementation, in this embodiment, in response to a trigger display operation for the third application window, the third application window may be presented in at least a partial area of ​​the target display area.

[0088] In one case, the target display area does not present an application window in the display device. That is, in this embodiment, the newly opened third application window can be presented in an empty display area in the display device where no application window is presented.

[0089] For example, Fig.11 As shown in , in the top-bottom split-screen mode, the lower display area presents application window 1, and the upper display area does not present an application window. The user clicks the application icon of application 3 to start application 3, and application window 3 of application 3 is in the upper display area.

[0090] In another case, the relative position of the target display area in the display device satisfies the position condition. That is, in this embodiment, the newly opened third application window is presented in the display area at a specific position in the display device.

[0091] For example, Fig.12 As shown in , in the split-screen mode of top-two-bottom, application window 1 is presented in the lower display area, and no application window is presented in the upper left display area and the upper right display area. The user clicks on the application icon of application 3 to start application 3, and application window 3 of application 3 is in the specific upper right display area.

[0092] In another case, the relative position of the target display area in the display device matches the triggering display operation. That is, in this embodiment, the newly opened third application window can be presented in the display area specified by the triggering display operation in the display device.

[0093] For example, Fig.13As shown in , in the split-screen mode of up-two-down, application window 1 is presented in the lower display area, and no application window is presented in the upper left display area and the upper right display area. The user clicks the application icon of application 3 and specifies the upper left display area. Based on this, after application 3 is started, application window 3 of application 3 is displayed in the upper left display area.

[0094] In another case, the target display area is different from the fifth display area in the display device, and the fifth display area is used to display the application window of the first application. That is, in this embodiment, the newly opened third application window can be presented in any other display area in the display device except the specific display area.

[0095] For example, Fig.14 As shown in the figure, in the split-screen mode of up-two-down, the lower display area presents application window 1, the upper left display area and the upper right display area do not present application windows, but the upper display area is reserved for presenting application windows of office applications. The user clicks on the application icon of application 3, based on which, after application 3 is started, application window 3 of application 3 is in the upper right display area 5.

[0096] Based on the above implementation, in this embodiment, when presenting the third application window in at least a partial area of ​​the target display area, the following situations may be included:

[0097] In one case, in this embodiment, the third application window can be presented in the entire area of ​​the target display area. Figure 11 to Figure 14 As shown, the application window 3 occupies the entire area of ​​the display area.

[0098] In another case, in this embodiment, the third application window can be presented in the first sub-area of ​​the target display area.

[0099] The second sub-area in the target display area is used to present a fourth application window. The fourth application window is an application window presented by the target display window before the third application window is presented.

[0100] For example, Fig.15 As shown in , application window 3 occupies a left portion of the target display area, and application window 4 switches from occupying the entire target display area to occupying a right portion of the target display area.

[0101] In one implementation, when the display device is in the first device form, the display device is in a first split-screen mode.

[0102] In the first split-screen mode, a sixth display area is presented in the display device, and the sixth display area is used to present an application window of the second application, and the application window of the second application is used to present at least one application window.

[0103] In a specific implementation, the second application can build a container so that the application window of the second application can present the application windows of one or more other application programs.

[0104] In one case, the sixth display area is a display area of ​​the display device in the first device form expanded relative to the second device form.

[0105] For example, Fig.16 As shown in , the first device form is the rolled-out state of the scroll screen. In the rolled-out state, the rolled-out part of the scroll screen presents an extended area, and the extended area is adjacent to the original area presented by the scroll screen in the rolled-in state. The extended area is the display area 6, and the display area 6 is used to present the application window of the split-screen application. One or more application windows can be presented in the application window of the split-screen application. At this time, the original area of ​​the scroll screen, the display area 6 and the original area form the first split-screen mode, and the original area is used to present the application windows of one or more other applications.

[0106] In another case, the sixth display area includes: a display area of ​​the display device in the first device form extended relative to the second device form, and an eighth display area; the eighth display area is adjacent to the extended display area in the display device.

[0107] For example, Fig.17 As shown in , the first device form is the rolled-out state of the scroll screen. In the rolled-out state, the rolled-out part of the scroll screen presents an extended area, and the extended area is adjacent to the original area presented by the scroll screen in the rolled-in state. The extended area and the part of the area adjacent to it in the original area, namely the display area 8, constitute the display area 6. The display area 6 is used to present the application window of the split-screen application. One or more application windows can be presented in the application window of the split-screen application. Other areas in the original area except the display area 8 are used to present one or more application windows.

[0108] Based on the above implementation, in this embodiment, in response to a layout switching operation for the first split-screen mode, the display device may be controlled to switch from the first window layout to the second window layout.

[0109] The first layout position matches the second layout position. The first layout position is: the layout position of the sixth display area in the first window layout; the second layout position is: the layout position of the sixth display area in the second window layout. The first layout position matches the second layout position, which can be understood as: the first layout position and the second layout position have the same relative position in the display device. For example, the first layout position and the second layout position are both in the lower area of ​​the display device.

[0110] In a specific implementation, the layout switching operation refers to an operation of switching the window layout in the first split-screen mode.

[0111] For example, Fig.18 As shown in , when the scroll screen is rolled out, the scroll screen expands the display area 6. When the user switches the upper and lower window layout to the upper-lower-lower window layout in the first split-screen mode, the display area 6 where the split-screen application is located is always in the lower display area of ​​the scroll screen. The application window of the split-screen application in the display area 6 can present one or more application windows.

[0112] Based on the above implementation, in this embodiment, in response to the adjustment operation on the sixth display area, the area position of the adjusted sixth display area can be obtained, and then the presentation position of each application window in the sixth display area can be adjusted according to the area position of the adjusted sixth display area.

[0113] The adjustment operation refers to an operation of adjusting the area position of the sixth display area in the first split-screen mode. The area position here refers to the relative position of the sixth display area in the display device, and the area position can represent the area size of the sixth display area.

[0114] In one case, the application windows are stacked and presented in the sixth display area.

[0115] For example, Fig.19 As shown in the figure, the user adjusts the size and position of the display area 6, so that the display area 6 switches from occupying one-third of the entire screen to occupying one-half of the entire screen. As a result, based on the overlap of the two application windows in the display area 6, the top application window fills the display area 6, and the application windows in the display area 6 expand in size as the size of the display area 6 expands.

[0116] In another case, the application windows fill the sixth display area, and the application windows do not overlap.

[0117] For example, Fig. 20As shown in the figure, the user adjusts the size and position of the display area 6 so that the display area 6 switches from occupying one-third of the entire screen to occupying one-half of the entire screen. Thus, based on the fact that two application windows in the display area 6 do not overlap and fill the display area 6, the application windows in the display area 6 expand in size as the size of the display area 6 expands.

[0118] Therefore, in this embodiment, when the user adjusts the area position of the display area where the second application is located, the application window in the display area automatically adjusts the presentation position accordingly, and the user does not need to perform window adjustment operations. This can reduce the user operation process and improve the split-screen efficiency by reducing the complexity of operations.

[0119] Based on the above implementation, in this embodiment, the area position of the seventh display area may also be adjusted according to the adjusted area position of the sixth display area.

[0120] The seventh display area is any display area in the display device except the sixth display area. The seventh display area and the sixth display area fully cover the display device, and the seventh display area and the sixth display area do not overlap.

[0121] Further, after the area position of the seventh display area is adjusted, the area positions of the tiled application windows in the seventh display area are synchronously adjusted.

[0122] For example, Fig.19 and Fig. 20 As shown in the figure, the display device is divided into display area 7 and display area 6. When the area position of display area 6 is adjusted, the area position of display area 7 is adjusted synchronously, that is, the area size is reduced, and there is no overlap between display area 7 and display area 6. Furthermore, the window size of the application window in display area 7 is reduced synchronously.

[0123] refer to Fig.21 , is a schematic diagram of the structure of a control device provided in an embodiment of the present application, which can be deployed in an electronic device with a display device, such as a notebook or a tablet device, etc. The technical solution in this embodiment is mainly used to realize the control of the split-screen mode.

[0124] Specifically, the device in this embodiment may include the following units:

[0125] A form obtaining unit 2101 is used to obtain a device form of a display device;

[0126] A mode control unit 2102, configured to control the display device to be in a corresponding split-screen mode in response to the display device being in a first device form or a second device form;

[0127] In which, in the split-screen mode, the display device is divided into at least two display areas, and the display areas are used to present application windows; the first device form is different from the second device form, and the split-screen mode corresponding to the first device form is different from the split-screen mode corresponding to the second device form.

[0128] It can be seen from the above technical solution that in a control device provided in an embodiment of the present application, the display device is controlled to be in a corresponding split-screen mode by the first device form or the second device form in which the display device is located, and in the split-screen mode, the display device is divided into at least two display areas, and the display areas are used to present application windows. Since the first device form is different from the second device form, the split-screen mode corresponding to the first device form is different from the split-screen mode corresponding to the second device form. It can be seen that in this embodiment, size detection is not required, but the split-screen mode of the display device is controlled by the device form in which the display device is located.

[0129] In one implementation, the mode control unit 2102 is also used to: in response to a split-screen switching operation for a first application window, control the display device to switch from a first split-screen mode to a second split-screen mode, and switch the first application window from the first display area to be presented in a third display area; wherein the first application window is an application window presented in the first display area in the display device; the first display area and at least one second display area in the display device form the first split-screen mode, and the second display area presents a second application window; in the second split-screen mode, the display device is divided into a third display area and at least one fourth display area; the layout positions of at least two display areas are different between the first split-screen mode and the second split-screen mode; and the second application window is switched from the second display area to display in the fourth display area.

[0130] In one implementation, the mode control unit 2102 is further configured to: in response to a trigger display operation for the third application window, present the third application window in at least a portion of the target display area; wherein the target display area satisfies at least one of the following in the display device:

[0131] No application window is presented in the target display area;

[0132] The relative position of the target display area in the display device satisfies a position condition;

[0133] The relative position of the target display area in the display device matches the triggering display operation;

[0134] The target display area is different from a fifth display area in the display device, and the fifth display area is used to display an application window of a first application.

[0135] Specifically, when the mode control unit 2102 presents the third application window in at least a partial area of ​​the target display area, it is specifically used to: present the third application window in the entire area of ​​the target display area; or, present the third application window in a first sub-area of ​​the target display area, and the second sub-area in the target display area is used to present a fourth application window, and the fourth application window is an application window presented by the target display window before the third application window is presented.

[0136] Wherein, when the display device is in the first device form, the display device is in a first split-screen mode; wherein, in the first split-screen mode, a sixth display area is presented in the display device, and the sixth display area is used to present an application window of a second application; and the application window of the second application is used to present at least one application window.

[0137] In one implementation, the mode control unit 2102 is also used to: in response to a layout switching operation for the first split-screen mode, control the display device to switch from a first window layout to a second window layout; wherein the first layout position matches the second layout position; the first layout position is: the layout position of the sixth display area in the first window layout; the second layout position is: the layout position of the sixth display area in the second window layout.

[0138] In one implementation, the mode control unit 2102 is further used to: in response to an adjustment operation on the sixth display area, obtain the area position of the adjusted sixth display area; according to the adjusted area position of the sixth display area, adjust the presentation position of each application window in the sixth display area; wherein the application windows fill the sixth display area, and the application windows do not overlap.

[0139] In one implementation, the mode control unit 2102 is also used to: adjust the area position of the seventh display area according to the adjusted area position of the sixth display area; wherein the seventh display area is any display area in the display device except the sixth display area; the seventh display area and the sixth display area fully cover the display device, and there is no overlap between the seventh display area and the sixth display area.

[0140] Among them, the sixth display area is the display area of ​​the display device in the first device form expanded relative to the second device form; or, the sixth display area includes: the display area of ​​the display device in the first device form expanded relative to the second device form, and the eighth display area; the eighth display area is adjacent to the expanded display area in the display device.

[0141] It should be noted that the specific implementation method of each unit in this embodiment can refer to the corresponding content in the previous text and will not be described in detail here.

[0142] refer to Fig. 22 , is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application, and the electronic device may include the following structure:

[0143] Display device 2201;

[0144] The processor 2202, such as a CPU or a graphics processor GPU (Graphics Processing Unit), is used to obtain the device state of the display device; in response to the display device being in the first device state or the second device state, control the display device to be in the corresponding split-screen mode;

[0145] In which, in the split-screen mode, the display device is divided into at least two display areas, and the display areas are used to present application windows; the first device form is different from the second device form, and the split-screen mode corresponding to the first device form is different from the split-screen mode corresponding to the second device form.

[0146] It can be seen from the above technical solution that in an electronic device provided by an embodiment of the present application, the display device is controlled to be in a corresponding split-screen mode by the first device form or the second device form in which the display device is located, and in the split-screen mode, the display device is divided into at least two display areas, and the display areas are used to present application windows. Since the first device form is different from the second device form, the split-screen mode corresponding to the first device form is different from the split-screen mode corresponding to the second device form. It can be seen that in this embodiment, size detection is not required, but the split-screen mode of the display device is controlled by the device form in which the display device is located.

[0147] In one implementation, the display device includes at least: a first display screen and a second display screen; the first display screen and the second display screen form the first device form or the second device form by changing relative positions, such as Figure 2 As shown in;

[0148] Among them, the area of ​​the first region is larger than the area of ​​the second region; the area of ​​the first region is the display area of ​​the display device in the first device form; the area of ​​the second region is the display area of ​​the display device in the second device form.

[0149] In one implementation, the second display screen is a scroll structure; Figure 3 As shown in , in the second device form, the second display screen is hidden in the housing of the scroll structure; in the first device form, the first display screen and the second display screen are visible;

[0150] In one implementation, the second display screen is a flat panel structure, such as Figure 4 Or as shown in 5, the second display screen is foldably connected to the first display screen; the second display screen is unfolded relative to the first display screen in the first device form; the second display screen is folded relative to the first display screen in the second device form;

[0151] In one implementation, the second display screen is a flat panel structure, such as Figure 6 As shown in , the second display screen and the first display screen are in an overlapping structure; the second display screen is blocked by the first display screen in the second device form; and the second display screen slides out relative to the first display screen in the first device form.

[0152] Taking the scroll screen device as an example, the technical solution of this application is described below:

[0153] The present application can monitor the relative status of the screen and the host, i.e., the device form mentioned above, through the coordination of software and hardware, and then dynamically adjust the window layout according to the relative status, i.e., the split-screen mode. In this way, more window layout designs can be met according to the device form, giving users a better experience.

[0154] Specifically, when the application implemented in this application (i.e. the split-screen application mentioned above) determines the preset layout of the upper-layer application App (application), it first sends a target instruction to the underlying EC and BIOS to detect the current rollin and rollout status. The status is returned to the split-screen application at the bottom layer, and the split-screen application adjusts the preset window layout template according to the status. As follows:

[0155] When the scroll screen is in the roll out state, the default is as follows Fig.23As shown in the figure, APP1, APP2 and APP3 are presented in corresponding positions with different window ratios according to corresponding window layouts. APP2 in the first two window layouts and APP3 in the third window layout can be split-screen applications, which are always in the lower area of ​​the screen and present one or more application windows through the constructed container.

[0156] When the scroll screen is in the roll in state, the default is as follows Fig.24 As shown in , APP1, APP2 and APP3 are presented at corresponding positions with different window ratios according to corresponding window layouts.

[0157] Furthermore, a container window is used in the split-screen application to uniformly place the application windows of each APP presented by it. When the size of the container window changes, the service corresponding to the container window will recalculate the sizes of multiple APP windows in the container according to the new position, and reset the APP window size by calling the relevant interface to adapt to the new layout.

[0158] like Fig.25 As shown in , the area where App2 is located is the container area. On the container area, a setting button with dynamically changing size can be set. App2 is placed in the container area.

[0159] For example, Fig.25 In the left window layout, when the user clicks the setting button, the container area receives the layout change instruction and re-arranges according to Fig.25 The size of App1 and App2 is recalculated based on the proportion of the right window layout. After the calculation is completed, the service program running in the background actively calls the window size setting interface of the operating system to set the size and position of App1, App2 and the container, so that the layout can be adjusted with one click, reducing the complexity of user operations.

[0160] In particular, the above is just an example. The actual process can be a layout of 3 App windows, or even a more complex layout, such as Fig.26 As shown in , the technical solutions in this embodiment can achieve one-key layout adjustment, reducing the complexity of user operations.

[0161] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0162] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0163] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0164] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A control method, comprising: Get the device state of the display device; In response to the display device being in the first device form or the second device form, controlling the display device to be in a corresponding split-screen mode; Wherein, in the split-screen mode, the display device is divided into at least two display areas, and the display area is used to present the application window; The first device form is different from the second device form, and the split-screen mode corresponding to the first device form is different from the split-screen mode corresponding to the second device form.

2. The method according to claim 1, further comprising: In response to a split-screen switching operation for the first application window, controlling the display device to switch from the first split-screen mode to the second split-screen mode, and switching the first application window from the first display area to be presented in the third display area; The first application window is an application window presented by the first display area in the display device; the first display area and at least one second display area in the display device form the first split-screen mode, and the second display area presents a second application window; in the second split-screen mode, the display device is divided into a third display area and at least one fourth display area; the layout positions of at least two display areas are different between the first split-screen mode and the second split-screen mode; The second application window is switched from the second display area to be displayed in the fourth display area.

3. The method according to claim 1, further comprising: In response to a triggering display operation for a third application window, presenting the third application window in at least a partial area of ​​the target display area; The target display area satisfies at least one of the following in the display device: No application window is presented in the target display area; The relative position of the target display area in the display device satisfies a position condition; The relative position of the target display area in the display device matches the triggering display operation; The target display area is different from a fifth display area in the display device, and the fifth display area is used to display an application window of a first application.

4. The method according to claim 3, presenting the third application window in at least a portion of the target display area, comprising: Presenting the third application window in the entire area of ​​the target display area; or, The third application window is presented in a first sub-area of ​​the target display area, and a second sub-area of ​​the target display area is used to present a fourth application window, where the fourth application window is an application window presented by the target display window before the third application window is presented.

5. The method according to claim 1, wherein when the display device is in the first device form, the display device is in a first split-screen mode; in, In the first split-screen mode, a sixth display area is presented in the display device, and the sixth display area is used to present an application window of a second application; the application window of the second application is used to present at least one application window.

6. The method according to claim 5, further comprising: In response to a layout switching operation for the first split-screen mode, controlling the display device to switch from a first window layout to a second window layout; Among them, the first layout position matches the second layout position; the first layout position is: the layout position of the sixth display area in the first window layout; the second layout position is: the layout position of the sixth display area in the second window layout.

7. The method according to claim 5, further comprising: In response to an adjustment operation on the sixth display area, obtaining an adjusted area position of the sixth display area; adjusting the presentation position of each application window in the sixth display area according to the adjusted area position of the sixth display area; The application windows fill the sixth display area, and the application windows do not overlap.

8. The method according to claim 7, further comprising: adjusting the area position of the seventh display area according to the adjusted area position of the sixth display area; The seventh display area is any display area in the display device except the sixth display area; the seventh display area and the sixth display area fully cover the display device, and the seventh display area and the sixth display area do not overlap.

9. The method according to claim 5, wherein the sixth display area is a display area of ​​the display device that is expanded in the first device form relative to the second device form; Alternatively, the sixth display area includes: a display area of ​​the display device expanded in the first device form relative to the second device form, and an eighth display area; The eighth display area is adjacent to the extended display area in the display device.

10. An electronic device comprising: Display devices; A processor, configured to obtain a device form of the display device; In response to the display device being in the first device form or the second device form, controlling the display device to be in a corresponding split-screen mode; Wherein, in the split-screen mode, the display device is divided into at least two display areas, and the display area is used to present the application window; The first device form is different from the second device form, and the split-screen mode corresponding to the first device form is different from the split-screen mode corresponding to the second device form.

11. The electronic device according to claim 10, wherein the display device comprises at least: A first display screen and a second display screen; the first display screen and the second display screen form the first device form or the second device form by changing relative positions; Among them, the area of ​​the first region is larger than the area of ​​the second region; the area of ​​the first region is the display area of ​​the display device in the first device form; the area of ​​the second region is the display area of ​​the display device in the second device form.

12. The electronic device according to claim 11, wherein the second display screen is a scroll structure; in the second device form, the second display screen is hidden in a housing of the scroll structure; in the first device form, the first display screen and the second display screen are visible; Or, the second display screen is a flat panel structure, and the second display screen is foldably connected to the first display screen; The second display screen is unfolded relative to the first display screen in the first device form; The second display screen is folded relative to the first display screen in the second device form; Or, the second display screen is a flat panel structure, and the second display screen and the first display screen are in an overlapping structure; the second display screen is blocked by the first display screen in the second device form; The second display screen slides out relative to the first display screen in the first device form.