CN110308854B - Method and device for switching display of applications - Google Patents

Method and device for switching display of applications Download PDF

Info

Publication number
CN110308854B
CN110308854B CN201910613158.9A CN201910613158A CN110308854B CN 110308854 B CN110308854 B CN 110308854B CN 201910613158 A CN201910613158 A CN 201910613158A CN 110308854 B CN110308854 B CN 110308854B
Authority
CN
China
Prior art keywords
display
screen
application
touch operation
display 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
CN201910613158.9A
Other languages
Chinese (zh)
Other versions
CN110308854A (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.)
Xian Yep Telecommunication Technology Co Ltd
Original Assignee
Xian Yep Telecommunication Technology 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 Xian Yep Telecommunication Technology Co Ltd filed Critical Xian Yep Telecommunication Technology Co Ltd
Priority to CN201910613158.9A priority Critical patent/CN110308854B/en
Publication of CN110308854A publication Critical patent/CN110308854A/en
Application granted granted Critical
Publication of CN110308854B publication Critical patent/CN110308854B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1641Details related to the display arrangement, including those related to the mounting of the display in the housing the display being formed by a plurality of foldable display components
    • 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/0486Drag-and-drop
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides a method and a device for switching display of an application, which are applied to a multi-screen terminal, wherein the multi-screen terminal comprises a foldable flexible screen, the foldable flexible screen at least comprises a first display screen and a second display screen, and the method comprises the following steps: when the flexible screen is in a folded state, obtaining a corresponding draggable control according to touch operation received by the first display screen, wherein the draggable control is displayed on the first display screen; and responding to the touch operation of the draggable control to obtain an application display window, wherein the application display window is displayed on the first display screen, and the application display window displays the display content on the second display screen. The method and the device for switching the display of the application can solve the problem that the operation is more complicated when the screen is frequently switched and checked in the prior art.

Description

Method and device for switching display of applications
Technical Field
The embodiment of the invention relates to the technical field of terminals, in particular to a method and a device for switching display of an application.
Background
With the rapid development of mobile terminals, the configuration and the popularity of the mobile terminals are higher and higher, and the roles played by the mobile terminals are more and more, so that users can watch videos, read novels, surf the internet and the like through the mobile terminals.
At present, when a plurality of screens respectively display different applications in the use process of a folding screen terminal, a user needs to manually move the folding screen to a visual range so as to check and operate the application function of the current screen. Fig. 1 is a schematic diagram of a conventional folding screen terminal, which includes a first screen 101 and a second screen 102, as shown in fig. 1. The left side is the folded screen 11 in an unfolded state, and the right side is the folded screen 12 in a folded state. When the folding screen is in the folded state, the user views the display content of the first screen 101. If the user needs to view the display content of the second screen 102, the user needs to manually rotate or turn the folding screen terminal. When frequent switching and checking are needed, the screen needs to be frequently operated by a user, the use is complicated, obsolete experience unmatched with the folding screen technology can be brought, and the perception of the user on convenient operation of the application under the folding screen is influenced.
Therefore, a switching display method applied to a folding screen terminal is needed at present, and the problem that in the prior art, when a screen is frequently switched and checked, the operation is complex is solved.
Disclosure of Invention
The embodiment of the invention provides a method and a device for switching display of an application, and aims to solve the problem that in the prior art, when a screen is frequently switched and checked, the operation is complicated.
In a first aspect, an embodiment of the present invention provides a method for switching display by an application, where the method is applied to a multi-screen terminal, where the multi-screen terminal includes a foldable flexible screen, and the foldable flexible screen includes at least a first display screen and a second display screen, and the method includes:
when the flexible screen is in a folded state, obtaining a corresponding draggable control according to touch operation received by the first display screen, wherein the draggable control is displayed on the first display screen;
and responding to the touch operation of the draggable control to obtain an application display window, wherein the application display window is displayed on the first display screen, and the application display window displays the display content on the second display screen.
In a possible implementation manner, the obtaining a corresponding draggable control according to the touch operation received by the first display screen includes:
acquiring a sliding touch operation from a first position to a second position, wherein the sliding touch operation is received by the first display screen, the first position and the second position are both positioned on the first display screen, and the distance from the first position to the second position exceeds a preset distance;
and obtaining the draggable control according to the sliding touch operation.
In one possible implementation manner, the application display window further includes a switching control, and the method further includes:
acquiring a switching instruction acting on the switching control;
and according to the switching instruction, interchanging the display content in the application display window and the content displayed on the first display screen, and hiding the application display window.
In one possible implementation manner, the obtaining an application display window in response to a touch operation on the draggable control includes:
and responding to a dragging touch operation that the draggable control is dragged from a third position to a fourth position to obtain the application display window, wherein the third position and the fourth position correspond to two boundaries of the application display window.
In one possible implementation manner, the obtaining the application display window in response to the drag touch operation of the draggable control being dragged from the third location to the fourth location includes:
drawing a display image of display content to be displayed in the application display window;
in the process of dragging the draggable control from a third position to a fourth position by the dragging touch operation, increasing a display area of the application display window according to the position of the draggable control and the display image, wherein the display area is an area between the third position and the position, and the display part of the display image in the display area is increased along with the increase of the display area;
when the draggable control is dragged to the fourth position, the display area of the application display window stops changing, and the display image of all display contents of the second display screen is displayed in the display area.
In one possible implementation manner, before obtaining the application display window in response to the drag touch operation of the draggable control being dragged from the third location to the fourth location, the method further includes:
acquiring the operation duration of the press touch operation acting on the draggable control;
and determining that the operation time length is greater than a preset time length.
In one possible implementation manner, after obtaining the application display window in response to the touch operation on the draggable control, the method further includes:
acquiring a hiding instruction operated at a fifth position on the first display screen, wherein the fifth position is a position on the first display screen except for the position of the application display window;
and hiding the application display window according to the hiding instruction.
In a second aspect, an embodiment of the present invention provides an apparatus for switching display application, where the apparatus is applied to a multi-screen terminal, where the multi-screen terminal includes a foldable flexible screen, and the foldable flexible screen includes at least a first display screen and a second display screen, and the apparatus includes:
the processing module is used for obtaining a corresponding draggable control according to the touch operation received by the first display screen when the flexible screen is in a folded state, and the draggable control is displayed on the first display screen;
and the display module is used for responding to the touch operation of the draggable control to obtain an application display window, the application display window is displayed on the first display screen, and the application display window displays the display content on the second display screen.
In a possible implementation manner, the processing module is specifically configured to:
acquiring a sliding touch operation from a first position to a second position, wherein the sliding touch operation is received by the first display screen, the first position and the second position are both positioned on the first display screen, and the distance from the first position to the second position exceeds a preset distance;
and obtaining the draggable control according to the sliding touch operation.
In a possible implementation manner, the application display window further includes a switching control, and the display module is further configured to:
acquiring a switching instruction acting on the switching control;
and according to the switching instruction, interchanging the display content in the application display window and the content displayed on the first display screen, and hiding the application display window.
In a possible implementation manner, the display module is specifically configured to:
and responding to a dragging touch operation that the draggable control is dragged from a third position to a fourth position to obtain the application display window, wherein the third position and the fourth position correspond to two boundaries of the application display window.
In a possible implementation manner, the display module is specifically configured to:
drawing a display image of display content to be displayed in the application display window;
in the process of dragging the draggable control from a third position to a fourth position by the dragging touch operation, increasing a display area of the application display window according to the position of the draggable control and the display image, wherein the display area is an area between the third position and the position, and the display part of the display image in the display area is increased along with the increase of the display area;
when the draggable control is dragged to the fourth position, the display area of the application display window stops changing, and the display image of all display contents of the second display screen is displayed in the display area.
In a possible implementation manner, before the application display window is obtained in response to the drag touch operation of the draggable control being dragged from the third location to the fourth location, the display module is further specifically configured to:
acquiring the operation duration of the press touch operation acting on the draggable control;
and determining that the operation time length is greater than a preset time length.
In a possible implementation manner, after obtaining an application display window in response to a touch operation on the draggable control, the display module is further specifically configured to:
acquiring a hiding instruction operated at a fifth position on the first display screen, wherein the fifth position is a position on the first display screen except for the position of the application display window;
and hiding the application display window according to the hiding instruction.
The method and the device for switching the display of the application are applied to a terminal comprising a foldable flexible screen, when the flexible screen is in a folded state, a corresponding draggable control is obtained according to touch operation received by a first display screen, and then an application display window is obtained in response to the touch operation on the draggable control, wherein the application display window is positioned on the first display screen and can display content displayed on a second display screen. According to the method for switching the display of the application, provided by the embodiment of the invention, the display content on the second display screen can be displayed by the application display window through simple touch operation on the first display screen, the operation is simple, and the problem that the operation is complicated due to frequent screen switching when the display content of the first display screen and the display content of the second display screen need to be checked back and forth in the prior art is solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic diagram of a conventional folding screen terminal;
fig. 2 is a schematic flowchart of a method for switching display of an application according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating an application display window according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a method for switching display of an application according to another embodiment of the present invention;
fig. 5 is a first schematic diagram of a sliding touch operation path according to an embodiment of the present invention;
fig. 6 is a second schematic diagram of a sliding touch operation path according to an embodiment of the present invention;
fig. 7 is a first schematic view of an application display window corresponding to a drag touch operation according to an embodiment of the present invention;
fig. 8 is a schematic view of a second application display window corresponding to the drag touch operation according to the embodiment of the present invention;
fig. 9 is a schematic view third of an application display window corresponding to a drag touch operation according to an embodiment of the present invention;
FIG. 10 is a diagram illustrating switching application display windows according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of an apparatus for switching display by application according to an embodiment of the present invention;
fig. 12 is a schematic diagram of a hardware structure of an apparatus for switching display by application according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 2 is a flowchart of a method for switching display by an application according to an embodiment of the present invention, where the method is applied to a multi-screen terminal, where the multi-screen terminal includes a foldable flexible screen, and the foldable flexible screen at least includes a first display screen and a second display screen, and as shown in fig. 2, the method includes:
s21, when the flexible screen is in a folded state, according to the touch operation received by the first display screen, a corresponding draggable control is obtained, and the draggable control is displayed on the first display screen.
For a terminal comprising a first display and a second display, the display contents of the first display and the second display may not be consistent when the terminal is in a folded state, for example, the first display displays a chat application and the second display displays a game application. In the prior art, when a user views a first display screen, if the user wants to view a second display screen, the terminal needs to be rotated manually, so that the second display screen faces the user, or a flexible screen of the terminal is unfolded, so that the user can view display contents of the first display screen and the second display screen at the same time. This method requires the user to frequently operate the screen, which is very cumbersome.
According to the method provided by the embodiment of the invention, when the flexible screen is in the folded state, a user can perform touch operation on the first display screen, and the user views the first display screen at the moment. After the first display screen receives the touch operation, a corresponding draggable control can appear on the first display screen, and when a user needs to check the display content of the second display screen, the draggable control can be subsequently operated.
S22, responding to the touch operation of the draggable control, obtaining an application display window, wherein the application display window is displayed on the first display screen, and the application display window displays the display content on the second display screen.
And the terminal responds to the touch operation, so that an application display window appears on the first display screen, and the display content of the application display window is the display content of the second display screen. Because the display content on the second display screen can change along with the change of different applications operated by the user, the content displayed by the application display window can change according to the change of the display content of the second display screen, and therefore the display content observed by the user on the application display window is ensured to be consistent with the display content on the second display screen.
Fig. 3 is a schematic diagram of an application display window according to an embodiment of the present invention, as shown in fig. 3, a first display screen 31 is on the left, and a second display screen 32 is on the right. It should be noted that, in fig. 3, the flexible screen is in a folded state, and the first display screen 31 and the second display screen 32 are two components of the flexible screen in the folded state. In order to facilitate comparison and observation of the display contents on the two display screens, the display contents of the two display screens are shown separately in fig. 3. The first display screen 31 includes an application display window 33, and the display content in the application display window 33 is the display content in the second display screen 32.
The method for switching the display of the application is applied to a terminal comprising a foldable flexible screen, when the flexible screen is in a folded state, a corresponding draggable control is obtained according to touch operation received by a first display screen, and then an application display window is obtained in response to the touch operation on the draggable control, wherein the application display window is positioned on the first display screen and can display content displayed on a second display screen. According to the method for switching the display of the application, provided by the embodiment of the invention, the display content on the second display screen can be displayed by the application display window through simple touch operation on the first display screen, the operation is simple, and the problem that the operation is complicated due to frequent screen switching when the display content of the first display screen and the display content of the second display screen need to be checked back and forth in the prior art is solved.
The following describes the embodiments of the present invention in detail with reference to fig. 4 and specific embodiments. Fig. 4 is a flowchart illustrating a method for switching display of an application according to another embodiment of the present invention, as shown in fig. 4, including:
s41, obtaining a sliding touch operation from a first position to a second position received by the first display screen, wherein the first position and the second position are both located on the first display screen, and the distance from the first position to the second position exceeds a preset distance.
When a user views the first display screen, if the user wants to view the display content of the second display screen, a sliding touch operation may be performed on the first display screen at this time, where the sliding touch operation is a sliding touch operation from a first position to a second position, where both the first position and the second position are located on the first display screen, and a distance from the first position to the second position exceeds a preset distance. The specific orientations of the first position and the second position may be set according to actual needs, and may be any two positions on the first display screen, and the preset distance may also be set according to actual needs, for example, the preset distance may be set to 3cm, 4cm, or 5cm, and so on. The specific orientations of the first position and the second position, and the setting of the preset distance are not limited specifically herein.
In the process of the sliding touch operation from the first position to the second position, the sliding path may be a straight line from the first position to the second position, or may be a curved line or a broken line from the first position to the second position, but when the user performs the sliding touch operation from the first position to the second position, the finger of the user must be in a contact state with the first display screen, and when the finger leaves the first display screen, the sliding touch operation is ended.
Fig. 5 is a first schematic view of a sliding touch operation path according to an embodiment of the present invention, as shown in fig. 5, at this time, the flexible screen of the terminal is in a folded state, and the first display screen 51 and the second display screen 52 are in a vertical state. On the first display screen 51, the user performs a sliding touch operation, the sliding touch operation is from a first position 53 to a second position 54, fig. 5 shows three possible paths of the sliding touch operation from the first position 53 to the second position 54, which are a first path 501, a second path 502 and a third path 503, respectively, wherein the first path 501 is a straight line from the first position 53 to the second position 54, the second path 502 is a curved line from the first position 53 to the second position 54, the third path 503 is a broken line from the first position 53 to the second position 54, and the distance from the first position 53 to the second position 54 exceeds a preset distance. The three paths are only three possible paths from the first position 53 to the second position 54, and may include other paths, which is not particularly limited in the embodiment of the present invention.
Fig. 6 is a schematic view of a second sliding touch operation path according to an embodiment of the present invention, as shown in fig. 6, at this time, the flexible screen of the terminal is in a folded state, and the first display 61 and the second display 62 are in a horizontal state. On the first display screen 61, the user performs a sliding touch operation, the sliding touch operation is from a first position 63 to a second position 64, fig. 6 shows three possible paths of the sliding touch operation from the first position 63 to the second position 64, which are a first path 601, a second path 602 and a third path 603, respectively, wherein the first path 601 is a straight line from the first position 63 to the second position 64, the second path 602 is a curved line from the first position 63 to the second position 64, the third path 603 is a broken line from the first position 63 to the second position 64, and the distance from the first position 63 to the second position 64 exceeds a preset distance. The three paths are only three possible paths from the first position 63 to the second position 64, and may include other paths, which is not particularly limited in the embodiment of the present invention.
And S42, obtaining the draggable control according to the sliding touch operation.
When a user performs sliding touch operation on the first display screen, the sliding touch operation is performed from the first position to the second position, and after the distance from the first position to the second position exceeds the preset distance, a draggable control appears on the first display screen, corresponding operation can be performed on the draggable control, and the display content of the second display screen can be viewed. For example, in fig. 5, after the sliding touch operation is performed from the first position 53 to the second position 54, and the distance from the first position 53 to the second position 54 exceeds a preset distance, the draggable control 55 is displayed on the first display screen 51; in fig. 6, after the sliding touch operation is performed from the first position 63 to the second position 64, and the distance from the first position 63 to the second position 64 exceeds the preset distance, the draggable control 65 is displayed on the first display 61.
S43, obtaining the application display window in response to the dragging touch operation of the draggable widget from a third position to a fourth position, wherein the third position and the fourth position correspond to two boundaries of the application display window.
Before an application display window is obtained in response to dragging touch operation of a draggable control from a third position to a fourth position, a user needs to press the draggable control for a long time, a terminal obtains operation duration of pressing touch operation acting on the draggable control, when the operation duration is longer than preset duration, the terminal judges that pressing of the draggable control by the user belongs to long pressing, and if the operation duration is shorter than or equal to the preset duration, the terminal judges that pressing of the draggable control by the user belongs to short pressing. The preset time period may be set according to actual needs, for example, may be set to 0.5s, 1s, and the like, and the specific setting is not particularly limited herein. If the user presses the draggable control to belong to short press, the terminal responds to the short press operation, and therefore the draggable control is hidden. If the user presses the draggable control part for a long time, the terminal can respond to the long time pressing operation to drag the draggable control part.
And after the application display window appears, the terminal draws a display image of display content to be displayed in the application display window. And in the process of dragging the draggable control from a third position to a fourth position by the dragging touch operation, increasing a display area of the application display window according to the position of the draggable control and the display image, wherein the display area is an area between the third position and the position, and the display part of the display image in the display area is increased along with the increase of the display area. When the draggable control is dragged to the fourth position, the display area of the application display window stops changing, and all display images are displayed in the display area.
After a draggable control area is displayed, a user drags and slides down the draggable application display window from a third position to a fourth position to display a display window interface from a long press of the draggable control, the display is data projection of a second display screen, data drawing is carried out by adopting View, the drawn View is ready to be finished after the long press area is displayed, when the View is pulled down, animation from the top to the bottom of the View can be calculated, the drawing process is matched with realization of the animation, the animation is displayed as a curtain-like pulling-down effect, the pulling-down distance corresponds to the spreading height of the View, and when the View is pulled down to the bottom of the screen, namely the fourth position, the View is fully spread.
And after the View is completely unfolded, displaying a switching control, wherein the switching control is positioned on the application display window. And after the terminal acquires the switching instruction acting on the switching control, the display content in the application display window is exchanged with the content displayed on the first display screen according to the switching instruction, and the application display window is hidden.
Fig. 7 is a schematic view of a first application display window corresponding to a dragging touch operation according to an embodiment of the present invention, and as shown in fig. 7, a flexible screen is in a folded state and includes a first display screen 71 and a second display screen 72, and the first display screen 71 and the second display screen 72 are in a vertical state. In order to compare the display contents of the first display screen 71 and the second display screen 72, the pictures of the first display screen 71 and the second display screen 72 are arranged on the same plane in fig. 7, and it can be understood that the first display screen 71 and the second display screen 72 are two parts of the flexible screen in a folded state respectively, and the first display screen 71 and the second display screen 72 are not arranged on the same plane. The drag touch operation, which initially starts dragging and the application display window 74 does not yet display content, drags the draggable control 73 downward from the third position 710 in fig. 7.
Fig. 8 is a schematic view of a second application display window corresponding to the dragging touch operation according to the embodiment of the present invention, where as shown in fig. 8, the dragging touch operation drags the draggable control 73 from the third position 710 to an intermediate position, and in this process, the terminal draws a display image of display content to be displayed in the application display window 74. In the process of dragging the draggable control from the third position to the fourth position by the dragging touch operation, the display area of the application display window 74 is increased according to the position of the draggable control and the display image, and the display part of the display image in the display area is increased along with the increase of the display area.
Fig. 9 is a schematic view of a third application display window corresponding to the drag touch operation according to the embodiment of the present invention, as shown in fig. 9, at this time, the drag touch operation has dragged the draggable control 73 from the third position 710 to the fourth position 910, where the fourth position 910 is located at a boundary of the application display window 74. At this time, the application display window 74 displays the entire display contents of the second display screen. At this time, a switching control 920 appears on the application display window 74, and a switching instruction is applied to the switching control 920, for example, the switching control 920 may be clicked, and at this time, the display content of the application display window and the display content on the first display screen are interchanged, and the application display window is hidden.
Fig. 10 is a schematic diagram of switching application display windows according to an embodiment of the present invention, and as shown in fig. 10, compared with fig. 9, the display content of the switched first display 71 is the display content of the application display window 74 or the second display 72 in the original image 9. For the situation that the first display screen and the second display screen are in the horizontal state, the situation is similar to the situation that the first display screen and the second display screen are in the vertical state, and details are not repeated here.
In fig. 9, after obtaining the application display window 74, the user may further operate a hiding instruction at a fifth position on the first display 71, where the fifth position is a position on the first display 71 except for the position of the application display window 74, and after obtaining the hiding instruction, the terminal may hide the application display window 74 according to the hiding instruction. The selection of the fifth position may be according to actual needs, and is not particularly limited in this time. For example, when a click operation is performed on a place other than the application display window 74 on the first display 71, the terminal acquires the click operation, and the application display window 74 can be hidden.
The method for switching the display of the application is applied to a terminal comprising a foldable flexible screen, when the flexible screen is in a folded state, a corresponding draggable control is obtained according to touch operation received by a first display screen, and then an application display window is obtained in response to the touch operation on the draggable control, wherein the application display window is positioned on the first display screen and can display content displayed on a second display screen. According to the method for switching the display of the application, provided by the embodiment of the invention, the display content on the second display screen can be displayed by the application display window through simple touch operation on the first display screen, the operation is simple, and the problem that the operation is complicated due to frequent screen switching when the display content of the first display screen and the display content of the second display screen need to be checked back and forth in the prior art is solved. And when the area of the application display window is gradually enlarged, the content displayed by the application display window is also gradually enlarged, when the display content of the second display screen is not required to be checked, the application display window can be hidden by clicking the hidden instruction of the fifth position or pressing the draggable control for a short time, the display content of the application display window and the display content of the first display screen can be switched, the convenience of operation is improved, and the operation experience of a user is improved.
Fig. 11 is a schematic structural diagram of an apparatus for switching display by application according to an embodiment of the present invention, as shown in fig. 11, and is applied to a multi-screen terminal, where the multi-screen terminal includes a foldable flexible screen, and the foldable flexible screen includes at least a first display screen and a second display screen, the apparatus includes a processing module 111 and a display module 112, where:
the processing module 111 is configured to, when the flexible screen is in a folded state, obtain a corresponding draggable control according to the touch operation received by the first display screen, where the draggable control is displayed on the first display screen;
the display module 112 is configured to obtain an application display window in response to a touch operation on the draggable control, where the application display window is displayed on the first display screen, and the application display window displays display content on the second display screen.
In a possible implementation manner, the processing module 111 is specifically configured to:
acquiring a sliding touch operation from a first position to a second position, wherein the sliding touch operation is received by the first display screen, the first position and the second position are both positioned on the first display screen, and the distance from the first position to the second position exceeds a preset distance;
and obtaining the draggable control according to the sliding touch operation.
In a possible implementation manner, the application display window further includes a switching control, and the display module 112 is further configured to:
acquiring a switching instruction acting on the switching control;
and according to the switching instruction, interchanging the display content in the application display window and the content displayed on the first display screen, and hiding the application display window.
In a possible implementation manner, the display module 112 is specifically configured to:
and responding to a dragging touch operation that the draggable control is dragged from a third position to a fourth position to obtain the application display window, wherein the third position and the fourth position correspond to two boundaries of the application display window.
In a possible implementation manner, the display module 112 is specifically configured to:
drawing a display image of display content to be displayed in the application display window;
in the process of dragging the draggable control from a third position to a fourth position by the dragging touch operation, increasing a display area of the application display window according to the position of the draggable control and the display image, wherein the display area is an area between the third position and the position, and the display part of the display image in the display area is increased along with the increase of the display area;
when the draggable control is dragged to the fourth position, the display area of the application display window stops changing, and the display image of all display contents of the second display screen is displayed in the display area.
In a possible implementation manner, before the application display window is obtained in response to the drag touch operation of the draggable control being dragged from the third location to the fourth location, the display module 112 is further specifically configured to:
acquiring the operation duration of the press touch operation acting on the draggable control;
and determining that the operation time length is greater than a preset time length.
In a possible implementation manner, after obtaining the application display window in response to the touch operation on the draggable control, the display module 112 is further specifically configured to:
acquiring a hiding instruction operated at a fifth position on the first display screen, wherein the fifth position is a position on the first display screen except for the position of the application display window;
and hiding the application display window according to the hiding instruction.
The apparatus provided in the embodiment of the present invention may be used to implement the technical solutions of the above method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
Fig. 12 is a schematic diagram of a hardware structure of an application switching display device according to an embodiment of the present invention, and as shown in fig. 12, the application switching display device includes: at least one processor 121 and a memory 122. Wherein the processor 121 and the memory 122 are connected by a bus 123.
Optionally, the model determination further comprises a communication component. For example, the communication component may include a receiver and/or a transmitter.
In a specific implementation process, the at least one processor 121 executes the computer-executable instructions stored in the memory 122, so that the at least one processor 121 executes the above method for acquiring the application switching display.
For a specific implementation process of the processor 121, reference may be made to the above method embodiments, which implement the principle and the technical effect similarly, and details of this embodiment are not described herein again.
In the embodiment shown in fig. 12, it should be understood that the Processor may be a Central Processing Unit (CPU), other general-purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
The memory may comprise high speed RAM memory and may also include non-volatile storage NVM, such as at least one disk memory.
The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.
The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored, and when a processor executes the computer-executable instructions, the method for switching display of an application as described above is implemented.
The computer-readable storage medium may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk. Readable storage media can be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary readable storage medium is coupled to the processor such the processor can read information from, and write information to, the readable storage medium. Of course, the readable storage medium may also be an integral part of the processor. The processor and the readable storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the readable storage medium may also reside as discrete components in the apparatus.
The division of the units is only a logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. A method for switching display of an application is applied to a multi-screen terminal, wherein the multi-screen terminal includes a foldable flexible screen, and the foldable flexible screen includes at least a first display screen and a second display screen, and the method includes:
when the flexible screen is in a folded state, obtaining a corresponding draggable control according to touch operation received by the first display screen, wherein the draggable control is displayed on the first display screen;
responding to touch operation of the draggable control, and obtaining an application display window, wherein the application display window is displayed on the first display screen, and the application display window displays display content on the second display screen;
the obtaining of the corresponding draggable control according to the touch operation received by the first display screen includes:
acquiring a sliding touch operation from a first position to a second position, wherein the sliding touch operation is received by the first display screen, the first position and the second position are both positioned on the first display screen, and the distance from the first position to the second position exceeds a preset distance;
obtaining the draggable control according to the sliding touch operation;
the application display window further comprises a switching control, and the method further comprises the following steps:
acquiring a switching instruction acting on the switching control;
and according to the switching instruction, interchanging the display content in the application display window and the content displayed on the first display screen, and hiding the application display window.
2. The method of claim 1, wherein the obtaining an application display window in response to the touch operation on the draggable control comprises:
and responding to a dragging touch operation that the draggable control is dragged from a third position to a fourth position to obtain the application display window, wherein the third position and the fourth position correspond to two boundaries of the application display window.
3. The method of claim 2, wherein the obtaining the application display window in response to the drag touch operation of the draggable control being dragged from a third location to a fourth location comprises:
drawing a display image of display content to be displayed in the application display window;
in the process of dragging the draggable control from a third position to a fourth position by the dragging touch operation, increasing a display area of the application display window according to the position of the draggable control and the display image, wherein the display area is an area between the third position and the position, and the display part of the display image in the display area is increased along with the increase of the display area;
when the draggable control is dragged to the fourth position, the display area of the application display window stops changing, and the display image of all display contents of the second display screen is displayed in the display area.
4. The method of claim 2, wherein before the obtaining the application display window in response to the drag touch operation of the draggable control being dragged from the third location to the fourth location, further comprising:
acquiring the operation duration of the press touch operation acting on the draggable control;
and determining that the operation time length is greater than a preset time length.
5. The method of claim 1, wherein after obtaining an application display window in response to a touch operation on the draggable control, the method further comprises:
acquiring a hiding instruction operated at a fifth position on the first display screen, wherein the fifth position is a position on the first display screen except for the position of the application display window;
and hiding the application display window according to the hiding instruction.
6. An apparatus for switching display of an application, applied to a multi-screen terminal, wherein the multi-screen terminal includes a foldable flexible screen, and the foldable flexible screen at least includes a first display screen and a second display screen, the apparatus comprising:
the processing module is used for obtaining a corresponding draggable control according to the touch operation received by the first display screen when the flexible screen is in a folded state, and the draggable control is displayed on the first display screen;
the display module is used for responding to touch operation of the draggable control to obtain an application display window, the application display window is displayed on the first display screen, and the application display window displays display contents on the second display screen;
the processing module is specifically configured to acquire a sliding touch operation from a first position to a second position, where the sliding touch operation is received by the first display screen, the first position and the second position are both located on the first display screen, and a distance from the first position to the second position exceeds a preset distance;
obtaining the draggable control according to the sliding touch operation;
the application display window further comprises a switching control, and the display module is further configured to:
acquiring a switching instruction acting on the switching control;
and according to the switching instruction, interchanging the display content in the application display window and the content displayed on the first display screen, and hiding the application display window.
7. An apparatus for switching a display, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the at least one processor to perform the method of applying a toggle display of any of claims 1-5.
8. A computer-readable storage medium having stored thereon computer-executable instructions which, when executed by a processor, implement the method of switching display of applications according to any one of claims 1 to 5.
CN201910613158.9A 2019-07-09 2019-07-09 Method and device for switching display of applications Active CN110308854B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910613158.9A CN110308854B (en) 2019-07-09 2019-07-09 Method and device for switching display of applications

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910613158.9A CN110308854B (en) 2019-07-09 2019-07-09 Method and device for switching display of applications

Publications (2)

Publication Number Publication Date
CN110308854A CN110308854A (en) 2019-10-08
CN110308854B true CN110308854B (en) 2021-03-16

Family

ID=68079663

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910613158.9A Active CN110308854B (en) 2019-07-09 2019-07-09 Method and device for switching display of applications

Country Status (1)

Country Link
CN (1) CN110308854B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111158548A (en) * 2019-12-30 2020-05-15 维沃移动通信有限公司 Screen folding method and electronic equipment
CN115277929B (en) * 2021-04-30 2023-08-08 荣耀终端有限公司 Terminal equipment and method for multi-window display

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104238896A (en) * 2013-06-18 2014-12-24 腾讯科技(深圳)有限公司 Function menu display method and device
CN105808099A (en) * 2016-02-29 2016-07-27 努比亚技术有限公司 Text content display method and device of mobile terminal, and mobile terminal
CN107678661A (en) * 2017-10-19 2018-02-09 广东欧珀移动通信有限公司 The method and apparatus of display data content
CN109032464A (en) * 2018-09-10 2018-12-18 腾讯科技(深圳)有限公司 Interface switching method, device, equipment and storage medium in application program
CN109873903A (en) * 2019-01-29 2019-06-11 努比亚技术有限公司 Display methods, terminal and the computer readable storage medium of similar application program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101810884B1 (en) * 2011-06-07 2017-12-20 삼성전자주식회사 Apparatus and method for providing web browser interface using gesture in device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104238896A (en) * 2013-06-18 2014-12-24 腾讯科技(深圳)有限公司 Function menu display method and device
CN105808099A (en) * 2016-02-29 2016-07-27 努比亚技术有限公司 Text content display method and device of mobile terminal, and mobile terminal
CN107678661A (en) * 2017-10-19 2018-02-09 广东欧珀移动通信有限公司 The method and apparatus of display data content
CN109032464A (en) * 2018-09-10 2018-12-18 腾讯科技(深圳)有限公司 Interface switching method, device, equipment and storage medium in application program
CN109873903A (en) * 2019-01-29 2019-06-11 努比亚技术有限公司 Display methods, terminal and the computer readable storage medium of similar application program

Also Published As

Publication number Publication date
CN110308854A (en) 2019-10-08

Similar Documents

Publication Publication Date Title
EP3661187A1 (en) Photography method and mobile terminal
EP2613244A2 (en) Apparatus and method for displaying screen on portable device having flexible display
US11693544B2 (en) Mobile terminal display picture control method, apparatus, and device and storage medium
CN106951163B (en) Display control method and device
CN107977141B (en) Interaction control method and device, electronic equipment and storage medium
EP2871561A1 (en) Desktop system of mobile terminal and interface interaction method and device
US20120249542A1 (en) Electronic apparatus to display a guide with 3d view and method thereof
WO2016095429A1 (en) Screenshot method and device for mobile terminal
CN110308854B (en) Method and device for switching display of applications
WO2019015582A1 (en) Information notification method and mobile terminal
CN105426080A (en) Image switching method and terminal
WO2017059734A1 (en) Image zoom in/out method and electronic device
CN106648281B (en) Screenshot method and device
CN112394806A (en) User interface display method and device, electronic equipment and storage medium
CN115454233A (en) Multi-screen interaction method and device
WO2022142270A1 (en) Video playback method and video playback apparatus
CN108762626B (en) Split-screen display method based on touch all-in-one machine and touch all-in-one machine
CN114237481A (en) Handwriting display processing method, system, device, equipment and storage medium
CN109032710B (en) Interface adjusting method, device, equipment and storage medium
CN113559498A (en) Three-dimensional model display method and device, storage medium and electronic equipment
CN112619147A (en) Game equipment replacing method and device and terminal device
CN115617225A (en) Application interface display method and device, electronic equipment and storage medium
CN112684996B (en) Control method and device and electronic equipment
CN105843504B (en) A kind of window regulation method and electronic equipment
CN111831198A (en) Double-screen touch method and device

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