CN106502608A - Display methods, device and terminal device - Google Patents
Display methods, device and terminal device Download PDFInfo
- Publication number
- CN106502608A CN106502608A CN201610912729.5A CN201610912729A CN106502608A CN 106502608 A CN106502608 A CN 106502608A CN 201610912729 A CN201610912729 A CN 201610912729A CN 106502608 A CN106502608 A CN 106502608A
- Authority
- CN
- China
- Prior art keywords
- display device
- matrix
- resolution ratio
- pixel
- resolution
- 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.)
- Granted
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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1407—General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
- G06F1/3215—Monitoring of peripheral devices
- G06F1/3218—Monitoring of peripheral devices of display devices
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The invention discloses a kind of display methods, device and terminal device, methods described includes:Receive display resolution switching command;According to the resolution ratio in display resolution switching command, the more mapping relations between the resolution ratio of the resolution ratio of new logic display device and main display device;Mapping relations after according to renewal, by content to be shown in logic display device, map to main display device;Content to be shown in main display device is shown.The embodiment of the present invention in the resolution ratio of toggle screen, without the need for reboot operation system, it is possible to complete the renewal of the resolution ratio of screen, and according to renewal after resolution ratio shown;It is easy to the resolution ratio of user's switching at runtime screen, to better meet the different demands of user, so as to lift the experience of user.
Description
Technical field
The present invention relates to terminal device display technology field, sets more particularly, to a kind of display methods, device and terminal
Standby.
Background technology
With terminal devices such as the development and the progress of science and technology of society, smart mobile phone, panel computer and electronic readers
Through widely available.
Operating system, such as Android (Android) system is usually mounted with these terminal devices.Also pacify in terminal device
Multiple applications are housed.During application operation, it usually needs display window, for man-machine interaction or the result for showing application process etc.
Deng.
The screen of different terminal equipment can support different resolution ratio, such as 2560 × 1440 (being commonly called as 2K screens), 1080P
Or 720P etc..In the primary framework runnings of Android, the resolution ratio of screen immobilizes.At present, the existing terminal in part sets
Standby can be with the switching of support screen resolution ratio.A kind of existing resolution ratio switching display methods includes:Receive screen resolution
After switching command, reboot operation system is re-set as screen resolution after the resolution ratio that user specifies, according to resetting
Resolution ratio shown.
However, the resolution ratio switching display methods of existing screen, in the resolution ratio of toggle screen, needs reboot operation
System, just can complete resetting for resolution ratio, make troubles to user, reduce the experience of user.
Content of the invention
In view of the above problems, the present invention proposes a kind of display methods, device and terminal device, need not restart behaviour
In the case of making system, the switching of resolution ratio is carried out, so as to lift the experience of user.
In a first aspect, a kind of display methods based on resolution ratio switching at runtime in the embodiment of the present invention, is provided, including:
Receive display resolution switching command;
According to the resolution ratio in display resolution switching command, the more resolution ratio of new logic display device and main display device
Resolution ratio between mapping relations;
Mapping relations after according to renewal, by content to be shown in logic display device, map to main display device;
Content to be shown in main display device is shown.
In conjunction with a first aspect, the present invention in the first implementation of first aspect according to display resolution switching command
In resolution ratio, the more mapping relations between the resolution ratio of the resolution ratio of new logic display device and main display device, including:
According to the resolution ratio in display resolution switching command, pixel-matrix and the main display device to logic display device
Pixel-matrix between display device transformation matrix be updated;Wherein, first display device transformation matrix is default.
In conjunction with a first aspect, the present invention is in second implementation of first aspect, referred to according to display resolution switching
Resolution ratio in order, the more mapping relations between the resolution ratio of the resolution ratio of new logic display device and main display device, including:
Pixel-matrix according to the resolution ratio in display resolution switching command and logic display device is set with main display
Default display device transformation matrix between standby pixel-matrix, updates global change's matrix;So that the picture of logic display device
Vegetarian refreshments battle array, the pixel after the global change's matrixing after display device transformation matrix and renewal, with main display device
Dot matrix is consistent;Wherein, first global change's matrix is default.
In conjunction with the first implementation of first aspect, of the invention in the third implementation of first aspect, according to
Mapping relations after renewal, by content to be shown in logic display device, map to main display device, including:
Display device transformation matrix after according to renewal, by the pixel comprising content to be shown of logic display device
Battle array, is mapped in the pixel-matrix of main display device.
In conjunction with second implementation of first aspect, of the invention in the 4th kind of implementation of first aspect, according to
Mapping relations after renewal, by content to be shown in logic display device, map to main display device, including:
According to the global change's matrix after default display device transformation matrix and renewal, to logic display device
Pixel-matrix comprising content to be shown enters after line translation, is mapped in the pixel-matrix of main display device.
In conjunction with any one implementation in first to fourth kind of implementation of first aspect or first aspect, the present invention exists
In 5th kind of implementation of first aspect, if receiving the window resolution switching command of the application widget for operation,
Update the mapping relations between the resolution ratio of the application widget and the resolution ratio of logic display device.
In conjunction with the 5th kind of implementation of first aspect, the present invention is updated in the 6th kind of implementation of first aspect should
Mapping relations between the resolution ratio of the resolution ratio of application widget and logic display device, including:
According to the resolution ratio in window resolution switching command, pixel-matrix and the logic display device to application widget
Window transform matrix between pixel-matrix is updated;Wherein, first window transform matrix is default.
In conjunction with the 6th kind of implementation of first aspect, of the invention in the 7th kind of implementation of first aspect, according to
Between the pixel-matrix of the resolution ratio in window resolution switching command, the pixel-matrix to application widget and logic display device
Window transform matrix be updated, including:
Pixel-matrix and logic display device according to resolution ratio and application widget in window resolution switching command
Pixel-matrix between current window transformation matrix, determine compatible conversion matroid;So that being referred to window resolution switching
Pixel-matrix of the resolution ratio in order as the application widget of resolution ratio, through current window transformation matrix and compatible transformation classes
After matrixing, consistent with the pixel-matrix of logic display device;
According to the compatible conversion matroid that determines, current window transformation matrix is updated.
In conjunction with first aspect the 3rd or the 4th kind of implementation, in the 8th kind of implementation of first aspect, according to
Mapping relations after renewal, content to be shown in logic display device, before mapping to main display device, also includes:
For the application widget that each runs, according to the pixel of the pixel-matrix and logic display device of the application widget
Window transform matrix between battle array, by the pixel-matrix comprising content to be shown of the application widget, is mapped to logic and shows
In the pixel-matrix of equipment;And
Mapping relations after according to renewal, by content to be shown in logic display device, map to main display device it
Afterwards, also include:
Position, size and lamination order according to each application widget, determines the pixel-matrix for being mapped to main display device
In each application widget pixel-matrix viewing area;Split is carried out to each viewing area so that the viewing area after split
Pixel-matrix without departing from main logic display device.
In conjunction with first aspect or the 5th kind of implementation of first aspect, in the 9th kind of implementation of first aspect,
When the electricity of this equipment is detected less than given threshold, generate the display resolution switching command for carrying the resolution ratio after reducing
And/or window resolution switching command.
Second aspect, embodiments provides a kind of display device, and the display device has realizes above-mentioned first party
The function of display methods behavior in face.The function can be realized by hardware, it is also possible to execute corresponding software reality by hardware
Existing.Hardware or software include one or more modules corresponding with above-mentioned functions.
In a possible design, the structure of display device includes:
Resolution ratio Switching command receiver module, for receiving display resolution switching command;
Mapping relations update module, for according to the resolution ratio in display resolution switching command, more new logic shows and sets
Mapping relations between the resolution ratio of standby resolution ratio and main display device;
Content map module to be shown, for the mapping relations after according to renewal, will be to be shown in logic display device
Content, map to main display device;
Display module, for showing to content to be shown in main display device.
In conjunction with second aspect, in the first implementation of second aspect, mapping relations update module is used for according to aobvious
Show the resolution ratio in resolution ratio switching command, between the pixel-matrix to the pixel-matrix and main display device of logic display device
Display device transformation matrix be updated;Wherein, first display device transformation matrix is default.
In conjunction with second aspect, in second implementation of second aspect, mapping relations update module is used for according to aobvious
Show the pixel-matrix of resolution ratio in resolution ratio switching command and logic display device and main display device pixel-matrix it
Between default display device transformation matrix, update global change matrix;So that the pixel-matrix of logic display device, through showing
After global change's matrixing after device transform matrix and renewal, consistent with the pixel-matrix of main display device;Wherein,
First global change's matrix is default.
In conjunction with the first implementation of second aspect, in the third implementation of second aspect, content to be shown
Mapping block be used for according to renewal after display device transformation matrix, by the picture comprising content to be shown of logic display device
Vegetarian refreshments battle array, is mapped in the pixel-matrix of main display device.
In conjunction with second implementation of second aspect, in the 4th kind of implementation of second aspect, to be shown is interior
Holding mapping block is used for, according to the global change's matrix after default display device transformation matrix and renewal, showing logic
The pixel-matrix comprising content to be shown of equipment enters after line translation, is mapped in the pixel-matrix of main display device.
In conjunction with any one implementation in first to fourth kind of implementation of second aspect or second aspect, in second aspect
The 5th kind of implementation in, if resolution ratio Switching command receiver module is additionally operable to receive the window of the application widget for operation
Mouth resolution ratio switching command, then forward the window resolution switching command for application widget;And
After mapping relations update module is additionally operable to receive the window resolution switching command for application widget, updating should
Mapping relations between the resolution ratio of the resolution ratio of application widget and logic display device.
In conjunction with the 5th kind of implementation of second aspect, in the 6th kind of implementation of second aspect, mapping relations are more
New module is specifically for according to the resolution ratio in window resolution switching command, showing to the pixel-matrix and logic of application widget
Window transform matrix between the pixel-matrix of equipment is updated;Wherein, first window transform matrix is default.
In conjunction with the 6th kind of implementation of second aspect, in the 7th kind of implementation of second aspect, mapping relations are more
New module is shown with logic specifically for the pixel-matrix according to resolution ratio and application widget in window resolution switching command
Show the current window transformation matrix between the pixel-matrix of equipment, determine compatible conversion matroid;So that with window resolution
Pixel-matrix of the resolution ratio in switching command as the application widget of resolution ratio, through current window transformation matrix and compatibility
After transformation classes matrixing, consistent with the pixel-matrix of logic display device;According to the compatible conversion matroid that determines, update
Current window transformation matrix.
The third or the 4th kind of implementation in conjunction with second aspect, in the 8th kind of implementation of second aspect, treats
The content map module of display is additionally operable to the mapping relations after according to renewal, and content to be shown in logic display device is reflected
Before being incident upon main display device, for the application widget that each runs, pixel-matrix and the logic according to the application widget shows
Window transform matrix between the pixel-matrix of equipment, the pixel-matrix comprising content to be shown of the application widget reflects
It is mapped in the pixel-matrix of logic display device;And the mapping relations after according to renewal, will wait to show in logic display device
The content that shows, after mapping to main display device, mapping is determined in position, size and lamination order according to each application widget
The viewing area of the pixel-matrix of each application widget in the pixel-matrix of main display device;Each viewing area is spelled
Close so that pixel-matrix of the viewing area after split without departing from main logic display device.
In conjunction with second aspect or the 5th kind of implementation of second aspect, in the 9th kind of implementation of second aspect,
When resolution ratio Switching command receiver module is additionally operable to detect the electricity of this equipment less than given threshold, generate after carrying reduction
After the display resolution switching command or window resolution switching command of resolution ratio, send to mapping relations update module.
The third aspect, embodiments provides a kind of terminal device, and the terminal device has realizes above-mentioned first party
The function of display methods behavior in face.The function can be realized by hardware, it is also possible to execute corresponding software by hardware
Realize.The hardware or software include one or more modules corresponding with above-mentioned functions.
In a possible design, the structure of terminal device includes:Touch-sensitive display, one or more processors,
Memory and one or more application programs, wherein one or more application programs be stored in memory and be configured to by
One or more processors are executed, and one or more application programs are configured to:
Receive display resolution switching command;
According to the resolution ratio in the display resolution switching command, resolution ratio and the master of the logic display device is updated
Mapping relations between the resolution ratio of display device;
The mapping relations after according to renewal, content to be shown in the logic display device is mapped to described
Main display device;
Content to be shown in the main display device is shown.
Fourth aspect, embodiments provides a kind of computer-readable storage medium, above-mentioned based on resolution for saving as
Computer software instructions used by the display device of rate switching at runtime, it is dynamic based on resolution ratio which includes for executing above-mentioned aspect
Program designed by the display device of state switching.
In sum, relative to prior art, the scheme that the present invention is provided, resolution ratio of the terminal device in toggle screen
When, without the need for reboot operation system, it is possible to according to the display resolution switching command for receiving, the resolution ratio to logic display device
And its be updated with the mapping relations between the resolution ratio of main display device;And then according to renewal after mapping relations, will patrol
Collect content map to be shown in display device to be shown to main display device.It can be seen that, the embodiment of the present invention can be supported to use
The resolution ratio of family more advantageously switching at runtime screen, to better meet the different demands of user;Such as user is in viewing sense
During the program of interest, higher resolution ratio can be switched to lift the quality (such as sophistication) of program pictures;For another example terminal
When equipment electricity is low, user can be switched to relatively low resolution ratio to save electricity, extend the cruising time of terminal device;From
And lift the experience of user.
Closer, in the embodiment of the present invention, even if the figure layer of the window of different applications is set to different dividing
Resolution, it is also possible to normalize the resolution ratio of the figure layer of each window, and unification is mapped to logic display device, and then be mapped to main aobvious
Show that equipment room shows.The difference in size of the display content of zones of different on screen can be prevented excessive, be conducive to display content
Size is consistent or suitable ratio, carries out again the number of times of zoom focusing to reduce the different display contents of human eye viewing,
Reduce people's kopiopia, lift the experience of user.
Additionally, in the embodiment of the present invention, when the electricity of terminal device is less than given threshold, reduction logic shows and sets automatically
And/or the resolution ratio of application widget, due to reducing pixel, it is possible to reduce corresponding amount of calculation, reduce the work of terminal device
Make load, save electric quantity consumption, extend cruising time.
The aspects of the invention or other in terms of can more straightforward in the following description.
Description of the drawings
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below will be to making needed for embodiment description
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those skilled in the art, on the premise of not paying creative work, can be other attached to be obtained according to these accompanying drawings
Figure.
Fig. 1 a show the schematic flow sheet of the display methods of the embodiment of the present invention;
Fig. 1 b are shown between the resolution ratio of the logic display device of the embodiment of the present invention and the resolution ratio of main display device
Mapping relations update method an example schematic diagram;
Fig. 2 shows the block schematic illustration of the internal structure of the display device of the embodiment of the present invention;
Fig. 3 shows the internal structure block diagram of the terminal device of the embodiment of the present invention.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention in
Accompanying drawing, to the embodiment of the present invention in technical scheme be clearly and completely described.
In some flow processs of description in description and claims of this specification and above-mentioned accompanying drawing, contain according to
Multiple operations that particular order occurs, but it should be clearly understood that these operations can not be according to the suitable of its appearance herein
Executing or executed in parallel, sequence number such as 101,102 of operation etc. is only used for distinguishing each different operation, sequence number sequence
Any execution sequence is not represented itself.In addition, these flow processs can include more or less of operation, and these operations can
To execute in order or executed in parallel.It should be noted that " first ", " second " herein etc. description, be for distinguish not
Message together, equipment, module etc., do not represent sequencing, and it is different types also not limit " first " and " second ".
Accompanying drawing in below in conjunction with the embodiment of the present invention, to the embodiment of the present invention in technical scheme carry out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiment.It is based on
Embodiment in the present invention, the every other enforcement obtained under the premise of creative work is not made by those skilled in the art
Example, belongs to the scope of protection of the invention.
Those skilled in the art of the present technique are appreciated that " terminal " used herein above, " terminal device " had both included wireless communication
The equipment of number receiver, which only possesses the equipment of the wireless signal receiver of non-emissive ability, includes again receiving and transmitting hardware
Equipment, which has the equipment of the reception that on bidirectional communication link, can carry out two-way communication and transmitting hardware.This equipment
Can include:Honeycomb or other communication equipments, its have single line display or multi-line display or show without multi-line
The honeycomb of device or other communication equipments;PCS (Personal Communications Service, PCS Personal Communications System), which can
With combine voice, data processing, fax and/or its communication ability;PDA (Personal Digital Assistant, personal
Digital assistants), which can include radio frequency receiver, pager, the Internet/intranet access, web browser, notepad, day
Go through and/or GPS (Global Positioning System, global positioning system) receiver;Conventional laptop and/or palm
Type computer or other equipment, its have and/or conventional laptop and/or palmtop computer including radio frequency receiver or its
His equipment." terminal " used herein above, " terminal device " they can be portable, can transport, installed in the vehicles (aviation,
Sea-freight and/or land) in, or be suitable for and/or be configured in local runtime, and/or with distribution form, operate in the earth
And/or any other position operation in space." terminal " used herein above, " terminal device " can also be communication terminal, on
Network termination, music/video playback terminal, for example, can be PDA, MID (Mobile Internet Device, mobile Internet
Equipment) and/or the equipment such as mobile phone, or intelligent television with music/video playing function, Set Top Box.
In the embodiment of the present invention, terminal device receives display resolution switching command;According to display resolution switching command
In resolution ratio, the more mapping relations between the resolution ratio of the resolution ratio of new logic display device and main display device;According to more
Mapping relations after new, by content to be shown in logic display device, map to main display device;To treating in main display device
The content of display is shown.It can be seen that, in the embodiment of the present invention, without the need for reboot operation system, it is possible to complete the resolution of screen
The renewal of rate, and according to renewal after resolution ratio shown;It is easy to the resolution ratio of user's switching at runtime screen, with preferably full
The different demands of sufficient user;Such as user can be switched to higher resolution ratio with lifting section when program interested is watched
The quality (such as sophistication) of mesh picture;For another example when terminal device electricity is low, user can be switched to relatively low resolution ratio with
Electricity is saved, extends the cruising time of terminal device;So as to lift the experience of user.
The technical scheme of the embodiment of the present invention is specifically introduced below in conjunction with the accompanying drawings.
In embodiments of the present invention, operating system includes the operating system with the kernel of (SuSE) Linux OS as kernel.This
The operating system of inventive embodiments can be traditional (SuSE) Linux OS or Unix operating systems, or base
In the operating system that (SuSE) Linux OS is derived, such as android system, Ubuntu systems or Meego systems etc..
Embodiments provide a kind of display methods, the schematic flow sheet of the method as shown in Figure 1a, including following
Step:
S101:Receive display resolution switching command.
In the embodiment of the present invention, the operating system of terminal device provides multiple resolution ratio and selects switching for user.For example, grasp
After receiving the selection operation of screen resolution selection interface of user as system, display screen resolution selection interface, and
Show multiple default screen resolutions in the interface;After user is received for the selection operation of some screen resolution,
Determine and receive the display resolution switching command for carrying the resolution ratio.
For another example, operating system by screen resolution selection interface, differentiate by the self-defining screen for receiving user input
After rate, determine and receive the display resolution switching command for carrying the resolution ratio.
It is preferred that the highest physics of default screen resolution or user-defined screen resolution, not higher than screen
Resolution ratio.For example, the highest physical resolution of screen is 2560 × 1440, then default screen resolution or user-defined
Screen resolution can include:2560 × 1440,1080P, 720P or 480P etc., but 2560 × 1440 scope can not be exceeded.
More excellent, operating application generally needs to show at least one application widget.If receiving for application widget
Window resolution switching command, then update the mapping between the resolution ratio of the application widget and the resolution ratio of logic display device
Relation.Wherein, the generating mode of window resolution switching command is similar with the generating mode of above-mentioned screen resolution switching command,
Repeat no more.
Specifically, after receiving the window resolution switching command for application widget, referred to according to window resolution switching
Resolution ratio in order, enters to the window transform matrix between the pixel-matrix of the pixel-matrix and logic display device of application widget
Row updates;Wherein, first window transform matrix is default.
More excellent, when the electricity for detecting this equipment is less than given threshold, according to screen current resolution, generates and carry
The display resolution switching command of the resolution ratio after reduction;And/or, according to the current resolution ratio of the application widget of operation application,
Generate the window resolution switching command for carrying the resolution ratio after reducing.
S102:Mapping relations more between the resolution ratio of the resolution ratio of new logic display device and main display device.
After terminal device receives display resolution switching command in above-mentioned steps, in this step, aobvious from received
Show the resolution ratio for parsing in resolution ratio switching command that the instruction is carried.
It is preferred that the resolution ratio for parsing is delivered to HAL (Hardware Abstraction Layer, hardware abstraction
Layer);By the correlation module of HAL layers, using the resolution ratio for parsing as to be switched resolution ratio, joined by default toggle screen
Several API, is delivered in the display driving after improving;Driven by the display after improving and subsequently grasped according to the resolution ratio for receiving
Make.
After terminal device parses the resolution ratio in display resolution switching command, can be patrolled to update using multiple methods
Collect the mapping relations between the resolution ratio and the resolution ratio of main display device of display device.
A kind of update method of the mapping relations between the resolution ratio of logic display device and the resolution ratio of main display device
Including:According to the resolution ratio in display resolution switching command, pixel-matrix and the main display device to logic display device
Display device transformation matrix between pixel-matrix is updated;Wherein, first display device transformation matrix is default.
It is preferred that the default resolution of logic display device, identical with the resolution ratio of main display device;Therefore, logic shows
Show the pixel-matrix of the acquiescence of equipment, the pixel-matrix with main display device is consistent, can preset accordingly first complete
Office's transformation matrix.
The renewal side of the mapping relations between the resolution ratio of another kind of logic display device and the resolution ratio of main display device
Method includes:Pixel-matrix according to the resolution ratio in display resolution switching command and logic display device is set with main display
Default display device transformation matrix between standby pixel-matrix, updates global change's matrix;So that the picture of logic display device
Vegetarian refreshments battle array, the pixel after the global change's matrixing after display device transformation matrix and renewal, with main display device
Dot matrix is consistent;Wherein, first global change's matrix is default.
For example, Fig. 1 b are the mapping pass between the resolution ratio of another kind of logic display device and the resolution ratio of main display device
The schematic diagram of one example of the update method of system.As shown in Figure 1 b, it is globalTR matrixes to introduce global change's matrix, finally
Conversion is as follows.
In above-mentioned formula 1 and 2, (layerX, layerY) represents that the position of application widget, (layerW, layerH) represent
Application widget width and height;LayerTR represents the window transform matrix between application widget and logic display device;
DisplayDeviceTR represents the display device transformation matrix between logic display device and main display device;(screenX,
ScreenY) application widget is represented in the display location of screen, and (screenW, screenH) represents application widget in the aobvious of screen
Show width and height.
If M=displayDeviceTR × layerTR, N=globalTR × M, is eventually arranged N matrix to GPU
(Graphics Processing Unit, GPU) or MDP (Mobile Display Process, mobile aobvious
Show process) unit.SurfaceFlinger (outward appearance throwing arm) joins to showing when the synthesis of multiple application widgets is subsequently carried out
Several calculating uses must be Metzler matrix.
In the embodiment of the present invention, main display device (or logic display device) in terminal device is abstract for corresponding
Device file;Calling or ginseng to main display device (or logic display device) to main display device (or logic display device)
Several operations, is converted into the operation to parameter in main display device (or logic display device) corresponding device file or file.
More excellent, if above-mentioned steps receive the window resolution switching command of the application for operation, in this step,
Update the mapping relations between the resolution ratio of the application widget and the resolution ratio of logic display device.
Specifically, according to the resolution ratio in window resolution switching command, the pixel-matrix and logic of application widget are shown
Show that the window transform matrix between the pixel-matrix of equipment is updated;Wherein, first window transform matrix is default.Preferably
Ground, according to default resolution and the resolution ratio of logic display device of application widget, determines the acquiescence pixel-matrix of application widget
And the corresponding relation between the pixel-matrix of logic display device, can preset the first conversion square of the application widget accordingly
Battle array.
It is preferred that pixel-matrix and the logic according to resolution ratio and application widget in window resolution switching command
Current window transformation matrix between the pixel-matrix of display device, determines compatible conversion matroid;So that being differentiated with window
Pixel-matrix of the resolution ratio in rate switching command as the application widget of resolution ratio, through current window transformation matrix and and
After holding transformation classes matrixing, consistent with the pixel-matrix of logic display device;Compatibility according to determining converts matroid, more
New current window transformation matrix.
In fact, in the case of the window resolution switching command of application widget is not received in above-mentioned steps,
For the application that each runs, the window transform matrix between the application widget and logic display device keeps constant.
S103:Mapping relations after according to renewal, by content to be shown in logic display device, map to main display and set
Standby.
When being that display device transformation matrix is updated in above-mentioned steps, in this step, according to renewal after display
Device transform matrix, by the pixel-matrix comprising content to be shown of logic display device, is mapped to the picture of main display device
In vegetarian refreshments battle array.
When not being updated to display device transformation matrix and global change's matrix being updated in above-mentioned steps, this
In step, according to the global change's matrix after default display device transformation matrix and renewal, the bag to logic display device
After pixel-matrix containing content to be shown enters line translation, it is mapped in the pixel-matrix of main display device.
It is preferred that the mapping relations after according to renewal, content map to be shown in logic display device is shown to main
Before showing equipment, application widget that can be to run for each, the pixel-matrix according to the application widget are shown with logic and set
Window transform matrix between standby pixel-matrix, the pixel-matrix comprising content to be shown of the application widget maps
To in the pixel-matrix of logic display device.
Specifically, there is renewal in the window transform matrix in above-mentioned steps between application widget and logic display device
In the case of, for the application widget that each runs, in this step, according to pixel-matrix and the logic display device of the application widget
Pixel-matrix between update window transform matrix, the pixel-matrix comprising content to be shown of the application widget reflects
It is mapped in the pixel-matrix of logic display device.
In the case that window transform matrix in above-mentioned steps between application widget and logic display device keeps constant,
For the application widget that each runs, in this step, according to the pixel of the pixel-matrix and logic display device of the application widget
The window transform matrix of (immobilizing) is not updated between dot matrix, by the pixel comprising content to be shown of the application widget
Battle array, is mapped in the pixel-matrix of logic display device.
It is preferred that the mapping relations after according to renewal, content map to be shown in logic display device is shown to main
After showing equipment, can determine and be mapped to main display device with the position according to each application widget, size and lamination order
The viewing area of the pixel-matrix of each application widget in pixel-matrix;Split is carried out to each viewing area so that after split
Pixel-matrix of the viewing area without departing from main logic display device.
S104:Content to be shown in main display device is shown.
By the pixel-matrix comprising content to be shown of main display device, show that the method for being particularly shown is on screen
As it is known to those skilled in the art that here is omitted.
In the embodiment of the present invention, terminal device in the resolution ratio of toggle screen, without the need for reboot operation system, it is possible to root
According to the display resolution switching command for receiving, to the resolution ratio of logic display device and its and the resolution ratio of main display device between
Mapping relations be updated;And then according to renewal after mapping relations, by content map to be shown in logic display device
Shown to main display device.It can be seen that, the embodiment of the present invention can support user more advantageously switching at runtime screen point
Resolution, to better meet the different demands of user;Such as user can be switched to higher when program interested is watched
Resolution ratio is lifting the quality (such as sophistication) of program pictures;For another example, when terminal device electricity is low, user can be switched to
Relatively low resolution ratio extends the cruising time of terminal device to save electricity;So as to lift the experience of user.
In the embodiment of the present invention, even if the figure layer of the window of different applications is set to different resolution ratio, it is also possible to
The resolution ratio of the figure layer of each window is normalized, and unification is mapped to logic display device, and then be mapped between main display device aobvious
Show.The difference in size of the display content of zones of different on screen can be prevented excessive, be conducive to the size of display content to keep one
Cause or suitable ratio, the number of times of zoom focusing is carried out again to reduce the different display contents of human eye viewing, reduce human eye tired
Labor, lifts the experience of user.
Additionally, in the embodiment of the present invention, when the electricity of terminal device is less than given threshold, reduction logic shows and sets automatically
And/or the resolution ratio of application widget, due to reducing pixel, it is possible to reduce corresponding amount of calculation, reduce the work of terminal device
Make load, save electric quantity consumption, extend cruising time.
According to above-mentioned display methods, the embodiment of the present invention additionally provides a kind of display device, the internal structure of the device
Block schematic illustration as shown in Fig. 2 including:Resolution ratio Switching command receiver module 201, mapping relations update module 202, wait to show
The content map module 203 that shows and display module 204.
Wherein, resolution ratio Switching command receiver module 201 is used for receiving display resolution switching command.
Mapping relations update module 202 is used for according to the resolution ratio in display resolution switching command, and more new logic shows
Mapping relations between the resolution ratio of the resolution ratio of equipment and main display device.
Content map module 203 to be shown is used for the mapping relations after updating according to mapping relations update module 202, will
Content to be shown in logic display device, maps to main display device;
Display module 204 is used for mapping to content map module 203 to be shown in be shown in main display device
Hold and shown.
It is preferred that mapping relations update module 202 is used for according to the resolution ratio in display resolution switching command, to logic
Display device transformation matrix between the pixel-matrix of the pixel-matrix of display device and main display device is updated;Wherein,
First display device transformation matrix is default.
It is preferred that mapping relations update module 202 is used for according to the resolution ratio in display resolution switching command and patrolling
Default display device transformation matrix between the pixel-matrix and the pixel-matrix of main display device of display device is collected, is updated global
Transformation matrix;So that the pixel-matrix of logic display device, the global change after display device transformation matrix and renewal
After matrixing, consistent with the pixel-matrix of main display device;Wherein, first global change's matrix is default.
It is preferred that content map module 203 to be shown be used for according to renewal after display device transformation matrix, by logic
The pixel-matrix comprising content to be shown of display device, is mapped in the pixel-matrix of main display device.
It is preferred that content map module 203 to be shown is used for according to default display device transformation matrix and updates
Global change's matrix afterwards, enters after line translation to the pixel-matrix comprising content to be shown of logic display device, is mapped to
In the pixel-matrix of main display device.
If it is preferred that resolution ratio Switching command receiver module 201 is additionally operable to the window for receiving the application widget for operation
Mouth resolution ratio switching command, then forward the window resolution switching command for application widget.
And, mapping relations update module 202 is additionally operable to receive the window resolution switching command for application widget
Afterwards, the mapping relations between the resolution ratio of the application widget and the resolution ratio of logic display device are updated.
It is preferred that mapping relations update module 202 is specifically for according to the resolution ratio in window resolution switching command, right
Window transform matrix between the pixel-matrix of the pixel-matrix of application widget and logic display device is updated;Wherein, first
Individual window transform matrix is default.
Further, mapping relations update module 202 specifically for according to the resolution ratio in window resolution switching command, with
And the current window transformation matrix between the pixel-matrix of the pixel-matrix and logic display device of application widget, determine compatibility
Conversion matroid;So that using the resolution ratio in window resolution switching command as the pixel-matrix of the application widget of resolution ratio,
After current window transformation matrix and compatible transformation classes matrixing, consistent with the pixel-matrix of logic display device;Root
According to the compatible conversion matroid that determines, current window transformation matrix is updated.
It is preferred that content map module 203 to be shown is additionally operable to the mapping relations after according to renewal, logic is shown
In equipment, content map to be shown is to before main display device, for the application widget that each runs, according to the application widget
Pixel-matrix and the pixel-matrix of logic display device between window transform matrix, by the application widget comprising to be shown
Content pixel-matrix, be mapped in the pixel-matrix of logic display device;And the mapping relations after according to renewal, will
Content to be shown in logic display device, the position, size and layer after mapping to main display device, according to each application widget
Folded order, determines the viewing area of the pixel-matrix of each application widget in the pixel-matrix for being mapped to main display device;Right
Each viewing area carries out split so that pixel-matrix of the viewing area after split without departing from main logic display device.
It is preferred that the electricity that resolution ratio Switching command receiver module 201 is additionally operable to detect this equipment is less than given threshold
When, after generating the display resolution switching command or window resolution switching command for carrying the resolution ratio after reducing, send to reflecting
Penetrate relation update module.
Above-mentioned resolution ratio Switching command receiver module 201, mapping relations update module 202, content map mould to be shown
The implementation method of 204 function of block 203 and display module, can be with the concrete interior of the process step shown in parameter above-mentioned Fig. 1 a and Fig. 1 b
Hold, here is omitted.
In the embodiment of the present invention, terminal device is without the need for reboot operation system, it is possible to according to display resolution switching command,
Mapping relations between the resolution ratio of logic display device and the resolution ratio of main display device are updated;And then according to renewal
Mapping relations afterwards, content map to be shown in logic display device is shown to main display device.It can be seen that, the present invention
In embodiment, it is easy to the resolution ratio of user's switching at runtime screen, to better meet the different demands of user;Such as user is seeing
When seeing program interested, higher resolution ratio can be switched to lift the quality (such as sophistication) of program pictures;For another example
When terminal device electricity is low, user can be switched to relatively low resolution ratio to save electricity, during the continuation of the journey of prolongation terminal device
Between;So as to lift the experience of user.
And, in the embodiment of the present invention, support the switching at runtime of the resolution ratio of application widget, the resolution of each application widget
After rate switching, the mapping relations between the resolution ratio of the application widget and the resolution ratio of logic display device are updated, according to renewal
The application widget is mapped to logic display device by mapping relations afterwards so that the application widget of different resolution can be unified
It is mapped to the logic display device of same resolution ratio.In further will be to be shown in each application widget in logic display device
Hold, main display device is mapped to for display output to screen.The big of the display content of different application window on screen can be prevented
Little difference is excessive, is conducive to the size of each application widget display content to be consistent or suitable ratio, is observed with reducing people
See that different display contents carry out again the number of times of zoom focusing, reduce people's kopiopia, lift the experience of user.
Additionally, in the embodiment of the present invention, when the electricity of terminal device is less than given threshold, after automatically generating carrying reduction
Resolution ratio display resolution switching command or window resolution switching command, equivalent to reduce logic display device and/or
The resolution ratio of application widget, due to reducing pixel, it is possible to reduce corresponding amount of calculation, the work for reducing terminal device are born
Lotus, saves electric quantity consumption, extends cruising time.
The embodiment of the present invention additionally provides terminal device, as shown in figure 3, for convenience of description, illustrate only and the present invention
The related part of embodiment, particular technique details are not disclosed, and refer to present invention method part.The terminal can be
Including mobile phone, panel computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of
Sales, point-of-sale terminal), the arbitrarily terminal device such as vehicle-mounted computer, so that terminal is as mobile phone as an example:
Fig. 3 is illustrated that the block diagram of the part-structure of the mobile phone related to terminal provided in an embodiment of the present invention.With reference to figure
3, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 310, memory 320, input block 330, display unit 340,
Sensor 350, voicefrequency circuit 360, Wireless Fidelity (wireless fidelity, WiFi) module 370, processor 380 and
390 grade part of power supply.It will be understood by those skilled in the art that the handset structure illustrated in Fig. 3 does not constitute the restriction to mobile phone,
Can include than illustrating more or less of part, or combine some parts, or different part arrangements.
Each component parts of mobile phone is specifically introduced with reference to Fig. 3:
RF circuits 310 can be used to receiving and sending messages or communication process in, the reception and transmission of signal, especially, by base station
After downlink information is received, process to processor 380;In addition, up data is activation will be designed to base station.Generally, RF circuits 310
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise
Amplifier, LNA), duplexer etc..Additionally, RF circuits 310 can also be communicated with network and other equipment by radio communication.
Above-mentioned radio communication can use arbitrary communication standard or agreement, including but not limited to global system for mobile communications (Global
System of Mobile communication, GSM), general packet radio service (General Packet Radio
Service, GPRS), CDMA (Code Division Multiple Access, CDMA), WCDMA
(Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution,
LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memory 320 can be used to store software program and module, and processor 380 is stored in memory 320 by operation
Software program and module, so as to execute various function application and the data processing of mobile phone.Memory 320 mainly can include
Storing program area and storage data field, wherein, storing program area can storage program area, the application journey needed at least one function
Sequence (such as sound-playing function, image player function etc.) etc.;Storage data field can be stored and be created according to using for mobile phone
Data (such as voice data, phone directory etc.) etc..Additionally, memory 320 can include high-speed random access memory, can be with
Including nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-states
Part.
Input block 330 can be used for the numeral of receives input or character information, and produce with the user setup of mobile phone with
And the key signals input that function control is relevant.Specifically, input block 330 may include that contact panel 331 and other inputs set
Standby 332.Contact panel 331, also referred to as touch-screen, can collect user thereon or neighbouring touch operation (such as user's use
The operation of any suitable object such as finger, stylus or annex on contact panel 331 or near the contact panel 331), and root
Corresponding attachment means are driven according to formula set in advance.Optionally, contact panel 331 may include touch detecting apparatus and touch
Two parts of controller.Wherein, the touch orientation of touch detecting apparatus detection user, and the signal that touch operation brings is detected,
Transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into touching
Point coordinates, then give processor 380, and the order sent of receiving processor 380 can be executed.Furthermore, it is possible to using electricity
The polytypes such as resistive, condenser type, infrared ray and surface acoustic wave realize contact panel 331.Except contact panel 331, input
Unit 330 can also include other input equipments 332.Specifically, other input equipments 332 can include but is not limited to secondary or physical bond
One or more in disk, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Display unit 340 can be used for show by user input information or be supplied to user information and mobile phone various
Menu.Display unit 340 may include display floater 341, optionally, can adopt liquid crystal display (Liquid Crystal
Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) aobvious to configure
Show panel 341.Further, contact panel 331 can cover display floater 341, when contact panel 331 detect thereon or attached
After near touch operation, processor 380 is sent to determine the type of touch event, with preprocessor 380 according to touch event
Type corresponding visual output is provided on display floater 341.Although in figure 3, contact panel 331 and display floater 341
It is the part independent as two realizing input and the input function of mobile phone, but in some embodiments it is possible to by touch-control
Panel 331 is integrated with display floater 341 and realizes mobile phone input and output function.
Mobile phone may also include at least one sensor 350, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor may include ambient light sensor and proximity transducer, and wherein, ambient light sensor can be according to ambient light
Light and shade adjusting the brightness of display floater 341, proximity transducer can cut out display floater 341 when mobile phone is moved in one's ear
And/or backlight.Used as one kind of motion sensor, accelerometer sensor can detect (generally three axles) acceleration in all directions
Size, can detect that size and the direction of gravity when static, can be used for recognize mobile phone attitude application (such as horizontal/vertical screen is cut
Change, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;May be used also as mobile phone
The other sensors such as the gyroscope of configuration, barometer, hygrometer, thermometer, infrared ray sensor, will not be described here.
Voicefrequency circuit 360, loudspeaker 361, microphone 362 can provide the COBBAIF between user and mobile phone.Audio-frequency electric
Electric signal after the voice data for receiving conversion can be transferred to loudspeaker 361, is converted to sound by loudspeaker 361 by road 360
Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 362, is turned after being received by voicefrequency circuit 360
Voice data is changed to, then after voice data output processor 380 is processed, through RF circuits 310 to be sent to such as another mobile phone,
Or export voice data to memory 320 further to process.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by Wi-Fi module 370
Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 3 shows
Wi-Fi module 370, but it is understood that, which is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely
Omit in the scope of the essence for becoming invention.
Processor 380 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, leads to
Cross operation or execute the software program and/or the module that are stored in memory 320, and call and be stored in memory 320
Data, execute the various functions and processing data of mobile phone, so as to carry out integral monitoring to mobile phone.Optionally, processor 380 can be wrapped
Include one or more processing units;Preferably, processor 380 can integrated application processor and modem processor, wherein, should
Operating system, user interface and application program etc. are mainly processed with processor, and modem processor mainly processes radio communication.
It is understood that above-mentioned modem processor can not also be integrated in processor 380.
Mobile phone also includes the power supply 390 (such as battery) that powers to all parts, it is preferred that power supply can pass through power supply pipe
Reason system is logically contiguous with processor 380, so as to realize management charging, electric discharge and power managed by power-supply management system
Etc. function.
Although not shown, mobile phone can also include camera, bluetooth module etc., will not be described here.
In embodiments of the present invention, the processor 380 included by the terminal also has following functions:
Running one or more programs is used for receiving display resolution switching command;
According to the resolution ratio in the display resolution switching command, resolution ratio and the master of the logic display device is updated
Mapping relations between the resolution ratio of display device;
The mapping relations after according to renewal, content to be shown in the logic display device is mapped to described
Main display device;
Content to be shown in main display device is shown.
It is preferred that the one or more programs of operation are used for according to the resolution ratio in display resolution switching command, to logic
Display device transformation matrix between the pixel-matrix of the pixel-matrix of display device and main display device is updated;Wherein,
First display device transformation matrix is default.
It is preferred that the one or more programs of operation are used for according to the resolution ratio in display resolution switching command and patrolling
Default display device transformation matrix between the pixel-matrix and the pixel-matrix of main display device of display device is collected, is updated global
Transformation matrix;So that the pixel-matrix of logic display device, the global change after display device transformation matrix and renewal
After matrixing, consistent with the pixel-matrix of main display device;Wherein, first global change's matrix is default.
It is preferred that running the display device transformation matrix after one or more programs are used for according to renewal, logic is shown
The pixel-matrix comprising content to be shown of equipment, is mapped in the pixel-matrix of main display device.
It is preferred that after the one or more programs of operation are used for according to default display device transformation matrix and renewal
Global change's matrix, enters after line translation to the pixel-matrix comprising content to be shown of logic display device, is mapped to main aobvious
Show in the pixel-matrix of equipment.
If it is preferred that run window resolution of one or more programs for receiving for the application widget of operation cutting
Instruction is changed, then updates the mapping relations between the resolution ratio of the application widget and the resolution ratio of logic display device.
It is preferred that the one or more programs of operation are used for according to the resolution ratio in window resolution switching command, to application
Window transform matrix between the pixel-matrix of the pixel-matrix of window and logic display device is updated;Wherein, first window
Mouth transformation matrix is default.
It is preferred that the one or more programs of operation are used for according to the resolution ratio in window resolution switching command, Yi Jiying
With the current window transformation matrix between the pixel-matrix of the pixel-matrix and logic display device of window, compatible conversion is determined
Matroid;So that using the resolution ratio in window resolution switching command as the pixel-matrix of the application widget of resolution ratio, passing through
After current window transformation matrix and compatible transformation classes matrixing, consistent with the pixel-matrix of logic display device;According to true
The compatible conversion matroid that makes, updates current window transformation matrix.
It is preferred that running the mapping relations after one or more programs are used for according to renewal, will treat in logic display device
The content of display, before mapping to main display device, application widget that can be to run for each, according to the application widget
Window transform matrix between the pixel-matrix of pixel-matrix and logic display device, by the application widget comprising to be shown
The pixel-matrix of content, is mapped in the pixel-matrix of logic display device;And according to renewal after mapping relations, by logic
Content to be shown in display device, after mapping to main display device, can with the position according to each application widget, size and
Lamination order, determines the viewing area of the pixel-matrix of each application widget in the pixel-matrix for being mapped to main display device;
Split is carried out to each viewing area so that pixel-matrix of the viewing area after split without departing from main logic display device.
It is preferred that when the one or more programs of operation are used for detecting the electricity of this equipment less than given threshold, generation is taken
Display resolution switching command and/or window resolution switching command with the resolution ratio after reducing.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description,
Device and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with
Realize by another way.For example, device embodiment described above is only schematic, for example, the unit
Divide, only a kind of division of logic function can have other dividing mode, for example multiple units or component when actually realizing
Can in conjunction with or be desirably integrated into another system, or some features can be ignored, or not execute.Another, shown or
The coupling each other for discussing or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit
Close or communicate to connect, can be electrical, mechanical or other forms.
The unit that illustrates as separating component can be or may not be physically separate, aobvious as unit
The part for showing can be or may not be physical location, you can be located at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list
Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
Completed with instructing the hardware of correlation by program, the program can be stored in a computer-readable recording medium, storage
Medium can include:Read-only storage (ROM, Read Only Memory), random access memory (RAM, Random
Access Memory), disk or CD etc..
One of ordinary skill in the art will appreciate that realize that all or part of step in above-described embodiment method is can be with
The hardware for being instructed correlation by program is completed, and described program can be stored in a kind of computer-readable recording medium, on
It can be read-only storage, disk or CD etc. to state the storage medium that mentions.
Above a kind of terminal device provided by the present invention is described in detail, for the general technology people of this area
Member, according to the thought of the embodiment of the present invention, will change in specific embodiments and applications, in sum,
This specification content should not be construed as limiting the invention.
Claims (10)
1. a kind of display methods, it is characterised in that include:
Receive display resolution switching command;
According to the resolution ratio in the display resolution switching command, the resolution ratio of the logic display device and main display is updated
Mapping relations between the resolution ratio of equipment;
The mapping relations after according to renewal, by content to be shown in the logic display device, map to the master and show
Show equipment;
Content to be shown in the main display device is shown.
2. method according to claim 1, it is characterised in that described according in the display resolution switching command point
Resolution, updates the mapping relations between the resolution ratio of logic display device and the resolution ratio of main display device, including:
According to the resolution ratio in the display resolution switching command, pixel-matrix and the master to the logic display device
Display device transformation matrix between the pixel-matrix of display device is updated;Wherein, first display device transformation matrix is
Default.
3. method according to claim 1, it is characterised in that described according in the display resolution switching command point
Resolution, updates the mapping relations between the resolution ratio of logic display device and the resolution ratio of main display device, including:
According to the pixel-matrix of the resolution ratio in the display resolution switching command and the logic display device with described
Default display device transformation matrix between the pixel-matrix of main display device, updates global change's matrix;So that the logic
The pixel-matrix of display device, after the global change's matrixing after the display device transformation matrix and renewal, with
The pixel-matrix of the main display device is consistent;Wherein, first global change's matrix is default.
4. method according to claim 2, it is characterised in that described according to renewal after the mapping relations, will be described
Content to be shown in logic display device, maps to the main display device, including:
The display device transformation matrix after according to renewal, by the picture comprising content to be shown of the logic display device
Vegetarian refreshments battle array, is mapped in the pixel-matrix of the main display device.
5. method according to claim 3, it is characterised in that described according to renewal after the mapping relations, will be described
Content to be shown in logic display device, maps to the main display device, including:
According to the global change's matrix after the default display device transformation matrix and renewal, the logic is shown and is set
The standby pixel-matrix comprising content to be shown enters after line translation, is mapped in the pixel-matrix of the main display device.
6. the method according to any one of claim 1-5, it is characterised in that also include:
If receiving the window resolution switching command of the application widget for operation, update the resolution ratio of the application widget with
Mapping relations between the resolution ratio of the logic display device.
7. method according to claim 6, it is characterised in that the resolution ratio of the renewal application widget and the logic
Mapping relations between the resolution ratio of display device, including:
According to the resolution ratio in the window resolution switching command, the pixel-matrix and the logic to the application widget is aobvious
Show that the window transform matrix between the pixel-matrix of equipment is updated;Wherein, first window transform matrix is default.
8. method according to claim 7, it is characterised in that according to the resolution in the window resolution switching command
Window transform matrix between the pixel-matrix of rate, the pixel-matrix to the application widget and the logic display device is carried out
Update, including:
Pixel-matrix and the logic according to resolution ratio and the application widget in the window resolution switching command
Current window transformation matrix between the pixel-matrix of display device, determines compatible conversion matroid;So that with the window
Pixel-matrix of the resolution ratio in resolution ratio switching command as the application widget of resolution ratio, converts square through the current window
After battle array and compatible transformation classes matrixing, consistent with the pixel-matrix of the logic display device;
According to the compatible conversion matroid that determines, current window transformation matrix is updated.
9. a kind of display device, it is characterised in that include:
Resolution ratio Switching command receiver module, for receiving display resolution switching command;
Mapping relations update module, shows for according to the resolution ratio in the display resolution switching command, updating the logic
Show the mapping relations between the resolution ratio of equipment and the resolution ratio of main display device;
Content map module to be shown, for the mapping relations after according to renewal, will treat in the logic display device
The content of display, maps to the main display device;
Display module, for showing to content to be shown in the main display device.
10. a kind of terminal device, including:
Touch-sensitive display;
One or more processors;
Memory;
One or more application programs, wherein one or more of application programs are stored in the memory and are configured
It is that one or more of programs are configured to by one or more of computing devices:
Receive display resolution switching command;
According to the resolution ratio in the display resolution switching command, the resolution ratio of the logic display device and main display is updated
Mapping relations between the resolution ratio of equipment;
The mapping relations after according to renewal, by content to be shown in the logic display device, map to the master and show
Show equipment;
Content to be shown in the main display device is shown.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610912729.5A CN106502608B (en) | 2016-10-19 | 2016-10-19 | Display methods, device and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610912729.5A CN106502608B (en) | 2016-10-19 | 2016-10-19 | Display methods, device and terminal device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106502608A true CN106502608A (en) | 2017-03-15 |
CN106502608B CN106502608B (en) | 2019-06-04 |
Family
ID=58317952
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610912729.5A Active CN106502608B (en) | 2016-10-19 | 2016-10-19 | Display methods, device and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106502608B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108399058A (en) * | 2018-03-09 | 2018-08-14 | 北京淳中科技股份有限公司 | A kind of signal display control method and device |
CN110377252A (en) * | 2019-06-17 | 2019-10-25 | 深圳市点嘀互联网络有限公司 | The method that dynamic adjusts mobile unit display resolution |
WO2020182025A1 (en) * | 2019-03-08 | 2020-09-17 | 上海众链科技有限公司 | Image display system and display method |
CN112509402A (en) * | 2019-08-26 | 2021-03-16 | 北京广益三文教育科技有限公司 | Establishment, issue and anti-counterfeiting method of competitive question bank based on three-dimensional teaching materials and teaching system thereof |
CN112988023A (en) * | 2021-04-23 | 2021-06-18 | Vidaa美国公司 | Application display method and display equipment |
CN113791788A (en) * | 2021-11-17 | 2021-12-14 | 北京翼鸥教育科技有限公司 | Adaptive window adjusting method and device, electronic equipment and medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050007396A1 (en) * | 2001-09-18 | 2005-01-13 | International Business Machines Corporation | Display device |
CN1797375A (en) * | 2004-12-30 | 2006-07-05 | 联想(北京)有限公司 | Method and device for switching resolution of display system |
CN1971705A (en) * | 2005-11-24 | 2007-05-30 | 三星电子株式会社 | Display apparatus, display system and control method thereof |
CN101398766A (en) * | 2007-09-29 | 2009-04-01 | 联想(北京)有限公司 | Displaying processing method in virtual machine system and the virtual machine system |
CN105955686A (en) * | 2016-04-27 | 2016-09-21 | 乐视控股(北京)有限公司 | Resolution switching method of Android device, and Android device |
-
2016
- 2016-10-19 CN CN201610912729.5A patent/CN106502608B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050007396A1 (en) * | 2001-09-18 | 2005-01-13 | International Business Machines Corporation | Display device |
CN1797375A (en) * | 2004-12-30 | 2006-07-05 | 联想(北京)有限公司 | Method and device for switching resolution of display system |
CN1971705A (en) * | 2005-11-24 | 2007-05-30 | 三星电子株式会社 | Display apparatus, display system and control method thereof |
CN101398766A (en) * | 2007-09-29 | 2009-04-01 | 联想(北京)有限公司 | Displaying processing method in virtual machine system and the virtual machine system |
CN105955686A (en) * | 2016-04-27 | 2016-09-21 | 乐视控股(北京)有限公司 | Resolution switching method of Android device, and Android device |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108399058A (en) * | 2018-03-09 | 2018-08-14 | 北京淳中科技股份有限公司 | A kind of signal display control method and device |
CN108399058B (en) * | 2018-03-09 | 2021-05-11 | 北京淳中科技股份有限公司 | Signal display control method and device |
WO2020182025A1 (en) * | 2019-03-08 | 2020-09-17 | 上海众链科技有限公司 | Image display system and display method |
CN110377252A (en) * | 2019-06-17 | 2019-10-25 | 深圳市点嘀互联网络有限公司 | The method that dynamic adjusts mobile unit display resolution |
CN112509402A (en) * | 2019-08-26 | 2021-03-16 | 北京广益三文教育科技有限公司 | Establishment, issue and anti-counterfeiting method of competitive question bank based on three-dimensional teaching materials and teaching system thereof |
CN112988023A (en) * | 2021-04-23 | 2021-06-18 | Vidaa美国公司 | Application display method and display equipment |
CN113791788A (en) * | 2021-11-17 | 2021-12-14 | 北京翼鸥教育科技有限公司 | Adaptive window adjusting method and device, electronic equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN106502608B (en) | 2019-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110752980B (en) | Message sending method and electronic equipment | |
CN106502608A (en) | Display methods, device and terminal device | |
CN106406892A (en) | A shortcut function display method and device for applications and a terminal apparatus | |
CN106527656A (en) | Display method, device and terminal equipment | |
CN107734179A (en) | A kind of message prompt method, mobile terminal | |
CN103500049A (en) | Desktop display method, device and terminal | |
CN107368518A (en) | The management method and terminal of a kind of notification message, computer-readable recording medium | |
CN110837327B (en) | Message viewing method and terminal | |
CN109768926A (en) | A kind of data processing method, terminal device and computer readable storage medium | |
CN109901695B (en) | Screen power-saving display method, mobile terminal and computer-readable storage medium | |
CN107168609A (en) | status bar display method, device and terminal | |
CN109522278B (en) | File storage method and terminal equipment | |
CN109284041A (en) | A kind of application interface switching method and mobile terminal | |
US20150079963A1 (en) | Method and device for displaying notice information | |
CN109857289A (en) | Display control method and terminal device | |
CN109743449A (en) | A kind of virtual key display methods and terminal | |
CN110096203A (en) | A kind of screenshot method and mobile terminal | |
CN109857317A (en) | A kind of control method and terminal device of terminal device | |
CN109379700A (en) | Localization method and mobile terminal | |
CN109639887A (en) | A kind of control method and terminal device | |
CN110012152B (en) | Interface display method and terminal equipment | |
CN106708390A (en) | Screen capture method, apparatus and system | |
CN111026674A (en) | Data storage method and electronic equipment | |
CN107423050A (en) | A kind of method and apparatus for penetrating operation | |
CN106527856A (en) | Application icon display method and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20170721 Address after: 100102, 18 floor, building 2, Wangjing street, Beijing, Chaoyang District, 1801 Applicant after: BEIJING ANYUN SHIJI SCIENCE AND TECHNOLOGY CO., LTD. Address before: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park) Applicant before: Beijing Qihu Technology Co., Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |