CN105807890A - Information display method and device and electronic equipment - Google Patents

Information display method and device and electronic equipment Download PDF

Info

Publication number
CN105807890A
CN105807890A CN201610125791.XA CN201610125791A CN105807890A CN 105807890 A CN105807890 A CN 105807890A CN 201610125791 A CN201610125791 A CN 201610125791A CN 105807890 A CN105807890 A CN 105807890A
Authority
CN
China
Prior art keywords
resolution
destination client
client
intended display
displaying
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
Application number
CN201610125791.XA
Other languages
Chinese (zh)
Other versions
CN105807890B (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 Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201610125791.XA priority Critical patent/CN105807890B/en
Publication of CN105807890A publication Critical patent/CN105807890A/en
Application granted granted Critical
Publication of CN105807890B publication Critical patent/CN105807890B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • 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/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3265Power saving in display device

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses an information display method, an information display device and electronic equipment, relates to the technical field of computers, and is applied to a terminal, wherein the method comprises the following steps: monitoring whether a display resolution determination condition aiming at a target client is met, wherein the target is the client in a foreground running state in the terminal; if so, determining a target display resolution for the target client, wherein the target display resolution is smaller than the actual display resolution of the terminal; feeding back the target display resolution to the target client; obtaining an image to be displayed drawn by the target client according to the target display resolution; and stretching the image to be displayed according to the actual display resolution, and displaying the stretched image to be displayed. By applying the scheme provided by the embodiment of the application, the electric quantity can be effectively saved.

Description

A kind of information displaying method, device and electronic equipment
Technical field
The application relates to field of computer technology, particularly to a kind of information displaying method, device and electronic equipment.
Background technology
In recent years along with the fast development of hardware technology, the performance of user terminal is from strength to strength, it would be preferable to support function get more and more.But while function increases, the power consumption rate of user terminal is also more and more faster.
In prior art, for saving electricity, user terminal developer is often from hardware point of view, reduce the power consumption of various hardware self, to reach to save the purpose of electricity, for instance, adjust CPU (CentralProcessingUnit, central processing unit), the frequency of GPU (GraphicsProcessingUnit, graphic process unit) or VPU (VideoProcessingUnit, video processing unit) etc..
Can reach to save the purpose of electricity by the way, for the subscriber equipment of same model, owing to its hardware configuration is identical, thus it is possible to the power saving effect reached is similar.But, although the model of subscriber equipment is identical, and the function required for different user is often different, so the simple individual demand not considering user from hardware point of view saving electricity, and then different power saving effects cannot be reached for different user.
Summary of the invention
The embodiment of the present application discloses a kind of information displaying method, device and electronic equipment, to save electricity, reaches different power saving effects for different user.
For reaching above-mentioned purpose, the embodiment of the present application discloses a kind of information displaying method, is applied to terminal, and described method includes:
Monitoring whether that meeting the displaying resolution for destination client determines condition, wherein, described destination client is the client being in front stage operation state in described terminal;
If meeting, it is determined that for the intended display resolution of described destination client, wherein, described intended display resolution is less than the actual displayed resolution of described terminal;
Described intended display resolution is fed back to described destination client;
Obtain the described destination client image to be presented according to described intended display resolution render;
According to described actual displayed resolution described image to be presented carried out stretch processing, and show drawn process after image described to be presented.
In a kind of specific implementation of the application, after monitoring the satisfied displaying resolution for described destination client and determining condition, also include:
Obtain the current state of described destination client;
When described current state is running status, it is judged that whether described destination client adjusts in white list at default dynamic resolution;
If it is, perform described to determine the intended display resolution step for described destination client;
If it has not, judge whether described destination client adjusts in white list in default static resolution;
If adjusting in white list in described default static resolution, restarting described destination client, and in the process restarting described destination client, performing described to determine the intended display resolution step for described destination client.
In a kind of specific implementation of the application, described information displaying method also includes:
When described current state is starting state, it is judged that whether described destination client adjusts in white list in described default static resolution;
If it is, perform described to determine the intended display resolution step for described destination client.
In a kind of specific implementation of the application, described in monitor whether to meet and determine condition for the displaying resolution of destination client, including:
Monitor whether that the displaying resolution receiving destination client transmission determines request, if it has, then judge that meeting the displaying resolution for described destination client determines condition;Or
Monitor whether described terminal switches to power down mode, if it has, then judge that meeting the displaying resolution for described destination client determines condition;Or
Whether monitor the current available resource of described terminal less than default threshold value, if it has, then judge that meeting the displaying resolution for described destination client determines condition.
In a kind of specific implementation of the application, described determine the intended display resolution for described destination client, including:
The intended display resolution for described destination client is determined according at least one in following information:
The resource requirement of the described destination client obtained in advance;
The actual displayed resolution of described terminal;
The current available resource of described terminal;
The current residual electricity of described terminal;
The current power mode of described terminal.
In a kind of specific implementation of the application, described determine the intended display resolution for described destination client, including:
Alternative displaying resolution according at least one service feedback in preset service, it is determined that for the intended display resolution of described destination client;
Wherein, described alternative displaying resolution is less than described actual displayed resolution;
Described preset service, including:
For obtaining the first predetermined system service of operating system configuration information;
For obtaining the second predetermined system service of window information;
For obtaining the 3rd predetermined system service of display device information.
In a kind of specific implementation of the application, the described alternative displaying resolution according at least one service feedback in preset service, it is determined that for the intended display resolution of described destination client, including:
Obtain the alternative displaying resolution of described first predetermined system service, described second predetermined system service and described 3rd predetermined system service feedback respectively;
Judge that whether each the alternative displaying resolution obtained is equal;
If it is equal, it is determined that the alternative displaying resolution obtained is the intended display resolution for described destination client.
For reaching above-mentioned purpose, the embodiment of the present application discloses a kind of device for displaying information, is applied to terminal, and described device includes:
Condition monitor module, for monitoring whether that meeting the displaying resolution for destination client determines condition, wherein, described destination client is the client being in front stage operation state in described terminal;
Resolution determines module, for when the monitoring result of described condition monitor module is for being, it is determined that for the intended display resolution of described destination client, wherein, described intended display resolution is less than the actual displayed resolution of described terminal;
Resolution feedback module, for feeding back described intended display resolution to described destination client;
Image obtains module, for obtaining the described destination client image to be presented according to described intended display resolution render;
Image shows module, for according to described actual displayed resolution described image to be presented being carried out stretch processing, and show drawn process after image described to be presented.
In a kind of specific implementation of the application, described device for displaying information also includes:
Current state obtains module, for when the monitoring result of described condition monitor module is for being, it is thus achieved that the current state of described destination client;
First client judge module, for when described current state is running status, judge whether described destination client adjusts in white list at default dynamic resolution, if it is, trigger described resolution to determine that module determines described intended display resolution;
Second client judge module, for when the judged result of described first client judge module is no, it is judged that whether described destination client adjusts in white list in default static resolution;
Client restarts module, for when the judged result of described second client judge module is for being, restart described destination client, and in the process restarting described destination client, trigger described resolution and determine that module determines described intended display resolution.
In a kind of specific implementation of the application, described device for displaying information also includes:
3rd client judge module, for when described current state is starting state, judge whether described destination client adjusts in white list in described default static resolution, if it is, trigger described resolution to determine that module determines described intended display resolution.
In a kind of specific implementation of the application, described condition monitor module,
Specifically for monitoring whether that the displaying resolution receiving destination client transmission determines request, if it has, then judge that meeting the displaying resolution for described destination client determines condition;Or
Specifically for monitoring whether described terminal switches to power down mode, if it has, then judge that meeting the displaying resolution for described destination client determines condition;Or
Specifically for monitoring the current available resource of described terminal whether less than default threshold value, if it has, then judge that meeting the displaying resolution for described destination client determines condition.
In a kind of specific implementation of the application, described resolution determines module, specifically for determining the intended display resolution for described destination client according at least one in following information:
The resource requirement of the described destination client obtained in advance;
The actual displayed resolution of described terminal;
The current available resource of described terminal;
The current residual electricity of described terminal;
The current power mode of described terminal.
In a kind of specific implementation of the application, described resolution determines module, specifically for the alternative displaying resolution according at least one service feedback in preset service, it is determined that for the intended display resolution of described destination client;
Wherein, described alternative displaying resolution is less than described actual displayed resolution;
Described preset service, including:
For obtaining the first predetermined system service of operating system configuration information;
For obtaining the second predetermined system service of window information;
For obtaining the 3rd predetermined system service of display device information.
In a kind of specific implementation of the application, described resolution determines module, including:
Resolution obtains submodule, for obtaining the alternative displaying resolution of described first predetermined system service, described second predetermined system service and described 3rd predetermined system service feedback respectively;
Resolution judges submodule, for judging that whether each the alternative displaying resolution obtained is equal;
Resolution determines submodule, for when described resolution judges the judged result of submodule for being, it is determined that the alternative displaying resolution obtained is the intended display resolution for described destination client.
For reaching above-mentioned purpose, the embodiment of the present application discloses a kind of electronic equipment, and described electronic equipment includes: housing, processor, memorizer, circuit board and power circuit, wherein, circuit board is placed in the interior volume that housing surrounds, processor and memorizer and arranges on circuit boards;Power circuit, powers for each circuit or the device for electronic equipment;Memorizer is used for storing executable program code;Processor runs the program corresponding with executable program code by reading the executable program code of storage in memorizer, for performing following steps:
Monitoring whether that meeting the displaying resolution for destination client determines condition, wherein, described destination client is the client being in front stage operation state in described terminal;
If meeting, it is determined that for the intended display resolution of described destination client, wherein, described intended display resolution is less than the actual displayed resolution of described terminal;
Described intended display resolution is fed back to described destination client;
Obtain the described destination client image to be presented according to described intended display resolution render;
According to described actual displayed resolution described image to be presented carried out stretch processing, and show drawn process after image described to be presented.
As seen from the above, in the scheme that the embodiment of the present application provides, terminal is when monitoring the satisfied displaying resolution for destination client and determining condition, determine the intended display resolution for destination client, and this intended display resolution is fed back to destination client, obtain the destination client image to be presented according to intended display resolution render, then according to actual displayed resolution image to be presented carried out stretch processing, and show drawn process after image to be presented.Owing to intended display resolution ratio actual displaying resolution is little, so client draws the hardware resource required for image to be presented then less, and then the effect of using electricity wisely can be reached, additionally, above-mentioned information exhibition scheme is for the client being in front stage operation state, the terminal of different user is often in different running status according to individual demand, has the client not being in front stage operation state together, thus it is possible to reach to reach different-effect for different user.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present application or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the application, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
The schematic flow sheet of a kind of information displaying method that Fig. 1 provides for the embodiment of the present application;
The structural representation of a kind of device for displaying information that Fig. 2 provides for the embodiment of the present application;
The structural representation of a kind of electronic equipment that Fig. 3 provides for the embodiment of the present application.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described embodiment is only some embodiments of the present application, rather than whole embodiments.Based on the embodiment in the application, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of the application protection.
The schematic flow sheet of a kind of information displaying method that Fig. 1 provides for the embodiment of the present application, the method is applied to terminal, concrete, it is possible to realize by installing the mode such as particular plug-in, particular clients in terminal operating system.
Concrete, above-mentioned information displaying method includes:
S101: monitor whether that meeting the displaying resolution for destination client determines condition, if meeting, performs S102.
Wherein, above-mentioned destination client is the client being in front stage operation state in terminal.Concrete, it is in the client of front stage operation state, it is possible to be the client being in starting state, be namely also not fully complete the client of startup, it is also possible to being completed to start, be in the client of normal operating condition, this is not defined by the application.
In the optional implementation of one of the application, when monitoring whether that meeting the displaying resolution for destination client determines condition, it is possible to any one in the following manner realizes:
First kind of way: by monitoring whether that the displaying resolution receiving destination client transmission determines that request realizes, concrete, if receiving, then judges that meeting the displaying resolution for destination client determines condition.
Concrete, above-mentioned displaying resolution determines that request can be that destination client sends in start-up course, it is also possible to being that destination client sends in normal course of operation, this is not defined by the application.
The second way: whether be in starting state by monitoring objective client and realize, concrete, if being in starting state, then judge that meeting the displaying resolution for destination client determines condition.
The third mode: whether switch to power down mode by monitoring terminal and realize, concrete, if switching to power down mode, then judge that meeting the displaying resolution for destination client determines condition.
Concrete, terminal can simply be divided into power down mode and non-power down mode with electricity condition, when terminal is in non-power down mode, terminal operating process is generally left out the information such as electricity, and mainly preferential with Consumer's Experience;When terminal is in power down mode, terminal operating process generally can be passed through to adopt various measures reach the effect of using electricity wisely.
4th kind of mode: by whether the current available resource of monitoring terminal realizes less than default threshold value, concrete, if less than default threshold value, then it is believed that terminal resource is nervous, current power consumption is relatively big, therefore, it can judge that meeting the displaying resolution for destination client determines condition.
Understandable, above-mentioned several situation is except can be used alone and monitoring whether to meet and determine condition for the displaying resolution of destination client, it is also possible to two kinds or two or more combining monitor whether that meeting the displaying resolution for destination client determines condition.
It addition, in above-mentioned four kinds of modes, all can be understood as except the second is monitor whether that under client is in normal operating condition meeting the displaying resolution for destination client determines condition.Owing to client not all in practical application is all supported to adjust the displaying resolution for client in normal course of operation, so, in the optional implementation of one of the application, a client white list can be previously generated, in client normal course of operation, only allowing the client adjustment for being arranged in this client white list to show resolution, concrete condition may refer to the two kinds of specific implementations provided after S105, wouldn't describe in detail here.
Certainly, above-mentioned four kinds of modes also can be understood as client and are in starting state.
S102: determine the intended display resolution for destination client.
It should be noted that intended display resolution is less than the actual displayed resolution of terminal.
Above-mentioned actual displayed resolution is to be determined by the hardware attributes of display module in terminal, for instance, resolution of display screen etc..
Assume that actual displayed resolution is 1080p, then intended display resolution can be 720p etc.
Optionally, it is determined that during for the intended display resolution of destination client, it is possible to determine the intended display resolution for destination client according at least one in following information:
The resource requirement of the destination client obtained in advance;
The actual displayed resolution of terminal;
The current available resource of terminal, for instance, current CPU occupied 80%, then available CPU resource is 20% etc., and wherein, available resources can also include the resources such as internal memory;
The current residual electricity of terminal, for instance, current residual electricity can be 30%;
The current power mode of terminal, for instance, it is currently at battery saving mode.
It should be noted that, the application simply illustrates for above-mentioned, the application is to being used for determining that the information of intended display resolution is defined, for instance, it is also possible to determine intended display resolution etc. according to the model of terminal set in advance and the corresponding relation shown between resolution.
Further, after determining intended display resolution according to above-mentioned information, it is possible to by least one in following system service to destination client feed back above-mentioned intended display resolution:
For obtaining the first predetermined system service of operating system configuration information;
For obtaining the second predetermined system service of window information;
For the 3rd predetermined system service obtaining display device information etc..
Concrete, for Android operation system, above-mentioned first predetermined system service, the second predetermined system service and the 3rd predetermined system service can be the ActivityManagerService, WindowManagerService and DisplayManagerService of SystemServer process respectively.
It is discussed in detail how to determine intended display resolution according to above-mentioned information in conjunction with instantiation below:
The first situation: the resource requirement of the destination client obtained in advance
The resource requirement of destination client is more high, and its power consumption is more big, and the displaying resolution reducing client in this case can save a part of electricity, and wherein, above-mentioned resource requirement may include that the demand to CPU, the demand to internal memory, the demand to hard disk etc..
Such as, when the memory requirements of destination client is more than memory threshold (e.g., 500M), the displaying resolution of the client of target is reduced to 720p by 1080p, or is reduced to 352x288 etc. by 720p.
Owing to various clients only can support multiple common resolution under normal circumstances, generally will not support all of resolution, such as, support 1080p, 720p, CIF, QCIF etc., so the example above use only the variation pattern between common resolution, practical application can also reduce resolution according to certain proportion, no longer enumerate here.
The second situation: the actual displayed resolution of terminal
The actual displayed resolution of terminal is usually and is determined by hardware device, for instance, device display screen etc., when the actual displayed resolution of terminal is more big, power consumption is more big, otherwise, the actual displayed of terminal is differentiated more little, and power consumption is more little.
When adopting the mode reducing target terminal displaying resolution to save electricity, if the actual displayed resolution of terminal is 1080p can be reduced to 720p, so namely saving electricity has been accomplished, it is unlikely to again the subjective experience of user is brought too much influence, certainly 352x288 can also be directly reduced to for the further power saving of example, so can save more electricity, but owing to the actual displayed resolution of terminal is higher, and the displaying resolution of target terminal is low, image definition can be brought to reduce, and then the experience effect of the user that subjective quality requirement is higher may be affected.
The third situation: the current available resource of terminal
Similar with above-mentioned situation, when in terminal, current available resource is less, the most of resources illustrated in terminal are in the state of running up, and the electricity so needed is bigger.
When current available resource according to terminal determines intended display resolution, except can reducing resolution according to the situation segmentation according to current available resource said before, it is also possible to show resolution according to the proportionally attenuating gradually such as linear relationship.
4th kind of situation: the current residual electricity of terminal
Such as, when current residual electricity is less than default power threshold (e.g., 20%), then directly will show that resolution is reduced to 352x288 etc. by original 1080p.
5th kind of situation: the current power mode of terminal
Above-mentioned current power mode can be battery saving mode and non-battery saving mode, when the current power mode of terminal is battery saving mode, illustrate that user wishes power saving, in this case low image quality is generally had in-mind anticipation by user, then intended display resolution could be arranged to relatively low numerical value, at this moment minimum or relatively low resolution can be selected as intended display resolution from several resolution that target terminal can be supported.
Additionally, above-mentioned several situation can combine and determine intended display resolution, such as, select the resolution min determined respectively according to above-mentioned several situations, intermediate value, average etc. as intended display resolution, in advance weight coefficient can also be set for above-mentioned several situations, then intended display resolution is determined according to modes such as weight coefficient and the resolution determined respectively according to above-mentioned several situations are weighted, it is also possible to select the resolution that in the resolution determined respectively according to above-mentioned several situations, occurrence number is maximum as intended display resolution.
It should be noted that the application simply illustrates for above-mentioned several situations, practical application is not limited to that.
Optionally, it is determined that during for the intended display resolution of destination client, it is also possible to the alternative displaying resolution according at least one service feedback in preset service, it is determined that for the intended display resolution of destination client;
Wherein, above-mentioned alternative displaying resolution is less than actual displayed resolution;
Above-mentioned preset service may include that
For obtaining the first predetermined system service of operating system configuration information;
For obtaining the second predetermined system service of window information;
For obtaining the 3rd predetermined system service of display device information.
Those skilled in the art are understandable that, above-mentioned first predetermined system service, the second predetermined system service can be relevant to operating system with the 3rd predetermined system service, for different operating system, the concrete form of above-mentioned predetermined system service can be different, but its function is constant.
Concrete, for Android operation system, above-mentioned first predetermined system service, the second predetermined system service and the 3rd predetermined system service can be the ActivityManagerService, WindowManagerService and DisplayManagerService of SystemServer process respectively.
It should be noted that, in prior art above-mentioned three kinds of service feedback be terminal actual displayed differentiate, alternative displaying resolution can be fed back to realize it, the code requiring over ad hoc fashion amendment these three service realizes so that it is can feed back the alternative displaying resolution less than actual displayed resolution.
Concrete, when above-mentioned preset service determines alternative displaying resolution, it is also possible to the resource requirement of destination client that considers to obtain in advance, the actual displayed resolution of terminal, the current available resource of terminal, the current residual electricity of terminal, terminal current power mode etc..
Preferably, alternative displaying resolution according at least one service feedback in preset service, when determining the intended display resolution for destination client, first can obtain the alternative displaying resolution of the first predetermined system service, the second predetermined system service and the 3rd predetermined system service feedback respectively, then judge that whether each the alternative displaying resolution obtained is equal, if it is equal, it is determined that the alternative displaying resolution obtained is the intended display resolution for destination client.
S103: show resolution to destination client feedback target.
S104: obtain the destination client image to be presented according to intended display resolution render.
Under normal circumstances, the image of multiple resolution is drawn in client support, preferably to adapt to various terminal on the market.
S105: image to be presented carried out stretch processing according to actual displayed resolution, and show drawn process after image to be presented.
Owing to image to be presented is that destination client generates according to intended display resolution, and intended display resolution is differentiated less than actual displayed, so, stretch processing need to be carried out when showing image to be presented.Concrete, stretch processing can be that GPU carries out, can also is that LCD (LiquidCrystalDisplay, liquid crystal display) carries out, this is not defined by the application.
Image quality can be brought to lose owing to generating image to be presented with low resolution, poor visual experience may be brought with user, Given this, in a kind of specific implementation of the application, can also include: show low resolution information, to reduce the in-mind anticipation of user, thus lowering user psychology expection, it is prevented that user feels that visual effect is too poor.
In a kind of specific implementation of the application, above-mentioned S101 is after monitoring the satisfied displaying resolution for destination client and determining condition, can also obtaining the current state of destination client, wherein, above-mentioned current state can include running status and starting state etc.;
In this specific implementation, when current state is running status, judge whether destination client adjusts in white list at default dynamic resolution, if adjusting in white list at default dynamic resolution, then perform above-mentioned S102 and determine intended display resolution;If not adjusting in white list at default dynamic resolution, then determine whether whether destination client adjusts in white list in default static resolution;
Concrete, if adjusting in white list in default static resolution, then restart destination client, and in the process restarting destination client, perform above-mentioned S102 and determine intended display resolution.
Wherein, above-mentioned default dynamic resolution adjusts white list with default static resolution adjustment white list can be the list recording the information such as client identification built in advance by operation maintenance personnel.
The dynamic resolution preset adjusts white list, for recording the information supporting to adjust the client showing resolution in running, for instance, client identification etc.;
And the static resolution preset adjusts white list, for recording the information supporting to adjust the client showing resolution in start-up course, for instance, client identification etc..
Those skilled in the art are understandable that, most of clients can be supported to adjust in start-up course to show resolution, so, in a kind of implementation, above-mentioned default static resolution adjusts the client-side information that the client-side information comprised in white list includes comprising in above-mentioned default dynamic resolution adjustment white list, and the static resolution preset adjusts the quantity of comprised client in white list and adjusts the quantity of comprised client in white list more than default static resolution.
In the another kind of specific implementation of the application, after obtaining the current state of destination client, when above-mentioned current state is starting state, can determine whether whether destination client adjusts in white list in default static resolution, if, perform above-mentioned S102 and determine intended display resolution.
Owing to essentially all of client all can show resolution to system request in start-up course, so in the optional implementation of one of the application, when above-mentioned current state is starting state, can not also judge whether destination client adjusts in white list in default static resolution, but direct above-mentioned S102 determines intended display resolution.
Concrete, in above-mentioned two specific implementation, when S101 monitors whether that meeting the displaying resolution for destination client determines condition, it is possible to reference to the first kind of way mentioned in aforementioned S101, the third mode and the 4th kind of mode, currently practical application is not limited to that.
As seen from the above, in the scheme that each embodiment above-mentioned provides, terminal is when monitoring the satisfied displaying resolution for destination client and determining condition, determine the intended display resolution for destination client, and this intended display resolution is fed back to destination client, obtain the destination client image to be presented according to intended display resolution render, then according to actual displayed resolution image to be presented carried out stretch processing, and show drawn process after image to be presented.Owing to intended display resolution ratio actual displaying resolution is little, so client draws the hardware resource required for image to be presented then less, and then the effect of using electricity wisely can be reached, additionally, above-mentioned information exhibition scheme is for the client being in front stage operation state, the terminal of different user is often in different running status according to individual demand, has the client not being in front stage operation state together, thus it is possible to reach to reach different-effect for different user.
It is noted that apply above-mentioned information displaying method except can reaching to save the effect of user's point, it is also possible to the application that load request is high on the equipment that some configurations are relatively low, such as, big game etc., thus playing the effect of accelerator, such as, game accelerator.
Assume, the drafting speed that originally terminal is merely able to so that 20 frames are per second renders on 1080p screen, after lowering the resolution of drawing image by the way, thus client can first draw out the image of 720p with higher drafting speed, the last screen being presented in 1080p again through stretch processing, thus allowing user feel improve Consumer's Experience by no longer so card.
Corresponding with above-mentioned information displaying method, the embodiment of the present application additionally provides a kind of device for displaying information.
The structural representation of a kind of device for displaying information that Fig. 2 provides for the embodiment of the present application, this device is applied to terminal, including:
Condition monitor module 201, for monitoring whether that meeting the displaying resolution for destination client determines condition, wherein, described destination client is the client being in front stage operation state in described terminal;
Resolution determines module 202, for when the monitoring result of described condition monitor module 201 is for being, it is determined that for the intended display resolution of described destination client, wherein, described intended display resolution is less than the actual displayed resolution of described terminal;
Resolution feedback module 203, for feeding back described intended display resolution to described destination client;
Image obtains module 204, for obtaining the described destination client image to be presented according to described intended display resolution render;
Image shows module 205, for according to described actual displayed resolution described image to be presented being carried out stretch processing, and show drawn process after image described to be presented.
Concrete, described device for displaying information can also include:
Current state obtains module, for when the monitoring result of described condition monitor module 201 is for being, it is thus achieved that the current state of described destination client;
First client judge module, for when described current state is running status, judge whether described destination client adjusts in white list at default dynamic resolution, if it is, trigger described resolution to determine that module determines described intended display resolution;
Second client judge module, for when the judged result of described first client judge module is no, it is judged that whether described destination client adjusts in white list in default static resolution;
Client restarts module, for when the judged result of described second client judge module is for being, restart described destination client, and in the process restarting described destination client, trigger described resolution and determine that module determines described intended display resolution.
In a kind of specific implementation of the application, described device for displaying information can also include:
3rd client judge module, for when described current state is starting state, judge whether described destination client adjusts in white list in described default static resolution, if it is, trigger described resolution to determine that module determines described intended display resolution.
Concrete, described condition monitor module 201,
Specifically for monitoring whether that the displaying resolution receiving destination client transmission determines request, if it has, then judge that meeting the displaying resolution for described destination client determines condition;Or
Specifically for monitoring whether described terminal switches to power down mode, if it has, then judge that meeting the displaying resolution for described destination client determines condition;Or
Specifically for monitoring the current available resource of described terminal whether less than default threshold value, if it has, then judge that meeting the displaying resolution for described destination client determines condition.
Concrete, described resolution determines module 202, specifically for determining the intended display resolution for described destination client according at least one in following information:
The resource requirement of the described destination client obtained in advance;
The actual displayed resolution of described terminal;
The current available resource of described terminal;
The current residual electricity of described terminal;
The current power mode of described terminal.
Concrete, described resolution determines module 202, specifically for the alternative displaying resolution according at least one service feedback in preset service, it is determined that for the intended display resolution of described destination client;
Wherein, described alternative displaying resolution is less than described actual displayed resolution;
Described preset service, including:
For obtaining the first predetermined system service of operating system configuration information;
For obtaining the second predetermined system service of window information;
For obtaining the 3rd predetermined system service of display device information.
Concrete, described resolution determines that module 202 may include that
Resolution obtains submodule, for obtaining the alternative displaying resolution of described first predetermined system service, described second predetermined system service and described 3rd predetermined system service feedback respectively;
Resolution judges submodule, for judging that whether each the alternative displaying resolution obtained is equal;
Resolution determines submodule, for when described resolution judges the judged result of submodule for being, it is determined that the alternative displaying resolution obtained is the intended display resolution for described destination client.
As seen from the above, in the scheme that each embodiment above-mentioned provides, terminal is when monitoring the satisfied displaying resolution for destination client and determining condition, determine the intended display resolution for destination client, and this intended display resolution is fed back to destination client, obtain the destination client image to be presented according to intended display resolution render, then according to actual displayed resolution image to be presented carried out stretch processing, and show drawn process after image to be presented.Owing to intended display resolution ratio actual displaying resolution is little, so client draws the hardware resource required for image to be presented then less, and then the effect of using electricity wisely can be reached, additionally, above-mentioned information exhibition scheme is for the client being in front stage operation state, the terminal of different user is often in different running status according to individual demand, has the client not being in front stage operation state together, thus it is possible to reach to reach different-effect for different user.
Corresponding with above-mentioned information displaying method and device for displaying information, the embodiment of the present application additionally provides a kind of electronic equipment.
The structural representation of a kind of electronic equipment that Fig. 3 provides for the embodiment of the present invention, this electronic equipment includes: housing 301, processor 302, memorizer 303, circuit board 304 and power circuit 305, wherein, circuit board 304 is placed in the interior volume that housing 301 surrounds, processor 302 and memorizer 303 and is arranged on circuit board 304;Power circuit 305, powers for each circuit or the device for electronic equipment;Memorizer 303 is used for storing executable program code;Processor 302 runs the program corresponding with executable program code by reading the executable program code of storage in memorizer 303, for performing following steps:
Monitoring whether that meeting the displaying resolution for destination client determines condition, wherein, described destination client is the client being in front stage operation state in described terminal;
If meeting, it is determined that for the intended display resolution of described destination client, wherein, described intended display resolution is less than the actual displayed resolution of described terminal;
Described intended display resolution is fed back to described destination client;
Obtain the described destination client image to be presented according to described intended display resolution render;
According to described actual displayed resolution described image to be presented carried out stretch processing, and show drawn process after image described to be presented.
The step that concrete execution process and the processor 302 of above-mentioned steps are performed further by processor 302 by operation executable program code, it is possible to referring to the description of Fig. 1-2 illustrated embodiment of the present invention, do not repeat them here.
This electronic equipment exists in a variety of forms, includes but not limited to:
(1) mobile communication equipment: the feature of this kind equipment is to possess mobile communication function, and to provide speech, data communication for main target.This Terminal Type includes: smart mobile phone (such as iPhone), multimedia handset, functional mobile phone, and low-end mobile phone etc..
(2) super mobile personal computer equipment: this kind equipment belongs to the category of personal computer, has calculating and processes function, generally also possessing mobile Internet access characteristic.This Terminal Type includes: PDA, MID and UMPC equipment etc., for instance iPad.
(3) portable entertainment device: this kind equipment can show and play content of multimedia.This kind equipment includes: audio frequency, video player (such as iPod), handheld device, e-book, and intelligent toy and portable car-mounted navigator.
(4) server: the equipment of the service of calculating is provided, the composition of server includes processor, hard disk, internal memory, system bus etc., server is similar with general computer architecture, but owing to needing to provide highly reliable service, therefore require higher in disposal ability, stability, reliability, safety, extensibility, manageability etc..
(5) other have the electronic installation of data interaction function.
As seen from the above, in the scheme that each embodiment above-mentioned provides, terminal is when monitoring the satisfied displaying resolution for destination client and determining condition, determine the intended display resolution for destination client, and this intended display resolution is fed back to destination client, obtain the destination client image to be presented according to intended display resolution render, then according to actual displayed resolution image to be presented carried out stretch processing, and show drawn process after image to be presented.Owing to intended display resolution ratio actual displaying resolution is little, so client draws the hardware resource required for image to be presented then less, and then the effect of using electricity wisely can be reached, additionally, above-mentioned information exhibition scheme is for the client being in front stage operation state, the terminal of different user is often in different running status according to individual demand, has the client not being in front stage operation state together, thus it is possible to reach to reach different-effect for different user.
For device, electronic equipment embodiment, owing to it is substantially similar to embodiment of the method, so what describe is fairly simple, relevant part illustrates referring to the part of embodiment of the method.
It should be noted that, in this article, the relational terms of such as first and second or the like is used merely to separate an entity or operation with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that include the process of a series of key element, method, article or equipment not only include those key elements, but also include other key elements being not expressly set out, or also include the key element intrinsic for this process, method, article or equipment.When there is no more restriction, statement " including ... " key element limited, it is not excluded that there is also other identical element in including the process of described key element, method, article or equipment.
One of ordinary skill in the art will appreciate that all or part of step realizing in said method embodiment can be by the hardware that program carrys out instruction relevant and completes, described program can be stored in computer read/write memory medium, the storage medium obtained designated herein, as: ROM/RAM, magnetic disc, CD etc..
The foregoing is only the preferred embodiment of the application, be not intended to limit the protection domain of the application.All make within spirit herein and principle any amendment, equivalent replacement, improvement etc., be all contained in the protection domain of the application.

Claims (10)

1. an information displaying method, is applied to terminal, it is characterised in that described method includes:
Monitoring whether that meeting the displaying resolution for destination client determines condition, wherein, described destination client is the client being in front stage operation state in described terminal;
If meeting, it is determined that for the intended display resolution of described destination client, wherein, described intended display resolution is less than the actual displayed resolution of described terminal;
Described intended display resolution is fed back to described destination client;
Obtain the described destination client image to be presented according to described intended display resolution render;
According to described actual displayed resolution described image to be presented carried out stretch processing, and show drawn process after image described to be presented.
2. method according to claim 1, it is characterised in that after monitoring the satisfied displaying resolution for described destination client and determining condition, also include:
Obtain the current state of described destination client;
When described current state is running status, it is judged that whether described destination client adjusts in white list at default dynamic resolution;
If it is, perform described to determine the intended display resolution step for described destination client;
If it has not, judge whether described destination client adjusts in white list in default static resolution;
If adjusting in white list in described default static resolution, restarting described destination client, and in the process restarting described destination client, performing described to determine the intended display resolution step for described destination client.
3. method according to claim 2, it is characterised in that described method also includes:
When described current state is starting state, it is judged that whether described destination client adjusts in white list in described default static resolution;
If it is, perform described to determine the intended display resolution step for described destination client.
4. the method according to any one of claim 1-3, it is characterised in that described in monitor whether to meet and determine condition for the displaying resolution of destination client, including:
Monitor whether that the displaying resolution receiving destination client transmission determines request, if it has, then judge that meeting the displaying resolution for described destination client determines condition;Or
Monitor whether described terminal switches to power down mode, if it has, then judge that meeting the displaying resolution for described destination client determines condition;Or
Whether monitor the current available resource of described terminal less than default threshold value, if it has, then judge that meeting the displaying resolution for described destination client determines condition.
5. the method according to any one of claim 1-3, it is characterised in that described determine the intended display resolution for described destination client, including:
The intended display resolution for described destination client is determined according at least one in following information:
The resource requirement of the described destination client obtained in advance;
The actual displayed resolution of described terminal;
The current available resource of described terminal;
The current residual electricity of described terminal;
The current power mode of described terminal.
6. the method according to any one of claim 1-3, it is characterised in that described determine the intended display resolution for described destination client, including:
Alternative displaying resolution according at least one service feedback in preset service, it is determined that for the intended display resolution of described destination client;
Wherein, described alternative displaying resolution is less than described actual displayed resolution;
Described preset service, including:
For obtaining the first predetermined system service of operating system configuration information;
For obtaining the second predetermined system service of window information;
For obtaining the 3rd predetermined system service of display device information.
7. method according to claim 6, it is characterised in that the described alternative displaying resolution according at least one service feedback in preset service, it is determined that for the intended display resolution of described destination client, including:
Obtain the alternative displaying resolution of described first predetermined system service, described second predetermined system service and described 3rd predetermined system service feedback respectively;
Judge that whether each the alternative displaying resolution obtained is equal;
If it is equal, it is determined that the alternative displaying resolution obtained is the intended display resolution for described destination client.
8. a device for displaying information, is applied to terminal, it is characterised in that described device includes:
Condition monitor module, for monitoring whether that meeting the displaying resolution for destination client determines condition, wherein, described destination client is the client being in front stage operation state in described terminal;
Resolution determines module, for when the monitoring result of described condition monitor module is for being, it is determined that for the intended display resolution of described destination client, wherein, described intended display resolution is less than the actual displayed resolution of described terminal;
Resolution feedback module, for feeding back described intended display resolution to described destination client;
Image obtains module, for obtaining the described destination client image to be presented according to described intended display resolution render;
Image shows module, for according to described actual displayed resolution described image to be presented being carried out stretch processing, and show drawn process after image described to be presented.
9. device according to claim 8, it is characterised in that described device also includes:
Current state obtains module, for when the monitoring result of described condition monitor module is for being, it is thus achieved that the current state of described destination client;
First client judge module, for when described current state is running status, judge whether described destination client adjusts in white list at default dynamic resolution, if it is, trigger described resolution to determine that module determines described intended display resolution;
Second client judge module, for when the judged result of described first client judge module is no, it is judged that whether described destination client adjusts in white list in default static resolution;
Client restarts module, for when the judged result of described second client judge module is for being, restart described destination client, and in the process restarting described destination client, trigger described resolution and determine that module determines described intended display resolution.
10. an electronic equipment, it is characterised in that described electronic equipment includes: housing, processor, memorizer, circuit board and power circuit, wherein, circuit board is placed in the interior volume that housing surrounds, processor and memorizer and arranges on circuit boards;Power circuit, powers for each circuit or the device for electronic equipment;Memorizer is used for storing executable program code;Processor runs the program corresponding with executable program code by reading the executable program code of storage in memorizer, for performing following steps:
Monitoring whether that meeting the displaying resolution for destination client determines condition, wherein, described destination client is the client being in front stage operation state in described terminal;
If meeting, it is determined that for the intended display resolution of described destination client, wherein, described intended display resolution is less than the actual displayed resolution of described terminal;
Described intended display resolution is fed back to described destination client;
Obtain the described destination client image to be presented according to described intended display resolution render;
According to described actual displayed resolution described image to be presented carried out stretch processing, and show drawn process after image described to be presented.
CN201610125791.XA 2016-03-04 2016-03-04 Information display method and device and electronic equipment Expired - Fee Related CN105807890B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610125791.XA CN105807890B (en) 2016-03-04 2016-03-04 Information display method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610125791.XA CN105807890B (en) 2016-03-04 2016-03-04 Information display method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN105807890A true CN105807890A (en) 2016-07-27
CN105807890B CN105807890B (en) 2019-11-15

Family

ID=56466804

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610125791.XA Expired - Fee Related CN105807890B (en) 2016-03-04 2016-03-04 Information display method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN105807890B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534542A (en) * 2016-11-19 2017-03-22 滁州昭阳电信通讯设备科技有限公司 Display resolution adjusting method and mobile terminal
CN106954092A (en) * 2017-03-09 2017-07-14 华东师范大学 A kind of virtual reality bicycle implementation method based on cloud computing
CN111078345A (en) * 2019-12-18 2020-04-28 北京金山安全软件有限公司 Picture display effect determination method and device, electronic equipment and storage medium
CN113438418A (en) * 2021-06-25 2021-09-24 Oppo广东移动通信有限公司 Image processing method, device, equipment and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090102868A1 (en) * 2007-10-23 2009-04-23 Motorola, Inc. Method and apparatus for dynamically adjusting resolution of display device in mobile computing devices
CN104503655A (en) * 2014-11-28 2015-04-08 晨星半导体股份有限公司 Application program interface display control method and device
CN104981766A (en) * 2014-04-28 2015-10-14 华为终端有限公司 Method for displaying data on screen and display control device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090102868A1 (en) * 2007-10-23 2009-04-23 Motorola, Inc. Method and apparatus for dynamically adjusting resolution of display device in mobile computing devices
CN104981766A (en) * 2014-04-28 2015-10-14 华为终端有限公司 Method for displaying data on screen and display control device
CN104503655A (en) * 2014-11-28 2015-04-08 晨星半导体股份有限公司 Application program interface display control method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534542A (en) * 2016-11-19 2017-03-22 滁州昭阳电信通讯设备科技有限公司 Display resolution adjusting method and mobile terminal
CN106954092A (en) * 2017-03-09 2017-07-14 华东师范大学 A kind of virtual reality bicycle implementation method based on cloud computing
CN111078345A (en) * 2019-12-18 2020-04-28 北京金山安全软件有限公司 Picture display effect determination method and device, electronic equipment and storage medium
CN111078345B (en) * 2019-12-18 2023-09-19 北京金山安全软件有限公司 Picture display effect determining method and device, electronic equipment and storage medium
CN113438418A (en) * 2021-06-25 2021-09-24 Oppo广东移动通信有限公司 Image processing method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN105807890B (en) 2019-11-15

Similar Documents

Publication Publication Date Title
US10037070B2 (en) Image display method and display system
US10564837B2 (en) Mobile terminal and method and device for controlling to display in the same
US11589102B2 (en) Screen projection method and system
CN110795056B (en) Method, device, terminal and storage medium for adjusting display parameters
CN105807890A (en) Information display method and device and electronic equipment
CN111816139B (en) Screen refresh rate switching method and electronic equipment
CN109157839A (en) Frame per second regulates and controls method, apparatus, storage medium and terminal
CN106941621B (en) Mobile terminal control method and device and mobile terminal
CN111949239B (en) Screen sharing method and device, storage medium and terminal
CN109271253A (en) A kind of resource allocation method, apparatus and system
CN109361947A (en) Internet resources batch loading method, smart television, storage medium and device
US11790824B2 (en) Display method, display device, and display apparatus
CN105700928A (en) Control information display method and device and electronic equipment
CN112616078A (en) Screen projection processing method and device, electronic equipment and storage medium
CN111784418B (en) Display control method and device for live broadcasting room, computer medium and electronic equipment
CN206584342U (en) Dual system all-in-one
CN112199149A (en) Interface rendering method and device and electronic equipment
CN106060599A (en) Advertisement display method and device
CN114296854B (en) Desktop wallpaper display method and device, electronic equipment and readable storage medium
CN112954760B (en) Bluetooth equipment connection method and device and electronic equipment
CN113806000A (en) Display method and device and electronic equipment
CN114146406A (en) Method and device for allocating operation resources, electronic equipment and storage medium
CN114327714A (en) Application program control method, device, equipment and medium
CN114727137B (en) Video playing method and device, storage medium and computer equipment
US20210153118A1 (en) Method for referring to application scenario to manage hardware component of electronic device and associated non-transitory machine-readable medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20191115

CF01 Termination of patent right due to non-payment of annual fee