CN109491734B - Display control method and related device - Google Patents

Display control method and related device Download PDF

Info

Publication number
CN109491734B
CN109491734B CN201811143219.1A CN201811143219A CN109491734B CN 109491734 B CN109491734 B CN 109491734B CN 201811143219 A CN201811143219 A CN 201811143219A CN 109491734 B CN109491734 B CN 109491734B
Authority
CN
China
Prior art keywords
display
display screen
screen
shortcut function
function bar
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
CN201811143219.1A
Other languages
Chinese (zh)
Other versions
CN109491734A (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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201811143219.1A priority Critical patent/CN109491734B/en
Publication of CN109491734A publication Critical patent/CN109491734A/en
Application granted granted Critical
Publication of CN109491734B publication Critical patent/CN109491734B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a display control method and a related device, which are applied to electronic equipment, wherein the method comprises the following steps: when an instruction of starting a shortcut function bar is received, determining whether an application interface of a preset application program is displayed on the first display screen; when the fact that the first display screen displays an application interface of a preset application program is detected, determining an application scene of the preset application program; and controlling the second display screen to display the shortcut function bar in an off-screen display AOD mode according to the application scene. The embodiment of the application is beneficial to improving the display richness and reliability of the electronic equipment with the first display screen and the second display screen.

Description

Display control method and related device
Technical Field
The present application relates to the field of mobile terminal technologies, and in particular, to a display control method and a related device.
Background
With the widespread application of mobile terminals such as smart phones, smart phones can support more and more applications and have more and more powerful functions, and smart phones develop towards diversification and personalization directions and become indispensable electronic products in user life. In order to improve the experience of a user in using the smart phone, the screen of the smart phone is also larger and larger, the screen occupation ratio is higher and higher, the dual-side screen is gradually used, the dual-side screen mobile phone is provided with a main display screen which can be a touch display screen, and an auxiliary display screen which can be a touch display screen or not.
Disclosure of Invention
The embodiment of the application provides a display control method and a related device, which are beneficial to improving the stability and reliability of display of electronic equipment.
In a first aspect, an embodiment of the present application provides an electronic device, including a first display screen, a second display screen, a memory, and a processor, wherein,
the first display screen is used for displaying an application interface of a preset application program;
the second display screen is used for displaying the shortcut function bar in a screen-off display AOD mode;
the memory is used for storing a preset application program and a preset application scene of the preset application program;
the processor is used for determining whether an application interface of a preset application program is displayed on the first display screen when an instruction for starting the shortcut function bar is received; the application scene of the preset application program is determined when the first display screen is detected to display the application interface of the preset application program; and the shortcut function bar is used for controlling the second display screen to display the shortcut function bar in an off-screen display AOD mode according to the application scene.
In a second aspect, an embodiment of the present application provides a display control method, which is applied to an electronic device, where the electronic device includes a first display screen and a second display screen; the method comprises the following steps:
when an instruction of starting a shortcut function bar is received, determining whether an application interface of a preset application program is displayed on the first display screen;
when the fact that the first display screen displays an application interface of a preset application program is detected, determining an application scene of the preset application program;
and controlling the second display screen to display the shortcut function bar in an off-screen display AOD mode according to the application scene.
In a third aspect, an embodiment of the present application provides an incoming call control device, including a detection unit, a determination unit, and a processing unit, wherein,
the detection unit is used for determining whether an application interface of a preset application program is displayed on the first display screen when an instruction for starting the shortcut function bar is received;
the determining unit is used for determining an application scene of a preset application program when detecting that the first display screen displays an application interface of the preset application program;
and the processing unit is used for controlling the second display screen to display the shortcut function bar in the screen-off display AOD mode according to the application scene.
In a fourth aspect, an embodiment of the present application provides an electronic device, including a controller, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the controller, and the program includes instructions for executing the steps in any of the methods of the first aspect of the embodiment of the present application.
In a fifth aspect, this application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program enables a computer to perform some or all of the steps described in any one of the methods of the first aspect of this application.
In a sixth aspect, the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps as described in any one of the methods of the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
It can be seen that, in the embodiment of the application, when receiving an instruction for enabling a shortcut function bar, an electronic device determines whether an application interface of a preset application program is displayed on a first display screen, and then determines an application scene of the preset application program when it is detected that the application interface of the preset application program is displayed on the first display screen, and finally controls a second display screen to display the shortcut function bar in an off-screen display AOD mode according to the application scene. When the electronic equipment receives the starting instruction of the shortcut function bar and detects that the first display screen displays the application interface of the preset application program, whether the second display screen needs to be controlled to display the shortcut function bar in the screen-off display AOD mode or not can be judged according to the current application scene of the preset application program, so that the situation that the use of the preset application program is influenced due to the fact that the shortcut function bar is displayed on the first display screen is avoided, and the reliability and the richness of the display of the electronic equipment are improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1A is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 1B is a schematic structural diagram of another electronic device provided in the embodiment of the present application;
fig. 2 is a schematic flowchart of a display control method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another display control method provided in an embodiment of the present application;
fig. 4 is a schematic flowchart of another display control method provided in the embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 6 is a block diagram illustrating functional units of an incoming call control device according to an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. 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 application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
Electronic devices may include various handheld devices, vehicle-mounted devices, wearable devices (e.g., smartwatches, smartbands, pedometers, etc.), computing devices or other processing devices connected to wireless modems, as well as various forms of User Equipment (UE), Mobile Stations (MS), terminal Equipment (terminal device), and so forth, having wireless communication capabilities. For convenience of description, the above-mentioned devices are collectively referred to as electronic devices.
The following describes embodiments of the present application in detail.
Referring to fig. 1A and 1B, fig. 1A and 1B are schematic structural diagrams of an electronic device 100 according to an embodiment of the present disclosure, where fig. 1A is a first side of the electronic device, and fig. 1B is a second side of the electronic device. The electronic device 100 includes: the mobile phone comprises a shell 110, a circuit board 120 arranged in the shell 110, and a first display screen 130, a second display screen 140, a first camera 150 and a second camera 160 which are arranged on the shell 110, wherein a processor 121 and a memory 122 are arranged on the circuit board 120, the memory 122 is connected with the processor 121, and the processor 121 is connected with the first display screen 130 and the second display screen 140; wherein the content of the first and second substances,
the first display screen 130 is configured to display an application interface of a preset application program;
the second display screen 140 is configured to display the shortcut function bar in an off-screen display AOD mode;
the memory 122 is configured to store a preset application program and a preset application scenario of the preset application program;
the processor 121 is configured to determine whether an application interface of a preset application program is displayed on the first display screen when an instruction for enabling the shortcut function bar is received; the application scene of the preset application program is determined when the first display screen is detected to display the application interface of the preset application program; and the shortcut function bar is used for controlling the second display screen to display the shortcut function bar in an off-screen display AOD mode according to the application scene.
The first display screen 130 and the second display screen 140 may be 2 display screens logically divided by a single display screen, such as a flexible screen, a curved screen, a folding screen, or may be 2 display screens physically separated from each other, such as 2 display screens respectively disposed on the front and back sides of a mobile phone. One of the two Display screens may be an LCD (Liquid Crystal Display) screen, the other may be an OLED (Organic Light Emitting Diode) screen, both of the two Display screens may be LCD screens, or both of the two Display screens may be OLED screens.
As shown in fig. 1A, the first display screen 130 and the first camera 150 are located on a first side of the electronic device, as shown in fig. 1B, the second display screen 140 and the second camera 160 are located on a second side of the electronic device, and the first side and the second side of the electronic device are opposite to each other, which can be understood that the first side and the second side are front and back sides of the electronic device, that is, the electronic device is a dual-side-screen electronic device. The first display 130 may be a main display of the electronic device 100, the second display 140 may be an auxiliary display of the electronic device 100, the second display 140 may be the same as the first display 130 or may have other shapes, and the area size of the second display 140 may be smaller than that of the first display 130, and fig. 1B is a reference example of the second display 140 provided in this application and is not limited herein.
It can be seen that, in the embodiment of the application, when receiving an instruction for enabling a shortcut function bar, an electronic device determines whether an application interface of a preset application program is displayed on a first display screen, and then determines an application scene of the preset application program when it is detected that the application interface of the preset application program is displayed on the first display screen, and finally controls a second display screen to display the shortcut function bar in an off-screen display AOD mode according to the application scene. When the electronic equipment receives the starting instruction of the shortcut function bar and detects that the first display screen displays the application interface of the preset application program, whether the second display screen needs to be controlled to display the shortcut function bar in the screen-off display AOD mode or not can be judged according to the current application scene of the preset application program, so that the situation that the use of the preset application program is influenced due to the fact that the shortcut function bar is displayed on the first display screen is avoided, and the reliability and the richness of the display of the electronic equipment are improved.
In one possible example, the preset application is a video application; in the aspect of controlling the second display screen to display the shortcut function bar in the screen-off display AOD mode according to the application scenario, the processor 121 is specifically configured to: when the application scene is detected to be a video playing application scene, determining whether displaying the shortcut function bar can cause the video to stop playing; and the shortcut function bar is used for controlling the second display screen to display the shortcut function bar in an off-screen display AOD mode when the fact that the video stops playing due to the fact that the shortcut function bar is displayed is detected.
In one possible example, the preset application is a game application; in the aspect of controlling the second display screen to display the shortcut function bar in the screen-off display AOD mode according to the application scenario, the processor 121 is specifically configured to: prejudging a first time interval of next touch operation of the first display screen by a user in the application scene; the shortcut function bar is enabled to be closed in the application scene; and the shortcut function bar is used for controlling the second display screen to display the shortcut function bar in an off-screen display AOD mode when the second time interval is detected to be larger than the first time interval.
In a possible example, in the aspect of controlling the second display screen to display the shortcut function bar in the off-screen display AOD mode according to the application scenario, the processor 121 is specifically configured to: acquiring touch frequency of touch operation aiming at the first display screen in a target time period; and the shortcut function bar is used for controlling the second display screen to display the shortcut function bar in an off-screen display AOD mode in the target time period when the touch frequency of the touch operation is detected to be greater than a preset threshold value.
In a possible example, in the aspect of controlling the second display screen to display the shortcut function bar in the off-screen display AOD mode according to the application scenario, the processor 121 is specifically configured to: and when the application scene is detected to be the preset application scene of the preset application program, controlling the second display screen to display the shortcut function bar in the screen-off display AOD mode.
In a possible example, after controlling the second display screen to display the shortcut function bar in the off-screen display AOD mode, the processor 121 is specifically configured to: and responding to the function corresponding to the target function button when the selection operation aiming at the target function button in the shortcut function bar is detected and the touch operation aiming at the first display screen is not detected.
In one possible example, the shortcut function bar is a virtual hover box and includes at least one of the following function buttons: wireless fidelity WIFI function button, cellular mobile network function button, bluetooth function button, flight mode function button, silence mode function button, luminance function button, volume function button.
Referring to fig. 2, fig. 2 is a schematic flowchart of a display control method provided in an embodiment of the present application, and the display control method is applied to an electronic device, where the electronic device includes a first display screen and a second display screen. As shown in the figure, the display control method includes:
s201, when the electronic equipment receives an instruction of starting the shortcut function bar, whether an application interface of a preset application program is displayed on the first display screen is determined.
The shortcut function bar is displayed with shortcut keys of multiple functions of the electronic equipment, the shortcut function bar can be dragged out by sliding downwards from the top of the display screen or sliding upwards from the bottom of the display screen, the shortcut function bar is usually displayed on the top of the display interface, and the display of the application interface can be shielded or influenced in some application scenes of the electronic equipment.
When the shortcut function bar is started in some special application interfaces, the display of the application interfaces is affected, for example, when a video or a game scene is played, the display of the video application interface is stopped or the display of the game application interface is blocked by displaying the shortcut function bar at the top, and the shortcut function bar may need to be opened by sliding for many times, which causes inconvenience in user operation. Therefore, when an instruction for starting the shortcut function bar is received, whether an application interface of a preset application program is displayed on the first display screen or not can be determined.
S202, when the electronic equipment detects that the first display screen displays an application interface of a preset application program, determining an application scene of the preset application program.
The preset application program can be preset by a user, and when the application interface of the preset application program is detected to be displayed on the first display screen, the application scene of the preset application program is determined.
S203, the electronic equipment controls the second display screen to display the shortcut function bar in the screen-off display AOD mode according to the application scene.
After the application scene of the preset application program is determined, whether the shortcut function bar is displayed on the first display screen or the shortcut function bar is displayed on the second display screen is determined according to the application scene, after the shortcut function bar is determined to be displayed on the second display screen, the second display screen is controlled to display the shortcut function bar in the screen-off display AOD mode, and the AOD mode is used for displaying the shortcut function bar, so that the electric quantity is saved.
It can be seen that, in the embodiment of the application, when receiving an instruction for enabling a shortcut function bar, an electronic device determines whether an application interface of a preset application program is displayed on a first display screen, and then determines an application scene of the preset application program when it is detected that the application interface of the preset application program is displayed on the first display screen, and finally controls a second display screen to display the shortcut function bar in an off-screen display AOD mode according to the application scene. When the electronic equipment receives the starting instruction of the shortcut function bar and detects that the first display screen displays the application interface of the preset application program, whether the second display screen needs to be controlled to display the shortcut function bar in the screen-off display AOD mode or not can be judged according to the current application scene of the preset application program, so that the situation that the use of the preset application program is influenced due to the fact that the shortcut function bar is displayed on the first display screen is avoided, and the reliability and the richness of the display of the electronic equipment are improved.
In one possible example, the preset application is a video application; the controlling the second display screen to display the shortcut function bar in the screen-off display AOD mode according to the application scene includes: when the application scene is detected to be a video playing application scene, determining whether displaying the shortcut function bar can cause the video to stop playing; and when the situation that the video stops playing due to the fact that the shortcut function bar is displayed is detected, controlling the second display screen to display the shortcut function bar in an off-screen display AOD mode.
When the electronic equipment detects that the application scene of the video application program is a video playing scene when the application program is preset as the video application program, whether the current video stops playing is determined when the shortcut function bar is displayed, and when the video stops playing is detected when the shortcut function bar is displayed on the application interface, the second display screen is controlled to display the shortcut function bar in the screen-off display AOD mode.
It can be seen that, in this example, when the video application is playing a video, the shortcut function bar is enabled at this time, and the shortcut function bar can be displayed in the AOD mode on the second display screen, so that the video does not stop playing, and the picture does not be blocked, which is beneficial to improving the experience of the user in watching the video.
In one possible example, the preset application is a game application; the controlling the second display screen to display the shortcut function bar in the screen-off display AOD mode according to the application scene includes: prejudging a first time interval of next touch operation of the first display screen by a user in the application scene; determining a second time interval required from the starting of the shortcut function bar to the closing of the shortcut function bar in the application scene; and when the second time interval is larger than the first time interval, controlling the second display screen to display the shortcut function bar in an off-screen display AOD mode.
When the preset application program is a game application program, a first time interval of the user in the application scene during the next touch operation of the first display screen is judged in advance, and the time of the user in the next touch operation of the first display screen can be determined by analyzing and learning the historical use record of the user in the application scene so as to determine the first time interval. And meanwhile, determining a second time interval required from starting the shortcut function bar to closing the shortcut function bar in the application scene, and controlling a second display screen to display the shortcut function bar in the AOD mode when detecting that the second time interval is greater than the first time interval.
For example, in a current application scene of a game application program, according to a frequency of a user touching a first display screen, a first time interval of a user touching the first display screen next time is determined to be 3 seconds, and in the application scene, a second time interval of a one-time shortcut function bar is enabled to be 4 seconds, at this time, in order to not affect the user to play a game, the second display screen may be controlled to display the shortcut function bar in an AOD mode, and if it is determined that the first time interval of the user touching the first display screen next time is 5 seconds, the shortcut function bar may be displayed by the first display screen.
As can be seen, in this example, in an application scenario of the game application, by comparing a first time interval when the user touches the first display screen next time with a second time interval when the shortcut function bar is enabled once, it is determined whether the shortcut function bar needs to be displayed in the AOD mode on the second display screen, so as to avoid affecting the game playing of the user.
In one possible example, the controlling, according to the application scenario, the second display screen to display the shortcut function bar in an off-screen display AOD mode includes: acquiring touch frequency of touch operation aiming at the first display screen in a target time period; and when the touch frequency of the touch operation is detected to be greater than a preset threshold value, controlling the second display screen to display the shortcut function bar in an off-screen display AOD mode in the target time period.
The method comprises the steps that under the condition that a user frequently touches a first display screen, a shortcut function bar is displayed to influence touch operation of the user, so that touch frequency of the user for the touch operation of the first display screen in a target time interval is obtained, and when the touch frequency of the touch operation is detected to be larger than a preset threshold value, a second display screen can be directly controlled to display the shortcut function bar in an AOD mode in the target time interval.
As can be seen, in this example, when it is detected that the touch operation of the user on the first display screen is frequent in the target time period, when the user wants to start the shortcut function bar, the second display screen may be directly controlled to display the shortcut function bar in the AOD mode, so that the touch operation of the user is not affected, and meanwhile, the user can conveniently use the shortcut function bar.
In one possible example, the controlling, according to the application scenario, the second display screen to display the shortcut function bar in an off-screen display AOD mode includes: and when the application scene is detected to be the preset application scene of the preset application program, controlling the second display screen to display the shortcut function bar in the screen-off display AOD mode.
The shortcut function bar display method includes the steps that a user can preset a plurality of application scenes of a preset application program, and when the preset application program runs currently and the current application scene is the preset application scene of the preset application program, the shortcut function bar is displayed through a second display screen when the fact that the user starts the shortcut function bar is detected.
Therefore, in this example, it is directly determined whether the current application scene of the preset application program is the corresponding preset application scene, so that when it is detected that the current application scene is the preset application scene, the second display screen can be controlled to display the shortcut function bar in the screen-off display AOD mode.
In one possible example, after the controlling the second display screen to display the shortcut function bar in the off-screen display AOD mode, the method further includes: and responding to the function corresponding to the target function button when the selection operation aiming at the target function button in the shortcut function bar is detected and the touch operation aiming at the first display screen is not detected.
After the second display screen displays the shortcut function bar in the AOD mode, after the selection operation of the target function button in the shortcut function bar is detected and when the touch operation of the first display screen is not detected currently, the function corresponding to the target function is responded.
It can be seen that, in this example, the user can implement a plurality of functions through the shortcut function bar, and after the shortcut function bar is displayed in the AOD mode on the second display screen, when a selection operation for a target function button in the shortcut function bar is detected, the selection operation for the target function button is responded to without touching the first display screen by the user, which is beneficial to improving user experience.
In one possible example, the shortcut function bar is a virtual hover box and includes at least one of the following function buttons: wireless fidelity WIFI function button, cellular mobile network function button, bluetooth function button, flight mode function button, silence mode function button, luminance function button, volume function button.
The shortcut function bar can be a virtual suspension bullet frame and comprises a plurality of function buttons, such as a wireless fidelity (WIFI) function button, a cellular mobile network function button, a Bluetooth function button, a flight mode function button, a mute mode function button, a brightness function button, a volume function button and the like, and the shortcut function bar is not limited at all.
It can be seen that, in this example, the shortcut function bar may be displayed on the first display screen or may be displayed on the second display screen, and when the user is using the first display screen, the shortcut function bar is displayed in the AOD mode through the second display screen, thereby facilitating the user to conveniently implement a plurality of functions for the electronic device.
Referring to fig. 3, fig. 3 is a schematic flowchart of a display control method provided in an embodiment of the present application, and the display control method is applied to an electronic device, where the electronic device includes a first display screen and a second display screen. As shown in the figure, the display control method includes:
s301, when the electronic equipment receives an instruction of starting the shortcut function bar, whether an application interface of a preset application program is displayed on the first display screen is determined.
S302, when the electronic equipment detects that the first display screen displays an application interface of a preset application program, determining an application scene of the preset application program, wherein the preset application program is a video application program.
S303, when the electronic equipment detects that the application scene is a video playing application scene, determining whether displaying the shortcut function bar can cause the video to stop playing.
S304, when the electronic equipment detects that the video stops playing due to the fact that the shortcut function bar is displayed, the electronic equipment controls the second display screen to display the shortcut function bar in an off-screen display AOD mode.
It can be seen that, in the embodiment of the application, when receiving an instruction for enabling a shortcut function bar, an electronic device determines whether an application interface of a preset application program is displayed on a first display screen, and then determines an application scene of the preset application program when it is detected that the application interface of the preset application program is displayed on the first display screen, and finally controls a second display screen to display the shortcut function bar in an off-screen display AOD mode according to the application scene. When the electronic equipment receives the starting instruction of the shortcut function bar and detects that the first display screen displays the application interface of the preset application program, whether the second display screen needs to be controlled to display the shortcut function bar in the screen-off display AOD mode or not can be judged according to the current application scene of the preset application program, so that the situation that the use of the preset application program is influenced due to the fact that the shortcut function bar is displayed on the first display screen is avoided, and the reliability and the richness of the display of the electronic equipment are improved.
In addition, when the video application program plays the video, the shortcut function bar is started at the moment, and the shortcut function bar can be displayed in the AOD mode on the second display screen, so that the video cannot be stopped from being played, the picture cannot be shielded, and the user experience of watching the video is improved.
Referring to fig. 4, fig. 4 is a schematic flowchart of a display control method according to an embodiment of the present application, and the display control method is applied to an electronic device, where the electronic device includes a display screen and two display screens. As shown in the figure, the display control method includes:
s401, when the electronic equipment receives an instruction of starting the shortcut function bar, whether an application interface of a preset application program is displayed on the first display screen is determined.
S402, when the electronic equipment detects that the first display screen displays an application interface of a preset application program, determining an application scene of the preset application program, wherein the preset application program is a video application program.
S403, when the electronic equipment detects that the application scene is a video playing application scene, determining whether displaying the shortcut function bar can cause the video to stop playing.
S404, when the electronic equipment detects that the video stops playing due to the fact that the shortcut function bar is displayed, the electronic equipment controls the second display screen to display the shortcut function bar in an off-screen display AOD mode.
S405, when the electronic equipment detects selection operation of a target function button in the shortcut function bar and touch operation of the first display screen is not detected, responding to a function corresponding to the target function button.
It can be seen that, in the embodiment of the application, when receiving an instruction for enabling a shortcut function bar, an electronic device determines whether an application interface of a preset application program is displayed on a first display screen, and then determines an application scene of the preset application program when it is detected that the application interface of the preset application program is displayed on the first display screen, and finally controls a second display screen to display the shortcut function bar in an off-screen display AOD mode according to the application scene. When the electronic equipment receives the starting instruction of the shortcut function bar and detects that the first display screen displays the application interface of the preset application program, whether the second display screen needs to be controlled to display the shortcut function bar in the screen-off display AOD mode or not can be judged according to the current application scene of the preset application program, so that the situation that the use of the preset application program is influenced due to the fact that the shortcut function bar is displayed on the first display screen is avoided, and the reliability and the richness of the display of the electronic equipment are improved.
In addition, when the video application program plays the video, the shortcut function bar is started at the moment, and the shortcut function bar can be displayed in the AOD mode on the second display screen, so that the video cannot be stopped from being played, the picture cannot be shielded, and the user experience of watching the video is improved.
In addition, the user can realize a plurality of functions through the shortcut function bar, and after the shortcut function bar is displayed on the second display screen in the AOD mode, when a selection operation for a target function button in the shortcut function bar is detected, the selection operation for the target function button is responded without touching the first display screen by the user, which is beneficial to improving user experience.
Consistent with the embodiments shown in fig. 2, fig. 3, and fig. 4, please refer to fig. 5, fig. 5 is a schematic structural diagram of an electronic device 500 provided in the embodiments of the present application, where the electronic device 500 runs one or more application programs and an operating system, as shown in the figure, the electronic device 500 includes a processor 510, a memory 520, a communication interface 530, and one or more programs 521, where the one or more programs 521 are stored in the memory 520 and configured to be executed by the processor 510, and the one or more programs 521 include instructions for performing the following steps;
when an instruction of starting a shortcut function bar is received, determining whether an application interface of a preset application program is displayed on the first display screen;
when the fact that the first display screen displays an application interface of a preset application program is detected, determining an application scene of the preset application program;
and controlling the second display screen to display the shortcut function bar in an off-screen display AOD mode according to the application scene.
It can be seen that, in the embodiment of the application, when receiving an instruction for enabling a shortcut function bar, an electronic device determines whether an application interface of a preset application program is displayed on a first display screen, and then determines an application scene of the preset application program when it is detected that the application interface of the preset application program is displayed on the first display screen, and finally controls a second display screen to display the shortcut function bar in an off-screen display AOD mode according to the application scene. When the electronic equipment receives the starting instruction of the shortcut function bar and detects that the first display screen displays the application interface of the preset application program, whether the second display screen needs to be controlled to display the shortcut function bar in the screen-off display AOD mode or not can be judged according to the current application scene of the preset application program, so that the situation that the use of the preset application program is influenced due to the fact that the shortcut function bar is displayed on the first display screen is avoided, and the reliability and the richness of the display of the electronic equipment are improved.
In one possible example, the preset application is a video application; in the aspect of controlling the second display screen to display the shortcut function bar in the screen-off display AOD mode according to the application scenario, the instruction in the program is specifically configured to perform the following operations: when the application scene is detected to be a video playing application scene, determining whether displaying the shortcut function bar can cause the video to stop playing; and when the situation that the video stops playing due to the fact that the shortcut function bar is displayed is detected, controlling the second display screen to display the shortcut function bar in an off-screen display AOD mode.
In one possible example, the preset application is a game application; in the aspect of controlling the second display screen to display the shortcut function bar in the screen-off display AOD mode according to the application scenario, the instruction in the program is specifically configured to perform the following operations: prejudging a first time interval of next touch operation of the first display screen by a user in the application scene; determining a second time interval required from the starting of the shortcut function bar to the closing of the shortcut function bar in the application scene; and when the second time interval is larger than the first time interval, controlling the second display screen to display the shortcut function bar in an off-screen display AOD mode.
In a possible example, in the aspect of controlling the second display screen to display the shortcut function bar in the off-screen display AOD mode according to the application scenario, the instructions in the program are specifically configured to perform the following operations: acquiring touch frequency of touch operation aiming at the first display screen in a target time period; and when the touch frequency of the touch operation is detected to be greater than a preset threshold value, controlling the second display screen to display the shortcut function bar in an off-screen display AOD mode in the target time period.
In a possible example, in the aspect of controlling the second display screen to display the shortcut function bar in the off-screen display AOD mode according to the application scenario, the instructions in the program are specifically configured to perform the following operations: and when the application scene is detected to be the preset application scene of the preset application program, controlling the second display screen to display the shortcut function bar in the screen-off display AOD mode.
In a possible example, after the second display screen is controlled to display the shortcut function bar in the off-screen display AOD mode, the instructions in the program are specifically configured to perform the following operations: and responding to the function corresponding to the target function button when the selection operation aiming at the target function button in the shortcut function bar is detected and the touch operation aiming at the first display screen is not detected.
In one possible example, the shortcut function bar is a virtual hover box and includes at least one of the following function buttons: wireless fidelity WIFI function button, cellular mobile network function button, bluetooth function button, flight mode function button, silence mode function button, luminance function button, volume function button.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art would readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware 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 application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one control unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 6 is a block diagram of functional units of an apparatus 600 according to an embodiment of the present application. The incoming call control apparatus 600 is applied to an electronic device, and the incoming call control apparatus 600 includes a detection unit 601, a determination unit 602, and a processing unit 603, wherein:
the detection unit 601 is configured to determine whether an application interface of a preset application program is displayed on the first display screen when an instruction for starting the shortcut function bar is received;
the determining unit 602 is configured to determine an application scene of a preset application program when it is detected that an application interface of the preset application program is displayed on the first display screen;
the processing unit 603 is configured to control the second display screen to display the shortcut function bar in an off-screen display AOD mode according to the application scenario.
It can be seen that, in the embodiment of the application, when receiving an instruction for enabling a shortcut function bar, an electronic device determines whether an application interface of a preset application program is displayed on a first display screen, and then determines an application scene of the preset application program when it is detected that the application interface of the preset application program is displayed on the first display screen, and finally controls a second display screen to display the shortcut function bar in an off-screen display AOD mode according to the application scene. When the electronic equipment receives the starting instruction of the shortcut function bar and detects that the first display screen displays the application interface of the preset application program, whether the second display screen needs to be controlled to display the shortcut function bar in the screen-off display AOD mode or not can be judged according to the current application scene of the preset application program, so that the situation that the use of the preset application program is influenced due to the fact that the shortcut function bar is displayed on the first display screen is avoided, and the reliability and the richness of the display of the electronic equipment are improved.
In one possible example, the preset application is a video application; in the aspect of controlling the second display screen to display the shortcut function bar in the screen-off display AOD mode according to the application scenario, the processing unit 603 is specifically configured to: when the application scene is detected to be a video playing application scene, determining whether displaying the shortcut function bar can cause the video to stop playing; and the shortcut function bar is used for controlling the second display screen to display the shortcut function bar in an off-screen display AOD mode when the fact that the video stops playing due to the fact that the shortcut function bar is displayed is detected.
In one possible example, the preset application is a game application; in the aspect of controlling the second display screen to display the shortcut function bar in the screen-off display AOD mode according to the application scenario, the processing unit 603 is specifically configured to: prejudging a first time interval of next touch operation of the first display screen by a user in the application scene; the shortcut function bar is enabled to be closed in the application scene; and the shortcut function bar is used for controlling the second display screen to display the shortcut function bar in an off-screen display AOD mode when the second time interval is detected to be larger than the first time interval.
In a possible example, in the aspect of controlling, according to the application scenario, the second display screen to display the shortcut function bar in the off-screen display AOD mode, the processing unit 603 is specifically configured to: acquiring touch frequency of touch operation aiming at the first display screen in a target time period; and the shortcut function bar is used for controlling the second display screen to display the shortcut function bar in an off-screen display AOD mode in the target time period when the touch frequency of the touch operation is detected to be greater than a preset threshold value.
In a possible example, in the aspect of controlling, according to the application scenario, the second display screen to display the shortcut function bar in the off-screen display AOD mode, the processing unit 603 is specifically configured to: and when the application scene is detected to be the preset application scene of the preset application program, controlling the second display screen to display the shortcut function bar in the screen-off display AOD mode.
In a possible example, after the second display screen is controlled to display the shortcut function bar in the off-screen display AOD mode, the processing unit 603 is specifically configured to: and responding to the function corresponding to the target function button when the selection operation aiming at the target function button in the shortcut function bar is detected and the touch operation aiming at the first display screen is not detected.
In one possible example, the shortcut function bar is a virtual hover box and includes at least one of the following function buttons: wireless fidelity WIFI function button, cellular mobile network function button, bluetooth function button, flight mode function button, silence mode function button, luminance function button, volume function button.
The detecting unit 601 and the determining unit 602 may be a controller or a processor, and the determining unit 603 may be a first display screen, a second display screen, and a processor.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes a mobile terminal.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising a mobile terminal.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, 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 of some interfaces, devices or units, and may be an electric 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, each functional unit in the embodiments of the present application may be integrated into one control unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several 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 above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. The display control method is applied to electronic equipment, wherein the electronic equipment comprises a first display screen and a second display screen; the method comprises the following steps:
when an instruction of starting a shortcut function bar is received, determining whether an application interface of a preset application program is displayed on the first display screen;
when the fact that the first display screen displays an application interface of a preset application program is detected, determining an application scene of the preset application program;
according to the application scene, controlling the second display screen to display the shortcut function bar in an off-screen display AOD mode, wherein the method comprises the following steps: and acquiring the touch frequency of the touch operation aiming at the first display screen in a target time period, and controlling the second display screen to display the shortcut function bar in an off-screen display AOD mode in the target time period when the touch frequency of the touch operation is detected to be greater than a preset threshold value.
2. The method of claim 1, wherein the predetermined application is a video application; the controlling the second display screen to display the shortcut function bar in the screen-off display AOD mode according to the application scene includes:
when the application scene is detected to be a video playing application scene, determining whether displaying the shortcut function bar can cause the video to stop playing;
and when the situation that the video stops playing due to the fact that the shortcut function bar is displayed is detected, controlling the second display screen to display the shortcut function bar in an off-screen display AOD mode.
3. The method of claim 1, wherein the predetermined application is a game application; the controlling the second display screen to display the shortcut function bar in the screen-off display AOD mode according to the application scene includes:
prejudging a first time interval of next touch operation of the first display screen by a user in the application scene;
determining a second time interval required from the starting of the shortcut function bar to the closing of the shortcut function bar in the application scene;
and when the second time interval is larger than the first time interval, controlling the second display screen to display the shortcut function bar in an off-screen display AOD mode.
4. The method according to claim 1, wherein the controlling the second display screen to display the shortcut function bar in an off-screen display AOD mode according to the application scenario comprises:
and when the application scene is detected to be the preset application scene of the preset application program, controlling the second display screen to display the shortcut function bar in the screen-off display AOD mode.
5. The method according to any one of claims 1-4, wherein after controlling the second display screen to display the shortcut function bar in the off-screen display AOD mode, the method further comprises:
and responding to the function corresponding to the target function button when the selection operation aiming at the target function button in the shortcut function bar is detected and the touch operation aiming at the first display screen is not detected.
6. The method according to any one of claims 1 to 4, wherein the shortcut function bar is a virtual hover box and includes at least one of the following function buttons:
wireless fidelity WIFI function button, cellular mobile network function button, bluetooth function button, flight mode function button, silence mode function button, luminance function button, volume function button.
7. An electronic device comprising a first display screen, a second display screen, a memory, and a processor, wherein,
the first display screen is used for displaying an application interface of a preset application program;
the second display screen is used for displaying the shortcut function bar in the screen-off display AOD mode;
the memory is used for storing a preset application program and a preset application scene of the preset application program;
the processor is used for determining whether an application interface of a preset application program is displayed on the first display screen when an instruction for starting the shortcut function bar is received; the application scene of the preset application program is determined when the first display screen is detected to display the application interface of the preset application program; the shortcut function bar is used for controlling the second display screen to display the shortcut function bar in an off-screen display AOD mode according to the application scene;
the processor is specifically configured to obtain a touch frequency of touch operation on the first display screen in a target time period, and when it is detected that the touch frequency of the touch operation is greater than a preset threshold, control the second display screen to display the shortcut function bar in an off-screen display AOD mode in the target time period.
8. A display control apparatus comprising a detection unit, a determination unit, and a processing unit, wherein,
the detection unit is used for determining whether an application interface of a preset application program is displayed on the first display screen when an instruction for starting the shortcut function bar is received;
the determining unit is used for determining an application scene of a preset application program when detecting that the first display screen displays an application interface of the preset application program;
the processing unit is used for controlling a second display screen to display the shortcut function bar in an off-screen display AOD mode according to the application scene;
the processing unit is specifically configured to obtain a touch frequency of touch operation on the first display screen in a target time period, and when it is detected that the touch frequency of the touch operation is greater than a preset threshold, control the second display screen to display the shortcut function bar in an off-screen display AOD mode in the target time period.
9. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-6.
10. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-6.
CN201811143219.1A 2018-09-28 2018-09-28 Display control method and related device Active CN109491734B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811143219.1A CN109491734B (en) 2018-09-28 2018-09-28 Display control method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811143219.1A CN109491734B (en) 2018-09-28 2018-09-28 Display control method and related device

Publications (2)

Publication Number Publication Date
CN109491734A CN109491734A (en) 2019-03-19
CN109491734B true CN109491734B (en) 2022-01-28

Family

ID=65690551

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811143219.1A Active CN109491734B (en) 2018-09-28 2018-09-28 Display control method and related device

Country Status (1)

Country Link
CN (1) CN109491734B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106250088A (en) * 2016-08-03 2016-12-21 青岛海信电器股份有限公司 Text display method and device
CN106775544A (en) * 2017-01-20 2017-05-31 宇龙计算机通信科技(深圳)有限公司 The double of application program open display methods and device
CN107995354A (en) * 2017-10-31 2018-05-04 努比亚技术有限公司 A kind of application control method, terminal and computer-readable recording medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19980052322A (en) * 1996-12-24 1998-09-25 구자홍 TV automatic aspect ratio detection and correction device
CN104216632B (en) * 2014-08-26 2018-04-06 小米科技有限责任公司 The display methods and device of application icon
KR102317803B1 (en) * 2015-01-23 2021-10-27 삼성전자주식회사 Electronic device and method for controlling a plurality of displays

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106250088A (en) * 2016-08-03 2016-12-21 青岛海信电器股份有限公司 Text display method and device
CN106775544A (en) * 2017-01-20 2017-05-31 宇龙计算机通信科技(深圳)有限公司 The double of application program open display methods and device
CN107995354A (en) * 2017-10-31 2018-05-04 努比亚技术有限公司 A kind of application control method, terminal and computer-readable recording medium

Also Published As

Publication number Publication date
CN109491734A (en) 2019-03-19

Similar Documents

Publication Publication Date Title
US20220050561A1 (en) Side Menu Displaying Method and Apparatus and Terminal
US10419823B2 (en) Method for controlling multimedia playing, apparatus thereof and storage medium
US9642011B2 (en) Mobile terminal, lock state control program for mobile terminal, and a method for controlling lock state of mobile terminal
CN110531920B (en) Display method and device of sidebar, terminal and storage medium
KR20150043231A (en) Method, apparatus and electonic device for displaying notice information
US20160306511A1 (en) Apparatus and method for providing information via portion of display
CN108553896B (en) State information display control method, terminal and computer readable storage medium
EP3606036A1 (en) Mobile terminal-based dual camera power supply control method, system and mobile terminal
WO2019137155A1 (en) Screen display mode switching method and device, storage medium and electronic device
KR20140127005A (en) Method for controlling window and an electronic device thereof
CN105549895B (en) Application control method and mobile terminal
CN106873898B (en) Application program working mode switching method and device and electronic equipment
CN108108078B (en) Electronic equipment, display control method and related product
CN110618806A (en) Application program control method and device, electronic equipment and storage medium
CN108815838B (en) Game control method, electronic equipment and computer readable storage medium
CN108494459B (en) Antenna switching method, device, storage medium and mobile terminal
CN112269515A (en) Multi-window processing method and device on mobile terminal, mobile terminal and medium
US11212020B2 (en) FM channel finding and searching method, mobile terminal and storage apparatus
CN110888616A (en) Information display method, device and storage medium
CN108334349B (en) Mobile terminal, display image switching method thereof and computer-readable storage medium
CN110399074B (en) Picture splicing method and device, mobile terminal and storage medium
CN109491734B (en) Display control method and related device
US20170168694A1 (en) Method and electronic device for adjusting sequence of shortcut switches in control center
CN108769376B (en) Status bar display method, device, terminal and computer-readable storage medium
CN106775743B (en) Bottom tray and virtual key display method, device and 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