CN109558046B - Information display method and terminal equipment - Google Patents
Information display method and terminal equipment Download PDFInfo
- Publication number
- CN109558046B CN109558046B CN201811434006.4A CN201811434006A CN109558046B CN 109558046 B CN109558046 B CN 109558046B CN 201811434006 A CN201811434006 A CN 201811434006A CN 109558046 B CN109558046 B CN 109558046B
- Authority
- CN
- China
- Prior art keywords
- display
- display screen
- screen
- mode
- target information
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/147—Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention provides an information display method and terminal equipment, wherein the terminal equipment comprises a first display screen and a second display screen, and the method comprises the following steps: when target information is received, acquiring display state information of a first display screen and a second display screen; determining display scenes corresponding to the first display screen and the second display screen according to the display state information; and determining a display mode of the target information according to the display scene, and displaying the target information. The invention can make full use of the characteristics of the double-sided screen and combine with the display scene, selects a proper information processing mode when information is displayed, can enrich the information display mode, and ensures the use experience of a user while realizing the intellectualization of information display.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an information display method and a terminal device.
Background
When conventional single-screen equipment in the prior art is used for information display, the whole screen is processed in a unified manner, and the corresponding display mode is single, so that the information acquisition experience of a user is influenced.
The double-sided screen is used as a novel screen display mode of the terminal device, and can provide more excellent use experience in multitask operation, for example, different applications can be opened on two screens, or a function of quickly switching application of a primary screen and a secondary screen is provided. Double-sided screens are gradually becoming a new field for various large terminal equipment manufacturers.
Although the double-sided screen can display information through a double-display interface, the existing double-sided screen display lacks intellectualization, so that the display mode has certain limitation.
Disclosure of Invention
The embodiment of the invention provides an information display method and terminal equipment, and aims to solve the problems that in the prior art, a single display mode of single-screen equipment and a display mode of double-screen equipment lack of intellectualization and have display limitation.
In order to solve the above problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides an information display method, which is applied to a terminal device, where the terminal device includes a first display screen and a second display screen, and the method includes:
when target information is received, acquiring display state information of a first display screen and a second display screen;
determining display scenes corresponding to the first display screen and the second display screen according to the display state information;
and determining a display mode of the target information according to the display scene, and displaying the target information.
In a second aspect, an embodiment of the present invention provides a terminal device, including a first display screen and a second display screen, where the terminal device further includes:
the acquisition module is used for acquiring display state information of the first display screen and the second display screen when target information is received;
the determining module is used for determining display scenes corresponding to the first display screen and the second display screen according to the display state information;
and the processing module is used for determining the display mode of the target information according to the display scene and displaying the target information.
In a third aspect, an embodiment of the present invention provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the information display method described above.
In a fourth aspect, an embodiment of the present invention 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 information display method described above.
According to the technical scheme, when the target information is received, the display state information of the first display screen and the second display screen is obtained, the corresponding display scene is determined according to the display state information, the display mode of the target information is determined based on the determined display scene and displayed, the characteristics of the double-sided screen can be fully utilized, the display scene is combined, a proper information processing mode is selected when the information is displayed, the information display mode can be enriched, and the use experience of a user is guaranteed while the information display intellectualization is realized.
Drawings
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.
FIG. 1 is a schematic diagram of an information display method according to an embodiment of the present invention;
FIG. 2a is a schematic diagram of a first display state of a first display screen and a second display screen according to an embodiment of the invention;
FIG. 2b is a schematic diagram of a second display state of the first display screen and the second display screen according to the embodiment of the invention;
FIG. 3 is a diagram illustrating a display mode of determining target information according to an embodiment of the present invention;
FIG. 4a is a schematic diagram of a third display state of the first display screen and the second display screen according to the embodiment of the invention;
FIG. 4b is a diagram illustrating a fourth display state of the first display screen and the second display screen according to the embodiment of the invention;
FIG. 5 is a diagram of a terminal device according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a hardware structure of a terminal 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.
An embodiment of the present invention provides an information display method, which is applied to a terminal device, where the terminal device includes a first display screen and a second display screen, and as shown in fig. 1, the method includes:
The terminal equipment of the embodiment of the invention comprises a double-sided screen, and when the display screen receives the target information in the working state, the display states of the first display screen and the second display screen are required to be acquired. Wherein the states of the first display screen and the second display screen at least comprise the following types: the first display screen and the second display screen display the same content, and the first display screen and the second display screen form mirror image display; the first display screen and the second display screen respectively correspond to different display interfaces, wherein when the first display screen and the second display screen correspond to different display interfaces, different application programs can be respectively operated in the first display screen and the second display screen, the first display screen and the second display screen can respectively display different interfaces of the same application program, the first display screen can display a desktop state, the second display screen can internally operate an application program, and the first display screen and the second display screen can display different desktop states; the first display screen and the second display screen are matched to jointly display an interface, at the moment, an 1/2 interface can be displayed in the first display screen, and another 1/2 interface can be displayed in the second display screen; the first display screen is in a display state, and the second display screen is in a screen-off state. The first display screen and the second display screen in the embodiment of the invention are not limited to the primary display screen and the secondary display screen.
When the terminal device receives the target information, display state information corresponding to the first display screen and the second display screen may be acquired, and after the display state information is acquired, step 102 may be executed according to the display state information.
And 102, determining display scenes corresponding to the first display screen and the second display screen according to the display state information.
After the terminal equipment acquires the display state information, the display scenes corresponding to the first display screen and the second display screen are determined according to the acquired display state information. When the first display screen and the second display screen form mirror image display, and the first display screen and the second display screen respectively correspond to different display interfaces, the corresponding display scenes are the same scene; when the first display screen and the second display screen are matched to jointly display an interface, and when the first display screen is in a display state and the second display screen is in a screen-off state, the corresponding scenes are the same scene.
After determining the display scenes corresponding to the first display screen and the second display screen, step 103 may be performed based on the determined display scenes.
And 103, determining a display mode of the target information according to the display scene, and displaying the target information.
After the display scenes corresponding to the first display screen and the second display screen are determined, the display mode corresponding to the target information is determined according to the display scenes, and then the target information is displayed in the determined display mode.
When the first display screen and the second display screen form mirror image display and the first display screen and the second display screen respectively correspond to different display interfaces, the corresponding display scenes are the same scene, and at the moment, the corresponding display mode can be determined; when the first display screen and the second display screen are matched to jointly display an interface, and when the first display screen is in a display state and the second display screen is in a screen-off state, the corresponding scenes are the same scene, and at the moment, the corresponding display mode can be determined.
According to the embodiment of the invention, the display state information of the first display screen and the second display screen is acquired under the condition that the target information is received, the corresponding display scene is determined according to the display state information, the display mode of the target information is determined based on the determined display scene and is displayed, the characteristics of the double-sided screen can be fully utilized, the display scene is combined, a proper information processing mode is selected during information display, the information display mode can be enriched, and the use experience of a user is ensured while the intelligence of the information display is realized.
In the embodiment of the present invention, when receiving the target information, the step of acquiring the display state information of the first display screen and the second display screen includes:
when detecting that an application program operated by a foreground receives link information, acquiring display state information of a first display screen and a second display screen; or
And when the target application program receives the first information, acquiring the display state information of the first display screen and the second display screen, wherein the target application program is an application program running in a background.
The condition that the application program runs on the first display screen and/or the second display screen is the condition that the application program runs in the foreground. When the running application program receives the link information, display state information of the first display screen and the second display screen can be acquired. When the application program is operated on the first display screen or the second display screen, the other display screen can be in a screen-off state or a desktop display state. When the application programs are operated on the first display screen and the second display screen, the first display screen and the second display screen are matched to jointly display an interface, different application programs are respectively operated on the first display screen and the second display screen, different interfaces of the same application program are respectively displayed on the first display screen and the second display screen, and the display interfaces of the first display screen and the second display screen are the same.
The display state information of the first display screen and the second display screen can be acquired according to the condition that the target application program running in the background receives the first information. When the target application program receives the first information, the first display screen and the second display screen can be operated with the application program, one of the display screens can be in a working state, the other display screen can be in a screen-saving state, the application program can be operated on one display screen, and the other display screen can be in a desktop display state. In which, for the case of running an application on the first display screen and the second display screen, the display contents of the two display screens may be the same or different, and are not limited in detail here.
The target information in the embodiment of the present invention may be link information received by an application running on the first display screen and/or the second display screen, or may be first information received by a target application running in the background, which is certainly not limited to these two cases, and may also be other types of information.
By triggering the process of acquiring the display state information of the first display screen and the second display screen when the target information is received, the validity of acquiring the display state information can be ensured, and the condition of blindly acquiring the display state information is avoided.
In the embodiment of the present invention, the step of determining the display scenes corresponding to the first display screen and the second display screen according to the display state information includes:
when the display contents of the first display screen and the second display screen are the same, determining that the first display screen and the second display screen correspond to a first display scene;
and when the first display screen and the second display screen respectively correspond to different display interfaces, determining that the first display screen and the second display screen correspond to a first display scene.
The process of determining the display scene according to the display state information of the first display screen and the second display screen comprises the following steps: and detecting whether the display contents of the first display screen and the second display screen are the same, and if the display contents of the first display screen and the second display screen are the same, determining that the first display screen and the second display screen correspond to a first display scene. At this time, the first display screen and the second display screen are mirror images, as shown in fig. 2a, in an AA (dual display consistent) display state.
If the display contents of the first display screen and the second display screen are different, whether the display interfaces corresponding to the first display screen and the second display screen are the same is judged, and if the display contents of the first display screen and the second display screen are different, it can be determined that the first display screen and the second display screen correspond to a first display scene. And determining that the display interfaces corresponding to the first display screen and the second display screen are the same according to the condition that the display contents of the first display screen and the second display screen can be spliced to form a complete display interface. As shown in fig. 2b, the status is displayed for AB (different dual screen display interface).
The display scene is determined according to the display state information of the first display screen and the second display screen, the display mode of the target information can be determined based on the determined display scene, and therefore the characteristics of the double-sided screen can be fully utilized and the display scene is combined, and a proper information processing mode is selected when information is displayed.
In the embodiment of the present invention, the step of determining a display mode of the target information according to the display scene and displaying the target information includes:
when the first display screen and the second display screen correspond to a first display scene, acquiring a first display mode corresponding to the first display screen currently operated by a user, and determining a first touch frequency threshold and a second touch frequency threshold corresponding to the first display mode, wherein the first display mode is one of a video mode, a game mode and a static interface mode; detecting a first touch frequency of a user on a first display screen within a first preset time; and determining a display mode of the target information according to the first touch frequency, the first touch frequency threshold and the second touch frequency threshold, and displaying the target information.
After the display scene is determined according to the display state information, based on the situation that the first display screen and the second display screen correspond to the first display scene, a first display mode corresponding to the first display screen currently operated by the user needs to be acquired, where the display mode may be a video mode, a game mode, or a static interface mode, and the static mode includes multiple situations, such as a voice or text chat mode, an application program interface browsing mode, a desktop display mode, and the like. The first display mode may be one of a video mode, a game mode, or a static interface mode. After a first display mode corresponding to a first display screen currently operated by a user is determined, a first touch frequency threshold and a second touch frequency threshold corresponding to the first display mode are determined, wherein the first touch frequency threshold and the second touch frequency threshold are not limited in size in terms of numerical values.
After the first touch frequency threshold and the second touch frequency threshold are determined, counting the first touch frequency of the user on the first display screen within a first preset time, and then determining the display mode of the target information according to the acquired first touch frequency, the determined first touch frequency threshold and the second touch frequency threshold. The first touch frequency here may be a touch frequency corresponding to a touch operation performed by the user on the first area of the first display screen, or a touch frequency corresponding to a touch operation performed by the user with a first specific gesture on the first area of the first display screen.
The first touch frequency threshold and the second touch frequency threshold are determined according to the first display mode corresponding to the first display screen, and the display mode is determined according to the first touch frequency, the first touch frequency threshold and the second touch frequency threshold corresponding to the user on the first display screen within the first preset time length, so that a proper information processing mode can be selected during information display, the information display mode can be enriched, and the use experience of the user is guaranteed while the intelligence of the information display is realized.
In an embodiment of the present invention, the step of determining a display mode of the target information according to the first touch frequency, the first touch frequency threshold, and the second touch frequency threshold, and displaying the target information includes:
if the first touch frequency is smaller than the first touch frequency threshold value, controlling a first display screen to display an interface corresponding to the target information, and displaying the interface corresponding to the target information in a full screen mode; if the first touch frequency is greater than or equal to the first touch frequency threshold, detecting a second touch frequency of the user on a second display screen within a second preset time; if the second touch frequency is smaller than the second touch frequency threshold value, controlling a second display screen to display an interface corresponding to the target information, and displaying the interface corresponding to the target information in a full screen mode; and if the second touch frequency is greater than or equal to the second touch frequency threshold, controlling the second display screen to be switched to a split screen display state, displaying an interface corresponding to the target information in the first split screen, and displaying an initial interface of the second display screen in the second split screen.
After the first touch frequency is determined, comparing the first touch frequency with a first touch frequency threshold, if the first touch frequency is less than the first touch frequency threshold, indicating that the touch frequency of the user to the first display screen is low within a first preset time period, at this time, directly controlling the first display screen to display an interface corresponding to the target information, and displaying the interface corresponding to the target information on the first display screen in a full screen manner.
If the first touch frequency is greater than or equal to the first touch frequency threshold, it indicates that the touch frequency of the user on the first display screen is high within a first preset time period, and in order not to affect the use of the user, a second touch frequency corresponding to the user on the second display screen within a second preset time period needs to be detected. The second touch frequency here may be a touch frequency corresponding to a touch operation performed by the user on the second area of the second display screen and/or a touch frequency corresponding to a touch operation performed by the user with a second specific gesture on the second display screen.
And after the second touch frequency is obtained, comparing the obtained second touch frequency with a second touch frequency threshold, if the second touch frequency is smaller than the second touch frequency threshold, indicating that the touch frequency of the user to the second display screen is low within a second preset time, at this time, directly controlling the second display screen to display the interface corresponding to the target information, and displaying the interface corresponding to the target information on the second display screen in a full screen manner.
If the second touch frequency is greater than or equal to the second touch frequency threshold, it indicates that the user has a high touch frequency to the second display screen within a second preset time period, and in order not to affect the use of the user, the second display screen may be controlled to switch to the split-screen display state at this time, the second display screen is divided into a first split screen and a second split screen, an interface corresponding to the target information is displayed in the first split screen, and an initial interface of the second display screen is displayed in the second split screen, where the initial interface of the second display screen is an interface before the split-screen display state is not switched. In the embodiment of the present invention, the time lengths corresponding to the first preset time and the second preset time and the length relationship between the first preset time and the second preset time are not further limited, and a person skilled in the art can take values according to actual requirements.
In the following, an AB display state is taken as an example to explain a process of determining a target information display mode, and for the AB display state, the first display screen is an a screen, the second display screen is a B screen, and display interfaces corresponding to the a screen and the B screen are different, as shown in fig. 3:
and 301, when the target information is received, determining that the target information is currently in a first display scene according to the AB display state.
In step 304, it is determined whether the first touch frequency is greater than or equal to the first touch frequency threshold N1. If so, go to step 305, otherwise go to step 307.
And 305, acquiring a second touch frequency corresponding to the user on the B screen within a second preset time. In this embodiment, it may be defined that the second predetermined time period is longer than the first predetermined time period, which is only one embodiment.
And 307, controlling the A screen to display the interface corresponding to the target information in a full-screen mode, and then ending the process.
And 308, controlling the screen B to be switched to a split screen display state, displaying an interface corresponding to the target information in the first split screen, displaying an initial interface of the screen B in the second split screen, and then ending the process.
And 309, controlling the B screen to display the interface corresponding to the target information in a full screen mode, and then ending the process.
The flow corresponding to the AA display state is the same as the flow corresponding to the AB display state, the difference is that the display contents of the A1 and A2 screens in the AA display state are the same, and the display interfaces corresponding to the A screen and the B screen in the AB display state are different.
For the AA display state, after a first display mode corresponding to an a1 screen currently operated by a user is obtained, and a first touch frequency threshold N1 and a second touch frequency threshold N2 corresponding to the first display mode are determined, first touch frequencies corresponding to the user in the a1 screen within a first preset time period are counted, and if the first touch frequencies are smaller than the first touch frequency threshold N1, an interface corresponding to target information is directly displayed in the a1 screen at this time. After the display is switched, the A1 screen displays the interface corresponding to the target information, the A2 screen keeps the initial interface, and the AA display state at the moment is converted into the AB display state.
If the first touch frequency is greater than or equal to the first touch frequency threshold value N1, the initial interface of the A1 screen is maintained at the moment, second touch frequency corresponding to the A2 screen within a second preset time period is counted, after the second touch frequency is obtained, the second touch frequency is compared with the second touch frequency threshold value N2, if the second touch frequency is less than the second touch frequency threshold value N2, the interface corresponding to the target information is displayed in the A2 screen, and the AA display state at the moment is converted into the AB display state.
And if the second touch frequency is greater than or equal to the second touch frequency threshold value N2, performing split screen display on the A2 screen, displaying an interface corresponding to the target information in the first split screen, and displaying an initial interface of the A2 screen in the second split screen.
The method comprises the steps of comparing a first touch frequency with a first touch frequency threshold, displaying an interface corresponding to target information in a full screen mode in a first display screen when the first touch frequency is smaller than the first touch frequency threshold, judging the relation between a second touch frequency and a second touch frequency threshold when the first touch frequency is larger than or equal to the first touch frequency threshold, displaying the interface corresponding to the target information in the full screen mode in the second display screen when the second touch frequency is smaller than the second touch frequency threshold, and displaying in a split screen mode when the second touch frequency is larger than or equal to the second touch frequency threshold.
In the embodiment of the present invention, the step of obtaining a first display mode corresponding to a first display screen currently operated by a user, and determining a first touch frequency threshold and a second touch frequency threshold corresponding to the first display mode includes:
acquiring an application program running in a first display screen; determining a first display mode corresponding to the first display screen according to an interface of an application program running in the first display screen, or searching a first display mode corresponding to the application program running in the first display screen in a preset white list; and determining a first touch frequency threshold and a second touch frequency threshold corresponding to the first display mode according to a preset corresponding relation between the display mode and the touch frequency threshold.
When the display mode corresponding to the first display screen is obtained, for the situation of the application program currently running in the first display screen, the application program currently running in the first display screen may be detected, and the corresponding first display mode is determined according to the display content information of the application program running in the first display screen. If the corresponding display mode cannot be determined according to the display content information, the first display mode corresponding to the application program running in the first display screen can be searched in the preset white list, that is, the corresponding relation between each application program on the terminal device and the display mode is stored in the preset white list. Each application on the terminal device may determine a display mode. Of course, the search can also be directly performed in a preset white list.
For the situation that the application program is not running in the first display screen and is in the desktop display state, it may be determined that the first display screen is in the static interface mode. That is, when the display mode corresponding to the first display screen is obtained, it may be determined whether the current display state is the desktop display state, if so, it is directly determined that the first display screen is in the static interface mode, and if not, a process of determining the application program running in the first display screen is executed.
After the first display mode corresponding to the first display screen is acquired, a first touch frequency threshold and a second touch frequency threshold corresponding to the first display mode can be searched in a preset threshold database according to the acquired first display mode. The threshold database stores the corresponding relationship between the display mode and the touch times threshold, and each display mode corresponds to a set of touch times thresholds, wherein the set of touch times thresholds includes two touch times thresholds. When the search process is executed, the search can be performed according to the corresponding relationship.
The corresponding display mode is determined according to the display content in the first display screen or the mode searched in the preset white list, the corresponding touch control frequency threshold value is searched according to the determined display mode, the accuracy of determining the display mode and the touch control frequency threshold value can be guaranteed, after the corresponding display mode and the touch control frequency threshold value are determined, the corresponding display mode is determined according to the relation between the touch control frequency and the touch control frequency threshold value, the information display mode can be enriched, and the use experience of a user is guaranteed while the information display intellectualization is realized.
In an embodiment of the present invention, after displaying the target information, the method further includes:
detecting whether switching operation of switching display contents of the first display screen and the second display screen by a user is received within a third preset time length; and under the condition that the switching operation is received, adjusting the first touch frequency threshold value and the second touch frequency threshold value, and storing the adjusted first touch frequency threshold value and the adjusted second touch frequency threshold value.
After the display mode of the target information is determined and the target information is displayed, whether a switching operation of a user is received or not can be detected within a third preset time period, when an operation of switching display contents of a first display screen and a second display screen by the user is received, the layout can be adjusted in response to the switching operation of the user, meanwhile, a first touch frequency threshold and a second touch frequency threshold corresponding to a current display mode can be adjusted according to the switching operation of the user, updating of the first touch frequency threshold and the second touch frequency threshold is achieved, the updated first touch frequency threshold and the updated second touch frequency threshold are stored in a threshold database, and a corresponding relation with the current display mode is formed.
The touch control frequency threshold corresponding to the current display mode is adjusted according to the switching operation of the user, so that the user can get close to the more used use mode of the user, and the use experience of the user is guaranteed.
The following describes a specific example of adjusting the first touch threshold and the second touch threshold according to the switching operation:
and when the target information is received, determining a current corresponding first display scene according to the display state information of the first display screen and the second display screen. The method includes the steps of obtaining a first display mode corresponding to a first display screen currently operated by a user, and obtaining a first touch frequency corresponding to the user on the first display screen within a first preset time after determining a first touch frequency threshold value N1 and a second touch frequency threshold value N2 corresponding to the first display mode. And judging whether the first touch frequency is greater than or equal to a first touch frequency threshold value N1, and if the first touch frequency is less than a first touch frequency threshold value N1, directly displaying an interface corresponding to the target information on the first display screen in a full screen mode. If the first touch frequency is greater than or equal to the first touch frequency threshold value N1, detecting a second touch frequency of the user on the second display screen within a second preset time length; if the second touch frequency is smaller than a second touch frequency threshold value N2, controlling the second display screen to display an interface corresponding to the target information in a full screen mode; and if the second touch frequency is greater than or equal to the second touch frequency threshold value N2, controlling the second display screen to be switched to a split screen display state, displaying an interface corresponding to the target information in the first split screen, and displaying an initial interface of the second display screen in the second split screen.
For the above display conditions, after the interface corresponding to the target information is displayed in full screen on the first display screen, a switching operation of switching the contents of the first display screen and the second display screen by the user is received within a third preset time period, which indicates that the user is used to display the interface corresponding to the target information on the second display screen, in order to ensure that the interface corresponding to the target information is displayed on the second display screen, the first touch frequency is required to be greater than or equal to the first touch frequency threshold, at this time, the second touch frequency may be less than the second touch frequency threshold, so that the interface corresponding to the target information is displayed in full screen on the second display screen, the second touch frequency may be greater than or equal to the second touch frequency threshold, and the interface corresponding to the target information and the initial interface of the second display screen are displayed in split screen on the second display screen. Therefore, when the first touch frequency is smaller than the first touch frequency threshold, the first touch frequency threshold may be decreased so that the first touch frequency is greater than or equal to the first touch frequency threshold. If it is indicated that the user needs to display the interface corresponding to the target information in the second display screen in a full screen manner after receiving the first preset operation of the user in the second display screen, it is required to ensure that the second touch frequency is smaller than the second touch frequency threshold, and the second touch frequency threshold can be adjusted, so that the second touch frequency threshold is larger than the second touch frequency. If it is indicated that the user needs to display the interface corresponding to the target information and the initial interface of the second display screen in the second display screen after receiving a second preset operation of the user in the second display screen, it is required to ensure that the second touch frequency is greater than or equal to the second touch frequency threshold, and the second touch frequency threshold may be adjusted so that the second touch frequency threshold is less than or equal to the second touch frequency.
If a switching operation of switching the contents of the first display screen and the second display screen by a user is received within a third preset time after the interface corresponding to the target information is displayed on the second display screen in a full screen manner, it indicates that the user is used to display the interface corresponding to the target information on the first display screen, and in order to ensure that the interface corresponding to the target information is displayed on the first display screen, the first touch frequency is required to be smaller than a first touch frequency threshold, so that the first touch frequency threshold can be increased to enable the first touch frequency to be smaller than the first touch frequency threshold under the condition that the first touch frequency is greater than or equal to the first touch frequency threshold. At this time, the second touch frequency threshold may also be adjusted.
The specific implementation process is that after the interface corresponding to the target information is displayed, the display mode is adjusted according to the operation of the user, so that the adjusted display mode is more inclined to the use habit of the user. In the above implementation process, the first touch frequency and the second touch frequency are kept unchanged, and the adjustment of the touch frequency threshold is taken as an example, which is only a specific example, and the technical solution of the present invention may further include other implementation processes, which are not described here.
In the embodiment of the present invention, the step of determining the display scenes corresponding to the first display screen and the second display screen according to the display state information includes:
when the first display screen and the second display screen jointly display an interface, determining that the first display screen and the second display screen correspond to a second display scene; and when the first display screen is in a display state and the second display screen is in a screen-off state, determining that the first display screen and the second display screen correspond to a second display scene.
The process of determining the display scene according to the display state information of the first display screen and the second display screen comprises the following steps: and detecting whether the first display screen and the second display screen are both in a working state, and when one display screen is in the working state and the other display screen is in a screen-off state, determining that the first display screen and the second display screen correspond to a second display scene. As shown in fig. 4a, the state is displayed for a (only one remains active for dual screen).
If both the first display screen and the second display screen are in working states, whether the display contents of the first display screen and the second display screen can be spliced into a complete interface needs to be detected, and if yes, it is determined that the first display screen and the second display screen correspond to a second display scene. As shown in fig. 4b, the status is displayed for large a (two screens together display an interface).
The display scene is determined according to the display state information of the first display screen and the second display screen, the display mode of the target information can be determined based on the determined display scene, and therefore the characteristics of the double-sided screen can be fully utilized and the display scene is combined, and a proper information processing mode is selected when information is displayed.
In the embodiment of the present invention, the step of determining a display mode of the target information according to the display scene and displaying the target information includes:
when the first display screen and the second display screen display an interface together, detecting whether an application program corresponding to target information supports a picture-in-picture mode; if so, controlling the first display screen and the second display screen to jointly display an initial interface and an interface corresponding to the target information, wherein the initial interface is displayed in a full screen mode, and the interface corresponding to the target information is displayed in a first preset size at a first preset position of the initial interface; and if not, controlling the first display screen and the second display screen to display the interface corresponding to the target information in a full screen mode.
When it is determined that the first display screen and the second display screen correspond to a second display scene and the first display screen and the second display screen display an interface together, whether an application program corresponding to the target information supports a picture-in-picture mode or not can be detected, the current corresponding picture-in-picture mode is that the first display screen and the second display screen display an initial interface and an interface corresponding to the target information together, the initial interface is displayed in a full screen mode through a large window, the interface corresponding to the target information is displayed in a small window mode, and the interface corresponding to the target information is displayed at a first preset position.
When the application program corresponding to the target information supports the picture-in-picture mode, an initial interface is displayed through the first display screen and the second display screen together in a large-window full-screen display mode, and on the basis of the common display of the first display screen and the second display screen, the interface corresponding to the target information is displayed through the small window at a first preset position, wherein when the interface is displayed through the small window, the first preset size of the interface corresponding to the target information can be 1/D of the full-screen size displayed through the first display screen and the second display screen together, and D is a numerical value larger than 1. The first preset position is not further limited, and may be a lower left corner, a lower right corner or other positions of the full screen display. Namely, the display mode is that a display interface of target information is added on the basis of full-screen display of the initial interface.
If the application program corresponding to the target information does not support the picture-in-picture mode, the first display screen and the second display screen can be controlled to display the interface corresponding to the target information together, and at the moment, the interface corresponding to the target information is displayed on the first display screen and the second display screen in a full screen mode.
In the process, two display modes are provided according to whether the application program corresponding to the target information supports the picture-in-picture mode, so that the information display modes can be enriched, and the use experience of a user is ensured while the information display intellectualization is realized according to the support or non-support condition.
In the embodiment of the present invention, the step of determining a display mode of the target information according to the display scene and displaying the target information includes:
when the first display screen is in a display state and the second display screen is in a screen-off state, detecting whether an application program corresponding to target information supports a picture-in-picture mode; if so, controlling the first display screen to display an initial interface and an interface corresponding to the target information, wherein the initial interface is displayed in a full screen mode, and the interface corresponding to the target information is displayed in a second preset size at a second preset position of the initial interface; and if not, controlling the first display screen to display the interface corresponding to the target information in a full screen mode.
When it is determined that the first display screen and the second display screen correspond to a second display scene, the first display screen is in a display state, and the second display screen is in a screen-off state, whether an application program corresponding to the target information supports a picture-in-picture mode can be detected, the current picture-in-picture mode is that the first display screen displays an initial interface and an interface corresponding to the target information, the initial interface is displayed in a full screen mode through a large window, the interface corresponding to the target information is displayed through a small window, and the interface corresponding to the target information is displayed at a second preset position.
When the application program corresponding to the target information supports the picture-in-picture mode, displaying an initial interface in a full-screen display mode through the first display screen in a large window, and displaying an interface corresponding to the target information in a small window at a second preset position of the first display screen, wherein when the interface is displayed in the small window, the second preset size of the interface corresponding to the target information can be 1/C of the size of the first display screen, and C is a numerical value larger than 1. The second preset position is not further limited, and may be a lower left corner, a lower right corner or other positions of the first display screen. Namely, the display mode is that a display interface of target information is added on the basis that the initial interface is displayed in a full screen mode in the first display screen.
If the application program corresponding to the target information does not support the picture-in-picture mode, the first display screen can be controlled to display the interface corresponding to the target information, and at the moment, the interface corresponding to the target information is displayed in a full screen mode in the first display screen.
In the process, two display modes in the first display screen are provided according to whether the application program corresponding to the target information supports the picture-in-picture mode, so that the information display modes can be enriched, and the use experience of a user is ensured while the intelligence of information display is realized according to the support condition.
The above is the implementation procedure of the information display method of the present invention, and it is obvious that those skilled in the art can make appropriate modifications on the basis of the implementation procedure, and the modifications are also within the scope of the present invention without departing from the spirit and scope of the embodiments of the present invention.
According to the information display method provided by the embodiment of the invention, when the target information is received, the display state information of the first display screen and the second display screen is obtained, the corresponding display scene is determined according to the display state information, the display mode of the target information is determined based on the determined display scene and is displayed, the characteristics of the double-sided screen can be fully utilized and combined with the display scene, a proper information processing mode is selected during information display, the information display mode can be enriched, and the use experience of a user is ensured while the intelligence of the information display is realized.
An embodiment of the present invention provides a terminal device, where the terminal device includes a first display screen and a second display screen, and as shown in fig. 5, the terminal device further includes:
the acquisition module 10 is configured to acquire display state information of the first display screen and the second display screen when the target information is received;
the determining module 20 is configured to determine, according to the display state information, display scenes corresponding to the first display screen and the second display screen;
and the processing module 30 is configured to determine a display mode of the target information according to the display scene and display the target information.
Wherein, the acquisition module includes:
the first obtaining submodule is used for obtaining the display state information of the first display screen and the second display screen when detecting that the application program operated by the foreground receives the link information; or
And the second obtaining submodule is used for obtaining the display state information of the first display screen and the second display screen when the target application program receives the first information, wherein the target application program is an application program running in the background.
Wherein the determining module comprises:
the first determining submodule is used for determining that the first display screen and the second display screen correspond to a first display scene when the display contents of the first display screen and the second display screen are the same;
and the second determining submodule is used for determining that the first display screen and the second display screen correspond to the first display scene when the first display screen and the second display screen respectively correspond to different display interfaces.
Wherein, processing module includes:
the first processing submodule is used for acquiring a first display mode corresponding to a first display screen currently operated by a user when the first display screen and the second display screen correspond to a first display scene, and determining a first touch frequency threshold value and a second touch frequency threshold value corresponding to the first display mode, wherein the first display mode is one of a video mode, a game mode and a static interface mode;
the first detection submodule is used for detecting a first touch frequency of a user on a first display screen within a first preset time length;
and the second processing submodule is used for determining a display mode of the target information according to the first touch times, the first touch times threshold and the second touch times threshold and displaying the target information.
Wherein, the second processing submodule includes:
the first processing unit is used for controlling the first display screen to display the interface corresponding to the target information and displaying the interface corresponding to the target information in a full screen mode if the first touch frequency is smaller than the first touch frequency threshold value;
the detection unit is used for detecting second touch times of the user on the second display screen within a second preset time length if the first touch times are larger than or equal to a first touch time threshold;
the second processing unit is used for controlling the second display screen to display the interface corresponding to the target information and displaying the interface corresponding to the target information in a full screen mode if the second touch frequency is smaller than the second touch frequency threshold value;
and the third processing unit is used for controlling the second display screen to be switched to a split screen display state if the second touch frequency is greater than or equal to the second touch frequency threshold, displaying an interface corresponding to the target information in the first split screen, and displaying an initial interface of the second display screen in the second split screen.
Wherein, the first processing submodule includes:
the acquisition unit is used for acquiring the application program operated in the first display screen;
the fourth processing unit is used for determining a first display mode corresponding to the first display screen according to an interface of an application program running in the first display screen, or searching the first display mode corresponding to the application program running in the first display screen in a preset white list;
the determining unit is used for determining a first touch frequency threshold and a second touch frequency threshold corresponding to the first display mode according to a preset corresponding relation between the display mode and the touch frequency threshold.
Wherein, terminal equipment still includes:
the detection module is used for detecting whether switching operation of switching display contents of the first display screen and the second display screen by a user is received within a third preset time after the processing module displays the target information;
and the adjusting module is used for adjusting the first touch frequency threshold and the second touch frequency threshold under the condition of receiving the switching operation, and storing the adjusted first touch frequency threshold and the adjusted second touch frequency threshold.
Wherein the determining module comprises:
the third determining submodule is used for determining that the first display screen and the second display screen correspond to a second display scene when the first display screen and the second display screen jointly display an interface;
and the fourth determining submodule is used for determining that the first display screen and the second display screen correspond to the second display scene when the first display screen is in the display state and the second display screen is in the screen-off state.
Wherein, processing module includes:
the second detection submodule is used for detecting whether an application program corresponding to the target information supports a picture-in-picture mode or not when the first display screen and the second display screen jointly display an interface;
the first control sub-module is used for controlling the first display screen and the second display screen to jointly display an initial interface and an interface corresponding to the target information if the first control sub-module supports the first display screen and the second display screen, wherein the initial interface is displayed in a full screen mode, and the interface corresponding to the target information is displayed in a first preset size at a first preset position of the initial interface;
and the second control submodule is used for controlling the first display screen and the second display screen to jointly display the interface corresponding to the target information in a full screen mode if the first display screen and the second display screen do not support.
Wherein, processing module includes:
the third detection submodule is used for detecting whether the application program corresponding to the target information supports the picture-in-picture mode or not when the first display screen is in a display state and the second display screen is in a screen-off state;
the third control sub-module is used for controlling the first display screen to display the initial interface and the interface corresponding to the target information if the first display screen supports the first control sub-module, wherein the initial interface is displayed in a full screen mode, and the interface corresponding to the target information is displayed in a second preset size at a second preset position of the initial interface;
and the fourth control sub-module is used for controlling the first display screen to display the interface corresponding to the target information in a full screen mode if the first display screen does not support the interface.
According to the terminal device provided by the embodiment of the invention, when the target information is received, the display state information of the first display screen and the second display screen is obtained, the corresponding display scene is determined according to the display state information, the display mode of the target information is determined based on the determined display scene and is displayed, the characteristics of the double-sided screen can be fully utilized and combined with the display scene, a proper information processing mode is selected during information display, the information display mode can be enriched, and the use experience of a user is ensured while the intelligence of the information display is realized.
Fig. 6 is a schematic diagram of a hardware structure of a terminal device for implementing various embodiments of the present invention, where the terminal device 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and a power supply 611.
Those skilled in the art will appreciate that the terminal device configuration shown in fig. 6 does not constitute a limitation of the terminal device, and that the terminal device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present invention, the terminal 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 processor 610 is configured to: when target information is received, acquiring display state information of a first display screen and a second display screen; determining display scenes corresponding to the first display screen and the second display screen according to the display state information; and determining a display mode of the target information according to the display scene, and displaying the target information.
When the target information is received and the display state information of the first display screen and the second display screen is acquired, the processor 610 is further configured to perform the following steps: when detecting that an application program operated by a foreground receives link information, acquiring display state information of a first display screen and a second display screen; or when the target application program receives the first information, acquiring the display state information of the first display screen and the second display screen, wherein the target application program is an application program running in the background.
When determining the display scenes corresponding to the first display screen and the second display screen according to the display state information, the processor 610 is further configured to perform the following steps: when the display contents of the first display screen and the second display screen are the same, determining that the first display screen and the second display screen correspond to a first display scene; and when the first display screen and the second display screen respectively correspond to different display interfaces, determining that the first display screen and the second display screen correspond to a first display scene.
When the display mode of the target information is determined according to the display scene and the target information is displayed, the processor 610 is further configured to perform the following steps: when the first display screen and the second display screen correspond to a first display scene, acquiring a first display mode corresponding to the first display screen currently operated by a user, and determining a first touch frequency threshold and a second touch frequency threshold corresponding to the first display mode, wherein the first display mode is one of a video mode, a game mode and a static interface mode; detecting a first touch frequency of a user on a first display screen within a first preset time; and determining a display mode of the target information according to the first touch frequency, the first touch frequency threshold and the second touch frequency threshold, and displaying the target information.
When determining the display mode of the target information according to the first touch frequency, the first touch frequency threshold and the second touch frequency threshold, and displaying the target information, the processor 610 is further configured to perform the following steps: if the first touch frequency is smaller than the first touch frequency threshold value, controlling a first display screen to display an interface corresponding to the target information, and displaying the interface corresponding to the target information in a full screen mode; if the first touch frequency is greater than or equal to the first touch frequency threshold, detecting a second touch frequency of the user on a second display screen within a second preset time; if the second touch frequency is smaller than the second touch frequency threshold value, controlling a second display screen to display an interface corresponding to the target information, and displaying the interface corresponding to the target information in a full screen mode; and if the second touch frequency is greater than or equal to the second touch frequency threshold, controlling the second display screen to be switched to a split screen display state, displaying an interface corresponding to the target information in the first split screen, and displaying an initial interface of the second display screen in the second split screen.
When a first display mode corresponding to a first display screen currently operated by a user is obtained, and a first touch frequency threshold and a second touch frequency threshold corresponding to the first display mode are determined, the processor 610 is further configured to execute the following steps: acquiring an application program running in a first display screen; determining a first display mode corresponding to the first display screen according to an interface of an application program running in the first display screen, or searching a first display mode corresponding to the application program running in the first display screen in a preset white list; and determining a first touch frequency threshold and a second touch frequency threshold corresponding to the first display mode according to a preset corresponding relation between the display mode and the touch frequency threshold.
Wherein, after displaying the target information, the processor 610 is further configured to perform the following steps: detecting whether switching operation of switching display contents of the first display screen and the second display screen by a user is received within a third preset time length; and under the condition that the switching operation is received, adjusting the first touch frequency threshold value and the second touch frequency threshold value, and storing the adjusted first touch frequency threshold value and the adjusted second touch frequency threshold value.
When determining the display scenes corresponding to the first display screen and the second display screen according to the display state information, the processor 610 is further configured to perform the following steps: when the first display screen and the second display screen jointly display an interface, determining that the first display screen and the second display screen correspond to a second display scene; and when the first display screen is in a display state and the second display screen is in a screen-off state, determining that the first display screen and the second display screen correspond to a second display scene.
When the display mode of the target information is determined according to the display scene and the target information is displayed, the processor 610 is further configured to perform the following steps: when the first display screen and the second display screen display an interface together, detecting whether an application program corresponding to target information supports a picture-in-picture mode; if so, controlling the first display screen and the second display screen to jointly display an initial interface and an interface corresponding to the target information, wherein the initial interface is displayed in a full screen mode, and the interface corresponding to the target information is displayed in a first preset size at a first preset position of the initial interface; and if not, controlling the first display screen and the second display screen to display the interface corresponding to the target information in a full screen mode.
When the display mode of the target information is determined according to the display scene and the target information is displayed, the processor 610 is further configured to perform the following steps: when the first display screen is in a display state and the second display screen is in a screen-off state, detecting whether an application program corresponding to target information supports a picture-in-picture mode; if so, controlling the first display screen to display an initial interface and an interface corresponding to the target information, wherein the initial interface is displayed in a full screen mode, and the interface corresponding to the target information is displayed in a second preset size at a second preset position of the initial interface; and if not, controlling the first display screen to display the interface corresponding to the target information in a full screen mode.
Therefore, when the target information is received, the display state information of the first display screen and the second display screen is acquired, the corresponding display scene is determined according to the display state information, the display mode of the target information is determined based on the determined display scene and displayed, the characteristics of the double-sided screen can be fully utilized, the display scene is combined, a proper information processing mode is selected when the information is displayed, the information display mode can be enriched, and the use experience of a user is guaranteed while the intelligence of the information display is realized.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 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 610; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 601 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. Further, the radio frequency unit 601 may also communicate with a network and other devices through a wireless communication system.
The terminal device provides the user with wireless broadband internet access through the network module 602, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 can also provide audio output related to a specific function performed by the terminal apparatus 600 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used to receive audio or video signals. The input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphic processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sound, and can process such sound 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 601 in case of the phone call mode.
The terminal device 600 further comprises at least one sensor 605, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the luminance of the display panel 6061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 6061 and/or the backlight when the terminal apparatus 600 is moved to the ear. As one of the motion sensors, the 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 terminal device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 605 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 606 is used to display information input by the user or information provided to the user. The Display unit 606 may include a Display panel 6061, and the Display panel 6061 may be configured by a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 607 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, 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 6071 using a finger, stylus, or any suitable object or accessory). The touch panel 6071 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 610, receives a command from the processor 610, and executes the command. In addition, the touch panel 6071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, the other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 6071 can be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near the touch panel 6071, the touch operation is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although in fig. 6, the touch panel 6071 and the display panel 6061 are two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the terminal device, and this is not limited here.
The interface unit 608 is an interface for connecting an external device to the terminal apparatus 600. 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 608 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal apparatus 600 or may be used to transmit data between the terminal apparatus 600 and an external device.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a program storage area and a data storage area, wherein the program storage 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 609 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 610 is a control center of the terminal device, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 609 and calling data stored in the memory 609, thereby performing overall monitoring of the terminal device. Processor 610 may include one or more processing units; preferably, the processor 610 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 the processor 610.
The terminal device 600 may further include a power supply 611 (such as a battery) for supplying power to various components, and preferably, the power supply 611 may be logically connected to the processor 610 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the terminal device 600 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a terminal device, which includes a processor 610, a memory 609, and a computer program stored in the memory 609 and capable of running on the processor 610, where the computer program, when executed by the processor 610, implements each process of the above-mentioned information display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, 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 above-mentioned information display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted 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.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (16)
1. An information display method is applied to terminal equipment, the terminal equipment comprises a first display screen and a second display screen, and the method is characterized by comprising the following steps:
when target information is received, acquiring display state information of a first display screen and a second display screen;
determining display scenes corresponding to the first display screen and the second display screen according to the display state information;
determining a display mode of the target information according to the display scene, and displaying the target information;
the step of determining the display scenes corresponding to the first display screen and the second display screen according to the display state information includes:
determining that the first display screen and the second display screen correspond to a first display scene when the display contents of the first display screen and the second display screen are the same;
when the first display screen and the second display screen respectively correspond to different display interfaces, determining that the first display screen and the second display screen correspond to a first display scene;
determining that the first display screen and the second display screen correspond to a second display scene when the first display screen and the second display screen jointly display an interface;
when the first display screen is in a display state and the second display screen is in a screen-off state, determining that the first display screen and the second display screen correspond to a second display scene;
the step of determining the display mode of the target information according to the display scene and displaying the target information comprises the following steps:
when the first display screen and the second display screen correspond to a first display scene, acquiring a first display mode corresponding to a first display screen currently operated by a user, and determining a first touch frequency threshold and a second touch frequency threshold corresponding to the first display mode, wherein the first display mode is one of a video mode, a game mode and a static interface mode;
detecting a first touch frequency of a user on the first display screen within a first preset time length;
and determining a display mode of the target information according to the first touch times, the first touch times threshold and the second touch times threshold, and displaying the target information.
2. The information display method according to claim 1, wherein the step of acquiring the display state information of the first display screen and the second display screen when the target information is received, comprises:
when detecting that an application program operated by a foreground receives link information, acquiring display state information of the first display screen and the second display screen; or
When a target application program receives first information, acquiring display state information of the first display screen and the second display screen, wherein the target application program is an application program running in a background.
3. The information display method according to claim 1, wherein the step of determining a display mode of the target information according to the first number of touches, the first number of touches threshold, and the second number of touches threshold, and displaying the target information comprises:
if the first touch frequency is smaller than the first touch frequency threshold value, controlling the first display screen to display an interface corresponding to the target information, and displaying the interface corresponding to the target information in a full screen mode;
if the first touch frequency is larger than or equal to the first touch frequency threshold, detecting a second touch frequency of the user on the second display screen within a second preset time;
if the second touch frequency is smaller than the second touch frequency threshold, controlling the second display screen to display an interface corresponding to the target information, and displaying the interface corresponding to the target information in a full screen mode;
and if the second touch frequency is greater than or equal to the second touch frequency threshold, controlling the second display screen to be switched to a split screen display state, displaying an interface corresponding to the target information in the first split screen, and displaying an initial interface of the second display screen in the second split screen.
4. The information display method according to claim 1, wherein the step of obtaining a first display mode corresponding to a first display screen currently operated by a user and determining a first touch frequency threshold and a second touch frequency threshold corresponding to the first display mode includes:
acquiring an application program operated in the first display screen;
determining a first display mode corresponding to the first display screen according to an interface of an application program running in the first display screen, or searching a first display mode corresponding to the application program running in the first display screen in a preset white list;
and determining the first touch frequency threshold and the second touch frequency threshold corresponding to the first display mode according to a preset corresponding relation between the display mode and the touch frequency threshold.
5. The information display method according to claim 3, further comprising, after displaying the target information:
detecting whether switching operation of switching display contents of the first display screen and the second display screen by a user is received within a third preset time length;
and under the condition that the switching operation is received, adjusting the first touch frequency threshold value and the second touch frequency threshold value, and saving the adjusted first touch frequency threshold value and the adjusted second touch frequency threshold value.
6. The information display method according to claim 1, wherein the step of determining a display mode of the object information according to the display scene and displaying the object information includes:
when the first display screen and the second display screen jointly display an interface, detecting whether an application program corresponding to the target information supports a picture-in-picture mode;
if so, controlling the first display screen and the second display screen to jointly display an initial interface and an interface corresponding to the target information, wherein the initial interface is displayed in a full screen mode, and the interface corresponding to the target information is displayed in a first preset size at a first preset position of the initial interface;
and if not, controlling the first display screen and the second display screen to jointly display the interface corresponding to the target information in a full screen mode.
7. The information display method according to claim 1, wherein the step of determining a display mode of the object information according to the display scene and displaying the object information includes:
when the first display screen is in a display state and the second display screen is in a screen-off state, detecting whether an application program corresponding to the target information supports a picture-in-picture mode;
if so, controlling the first display screen to display an initial interface and an interface corresponding to the target information, wherein the initial interface is displayed in a full screen mode, and the interface corresponding to the target information is displayed in a second preset size at a second preset position of the initial interface;
and if not, controlling the first display screen to display the interface corresponding to the target information in a full screen mode.
8. A terminal equipment, terminal equipment includes first display screen and second display screen, its characterized in that, terminal equipment still includes:
the acquisition module is used for acquiring display state information of the first display screen and the second display screen when target information is received;
the determining module is used for determining display scenes corresponding to the first display screen and the second display screen according to the display state information;
the processing module is used for determining the display mode of the target information according to the display scene and displaying the target information;
the determining module comprises:
the first determining submodule is used for determining that the first display screen and the second display screen correspond to a first display scene when the display contents of the first display screen and the second display screen are the same;
the second determining submodule is used for determining that the first display screen and the second display screen correspond to a first display scene when the first display screen and the second display screen respectively correspond to different display interfaces;
a third determining submodule, configured to determine that the first display screen and the second display screen correspond to a second display scene when the first display screen and the second display screen jointly display an interface;
the fourth determining submodule is used for determining that the first display screen and the second display screen correspond to a second display scene when the first display screen is in a display state and the second display screen is in a screen-off state;
the processing module comprises:
the first processing submodule is used for acquiring a first display mode corresponding to a first display screen currently operated by a user when the first display screen and the second display screen correspond to a first display scene, and determining a first touch frequency threshold value and a second touch frequency threshold value corresponding to the first display mode, wherein the first display mode is one of a video mode, a game mode and a static interface mode;
the first detection submodule is used for detecting the first touch frequency of a user on the first display screen within a first preset time length;
and the second processing submodule is used for determining a display mode of the target information according to the first touch times, the first touch times threshold and the second touch times threshold and displaying the target information.
9. The terminal device of claim 8, wherein the obtaining module comprises:
the first obtaining sub-module is used for obtaining the display state information of the first display screen and the second display screen when detecting that the application program operated by the foreground receives the link information; or
And the second obtaining submodule is used for obtaining the display state information of the first display screen and the second display screen when a target application program receives the first information, wherein the target application program is an application program running in a background.
10. The terminal device of claim 8, wherein the second processing sub-module comprises:
the first processing unit is used for controlling the first display screen to display the interface corresponding to the target information and displaying the interface corresponding to the target information in a full screen mode if the first touch frequency is smaller than the first touch frequency threshold value;
the detection unit is used for detecting a second touch frequency of the user on the second display screen within a second preset time length if the first touch frequency is greater than or equal to the first touch frequency threshold;
the second processing unit is used for controlling the second display screen to display the interface corresponding to the target information and displaying the interface corresponding to the target information in a full screen mode if the second touch frequency is smaller than the second touch frequency threshold value;
and the third processing unit is used for controlling the second display screen to be switched to a split screen display state if the second touch frequency is greater than or equal to the second touch frequency threshold, displaying an interface corresponding to the target information in the first split screen, and displaying an initial interface of the second display screen in the second split screen.
11. The terminal device of claim 8, wherein the first processing sub-module comprises:
the acquisition unit is used for acquiring the application program operated in the first display screen;
a fourth processing unit, configured to determine, according to an interface of an application program running in the first display screen, a first display mode corresponding to the first display screen, or search, in a preset white list, the first display mode corresponding to the application program running in the first display screen;
the determining unit is configured to determine the first touch frequency threshold and the second touch frequency threshold corresponding to the first display mode according to a preset correspondence between a display mode and a touch frequency threshold.
12. The terminal device according to claim 10, further comprising:
the detection module is used for detecting whether switching operation of switching display contents of the first display screen and the second display screen by a user is received within a third preset time after the target information is displayed by the processing module;
and the adjusting module is used for adjusting the first touch frequency threshold and the second touch frequency threshold and saving the adjusted first touch frequency threshold and the adjusted second touch frequency threshold under the condition of receiving the switching operation.
13. The terminal device of claim 8, wherein the processing module comprises:
the second detection submodule is used for detecting whether an application program corresponding to the target information supports a picture-in-picture mode or not when the first display screen and the second display screen jointly display an interface;
the first control sub-module is used for controlling the first display screen and the second display screen to jointly display an initial interface and an interface corresponding to the target information if the first control sub-module supports the first display screen and the second display screen, wherein the initial interface is displayed in a full screen mode, and the interface corresponding to the target information is displayed in a first preset size at a first preset position of the initial interface;
and the second control submodule is used for controlling the first display screen and the second display screen to jointly display the interface corresponding to the target information in a full screen mode if the first display screen and the second display screen do not support.
14. The terminal device of claim 8, wherein the processing module comprises:
the third detection submodule is used for detecting whether an application program corresponding to the target information supports a picture-in-picture mode or not when the first display screen is in a display state and the second display screen is in a screen-off state;
a third control sub-module, configured to control the first display screen to display an initial interface and an interface corresponding to the target information if the first display screen supports the display, where the initial interface is displayed in a full screen mode, and the interface corresponding to the target information is displayed at a second preset position of the initial interface in a second preset size;
and the fourth control sub-module is used for controlling the first display screen to display the interface corresponding to the target information in a full screen mode if the first display screen does not support the interface.
15. A terminal device, characterized by 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 information display method according to any one of claims 1 to 7.
16. 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 information display method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811434006.4A CN109558046B (en) | 2018-11-28 | 2018-11-28 | Information display method and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811434006.4A CN109558046B (en) | 2018-11-28 | 2018-11-28 | Information display method and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109558046A CN109558046A (en) | 2019-04-02 |
CN109558046B true CN109558046B (en) | 2021-01-08 |
Family
ID=65867793
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811434006.4A Active CN109558046B (en) | 2018-11-28 | 2018-11-28 | Information display method and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109558046B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110381213B (en) * | 2019-07-24 | 2021-09-21 | 北京小米移动软件有限公司 | Screen display method and device, mobile terminal and storage medium |
CN111314548A (en) * | 2020-01-19 | 2020-06-19 | 惠州Tcl移动通信有限公司 | Double-screen display method and device, storage medium and terminal |
CN111427646B (en) * | 2020-03-20 | 2023-08-11 | RealMe重庆移动通信有限公司 | Display control method and device, mobile terminal and storage medium |
CN114706640B (en) * | 2022-03-22 | 2024-05-28 | 阿波罗智联(北京)科技有限公司 | Display method, display device, electronic equipment and computer storage medium |
CN115188270A (en) * | 2022-06-30 | 2022-10-14 | 合肥维信诺科技有限公司 | Display module and display device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105334956A (en) * | 2014-08-15 | 2016-02-17 | 联想(北京)有限公司 | Information processing method and electronic device |
CN106201474A (en) * | 2016-06-29 | 2016-12-07 | 努比亚技术有限公司 | A kind of notification message display packing and terminal |
CN106961526A (en) * | 2017-04-13 | 2017-07-18 | 宇龙计算机通信科技(深圳)有限公司 | The display methods and device of notification message, electronic equipment |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108234743A (en) * | 2017-11-24 | 2018-06-29 | 北京珠穆朗玛移动通信有限公司 | Notice reminding method, mobile terminal and device based on double screen |
CN107943367B (en) * | 2017-11-30 | 2021-04-27 | 努比亚技术有限公司 | Interface display method of double-screen terminal, double-screen terminal and computer storage medium |
CN108052368B (en) * | 2017-12-28 | 2019-10-15 | 维沃移动通信有限公司 | A kind of application display interface control method and mobile terminal |
-
2018
- 2018-11-28 CN CN201811434006.4A patent/CN109558046B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105334956A (en) * | 2014-08-15 | 2016-02-17 | 联想(北京)有限公司 | Information processing method and electronic device |
CN106201474A (en) * | 2016-06-29 | 2016-12-07 | 努比亚技术有限公司 | A kind of notification message display packing and terminal |
CN106961526A (en) * | 2017-04-13 | 2017-07-18 | 宇龙计算机通信科技(深圳)有限公司 | The display methods and device of notification message, electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109558046A (en) | 2019-04-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108255378B (en) | Display control method and mobile terminal | |
CN108182043B (en) | Information display method and mobile terminal | |
CN107734175B (en) | Notification message prompting method and mobile terminal | |
CN108509123B (en) | Application program closing method and mobile terminal | |
CN109558046B (en) | Information display method and terminal equipment | |
CN108227996B (en) | Display control method and mobile terminal | |
CN109379484B (en) | Information processing method and terminal | |
CN110196667B (en) | Notification message processing method and terminal | |
CN109407920B (en) | Status icon display method, status icon processing method and related equipment | |
CN111026484A (en) | Application sharing method, first electronic device and computer-readable storage medium | |
CN108897486B (en) | Display method and terminal equipment | |
CN108900695B (en) | Display processing method, terminal equipment and computer readable storage medium | |
CN109710349B (en) | Screen capturing method and mobile terminal | |
CN110990172A (en) | Application sharing method, first electronic device and computer-readable storage medium | |
CN107608606A (en) | A kind of image display method, mobile terminal and computer-readable recording medium | |
CN111078186A (en) | Playing method and electronic equipment | |
CN108196781B (en) | Interface display method and mobile terminal | |
CN111399715B (en) | Interface display method and electronic equipment | |
CN109597546B (en) | Icon processing method and terminal equipment | |
CN108628534B (en) | Character display method and mobile terminal | |
CN110851098A (en) | Video window display method and electronic equipment | |
CN111221602A (en) | Interface display method and electronic equipment | |
CN108089935B (en) | Application program management method and mobile terminal | |
CN107908342B (en) | Method for displaying message and mobile terminal | |
CN111061407B (en) | Video program operation control method, electronic device, and storage medium |
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 |