CN103076999A - Image display control method and device - Google Patents

Image display control method and device Download PDF

Info

Publication number
CN103076999A
CN103076999A CN2012105720989A CN201210572098A CN103076999A CN 103076999 A CN103076999 A CN 103076999A CN 2012105720989 A CN2012105720989 A CN 2012105720989A CN 201210572098 A CN201210572098 A CN 201210572098A CN 103076999 A CN103076999 A CN 103076999A
Authority
CN
China
Prior art keywords
color depth
application program
optional color
tabulation
optional
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
CN2012105720989A
Other languages
Chinese (zh)
Other versions
CN103076999B (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.)
Huawei Device Co Ltd
Original Assignee
Huawei Device 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 Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN201210572098.9A priority Critical patent/CN103076999B/en
Publication of CN103076999A publication Critical patent/CN103076999A/en
Application granted granted Critical
Publication of CN103076999B publication Critical patent/CN103076999B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses an image display control method and an image display control device. The method is implemented by the following steps of: acquiring a selectable color depth list which corresponds to an application and the current resource occupation rate of equipment; selecting a selectable color depth according to the current resource occupation rate of the equipment in the selectable color depth list; and generating a display image of the application according to the selected selectable color depth. The current resource occupation rate of the equipment changes dynamically, a selectable color depth is selected according to the current resource occupation rate of the equipment in the selectable color depth list, the selected color depth is more adaptive to the current resource occupation rate of the equipment, and a good display effect can be achieved on the premise of ensuring the running smoothness of the equipment, so that a high-performance processing chip is saved.

Description

A kind of image display control method, and device
Technical field
The present invention relates to communication technical field, particularly a kind of image display control method, and device.
Background technology
At present, the equipment with image display function has a lot, for example mobile phone, PC, etc.Take mobile phone as example, the use of mobile phone is more and more frequent at present, function also from strength to strength, people more spend on mobile phone with more time, utilize mobile phone to finish various things, therefore provide good performance to experience extremely important concerning the cellphone subscriber, often determine also that the competitive power of mobile phone and user are to the evaluation of this mobile phone.
The color of the image in the image display shows by color depth, and color depth generally represents with 2 power exponent, and bit (bit) number is higher, and the color depth value is just higher, and the color that image can show also the more.Present mobile phone is sent to the data that display screen shows, the general or color depth that employing is higher in the selection of color depth: 32 color depths, or adopt lower color depth: 16 color depths.32 color depths can show more color, and display effect is good; But the processing time is longer than 16 color depths, therefore can reduce the frame rate of demonstration.16 color depths then color representation are slightly poorer than 32, even color range can appear on some image, but 16 color depth processing times lack than 32 color depths, and the Installed System Memory bandwidth that takies is also few, therefore equipment drawing is better than 32 color depths as handling property, so the equipment operation is more smooth.
At present, in order to reach preferably display effect, and have smooth equipment operation, generally need to adopt high performance process chip, but can consume so a large amount of high performance process chip.
Summary of the invention
The embodiment of the invention provides a kind of image display control method, and device, is used for the color depth that the control chart picture shows, obtains good display effect under the prerequisite of equipment operation smoothness, thereby saves high performance process chip.
The embodiment of the invention provides a kind of image display control method on the one hand, comprising:
Obtain application program corresponding optional color depth tabulation and the current resources occupation rate of equipment;
In described optional color depth tabulation, select optional color depth according to the current resources occupation rate of described equipment;
Generate the demonstration image of described application program according to the optional color depth of described selection.
In conjunction with the implementation of one side face, in the possible implementation of the first, describedly obtain optional color depth tabulation corresponding to application program and comprise:
Obtain the optional color depth tabulation of the application program that records in the white list, described white list is for being used for the list of storage application program and optional color depth tabulation corresponding relation.
In conjunction with the possible implementation of the first of one side face, in the possible implementation of the second, the demonstration image that described optional color depth according to described selection generates described application program comprises:
System property is set to the optional color depth of described selection;
Generate the demonstration image of described application program according to system property.
In conjunction with the implementation of one side face, in the third possible implementation, describedly obtain optional color depth tabulation corresponding to application program and comprise:
After starting application program, obtain the optional color depth tabulation corresponding to described application program of storing in the system property.
In conjunction with the implementation of one side face, in the 4th kind of possible implementation, describedly obtain optional color depth tabulation corresponding to application program and comprise:
The optional color depth tabulation that the described application program that reception is obtained by Inter-Process Communication is corresponding.
In conjunction with the one side face, on the one hand the first, on the one hand the second, on the one hand the third, the implementation of on the one hand the 4th kind of possible any one, in the 5th kind of possible implementation, the demonstration image that described optional color depth according to described selection generates described application program comprises:
According to the optional color depth of selecting the image in the layer buffer memory is synthesized in the frame buffer, then frame buffer is flushed to display device.
The embodiment of the invention two aspects provide a kind of image display control apparatus, comprising:
Information acquisition unit is used for obtaining application program corresponding optional color depth tabulation and the current resources occupation rate of equipment;
The color depth selected cell is used for tabulating and the current resources occupation rate of equipment according to the optional color depth that described information acquisition unit is obtained, and selects optional color depth according to the current resources occupation rate of described equipment in described optional color depth tabulation;
Display processing unit is used for generating according to the optional color depth that described color depth is selected the demonstration image of described application program.
In conjunction with the implementation of above-mentioned two aspects, in the possible implementation of the first, information acquisition unit comprises:
The white list acquiring unit is used for obtaining the optional color depth tabulation of the application program that white list records, and described white list is for being used for the tabulate list of corresponding relation of storage application program and optional color depth.
In conjunction with the possible implementation of the first of above-mentioned two aspects, in the possible implementation of the second, described display processing unit, the concrete optional color depth that is set to described selection for system property; Generate the demonstration image of described application program according to system property.
In conjunction with the implementation of above-mentioned two aspects, in the third possible implementation, described information acquisition unit comprises:
System property is obtained subelement, is used for after starting application program, obtains the optional color depth tabulation corresponding to described application program of storing in the system property.
In conjunction with the implementation of above-mentioned two aspects, in the 4th kind of possible implementation, described information acquisition unit comprises:
Color depth receives subelement, and concrete optional color depth corresponding to described application program of obtaining by Inter-Process Communication that receive tabulated.
In conjunction with the second of the first of above-mentioned two aspects, two aspects, two aspects, two aspects the third, the implementation of the 4th kind of possible any one of two aspects, in the 5th kind of possible implementation, described display processing unit, the optional color depth of specifically selecting according to described color depth selected cell is synthesized to the image in the layer buffer memory in the frame buffer, then frame buffer is flushed to display device.
As can be seen from the above technical solutions, the embodiment of the invention has the following advantages: because the current resources occupation rate of equipment is dynamic change, in described optional color depth tabulation, select optional color depth according to the current resources occupation rate of described equipment, the current resources occupation rate of the color depth of selection and equipment is more adapted to, can guarantee under the prerequisite of equipment operation smoothness, to obtain good display effect, thereby save high performance process chip.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, the accompanying drawing of required use was briefly introduced during the below will describe embodiment, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is embodiment of the invention method flow schematic diagram;
Fig. 2 is that the embodiment of the invention shows the modular structure schematic diagram that relates to;
Fig. 3 is embodiment of the invention method flow schematic diagram;
Fig. 4 is operating part logic flow schematic diagram of the present invention;
Fig. 5 is embodiment of the invention method flow schematic diagram;
Fig. 6 is embodiment of the invention method flow schematic diagram;
Fig. 7 is embodiment of the invention apparatus structure schematic diagram;
Fig. 8 is embodiment of the invention apparatus structure schematic diagram;
Fig. 9 is embodiment of the invention apparatus structure schematic diagram;
Figure 10 is embodiment of the invention apparatus structure schematic diagram;
Figure 11 is the handset structure schematic diagram of the embodiment of the invention.
Embodiment
In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with accompanying drawing, and obviously, described embodiment only is a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making all other embodiment that obtain under the creative work prerequisite.
The embodiment of the invention provides a kind of image display control method, as shown in Figure 1, comprising:
101: obtain application program corresponding optional color depth tabulation and the current resources occupation rate of equipment;
Can be the opportunity of obtaining of the optional color depth tabulation that application program is corresponding: after application program launching, obtain targetedly the optional color depth tabulation corresponding to application program of current startup, also can be before application program launching, obtain optional color depth tabulation corresponding to all possible application program, then before application program will show, tabulate to determine the optional color depth tabulation of current application program according to optional color depth corresponding to whole possible application program of obtaining.The concrete realization that does not affect the embodiment of the invention opportunity of obtaining, so the embodiment of the invention will not limit this.
A kind of optional color depth be can comprise in the optional color depth tabulation, two kinds or two or more color depths also can be comprised.Be understandable that, only comprise and do not support dynamically to adjust application program in a kind of situation of optional color depth and show the employed color depth of image.
The obtain manner of the optional color depth tabulation that application program is corresponding may have a variety of, below provide several for example, will be respectively in subsequent embodiment severally illustrate respectively in more detail for example with regard to this.
(1), the optional color depth tabulation of obtaining the application program that records in the white list, above-mentioned white list is for being used for the tabulate list of corresponding relation of storage application program and optional color depth.
White list can be pre-configured, also can be the setting that receives user's input; A kind of white list can be that equipment is default when dispatching from the factory wherein, rear a kind of then can be to obtain behind user's input selection.For the user, front a kind of more convenient, rear a kind of demand that then can more adapt to different user.The source embodiment of the invention of the optional color depth tabulation of the application program that records in the white list will not limit.
(2), after starting application program, obtain the optional color depth tabulation corresponding to above-mentioned application program of storing in the system property.
(3), receive the optional color depth tabulation corresponding to above-mentioned application program of obtaining by Inter-Process Communication.
102: in above-mentioned optional color depth tabulation, select optional color depth according to the current resources occupation rate of the said equipment;
In this step, because the current resources occupation rate of equipment is dynamic change, the optional color depth of selecting is corresponding with resources occupation rate in the optional color depth tabulation, therefore optional color depth and the application program selected are dynamic corresponding relation, it will be understood by those skilled in the art that: the current higher then indication equipment of resources occupation rate of equipment is current busier, and the lower then indication equipment of the current resources occupation rate of equipment is current notr busy; And the more color depths of bit can take more device resources, thereby in order to guarantee the smoothness operation of equipment, can select the many color depths of bit number when resources occupation rate is low, select the few color depth of bit number when resources occupation rate is low.Therefore, above-mentioned optional color depth tabulation should comprise two kinds or two or more color depth for you to choose.
The specific implementation that color depth is selected can adopt the mode of default resources occupation rate reference value to realize, as: judge that whether current color depth is greater than the resources occupation rate reference value, if greater than, then select the less optional color depth of bit number in the optional color depth tabulation, otherwise select the more optional color depth of bit in the optional color depth tabulation.Can also adopt optional color depth tabulation and the mode of the mapping table of resources occupation rate to realize, as: according to the mapping table of resources occupation rate and the tabulation of optional color depth, determine the optional color depth that the current resources occupation rate of equipment is corresponding, and current optional color depth corresponding to resources occupation rate of selection equipment.Optional color depth tabulation can adopt the combination of acquiescence color depth and adjustable extent as the form of expression, the specific implementation of color depth selection can also be so: whether the resources occupation rate of determining current device is in resources occupation rate scope corresponding to acquiescence color depth, if, then select the acquiescence color depth, if the resources occupation rate of current device is higher than the maximal value of resources occupation rate scope corresponding to acquiescence color depth, then will be lower than the color depth of acquiescence color depth predetermined figure as the optional color depth of selecting, otherwise will be higher than the color depth of acquiescence color depth predetermined figure as the optional color depth of selection.The Dynamic Selection implementation of color depth is a lot, as long as can realize the corresponding of the tabulation of optional color depth and resources occupation rate, just can, so more than can not be interpreted as for example restriction to the embodiment of the invention.
Adopt dynamic corresponding relation, can under the prerequisite of equipment operation smoothness, further obtain good display effect.The optional interval of color depth can arrange arbitrarily, confirmable is the more large difference that more can embody between each application program in optional interval, use 16 color depths and 32 color depths to be example in giving an example in the subsequent embodiment, but the figure place that it will be understood by those skilled in the art that color depth is selected to be far above above-mentioned two kinds, should not be construed as for example the restriction to the embodiment of the invention more than therefore.
103: the demonstration image that generates above-mentioned application program according to the optional color depth of above-mentioned selection.
Adopt above scheme, because the current resources occupation rate of equipment is dynamic change, in above-mentioned optional color depth tabulation, select optional color depth according to the current resources occupation rate of the said equipment, the current resources occupation rate of the color depth of selection and equipment is more adapted to, can guarantee under the prerequisite of equipment operation smoothness, to obtain good display effect, thereby save high performance process chip.
More specifically, if the obtain manner of optional color depth tabulation corresponding to application program be: the optional color depth tabulation of obtaining the application program that records in the white list.Step 103 can be so: system property is set to the optional color depth of above-mentioned selection; Generate the demonstration image of above-mentioned application program according to system property.
More specifically, above-mentioned optional color depth according to above-mentioned selection generates the demonstration image of above-mentioned application program: according to the optional color depth of selecting the image in the layer buffer memory is synthesized in the frame buffer, then frame buffer is flushed to display device.
Following examples will show that be controlled to be example describes with the image of mobile phone, and optional color depth describes as an example of at present common 16 color depths and 32 color depths example, and cell phone system is take Android (Android) system as example.The present invention program can comprise two parts, is divided into: control section and operating part, wherein the function of control section is: control which scene by controlling mechanism and use 16 color depths, which uses 32 color depths.The function of operating part is: according to control section arrange carry out that 32 color depths of current use show or 16 color depths demonstrations.
Module the mobile phone demonstration relates to as shown in Figure 2, comprises from top to bottom successively: application layer, framework (Framework) layer, image synthetic (SurfaceFlinger) layer and a kind of open source operating system (Linux) kernel.
The function of application layer is: be responsible for picture.
The function of framework (Framework) layer is: be responsible for the mapping environment and the mapping function that provide basic.
The synthetic layer of image (SurfaceFlinger): function be: the mapping of being responsible for synthetic each application is to Framebuffer and will show that Refresh Data is to LCD.
The function of linux kernel is: the realization and the LCD that are responsible for Framebuffer drive.
Embodiment of the invention scheme relates generally to the modification of Framework and SurfaceFlinger, and implementation framework is as follows: control section is mainly revised the Framework module, uses 16 color depth positions to show when controlling which application start by white list mechanism.Main modifying point: campaign management services module (ActivityManagerService).Operating part is mainly revised the SurfaeFlinger module, according to control section arrange carry out that 32 color depth positions show or 16 color depth positions show.Main modifying point: composite part and refresh display device, for example: liquid crystal display (Liquid Crystal Display, LCD) part.
Scheme one:
The implementation of control section is as follows:
(1), adopt the mode of white list:
(white list can be that mobile phone presets when dispatching from the factory to control section according to pre-configured white list, also can be to form behind the user selection), stored which application program in the white list and used 36 color depths to show, which application program uses 16 color depths to show.Can also store those programs in the white list both can use 36 color depths demonstrations also can use 16 color depths to show; When being higher than predetermined threshold, the current resources occupation rate of equipment can select thus 16 color depths to show, when being lower than predetermined threshold, the current resources occupation rate of equipment can select 32 color depths to show, other need to prove that the rule of selection can be documented in the white list and also can not be documented in the white list, and not being documented in can be by carrying out the selection of optional color depth in the situation of white list in the selection course of concrete optional color depth.White list can be any type of file, and is following take extend markup language (Extensible Markup Language, xml) as example, similar as follows:
Figure BDA00002650684200071
See also Fig. 3, the flow process of control section is as follows:
Framework is as control section in this programme, and SurfaceFlinger is as operating part.
301: system's electrifying startup;
Resolve white list during the 302:ActivityManager initialization, the optional color depth tabulation that records application program is corresponding, for example: records application program uses 16 color depths to show when which kind of resources occupation rate, uses 32 color depths to show when which kind of resources occupation rate.
303: the user starts certain application program;
304: whether the application program that judge to start is in white list, if just continuing this flow process; Then determine the color depth corresponding with the current resources occupation rate of equipment that this application program records in white list, if 16 color depths enter 305, if 32 color depths enter 306;
If can not withdraw from control flow, also can give tacit consent to and adopt the color depth of current system setting to carry out the processing of flow for displaying, not in the processing scheme of the situation of white list, the embodiment of the invention will not limit for application program.
305: show according to 16 color depths by system property notice operating part is set.
306: show according to 32 color depths by system property notice operating part is set.
The implementation of operating part is as follows:
Operating part need to arranging to carry out and adopt 32 color depths to show or adopt 16 color depths to show according to control section.Whole display system schematics sees also Fig. 4, can be expressed as follows:
The application process of the application program layer buffer memory (layerbuffer) of drawing, the SurfaceFlinger process of operating part is synthesized to frame buffer (framebuffer) with layer buffer memory, then framebuffer is flushed to LCD.The modification of the scheme operating part of the embodiment of the invention relates generally to synthetic shown in the arrow and refreshes.Wherein synthetic is that demonstration data (depositing in layerbuffer) with each application program are synthesized on certain buffer of Framebuffer, and synthetic implementation is synthesized accordingly according to 32/16 color depth of the dynamic use of arranging of control section.Certain buffer data with Framebuffer when refreshing are shown on the LCD, dynamically adjust the demonstration color depth of Framebuffer according to the demonstration color depth of current buffer.
The idiographic flow of composite part sees also Fig. 5, comprising:
501: determine that whether all layers that need to synthesize need cover screen, if so, enter 503, otherwise enter 502;
502: keep using the last time synthetic color depth of using;
503: whether current need use 16 color depths show, if so, enter 505 if determining, if not, enter 504;
504: use 32 color depths to synthesize;
505: use 16 color depths to synthesize.
Need to dynamically arrange according to the color depth of the data of current buffer among the Framebuffer display parameter of Framebuffer when refreshing.Idiographic flow sees also shown in Figure 6ly, comprising:
601: determine whether current cache (buffer) data are 16 color depths, if so, enter 603, if not, enter 602;
602: the color depth parameter that Framebuffer is set is 32 color depths, enters 604;
603: the color depth parameter that Framebuffer is set is 16 color depths, enters 604;
604: refresh LCD.
Scheme two:
(2), by the mode of system property is set:
Similar with scheme one, but determine in this programme that color depth corresponding to application program is not by white list, but which kind of application program initiatively can use show color depth by system property control is set when starting.In this example, application program is as control section, and operating part can be SurfaceFlinger.Control section is by arranging system property, and the notice operating part uses 32 color depths to show that image still uses 16 color depths to show image.Operating part and scheme one identical repeating no more.
Scheme three:
(3), pass through the mode of Inter-Process Communication mechanism:
This programme is different from scheme one and scheme two, and the informing mechanism of control section notice operating part no longer adopts the method for system property, but adopts Inter-Process Communication mechanism to notify the Dynamic Execution part operable color depth.In this programme, control section can be that application program also can be Framework, and operating part can be SurfaceFlinger.Control section is after knowing the color depth that application program need to be used, by the communication mechanism between the process of operating system, such as the communication mechanism between a kind of process in the binder(Android operating system) the notice operating part, carry out image according to the color depth of appointment and show.Operating part is identical with other scheme to be repeated no more.
Embodiment of the invention scheme adopts the color depth of dynamically adjusting the data that are sent to display screen, can use 32 color depths when the needs color, experiences for the good color of user, can use 16 color depths again when the needs performance, experiences for the performance of user's smoothness.
The embodiment of the invention also provides a kind of image display control apparatus, as shown in Figure 7, comprising:
Information acquisition unit 701 is used for obtaining application program corresponding optional color depth tabulation and the current resources occupation rate of equipment;
Color depth selected cell 702 is used for tabulating and the current resources occupation rate of equipment according to the optional color depth that above-mentioned information acquisition unit 701 is obtained, and selects optional color depth according to the current resources occupation rate of the said equipment in above-mentioned optional color depth tabulation; The specific implementation that color depth selected cell 702 execution color depths are selected can reference method embodiment.
Display processing unit 703 is used for generating according to the optional color depth that above-mentioned color depth selected cell 702 is selected the demonstration image of above-mentioned application program.
Because the current resources occupation rate of equipment is dynamic change, by optional color depth corresponding to the current resources occupation rate of selection from optional color depth tabulation corresponding to application program and equipment, the current resources occupation rate of color depth and equipment is more adapted to, can guarantee under the prerequisite of equipment operation smoothness, to obtain good display effect, thereby save high performance process chip.
The obtain manner of the optional color depth that application program is corresponding may have a variety of, below provides several giving an example:
Alternatively, as shown in Figure 8, above-mentioned information acquisition unit 701 comprises:
White list acquiring unit 801 is used for obtaining the optional color depth tabulation of the application program that white list records, and above-mentioned white list is for being used for the tabulate list of corresponding relation of storage application program and optional color depth.
Alternatively, described display processing unit 703, the concrete optional color depth that is set to above-mentioned selection for system property; Generate the demonstration image of above-mentioned application program according to system property.
Alternatively, as shown in Figure 9, above-mentioned information acquisition unit 701 comprises:
System property is obtained subelement 901, is used for after starting application program, obtains the optional color depth tabulation corresponding to above-mentioned application program of storing in the system property.
Alternatively, as shown in figure 10, above-mentioned information acquisition unit 701 comprises:
Color depth receives subelement 1001, and concrete optional color depth corresponding to above-mentioned application program of obtaining by Inter-Process Communication that receive tabulated.
Alternatively, above-mentioned display processing unit 703, concrete optional color depth for selecting according to above-mentioned color depth selected cell 702 is synthesized to the image of layer buffer memory in the frame buffer, then frame buffer is flushed to display device.
The embodiment of the invention also provides another kind of image display control apparatus, as shown in figure 11, the image display control apparatus that the embodiment of the invention provides can be used for implementing the method that the embodiment of the invention provides, for convenience of explanation, only show the part relevant with the embodiment of the invention, concrete ins and outs do not disclose, and please refer to embodiment of the invention method part.This terminal can be for comprising mobile phone, panel computer, PDA(Personal Digital Assistant, personal digital assistant), POS(Point of Sales, point-of-sale terminal), any terminal device such as vehicle-mounted computer, take terminal as example as mobile phone:
Shown in Figure 11 is the block diagram of the part-structure of the relevant mobile phone of the terminal that provides with the embodiment of the invention.With reference to Figure 11, mobile phone comprises: radio frequency (Radio Frequency, RF) parts such as circuit 1110, storer 1120, input block 1130, display unit 1140, sensor 1150, voicefrequency circuit 1160, Wireless Fidelity (wireless fidelity, WiFi) module 1170, processor 1180 and power supply 1190.It will be understood by those skilled in the art that the handset structure shown in Figure 11 does not consist of the restriction to mobile phone, can comprise the parts more more or less than diagram, perhaps make up some parts, perhaps different arrangements of components.
Below in conjunction with Figure 11 each component parts of mobile phone is carried out concrete introduction:
RF circuit 1110 can be used for receiving and sending messages or communication process in, the reception of signal and transmission especially, after the downlink information of base station received, process for processor 1180; In addition, the up data of design are sent to the base station.Usually, the RF circuit includes but not limited to antenna, at least one amplifier, transceiver, coupling mechanism, low noise amplifier (Low Noise Amplifier, LNA), diplexer etc.In addition, RF circuit 110 can also be by radio communication and network and other devices communicatings.Above-mentioned radio communication can be used arbitrary communication standard or agreement, include but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), Wideband Code Division Multiple Access (WCDMA) (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE)), Email, Short Message Service (Short Messaging Service, SMS) etc.
Storer 1120 can be used for storing software program and module, and processor 1180 is stored in software program and the module of storer 1120 by operation, thereby the various functions of carrying out mobile phone are used and the data processing.Storer 1120 can mainly comprise storage program district and storage data field, wherein, but the required application program (such as sound-playing function, image player function etc.) of storage program district storage operating system, at least one function etc.; The data (such as voice data, phone directory etc.) that the use according to mobile phone creates etc. can be stored in the storage data field.In addition, storer 1120 can comprise high-speed random access memory, can also comprise nonvolatile memory, for example at least one disk memory, flush memory device or other volatile solid-state parts.
Input block 1130 can be used for receiving numeral or the character information of input, and generation is inputted with the key signals that the user arranges and function control is relevant of mobile phone 1100.Particularly, input block 1130 can comprise contact panel 1131 and other input equipments 1132.Contact panel 1131, be also referred to as touch-screen, can collect the user thereon or near touch operation (use such as the user any suitable objects such as finger, stylus or annex on the contact panel 1131 or near the operation contact panel 1131), and drive corresponding coupling arrangement according to predefined formula.Optionally, contact panel 1131 can comprise touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detects user's touch orientation, and detects the signal that touch operation is brought, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, gives processor 1180 again, and the order that energy receiving processor 1180 is sent is also carried out.In addition, can adopt the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize contact panel 1131.Except contact panel 1131, input block 1130 can also comprise other input equipments 1132.Particularly, other input equipments 1132 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, the control lever etc.
Display unit 1140 can be used for showing the information of being inputted by the user or offering user's information and the various menus of mobile phone.Display unit 1140 can comprise display panel 1141, optionally, can adopt the forms such as liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) to configure display panel 1141.Further, contact panel 1131 can cover display panel 1141, when contact panel 1131 detect thereon or near touch operation after, send processor 1180 to determining the type of touch event, provide corresponding vision output according to the type of touch event at display panel 1141 with preprocessor 1180.Although in Figure 11, contact panel 1131 and display panel 1141 be as two independently parts realize input and the input function of mobile phone, but in certain embodiments, can contact panel 1131 and display panel 1141 is integrated and realize the input and output function of mobile phone.
Mobile phone 1100 also can comprise at least a sensor 1150, such as optical sensor, motion sensor and other sensors.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor can be regulated according to the light and shade of ambient light the brightness of display panel 1141, proximity transducer can when mobile phone moves in one's ear, cut out display panel 1141 and/or backlight.A kind of as motion sensor, accelerometer sensor can detect the size of the acceleration that (is generally three axles) on all directions, size and the direction of gravity be can detect when static, application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as passometer, knock) of mobile phone attitude etc. can be used for identifying; As for mobile phone other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor also, do not repeat them here.
Voicefrequency circuit 1160, loudspeaker 1161, microphone 1162 can provide the audio interface between user and the mobile phone.Voicefrequency circuit 1160 can be transferred to loudspeaker 1161 with the electric signal after the voice data conversion that receives, and is converted to voice signal output by loudspeaker 1161; On the other hand, microphone 1162 is converted to electric signal with the voice signal of collecting, by being converted to voice data after voicefrequency circuit 1160 receptions, after again voice data output processor 1180 being processed, to send to such as another mobile phone, perhaps export voice data to storer 1120 in order to further process through RF circuit 1110.
WiFi belongs to the short range wireless transmission technology, mobile phone by WiFi module 1170 can help that the user sends and receive e-mail, browsing page and access streaming video etc., it provides wireless broadband internet access for the user.Although Figure 11 shows WiFi module 1170, be understandable that, it does not belong to must consisting of of mobile phone 1100, fully can be as required in the scope of the essence that does not change invention and omit.
Processor 1180 is control centers of mobile phone, utilize the various piece of various interface and the whole mobile phone of connection, by moving or carry out software program and/or the module that is stored in the storer 1120, and call the data that are stored in the storer 1120, carry out various functions and the deal with data of mobile phone, thereby mobile phone is carried out integral monitoring.Optionally, processor 1180 can comprise one or more processing units; Preferably, processor 1180 can integrated application processor and modem processor, and wherein, application processor is mainly processed operating system, user interface and application program etc., and modem processor is mainly processed radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in the processor 1180.
Mobile phone 1100 comprises that also the power supply 1190(that powers to all parts is such as battery), preferably, power supply can link to each other with processor 1180 logics by power-supply management system, thereby realizes the functions such as management charging, discharge and power managed by power-supply management system.
Although not shown, mobile phone 1100 can also comprise camera, bluetooth module etc., does not repeat them here.
In embodiments of the present invention, the included processor 1180 of this terminal also has following functions: obtain application program corresponding optional color depth tabulation and the current resources occupation rate of equipment; In above-mentioned optional color depth tabulation, select optional color depth according to the current resources occupation rate of the said equipment; Generate the demonstration image of above-mentioned application program according to the optional color depth of above-mentioned selection.
Above embodiment, because the current resources occupation rate of equipment is dynamic change, in described optional color depth tabulation, select optional color depth according to the current resources occupation rate of described equipment, the current resources occupation rate of the color depth of selection and equipment is more adapted to, can guarantee under the prerequisite of equipment operation smoothness, to obtain good display effect, thereby save high performance process chip.
Can be the opportunity of obtaining of the optional color depth tabulation that application program is corresponding: after application program launching, obtain targetedly the optional color depth tabulation corresponding to application program of current startup, also can be before application program launching, obtain optional color depth tabulation corresponding to all possible application program, then before application program will show, tabulate to determine the optional color depth tabulation of current application program according to optional color depth corresponding to whole possible application program of obtaining.The concrete realization that does not affect the embodiment of the invention opportunity of obtaining, so the embodiment of the invention will not limit this.A kind of optional color depth be can comprise in the optional color depth tabulation, two kinds or two or more color depths also can be comprised.Be understandable that, only comprise and do not support dynamically to adjust application program in a kind of situation of optional color depth and show the employed color depth of image.
The obtain manner of the optional color depth tabulation that application program is corresponding may have a variety of, below provide several for example, will be respectively in subsequent embodiment severally illustrate respectively in more detail for example with regard to this.
Because the current resources occupation rate of equipment is dynamic change, the optional color depth of selecting is corresponding with resources occupation rate in the optional color depth tabulation, therefore optional color depth and the application program selected are dynamic corresponding relation, it will be understood by those skilled in the art that: the current higher then indication equipment of resources occupation rate of equipment is current busier, and the lower then indication equipment of the current resources occupation rate of equipment is current notr busy; And the more color depths of bit can take more device resources, thereby in order to guarantee the smoothness operation of equipment, can select the many color depths of bit number when resources occupation rate is low, select the few color depth of bit number when resources occupation rate is low.Therefore, above-mentioned optional color depth tabulation should comprise two kinds or two or more color depth for you to choose.
The specific implementation that color depth is selected can adopt the mode of default resources occupation rate reference value to realize, as: judge that whether current color depth is greater than the resources occupation rate reference value, if greater than, then select the less optional color depth of bit number in the optional color depth tabulation, otherwise select the more optional color depth of bit in the optional color depth tabulation.Can also adopt optional color depth tabulation and the mode of the mapping table of resources occupation rate to realize, as: according to the mapping table of resources occupation rate and the tabulation of optional color depth, determine the optional color depth that the current resources occupation rate of equipment is corresponding, and current optional color depth corresponding to resources occupation rate of selection equipment.Optional color depth tabulation can adopt the combination of acquiescence color depth and adjustable extent as the form of expression, the specific implementation of color depth selection can also be so: whether the resources occupation rate of determining current device is in resources occupation rate scope corresponding to acquiescence color depth, if, then select the acquiescence color depth, if the resources occupation rate of current device is higher than the maximal value of resources occupation rate scope corresponding to acquiescence color depth, then will be lower than the color depth of acquiescence color depth predetermined figure as the optional color depth of selecting, otherwise will be higher than the color depth of acquiescence color depth predetermined figure as the optional color depth of selection.The Dynamic Selection implementation of color depth is a lot, as long as can realize the corresponding of the tabulation of optional color depth and resources occupation rate, just can, so more than can not be interpreted as for example restriction to the embodiment of the invention.
Adopt dynamic corresponding relation, can under the prerequisite of equipment operation smoothness, further obtain good display effect.The optional interval of color depth can arrange arbitrarily, confirmable is the more large difference that more can embody between each application program in optional interval, use 16 color depths and 32 color depths to be example in giving an example in the subsequent embodiment, but the figure place that it will be understood by those skilled in the art that color depth is selected to be far above above-mentioned two kinds, should not be construed as for example the restriction to the embodiment of the invention more than therefore.
More specifically, above-mentionedly obtain optional color depth tabulation corresponding to application program and comprise: obtain the optional color depth tabulation of the application program that records in the white list, above-mentioned white list is for being used for the tabulate list of corresponding relation of storage application program and optional color depth.
White list can be pre-configured, also can be the setting that receives user's input; A kind of white list can be that equipment is default when dispatching from the factory wherein, rear a kind of then can be to obtain behind user's input selection.For the user, front a kind of more convenient, rear a kind of demand that then can more adapt to different user.The source embodiment of the invention of the optional color depth tabulation of the application program that records in the white list will not limit.
More specifically, above-mentioned optional color depth according to the above-mentioned selection demonstration image that generates above-mentioned application program comprises: system property is set to the optional color depth of above-mentioned selection; Generate the demonstration image of above-mentioned application program according to system property.
More specifically, above-mentionedly obtain optional color depth tabulation corresponding to application program and comprise: after starting application program, obtain the optional color depth tabulation corresponding to above-mentioned application program of storing in the system property.
More specifically, above-mentionedly obtain optional color depth tabulation corresponding to application program and comprise: receive the optional color depth tabulation corresponding to above-mentioned application program of obtaining by Inter-Process Communication.
More specifically, the demonstration image that above-mentioned optional color depth according to above-mentioned selection generates above-mentioned application program comprises: according to the optional color depth of selecting the image in the layer buffer memory is synthesized in the frame buffer, then frame buffer is flushed to display device.
It should be noted that among the said apparatus embodiment, included unit is just divided according to function logic, but is not limited to above-mentioned division, as long as can realize corresponding function; In addition, the concrete title of each functional unit also just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
In addition, one of ordinary skill in the art will appreciate that all or part of step that realizes in above-mentioned each embodiment of the method is to come the relevant hardware of instruction to finish by program, corresponding program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
Below only be the better embodiment of the present invention; but protection scope of the present invention is not limited to this; anyly be familiar with those skilled in the art in the technical scope that the embodiment of the invention discloses, the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.

Claims (12)

1. an image display control method is characterized in that, comprising:
Obtain application program corresponding optional color depth tabulation and the current resources occupation rate of equipment;
In described optional color depth tabulation, select optional color depth according to the current resources occupation rate of described equipment;
Generate the demonstration image of described application program according to the optional color depth of described selection.
2. described method according to claim 1 is characterized in that, describedly obtains optional color depth tabulation corresponding to application program and comprises:
Obtain the optional color depth tabulation of the application program that records in the white list, described white list is for being used for the list of storage application program and optional color depth tabulation corresponding relation.
3. described method according to claim 2 is characterized in that, the demonstration image that described optional color depth according to described selection generates described application program comprises:
System property is set to the optional color depth of described selection;
Generate the demonstration image of described application program according to system property.
4. described method according to claim 1 is characterized in that, describedly obtains optional color depth tabulation corresponding to application program and comprises:
After starting application program, obtain the optional color depth tabulation corresponding to described application program of storing in the system property.
5. described method according to claim 1 is characterized in that, describedly obtains optional color depth tabulation corresponding to application program and comprises:
The optional color depth tabulation that the described application program that reception is obtained by Inter-Process Communication is corresponding.
6. according to claim 1 to the described method of 5 any one, it is characterized in that, the demonstration image that described optional color depth according to described selection generates described application program comprises:
According to the optional color depth of selecting the image in the layer buffer memory is synthesized in the frame buffer, then frame buffer is flushed to display device.
7. an image display control apparatus is characterized in that, comprising:
Information acquisition unit is used for obtaining application program corresponding optional color depth tabulation and the current resources occupation rate of equipment;
The color depth selected cell is used for tabulating and the current resources occupation rate of equipment according to the optional color depth that described information acquisition unit is obtained, and selects optional color depth according to the current resources occupation rate of described equipment in described optional color depth tabulation;
Display processing unit is used for generating according to the optional color depth that described color depth is selected the demonstration image of described application program.
8. described device according to claim 7 is characterized in that, information acquisition unit comprises:
The white list acquiring unit is used for obtaining the optional color depth tabulation of the application program that white list records, and described white list is for being used for the tabulate list of corresponding relation of storage application program and optional color depth.
9. described device according to claim 8 is characterized in that,
Described display processing unit, the concrete optional color depth that is set to described selection for system property; Generate the demonstration image of described application program according to system property.
10. described device according to claim 7 is characterized in that, described information acquisition unit comprises:
System property is obtained subelement, is used for after starting application program, obtains the optional color depth tabulation corresponding to described application program of storing in the system property.
11. described device is characterized in that according to claim 7, described information acquisition unit comprises:
Color depth receives subelement, and concrete optional color depth corresponding to described application program of obtaining by Inter-Process Communication that receive tabulated.
12. to the described device of 11 any one, it is characterized in that according to claim 7,
Described display processing unit, concrete optional color depth for selecting according to described color depth selected cell is synthesized to the image of layer buffer memory in the frame buffer, then frame buffer is flushed to display device.
CN201210572098.9A 2012-12-25 2012-12-25 A kind of image display control method, and device Active CN103076999B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210572098.9A CN103076999B (en) 2012-12-25 2012-12-25 A kind of image display control method, and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210572098.9A CN103076999B (en) 2012-12-25 2012-12-25 A kind of image display control method, and device

Publications (2)

Publication Number Publication Date
CN103076999A true CN103076999A (en) 2013-05-01
CN103076999B CN103076999B (en) 2016-05-25

Family

ID=48153538

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210572098.9A Active CN103076999B (en) 2012-12-25 2012-12-25 A kind of image display control method, and device

Country Status (1)

Country Link
CN (1) CN103076999B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105868089A (en) * 2016-04-22 2016-08-17 北京小米移动软件有限公司 Terminal monitoring method and device
CN112612562A (en) * 2020-12-14 2021-04-06 努比亚技术有限公司 Display refresh control method, terminal and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006031380A (en) * 2004-07-15 2006-02-02 Olympus Corp Image processing program, image processing method, image processor, and recording medium
EP2043086A1 (en) * 2006-06-30 2009-04-01 Sharp Kabushiki Kaisha Image data providing device, image display device, image display system, control method for image data providing device, control method for image display device, control program and recording medium
CN102833531A (en) * 2011-06-17 2012-12-19 中国移动通信集团广东有限公司 Method, device and system for processing images

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006031380A (en) * 2004-07-15 2006-02-02 Olympus Corp Image processing program, image processing method, image processor, and recording medium
EP2043086A1 (en) * 2006-06-30 2009-04-01 Sharp Kabushiki Kaisha Image data providing device, image display device, image display system, control method for image data providing device, control method for image display device, control program and recording medium
CN102833531A (en) * 2011-06-17 2012-12-19 中国移动通信集团广东有限公司 Method, device and system for processing images

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105868089A (en) * 2016-04-22 2016-08-17 北京小米移动软件有限公司 Terminal monitoring method and device
CN105868089B (en) * 2016-04-22 2018-09-04 北京小米移动软件有限公司 The monitoring method and device of terminal
CN112612562A (en) * 2020-12-14 2021-04-06 努比亚技术有限公司 Display refresh control method, terminal and computer readable storage medium
CN112612562B (en) * 2020-12-14 2024-05-14 努比亚技术有限公司 Display refresh control method, terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN103076999B (en) 2016-05-25

Similar Documents

Publication Publication Date Title
CN104243671B (en) Volume adjusting method, device and electronic equipment
CN104252341B (en) The client device of the skin change method of application program, device and application program
CN103473092B (en) A kind of download the processing method of application, device and terminal unit
CN104571979B (en) A kind of method and apparatus for realizing split view
CN104834529A (en) Method and device for optimizing performance of application
CN103414982A (en) Method and device for offering voice
CN103180809A (en) Screen-interface display method and terminal
CN106658064B (en) Virtual gift display method and device
CN104158506A (en) Method, device and terminal for adjusting volume
CN103325332A (en) Webpage refreshing method, device and equipment
CN103489303A (en) Remote control method and device
CN104602100A (en) Method and device for recording video and audio in applications
CN103475917A (en) Method, device and terminal equipment for synchronizing play information
WO2015070769A1 (en) Data transfer method and apparatus
CN104965642A (en) Method and apparatus for generating a drop-down list
CN104423840A (en) Progress bar implementing method and device
CN103458277A (en) Method and device for operating live channel programs
CN103458286A (en) Television channel switching method and device
CN106254469A (en) A kind of picture pushes and display packing, server and communication terminal
CN103677944A (en) Method and device for manufacturing screen locking interface and terminal device
CN105992001A (en) Method and device for carrying out quantification processing on picture
CN109660445B (en) Message processing method, device and storage medium
CN107622234B (en) Method and device for displaying budding face gift
CN103631592A (en) Configuration method, calling method, device and equipment for displaying resources
CN109062643A (en) A kind of display interface method of adjustment, device and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20171027

Address after: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Patentee after: HUAWEI terminal (Dongguan) Co., Ltd.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Patentee before: Huawei Device Co., Ltd.

TR01 Transfer of patent right
CP01 Change in the name or title of a patent holder

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: Huawei Device Co., Ltd.

Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee before: HUAWEI terminal (Dongguan) Co., Ltd.

CP01 Change in the name or title of a patent holder