CN106502608B - Display methods, device and terminal device - Google Patents

Display methods, device and terminal device Download PDF

Info

Publication number
CN106502608B
CN106502608B CN201610912729.5A CN201610912729A CN106502608B CN 106502608 B CN106502608 B CN 106502608B CN 201610912729 A CN201610912729 A CN 201610912729A CN 106502608 B CN106502608 B CN 106502608B
Authority
CN
China
Prior art keywords
matrix
equipment
pixel
logic
resolution ratio
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610912729.5A
Other languages
Chinese (zh)
Other versions
CN106502608A (en
Inventor
陈诚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Anyun Century Technology Co Ltd
Original Assignee
Beijing Anyun Century Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Anyun Century Technology Co Ltd filed Critical Beijing Anyun Century Technology Co Ltd
Priority to CN201610912729.5A priority Critical patent/CN106502608B/en
Publication of CN106502608A publication Critical patent/CN106502608A/en
Application granted granted Critical
Publication of CN106502608B publication Critical patent/CN106502608B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3215Monitoring of peripheral devices
    • G06F1/3218Monitoring 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 devices, which comprises receives display resolution switching command;According to the resolution ratio in display resolution switching command, more new logic shows the mapping relations between the resolution ratio of equipment and the resolution ratio of main display equipment;According to updated mapping relations, logic is shown to content to be shown in equipment, maps to main display equipment;Content to be shown in main display equipment is shown.The embodiment of the present invention is not necessarily to reboot operation system, so that it may complete the update of the resolution ratio of screen, and be shown according to updated resolution ratio when switching the resolution ratio of screen;Convenient for the resolution ratio of user's switching at runtime screen, to better meet the different demands of user, to promote the experience of user.

Description

Display methods, device and terminal device
Technical field
The present invention relates to terminal device field of display technology, set more particularly, to a kind of display methods, device and terminal It is standby.
Background technique
With the development of society and the progress of science and technology, the terminal devices such as smart phone, tablet computer and electronic reader are Through widely available.
Operating system, such as Android (Android) system are usually mounted in these terminal devices.Also pacify in terminal device Equipped with multiple applications.When using operation, it usually needs display window, the result etc. for human-computer interaction or display application processing Deng.
The screen of different terminal equipment can support different resolution ratio, such as 2560 × 1440 (being commonly called as 2K screen), 1080P Or 720P etc..The resolution ratio of screen immobilizes in the primary framework operational process of Android.Currently, the existing terminal in part is set It is standby can be with the switching of support screen resolution ratio.A kind of existing resolution ratio switching display methods includes: to receive screen resolution After switching command, reboot operation system, after screen resolution to be re-set as to the resolution ratio that user specifies, according to resetting Resolution ratio shown.
However, the resolution ratio of existing screen switches display methods, when switching the resolution ratio of screen, reboot operation is needed System could complete resetting for resolution ratio, make troubles to user, reduce the experience of user.
Summary of the invention
In view of the above problems, the invention proposes a kind of display methods, device and terminal devices, not need to restart behaviour In the case where making system, the switching of resolution ratio is carried out, to promote the experience of user.
In a first aspect, providing a kind of display methods based on resolution ratio switching at runtime in the embodiment of the present invention, comprising:
Receive display resolution switching command;
According to the resolution ratio in display resolution switching command, more new logic shows the resolution ratio and main display equipment of equipment Resolution ratio between mapping relations;
According to updated mapping relations, logic is shown to content to be shown in equipment, maps to main display equipment;
Content to be shown in main display equipment is shown.
With reference to first aspect, the present invention is in the first implementation of first aspect according to display resolution switching command In resolution ratio, more new logic show equipment resolution ratio and it is main display equipment resolution ratio between mapping relations, comprising:
Pixel-matrix and main display equipment according to the resolution ratio in display resolution switching command, to logic display equipment Pixel-matrix between display device transform matrix be updated;Wherein, first display device transform matrix is preset.
With reference to first aspect, the present invention refers in second of implementation of first aspect according to display resolution switching Resolution ratio in order, more new logic show the mapping relations between the resolution ratio of equipment and the resolution ratio of main display equipment, comprising:
It is set according to the pixel-matrix of resolution ratio and logic display equipment in display resolution switching command with main display Preset display device transform matrix between standby pixel-matrix updates global change's matrix;So that logic shows the picture of equipment Vegetarian refreshments battle array, the pixel after display device transform matrix and updated global change's matrixing, with main display equipment Dot matrix is consistent;Wherein, first global change's matrix is preset.
The first implementation with reference to first aspect, the present invention in the third implementation of first aspect, according to Logic is shown content to be shown in equipment, maps to main display equipment by updated mapping relations, comprising:
According to updated display device transform matrix, logic is shown to the pixel comprising content to be shown of equipment Battle array is mapped in the pixel-matrix of main display equipment.
Second of implementation with reference to first aspect, the present invention in the 4th kind of implementation of first aspect, according to Logic is shown content to be shown in equipment, maps to main display equipment by updated mapping relations, comprising:
According to preset display device transform matrix and updated global change's matrix, equipment is shown to logic After pixel-matrix comprising content to be shown is converted, it is mapped in the pixel-matrix of main display equipment.
Any implementation with reference to first aspect or in first to fourth kind of implementation of first aspect, the present invention exist In 5th kind of implementation of first aspect, if receiving the window resolution switching command of the application widget for operation, The resolution ratio and logic that update the application widget show the mapping relations between the resolution ratio of equipment.
The 5th kind of implementation with reference to first aspect, the present invention updates in the 6th kind of implementation of first aspect should The resolution ratio and logic of application widget show the mapping relations between the resolution ratio of equipment, comprising:
According to the resolution ratio in window resolution switching command, pixel-matrix and logic to application widget show equipment Window transform matrix between pixel-matrix is updated;Wherein, first window transform matrix is preset.
The 6th kind of implementation with reference to first aspect, the present invention in the 7th kind of implementation of first aspect, according to Resolution ratio in window resolution switching command shows between the pixel-matrix of equipment the pixel-matrix and logic of application widget Window transform matrix be updated, comprising:
Equipment is shown according to the pixel-matrix of resolution ratio and application widget in window resolution switching command and logic Pixel-matrix between current window transformation matrix, determine compatible transformation matroid;So that being referred to window resolution switching The pixel-matrix of resolution ratio in order as the application widget of resolution ratio, by current window transformation matrix and compatible transformation classes After matrixing, show that the pixel-matrix of equipment is consistent with logic;
According to the compatible transformation matroid determined, current window transformation matrix is updated.
Third or the 4th kind of implementation with reference to first aspect, in the 8th kind of implementation of first aspect, according to Logic is shown content to be shown in equipment, mapped to before main display equipment by updated mapping relations, further includes:
For the application widget of each operation, the pixel of equipment is shown according to the pixel-matrix of the application widget and logic The pixel-matrix comprising content to be shown of the application widget is mapped to logic and shown by the window transform matrix between battle array In the pixel-matrix of equipment;And
According to updated mapping relations, logic is shown to content to be shown in equipment, map to main display equipment it Afterwards, further includes:
According to the position of each application widget, size and lamination order, the pixel-matrix for being mapped to main display equipment is determined In each application widget pixel-matrix visible area;Split is carried out to each visible area, so that the visible area after split Without departing from the pixel-matrix that main logic shows equipment.
With reference to first aspect or the 5th kind of implementation of first aspect, in the 9th kind of implementation of first aspect, When detecting the electricity of this equipment lower than given threshold, the display resolution switching command for carrying the resolution ratio after reducing is generated And/or window resolution switching command.
Second aspect, the embodiment of the invention provides a kind of display device, which, which has, realizes above-mentioned first party The function of display methods behavior in face.The function it is real can also to execute corresponding software by hardware realization by hardware It is existing.Hardware or software include one or more modules corresponding with above-mentioned function.
In a possible design, include: in the structure of display device
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, which is shown, to be set Mapping relations between the resolution ratio of standby resolution ratio and main display equipment;
Content map module to be shown, for logic being shown to be shown in equipment according to updated mapping relations Content, map to main display equipment;
Display module, for being shown to content to be shown in main display equipment.
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, logic is shown between the pixel-matrix of equipment and the pixel-matrix of main display equipment Display device transform matrix be updated;Wherein, first display device transform matrix is preset.
In conjunction with second aspect, in second of implementation of second aspect, mapping relations update module is used for according to aobvious Show resolution ratio in resolution ratio switching command and logic show equipment pixel-matrix and main display equipment pixel-matrix it Between preset display device transform matrix, update global change's matrix;So that logic shows the pixel-matrix of equipment, by display It is consistent with the main display pixel-matrix of equipment after device transform matrix and updated global change's matrixing;Wherein, First global change's matrix is preset.
In conjunction with the first implementation of second aspect, in the third implementation of second aspect, content to be shown Mapping block is used to that logic to be shown to the picture comprising content to be shown of equipment according to updated display device transform matrix Vegetarian refreshments battle array is mapped in the pixel-matrix of main display equipment.
In conjunction with second of implementation of second aspect, in the 4th kind of implementation of second aspect, to be shown is interior Hold mapping block to be used to show logic according to preset display device transform matrix and updated global change's matrix After the pixel-matrix comprising content to be shown of equipment is converted, it is mapped in the pixel-matrix of main display equipment.
In conjunction with any implementation in first to fourth of second aspect or second aspect kind implementation, in second aspect The 5th kind of implementation in, if resolution ratio Switching command receiver module be also used to receive for operation application widget window Mouth resolution ratio switching command, then forwarding is directed to the window resolution switching command of application widget;And
After mapping relations update module is also used to receive the window resolution switching command for application widget, updating should The resolution ratio and logic of application widget show the mapping relations between the resolution ratio of equipment.
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 used for showing the pixel-matrix and logic of application widget according to the resolution ratio in window resolution switching command Window transform matrix between the pixel-matrix of equipment is updated;Wherein, first window transform matrix is preset.
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 specifically used for aobvious according to the pixel-matrix and logic of resolution ratio and application widget in window resolution switching command Show the current window transformation matrix between the pixel-matrix of equipment, determines compatible transformation matroid;So that with window resolution The pixel-matrix of resolution ratio in switching command as the application widget of resolution ratio, by current window transformation matrix and compatibility After transformation classes matrixing, show that the pixel-matrix of equipment is consistent with logic;According to the compatible transformation matroid determined, update Current window transformation matrix.
In conjunction with the third or the 4th kind of implementation of second aspect, in the 8th kind of implementation of second aspect, to The content map module of display is also used to that logic is shown that content to be shown in equipment is reflected according to updated mapping relations It is incident upon before main display equipment, for the application widget of each operation, is shown according to the pixel-matrix of the application widget and logic Window transform matrix between the pixel-matrix of equipment reflects the pixel-matrix comprising content to be shown of the application widget Logic is mapped to show in the pixel-matrix of equipment;And according to updated mapping relations, logic is shown in equipment to aobvious The content shown maps to after main display equipment, according to the position of each application widget, size and lamination order, determines to map To the visible area of the pixel-matrix of each application widget in the pixel-matrix of main display equipment;Each visible area is spelled It closes, so that the visible area after split shows the pixel-matrix of equipment without departing from main logic.
In conjunction with the 5th kind of implementation of second aspect or second aspect, in the 9th kind of implementation of second aspect, When resolution ratio Switching command receiver module is also used to detect the electricity of this equipment lower than given threshold, generate after carrying reduction After the display resolution switching command or window resolution switching command of resolution ratio, it is sent to mapping relations update module.
The third aspect, the embodiment of the invention provides a kind of terminal device, which, which has, realizes above-mentioned first party The function of display methods behavior in face.The function can also execute corresponding software by hardware realization by hardware It realizes.The hardware or software include one or more modules corresponding with above-mentioned function.
In a possible design, include: in the structure of terminal device touch-sensitive display, one or more processors, Memory and one or more application program, wherein one or more application programs be stored in memory and be configured as by One or more processors execute, and one or more application program is configured to:
Receive display resolution switching command;
According to the resolution ratio in the display resolution switching command, resolution ratio and master that the logic shows equipment are updated Show the mapping relations between the resolution ratio of equipment;
According to the updated mapping relations, the logic is shown to content to be shown in equipment, is mapped to described Main display equipment;
Content to be shown in the main display equipment is shown.
Fourth aspect, the embodiment of the invention provides a kind of computer storage mediums, above-mentioned based on resolution for being stored as Computer software instructions used in the display device of rate switching at runtime, it includes be dynamic based on resolution ratio for executing above-mentioned aspect Program designed by the display device of state switching.
In conclusion compared with the existing technology, scheme provided by the invention, resolution ratio of the terminal device in switching screen When, it is not necessarily to reboot operation system, so that it may which display resolution switching command based on the received shows the resolution ratio of equipment to logic And its mapping relations between the resolution ratio of main display equipment are updated;And then according to updated mapping relations, will patrol Content map to main display equipment to be shown in display equipment is collected to be shown.As 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 feels in viewing When the program of interest, higher resolution ratio can be switched to promote the quality (such as sophistication) of program pictures;For another example terminal When equipment electricity is low, user can be switched to lower resolution ratio to save electricity, extend the cruise duration of terminal device;From And promote the experience of user.
Closer, in the embodiment of the present invention, even if setting different points for the figure layer of the window of different applications Resolution can also normalize the resolution ratio of the figure layer of each window, and be uniformly mapped to logic and show equipment, and then be mapped to main aobvious Show that equipment room is shown.The difference in size of the display content of different zones on screen can be prevented excessive, be conducive to show content Size is consistent or suitable ratio, watches the number that different display contents carry out again zoom focusing to reduce human eye, Human eye fatigue is reduced, the experience of user is promoted.
In addition, when the electricity of terminal device is lower than given threshold, automatic reduction logic, which is shown, to be set in the embodiment of the present invention And/or the resolution ratio of application widget, due to reducing pixel, it is possible to reduce corresponding calculation amount reduces the work of terminal device Make load, save electric quantity consumption, extends cruise duration.
The aspects of the invention or other aspects can more straightforwards in the following description.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 a shows the flow diagram of the display methods of the embodiment of the present invention;
The logic that Fig. 1 b shows the embodiment of the present invention is shown between the resolution ratio of equipment and the resolution ratio of main display equipment Mapping relations update method an example schematic diagram;
Fig. 2 shows the block schematic illustrations 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 to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described.
In some processes of the description in description and claims of this specification and above-mentioned attached drawing, contain according to Multiple operations that particular order occurs, but it should be clearly understood that these operations can not be what appears in this article suitable according to its Sequence is executed or is executed parallel, and serial number of operation such as 101,102 etc. is only used for distinguishing each different operation, serial number It itself does not represent and any executes sequence.In addition, these processes may include more or fewer operations, and these operations can To execute or execute parallel in order.It should be noted that the description such as " first " herein, " second ", is for distinguishing not Same message, equipment, module etc., does not represent sequencing, does not also limit " first " and " second " and be different type.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those skilled in the art's every other implementation obtained without creative efforts Example, shall fall within the protection scope of the present invention.
Those skilled in the art of the present technique are appreciated that " terminal " used herein above, " terminal device " both include wireless communication The equipment of number receiver, only has the equipment of the wireless signal receiver of non-emissive ability, and including receiving and emitting hardware Equipment, have on bidirectional communication link, can carry out two-way communication reception and emit hardware equipment.This equipment It may include: honeycomb or other communication equipments, shown with single line display or multi-line display or without multi-line The honeycomb of device or other communication equipments;PCS (Personal Communications Service, PCS Personal Communications System), can With combine voice, data processing, fax and/or communication ability;PDA (Personal Digital Assistant, it is personal Digital assistants), it may include radio frequency receiver, pager, the Internet/intranet access, web browser, notepad, day It goes through and/or GPS (Global Positioning System, global positioning system) receiver;Conventional laptop and/or palm Type computer or other equipment, have and/or the conventional laptop including radio frequency receiver and/or palmtop computer or its His equipment." terminal " used herein above, " terminal device " can be it is portable, can transport, be mounted on 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, such as can be PDA, MID (Mobile Internet Device, mobile Internet Equipment) and/or mobile phone with music/video playing function, it is also possible to the equipment such as smart television, 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, more new logic show equipment resolution ratio and it is main display equipment resolution ratio between mapping relations;According to more Logic is shown content to be shown in equipment, maps to main display equipment by the mapping relations after new;To in main display equipment to The content of display is shown.As it can be seen that being not necessarily to reboot operation system, so that it may complete the resolution of screen in the embodiment of the present invention The update of rate, and shown according to updated resolution ratio;Convenient for 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 when watching interested program with lifting section The quality (such as sophistication) of mesh picture;For another example when terminal device electricity is low, user can be switched to lower resolution ratio with Electricity is saved, the cruise duration of terminal device is extended;To promote the experience of user.
The technical solution of the embodiment of the present invention is specifically introduced with reference to the accompanying drawing.
In embodiments of the present invention, operating system includes using the kernel of (SuSE) Linux OS as the operating system of kernel.This The operating system of inventive embodiments can be traditional (SuSE) Linux OS or Unix operating system, be also possible to base In operating system that (SuSE) Linux OS is derived, such as android system, Ubuntu system or Meego system etc..
The embodiment of the invention provides a kind of display methods, the flow diagram of this method is as shown in Figure 1a, including following Step:
S101: display resolution switching command is received.
In the embodiment of the present invention, the operating system of terminal device provides a variety of resolution ratio and selects to switch for user.For example, behaviour After the selection operation of screen resolution selection interface for receiving user as system, display screen resolution selection interface, and Multiple preset screen resolutions are shown in the interface;After user is received for the selection operation of some screen resolution, Determine the display resolution switching command for receiving and carrying the resolution ratio.
For another example, operating system by screen resolution selection interface, differentiate by the customized screen for receiving user's input After rate, the display resolution switching command for receiving and carrying the resolution ratio is determined.
Preferably, preset screen resolution or the customized screen resolution of user, not higher than the highest physics of screen Resolution ratio.For example, the highest physical resolution of screen is 2560 × 1440, then preset screen resolution or user are customized Screen resolution may include: 2560 × 1440,1080P, 720P or 480P etc., but cannot exceed 2560 × 1440 range.
More preferably, running application usually requires to show at least one application widget.If receiving for application widget Window resolution switching command, then update the application widget resolution ratio and logic show equipment resolution ratio between mapping Relationship.Wherein, the generating mode of window resolution switching command is similar with the generating mode of above-mentioned screen resolution switching command, It repeats no more.
Specifically, after receiving the window resolution switching command for application widget, referred to according to window resolution switching Resolution ratio in order, the pixel-matrix to application widget and logic show the window transform matrix between the pixel-matrix of equipment into Row updates;Wherein, first window transform matrix is preset.
More preferably, it when detecting the electricity of this equipment lower than given threshold, according to screen current resolution, generates and carries The display resolution switching command of resolution ratio after reduction;And/or the resolution ratio current according to the application widget of operation application, Generate the window resolution switching command for carrying the resolution ratio after reducing.
S102: more new logic shows the mapping relations between the resolution ratio of equipment and the resolution ratio of main display equipment.
After terminal device receives display resolution switching command in above-mentioned steps, in this step, shown from received Show the resolution ratio that instruction carrying is parsed in resolution ratio switching command.
Preferably, the resolution ratio parsed is transmitted to HAL (Hardware Abstraction Layer, hardware abstraction Layer);Joined using the resolution ratio parsed as to be switched resolution ratio by preset switching screen by HAL layers of correlation module Several API is transmitted in improved display driving;By improved display driving, resolution ratio carries out subsequent behaviour based on the received Make.
After terminal device parses the resolution ratio in display resolution switching command, it can be patrolled using a variety of methods to update Collect the mapping relations between the resolution ratio of display equipment and the resolution ratio of main display equipment.
A kind of logic shows the update method of the mapping relations between the resolution ratio of equipment and the resolution ratio of main display equipment It include: the pixel-matrix according to the resolution ratio in display resolution switching command, to logic display equipment and main display equipment Display device transform matrix between pixel-matrix is updated;Wherein, first display device transform matrix is preset.
Preferably, logic shows the default resolution of equipment, it is identical as the main display resolution ratio of equipment;Therefore, logic is aobvious The pixel-matrix for showing the default of equipment is consistent with the pixel-matrix of main display equipment, can be preset accordingly first complete Office's transformation matrix.
Another logic shows the update side of the mapping relations between the resolution ratio of equipment and the resolution ratio of main display equipment Method includes: to be set according to the pixel-matrix of resolution ratio and logic display equipment in display resolution switching command with main display Preset display device transform matrix between standby pixel-matrix updates global change's matrix;So that logic shows the picture of equipment Vegetarian refreshments battle array, the pixel after display device transform matrix and updated global change's matrixing, with main display equipment Dot matrix is consistent;Wherein, first global change's matrix is preset.
For example, Fig. 1 b is that another logic shows that the mapping between the resolution ratio of equipment and the resolution ratio of main display equipment is closed The schematic diagram of one example of the update method of system.As shown in Figure 1 b, global change's matrix, that is, globalTR matrix is introduced, finally It converts as follows.
In above-mentioned formula 1 and 2, (layerX, layerY) indicates the position of application widget, and (layerW, layerH) is indicated Application window mouth width and height;LayerTR indicates that application widget and logic show the window transform matrix between equipment; DisplayDeviceTR indicates that logic shows the display device transform matrix between equipment and main display equipment;(screenX, ScreenY application widget) is indicated in the display position of screen, and (screenW, screenH) indicates application widget in the aobvious of screen Show wide and high.
If M=displayDeviceTR × layerTR, eventually N matrix is arranged to GPU by N=globalTR × M (Graphics Processing Unit, graphics processing unit) or MDP (Mobile Display Process, it is mobile aobvious Show processing) unit.SurfaceFlinger (appearance throwing arm) joins display in the subsequent synthesis for carrying out multiple application widgets Several calculating uses to be Metzler matrix.
In the embodiment of the present invention, the main display equipment (or logic display equipment) in terminal device has been abstracted as corresponding Device file;Calling to main display equipment (or logic display equipment) or the ginseng to main display equipment (or logic display equipment) Several operations is converted into the operation to parameter in the corresponding device file of main display equipment (or logic display equipment) or file.
More preferably, if above-mentioned steps receive the window resolution switching command of the application for operation, in this step, The resolution ratio and logic that update the application widget show the mapping relations between the resolution ratio of equipment.
Specifically, according to the resolution ratio in window resolution switching command, the pixel-matrix and logic to application widget are aobvious Show that the window transform matrix between the pixel-matrix of equipment is updated;Wherein, first window transform matrix is preset.Preferably Ground shows the resolution ratio of equipment according to the default resolution of application widget and logic, determines the default pixel-matrix of application widget The corresponding relationship between the pixel-matrix of equipment is shown with logic, can preset the first transformation square of the application widget accordingly Battle array.
Preferably, according to the pixel-matrix and logic of resolution ratio and application widget in window resolution switching command It shows the current window transformation matrix between the pixel-matrix of equipment, determines compatible transformation matroid;So that being differentiated with window The pixel-matrix of resolution ratio in rate switching command as the application widget of resolution ratio, by current window transformation matrix and simultaneous After holding transformation classes matrixing, show that the pixel-matrix of equipment is consistent with logic;According to the compatible transformation matroid determined, more New current window transformation matrix.
In fact, in the case where not receiving the window resolution switching command for application widget in above-mentioned steps, For the application of each operation, the application widget and logic show that the window transform matrix between equipment remains unchanged.
Logic: according to updated mapping relations, being shown content to be shown in equipment by S103, is mapped to main display and is set It is standby.
When being updated to display device transform matrix in above-mentioned steps, in this step, according to updated display Logic is shown the pixel-matrix comprising content to be shown of equipment by device transform matrix, is mapped to the picture of main display equipment In vegetarian refreshments battle array.
When display device transform matrix is not updated and is updated to global change's matrix in above-mentioned steps, this In step, according to preset display device transform matrix and updated global change's matrix, the packet of equipment is shown to logic After pixel-matrix containing content to be shown is converted, it is mapped in the pixel-matrix of main display equipment.
Preferably, logic is shown that content map to be shown in equipment is shown to main according to updated mapping relations Before showing equipment, the application widget of each operation can also be shown with logic according to the pixel-matrix of the application widget and be set Window transform matrix between standby pixel-matrix, by the pixel-matrix comprising content to be shown of the application widget, mapping In the pixel-matrix for showing equipment to logic.
Specifically, show what the window transform matrix between equipment updated in application widget in above-mentioned steps and logic In the case of, for the application widget of each operation, in this step, equipment is shown according to the pixel-matrix of the application widget and logic Pixel-matrix between the window transform matrix that updates the pixel-matrix comprising content to be shown of the application widget is reflected Logic is mapped to show in the pixel-matrix of equipment.
In the case where application widget in above-mentioned steps and logic show that the window transform matrix between equipment remains unchanged, For the application widget of each operation, in this step, the pixel of equipment is shown according to the pixel-matrix of the application widget and logic The window transform matrix for not updating and (immobilizing) between dot matrix, by the pixel comprising content to be shown of the application widget Battle array is mapped to logic and shows in the pixel-matrix of equipment.
Preferably, logic is shown that content map to be shown in equipment is shown to main according to updated mapping relations After showing equipment, it can also determine to be mapped to main display equipment according to the position of each application widget, size and lamination order The visible area of the pixel-matrix of each application widget in pixel-matrix;Split is carried out to each visible area, so that after split Visible area shows the pixel-matrix of equipment without departing from main logic.
S104: content to be shown in main display equipment is shown.
By the pixel-matrix comprising content to be shown of main display equipment, it is displayed on the screen, the method for being particularly shown is As it is known to those skilled in the art that details are not described herein again.
In the embodiment of the present invention, terminal device is not necessarily to reboot operation system, so that it may root when switching the resolution ratio of screen According to received display resolution switching command, the resolution ratio of equipment is shown to logic and its between the resolution ratio of main display equipment Mapping relations be updated;And then according to updated mapping relations, logic is shown to content map to be shown in equipment It is shown to main display equipment.As 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 watching interested program Resolution ratio is to promote the quality (such as sophistication) of program pictures;For another example when terminal device electricity is low, user can be switched to Lower resolution ratio extends the cruise duration of terminal device to save electricity;To promote the experience of user.
It, can also be with even if setting different resolution ratio for the figure layer of the window of different applications in the embodiment of the present invention The resolution ratio of the figure layer of each window is normalized, and is uniformly mapped to logic and shows equipment, and then it is aobvious to be mapped to main display equipment room Show.The difference in size of the display content of different zones on screen can be prevented excessive, be conducive to show that the size of content keeps one Cause or suitable ratio watch the numbers that different display contents carry out again zoom focusing to reduce human eye, it is tired to reduce human eye Labor promotes the experience of user.
In addition, when the electricity of terminal device is lower than given threshold, automatic reduction logic, which is shown, to be set in the embodiment of the present invention And/or the resolution ratio of application widget, due to reducing pixel, it is possible to reduce corresponding calculation amount reduces the work of terminal device Make load, save electric quantity consumption, extends cruise duration.
According to above-mentioned display methods, the embodiment of the invention also provides a kind of display device, the internal structures of the device Block schematic illustration it is as shown in Figure 2, comprising: resolution ratio Switching command receiver module 201, mapping relations update module 202, to aobvious The content map module 203 and display module 204 shown.
Wherein, resolution ratio Switching command receiver module 201 is 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 is shown Mapping relations between the resolution ratio of equipment and the resolution ratio of main display equipment.
Content map module 203 to be shown is used for according to the updated mapping relations of mapping relations update module 202, will Logic shows content to be shown in equipment, maps to main display equipment;
Display module 204 is used to map in be shown in main display equipment content map module 203 to be shown Appearance is shown.
Preferably, mapping relations update module 202 is used for according to the resolution ratio in display resolution switching command, to logic Show that the display device transform matrix between the pixel-matrix of equipment and the pixel-matrix of main display equipment is updated;Wherein, First display device transform matrix is preset.
Preferably, mapping relations update module 202 is used for according to the resolution ratio in display resolution switching command and patrols Preset display device transform matrix between the pixel-matrix of display equipment and the pixel-matrix of main display equipment is collected, is updated global Transformation matrix;So that logic shows the pixel-matrix of equipment, by display device transform matrix and updated global change It is consistent with the main display pixel-matrix of equipment after matrixing;Wherein, first global change's matrix is preset.
Preferably, content map module 203 to be shown is used for according to updated display device transform matrix, by logic The pixel-matrix comprising content to be shown for showing equipment is mapped in the pixel-matrix of main display equipment.
Preferably, content map module 203 to be shown is used for according to preset display device transform matrix and updates Global change's matrix afterwards is mapped to after converting to the pixel-matrix comprising content to be shown of logic display equipment In the pixel-matrix of main display equipment.
Preferably, if resolution ratio Switching command receiver module 201 is also used to receive the window of the application widget for operation Mouth resolution ratio switching command, then forwarding is directed to the window resolution switching command of application widget.
And mapping relations update module 202 is also used to receive the window resolution switching command for application widget Afterwards, the resolution ratio and logic that update the application widget show the mapping relations between the resolution ratio of equipment.
Preferably, mapping relations update module 202 is specifically used for according to the resolution ratio in window resolution switching command, it is right The pixel-matrix and logic of application widget show that the window transform matrix between the pixel-matrix of equipment is updated;Wherein, first A window transform matrix is preset.
Further, mapping relations update module 202 be specifically used for according in window resolution switching command resolution ratio, with And the pixel-matrix and logic of application widget show the current window transformation matrix between the pixel-matrix of equipment, determine to be compatible with Convert 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, show that the pixel-matrix of equipment is consistent with logic;Root According to the compatible transformation matroid determined, current window transformation matrix is updated.
Preferably, content map module 203 to be shown is also used to show logic according to updated mapping relations In equipment before content map to be shown to main display equipment, for the application widget of each operation, according to the application widget Pixel-matrix and logic show the window transform matrix between the pixel-matrix of equipment, by the application widget comprising to be shown Content pixel-matrix, be mapped to logic show equipment pixel-matrix in;And it according to updated mapping relations, incites somebody to action Logic shows content to be shown in equipment, maps to after main display equipment, according to the position of each application widget, size and layer Folded sequence determines the visible area of the pixel-matrix for each application widget being mapped in the pixel-matrix of main display equipment;It is right Each visible area carries out split, so that the visible area after split shows the pixel-matrix of equipment without departing from main logic.
Preferably, resolution ratio Switching command receiver module 201 is also used to detect the electricity of this equipment lower than given threshold When, after generating the display resolution switching command or window resolution switching command that carry the resolution ratio after reducing, it is sent to and reflects Penetrate relationship 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 specific interior of process step shown in parameter above-mentioned Fig. 1 a and Fig. 1 b Hold, details are not described herein again.
In the embodiment of the present invention, terminal device is not necessarily to reboot operation system, so that it may according to display resolution switching command, Show that the mapping relations between the resolution ratio of equipment and the resolution ratio of main display equipment are updated to logic;And then according to update Logic is shown that content map to main display equipment to be shown in equipment is shown by mapping relations afterwards.As it can be seen that of the invention In embodiment, convenient for 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 interested program, higher resolution ratio can be switched to promote the quality (such as sophistication) of program pictures;For another example When terminal device electricity is low, user can be switched to lower resolution ratio to save electricity, when extending the continuation of the journey of terminal device Between;To promote the experience of user.
Moreover, supporting the switching at runtime of the resolution ratio of application widget, the resolution of each application widget in the embodiment of the present invention After rate switching, the resolution ratio and logic that update the application widget show the mapping relations between the resolution ratio of equipment, according to update The application widget is mapped to logic and shows equipment by mapping relations afterwards, so that the application widget of different resolution can be unified The logic for being mapped to same resolution ratio shows equipment.Logic is shown in be shown in each application widget in equipment in turn Hold, maps to main display equipment for display output to screen.It can prevent the big of the display content of different application window on screen Small difference is excessive, and the size for being conducive to each application widget display content is consistent or suitable ratio, to reduce human eye sight It sees that different display contents carry out again the number that zoom focuses, reduces human eye fatigue, promote the experience of user.
In addition, in the embodiment of the present invention, when the electricity of terminal device is lower than given threshold, after automatically generating carrying reduction Resolution ratio display resolution switching command or window resolution switching command, be equivalent to reduce logic show equipment and/or The resolution ratio of application widget, due to reducing pixel, it is possible to reduce corresponding calculation amount, the work for reducing terminal device are negative Lotus saves electric quantity consumption, extends cruise duration.
The embodiment of the invention also provides terminal devices, as shown in figure 3, for ease of description, illustrating only and the present invention The relevant part of embodiment, it is disclosed by specific technical details, please refer to present invention method part.The terminal can be Including mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), any terminal device such as vehicle-mounted computer, taking the terminal as an example:
Fig. 3 shows the block diagram of the part-structure of mobile phone relevant to terminal provided in an embodiment of the present invention.With reference to figure 3, mobile phone include: radio frequency (Radio Frequency, RF) circuit 310, memory 320, input unit 330, display unit 340, Sensor 350, voicefrequency circuit 360, Wireless Fidelity (wireless fidelity, WiFi) module 370, processor 380 and The components such as power supply 390.It will be understood by those skilled in the art that handset structure shown in Fig. 3 does not constitute the restriction to mobile phone, It may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
It is specifically introduced below with reference to each component parts of the Fig. 3 to mobile phone:
RF circuit 310 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, handled to processor 380;In addition, the data for designing uplink are sent to base station.In general, RF circuit 310 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuit 310 can also be communicated with network and other equipment by wireless communication. Any communication standard or agreement, including but not limited to global system for mobile communications (Global can be used in above-mentioned wireless communication System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access (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 for storing software program and module, and processor 380 is stored in memory 320 by operation Software program and module, thereby executing the various function application and data processing of mobile phone.Memory 320 can mainly include Storing program area and storage data area, wherein storing program area can application journey needed for storage program area, at least one function Sequence (such as sound-playing function, image player function etc.) etc.;Storage data area can be stored to be created according to using for mobile phone Data (such as audio data, phone directory etc.) etc..It, can be in addition, memory 320 may include high-speed random access memory Including nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-states Part.
Input unit 330 can be used for receiving the number or character information of input, and generate with the user setting of mobile phone with And the related key signals input of function control.Specifically, input unit 330 may include that touch panel 331 and other inputs are set Standby 332.Touch panel 331, also referred to as touch screen, collect user on it or nearby touch operation (such as user use The operation of any suitable object or attachment such as finger, stylus on touch panel 331 or near touch panel 331), and root Corresponding attachment device is driven according to preset formula.Optionally, touch panel 331 may include touch detecting apparatus and touch Two parts of controller.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, Transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into touching Point coordinate, then gives processor 380, and can receive order that processor 380 is sent and be executed.Furthermore, it is possible to using electricity The multiple types such as resistive, condenser type, infrared ray and surface acoustic wave realize touch panel 331.In addition to touch 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 of disk, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Display unit 340 can be used for showing information input by user or be supplied to user information and mobile phone it is various Menu.Display unit 340 may include display panel 341, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Show panel 341.Further, touch panel 331 can cover display panel 341, when touch panel 331 detect it is on it or attached After close touch operation, processor 380 is sent to determine the type of touch event, is followed by subsequent processing device 380 according to touch event Type corresponding visual output is provided on display panel 341.Although in Fig. 3, touch panel 331 and display panel 341 It is that the input and input function of mobile phone are realized as two independent components, but in some embodiments it is possible to by touch-control Panel 331 and display panel 341 are integrated and that realizes mobile phone output and input 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 sensor, wherein ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel 341, proximity sensor can close display panel 341 when mobile phone is moved in one's ear And/or backlight.As a kind of motion sensor, accelerometer sensor can detect (generally three axis) acceleration in all directions Size, can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture, (for example 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 gyroscope, barometer, hygrometer, thermometer, the infrared sensor of configuration, details are not described herein.
Voicefrequency circuit 360, loudspeaker 361, microphone 362 can provide the audio interface between user and mobile phone.Audio-frequency electric Electric signal after the audio data received conversion can be transferred to loudspeaker 361, be 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 It is changed to audio data, then by after the processing of audio data output processor 380, such as another mobile phone is sent to through RF circuit 310, Or audio data is exported to memory 320 to be further processed.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by Wi-Fi module 370 Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 3 is shown Wi-Fi module 370, but it is understood that, and it is not belonging to must be configured into for mobile phone, it can according to need do not changing completely Become in the range of the essence of invention and omits.
Processor 380 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, is led to It crosses operation or executes the software program and/or module being stored in memory 320, and call and be stored in memory 320 Data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.Optionally, processor 380 can wrap Include one or more processing units;Preferably, processor 380 can integrate application processor and modem processor, wherein answer With the main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication. It is understood that above-mentioned modem processor can not also be integrated into processor 380.
Mobile phone further includes the power supply 390 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe Reason system and processor 380 are logically contiguous, to realize management charging, electric discharge and power managed by power-supply management system Etc. functions.
Although being not shown, mobile phone can also include camera, bluetooth module etc., and details are not described herein.
In embodiments of the present invention, processor 380 included by the terminal is also with the following functions:
One or more programs are run for receiving display resolution switching command;
According to the resolution ratio in the display resolution switching command, resolution ratio and master that the logic shows equipment are updated Show the mapping relations between the resolution ratio of equipment;
According to the updated mapping relations, the logic is shown to content to be shown in equipment, is mapped to described Main display equipment;
Content to be shown in main display equipment is shown.
It is used for preferably, running one or more programs according to the resolution ratio in display resolution switching command, to logic Show that the display device transform matrix between the pixel-matrix of equipment and the pixel-matrix of main display equipment is updated;Wherein, First display device transform matrix is preset.
It is used for according to the resolution ratio in display resolution switching command and patrols preferably, running one or more programs Preset display device transform matrix between the pixel-matrix of display equipment and the pixel-matrix of main display equipment is collected, is updated global Transformation matrix;So that logic shows the pixel-matrix of equipment, by display device transform matrix and updated global change It is consistent with the main display pixel-matrix of equipment after matrixing;Wherein, first global change's matrix is preset.
It is used to be shown logic according to updated display device transform matrix preferably, running one or more programs The pixel-matrix comprising content to be shown of equipment is mapped in the pixel-matrix of main display equipment.
It is used for preferably, running one or more programs according to preset display device transform matrix and updated Global change's matrix after converting to the pixel-matrix comprising content to be shown of logic display equipment, is mapped to main aobvious Show in the pixel-matrix of equipment.
If being cut preferably, running one or more programs for receiving the window resolution for the application widget for being directed to operation Instruction is changed, then the resolution ratio and logic that update the application widget show the mapping relations between the resolution ratio of equipment.
It is used for preferably, running one or more programs according to the resolution ratio in window resolution switching command, to application The pixel-matrix and logic of window show that the window transform matrix between the pixel-matrix of equipment is updated;Wherein, first window Mouth transformation matrix is preset.
It is used for preferably, running one or more programs according to the resolution ratio in window resolution switching command, Yi Jiying The current window transformation matrix between the pixel-matrix of equipment is shown with the pixel-matrix and logic of window, determines compatible transformation Matroid;So that being passed through 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, show that the pixel-matrix of equipment is consistent with logic;According to true The compatible transformation matroid made, updates current window transformation matrix.
Be used for preferably, running one or more programs according to updated mapping relations, by logic show in equipment to The content of display maps to before main display equipment, can also be for the application widget of each operation, according to the application widget Pixel-matrix and logic show the window transform matrix between the pixel-matrix of equipment, by the application widget comprising to be shown The pixel-matrix of content is mapped to logic and shows in the pixel-matrix of equipment;And according to updated mapping relations, by logic Show content to be shown in equipment, map to after main display equipment, can also according to the position of each application widget, size and Lamination order determines the visible area of the pixel-matrix for each application widget being mapped in the pixel-matrix of main display equipment; Split is carried out to each visible area, so that the visible area after split shows the pixel-matrix of equipment without departing from main logic.
Preferably, generation is taken when running one or more programs for detecting the electricity of this equipment lower than given threshold Display resolution switching command and/or window resolution switching command with the resolution ratio after reducing.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
Those of ordinary skill in the art will appreciate that implement the method for the above embodiments be can be with Relevant hardware is instructed to complete by program, the program can store in a kind of computer readable storage medium, on Stating the storage medium mentioned can be read-only memory, disk or CD etc..
A kind of terminal device provided by the present invention is described in detail above, for the general technology people of this field Member, thought according to an embodiment of the present invention, there will be changes in the specific implementation manner and application range, in conclusion The contents of this specification are not to be construed as limiting the invention.

Claims (23)

1. a kind of display methods characterized by comprising
Receive display resolution switching command;
According to the resolution ratio in the display resolution switching command, more new logic shows the resolution ratio and main display equipment of equipment Resolution ratio between mapping relations;
According to the updated mapping relations, the logic is shown to content to be shown in equipment, it is aobvious to map to the master Show equipment;
Content to be shown in the main display equipment is shown.
2. the method according to claim 1, wherein point according in the display resolution switching command Resolution updates the mapping relations between the resolution ratio of the logic display equipment and the resolution ratio of main display equipment, comprising:
Pixel-matrix and the master according to the resolution ratio in the display resolution switching command, to logic display equipment Show that the display device transform matrix between the pixel-matrix of equipment is updated;Wherein, first display device transform matrix is It is preset.
3. the method according to claim 1, wherein point according in the display resolution switching command Resolution updates the mapping relations between the resolution ratio of the logic display equipment and the resolution ratio of main display equipment, comprising:
According in the display resolution switching command resolution ratio and the logic show equipment pixel-matrix with it is described Preset display device transform matrix between the pixel-matrix of main display equipment, updates global change's matrix;So that the logic The pixel-matrix for showing equipment, after the display device transform matrix and updated global change's matrixing, with The pixel-matrix of the main display equipment is consistent;Wherein, first global change's matrix is preset.
4., will be described according to the method described in claim 2, it is characterized in that, described according to the updated mapping relations Logic shows content to be shown in equipment, maps to the main display equipment, comprising:
According to the updated display device transform matrix, the logic is shown to the picture comprising content to be shown of equipment Vegetarian refreshments battle array is mapped in the pixel-matrix of the main display equipment.
5., will be described according to the method described in claim 3, it is characterized in that, described according to the updated mapping relations Logic shows content to be shown in equipment, maps to the main display equipment, comprising:
According to the preset display device transform matrix and updated global change's matrix, the logic is shown and is set After the standby pixel-matrix comprising content to be shown is converted, it is mapped in the pixel-matrix of the main display equipment.
6. method according to claim 1-5, which is characterized in that further include:
If receiving the window resolution switching command of the application widget for operation, update the resolution ratio of the application widget with The logic shows the mapping relations between the resolution ratio of equipment.
7. according to the method described in claim 6, it is characterized in that, the resolution ratio and the logic for updating the application widget Show the mapping relations between the resolution ratio of equipment, comprising:
According to the resolution ratio in the window resolution switching command, the pixel-matrix and the logic to the application widget are aobvious Show that the window transform matrix between the pixel-matrix of equipment is updated;Wherein, first window transform matrix is preset.
8. the method according to the description of claim 7 is characterized in that according to the resolution in the window resolution switching command Rate shows that the window transform matrix between the pixel-matrix of equipment carries out to the pixel-matrix of the application widget and the logic It updates, comprising:
According to the pixel-matrix of resolution ratio and the application widget in the window resolution switching command and the logic It shows the current window transformation matrix between the pixel-matrix of equipment, determines compatible transformation matroid;So that with the window The pixel-matrix of resolution ratio in resolution ratio switching command as the application widget of resolution ratio converts square by the current window After battle array and compatible transformation classes matrixing, show that the pixel-matrix of equipment is consistent with the logic;
According to the compatible transformation matroid determined, current window transformation matrix is updated.
9. method according to claim 4 or 5, which is characterized in that it is described according to the updated mapping relations, by institute It states logic and shows content to be shown in equipment, map to before the main display equipment, further includes:
For the application widget of each operation, the pixel of equipment is shown according to the pixel-matrix of the application widget and the logic The pixel-matrix comprising content to be shown of the application widget is mapped to the logic by the window transform matrix between battle array In the pixel-matrix for showing equipment;And
It is described that the logic is shown to content to be shown in equipment according to the updated mapping relations, it maps to described After main display equipment, further includes:
According to the position of each application widget, size and lamination order, the pixel-matrix for being mapped to the main display equipment is determined In each application widget pixel-matrix visible area;Split is carried out to each visible area, so that the visible area after split Without departing from the pixel-matrix that main logic shows equipment.
10. the method according to claim 1, wherein further include:
When detecting the electricity of this equipment lower than given threshold, the display resolution switching for generating the resolution ratio after carrying reduction refers to Order and/or window resolution switching command.
11. according to the method described in claim 6, it is characterized by further comprising:
When detecting the electricity of this equipment lower than given threshold, the display resolution switching for generating the resolution ratio after carrying reduction refers to Order and/or window resolution switching command.
12. a kind of display device characterized by comprising
Resolution ratio Switching command receiver module, for receiving display resolution switching command;
Mapping relations update module, for according to the resolution ratio in the display resolution switching command, more new logic, which is shown, to be set Mapping relations between the resolution ratio of standby resolution ratio and main display equipment;
Content map module to be shown, for according to the updated mapping relations, by the logic show in equipment to The content of display maps to the main display equipment;
Display module, for being shown to content to be shown in the main display equipment.
13. device according to claim 12, which is characterized in that
The mapping relations update module is used for according to the resolution ratio in the display resolution switching command, aobvious to the logic Show that the display device transform matrix between the pixel-matrix of equipment and the pixel-matrix of the main display equipment is updated;Its In, first display device transform matrix is preset.
14. device according to claim 12, which is characterized in that
The mapping relations update module is used for according to the resolution ratio and the logic in the display resolution switching command It shows preset display device transform matrix between the pixel-matrix of equipment and the pixel-matrix of the main display equipment, updates complete Office's transformation matrix;So that the logic shows the pixel-matrix of equipment, after by the display device transform matrix and updating Global change's matrixing after, it is consistent with the main display pixel-matrix of equipment;Wherein, first global change's matrix is pre- If.
15. device according to claim 13, which is characterized in that
The content map module to be shown is used to be shown the logic according to the updated display device transform matrix The pixel-matrix comprising content to be shown for showing equipment is mapped in the pixel-matrix of the main display equipment.
16. device according to claim 14, which is characterized in that
The content map module to be shown be used for according to the preset display device transform matrix and it is updated entirely Office's transformation matrix is mapped to institute after converting to the pixel-matrix comprising content to be shown of logic display equipment In the pixel-matrix for stating main display equipment.
17. the described in any item devices of 2-16 according to claim 1, which is characterized in that
If the window resolution that the resolution ratio Switching command receiver module is also used to receive the application widget for being directed to operation is cut Instruction is changed, then forwarding is directed to the window resolution switching command of the application widget;And
The mapping relations update module is also used to receive the window resolution switching command for being directed to the application widget Afterwards, the resolution ratio and the logic that update the application widget show the mapping relations between the resolution ratio of equipment.
18. device according to claim 17, which is characterized in that
The mapping relations update module is specifically used for being answered according to the resolution ratio in the window resolution switching command described Show that the window transform matrix between the pixel-matrix of equipment is updated with the pixel-matrix of window and the logic;Wherein, First window transform matrix is preset.
19. device according to claim 18, which is characterized in that
The mapping relations update module is specifically used for according to resolution ratio in the window resolution switching command and described The pixel-matrix of application widget and the logic show the current window transformation matrix between the pixel-matrix of equipment, determine simultaneous Hold transformation matroid;So that the pixel of the application widget using the resolution ratio in the window resolution switching command as resolution ratio Dot matrix shows the picture of equipment with the logic after the current window transformation matrix and compatible transformation classes matrixing Vegetarian refreshments battle array is consistent;According to the compatible transformation matroid determined, current window transformation matrix is updated.
20. device according to claim 15 or 16, which is characterized in that
The content map module to be shown is also used to be shown the logic according to the updated mapping relations described Before showing content map to be shown in equipment to the main display equipment, for the application widget of each operation, answered according to this The window transform matrix between the pixel-matrix of equipment is shown with the pixel-matrix of window and the logic, by the application widget Pixel-matrix comprising content to be shown is mapped to the logic and shows in the pixel-matrix of equipment;And in the basis The logic is shown content to be shown in equipment by the updated mapping relations, map to the main display equipment it Afterwards, it according to the position of each application widget, size and lamination order, determines to be mapped in the pixel-matrix of the main display equipment Each application widget pixel-matrix visible area;Split is carried out to each visible area, so that the visible area after split is not The pixel-matrix of equipment is shown beyond main logic.
21. device according to claim 12, which is characterized in that
When the resolution ratio Switching command receiver module is also used to detect the electricity of this equipment lower than given threshold, generates and carry After the display resolution switching command or window resolution switching command of resolution ratio after reduction, it is sent to the mapping relations more New module.
22. device according to claim 17, which is characterized in that
When the resolution ratio Switching command receiver module is also used to detect the electricity of this equipment lower than given threshold, generates and carry After the display resolution switching command or window resolution switching command of resolution ratio after reduction, it is sent to the mapping relations more New module.
23. a kind of terminal device, comprising:
Touch-sensitive display;
One or more processors;
Memory;
One or more application program, wherein one or more of application programs are stored in the memory and are configured To be executed by one or more of processors, one or more of programs are configured to:
Receive display resolution switching command;
According to the resolution ratio in the display resolution switching command, more new logic shows the resolution ratio and main display equipment of equipment Resolution ratio between mapping relations;
According to the updated mapping relations, the logic is shown to content to be shown in equipment, it is aobvious to map to the master Show equipment;
Content to be shown in the main display equipment is shown.
CN201610912729.5A 2016-10-19 2016-10-19 Display methods, device and terminal device Active CN106502608B (en)

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 CN106502608A (en) 2017-03-15
CN106502608B true 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)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108399058B (en) * 2018-03-09 2021-05-11 北京淳中科技股份有限公司 Signal display control method and device
CN109754771B (en) * 2019-03-08 2020-09-01 南昌黑鲨科技有限公司 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

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003108283A (en) * 2001-09-18 2003-04-11 Internatl Business Mach Corp <Ibm> Computer apparatus, display device, display control apparatus, processing method for image, processing method for changing display resolution and computer program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN106502608A (en) 2017-03-15

Similar Documents

Publication Publication Date Title
CN106502608B (en) Display methods, device and terminal device
CN104298436B (en) A kind of quickly revert operating method and terminal
CN106527656B (en) Display methods, device and terminal device
CN106406892A (en) A shortcut function display method and device for applications and a terminal apparatus
CN104571979B (en) A kind of method and apparatus for realizing split view
CN108415652A (en) A kind of text handling method and mobile terminal
CN110531904A (en) A kind of background task display methods and terminal
CN110109593A (en) A kind of screenshotss method and terminal device
CN108595201A (en) A kind of application program update method and mobile terminal
CN113220176B (en) Display method and device based on widget, electronic equipment and readable storage medium
CN109327672A (en) A kind of video call method and terminal
CN109085968A (en) A kind of screenshotss method and terminal device
CN109358931A (en) A kind of interface display method and terminal
CN108900695A (en) A kind of display processing method and terminal device
CN109885302A (en) A kind of methods of exhibiting and terminal device applied fastly
CN110096203A (en) A kind of screenshot method and mobile terminal
CN110049187A (en) A kind of display methods and terminal device
CN109743449A (en) A kind of virtual key display methods and terminal
CN109522278A (en) A kind of file memory method and terminal device
CN108304575A (en) A kind of method and terminal of mark display
CN110012152A (en) A kind of interface display method and terminal device
CN106708390A (en) Screen capture method, apparatus and system
CN109976844A (en) A kind of message display method and mobile terminal
CN103412707A (en) Displaying method, device and equipment for display frame
CN109284146A (en) A kind of light application open method and mobile 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