CN108205411A - Display changeover method and device, terminal - Google Patents
Display changeover method and device, terminal Download PDFInfo
- Publication number
- CN108205411A CN108205411A CN201710945145.2A CN201710945145A CN108205411A CN 108205411 A CN108205411 A CN 108205411A CN 201710945145 A CN201710945145 A CN 201710945145A CN 108205411 A CN108205411 A CN 108205411A
- Authority
- CN
- China
- Prior art keywords
- display pattern
- terminal
- application
- display
- double screen
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
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/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1423—Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
-
- 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/1423—Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
- G06F3/1446—Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display display composed of modules, e.g. video walls
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04803—Split screen, i.e. subdividing the display area or the window area into separate subareas
Abstract
The present invention provides a kind of display changeover method and device, terminal, wherein, this method includes:Obtain the information of the currently running application in terminal foreground and currently running first display pattern of the terminal;Determine the second display pattern that the application is supported;When second display pattern does not include first display pattern, the terminal is switched into second display pattern.By the present invention, solves the technical issues of terminal cannot automatically switch display pattern in the relevant technologies.
Description
Technical field
The present invention relates to the communications field, in particular to a kind of display changeover method and device, terminal.
Background technology
Although terminal is universal, user has more and more requirements for the presentation mode of terminal, and multi-screen terminal
Into the emphasis of research and development, Google or other operating systems continue to optimize the split screen mechanism of oneself, and various applications can be with
It is displayed on the screen in a manner of different display modes.
In the relevant technologies, terminal display mode switching is clicked manually by user or by folding screen (Hall
Sensor) state change control, and these only account for the variation of terminal form or only considered the subjective of user needs
Ask, can not automatic adaptation application attribute, this also causes different application that cannot be in by different display patterns in terminal
Now to user or when user forces switching display pattern, occur showing mistake.
For the above problem present in the relevant technologies, at present it is not yet found that the solution of effect.
Invention content
An embodiment of the present invention provides a kind of display changeover method and device, terminal, at least to solve in the relevant technologies eventually
The technical issues of end cannot automatically switch display pattern.
According to one embodiment of present invention, a kind of display changeover method is provided, including:Terminal foreground is obtained currently to transport
The information of capable application and currently running first display pattern of the terminal;Determine the second display that the application is supported
Pattern;When second display pattern does not include first display pattern, the terminal is switched into second display
Pattern.
Optionally, the information for obtaining the currently running application in terminal foreground includes:Occur in the operating status of the terminal
During variation, the information of the currently running application in terminal foreground is obtained.
Optionally, the operating status of the terminal changes including at least one of:Start application;Close application;
By the application switching of front stage operation to running background;Background application is switched to front stage operation.
Optionally, the information for obtaining the currently running application in terminal foreground includes:In appointing for the current running stack of the terminal
It is engaged in obtaining stack top task in list;The activity components of top are obtained in the stack top task;From the activity groups
The information of corresponding application is obtained in part.
Optionally it is determined that the second display pattern that the application is supported includes:The application branch is determined by black and white lists
The second display pattern held;Wherein, the black and white lists include the display pattern list that one or more application is supported.
Optionally, the method further includes:When second display pattern does not include first display pattern, by institute
It states the first display pattern and is set as display pattern to be restored.
Optionally, after first display pattern is set as display pattern to be restored, the method further includes:
When the operating status of the terminal changes, second display pattern is switched into first display pattern.
Optionally, first display pattern includes at least one of:The span mode of single screen terminal, double screen terminal
Single screen shows that the double screen mirror image of double screen terminal is shown, the double screen tiled display of double screen terminal, the double screen split screen of double screen terminal is shown
Show;Second display pattern includes at least one of:The span mode of single screen terminal, the single screen of double screen terminal is shown, double
Screen terminal double screen mirror image show, the double screen tiled display of double screen terminal, the double screen split screen display available of double screen terminal.
According to another embodiment of the invention, a kind of display switching device is provided, including:Acquisition module, for obtaining
Take the information of the currently running application in terminal foreground and currently running first display pattern of the terminal;Determining module is used
In the second display pattern for determining the application support;Handover module, for not including described the in second display pattern
During one display pattern, the terminal is switched into second display pattern.
Optionally, described device further includes:Setup module, it is aobvious for not including described first in second display pattern
When showing pattern, first display pattern is set as display pattern to be restored.
According to another embodiment of the invention, a kind of terminal is provided, including:Processor and it is stored with the processing
The memory of device executable instruction when described instruction is executed by processor, performs following operation:
Obtain the information of the currently running application in terminal foreground and the currently running first display mould of the terminal
Formula;
Determine the second display pattern that the application is supported;
When second display pattern does not include first display pattern, the terminal is switched to described second and is shown
Show pattern.
According to still another embodiment of the invention, a kind of storage medium is additionally provided.The storage medium is set as storage and uses
In the program code for performing following steps:
Obtain the information of the currently running application in terminal foreground and currently running first display pattern of the terminal;
Determine the second display pattern that the application is supported;
When second display pattern does not include first display pattern, the terminal is switched to described second and is shown
Show pattern.
By the present invention, when the second display pattern that application is supported does not include currently running first display pattern, from
It is dynamic that terminal is switched into the second display pattern.It solves terminal in the relevant technologies and cannot automatically switch the technology of display pattern and ask
Topic, improves user experience, enhances the quality using display, realizes the differentiation applied in display interface.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and forms the part of the application, this hair
Bright illustrative embodiments and their description do not constitute improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is a kind of hardware block diagram of the mobile terminal of display changeover method of the embodiment of the present invention;
Fig. 2 is the flow chart of display changeover method according to embodiments of the present invention;
Fig. 3 is the structure diagram of the double screen terminal of the embodiment of the present invention;
Fig. 4 is the structure diagram of display switching device according to embodiments of the present invention;
Fig. 5 is the structure diagram of terminal according to embodiments of the present invention;
Fig. 6 is the flow diagram for inventing display pattern automatic switching method provided in this embodiment;
Fig. 7 is the flow diagram of display pattern automatic recovery method provided in an embodiment of the present invention.
Specific embodiment
Come that the present invention will be described in detail below with reference to attached drawing and in conjunction with the embodiments.It should be noted that do not conflicting
In the case of, the feature in embodiment and embodiment in the application can be combined with each other.
It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, "
Two " etc. be the object for distinguishing similar, and specific sequence or precedence are described without being used for.
Embodiment 1
The embodiment of the method that the embodiment of the present application one is provided can be in mobile terminal, terminal or similar fortune
It calculates and is performed in device.For running on mobile terminals, Fig. 1 is a kind of movement of display changeover method of the embodiment of the present invention
The hardware block diagram of terminal.It is handled as shown in Figure 1, mobile terminal 10 can include one or more (one is only shown in figure)
Device 102 (processor 102 can include but is not limited to the processing unit of Micro-processor MCV or programmable logic device FPGA etc.),
Memory 104 for storing data and the transmitting device 106 for communication function.Those of ordinary skill in the art can be with
Understand, structure shown in FIG. 1 is only to illustrate, and the structure of above-mentioned electronic device is not caused to limit.For example, mobile terminal 10
It may also include than shown in Fig. 1 more either less components or with the configuration different from shown in Fig. 1.
Memory 104 can be used for the software program and module of storage application software, such as the display in the embodiment of the present invention
Corresponding program instruction/the module of switching method, processor 102 by operation be stored in software program in memory 104 and
Module so as to perform various functions application and data processing, that is, realizes above-mentioned method.Memory 104 may include at a high speed with
Machine memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory or other it is non-easily
The property lost solid-state memory.In some instances, memory 104 can further comprise depositing relative to processor 102 is remotely located
Reservoir, these remote memories can pass through network connection to mobile terminal 10.The example of above-mentioned network is including but not limited to mutual
Networking, intranet, LAN, mobile radio communication and combinations thereof.
Transmitting device 106 is used to receive via a network or transmission data.Above-mentioned network specific example may include
The wireless network that the communication providers of mobile terminal 10 provide.In an example, transmitting device 106 includes a Network adaptation
Device (Network Interface Controller, NIC), can be connected by base station with other network equipments so as to it is mutual
Networking is communicated.In an example, transmitting device 106 can be radio frequency (Radio Frequency, RF) module, use
In wirelessly being communicated with internet.
A kind of display changeover method for running on above-mentioned mobile terminal is provided in the present embodiment, and Fig. 2 is according to this hair
The flow chart of the display changeover method of bright embodiment, as shown in Fig. 2, the flow includes the following steps:
Step S202 obtains the information of the currently running application in terminal foreground and currently running first display of terminal
Pattern;
Step S204 determines the second display pattern that application is supported;
Terminal when the second display pattern does not include the first display pattern, is switched to the second display pattern by step S206.
By above-mentioned steps, when the second display pattern that application is supported does not include currently running first display pattern,
Automatically terminal is switched into the second display pattern.It solves terminal in the relevant technologies and cannot automatically switch the technology of display pattern and ask
Topic, improves user experience, enhances the quality using display, realizes the differentiation applied in display interface.
Optionally, the executive agent of above-mentioned steps can be terminal, such as single screen terminal, double screen terminal, multifrequency terminal etc., but
It is without being limited thereto.
Fig. 3 is the structure diagram of the double screen terminal of the embodiment of the present invention, as shown in figure 3, with S1 and two screens of S2,
Two screens are connected by shaft or other connectors.
Optionally, the second display pattern can be one or more display patterns, be multiple displays in the second display pattern
During pattern, can exist with the mode of list or set.Terminal is switched to any one in the second supported display pattern
Display pattern or one of display pattern is selected according to priority.
Optionally, the information for obtaining the currently running application in terminal foreground includes:It changes in the operating status of terminal
When, the information of the acquisition currently running application in terminal foreground.The operating status of terminal changes may result in and be transported on foreground
Capable application changes, and the display pattern that different applications is supported may be different.
In the present embodiment, the operating status of terminal, which changes, can be, but not limited to as following scene:Start application, close
Application is closed, by the application switching of front stage operation to running background;Background application is switched to front stage operation, returns to homepage, is started
Using unsuccessfully etc..
Optionally, the information for obtaining the currently running application in terminal foreground includes below scheme:
S11 obtains stack top task in the task list of the current running stack of terminal;
S12 obtains the activity components of top in stack top task;
S13 obtains the information of corresponding application from activity components.
Optionally, it can be determined using the second display pattern of support by many factors, if operator is recommended, using category
Property, user preference etc., if operator recommend, for operator promote certain Video Applications, shown under certain pattern,
To make full use of double screen space.It does not support certain display patterns using itself, itself has setting in application, this is by application developer
It determines, for example certain resizeable Activity applied in the Android Manifest of itself are set as false,
Split screen is not supported, when starting under span mode, is needed to switch to single screen mode and is shown, otherwise may result in mistake;
It applies when being run under certain patterns or showing abnormal, added to specific black and white lists, such as certain applications (such as operator
The application of oneself) it is only supported under single mode A and runs, the white list for only supporting list A is added it at this time, it is double in this way
When being run under screen pattern, single mode A operation can be switched to, black and white lists can also be changed by user preference.
Optionally, determine that the second display pattern that application is supported includes:It is determined by black and white lists using second supported
Display pattern;Wherein, black and white lists include the display pattern list that one or more application is supported.It can certainly be by interim
The information of (when such as current application is newly downloaded application) acquisition applications come determine using support the second display pattern, such as
Activity components etc..
Optionally, the present embodiment further includes a kind of restoration methods of display pattern, including:Do not include in the second display pattern
During the first display pattern, the first display pattern is set as display pattern to be restored.It is preferential using scarce during using exiting or is standby
Save display pattern.After the first display pattern is set as display pattern to be restored, method further includes:In the operation shape of terminal
When state changes, the second display pattern is switched into the first display pattern.
Optionally, after terminal is switched to the second display pattern, method further includes:It shows in the second display mode
Using.
In the present embodiment, the first display pattern includes at least one of:The span mode of single screen terminal, double screen terminal
Single screen show that the double screen mirror image of double screen terminal is shown, the double screen tiled display of double screen terminal, the double screen split screen of double screen terminal is shown
Show.Second display pattern includes at least one of:The span mode of single screen terminal, the single screen of double screen terminal show that double screen is whole
The double screen mirror image at end shows, the double screen tiled display of double screen terminal, the double screen split screen display available of double screen terminal.
The single screen of double screen terminal shows that referred to as single mode A refers to, for double screen terminal, only run and show a screen
Curtain, consistent with the display of single screen terminal, the double screen mirror image of double screen terminal is shown, referred to as AA patterns, is referred to for double screen end
End only runs an application, but the content shown is drawn simultaneously in main-auxiliary screen.Main-auxiliary screen shows identical content.Double screen is whole
The double screen tiled display at end, referred to as big mode A refer to, for double screen terminal, only run an application, but main-auxiliary screen splices
Together as a screen display, main-auxiliary screen shows a part for content respectively.The double screen split screen display available of double screen terminal, referred to as
For AB patterns, refer to that for double screen terminal, main-auxiliary screen is separately operable different applications, shows different contents.Certainly, terminal is not
It is only limitted to two screens or more than the terminal of two screens, when more than two screens, only describes and wherein appoint herein
Two screens of meaning, the display mode of other screens are similar.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation
The method of example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but it is very much
In the case of the former be more preferably embodiment.Based on such understanding, technical scheme of the present invention is substantially in other words to existing
The part that technology contributes can be embodied in the form of software product, which is stored in a storage
In medium (such as ROM/RAM, magnetic disc, CD), used including some instructions so that a station terminal equipment (can be mobile phone, calculate
Machine, server or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiment 2
A kind of display switching device is additionally provided in the present embodiment, and terminal is used to implement above-described embodiment and preferred reality
Mode is applied, had carried out repeating no more for explanation.As used below, term " module " can realize the soft of predetermined function
The combination of part and/or hardware.Although following embodiment described device is preferably realized with software, hardware or
The realization of the combination of software and hardware is also what may and be contemplated.
Fig. 4 is the structure diagram of display switching device according to embodiments of the present invention, as shown in figure 4, the device includes:
Acquisition module 40, for obtaining the information of the currently running application in terminal foreground and terminal currently running
One display pattern;
Determining module 42, for determining the second display pattern of application support;
Handover module 44, for when the second display pattern not including the first display pattern, terminal being switched to second and is shown
Show pattern.
Optionally, device further includes:Setup module, for when the second display pattern does not include the first display pattern, inciting somebody to action
First display pattern is set as display pattern to be restored.
Fig. 5 is the structure diagram of terminal according to embodiments of the present invention, as shown in figure 5, this includes:It processor 50 and deposits
The memory 52 of processor-executable instruction is contained, when instruction is executed by processor, performs following operation:
Obtain the information of the currently running application in terminal foreground and currently running first display pattern of terminal;
Determine the second display pattern that application is supported;
When the second display pattern does not include the first display pattern, terminal is switched into the second display pattern.
In the present embodiment, the first display pattern includes at least one of:The span mode of single screen terminal, double screen terminal
Single screen show that the double screen mirror image of double screen terminal is shown, the double screen tiled display of double screen terminal, the double screen split screen of double screen terminal is shown
Show.Second display pattern includes at least one of:The span mode of single screen terminal, the single screen of double screen terminal show that double screen is whole
The double screen mirror image at end shows, the double screen tiled display of double screen terminal, the double screen split screen display available of double screen terminal.
The single screen of double screen terminal shows that referred to as single mode A refers to, for double screen terminal, only run and show a screen
Curtain, consistent with the display of single screen terminal, the double screen mirror image of double screen terminal is shown, referred to as AA patterns, is referred to for double screen end
End only runs an application, but the content shown is drawn simultaneously in main-auxiliary screen.Main-auxiliary screen shows identical content.Double screen is whole
The double screen tiled display at end, referred to as big mode A refer to, for double screen terminal, only run an application, but main-auxiliary screen splices
Together as a screen display, main-auxiliary screen shows a part for content respectively.The double screen split screen display available of double screen terminal, referred to as
For AB patterns, refer to that for double screen terminal, main-auxiliary screen is separately operable different applications, shows different contents.Certainly, terminal is not
It is only limitted to two screens or more than the terminal of two screens, when more than two screens, only describes and wherein appoint herein
Two screens of meaning, the display mode of other screens are similar.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke Yitong
In the following manner realization is crossed, but not limited to this:Above-mentioned module is respectively positioned in same processor;Alternatively, above-mentioned modules are with arbitrary
The form of combination is located in different processors respectively.
Embodiment 3
The present embodiment is the alternative embodiment of the application, for carrying out complete and supplementary explanation to application:
Based on the concrete condition applied at present and the particular/special requirement of operator, double screen terminal support single screen mode (A, it is right
Should be shown in the single screen of double screen terminal), mirror image pattern (A | A is shown corresponding to the double screen mirror image of double screen terminal), mode of extension
(big A, corresponding to the double screen tiled display of double screen terminal) and span mode (A | B is shown corresponding to the double screen split screen of double screen terminal
Show).Current application, especially third-party application, due to applying the limitation of itself, some applications cannot support certain patterns
Display.For example some applications do not account for the display at interface under mode of extension, so as to cause there is similar interface at the interface
The problems such as entanglement.Some apply the resizeable Activity in the Android Manifest of itself to be set as
False, and span mode is not also supported itself in application, positive opening in this mode can apply abnormal.For another example for operation
Certain applications of quotient, can be strictly required and operate in AD HOC.These realities require must have it is a kind of based on application
Double screen pattern automatically switches restoration methods to realize the management for these application processing.And for the terminal of non-double screen, dividing
In the case that screen etc. is there are plurality of display modes, also there is identical demand.And the present situation of third-party application and operation at present
The requirement of quotient has required a kind of mechanism, can be directed to application, carry out the automatic switchover and recovery of display pattern, to ensure to answer
With can be under the pattern that is needed at it of normal operation.
It should be noted that the present embodiment is not limited only to double screen terminal (such as mobile phone), it is other that there is plurality of display modes
Single screen, multi-screen terminal is equally applicable.
It present embodiments provides a kind of display pattern based on application and automatically switches restoration methods and its terminal, when terminal is transported
When row state changes, i.e., when new application is in foreground display operation application change, the attribute letter based on corresponding application
Breath and corresponding black and white lists, judge currently to want whether the application of front stage operation is supported current display pattern and should be answered
With the display pattern for allowing operation.In the case where not supporting current display mode, it is to be restored to record current display pattern
Display pattern, then automatically switch to allow operation target display pattern.When the operating status of terminal changes again
When, i.e., when existing application is no longer at foreground display operation, new foreground application is checked at this time, and the support of such as new foreground application is treated
Restore display pattern, then switch mode, restores to display pattern to be restored.
Through this embodiment, the system of terminal automatically can be adapted to its display pattern supported for application, ensure that
Using can be normal to show with automatic adaptation.Also meeting certain applications needs to want using what the pattern that is particularly shown was shown
It asks.And whole process does not need to artificial intervention, and exiting foreground in the application shows, when other application is shown, and energy
Automatically restore to the display pattern that user switches setting.So as to substantially increase user experience, the quality using display is enhanced,
It is possibly realized but also realizing that differentiation is shown for application.
Scene and inspiration for the present embodiment, including as follows:
Using in order to reach in the case that best display effect has particular requirement to twin display mode:
For example it for certain Video Applications that operator promotes, is shown under big mode A, to make full use of double screen empty
Between.
It does not support certain mode situations using itself, itself has setting in application:
For example certain resizeable Activity applied in the Android Manifest of itself are set as
False does not support split screen, when starting under span mode, automatically switches to single screen mode and shows.
Double screen terminal is applied and is run under certain patterns or show exception, added to specific black and white lists:
For example certain applications (such as application of operator oneself) are only supported under single mode A and run, and are added at this time
To the white list for only supporting list A, when it runs under double screen pattern in this way, single mode A operation can be switched to.
A kind of display pattern automatic switching method based on application is present embodiments provided, Fig. 6 is carried for invention the present embodiment
The step of flow diagram of the display pattern automatic switching method of confession, this method, includes:
Step S601:When terminal running state changes, the information of current foreground operation application is obtained.
The terminal running state, which changes, including but not limited to starts some new application, closes answering for some operation
With the application on some operation foreground is placed in backstage or non-foreground application is replaced in foreground.
The information of the current operation application includes but not limited to restricted information of the application for display pattern, that is, is answering
With the display pattern and the packet name of the application that the application is supported under the setting a property of itself.
The acquisition current foreground operation application message method includes but not limited to:Obtain the task row of current running stack
Table obtains stack top task, and activity, that is, top Activity of top therein are obtained by stack top task.Foundation should
The information of its corresponding application of Activity acquisition of information.
The display pattern includes single screen terminal, plurality of display modes possessed by double screen terminal and multi-screen terminal.
The double screen pattern may include single mode A, AA patterns, big mode A and AB patterns.
The list mode A refers to, for Dual-band Handy Phone, only run and show a screen, the display one of remaining single screen mobile phone
It causes.
The AA patterns refer to, for Dual-band Handy Phone, only run an application, but the content shown is simultaneously in main-auxiliary screen
It draws.Main-auxiliary screen shows identical content.
The big mode A refers to, for Dual-band Handy Phone, only run an application, but main-auxiliary screen is stitched together as one
A screen display, main-auxiliary screen show a part for content respectively.
The AB patterns refer to that for Dual-band Handy Phone, main-auxiliary screen is separately operable different applications, shows different contents.
The automatic switchover recovery of other twin display modes is also included within the scope of the present invention.
For other single screens, the automatic switchover recovery of multi-screen terminal display mode is also included within the scope of the present invention.
Step S602:According to using packet name, by accessing match pattern black and white lists, obtaining should under black and white lists limitation
Using the display pattern of support;
The black and white lists, which provide certain applications, not to be allowed to run under which display pattern.
The black and white lists can be preset in advance, can also provide user simultaneously and carry out oneself setting, and can basis
User is automatically added using the behavior of application.
The black and white lists it is preset in advance, preset application can be given and a large amount of common application is carried out under various display patterns
The test of state, and carry out the configuration of list.
The black and white lists can provide user oneself setting, i.e., what support user will be seen that does not support certain display pattern
List is limited using being added in corresponding limitation list or some application being removed some display.
The black and white lists can be according to user using the behavior of application, i.e. user opens certain application under certain pattern
When there is abnormal automatic capture and automatic addition.
Step S603:Current display mode is obtained, checks whether current foreground application supports current display mode;
The inspection is included by the display pattern of the application support under using the setting a property of itself and in black and white lists
The display pattern that the lower application of limitation is supported carries out and operation, obtains the display pattern list that current application is finally supported.
Described check includes the display pattern list that current application is finally supported being compared with current display mode.Such as
Current display mode is located in the display pattern list that current application is finally supported, then current display mould is supported in current foreground application
Formula.
Described check includes the display pattern list that current application is finally supported being compared with current display mode.Such as
Current display mode is not in the display pattern list that current application is finally supported, then current foreground application is not supported current
Display pattern.Pattern to be automatically switched is obtained from the display pattern list that current application is finally supported.
Step S604:If current display mode is not supported in current foreground application, then it is to be restored to preserve current display mode
Display pattern, calling interface, switching display pattern is to pattern to be automatically switched;
Step S605:Pattern switching is completed, completes to apply the display on foreground in this mode.
A kind of method restored automatically after display pattern based on application automatically switches is present embodiments provided, Fig. 7 is
The step of flow diagram of display pattern automatic recovery method provided in an embodiment of the present invention, this method, includes:
Step S701:When terminal running state changes, the information of current foreground operation application is obtained.And inspection is
No there are display patterns to be restored, and such as there is no restore flow to terminate.
Step S702:According to using packet name, by accessing match pattern black and white lists, obtaining should under black and white lists limitation
Using the display pattern of support;
Step S703:Display pattern to be restored is obtained, checks whether current foreground application supports display mould to be restored
Formula;
The inspection is included by the display pattern of the application support under using the setting a property of itself and in black and white lists
The display pattern that the lower application of limitation is supported carries out and operation, obtains the display pattern list that current application is finally supported.
Described check includes comparing the display pattern list that current application is finally supported and display pattern to be restored
Compared with.If display pattern to be restored is located in the display pattern list that current application is finally supported, then current foreground application is supported
Display pattern to be restored.
Described check includes comparing the display pattern list that current application is finally supported and display pattern to be restored
Compared with.If display pattern to be restored is not in the display pattern list that current application is finally supported, then current foreground application
Display pattern to be restored is not supported.
Step S704:If display pattern to be restored is supported in current foreground application, then display pattern to be restored is emptied, is adjusted
With interface, switching display pattern to display pattern to be restored;
Step S705:Pattern switching is completed, is restored to reset condition, completes to apply the display on foreground.
Scheme through this embodiment can generate following technique effect:System automatically can be adapted to its branch for application
The display pattern held ensure that and apply and can normally be shown with automatic adaptation.Meeting certain applications needs use to be particularly shown
The requirement that pattern is shown.Whole process does not need to artificial intervention, and exiting foreground in the application shows, other application carries out
During display, and the display pattern that user switches setting can be automatically restored to.So as to substantially increase user experience, application is enhanced
The quality of display.To realize that differentiation is shown for application.
Embodiment 4
The embodiment of the present invention additionally provides a kind of storage medium.Optionally, in the present embodiment, above-mentioned storage medium can
To be arranged to store the program code for performing following steps:
S1 obtains the information of the currently running application in terminal foreground and currently running first display pattern of terminal;
S2 determines the second display pattern that application is supported;
Terminal when the second display pattern does not include the first display pattern, is switched to the second display pattern by S3.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only memory (ROM,
Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or
The various media that can store program code such as CD.
Optionally, in the present embodiment, processor is performed according to program code stored in storage medium:
Obtain the information of the currently running application in terminal foreground and currently running first display pattern of terminal;
Determine the second display pattern that application is supported;
When the second display pattern does not include the first display pattern, terminal is switched into the second display pattern.
Optionally, the specific example in the present embodiment can be referred to described in above-described embodiment and optional embodiment
Example, details are not described herein for the present embodiment.
Obviously, those skilled in the art should be understood that each module of the above-mentioned present invention or each step can be with general
Computing device realize that they can concentrate on single computing device or be distributed in multiple computing devices and be formed
Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored
It is performed in the storage device by computing device, and in some cases, it can be to be different from shown in sequence herein performs
The step of going out or describing they are either fabricated to each integrated circuit modules respectively or by multiple modules in them or
Step is fabricated to single integrated circuit module to realize.It to be combined in this way, the present invention is not limited to any specific hardware and softwares.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, that is made any repaiies
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (13)
1. a kind of display changeover method, which is characterized in that including:
Obtain the information of the currently running application in terminal foreground and currently running first display pattern of the terminal;
Determine the second display pattern that the application is supported;
When second display pattern does not include first display pattern, the terminal is switched into the second display mould
Formula.
2. according to the method described in claim 1, it is characterized in that, obtain the packet of the currently running application in terminal foreground
It includes:
When the operating status of the terminal changes, the information of the currently running application in terminal foreground is obtained.
3. according to the method described in claim 2, it is characterized in that, the operating status of the terminal change including with down toward
It is one of few:
Start application;Close application;By the application switching of front stage operation to running background;Background application is switched to foreground fortune
Row.
4. according to the method described in claim 1, it is characterized in that, obtain the packet of the currently running application in terminal foreground
It includes:
Stack top task is obtained in the task list of the current running stack of the terminal;
The activity components of top are obtained in the stack top task;
The information of corresponding application is obtained from the activity components.
5. according to the method described in claim 1, it is characterized in that, determine that the second display pattern that the application is supported includes:
The second display pattern of the application support is determined by black and white lists;
Wherein, the black and white lists include the display pattern list that one or more application is supported.
6. according to the method described in claim 1, it is characterized in that, the method further includes:
When second display pattern does not include first display pattern, first display pattern is set as to be restored
Display pattern.
7. according to the method described in claim 6, it is characterized in that, first display pattern is set as display to be restored
After pattern, the method further includes:
When the operating status of the terminal changes, second display pattern is switched into first display pattern.
8. according to the method described in claim 1, it is characterized in that,
First display pattern includes at least one of:The span mode of single screen terminal, the single screen of double screen terminal is shown, double
Screen terminal double screen mirror image show, the double screen tiled display of double screen terminal, the double screen split screen display available of double screen terminal;
Second display pattern includes at least one of:The span mode of single screen terminal, the single screen of double screen terminal is shown, double
Screen terminal double screen mirror image show, the double screen tiled display of double screen terminal, the double screen split screen display available of double screen terminal.
9. a kind of display switching device, which is characterized in that including:
Acquisition module, for obtaining the information of the currently running application in terminal foreground and the terminal currently running first
Display pattern;
Determining module, for determining the second display pattern of the application support;
Handover module, for when second display pattern does not include first display pattern, the terminal to be switched to
Second display pattern.
10. device according to claim 9, which is characterized in that described device further includes:
Setup module, for when second display pattern does not include first display pattern, mould to be shown by described first
Formula is set as display pattern to be restored.
11. a kind of terminal, which is characterized in that including:
Processor and the memory for being stored with the processor-executable instruction when described instruction is executed by processor, are held
The following operation of row:
Obtain the information of the currently running application in terminal foreground and currently running first display pattern of the terminal;
Determine the second display pattern that the application is supported;
When second display pattern does not include first display pattern, the terminal is switched into the second display mould
Formula.
12. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein, when described program is run
Perform claim requires the method described in any one of 1 to 8.
13. a kind of processor, which is characterized in that the processor is used to run program, wherein, right of execution when described program is run
Profit requires the method described in any one of 1 to 8.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710945145.2A CN108205411A (en) | 2017-09-30 | 2017-09-30 | Display changeover method and device, terminal |
PCT/CN2018/108634 WO2019062912A1 (en) | 2017-09-30 | 2018-09-29 | Display mode switching method and apparatus, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710945145.2A CN108205411A (en) | 2017-09-30 | 2017-09-30 | Display changeover method and device, terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108205411A true CN108205411A (en) | 2018-06-26 |
Family
ID=62603963
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710945145.2A Pending CN108205411A (en) | 2017-09-30 | 2017-09-30 | Display changeover method and device, terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108205411A (en) |
WO (1) | WO2019062912A1 (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109271122A (en) * | 2018-09-03 | 2019-01-25 | 高新兴科技集团股份有限公司 | A kind of document display method based on double-display screen, device and equipment |
CN109327610A (en) * | 2018-09-21 | 2019-02-12 | Oppo(重庆)智能科技有限公司 | Display control method and relevant apparatus |
WO2019062912A1 (en) * | 2017-09-30 | 2019-04-04 | 中兴通讯股份有限公司 | Display mode switching method and apparatus, terminal and storage medium |
CN109710135A (en) * | 2018-12-29 | 2019-05-03 | 努比亚技术有限公司 | Split screen display available control method, terminal and computer readable storage medium |
CN110049181A (en) * | 2019-02-28 | 2019-07-23 | 努比亚技术有限公司 | Using display control method, terminal and computer readable storage medium |
CN110072012A (en) * | 2019-04-28 | 2019-07-30 | 维沃移动通信有限公司 | A kind of based reminding method and mobile terminal for screen state switching |
CN111147659A (en) * | 2019-11-11 | 2020-05-12 | 珠海格力电器股份有限公司 | Display control method and device, electronic equipment and storage medium |
CN112181329A (en) * | 2019-07-04 | 2021-01-05 | 杭州海康威视系统技术有限公司 | Data display method and device |
CN112346685A (en) * | 2020-10-26 | 2021-02-09 | 努比亚技术有限公司 | Screen-off and screen-projection control method and device and computer readable storage medium |
CN112596883A (en) * | 2020-12-25 | 2021-04-02 | 深圳市欢太科技有限公司 | Application switching method and device, storage medium and electronic equipment |
CN112748832A (en) * | 2021-01-19 | 2021-05-04 | 联想(北京)有限公司 | Information processing method, information processing device, electronic equipment and storage medium |
CN114217763A (en) * | 2022-02-22 | 2022-03-22 | 麒麟软件有限公司 | Window double-screen cooperative display method compatible with Android application on Linux |
CN114257670A (en) * | 2022-02-28 | 2022-03-29 | 荣耀终端有限公司 | Display method of electronic equipment with folding screen |
WO2022179390A1 (en) * | 2021-02-27 | 2022-09-01 | 华为技术有限公司 | Tiled display method, electronic device, and system |
CN116954542A (en) * | 2023-09-18 | 2023-10-27 | 荣耀终端有限公司 | Display method and electronic equipment |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101102358A (en) * | 2006-07-07 | 2008-01-09 | 乐金电子(昆山)电脑有限公司 | Processing method for display mode of portable terminal |
US20110157169A1 (en) * | 2009-12-31 | 2011-06-30 | Broadcom Corporation | Operating system supporting mixed 2d, stereoscopic 3d and multi-view 3d displays |
US20140333602A1 (en) * | 2013-05-10 | 2014-11-13 | Jinrong Yang | System and method for managing display power consumption |
CN104679467A (en) * | 2013-11-29 | 2015-06-03 | 联想(北京)有限公司 | Display mode switching method and electronic device |
US20160034059A1 (en) * | 2014-07-31 | 2016-02-04 | Dell Products, Lp | System and Method for Using Single-Display Application Programs on a Multi-Display Device |
CN105446680A (en) * | 2015-11-11 | 2016-03-30 | 上海斐讯数据通信技术有限公司 | Screen mirroring and extension methods and systems and terminal device |
CN106502647A (en) * | 2016-09-27 | 2017-03-15 | 深圳市金立通信设备有限公司 | A kind of method of split screen application compatible processing and terminal |
CN106648694A (en) * | 2016-12-30 | 2017-05-10 | 深圳超多维科技有限公司 | Display switching method, device, electronic device and computer readable storage medium |
CN107102800A (en) * | 2017-03-28 | 2017-08-29 | 联想(北京)有限公司 | The display methods of message and the electronic equipment for showing message |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108205411A (en) * | 2017-09-30 | 2018-06-26 | 中兴通讯股份有限公司 | Display changeover method and device, terminal |
-
2017
- 2017-09-30 CN CN201710945145.2A patent/CN108205411A/en active Pending
-
2018
- 2018-09-29 WO PCT/CN2018/108634 patent/WO2019062912A1/en active Application Filing
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101102358A (en) * | 2006-07-07 | 2008-01-09 | 乐金电子(昆山)电脑有限公司 | Processing method for display mode of portable terminal |
US20110157169A1 (en) * | 2009-12-31 | 2011-06-30 | Broadcom Corporation | Operating system supporting mixed 2d, stereoscopic 3d and multi-view 3d displays |
US20140333602A1 (en) * | 2013-05-10 | 2014-11-13 | Jinrong Yang | System and method for managing display power consumption |
CN104679467A (en) * | 2013-11-29 | 2015-06-03 | 联想(北京)有限公司 | Display mode switching method and electronic device |
US20160034059A1 (en) * | 2014-07-31 | 2016-02-04 | Dell Products, Lp | System and Method for Using Single-Display Application Programs on a Multi-Display Device |
CN105446680A (en) * | 2015-11-11 | 2016-03-30 | 上海斐讯数据通信技术有限公司 | Screen mirroring and extension methods and systems and terminal device |
CN106502647A (en) * | 2016-09-27 | 2017-03-15 | 深圳市金立通信设备有限公司 | A kind of method of split screen application compatible processing and terminal |
CN106648694A (en) * | 2016-12-30 | 2017-05-10 | 深圳超多维科技有限公司 | Display switching method, device, electronic device and computer readable storage medium |
CN107102800A (en) * | 2017-03-28 | 2017-08-29 | 联想(北京)有限公司 | The display methods of message and the electronic equipment for showing message |
Cited By (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019062912A1 (en) * | 2017-09-30 | 2019-04-04 | 中兴通讯股份有限公司 | Display mode switching method and apparatus, terminal and storage medium |
CN109271122A (en) * | 2018-09-03 | 2019-01-25 | 高新兴科技集团股份有限公司 | A kind of document display method based on double-display screen, device and equipment |
CN109327610A (en) * | 2018-09-21 | 2019-02-12 | Oppo(重庆)智能科技有限公司 | Display control method and relevant apparatus |
CN109710135A (en) * | 2018-12-29 | 2019-05-03 | 努比亚技术有限公司 | Split screen display available control method, terminal and computer readable storage medium |
CN110049181A (en) * | 2019-02-28 | 2019-07-23 | 努比亚技术有限公司 | Using display control method, terminal and computer readable storage medium |
CN110072012B (en) * | 2019-04-28 | 2021-11-09 | 维沃移动通信有限公司 | Reminding method for screen state switching and mobile terminal |
CN110072012A (en) * | 2019-04-28 | 2019-07-30 | 维沃移动通信有限公司 | A kind of based reminding method and mobile terminal for screen state switching |
CN112181329A (en) * | 2019-07-04 | 2021-01-05 | 杭州海康威视系统技术有限公司 | Data display method and device |
CN112181329B (en) * | 2019-07-04 | 2023-08-04 | 杭州海康威视系统技术有限公司 | Data display method and device |
CN111147659A (en) * | 2019-11-11 | 2020-05-12 | 珠海格力电器股份有限公司 | Display control method and device, electronic equipment and storage medium |
CN112346685B (en) * | 2020-10-26 | 2022-07-01 | 努比亚技术有限公司 | Screen-off and screen-projection control method and device and computer readable storage medium |
CN112346685A (en) * | 2020-10-26 | 2021-02-09 | 努比亚技术有限公司 | Screen-off and screen-projection control method and device and computer readable storage medium |
CN112596883A (en) * | 2020-12-25 | 2021-04-02 | 深圳市欢太科技有限公司 | Application switching method and device, storage medium and electronic equipment |
CN112596883B (en) * | 2020-12-25 | 2023-10-24 | 深圳市欢太科技有限公司 | Application switching method and device, storage medium and electronic equipment |
CN112748832A (en) * | 2021-01-19 | 2021-05-04 | 联想(北京)有限公司 | Information processing method, information processing device, electronic equipment and storage medium |
US11907599B2 (en) | 2021-01-19 | 2024-02-20 | Lenovo (Beijing) Limited | Information processing method, apparatus, electronic device, and storage medium |
WO2022179390A1 (en) * | 2021-02-27 | 2022-09-01 | 华为技术有限公司 | Tiled display method, electronic device, and system |
CN114217763A (en) * | 2022-02-22 | 2022-03-22 | 麒麟软件有限公司 | Window double-screen cooperative display method compatible with Android application on Linux |
CN114217763B (en) * | 2022-02-22 | 2022-05-20 | 麒麟软件有限公司 | Window double-screen cooperative display method compatible with Android application on Linux |
CN114257670A (en) * | 2022-02-28 | 2022-03-29 | 荣耀终端有限公司 | Display method of electronic equipment with folding screen |
CN116954542A (en) * | 2023-09-18 | 2023-10-27 | 荣耀终端有限公司 | Display method and electronic equipment |
CN116954542B (en) * | 2023-09-18 | 2024-03-08 | 荣耀终端有限公司 | Display method and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
WO2019062912A1 (en) | 2019-04-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108205411A (en) | Display changeover method and device, terminal | |
CN104317620A (en) | Multi-screen sharing based application management method and device | |
CN105912421A (en) | Backup method and device for storing data in mobile terminals, mobile terminals and terminals | |
CN101009881B (en) | Method for displaying background image in mobile communication terminal | |
CN108039969A (en) | Network method of automatic configuration, device, system, storage medium and object-computer | |
CN104424333A (en) | Method and system for loading table data | |
CN108319151A (en) | Control method, device, system, mobile terminal and the storage medium of household appliance | |
CN106210023B (en) | Virtual SIM card synchronous management method and terminal | |
CN110062366A (en) | Bluetooth pairing abnormality eliminating method, equipment, storage medium and device | |
CN101335945A (en) | Method and apparatus for wall paper switching | |
CN105930191A (en) | System service reloading method and apparatus | |
CN106951220A (en) | The method and apparatus of data processing | |
CN113434105A (en) | Screen projection control method and device, storage medium and electronic equipment | |
CN110913013A (en) | Multi-screen interaction method and system | |
CN105981416B (en) | The method for managing several profiles in safety element | |
CN109219070B (en) | Supplementary service configuration method and device and electronic equipment | |
CN108462984A (en) | A kind of method and terminal carrying out access network management | |
CN105812178B (en) | A kind of terminal staging method and terminal | |
CN114816308B (en) | Information partition display method and related equipment | |
CN104980880B (en) | Communication device and communication means | |
CN109981365A (en) | Data decryptor method, apparatus, user equipment and storage medium | |
CN113398595A (en) | Scene resource updating method and device, storage medium and electronic device | |
CN108476036B (en) | Communication apparatus, communication method, and communication system | |
CN107861747A (en) | Product renewing method, equipment and computer-readable recording medium | |
CN104615678A (en) | Real-time cooperative bitmap graph editing system |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180626 |