CN114995701B - Suspended window control method and related device - Google Patents

Suspended window control method and related device Download PDF

Info

Publication number
CN114995701B
CN114995701B CN202210848226.1A CN202210848226A CN114995701B CN 114995701 B CN114995701 B CN 114995701B CN 202210848226 A CN202210848226 A CN 202210848226A CN 114995701 B CN114995701 B CN 114995701B
Authority
CN
China
Prior art keywords
floating window
area
window
floating
screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210848226.1A
Other languages
Chinese (zh)
Other versions
CN114995701A (en
Inventor
胡强力
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202210848226.1A priority Critical patent/CN114995701B/en
Publication of CN114995701A publication Critical patent/CN114995701A/en
Application granted granted Critical
Publication of CN114995701B publication Critical patent/CN114995701B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • G06F3/1446Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display display composed of modules, e.g. video walls
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The application provides a floating window control method and a related device, which relate to the technical field of terminals and comprise the following steps: the terminal equipment displays a first interface, wherein the first interface comprises a first floating window and a second floating window; the terminal equipment receives a first operation; and responding to the first operation, the terminal equipment displays a third floating window on the first interface, and cancels the display of the first floating window and the second floating window, wherein the third floating window is one floating window obtained by fusing the content of the first floating window and the content of the second floating window. Like this, terminal equipment can demonstrate the content fusion of a plurality of floating windows in a floating window for limited a plurality of floating window can show the content abundanter, and then can the rational utilization large-screen characteristic, convenience of customers operates, promotes user experience.

Description

Suspended window control method and related device
Technical Field
The application relates to the technical field of terminals, in particular to a floating window control method and a related device.
Background
With popularization and development of the internet, functional requirements of people on terminal devices are more and more diversified, and applications installed on the terminal devices are more and more. In order to meet the use requirements of a user on a plurality of application programs in the same time period, more terminal devices can support a floating window. The floating window is suspended on the display interface of the terminal device, and the terminal device can display a plurality of application programs in the same display interface through the floating window.
In general, at most two floating windows can be unfolded on the display interface of the terminal equipment, and when more than two floating windows exist, other floating windows are automatically reduced to floating ball superposition display.
In the method, the content which can be displayed by the floating window of the terminal equipment is limited.
Disclosure of Invention
The embodiment of the application provides a floating window control method and a related device, which are applied to terminal equipment, and can realize that the contents of a plurality of floating windows are fused into one floating window, so that more contents can be displayed in one floating window, and further, the contents which can be displayed by the floating window are richer.
In a first aspect, an embodiment of the present application provides a method for controlling a floating window, including: the terminal equipment displays a first interface, wherein the first interface comprises a first floating window and a second floating window; the terminal equipment receives a first operation; and responding to the first operation, the terminal equipment displays a third floating window on the first interface, and cancels the display of the first floating window and the second floating window, wherein the third floating window is one floating window obtained by fusing the content of the first floating window and the content of the second floating window. Like this, terminal equipment can demonstrate the content fusion of a plurality of floating windows in a floating window for limited a plurality of floating window can show the content abundanter, and then can the rational utilization large-screen characteristic, convenience of customers operates, promotes user experience.
In one possible implementation manner, after the terminal device displays the third floating window on the first interface, the method further includes: the terminal equipment receives a second operation; responding to the second operation, and adding and displaying a fourth floating window on the first interface by the terminal equipment; the terminal equipment receives a third operation; and responding to the third operation, displaying a fifth floating window on the first interface by the terminal equipment, and canceling the display of the third floating window and the fourth floating window, wherein the fifth floating window is one floating window obtained by fusing the content of the third floating window and the content of the fourth floating window.
In one possible implementation manner, after the terminal device displays the fifth floating window on the first interface, the method further includes: the terminal equipment receives a fourth operation; responding to the fourth operation, and adding and displaying a sixth floating window on the first interface by the terminal equipment; the terminal equipment receives a fifth operation; and responding to the fifth operation, displaying a seventh floating window on the first interface by the terminal equipment, and canceling the display of the fifth floating window and the sixth floating window, wherein the seventh floating window is one floating window obtained by fusing the content of the fifth floating window and the content of the sixth floating window.
In one possible implementation manner, after the terminal device displays the seventh floating window on the first interface, the method further includes: the terminal equipment receives a sixth operation; and responding to the sixth operation, and displaying the content in the seventh floating window in a split screen manner by the terminal equipment. Therefore, the multi-screen floating window can be converted into a split screen mode by one key, and the split screen floating window is convenient for a user to use.
In one possible implementation manner, the seventh floating window is divided into areas, and the content corresponding to the first floating window, the content corresponding to the second floating window, the content corresponding to the fourth floating window, and the content corresponding to the sixth floating window are displayed in the seventh floating window, and the sixth operation is an operation for the central area of the seventh floating window.
In one possible implementation manner, before the terminal device displays the content in the seventh floating window in a split screen manner, the method includes: the terminal equipment switches the window mode from a floating window mode to a split screen mode; the terminal equipment calculates the positions and the sizes of a first split screen area, a second split screen area, a third split screen area and a fourth split screen area, wherein the first split screen area is used for displaying the content corresponding to a first floating window in a seventh floating window, the second split screen area is used for displaying the content corresponding to a second floating window in the seventh floating window, the third split screen area is used for displaying the content corresponding to a fourth floating window in the seventh floating window, and the fourth split screen area is used for displaying the content corresponding to a sixth floating window in the seventh floating window; and the terminal equipment displays the content in the seventh floating window in the first split screen area, the second split screen area, the third split screen area and the fourth split screen area. Therefore, the multi-screen floating window can be converted into a split screen mode by one key, and the split screen floating window is convenient for a user to use.
In one possible implementation manner, before the content in the seventh floating window is displayed in the first split screen area, the second split screen area, the third split screen area and the fourth split screen area, the terminal device further includes: and the terminal equipment plays the floating window switching split screen animation. Therefore, the smoothness of the floating window during switching can be visually improved, the attractiveness and the interestingness of the floating window during switching to the split screen mode are improved, and the use experience of a user is improved.
In one possible implementation manner, the seventh floating window includes a first area, a second area, a third area, and a fourth area, where the first area, the second area, the third area, and the fourth area display contents corresponding to the first floating window, contents corresponding to the second floating window, contents corresponding to the fourth floating window, and contents corresponding to the sixth floating window, respectively, and after the terminal device displays the seventh floating window on the first interface, the terminal device further includes: the terminal equipment receives a seventh operation; in response to the seventh operation, the terminal equipment additionally displays an eighth floating window on the first interface; the terminal equipment receives an eighth operation; in response to the eighth operation, the terminal device replaces the content of the first target area in the seventh floating window with the content corresponding to the eighth floating window, and cancels the display of the eighth floating window, wherein the first target area is an area for which the eighth operation is performed in the first area, the second area, the third area or the fourth area. Therefore, the area in the multi-split screen suspension window can be directly replaced by dragging the suspension window, so that the operation of a user is more convenient.
In one possible implementation manner, the seventh floating window includes a first area, a second area, a third area, and a fourth area, where the first area, the second area, the third area, and the fourth area display contents corresponding to the first floating window, contents corresponding to the second floating window, contents corresponding to the fourth floating window, and contents corresponding to the sixth floating window, respectively, and after the terminal device displays the seventh floating window on the first interface, the terminal device further includes: the terminal equipment receives a ninth operation; in response to the ninth operation, the terminal device displays a ninth floating window and a tenth floating window on the first interface, the ninth floating window including contents of a second target area in the seventh floating window, the tenth floating window including contents of the seventh floating window other than the contents of a second target area, the second target area being an area to which the ninth operation is directed in the first area, the second area, the third area, or the fourth area. Therefore, the content in the second target area can be directly withdrawn from the multi-split-screen floating window by dragging the second target area in the multi-split-screen floating window, so that the operation of a user is more convenient.
In one possible implementation manner, the seventh floating window is divided into areas and displayed with content corresponding to the first floating window, content corresponding to the second floating window, content corresponding to the third floating window and content corresponding to the fourth floating window, where the content corresponding to the first floating window and the content corresponding to the fourth floating window are from the same application. Therefore, the operation of single application multitasking can be realized in the multi-split-screen floating window, the interface jump times are reduced, and the user experience is improved.
In one possible implementation manner, before the third floating window is displayed on the first interface, the terminal device further includes: the terminal equipment constructs a first floating window and a second floating window into a floating window split-screen pair; calculating the window position and the size of the fused floating window according to the layout and the content of the split screen pairs of the floating window; and the terminal equipment generates a third floating window according to the window position and size of the fused floating window and the layout and the content of the split screen pair of the floating window. In this way, fusion of the contents of multiple floating windows into one floating window can be achieved.
In one possible implementation manner, before the terminal device generates the third floating window according to the window position and the size of the fused floating window and the layout and the content of the split screen pair of the floating window, the method further includes: and the terminal equipment plays the floating window fusion dynamic effect. Therefore, the smoothness of the floating window during fusion can be visually improved, the attractiveness and the interestingness of the floating window during fusion are improved, and the use experience of a user is improved.
In a second aspect, an embodiment of the present application provides a floating window control device, including: the display unit is used for displaying a first interface by the terminal equipment, wherein the first interface comprises a first floating window and a second floating window; the processing unit is used for receiving the first operation by the terminal equipment; and responding to the first operation, the display unit is also used for displaying a third floating window on the first interface by the terminal equipment and canceling the display of the first floating window and the second floating window, wherein the third floating window is one floating window obtained by fusing the content of the first floating window and the content of the second floating window.
In a possible implementation manner, after the terminal device displays the third floating window on the first interface, the processing unit is further configured to receive a second operation by the terminal device; the display unit is also used for additionally displaying a fourth suspension window on the first interface by the terminal equipment in response to the second operation; the processing unit is also used for receiving a third operation by the terminal equipment; and responding to the third operation, wherein the display unit is also used for displaying a fifth floating window on the first interface by the terminal equipment and canceling the display of the third floating window and the fourth floating window, and the fifth floating window is one floating window obtained by fusing the content of the third floating window and the content of the fourth floating window.
In one possible implementation manner, after the terminal device displays the fifth floating window on the first interface, the method further includes: the processing unit is further used for receiving a fourth operation by the terminal equipment; the display unit is further used for additionally displaying a sixth floating window on the first interface by the terminal equipment in response to the fourth operation; the processing unit is further used for receiving a fifth operation by the terminal equipment; and responding to the fifth operation, wherein the display unit is further used for displaying a seventh floating window on the first interface and canceling the display of the fifth floating window and the sixth floating window, and the seventh floating window is one floating window obtained by fusing the content of the fifth floating window and the content of the sixth floating window.
In a possible implementation manner, after the terminal device displays the seventh floating window on the first interface, the processing unit is further configured to receive a sixth operation by the terminal device; in response to the sixth operation, the display unit is further configured to display the content in the seventh floating window in a split screen manner.
In one possible implementation manner, the seventh floating window is divided into areas, and the content corresponding to the first floating window, the content corresponding to the second floating window, the content corresponding to the fourth floating window, and the content corresponding to the sixth floating window are displayed in the seventh floating window, and the sixth operation is an operation for the central area of the seventh floating window.
In a possible implementation manner, the processing unit is further configured to switch the window mode from the floating window mode to the split screen mode by the terminal device; the terminal equipment calculates the positions and the sizes of a first split screen area, a second split screen area, a third split screen area and a fourth split screen area, wherein the first split screen area is used for displaying the content corresponding to a first floating window in a seventh floating window, the second split screen area is used for displaying the content corresponding to a second floating window in the seventh floating window, the third split screen area is used for displaying the content corresponding to a fourth floating window in the seventh floating window, and the fourth split screen area is used for displaying the content corresponding to a sixth floating window in the seventh floating window; the terminal equipment is used for carrying out split-screen display on the content in the seventh floating window, and the display unit is specifically used for carrying out split-screen display on the content in the seventh floating window in the first split-screen area, the second split-screen area, the third split-screen area and the fourth split-screen area.
In one possible implementation manner, the terminal device is further configured to play the floating window switching split-screen animation by using the display unit before the content in the seventh floating window is displayed in the first split-screen area, the second split-screen area, the third split-screen area and the fourth split-screen area.
In one possible implementation manner, the seventh floating window includes a first area, a second area, a third area and a fourth area, where the first area, the second area, the third area and the fourth area display contents corresponding to the first floating window, contents corresponding to the second floating window, contents corresponding to the fourth floating window and contents corresponding to the sixth floating window, respectively, and the terminal device is further configured to receive a seventh operation after the seventh floating window is displayed on the first interface by the terminal device; in response to the seventh operation, the display unit is further configured to display an eighth floating window in the first interface; the processing unit is further used for receiving eighth operation by the terminal equipment; in response to the eighth operation, the display unit is further configured to replace content of a first target area in the seventh floating window with content corresponding to the eighth floating window, and cancel display of the eighth floating window, where the first target area is an area for which the eighth operation is performed in the first area, the second area, the third area, or the fourth area.
In one possible implementation manner, the seventh floating window includes a first area, a second area, a third area and a fourth area, where the first area, the second area, the third area and the fourth area display contents corresponding to the first floating window, contents corresponding to the second floating window, contents corresponding to the fourth floating window and contents corresponding to the sixth floating window, respectively, and after the terminal device displays the seventh floating window on the first interface, the processing unit is further configured to receive a ninth operation by the terminal device; in response to the ninth operation, the display unit is further configured to display, at the first interface, a ninth floating window and a tenth floating window, where the ninth floating window includes contents of a second target area in the seventh floating window, and the tenth floating window includes contents of the seventh floating window other than the contents of the second target area, where the ninth operation is performed in the first area, the second area, the third area, or the fourth area.
In one possible implementation manner, the seventh floating window is divided into areas and displayed with content corresponding to the first floating window, content corresponding to the second floating window, content corresponding to the third floating window and content corresponding to the fourth floating window, where the content corresponding to the first floating window and the content corresponding to the fourth floating window are from the same application.
In a possible implementation manner, before the terminal device displays the third floating window on the first interface, the processing unit is further configured to: the terminal equipment constructs a first floating window and a second floating window into a floating window split-screen pair; calculating the window position and the size of the fused floating window according to the layout and the content of the split screen pairs of the floating window; and the terminal equipment generates a third floating window according to the window position and size of the fused floating window and the layout and the content of the split screen pair of the floating window.
In one possible implementation manner, before the terminal device generates the third floating window according to the window position and the size of the floating window after fusion and the layout and the content of the split screen pair of the floating window, the display unit is further used for playing the floating window fusion action of the terminal device.
In a third aspect, embodiments of the present application provide an electronic device, including a processor and a memory, the memory configured to store code instructions; the processor is configured to execute code instructions to cause the electronic device to perform a floating window control method as described in the first aspect or any implementation of the first aspect.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium storing instructions that, when executed, cause a computer to perform a floating window control method as described in the first aspect or any implementation manner of the first aspect.
In a fifth aspect, a computer program product comprising a computer program which, when run, causes a computer to perform the floating window control method as described in the first aspect or any implementation of the first aspect.
It should be understood that, the second aspect to the fifth aspect of the present application correspond to the technical solutions of the first aspect of the present application, and the beneficial effects obtained by each aspect and the corresponding possible embodiments are similar, and are not repeated.
Drawings
FIG. 1 is a schematic diagram of a suspended window entrance approach provided in an embodiment of the present application;
FIG. 2 is a schematic view of another embodiment of a suspended window entrance approach provided in the present application;
FIG. 3 is a schematic view of another embodiment of a suspended window entrance approach provided in the present application;
FIG. 4 is a schematic view of another embodiment of a suspended window entrance approach provided in the present application;
fig. 5 is a schematic diagram of a switching floating window according to an embodiment of the present application;
fig. 6 is a schematic hardware structure of a terminal device according to an embodiment of the present application;
fig. 7 is a software structural block diagram of a terminal device provided in an embodiment of the present application;
FIG. 8 is a schematic diagram of a two-screen floating window formed by combining multiple floating windows according to an embodiment of the present disclosure;
FIG. 9 is a schematic diagram of a three-split-screen floating window formed by combining multiple floating windows according to an embodiment of the present application;
FIG. 10 is a schematic diagram of a multiple floating windows fused into a four-split floating window according to an embodiment of the present disclosure;
FIG. 11 is a schematic diagram of an area in an alternative multi-split-screen floating window according to an embodiment of the present disclosure;
FIG. 12 is a schematic diagram of a drag application exiting from a multi-split floating window according to an embodiment of the present application;
fig. 13 is a schematic diagram of converting a two-split floating window into a split mode according to an embodiment of the present application;
fig. 14 is a schematic diagram of converting a four-division-screen floating window one-key into a split-screen mode according to an embodiment of the present application;
fig. 15 is a flowchart of a fused four-split-screen floating window according to an embodiment of the present application;
FIG. 16 is a flowchart for converting a four-division-screen floating window one-key into a split-screen mode according to an embodiment of the present application;
fig. 17 is a schematic structural diagram of a floating window control device according to an embodiment of the present application;
fig. 18 is a schematic hardware structure of a control device according to an embodiment of the present application;
fig. 19 is a schematic structural diagram of a chip according to an embodiment of the present application.
Detailed Description
The term "plurality" herein refers to two or more. The term "and/or" is herein merely an association relationship describing an associated object, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship; in the formula, the character "/" indicates that the front and rear associated objects are a "division" relationship.
It will be appreciated that the various numerical numbers referred to in the embodiments of the present application are merely for ease of description and are not intended to limit the scope of the embodiments of the present application.
It should be understood that, in the embodiments of the present application, the sequence number of each process described above does not mean that the execution sequence of each process should be determined by the function and the internal logic of each process, and should not constitute any limitation on the implementation process of the embodiments of the present application.
In the embodiment of the application, the terminal equipment is provided with the display screen, the display screen can be used for simultaneously displaying the first interface and the floating window, and a user can expand the floating window on the terminal equipment through various entrance modes.
Fig. 1-4 are schematic views of a suspended window entrance according to an embodiment of the present application. In the embodiments corresponding to fig. 1 to fig. 4, a terminal device is taken as an example of a folding screen mobile phone, and it is understood that this example does not constitute a limitation of the embodiments of the present application.
The folding screen mobile phone can comprise a folding state and an unfolding state, wherein the folding state can be understood that an included angle between two side screens of the folding screen is smaller than or equal to a first value, and the unfolding state can be understood that an included angle between two side screens of the folding screen is larger than or equal to a second value. In one possible implementation, the first value is equal to the second value, which implementation or it may be understood that the folding screen handset is either in a folded state or in an unfolded state. In another possible implementation, the second value is greater than the first value, and in this implementation, the folding screen mobile phone may further include a transition state, where the transition state may be understood as a state where an angle between two side screens of the folding screen is greater than the first value and less than the second value.
In this embodiment, taking the case that the folding screen mobile phone is in an unfolded state as an example, when the folding screen mobile phone is in an unfolded state, the display screen facing the user may be referred to as an internal screen (or a folding screen).
Fig. 1 is a schematic view of a suspended window inlet according to an embodiment of the present application.
The inner screen of a folding screen handset currently displays a home screen interface as shown in fig. 1 a, which may include one or more of the following Applications (APP): clocks, calendars, information, calculators, memos, etc., and cameras, address books, telephones, information or settings in the dock area may be included in the interface. When the folding screen phone receives an operation of the user sliding inward along the side edge of the phone, the interface of the folding screen phone may display the side bar 101 as shown in fig. 1 b. As shown in fig. 1 b, the sidebar 101 may include one or more APPs, such as calculators, information, memos, gallery, and the like.
As shown in the interface b of fig. 1, after the folding screen handset receives and responds to the user clicking on the information 102 in the sidebar, an information hover window 103 as shown in fig. 1 c is deployed over the home screen interface. Information floating window 103 may include a floating window top control 104, a close control 105, an enlarge control 106, a shrink control 107. The folding screen phone responds to the user's touch to the floating window top control 104, the position of the information floating window 103 can move along with the movement of the user's finger, and the size of the floating window is not changed when the position of the floating window is moved. The folding screen phone may end the display of the information hover window 103 in response to a user clicking the close control 105. The folding screen mobile phone responds to the click operation of the amplifying control 106 by the user, and the folding screen mobile phone can amplify the information floating window 103 to a full screen for displaying. The folding screen mobile phone responds to the click operation of the shrinking control 107 by the user, and the folding screen mobile phone can shrink the information floating window 103 into a floating ball for displaying.
Fig. 2 is a schematic view of another suspended window inlet according to an embodiment of the present application.
The inner screen of the folding screen phone currently displays a home screen interface as shown in fig. 2 a, on which an information hover sphere 201 of the information APP is displayed. When the folding screen phone receives and responds to the user clicking the information suspension ball 201, the interface of the folding screen phone expands the information suspension window 103 as shown in fig. 2 b.
Fig. 3 is a schematic view of another suspended window inlet according to an embodiment of the present application.
The inner screen of a folding screen cell phone currently displays a home screen interface as shown in fig. 3 a. When the folding screen handset receives an operation of the user sliding up along the bottom edge of the handset, the interface of the folding screen handset may display a recent task list (recent application) as shown in fig. 3 b. When the folding screen phone receives and responds to the user's click on the floating window icon 301, the interface of the folding screen phone expands the information floating window 103 as shown in fig. 3 c.
Fig. 4 is a schematic view of another suspended window inlet according to an embodiment of the present application.
The inner screen of the folding screen phone currently displays a home screen interface as shown in fig. 4 a with a banner notification 401 of information APP on the home screen interface. When the folding screen phone receives an operation that the user touches the bar at the bottom of the banner notification 401 and slides down, the interface of the folding screen phone may display the information hover window 103 as shown in fig. 4 b.
It should be understood that fig. 1-4 illustrate several ways of entering the floating window, and any other way is possible, and embodiments of the present application are not limited.
After the number of the floating windows displayed in the display screen reaches the supportable upper limit, if other contents need to be displayed through the floating windows, the floating windows can be switched. Fig. 5 is a schematic diagram of a switching floating window according to an embodiment of the present application.
In one possible implementation, the user may switch the hover window by clicking on an application in the sidebar to select the application that wants to be displayed with the hover window. For example, the inner screen of a folding screen phone currently displays a home screen interface as shown in fig. 5 a, and there are two floating windows on the home screen interface, namely, an information floating window 103 and a calculator floating window 502, which can be unfolded by any one of the methods shown in fig. 1-4 or any other method. When the folding screen phone receives an operation of the user sliding inward along the side edge of the phone, the interface of the folding screen phone may display the side bar 101 as shown in fig. 5 b. The user clicks the memo 601 in the sidebar, and as shown in fig. 5 c, the information floating window 103 is switched to a memo floating window 602, and the information floating window 103 is reduced to an information floating ball 201 for display; alternatively, as shown in fig. 5 d, calculator floating window 502 is switched to memo floating window 602, and calculator floating window 502 is reduced to calculator floating ball 202 for display.
In another possible implementation, the user may switch the hover window by clicking on the hover ball. For example, the home screen interface shown in fig. 5 c is currently displayed on the home screen of the folding screen mobile phone, where there are two floating windows and an information floating ball 201, where the two floating windows are a memo floating window 602 and a calculator floating window 502, respectively, and when the folding screen mobile phone receives an operation of clicking the information floating ball 201 by a user, the memo floating window 602 or the calculator floating window 502 may be switched to the information floating window 103.
However, the number of the suspension windows which can be supported to be unfolded by the terminal equipment is small, at most, two suspension windows can be unfolded simultaneously, and when more than two suspension windows are provided, other suspension windows are automatically converted into suspension balls for superposition display, so that the large screen characteristic can not be reasonably utilized; after the number of the floating windows displayed in the display screen reaches the supportable upper limit, if other contents are required to be displayed through the floating windows, the switching of the floating windows can be realized by switching the floating windows, and the original floating windows are switched by clicking the floating ball or clicking the side bar list to select the application which is required to be displayed by the floating windows, so that the operation process is complicated; and each floating window corresponds to different applications respectively, so that single-application multitasking can not be realized in a plurality of floating windows.
In view of this, the embodiment of the present application provides a floating window control method, when a terminal device receives that a user drags a floating window to collide with other floating windows and lifts a finger of the user to stop touching an operation of a display screen after the collision, contents of two floating windows may be fused to form a split-screen floating window, and the collision between the dragging floating window and the split-screen floating window may be continued to be fused again. Therefore, more contents can be displayed in one floating window, the characteristics of a large screen can be reasonably utilized, the interface jump times are reduced, the operation of a user is convenient, and the use experience of the user is improved.
It will be appreciated that the above-described terminal device may also be referred to as a terminal (terminal), a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), or the like. The terminal device may be a mobile phone with a touch screen (including a single-screen mobile phone and a multi-screen mobile phone), a smart television, a wearable device, a tablet computer, a computer with a wireless transceiving function, a Virtual Reality (VR) terminal device, an augmented reality (augmented reality, AR) terminal device, a wireless terminal in industrial control (industrial control), a wireless terminal in unmanned (self-driving), a wireless terminal in teleoperation (remote medical surgery), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation security (transportation safety), a wireless terminal in smart city (smart city), a wireless terminal in smart home (smart home), and the like. The embodiment of the application does not limit the specific technology and the specific equipment form adopted by the terminal equipment.
In order to better understand the embodiments of the present application, the structure of the terminal device of the embodiments of the present application is described below. Fig. 6 is a schematic structural diagram of a terminal device 100 according to an embodiment of the present application.
The terminal device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, 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, keys 190, an indicator 192, a camera 193, a display 194, and the like. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the terminal device. In other embodiments of the present application, the terminal device may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units. Wherein the different processing units may be separate devices or may be integrated in one or more processors. A memory may also be provided in the processor 110 for storing instructions and data.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge a terminal device, or may be used to transfer data between the terminal device and a peripheral device. And can also be used for connecting with a headset, and playing audio through the headset. The interface may also be used to connect other electronic devices, such as AR devices, etc.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. The power management module 141 is used for connecting the charge management module 140 and the processor 110.
The wireless communication function of the terminal device may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Antennas in the terminal device may be used to cover single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G or the like applied on a terminal device. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), etc. applied on the terminal device.
The terminal device implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. In some embodiments, the terminal device may include 1 or N display screens 194, N being a positive integer greater than 1.
The terminal device may implement photographing functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The camera 193 is used to capture still images or video. In some embodiments, the terminal device may include 1 or N cameras 193, N being a positive integer greater than 1.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to realize expansion of the memory capability of the terminal device. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer-executable program code that includes instructions. The internal memory 121 may include a storage program area and a storage data area.
The terminal device may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The terminal device can listen to music through the speaker 170A or listen to hands-free calls. A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When the terminal device picks up a call or voice message, the voice can be picked up by placing the receiver 170B close to the human ear. The earphone interface 170D is used to connect a wired earphone. Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. In the embodiment of the present application, the terminal device may have a microphone 170C.
The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The gyro sensor 180B may be used to determine a motion gesture of the terminal device. The air pressure sensor 180C is used to measure air pressure. The magnetic sensor 180D includes a hall sensor. The acceleration sensor 180E may detect the magnitude of acceleration of the terminal device in various directions (typically three axes). A distance sensor 180F for measuring a distance. The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The ambient light sensor 180L is used to sense ambient light level. The fingerprint sensor 180H is used to collect a fingerprint. The temperature sensor 180J is for detecting temperature. The touch sensor 180K, also referred to as a "touch device". The bone conduction sensor 180M may acquire a vibration signal.
The touch sensor 180K may be disposed on the display 194, and the touch sensor 180K and the display 194 form a touch screen, or "touch screen". In this embodiment of the present application, a grid of capacitive sensing nodes (hereinafter referred to as capacitive sensor) may be disposed in the touch screen, and when the terminal device determines that the value of the capacitance in at least one grid received by the capacitive sensor exceeds a capacitance threshold, it may determine that a touch operation occurs; further, the terminal device may determine a touch area corresponding to the touch operation based on an area occupied by at least one grid exceeding the capacitance threshold.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The terminal device may receive key inputs, generating key signal inputs related to user settings of the terminal device and function control. The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
Fig. 7 is a block diagram illustrating a software configuration of the terminal device 100 according to an embodiment of the present invention.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (Android run) and system libraries, and a kernel layer, respectively. Embodiments of the present application relate generally to an application layer and an application framework layer.
The application layer may include a series of application packages. As shown in fig. 7, the application package may include applications for cameras, gallery, calendar, phone calls, maps, navigation, WLAN, bluetooth, music, video, short messages, etc. In this embodiment of the present application, functions that may be implemented by an application layer may further include: the method comprises the steps of a quick entry of a split-screen suspension ball, a pop-up moving effect animation of a split-screen suspension window, a moving effect dragging by the split-screen suspension ball, a snapshot of the split-screen suspension window, a hidden moving effect animation of the split-screen suspension window, activity life cycle management, a split-screen suspension window function menu, a split-screen dragging bar of the split-screen suspension window, a focus frame processing of the split-screen suspension window, a dragging bar of the split-screen suspension window and the like.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions.
As shown in fig. 7, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The telephony manager is used to provide the communication functions of the terminal device 100. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
In this embodiment of the present application, functions that may be implemented by the application framework layer may further include: the method comprises the steps of split screen pairing of split screen floating windows, split screen floating window fusion animation, split screen floating window replacement management, split screen floating window replacement dynamic effect, split screen floating window split management, dynamic effect management and the like.
Android run time includes a core library and virtual machines. Android run time is responsible for scheduling and management of the Android system.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), etc.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The following describes the technical solution of the present application and how the technical solution of the present application solves the above technical problems in detail with specific embodiments. The following embodiments may be implemented independently or combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
According to the floating window control method, the contents of the floating windows can be fused to form one floating window, wherein the fused floating window can be called as a multi-split-screen floating window, the multi-split-screen floating window comprises a plurality of areas, each area can also be called as a sub-split screen, and the contents of each area correspond to the contents of each floating window before fusion.
Fig. 8 is a schematic diagram of a plurality of floating windows fused into a two-split floating window according to an embodiment of the present application.
As with the interface shown in fig. 8 a, the inner screen of the folding screen phone currently displays a home screen interface that includes an information hover window 103. When the folding screen phone receives an operation of the user sliding inward along the side edge of the phone, the interface of the folding screen phone may display the side bar 101 as shown in fig. 8 b. After the folding screen handset receives and responds to the user clicking on the calculator 501 in the sidebar, a calculator floating window 502 as shown in fig. 8 c is deployed on the home screen interface. Wherein, the information floating window 103 and the calculator floating window 502 can be expanded by any of the modes described in fig. 1-4 or any other entry modes, which is not limited in particular in the embodiments of the present application.
The user may change the position of calculator floating window 502 by holding any position of calculator floating window 502 and dragging. The user drags the calculator floating window 502 to move towards the information floating window 103, when the calculator floating window 502 collides with the information floating window 103, and after the folding screen mobile phone receives the operation that the user lifts up to stop touching the calculator floating window 502, the content of the calculator floating window 502 and the content of the information floating window 103 can be fused into a two-split-screen floating window 503 as shown in d in fig. 8, and the two-split-screen floating window 503 is a left-right split-screen floating window; it is also possible to merge into a two-split floating window 504 as shown in fig. 8 e, where the two-split floating window 504 is a floating window with upper and lower split screens. Two areas in the two split-screen suspended windows are separated by a split-screen suspended window dividing line.
It will be appreciated that when the user drags the calculator floating window 502 to move toward the information floating window 103, the dragged state may be maintained until two floating windows collide, or the calculator floating window 502 may be swung to collide with the information floating window 103. The collision can refer to the collision of boundary areas of two floating windows, or the partial coincidence of the two floating windows, wherein the coincident part is smaller than or equal to a preset coincidence range threshold value, and the fusion of a plurality of floating windows into one floating window can be realized.
Fig. 9 is a schematic diagram of a plurality of floating windows fused into a three-split-screen floating window according to an embodiment of the present application.
As shown in the interface of fig. 9 a, the inner screen of the folding screen phone currently displays the home screen interface, which includes a two-split-screen floating window 503. The two-split-screen suspended window 503 may be obtained in the manner described in fig. 8, and will not be described herein. When the folding screen phone receives an operation of the user sliding inward along the side edge of the phone, the interface of the folding screen phone may display the side bar 101 as shown in fig. 9 b. After the folding screen handset receives and responds to the user's click on the memo 601 in the sidebar, a memo hover window 602 as shown in fig. 9 c is expanded over the home screen interface. It is to be appreciated that memo suspension window 602 may be deployed by any of the portal manners described in fig. 1-4 or any other portal manner, as embodiments of the present application are not specifically limited in this regard.
The user can change the position of the memo suspension window 602 by pressing any position of the memo suspension window 602 and dragging. The user drags the memo floating window 602 to move towards the two-split-screen floating window 503, when the memo floating window 602 collides with the two-split-screen floating window 503, and after the folding-screen mobile phone receives the operation that the user lifts up to stop touching the memo floating window 601, the content of the memo floating window 602 and the content of the two-split-screen floating window 503 can be fused into a three-split-screen floating window 603 as shown in d in fig. 9, or can be fused into a three-split-screen floating window 604 as shown in e in fig. 9, a three-split-screen floating window 605 as shown in f in fig. 9, and a three-split-screen floating window 606 as shown in g in fig. 9. Wherein, the left part of the three-split-screen suspended window 603 comprises an upper area and a lower area, and the right part comprises an area; the left part of the three-split-screen suspended window 604 comprises an area, and the right part comprises an upper area and a lower area; the upper part of the three-split-screen suspended window 605 comprises a left area and a right area, and the lower part comprises an area; the upper portion of the three-split-screen floating window 606 includes one region, and the lower portion includes two left and right regions. Three areas in the three-screen floating window are separated by a screen floating window dividing line.
Fig. 10 is a schematic diagram of a plurality of floating windows fused into a four-split screen floating window according to an embodiment of the present application.
As shown in the interface of fig. 10 a, the inner screen of the folding screen phone currently displays the home screen interface, which includes a three-split-screen floating window 603. The three-split-screen floating window 603 may be obtained in the manner described in fig. 9, and will not be described herein. When the folding screen phone receives an operation of the user sliding inward along the side edge of the phone, the interface of the folding screen phone may display the side bar 101 as shown in fig. 10 b. After the folding screen handset receives and responds to the user clicking on the gallery 701 in the sidebar, a gallery floating window 702 as shown in fig. 10 c is deployed on the home screen interface. It is to be appreciated that gallery floating window 702 may be deployed by any of the means described in fig. 1-4 or any other portal means, and embodiments of the present application are not specifically limited in this regard.
The user may change the position of gallery floating window 702 by holding any position of gallery floating window 702 and dragging. The user drags the gallery floating window 702 to move towards the tri-screen floating window 603, when the gallery floating window 702 and the tri-screen floating window 603 collide, and after the folding screen mobile phone receives the operation that the user lifts the finger to stop touching the gallery floating window 702, the gallery floating window 702 and the tri-screen floating window 603 can be fused into a quarter-screen floating window 703 as shown in d in fig. 10. Four areas in the quarter-screen floating window are separated by a split-screen floating window split line.
It will be appreciated that the floating window formed by fusion according to embodiments of the present application can also be switched based on the method described in fig. 5. For example, when the number of floating windows displayed on the main screen interface of the folding-screen mobile phone reaches the upper limit, one floating window is the two split-screen floating window 503 formed by fusion in fig. 8, the user wants to display the content of the gallery application in the form of the floating window, the two split-screen floating window 503 can be switched to the gallery floating window 702 by any mode described in fig. 5, for example, the user operates and expands the side rail and clicks the gallery 701, and the two split-screen floating window 503 can be switched to the gallery floating window 702.
Therefore, the method provided by the embodiment of the application can realize that the contents of a plurality of floating windows are fused into one multi-split-screen floating window. Wherein, the number of the areas supported for display by the multi-split-screen floating window is not limited by the number of the areas exemplified in the embodiment of the application; the sizes of the areas can be the same or different; the shape of each region can be the same shape or different shapes; the shape of each region may be a regular shape or an irregular shape. According to the method provided by the embodiment of the application, on the premise that the number of the suspension windows which can be supported by the terminal equipment at most is not changed, the content which can be displayed by the limited suspension windows is richer, so that the large screen characteristic can be reasonably utilized, the user operation is facilitated, and the user experience is improved.
In the embodiment of the application, a method for replacing a certain area in the multi-split-screen floating window is also provided.
Fig. 11 is a schematic diagram of an area in an alternative multi-split-screen floating window according to an embodiment of the present application.
As shown in the interface of fig. 11 a, the inner screen of the folding screen phone currently displays the home screen interface, which includes a quarter-screen floating window 703. The four-screen floating window 703 may be obtained in the manner described in fig. 10, and will not be described herein. When the folding screen phone receives an operation of the user sliding inward along the side edge of the phone, the interface of the folding screen phone may display the side bar 101 as shown in fig. 11 b. When the folding screen handset receives and responds to the user clicking on the information 102 in the sidebar, a new information hover window 801 as shown in fig. 11 c is deployed on the home screen interface. It will be appreciated that the new information levitation window 801 may be deployed in any of the manners described in fig. 1-4 or any other portal manner, and embodiments of the present application are not specifically limited thereto.
The user can change the position of the new information hover window 801 by pressing and dragging any position of the new information hover window 801. The user drags the new information floating window 801 to move towards the quarter-screen floating window 703, when the new information floating window 801 is partially overlapped with the gallery area 802 in the quarter-screen floating window 703, and after the folding screen mobile phone receives the operation that the user lifts the finger to stop touching the new information floating window 801, the content of the new information floating window 801 can replace the content of the gallery area 802, so as to generate a new quarter-screen floating window 803 as shown in fig. 11 d.
The partial overlapping in the embodiment of the present application means that the overlapping portion between the floating window and the area to be replaced is greater than a preset overlapping range threshold.
Taking the quarter-screen floating window 703 shown in fig. 10 d as an example, the quarter-screen floating window 703 formed after fusion is not marked as an information floating window, is not marked as a memo floating window, is not marked as a calculator floating window, is not marked as a gallery floating window, and is an independent floating window. In this way, the information hover window or memo or calculator hover window or gallery hover window may continue to be pulled up, as shown in FIG. 11, the new information hover window 801 may continue to be pulled up, and gallery area 802 may be replaced with the new information hover window 801, and the fused hover window may include two different contents of the same application, such as the quarter-screen hover window 803 shown in FIG. 11 d, including two different contents of the information application.
It will be appreciated that the method for replacing a region of a multi-split floating window provided in the embodiments of the present application is equally applicable to the multi-split floating window shown in fig. 8-10. For example, taking the two split-screen floating window 503 formed by fusion in fig. 8 as an example, a user wants to replace a calculator application area in the two split-screen floating window 503 with a gallery area, after the gallery floating window 702 is unfolded by the method shown in fig. 11, the gallery floating window 702 is dragged to move towards the two split-screen floating window 503, when the overlapping portion of the gallery floating window 702 and the two split-screen floating window 503 is greater than a preset overlapping range threshold, and after the folding-screen mobile phone receives an operation that a user lifts up to stop touching the gallery floating window 702, the calculator application area is replaced with the content of the gallery application.
Therefore, the method provided by the embodiment of the application can be used for directly replacing the area in the multi-split-screen floating window, so that the user operation is more convenient, single-application multitasking can be realized on one floating window through the multi-split-screen floating window, the interface jumping times are reduced, and the user experience is improved. In the embodiment of the application, a method for exiting the target area from the multi-split-screen floating window is also provided.
Fig. 12 is a schematic diagram of a drag application exiting from a multi-split-screen floating window according to an embodiment of the present application.
As shown in the interface a of fig. 12, the folding screen handset currently displays a home screen interface that includes a quarter-screen floating window 703. The four-screen floating window 703 may be obtained in the manner described in fig. 10, and will not be described herein. When the folding screen handset receives the operation that the user touches the top bar 804 of gallery area 802 and drags gallery area 802, gallery area 802 separates from the quarter-screen hover window, which translates into triple-screen hover window 603 and gallery hover window 702 as shown in fig. 12 b.
It will be appreciated that the method provided by the embodiments of the present application is equally applicable to the multi-split-screen floating window shown in fig. 8-11. For example, taking the two-split floating window 503 formed by fusion in fig. 8 as an example, the user wants to withdraw the calculator application area from the two-split floating window 503, by touching the top bar of the calculator application area and dragging the calculator application area by the method shown in fig. 12, so that the calculator application area is separated from the two-split floating window 503, and the two-split floating window 503 is converted into one calculator floating window and one information floating window.
Therefore, the content in the second target area can be directly withdrawn from the multi-split-screen floating window by dragging the area in the multi-split-screen floating window, so that the user operation is more convenient.
Fig. 13 is a schematic diagram of a one-key switching of a two-split-screen floating window to a split-screen mode according to an embodiment of the present application.
As shown in the interface of fig. 13 a, the inner screen of the folding screen phone currently displays the home screen interface, which includes a two-split floating window 504. The two-split-screen floating window 504 may be obtained in the manner described in fig. 8, and will not be described herein. When the folding screen handset receives the user's operation of clicking the center split line area button 505 on the two-split floating window 504, the two-split floating window 504 switches to the two-split interface as shown in fig. 13 b.
Fig. 14 is a schematic diagram of a one-key switching of a four-split-screen floating window to a multi-split-screen mode according to an embodiment of the present application.
As shown in the interface of fig. 14 a, the inner screen of the folding screen phone currently displays the home screen interface, which includes a quarter-screen floating window 703. The four-screen floating window 703 may be obtained in the manner described in fig. 10, and will not be described herein. When the folding screen mobile phone receives an operation that the user clicks the central split line area button on the quarter-screen floating window 703, the quarter-screen floating window 703 is switched to the quarter-screen interface as shown in fig. 14 b.
It will be appreciated that the method provided by the embodiments of the present application is equally applicable to the multi-split-screen floating window shown in fig. 8-11. For example, taking the triple-screen floating window 603 formed by fusion in fig. 9 as an example, when the folding screen mobile phone receives an operation that a user clicks a button on a central line area of the triple-screen floating window 603, the triple-screen floating window 603 is switched to a triple-screen interface.
Therefore, the method can realize the one-key switching of the multi-split-screen floating window into the split-screen mode, and further can realize the simultaneous running of different applications or a plurality of tasks of the same application in a long time.
Based on what has been described in the foregoing embodiments, for better understanding of the embodiments of the present application, a specific explanation of the method for controlling the floating window is provided below.
The specific steps of the floating window control method provided by the embodiment of the application may include:
s901, displaying a first interface by the terminal equipment, wherein the first interface comprises a first floating window and a second floating window.
Wherein, the first interface may be an interface as shown in c in fig. 8; the first floating window may be understood as information floating window 103 and the second floating window may be understood as calculator floating window 502.
S902, the terminal equipment receives a first operation.
The first operation may be understood as an operation of fusing the content of the first floating window and the content of the second floating window into the third floating window, for example, an operation of clicking the second floating window by a user and dragging the second floating window to move toward the first floating window and causing the two floating windows to collide. The description of the floating window collision may be referred to in fig. 8, and will not be repeated here.
S903, responding to the first operation, displaying a third floating window on the first interface by the terminal equipment, and canceling the display of the first floating window and the second floating window, wherein the third floating window is a floating window obtained by fusing the content of the first floating window and the content of the second floating window.
The third floating window may be as shown in any of the two-split floating window 503 in d of fig. 8 and the two-split floating window 504 in e of fig. 8.
In a possible implementation manner, the content of the first floating window and the content of the second floating window are fused into a third floating window, the terminal device displays the third floating window on the first interface, and the display of the first floating window and the second floating window on the first interface is canceled.
Therefore, the terminal equipment can fuse the contents of the plurality of floating windows into one floating window for display, one floating window after fusion can display more contents, the characteristics of a large screen can be reasonably utilized, the interface jumping times are reduced, the operation of a user is convenient, and the use experience of the user is improved.
Based on the floating window control method described in S901-S903, optionally, after the terminal device displays the third floating window on the first interface, the method further includes:
s904, the terminal equipment receives a second operation.
The second operation may be understood as an operation of opening the fourth floating window, and the second operation may be any one of operations shown in fig. 1 to fig. 4 or any other operation of expanding the floating window, for example, an operation that the terminal device receives a user to slide inwards along a side edge of the mobile phone to open a sidebar and click an application icon in the sidebar.
S905, in response to the second operation, the terminal device displays a fourth floating window in the first interface in an increasing mode.
The fourth floating window can be understood as a memo floating window 602.
S906, the terminal equipment receives a third operation.
The third operation may be understood as an operation of fusing the content of the third floating window and the content of the fourth floating window into the three-split-screen floating window, and the description of the third operation may refer to the description of the first operation in S902, which is not repeated herein.
S907, responding to the third operation, displaying a fifth floating window on the first interface by the terminal equipment, and canceling the display of the third floating window and the fourth floating window, wherein the fifth floating window is one floating window obtained by fusing the content of the third floating window and the content of the fourth floating window.
The fifth floating window may be understood as a floating window as shown in any one of d, e, f, g of fig. 9.
S908, the terminal equipment receives a fourth operation.
The fourth operation may be understood as an operation of opening the sixth floating window, and the description of the fourth operation may refer to the description of the second operation in S904, which is not repeated herein.
And S909, in response to the fourth operation, the terminal equipment displays a sixth floating window in the first interface in an increasing mode.
Wherein the sixth floating window may be understood as gallery floating window 702.
S910, the terminal equipment receives a fifth operation.
The fifth operation may be understood as an operation of fusing the fifth floating window and the sixth floating window into the quarter-screen floating window, and the description of the fifth operation may refer to the description of the first operation in S902, which is not repeated herein.
And S911, responding to the fifth operation, displaying a seventh floating window on the first interface by the terminal equipment, and canceling the display of the fifth floating window and the sixth floating window, wherein the seventh floating window is one floating window obtained by fusing the content of the fifth floating window and the content of the sixth floating window.
The seventh floating window can be understood as a floating window as shown by d in fig. 10.
Thus, based on S904-S911, a plurality of floating windows can be fused into one floating window, wherein the number of the multi-split floating window supporting fusion is not limited by the number of the floating window fusion exemplified in the embodiment of the present application. Like this, terminal equipment can demonstrate the content fusion of a plurality of floating windows in a floating window for limited a plurality of floating window can show the content abundanter, and then can the rational utilization large-scale characteristic, reduce the interface and jump the number of times, make things convenient for user's operation, promote user's use experience.
The floating window control method based on S901-S911 may optionally further include, after the seventh floating window is displayed on the first interface by the terminal device: the terminal equipment receives a sixth operation; and responding to the sixth operation, and displaying the content in the seventh floating window in a split screen manner by the terminal equipment. Optionally, the seventh floating window includes a first area, a second area, a third area and a fourth area, where the first area, the second area, the third area and the fourth area display contents corresponding to the first floating window, contents corresponding to the second floating window, contents corresponding to the fourth floating window and contents corresponding to the sixth floating window respectively. The sixth operation is an operation for the center region of the seventh floating window, and can be understood as an operation of switching the seventh floating window to the multi-split screen mode.
It will be appreciated that the sixth operation is equally applicable to operations on other multi-split-screen floating windows, such as two-split-screen floating windows, three-split-screen floating windows.
Therefore, the multi-split-screen floating window can be switched into a split-screen mode by one key, and a plurality of tasks of different applications or the same application can be operated simultaneously in a long time.
The floating window control method based on S901-S911 may optionally further include, after the seventh floating window is displayed on the first interface by the terminal device: the terminal equipment receives a seventh operation; in response to the seventh operation, the terminal equipment additionally displays an eighth floating window on the first interface; the terminal equipment receives an eighth operation; in response to the eighth operation, the terminal device replaces the content of the first target area in the seventh floating window with the content corresponding to the eighth floating window, and cancels the display of the eighth floating window.
The seventh operation may be understood as an operation of opening the eighth floating window. The eighth floating window may be understood as an information floating window 801. The eighth operation may be understood as an operation of replacing the content of the first target area in the seventh floating window with the content corresponding to the eighth floating window. The first target area is an area to which the eighth operation is directed in the first area, the second area, the third area, or the fourth area.
It will be appreciated that the eighth operation is equally applicable to operations on other multi-split-screen floating windows, such as two-split-screen floating windows, three-split-screen floating windows. Therefore, the suspension blocks in the multi-split screen suspension window can be directly replaced, so that the operation of a user is more convenient.
Optionally, the content corresponding to the first floating window, the content corresponding to the second floating window, the content corresponding to the third floating window and the content corresponding to the fourth floating window are respectively displayed in the seventh floating window in the sub-regions, wherein the content corresponding to the first floating window and the content corresponding to the fourth floating window can come from the same application, and further, the simultaneous operation of single application multitasking can be realized in one floating window. The seventh floating window can be understood as the floating window of fig. 11 d.
For example, a usage scenario of single application multitasking may be: three different tasks of the memo are simultaneously displayed in one four-split screen floating window, so that the three different tasks can be simultaneously compared and processed. Or, multiple monitoring pictures can be displayed on the terminal device by utilizing the multi-split-screen floating window to monitor different positions. Such as home monitoring equipment, so that the condition of a plurality of positions in the home can be checked at the same time; or, for example, a vehicle recorder can be provided with cameras in multiple directions, and the situation of each position can be recorded and checked at the same time. It will be appreciated that single application multitasking may be implemented in other multi-split floating windows as well, the number of zones of the multi-split floating window being greater than or equal to three.
Therefore, different tasks of the same application can be displayed in one multi-split-screen floating window at the same time, the interface jump times are reduced, and the user experience is improved.
The floating window control method based on S901-S911 may optionally further include, after the seventh floating window is displayed on the first interface by the terminal device: the terminal equipment receives a ninth operation; in response to the ninth operation, the terminal device displays a ninth floating window and a tenth floating window on the first interface, the ninth floating window including contents of a second target area in the seventh floating window, the tenth floating window including contents of the seventh floating window other than the contents of a second target area, the second target area being an area to which the ninth operation is directed in the first area, the second area, the third area, or the fourth area.
The ninth operation may be understood as an operation of exiting a certain split screen from the multi-split screen floating window. The ninth floating window may be understood as an information floating window, for example, when the terminal device receives an operation of dragging the information floating window by a user, the terminal device withdraws the information floating window from the quarter-screen floating window in response to the operation, and the information floating window and a triple-screen floating window are displayed on a main screen interface of the terminal device.
It will be appreciated that the ninth operation is equally applicable to operations on other multi-split-screen floating windows, such as two-split-screen floating windows, three-split-screen floating windows.
Therefore, the content in the second target area can be directly withdrawn from the multi-split-screen floating window by dragging the area in the multi-split-screen floating window, so that the user operation is more convenient.
As shown in fig. 15, taking fusion to form a four-split screen floating window as an example, the four floating windows to be fused are an information floating window, a calculator floating window, a memo floating window and a gallery floating window, and the specific fusion process is as follows:
the main screen interface of the terminal equipment comprises an information floating window and a calculator floating window, the terminal equipment receives the operation that a user clicks and drags the calculator floating window to move towards the information floating window and enable the two floating windows to collide, after the information floating window collides with the calculator floating window, the terminal equipment receives the operation that a user lifts a finger to stop touching, and the content of the information floating window and the content of the calculator floating window are fused into two split-screen floating windows.
The process of fusing the memo floating window and the two split-screen floating window into the three split-screen floating window, and the process of fusing the gallery floating window and the three split-screen floating window into the four split-screen floating window can refer to the process of fusing the information floating window and the calculator floating window into the two split-screen floating window, and are not repeated here.
The specific implementation steps of the multi-split-screen suspended window comprise:
s1001, the terminal equipment constructs two floating windows to be fused into a floating window split screen pair.
For example, the terminal device constructs the information floating window and the calculator floating window as a floating window split screen pair.
S1002, calculating the window position and the size of the fused floating window according to the layout and the content of the split screen pairs of the floating window.
S1003, the terminal equipment plays the floating window fusion dynamic effect.
S1004, the terminal equipment generates a multi-split-screen floating window according to the window position and size of the floating window after fusion and the layout and the content of the split-screen pairs of the floating window.
For example, the terminal device generates a two-split-screen floating window as shown in d of fig. 8 or e of fig. 8 according to the window position and the size of the fused floating window calculated in step S1002, and the layout and the content of the first floating window and the second floating window.
In this way, the content of a plurality of floating windows can be fused into one floating window.
As shown in fig. 16, taking a four-division-screen floating window as an example, a specific process of converting one key of the four-division-screen floating window into a split-screen mode is as follows:
clicking a button in a central split line area of the four-split suspended window, and switching one key of the four-split suspended window into a four-split window mode.
The specific implementation steps of the four-split screen suspension window in the split screen mode are as follows:
s1101, the terminal equipment switches the window mode from the floating window mode to the split screen mode.
S1102, the terminal equipment calculates the positions and the sizes of a first split screen area, a second split screen area, a third split screen area and a fourth split screen area, wherein the first split screen area is used for displaying the content corresponding to the first floating window in the seventh floating window, the second split screen area is used for displaying the content corresponding to the second floating window in the seventh floating window, the third split screen area is used for displaying the content corresponding to the fourth floating window in the seventh floating window, and the fourth split screen area is used for displaying the content corresponding to the sixth floating window in the seventh floating window.
S1103, the terminal equipment plays the floating window switching split screen animation.
And S1104, the terminal equipment displays the content in the seventh floating window in the first split screen area, the second split screen area, the third split screen area and the fourth split screen area in a split screen mode.
Thus, the multi-split-screen floating window can be switched into the multi-split-screen mode by one key.
The method provided by the embodiment of the present application is described above with reference to fig. 8 to 16, and the device for performing the method provided by the embodiment of the present application is described below. As shown in fig. 17, fig. 17 is a schematic structural diagram of a floating window control device provided in an embodiment of the present application, where the floating window control device may be a terminal device in an embodiment of the present application, or may be a chip or a chip system in the terminal device.
As shown in fig. 17, the floating window control 1700 may be used in a communication device, circuit, hardware component, or chip, the floating window control comprising: a display unit 1701, a processing unit 1702, and the like. Wherein the display unit 1701 is used for supporting the step of displaying executed by the floating window control method; the processing unit 1702 is configured to support the floating window control device to perform the steps of information processing.
The processing unit 1702 may be integrated with the display unit 1701, and communication may occur between the processing unit 1702 and the display unit 1701.
In one possible implementation manner, the floating window control device may further include: a memory unit 1703. The memory unit 1703 may include one or more memories, which may be one or more devices, circuits, or devices for storing programs or data.
The memory unit 1703 may exist separately and be connected to the processing unit 1702 via a communication bus. The memory unit 1703 may also be integrated with the processing unit 1702.
Taking the example that the floating window control device may be a chip or a chip system of the terminal device in the embodiment of the present application, the storage unit 1703 may store computer-executed instructions of the method of the terminal device, so that the processing unit 1702 executes the method of the terminal device in the embodiment described above. The memory unit 1703 may be a register, a cache or a random access memory (random access memory, RAM), etc., and the memory unit 1703 may be integrated with the processing unit 1702. The memory unit 1703 may be a read-only memory (ROM) or other type of static storage device that may store static information and instructions, and the memory unit 1703 may be independent of the processing unit 1702.
In one possible implementation manner, the floating window control device may further include: a communication unit 1704. Wherein the communication unit 1704 is configured to support interaction of the floating window control device with other devices. For example, when the floating window control device is a terminal device, the communication unit 1704 may be a communication interface or an interface circuit. The communication unit 1704 may be a communication interface when the floating window control device is a chip or a system-on-chip within a terminal device. For example, the communication interface may be an input/output interface, pins or circuitry, etc.
The apparatus of this embodiment may be correspondingly configured to perform the steps performed in the foregoing method embodiments, and the implementation principle and technical effects are similar, which are not described herein again.
Fig. 18 is a schematic hardware structure of a control device according to an embodiment of the present application, as shown in fig. 18, where the control device includes a processor 1801, a communication line 1804, and at least one communication interface (illustrated in fig. 18 by taking a communication interface 1803 as an example).
The processor 1801 may be a general purpose central processing unit (central processing unit, CPU), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the programs of the present application.
Communication lines 1804 may include circuitry to communicate information between the components described above.
The communication interface 1803 uses any transceiver-like device for communicating with other devices or communication networks, such as ethernet, wireless local area network (wireless local area networks, WLAN), etc.
Possibly, the control device may also comprise a memory 1802.
The memory 1802 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (random access memory, RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (electrically erasable programmable read-only memory, EEPROM), a compact disc read-only memory (compact disc read-only memory) or other optical disc storage, a compact disc storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory may be separate and coupled to the processor via communication line 1804. The memory may also be integrated with the processor.
The memory 1802 is used for storing computer-executable instructions for executing the aspects of the present application, and is controlled to be executed by the processor 1801. The processor 1801 is configured to execute computer-executable instructions stored in the memory 1802, thereby implementing the methods provided by the embodiments of the present application.
Possibly, the computer-executed instructions in the embodiments of the present application may also be referred to as application program code, which is not specifically limited in the embodiments of the present application.
In a particular implementation, the processor 1801 may include one or more CPUs, such as CPU0 and CPU1 in fig. 18, as one embodiment.
In a specific implementation, as an embodiment, the control device may include a plurality of processors, such as processor 1801 and processor 1805 in fig. 18. Each of these processors may be a single-core (single-CPU) processor or may be a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
Fig. 19 is a schematic structural diagram of a chip according to an embodiment of the present application. Chip 1900 includes one or more (including two) processors 1920 and a communication interface 1930.
In some implementations, the memory 1940 stores the following elements: executable modules or data structures, or a subset thereof, or an extended set thereof.
In an embodiment of the application, memory 1940 may include read only memory and random access memory and provides instructions and data to processor 1920. A portion of memory 1940 may also include non-volatile random access memory (non-volatile random access memory, NVRAM).
In the present embodiment, memory 1940, communication interface 1930, and processor 1920 are coupled together by bus system 1910. The bus system 1910 may include a power bus, a control bus, a status signal bus, and the like in addition to a data bus. For ease of description, the various buses are labeled as bus system 1910 in FIG. 19.
The methods described in the embodiments of the present application may be applied to the processor 1920 or implemented by the processor 1920. The processor 1920 may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the methods described above may be performed by integrated logic circuitry in hardware in processor 1920 or by instructions in software. The processor 1920 described above may be a general purpose processor (e.g., a microprocessor or a conventional processor), a digital signal processor (digital signal processing, DSP), an application specific integrated circuit (application specific integrated circuit, ASIC), an off-the-shelf programmable gate array (field-programmable gate array, FPGA) or other programmable logic device, discrete gates, transistor logic, or discrete hardware components, and the processor 1920 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the invention.
The steps of a method disclosed in connection with the embodiments of the present application may be embodied directly in hardware, in a decoded processor, or in a combination of hardware and software modules in a decoded processor. The software modules may be located in a state-of-the-art storage medium such as random access memory, read-only memory, programmable read-only memory, or charged erasable programmable memory (electrically erasable programmable read only memory, EEPROM). The storage medium is located in memory 1940, and processor 1920 reads information in memory 1940 and performs the steps of the method described above in conjunction with its hardware.
In the above embodiments, the instructions stored by the memory for execution by the processor may be implemented in the form of a computer program product. The computer program product may be written in the memory in advance, or may be downloaded in the form of software and installed in the memory.
The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions in accordance with embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wired (e.g., coaxial cable, fiber optic, digital subscriber line (digital subscriber line, DSL), or wireless (e.g., infrared, wireless, microwave, etc.), or semiconductor medium (e.g., solid state disk, SSD)) or the like.
Embodiments of the present application also provide a computer-readable storage medium. The methods described in the above embodiments may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. Computer readable media can include computer storage media and communication media and can include any medium that can transfer a computer program from one place to another. The storage media may be any target media that is accessible by a computer.
As one possible design, the computer-readable medium may include compact disk read-only memory (CD-ROM), RAM, ROM, EEPROM, or other optical disk memory; the computer readable medium may include disk storage or other disk storage devices. Moreover, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, digital versatile disc (digital versatile disc, DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers.
Combinations of the above should also be included within the scope of computer-readable media. The foregoing is merely illustrative embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think about variations or substitutions within the technical scope of the present invention, and the invention should be covered. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (13)

1. A method of controlling a floating window, the method comprising:
the method comprises the steps that a terminal device displays a first interface, wherein the first interface is a main screen interface currently displayed by the terminal device, the first interface comprises a first floating window and a second floating window, the floating window comprises a shrinking control, the shrinking control is used for shrinking the floating window into a floating ball for displaying, the floating window is an operable interface corresponding to an application displayed on the first interface after a user opens the application in a sidebar or opens the floating ball of the application or opens a notification message of the application, and the sidebar is a display area comprising at least one application icon displayed by the first interface after the user slides inwards along the side edge of the terminal device; the first interface is capable of displaying at most two of the floating windows;
The terminal equipment receives a first operation;
responding to the first operation, the terminal equipment displays a third floating window on the first interface, and cancels the display of the first floating window and the second floating window, wherein the third floating window is one floating window obtained by fusing the content of the first floating window and the content of the second floating window;
the terminal equipment receives a second operation;
responding to the second operation, and increasing and displaying a fourth floating window on the first interface by the terminal equipment;
the terminal equipment receives a third operation;
responding to the third operation, displaying a fifth floating window on the first interface by the terminal equipment, and canceling the display of the third floating window and the fourth floating window, wherein the fifth floating window is one floating window obtained by fusing the content of the third floating window and the content of the fourth floating window, the fifth floating window comprises three areas, and the displayed content in the three areas respectively corresponds to the displayed content of the first floating window, the displayed content of the second floating window and the displayed content of the fourth floating window, and the displayed content in the three areas comprises at least two different operable application interfaces of the same application;
The terminal device receives a sixth operation, wherein the sixth operation is an operation for the central area of the fifth floating window;
responding to the sixth operation, the terminal equipment switches a window mode from a floating window mode to a split screen mode;
the terminal equipment calculates the respective positions and sizes of a first split screen area, a second split screen area and a third split screen area, wherein the first split screen area is used for displaying the content corresponding to the first floating window in the fifth floating window, the second split screen area is used for displaying the content corresponding to the second floating window in the fifth floating window, and the third split screen area is used for displaying the content corresponding to the fourth floating window in the fifth floating window;
the terminal equipment displays the content in the fifth floating window in the first split screen area, the second split screen area and the third split screen area; and the first interface is paved with the first split screen area, the second split screen area and the third split screen area.
2. The method of claim 1, wherein the terminal device further comprises, after the first interface displays a fifth floating window:
The terminal equipment receives a fourth operation;
responding to the fourth operation, and increasing and displaying a sixth floating window on the first interface by the terminal equipment;
the terminal equipment receives a fifth operation;
and responding to the fifth operation, displaying a seventh floating window on the first interface by the terminal equipment, and canceling the display of the fifth floating window and the sixth floating window, wherein the seventh floating window is one floating window obtained by fusing the content of the fifth floating window and the content of the sixth floating window.
3. The method of claim 2, wherein the terminal device further comprises, after the first interface displays a seventh floating window:
the terminal equipment receives a seventh operation;
and responding to the seventh operation, and displaying the content in the seventh floating window in a split screen manner by the terminal equipment.
4. A method according to claim 3, wherein the seventh floating window middle-divided region displays the content corresponding to the first floating window, the content corresponding to the second floating window, the content corresponding to the fourth floating window, and the content corresponding to the sixth floating window, respectively, and the seventh operation is an operation for a center region of the seventh floating window.
5. The method of claim 4, wherein before the terminal device displays the content in the seventh floating window in a split screen manner, further comprising:
the terminal equipment switches the window mode from a floating window mode to a split screen mode;
the terminal equipment calculates the positions and the sizes of a first split screen area, a second split screen area, a third split screen area and a fourth split screen area, wherein the first split screen area is used for displaying the content corresponding to the first floating window in the seventh floating window, the second split screen area is used for displaying the content corresponding to the second floating window in the seventh floating window, the third split screen area is used for displaying the content corresponding to the fourth floating window in the seventh floating window, and the fourth split screen area is used for displaying the content corresponding to the sixth floating window in the seventh floating window;
the terminal device displays the content in the seventh floating window in a split screen manner, and the method comprises the following steps: and the terminal equipment displays the content in the seventh floating window in the first split screen area, the second split screen area, the third split screen area and the fourth split screen area in a split screen mode.
6. The method of claim 5, wherein the terminal device displays the content in the seventh floating window before the first split screen region, the second split screen region, the third split screen region, and the fourth split screen region split screen, further comprising:
And the terminal equipment plays the floating window switching split screen animation.
7. The method according to claim 2, wherein the seventh floating window includes a first area, a second area, a third area, and a fourth area, and the first area, the second area, the third area, and the fourth area display contents corresponding to the first floating window, contents corresponding to the second floating window, contents corresponding to the fourth floating window, and contents corresponding to the sixth floating window, respectively, and the terminal device further includes, after displaying the seventh floating window on the first interface:
the terminal equipment receives an eighth operation;
responding to the eighth operation, and increasing and displaying an eighth floating window on the first interface by the terminal equipment;
the terminal equipment receives a ninth operation;
and in response to the ninth operation, the terminal device replaces the content of the first target area in the seventh floating window with the content corresponding to the eighth floating window, and cancels the display of the eighth floating window, wherein the first target area is an area for which the eighth operation is performed in the first area, the second area, the third area or the fourth area.
8. The method according to claim 2, wherein the seventh floating window includes a first area, a second area, a third area, and a fourth area, and the first area, the second area, the third area, and the fourth area display contents corresponding to the first floating window, contents corresponding to the second floating window, contents corresponding to the fourth floating window, and contents corresponding to the sixth floating window, respectively, and the terminal device further includes, after displaying the seventh floating window on the first interface:
the terminal equipment receives a tenth operation;
in response to the tenth operation, the terminal device displays a ninth floating window and a tenth floating window on the first interface, wherein the ninth floating window comprises contents of a second target area in the seventh floating window, the tenth floating window comprises contents of the seventh floating window except for the contents of the second target area, and the second target area is an area for which the tenth operation is performed in the first area, the second area, the third area or the fourth area.
9. The method according to any one of claims 2 to 8, wherein the seventh floating window is displayed with content corresponding to the first floating window, content corresponding to the second floating window, content corresponding to the fourth floating window, and content corresponding to the sixth floating window in the divided areas, respectively, wherein the content corresponding to the first floating window and the content corresponding to the fourth floating window are from the same application.
10. The method of claim 1, wherein the terminal device further comprises, prior to the first interface displaying a third floating window:
the terminal equipment constructs the first floating window and the second floating window into a floating window split-screen pair;
calculating the window position and the window size of the fused floating window according to the layout and the content of the floating window split-screen pairs;
and the terminal equipment generates the third floating window according to the window position and the window size of the fused floating window, the layout and the content of the split screen pair of the floating window.
11. The method of claim 10, wherein before the terminal device generates the third floating window according to the window position and size of the fused floating window, the layout and content of the floating window split screen pair, the method further comprises:
and the terminal equipment plays the floating window fusion animation.
12. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the computer program is caused by the processor to perform the method of any of claims 1-11.
13. A computer readable storage medium storing a computer program, which when executed by a processor causes a computer to perform the method of any one of claims 1-11.
CN202210848226.1A 2022-07-19 2022-07-19 Suspended window control method and related device Active CN114995701B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210848226.1A CN114995701B (en) 2022-07-19 2022-07-19 Suspended window control method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210848226.1A CN114995701B (en) 2022-07-19 2022-07-19 Suspended window control method and related device

Publications (2)

Publication Number Publication Date
CN114995701A CN114995701A (en) 2022-09-02
CN114995701B true CN114995701B (en) 2024-04-02

Family

ID=83022108

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210848226.1A Active CN114995701B (en) 2022-07-19 2022-07-19 Suspended window control method and related device

Country Status (1)

Country Link
CN (1) CN114995701B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117228A (en) * 2015-08-27 2015-12-02 北京金山安全软件有限公司 Method for loading suspension window, suspension window loading device and electronic equipment
CN106598396A (en) * 2016-12-21 2017-04-26 北京金山安全软件有限公司 Display method and device based on floating window and electronic equipment
WO2021104030A1 (en) * 2019-11-30 2021-06-03 华为技术有限公司 Split-screen display method and electronic device
WO2022089330A1 (en) * 2020-10-30 2022-05-05 维沃移动通信有限公司 Method for taking screenshot, apparatus, electronic device, and readable storage medium
CN114518860A (en) * 2020-11-18 2022-05-20 深圳Tcl新技术有限公司 Method and device for creating panoramic picture based on large screen, intelligent terminal and medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
MY186664A (en) * 2015-12-29 2021-08-05 Huawei Tech Co Ltd Multimedia file management method, electronic device, and graphical user interface
CN108089786B (en) * 2017-12-14 2019-12-31 Oppo广东移动通信有限公司 User interface display method, device, equipment and storage medium
CN112578982A (en) * 2019-09-29 2021-03-30 华为技术有限公司 Electronic equipment and operation method thereof
CN113641271B (en) * 2020-04-27 2024-01-12 华为技术有限公司 Application window management method, terminal device and computer readable storage medium
CN111966252A (en) * 2020-05-14 2020-11-20 华为技术有限公司 Application window display method and electronic equipment
CN113485599A (en) * 2021-07-19 2021-10-08 维沃移动通信(杭州)有限公司 Display control method, display control device, electronic device, and medium
CN114510176B (en) * 2021-08-03 2022-11-08 荣耀终端有限公司 Desktop management method of terminal equipment and terminal equipment
CN113805743B (en) * 2021-08-12 2023-08-11 荣耀终端有限公司 Method for switching display window and electronic equipment
CN117806516A (en) * 2021-09-22 2024-04-02 荣耀终端有限公司 Suspended window display method and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117228A (en) * 2015-08-27 2015-12-02 北京金山安全软件有限公司 Method for loading suspension window, suspension window loading device and electronic equipment
CN106598396A (en) * 2016-12-21 2017-04-26 北京金山安全软件有限公司 Display method and device based on floating window and electronic equipment
WO2021104030A1 (en) * 2019-11-30 2021-06-03 华为技术有限公司 Split-screen display method and electronic device
WO2022089330A1 (en) * 2020-10-30 2022-05-05 维沃移动通信有限公司 Method for taking screenshot, apparatus, electronic device, and readable storage medium
CN114518860A (en) * 2020-11-18 2022-05-20 深圳Tcl新技术有限公司 Method and device for creating panoramic picture based on large screen, intelligent terminal and medium

Also Published As

Publication number Publication date
CN114995701A (en) 2022-09-02

Similar Documents

Publication Publication Date Title
US10853979B2 (en) Electronic device and method for displaying screen thereof
WO2021159922A1 (en) Card display method, electronic device, and computer-readable storage medium
WO2021244443A1 (en) Split-screen display method, electronic device, and computer readable storage medium
CN108845856B (en) Object-based synchronous updating method and device, storage medium and equipment
CN110602321B (en) Application program switching method and device, electronic device and storage medium
WO2021115194A1 (en) Application icon display method and electronic device
WO2020253758A1 (en) User interface layout method and electronic device
CN113325996B (en) Split screen display method and device
JP2022531279A (en) Methods and related equipment for switching between parent and child pages
CN111597000B (en) Small window management method and terminal
CN111880712B (en) Page display method and device, electronic equipment and storage medium
CN113409427B (en) Animation playing method and device, electronic equipment and computer readable storage medium
CN110968815B (en) Page refreshing method, device, terminal and storage medium
CN111602381A (en) Icon switching method, method for displaying GUI (graphical user interface) and electronic equipment
CN110045958B (en) Texture data generation method, device, storage medium and equipment
WO2022161119A1 (en) Display method and electronic device
CN114546545A (en) Image-text display method, device, terminal and storage medium
CN114995701B (en) Suspended window control method and related device
WO2022166713A1 (en) Electronic device and display method for application thereof, and medium
KR20120010529A (en) Method for multiple display and mobile terminal using this method
CN112148499A (en) Data reporting method and device, computer equipment and medium
CN114356477B (en) Terminal equipment and application program calling method
CN115379274B (en) Picture-based interaction method and device, electronic equipment and storage medium
US20240137438A1 (en) Information display method and electronic device
CN117278666A (en) Wallpaper setting method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant