CN111324265B - Interface display method and electronic equipment - Google Patents

Interface display method and electronic equipment Download PDF

Info

Publication number
CN111324265B
CN111324265B CN202010080654.5A CN202010080654A CN111324265B CN 111324265 B CN111324265 B CN 111324265B CN 202010080654 A CN202010080654 A CN 202010080654A CN 111324265 B CN111324265 B CN 111324265B
Authority
CN
China
Prior art keywords
display screen
application program
display
user interface
displayed
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
CN202010080654.5A
Other languages
Chinese (zh)
Other versions
CN111324265A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010080654.5A priority Critical patent/CN111324265B/en
Publication of CN111324265A publication Critical patent/CN111324265A/en
Application granted granted Critical
Publication of CN111324265B publication Critical patent/CN111324265B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/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/04842Selection of displayed objects or displayed text elements
    • 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/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)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides an interface display method and electronic equipment, wherein the electronic equipment comprises a plurality of display screens which are stacked, and the method comprises the following steps: receiving a first operation of a user under the condition that a user interface of a first application program is displayed through a first display screen and a second display screen is at least partially shielded by the first display screen; and responding to the first operation, controlling the first display screen and the second display screen to rotate relatively, and displaying a user interface of a second application program through the second display screen. In the invention, for the electronic equipment with the stacked display screen, when the user interface of the application program is currently displayed, the user interfaces of other application programs and the user interface of the application program currently displayed can be triggered to be simultaneously displayed on different display screens by controlling the rotation of the display screen. In this way, it can be ensured that the user interface of the application is continuously and consistently displayed on the display screen.

Description

Interface display method and electronic equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an interface display method and an electronic device.
Background
As the functions of the electronic device become more and more rich, more and more applications are installed in the electronic device. When a user uses an electronic device, the user often needs to interrupt a currently running application program and open other application programs to process urgent messages. When the interrupted application program needs to be started again, the corresponding content needs to be reloaded, which makes the running consistency of the application program poor.
Disclosure of Invention
Embodiments of the present invention provide an interface display method and an electronic device, so as to solve the problem in the prior art that the running consistency of an application program is poor due to application program switching.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an interface display method, which is applied to an electronic device, where the electronic device includes a plurality of display screens, and the plurality of display screens are stacked, and the method includes:
receiving a first operation of a user under the condition that a user interface of a first application program is displayed through a first display screen and a second display screen is at least partially shielded by the first display screen;
and responding to the first operation, controlling the first display screen and the second display screen to rotate relatively, and displaying a user interface of a second application program through the second display screen.
In a second aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes a plurality of display screens, and the plurality of display screens are stacked, and the electronic device includes:
the first receiving module is used for receiving a first operation of a user under the condition that a user interface of a first application program is displayed through a first display screen and a second display screen is at least partially shielded by the first display screen;
and the first display module is used for responding to the first operation, controlling the first display screen and the second display screen to rotate relatively, and displaying a user interface of a second application program through the second display screen.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the interface display method in the first aspect of the embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the interface display method in the first aspect of the embodiment of the present invention.
In the embodiment of the invention, for the electronic equipment with the stacked display screen, when the user interface of the application program is currently displayed, the user interfaces of other application programs and the user interface of the application program currently displayed can be triggered to be simultaneously displayed on different display screens by controlling the rotation of the display screen. In this way, it can be ensured that the user interface of the application is continuously and consistently displayed on the display screen.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
FIG. 1 is a flow chart of an interface display method provided by an embodiment of the invention;
fig. 2 to 3 are schematic structural views of a sector screen;
fig. 4 to 5 are schematic views when a fan-shaped screen is used for interface display;
fig. 6 is a schematic structural diagram of an electronic device provided in an embodiment of the present invention;
fig. 7 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
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, 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.
Referring to fig. 1, fig. 1 is a flowchart of an interface display method according to an embodiment of the present invention, and as shown in fig. 1, the interface display method is applied to an electronic device, where the electronic device includes a plurality of display screens, and the display screens are stacked, and the method includes the following steps:
step 101: the method comprises the steps of receiving a first operation of a user under the condition that a user interface of a first application program is displayed through a first display screen, and at least part of a second display screen is shielded by the first display screen.
The first display screen is a display screen arranged above the second display screen, and optionally, the first display screen is the uppermost display screen of the plurality of display screens. If the first display screen is the topmost display screen among the plurality of display screens, the display screen may be used as a main display screen of the electronic device.
The second display screen is a display screen arranged below the first display screen, and optionally, the second display screen is the display screen positioned at the lowest position in the plurality of display screens.
For example, when the number of the display screens is 2, the first display screen is the display screen located above, and the second display screen is the display screen located below. When the number of the display screens is 3, the first display screen may be the uppermost display screen, and the second display screen may be the lowermost display screen or the middle display screen.
The first display screen and the second display screen can be in a stacked state or an unfolded state. When the display device is in a stacked state, the first display screen can be used by a user, the first application program displayed on the first display screen can be understood as the application program which is currently running, and the second display screen is shielded by the first display screen and cannot be used by the user. In the unfolded state, the second display screen is exposed and available for the user to use.
In the case where the user interface of the first application is displayed through the first display screen, if the user wants to launch or view another application, for example, a second application, the user interface of the second application may be displayed through the second display screen.
When the second display screen is at least partially shielded by the first display screen, in order to display the user interface of the second application program through the second display screen, the second display screen needs to be unfolded relative to the first display screen so as to expose the second display screen, and a user can input a first operation. Here, the first operation may be a touch operation input by a user, where the touch operation is used to trigger the electronic device to control the first display screen and the second display screen to rotate relatively. The first operation may also be a rotation operation input by a user to control the first display screen and the second display screen to rotate relatively, so that the first display screen and the second display screen are in the unfolded state.
For the case that the first operation is a rotation operation, the first operation may only act on the first display screen, and the second display screen remains fixed, so that the first display screen rotates relative to the second display screen; the first operation can also act on the second display screen, and the first display screen is kept fixed, so that the second display screen rotates relative to the first display screen; the first operation may also act on the first display screen and the second display screen simultaneously. The embodiment of the present invention is not limited thereto.
Step 102: and responding to the first operation, controlling the first display screen and the second display screen to rotate relatively, and displaying a user interface of a second application program through the second display screen.
In this step, after receiving the first operation, the electronic device may control the first display screen and the second display screen to rotate relative to each other in response to the first operation, and display a user interface of the second application program through the second display screen.
At this time, the user interface of the first application program and the user interface of the second application program are simultaneously displayed on different display screens, and the user interface of the first application program is not interrupted by the influence of the second application program, so that the user interface of the first application program is ensured to be continuously and continuously displayed.
It should be noted that, after the user interface of the second application program is displayed on the second display screen, the terminal may continue to control the first display screen and the second display screen to rotate relatively, so as to adjust an included angle between the first display screen and the second display screen, and in the whole adjustment process, the display of the second application program on the second display screen may not be affected. In addition, after displaying the user interface of the second application through the second display screen, the display of the first application on the first display screen may not be affected, i.e., the user interface of the first application is continuously and consistently displayed on the first display screen.
In the embodiment of the invention, for the electronic equipment with the stacked display screen, when the user interface of the application program is currently displayed, the user interfaces of other application programs and the user interface of the application program currently displayed can be triggered to be simultaneously displayed on different display screens by controlling the rotation of the display screen. In this way, it can be ensured that the user interface of the application is continuously and consistently displayed on the display screen.
Optionally, the controlling, in response to the first operation, the first display screen and the second display screen to rotate relatively, and displaying a user interface of a second application program through the second display screen includes:
responding to the first operation, and controlling the first display screen and the second display screen to rotate relatively;
and displaying a user interface of a second application program through the second display screen under the condition that the relative static time of the first display screen and the second display screen reaches the preset time.
The electronic device may pause halfway in controlling the relative rotation of the first display screen and the second display screen (for example, the user may pause halfway when inputting the rotation operation), the pause halfway may not indicate that the first operation is completed, and after the pause, the electronic device may continue to control the relative rotation of the first display screen and the second display screen. In view of this, in this embodiment, a first operation confirmation mechanism is introduced, that is, in the process of continuously controlling the relative rotation of the first display screen and the second display screen, if it is detected that the time that the first display screen and the second display screen are relatively stationary reaches a preset time, for example, 2 seconds, 3 seconds, and the like, it is confirmed that the first operation is completed, and the electronic device may display the user interface of the second application program through the second display screen in response to the first operation. On the contrary, if the relative stationary time of the first display screen and the second display screen does not reach the preset time, the user interface of the second application program is not displayed through the second display screen temporarily.
In the embodiment, by introducing the first operation confirmation mechanism, the false triggering of displaying the application program user interface on the second display screen can be effectively avoided.
Further, after the first operation is confirmed, the electronic device may further control the first display screen and the second display screen to rotate relatively, and as long as the first display screen and the second display screen do not return to the stacked state before the first operation, any rotation may not affect the display of the second application program on the second display screen.
That is, after the user interface of the second application program is displayed on the second display screen, if the relative position between the first display screen and the second display screen does not return to the state before the first operation, the user interface of the second application program is kept displayed on the second display screen.
In this way, the first operation may be regarded as an operation for locking the application program, that is, the first operation is an operation for locking the second application program displayed on the second display screen, and after the second application program is locked, the user may optionally adjust the relative position of the first display screen and the second display screen, so as to facilitate the user to use the second display screen.
For convenience of understanding, it is assumed that before the first operation, an included angle between the first display screen and the second display screen is 0 °, and the first display screen and the second display screen are in a stacked state. And inputting a first operation by a user, enabling an included angle between the first display screen and the second display screen to be 45 degrees and lasting for 3 seconds, and triggering the second application program to be displayed on the second display screen by the electronic equipment. And then, the user can input the rotation operation again to change the included angle between the first display screen and the second display screen from 45 degrees to 90 degrees, so that the user can use the second application program on the second display screen conveniently. When the included angle between the first display screen and the second display screen is not returned to 0 degrees, the display of the second application program on the second display screen is not influenced no matter how the included angle between the first display screen and the second display screen is changed. After the user finishes using the second application, the first display screen and the second display screen can be returned to the stacking state before the first operation.
Optionally, the displaying, by the second display screen, the user interface of the second application program includes:
determining a second application program according to an included angle between the first display screen and the second display screen;
and displaying the user interface of the second application program through the second display screen.
In this embodiment, a mapping mechanism between the rotation angle of the display screen and the application program may be introduced, that is, the electronic device may execute a logic that changes the angle to trigger different application programs to be displayed on the second display screen, and trigger different application programs to be displayed on the second display screen through different rotation angles.
Specifically, the determining a second application program according to an included angle between the first display screen and the second display screen includes at least one of the following:
if the included angle between the first display screen and the second display screen is a first angle, determining a last application program before the first application program runs as a second application program;
if the included angle between the first display screen and the second display screen is a second angle, determining a penultimate application program before the first application program runs as a second application program;
if the included angle between the first display screen and the second display screen is a third angle, displaying a desktop on the second display screen, and determining the application program receiving the triggering operation as a second application program;
wherein the first angle, the second angle and the third angle increase in sequence.
For example, when the included angle between the first display screen and the second display screen is about 30 °, determining the application program which is the last but one before the first application program runs as the second application program; when the included angle between the first display screen and the second display screen is about 60 degrees, determining a penultimate application program before the first application program runs as a second application program; when the included angle between the first display screen and the second display screen is about 90 degrees, the desktop is displayed on the second display screen.
In the above embodiment, by introducing a mapping mechanism between the display screen rotation angle and the application program, a user can more flexibly control the display of the corresponding application program through the display screen rotation angle.
Further, after the electronic device receives the first operation, if the relative stationary time of the first display screen and the second display screen reaches a preset time, determining a second application program according to an included angle between the first display screen and the second display screen.
In this embodiment, the first operation confirmation mechanism is combined with the angle mapping mechanism, so that the mapping between the display screen rotation angle and the application program can be better realized.
Further, after the first operation is confirmed, the electronic device may further control the first display screen and the second display screen to rotate relatively, as long as the first display screen and the second display screen do not return to the stacking state before the first operation, any rotation may not execute the logic that the angle change triggers different applications, and the display of the second application on the second display screen may not be affected.
Hereinafter, an embodiment of the present invention further provides a mechanism for switching a displayed display screen when an application exits.
Optionally, the method further includes:
receiving a second operation, wherein the second operation is an operation for exiting the first application program;
and responding to the second operation, and displaying the user interface of the first application program through the second display screen.
In this embodiment, when the application program displayed on the first display screen exits, the electronic device may transfer the application program to the second display screen for display. For example, when the first display screen and the second display screen are in a stacked state, that is, when the second display screen is shielded by the first display screen, if the first application program displayed on the first display screen exits, the electronic device may display the user interface of the first application program through the second display screen. Because the first display screen and the second display screen are in a stacked state, when the first application program is displayed on the second display screen, the first application program is invisible for a user, and for the first display screen, the second display screen is equivalent to a 'background' of the first display screen, namely, the first application program enters the second display screen for display after the first display screen exits from display.
In the embodiment of the present invention, the first operation and the second operation are not in a fixed sequence in time sequence, and if the user inputs the first operation first, the user generally inputs the second operation after the second application is used up and the relative position of the first display screen and the second display screen returns to the state before the first operation. In this way, it is ensured that the event displayed by the first application on the second display screen does not affect the display of the second application on the second display screen. If the user inputs the second operation first, the user can input the first operation after the second operation, and the first application program can be the second application program and displayed on the second display screen after the user inputs the first operation because the first application program is displayed on the second display screen after the user inputs the second operation.
It should be noted that, after the first application exits from the first display screen and the electronic device displays the user interface of the first application through the second display screen, even if the electronic device inputs the first operation through the second display screen, the triggered second application may be the first application or another application, and the embodiment of the present invention is not limited thereto.
Optionally, the plurality of display screens further include a third display screen, and the third display screen is located below the first display screen;
before the receiving the second operation, if a user interface of a third application program is displayed through the second display screen, after the receiving the second operation, the method further includes:
and responding to the second operation, and displaying the user interface of the third application program through the third display screen.
If the electronic device has three display screens, the third display screen may be the lowermost display screen or the middle display screen.
In this embodiment, since the second display screen needs to display the first application program exited from the first display screen, the third application program originally displayed on the second display screen may be switched to the third display screen for display. For the second display screen, the third display screen is equivalent to the "background" of the second display screen, that is, the third application program switches to the third display screen to display after the second display screen exits from display.
Further, before the second operation is received, if the user interface of the fifth application program is displayed through the third display screen, the electronic device may control the fifth application program to exit to the background operation.
In the above embodiment, the order of the application program entering the background may be according to the order from the first display screen to the second display screen to the third display screen to the background.
Therefore, after the first display screen is quitted from displaying, the application program can still keep the display state on other display screens, when the quitted application program needs to be started again, the corresponding display screen is directly unfolded to quickly display the user interface of the application program, the application program can be displayed again and simultaneously with the application program currently displayed on the first display screen, the application program currently displayed on the first display screen does not need to be quitted, and therefore the continuity and continuity of the display of the application program currently displayed on the first display screen can be guaranteed.
Hereinafter, embodiments of the present invention further provide a mechanism for processing an application message through another display screen when another application message is inserted.
Optionally, the method further includes:
receiving a third operation of a user under the condition that a user interface of the first application program is displayed through the first display screen and a message of a fourth application program is received;
and responding to the third operation, controlling the first display screen and the second display screen to rotate relatively, and displaying the user interface of the fourth application program through the second display screen.
In this embodiment, when the user is using the first application program on the first display screen, if a message of the fourth application program is received, the second display screen may be expanded, and the electronic device may display the user interface of the fourth application program through the second display screen. Therefore, when the user uses the first application program, the message of the fourth application program can be processed through the second display screen, and the convenience of message processing of the fourth application program is improved.
Before receiving the third operation, the second display screen may display user interfaces of other fourth applications, may display user interfaces of the fourth applications, or may not display user interfaces of any applications. In any case, a user interface (e.g., a message processing interface) of the fourth application program that receives the message may be displayed on the second display screen, thereby providing the greatest convenience for message processing of the fourth application program.
Optionally, if the user interface of the fourth application is displayed on the second display screen before the message of the fourth application is received, the method further includes:
and outputting prompt information through the first display screen, wherein the prompt information comprises message prompt information corresponding to the fourth application program and identification information of the second display screen.
In this embodiment, in consideration of that the fourth application program may have been displayed on the second display screen, the prompt information may be output on the first display screen, so that the user may directly expand the corresponding display screen to directly display the user interface of the fourth application program according to the prompt information, and a starting process of the application program in an early stage of operation is not required, thereby improving the display efficiency of the fourth application program on the corresponding display screen. Especially, when the number of the display screens is large, for example, 3, the prompt information is output, so that the user can operate the display screens more quickly.
The interface display method of the embodiment of the invention is suitable for electronic equipment with a stacked display screen, and the form of the stacked display screen can be various, for example, fan-shaped screens as shown in fig. 2 to 3, wherein fig. 2 shows a schematic diagram of the fan-shaped screens in a stacked state, and fig. 3 shows a schematic diagram of the fan-shaped screens in an unfolded state. In the embodiment of the present invention, the first display screen a may be the uppermost display screen in fig. 2 to 3, the second display screen b may be the lowermost display screen in fig. 2 to 3, and the third display screen c may be the middle display screen in fig. 2 to 3.
The following fan-shaped screen is taken as an example to illustrate the embodiment of the present invention.
Example one: the user has instant messaging message intervention in the process of watching the video by using the video APP, and the user needs to process the instant messaging message.
After the program runs for a period of time, suppose that the first display screen a currently displays the user interface of the video APP, the second display screen b displays the user interface of the instant messaging APP, and the third display screen c displays the user interface of the news APP.
Scene 1: when the first display screen a plays the video, an instant communication message arrives. The user rotates the second display screen b by approximately 30 degrees, the second display screen b displays an instant messaging APP interface, 3 seconds are waited, and the user moves the second display screen b to a position of 90 degrees or 180 degrees, as shown in fig. 4. At this time, the first display screen a is playing video normally, and the second display screen b is performing instant messaging. After the instant communication is finished, the user returns the second display screen b to the position of 0 degrees, and continues to use the first display screen a to watch the video.
In the scene, the video playing on the first display screen a is kept, the reply of the instant communication message can be conveniently completed, and the use of the two application programs is not influenced.
Example two: when a user watches a video by using a video APP, instant messaging messages and short messages intervene, and the user needs to process the instant messaging messages and the short messages.
After the program runs for a period of time, the user interface of the video APP is supposed to be displayed on the first display screen a currently, the user interface of the instant messaging APP is displayed on the second display screen b, and the user interface of the short message APP is displayed on the third display screen c.
Scene 1: when the first display screen a plays a video, an instant messaging message arrives, and a user needs to process the instant messaging message. The user rotates second display screen b by approximately 30 degrees, and second display screen b shows instant messaging APP interface, waits for 3 seconds, and instant messaging APP is locked to second display screen b, and the user moves second display screen b to 180 degrees, as shown in FIG. 4, the user carries out instant messaging at second display screen b. At this time, there is a short message intervention, and the user needs to process the short message. The user rotates the third display screen c by approximately 30 degrees, waits for 3 seconds, locks the short message application interface, and rotates the third display screen c to a position of 90 degrees, as shown in fig. 5. At this time, the first display screen a plays the video normally, the second display screen b performs instant messaging, and the third display screen c performs short message processing. And after the user finishes processing the application program tasks of the second display screen b and the third display screen c, respectively returning the second display screen b and the third display screen c to the positions of 0 degrees, and continuously watching the video by using the first display screen a.
In this scenario, while the video on the first display screen a is kept playing, through the use of the other two display screens, 3 types of applications can be operated simultaneously without frequently switching the applications on the display screens, which causes the applications to be forcibly paused and interrupted.
By integrating the above embodiments, for an electronic device with a stackable display screen, when a user interface of an application program is currently displayed, by controlling the rotation of the display screen, a user interface of another application program and a user interface of the application program currently being displayed can be triggered to be simultaneously displayed on different display screens. In this way, it can be ensured that the user interface of the application is continuously and consistently displayed on the display screen.
It should be noted that, various optional implementations described in the embodiments of the present invention may be implemented in combination with each other or implemented separately, and the embodiments of the present invention are not limited thereto.
Referring to fig. 6, fig. 6 is a structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 6, an electronic device 200 includes a plurality of display screens, and the plurality of display screens are stacked, and the electronic device 200 includes:
a first receiving module 201, configured to receive a first operation of a user when a user interface of a first application is displayed on a first display screen and a second display screen is at least partially shielded by the first display screen;
the first display module 202 is configured to control the first display screen and the second display screen to rotate relatively in response to the first operation, and display a user interface of a second application program through the second display screen.
Optionally, the first display module 202 includes:
the control submodule is used for responding to the first operation and controlling the first display screen and the second display screen to rotate relatively;
and the first display sub-module is used for displaying a user interface of a second application program through the second display screen under the condition that the relative static time of the first display screen and the second display screen reaches the preset time.
Optionally, the first display module 202 includes:
the determining submodule is used for determining a second application program according to an included angle between the first display screen and the second display screen;
and the second display sub-module is used for displaying the user interface of the second application program through the second display screen.
Optionally, the determining sub-module is specifically configured to at least one of:
if the included angle between the first display screen and the second display screen is a first angle, determining a last application program before the first application program runs as a second application program;
if the included angle between the first display screen and the second display screen is a second angle, determining a penultimate application program before the first application program runs as a second application program;
if the included angle between the first display screen and the second display screen is a third angle, displaying a desktop on the second display screen, and determining the application program receiving the triggering operation as a second application program;
wherein the first angle, the second angle and the third angle increase in sequence.
Optionally, the electronic device 200 further includes:
a second receiving module, configured to receive a second operation, where the second operation is an operation for exiting the first application;
and the second display module is used for responding to the second operation and displaying the user interface of the first application program through the second display screen.
Optionally, the plurality of display screens further include a third display screen, and the third display screen is located below the first display screen;
before the receiving the second operation, if a user interface of a third application is displayed through the second display screen, the electronic device 200 further includes:
and the third display module is used for responding to the second operation and displaying the user interface of the third application program through the third display screen.
Optionally, the electronic device 200 further includes:
the third receiving module is used for receiving a third operation of the user under the condition that the user interface of the first application program is displayed through the first display screen and the message of a fourth application program is received;
and the fourth display module is used for responding to the third operation, controlling the first display screen and the second display screen to rotate relatively, and displaying the user interface of the fourth application program through the second display screen.
Optionally, if the user interface of the fourth application is displayed on the second display screen before the message of the fourth application is received, the electronic device 200 further includes:
and the output module is used for outputting prompt information through the first display screen, wherein the prompt information comprises message prompt information corresponding to the fourth application program and identification information of the second display screen.
The electronic device provided by the embodiment of the present invention can implement each process implemented by the electronic device in the method embodiment, and is not described herein again to avoid repetition.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
The electronic device 500 has a display screen with adjustable form, and the electronic device 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. The display unit 506 is adjustable in shape. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 7 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein, the user input unit 507 is configured to:
receiving a first operation of a user under the condition that a user interface of a first application program is displayed through a first display screen and a second display screen is at least partially shielded by the first display screen;
processor 510 is configured to:
and responding to the first operation, controlling the first display screen and the second display screen to rotate relatively, and displaying a user interface of a second application program through the second display screen.
Optionally, the processor 510 is further configured to:
responding to the first operation, and controlling the first display screen and the second display screen to rotate relatively;
and displaying a user interface of a second application program through the second display screen under the condition that the relative static time of the first display screen and the second display screen reaches the preset time.
Optionally, the processor 510 is further configured to:
determining a second application program according to an included angle between the first display screen and the second display screen;
and displaying the user interface of the second application program through the second display screen.
Optionally, the processor 510 is further configured to at least one of:
if the included angle between the first display screen and the second display screen is a first angle, determining a last application program before the first application program runs as a second application program;
if the included angle between the first display screen and the second display screen is a second angle, determining a penultimate application program before the first application program runs as a second application program;
if the included angle between the first display screen and the second display screen is a third angle, displaying a desktop on the second display screen, and determining the application program receiving the triggering operation as a second application program;
wherein the first angle, the second angle and the third angle increase in sequence.
Optionally, the user input unit 507 is further configured to:
receiving a second operation, wherein the second operation is an operation for exiting the first application program;
processor 510 is further configured to:
and responding to the second operation, and displaying the user interface of the first application program through the second display screen.
Optionally, the plurality of display screens further include a third display screen, and the third display screen is located below the first display screen;
before the receiving the second operation, if a user interface of a third application is displayed through the second display screen, the processor 510 is further configured to:
and responding to the second operation, and displaying the user interface of the third application program through the third display screen.
Optionally, the user input unit 507 is further configured to:
receiving a third operation of a user under the condition that a user interface of the first application program is displayed through the first display screen and a message of a fourth application program is received;
processor 510 is further configured to:
and responding to the third operation, controlling the first display screen and the second display screen to rotate relatively, and displaying the user interface of the fourth application program through the second display screen.
Optionally, if the user interface of the fourth application is displayed on the second display screen before the message of the fourth application is received, the processor 510 is further configured to:
and outputting prompt information through the first display screen, wherein the prompt information comprises message prompt information corresponding to the fourth application program and identification information of the second display screen.
In the embodiment of the invention, for the electronic equipment with the stacked display screen, when the application program is currently running, other application programs and the currently running application program can be triggered to run on different display screens simultaneously by controlling the rotation of the display screen. In this way, it can be ensured that the currently running application maintains the continuity and consistency of running.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 502, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the electronic apparatus 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The electronic device 500 also includes at least one sensor 505, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 5061 and/or a backlight when the electronic device 500 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 7, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 508 is an interface for connecting an external device to the electronic apparatus 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic apparatus 500 or may be used to transmit data between the electronic apparatus 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 510 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the electronic device. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The electronic device 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system.
In addition, the electronic device 500 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 510, a memory 509, and a computer program that is stored in the memory 509 and can be run on the processor 510, and when the computer program is executed by the processor 510, the processes of the interface display method embodiment are implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not described here again.
It should be noted that, in this embodiment, the electronic device 500 may be an electronic device according to any implementation manner in the method embodiment in the embodiment of the present invention, and any implementation manner of the electronic device in the method embodiment in the embodiment of the present invention may be implemented by the electronic device 500 in this embodiment, so as to achieve the same beneficial effects, and details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the interface display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one 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 of the present invention.
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: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific 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 conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (11)

1. An interface display method is applied to an electronic device, the electronic device comprises a plurality of display screens, and the plurality of display screens are stacked, and the method comprises the following steps:
receiving a first operation of a user under the condition that a user interface of a first application program is displayed through a first display screen and a second display screen is at least partially shielded by the first display screen;
responding to the first operation, controlling the first display screen and the second display screen to rotate relatively along the plane of the first display screen or the plane of the second display screen, and displaying a user interface of a second application program through the second display screen; the first display screen is a display screen arranged above the second display screen.
2. The method of claim 1, wherein the controlling the first display screen to rotate relative to the second display screen and displaying the user interface of the second application through the second display screen in response to the first operation comprises:
responding to the first operation, and controlling the first display screen and the second display screen to rotate relatively;
and displaying a user interface of a second application program through the second display screen under the condition that the relative static time of the first display screen and the second display screen reaches the preset time.
3. The method of claim 1, wherein displaying the user interface of the second application via the second display screen comprises:
determining a second application program according to an included angle between the first display screen and the second display screen;
and displaying the user interface of the second application program through the second display screen.
4. The method of claim 3, wherein determining a second application based on the angle between the first display screen and the second display screen comprises at least one of:
if the included angle between the first display screen and the second display screen is a first angle, determining a last application program before the first application program runs as a second application program;
if the included angle between the first display screen and the second display screen is a second angle, determining a penultimate application program before the first application program runs as a second application program;
if the included angle between the first display screen and the second display screen is a third angle, displaying a desktop on the second display screen, and determining the application program receiving the triggering operation as a second application program;
wherein the first angle is less than the second angle, which is less than the third angle.
5. The method of claim 1, further comprising:
receiving a second operation, wherein the second operation is an operation for exiting the first application program;
and responding to the second operation, and displaying the user interface of the first application program through the second display screen.
6. The method of claim 5, wherein the plurality of display screens further comprises a third display screen, the third display screen being located below the first display screen;
before the receiving the second operation, if a user interface of a third application program is displayed through the second display screen, after the receiving the second operation, the method further includes:
and responding to the second operation, and displaying the user interface of the third application program through the third display screen.
7. The method of claim 1, further comprising:
receiving a third operation of a user under the condition that a user interface of the first application program is displayed through the first display screen and a message of a fourth application program is received;
and responding to the third operation, controlling the first display screen and the second display screen to rotate relatively, and displaying the user interface of the fourth application program through the second display screen.
8. The method of claim 7, wherein if the user interface of the fourth application is displayed on the second display screen before the message of the fourth application is received, the method further comprises:
and outputting prompt information through the first display screen, wherein the prompt information comprises message prompt information corresponding to the fourth application program and identification information of the second display screen.
9. An electronic device comprising a plurality of display screens arranged in a stack, the electronic device comprising:
the first receiving module is used for receiving a first operation of a user under the condition that a user interface of a first application program is displayed through a first display screen and a second display screen is at least partially shielded by the first display screen;
the first display module is used for responding to the first operation, controlling the first display screen and the second display screen to rotate relatively along the plane of the first display screen or the plane of the second display screen, and displaying a user interface of a second application program through the second display screen;
the first display screen is a display screen arranged above the second display screen.
10. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the interface display method according to any one of claims 1 to 8.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the interface display method according to any one of claims 1 to 8.
CN202010080654.5A 2020-02-05 2020-02-05 Interface display method and electronic equipment Active CN111324265B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010080654.5A CN111324265B (en) 2020-02-05 2020-02-05 Interface display method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010080654.5A CN111324265B (en) 2020-02-05 2020-02-05 Interface display method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111324265A CN111324265A (en) 2020-06-23
CN111324265B true CN111324265B (en) 2021-12-14

Family

ID=71170905

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010080654.5A Active CN111324265B (en) 2020-02-05 2020-02-05 Interface display method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111324265B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107179803A (en) * 2017-05-15 2017-09-19 维沃移动通信有限公司 A kind of data inputting method and mobile terminal
CN109358793A (en) * 2018-09-27 2019-02-19 维沃移动通信有限公司 A kind of screenshotss method and mobile terminal
CN109756594A (en) * 2018-12-26 2019-05-14 维沃移动通信有限公司 Control method, terminal and the storage medium of screen
CN109947508A (en) * 2019-03-07 2019-06-28 Oppo广东移动通信有限公司 Multi-screen display method, device, electronic equipment and computer-readable storage medium
CN110381282A (en) * 2019-07-30 2019-10-25 华为技术有限公司 A kind of display methods and relevant apparatus of the video calling applied to electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105511562A (en) * 2015-12-31 2016-04-20 京东方科技集团股份有限公司 Foldable display device, electronic equipment with same and control method of foldable display device
KR102498364B1 (en) * 2016-03-24 2023-02-10 삼성전자주식회사 Electronic device and method for provideing information in the electronic device
CN109542380A (en) * 2018-11-26 2019-03-29 Oppo广东移动通信有限公司 Control method, device, storage medium and the terminal of display pattern

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107179803A (en) * 2017-05-15 2017-09-19 维沃移动通信有限公司 A kind of data inputting method and mobile terminal
CN109358793A (en) * 2018-09-27 2019-02-19 维沃移动通信有限公司 A kind of screenshotss method and mobile terminal
CN109756594A (en) * 2018-12-26 2019-05-14 维沃移动通信有限公司 Control method, terminal and the storage medium of screen
CN109947508A (en) * 2019-03-07 2019-06-28 Oppo广东移动通信有限公司 Multi-screen display method, device, electronic equipment and computer-readable storage medium
CN110381282A (en) * 2019-07-30 2019-10-25 华为技术有限公司 A kind of display methods and relevant apparatus of the video calling applied to electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
三星三屏手机专利曝光,可如扇子般展开;搜狐.驱动中国;《https://www.sohu.com/a/330066275_118778》;20190729;全文 *

Also Published As

Publication number Publication date
CN111324265A (en) 2020-06-23

Similar Documents

Publication Publication Date Title
CN109271121B (en) Application display method and mobile terminal
CN110995923B (en) Screen projection control method and electronic equipment
CN111049979B (en) Application sharing method, electronic equipment and computer readable storage medium
CN109992231B (en) Screen projection method and terminal
CN107977144B (en) Screen capture processing method and mobile terminal
CN107943374B (en) Method for starting application program in foldable terminal and foldable terminal
CN110096326B (en) Screen capturing method, terminal equipment and computer readable storage medium
CN109078319B (en) Game interface display method and terminal
CN109714485B (en) Display method and mobile terminal
CN108900695B (en) Display processing method, terminal equipment and computer readable storage medium
EP4071607A1 (en) Method for sharing application, electronic apparatus, and computer readable storage medium
CN109710349B (en) Screen capturing method and mobile terminal
CN111026484A (en) Application sharing method, first electronic device and computer-readable storage medium
CN109407948B (en) Interface display method and mobile terminal
CN109508136B (en) Display method of application program and mobile terminal
CN110865745A (en) Screen capturing method and terminal equipment
CN110990172A (en) Application sharing method, first electronic device and computer-readable storage medium
CN109491634B (en) Screen display control method and terminal equipment
CN111124706A (en) Application program sharing method and electronic equipment
CN110597437A (en) Screen capturing method and terminal equipment
CN109933267B (en) Method for controlling terminal equipment and terminal equipment
CN109445589B (en) Multimedia file playing control method and terminal equipment
CN109002245B (en) Application interface operation method and mobile terminal
CN110769303A (en) Playing control method and device and mobile terminal
CN108536513B (en) Picture display direction adjusting method and mobile terminal

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