CN109189198A - Image display method, device, terminal and storage medium - Google Patents

Image display method, device, terminal and storage medium Download PDF

Info

Publication number
CN109189198A
CN109189198A CN201810893317.0A CN201810893317A CN109189198A CN 109189198 A CN109189198 A CN 109189198A CN 201810893317 A CN201810893317 A CN 201810893317A CN 109189198 A CN109189198 A CN 109189198A
Authority
CN
China
Prior art keywords
time scenario
display
run
terminal
scene
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
CN201810893317.0A
Other languages
Chinese (zh)
Other versions
CN109189198B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810893317.0A priority Critical patent/CN109189198B/en
Publication of CN109189198A publication Critical patent/CN109189198A/en
Application granted granted Critical
Publication of CN109189198B publication Critical patent/CN109189198B/en
Active 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/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3265Power saving in display device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1415Digital output to display device ; Cooperation and interconnection of the display device with other functional units with means for detecting differences between the image stored in the host and the images displayed on the displays

Abstract

This application discloses a kind of image display method, device, terminal and storage mediums, belong to field of terminal technology.The method is used for terminal, and the display screen of terminal is provided with buffer, which comprises identifies current Run-time scenario;If current Run-time scenario belongs to default Run-time scenario, electricity under display engine is controlled, display engine stops transmitting image data to buffer after lower electricity;Control display screen is performed image display according to the image data cached recently in buffer.In the embodiment of the present application, terminal while guaranteeing that display screen normally shows picture, reduces the power consumption of terminal under default Run-time scenario so that display engine stops transmitting image data to buffer by lower electric display engine under default Run-time scenario.

Description

Image display method, device, terminal and storage medium
Technical field
The invention relates to field of terminal technology, in particular to a kind of image display method, device, terminal and storage Medium.
Background technique
With the continuous improvement of mobile terminal display screen size and resolution ratio, the power consumption of display screen and its associated component also exists It is continuously increased.
When mobile terminal shows image, application processor (Application Processor, AP) will according to refreshing frequency Image data is transmitted to display screen, carries out parsing according to the image data received by display screen and shows.
Summary of the invention
The embodiment of the present application provides a kind of image display method, device, terminal and storage medium, can solve related skill Display screen carries out power consumption higher problem when parsing is shown according to the image data received in art.Technical solution is as follows:
On the one hand, a kind of image display method is provided, the method is used for terminal, and the display screen of the terminal is provided with Buffer, which comprises
Identify current Run-time scenario;
If the current Run-time scenario belongs to default Run-time scenario, electric under display engine, the display after lower electricity is controlled Engine stops transmitting image data to the buffer;
The display screen is controlled to be performed image display according to the image data cached recently in the buffer.
On the other hand, a kind of image display device is provided, which is characterized in that the display screen of the terminal is provided with caching Device, which comprises
Identification module, for identification current Run-time scenario;
Lower electricity module, for when the current Run-time scenario belongs to default Run-time scenario, controlling electricity under display engine, under The display engine stops transmitting image data to the buffer after electricity;
Display module carries out image according to the image data cached recently in the buffer for controlling the display screen Display.
On the other hand, provide a kind of terminal, the terminal include processor, the memory being connected with the processor, The program instruction that is stored on the memory and the display screen for being provided with buffer, the processor execute described program and refer to The image display method as described in terms of above-mentioned is realized when enabling.
On the other hand, a kind of computer readable storage medium is provided, program instruction, described program instruction are stored thereon with The image display method as described in terms of above-mentioned is realized when being executed by processor.
Technical solution bring beneficial effect provided by the embodiments of the present application includes at least:
When the display screen of terminal is provided with buffer, the current Run-time scenario of terminal recognition, and in current Run-time scenario category When default Run-time scenario, control electricity under display engine, and by display screen according to the image data cached recently in buffer into Row image is shown;In the embodiment of the present application, terminal under default Run-time scenario by lower electric display engine so that display engine stops Image data only is transmitted to buffer, while guaranteeing that display screen normally shows picture, is reduced under default Run-time scenario eventually The power consumption at end.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of terminal provided by one exemplary embodiment of the application;
Fig. 2 is the flow chart for the image display method that one exemplary embodiment of the application provides;
Fig. 3 is the schematic illustration of electric process under system performance Service controll display engine;
Fig. 4 is the flow chart for the image display method that another exemplary embodiment of the application provides;
Fig. 5 is the flow chart for the image display method that another exemplary embodiment of the application provides;
Fig. 6 is the structural schematic diagram for the image display device that the application one embodiment provides.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the application embodiment party Formula is described in further detail.
In the following description when referring to the accompanying drawings, unless otherwise indicated, the same numbers in different attached drawings indicate same or similar Element.Embodiment described in following exemplary embodiment does not represent all embodiment party consistent with the application Formula.On the contrary, they are only the device and side consistent with some aspects as detailed in the attached claim, the application The example of method.
In the description of the present application, it is to be understood that term " first ", " second " etc. are used for description purposes only, without It can be interpreted as indication or suggestion relative importance.In the description of the present application, it should be noted that unless otherwise specific regulation And restriction, term " connected ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, Or it is integrally connected;It can be mechanical connection, be also possible to be electrically connected;It can be directly connected, intermediary can also be passed through It is indirectly connected.For the ordinary skill in the art, the tool of above-mentioned term in this application can be understood with concrete condition Body meaning.In addition, unless otherwise indicated, " multiple " refer to two or more in the description of the present application."and/or" is retouched The incidence relation of affiliated partner is stated, indicates may exist three kinds of relationships, for example, A and/or B, can indicate: individualism A, together When there are A and B, these three situations of individualism B.Character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".
In order to facilitate understanding, noun involved in the embodiment of the present application is illustrated below.
Display engine: for synthesizing the image of different figure layers in terminal, and the image data after synthesis is transmitted To the hardware component of display screen.In the embodiment of the present application, display engine and it is indirect image data is transmitted to display screen, but Image data is transmitted to the buffer of display screen, and display screen then passes through the image data progress image read in buffer and shows Show.
Display driving: for controlling the code block of display engine.In the embodiment of the present application, display driving is for controlling display Engine powers on or lower electricity.In other possible embodiments, display driving, can be with other than controlling display engine power-on and power-off Control display engine executes other operations, and the embodiment of the present application is not construed as limiting this.
System performance service (Perf Service): a kind of performance optimization service of system level is provided for mixing system Source is with the running quality of optimization application.Wherein, the system resource that system performance service can be deployed includes central processing unit (Central Processing Unit, CPU) frequency, CPU core calculation, graphics processor (Graphics Processing Unit, GPU) frequency, GPU core number.
In the embodiment of the present application, system performance service also has the function of optimised power consumption.System performance service can be by pre- Stationary interface is communicated with bottom layer driving, to control corresponding hardware component by bottom layer driving.For example, system performance service It can be communicated with display driving, to be powered on or lower electricity by display drive control display engine.
Before the embodiment of the present application is explained, the application scenarios of the embodiment of the present application are said first It is bright.Fig. 1 shows the structural schematic diagram of terminal provided by one exemplary embodiment of the application.
The terminal 100 is the electronic equipment for being equipped with application program.The application program is that system program or third party answer Use program.Wherein, third party application is the application program of third party's production other than user and operating system.
The terminal 100 is the electronic equipment with communication function.For example, the terminal is mobile phone.
It optionally, include: processor 120, memory 140 and display screen 160 in the terminal 100.
Processor 120 may include one or more processing core.Processor 120 utilizes various interfaces and connection Various pieces in entire terminal 100, by running or executing the instruction being stored in memory 140, program, code set or refer to Collection is enabled, and calls the data being stored in memory 140, executes the various functions and processing data of terminal 100.Optionally, Processor 120 can use Digital Signal Processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA) at least one of example, in hardware realize.Processor 120 can integrating central processor (Central Processing Unit, CPU), in image processor (Graphics Processing Unit, GPU) and modem etc. One or more of combinations.Wherein, the main processing operation system of CPU, user interface and application program etc.;GPU is for being responsible for The rendering and drafting of content to be shown needed for display screen;Modem is for handling wireless communication.On it is understood that Stating modem can not also be integrated into processor 120, be realized separately through chip piece.
Memory 140 may include random access memory (Random Access Memory, RAM), also may include read-only Memory (Read-Only Memory).Optionally, which includes non-transient computer-readable medium (non- transitory computer-readable storage medium).Memory 140 can be used for store instruction, program, generation Code, code set or instruction set.Memory 140 may include storing program area and storage data area, wherein storing program area can store Instruction for realizing operating system, the instruction at least one function (such as touch function, sound-playing function, image Playing function etc.), for realizing instruction of following each embodiments of the method etc.;It is real that storage data area can store following each method Apply the data etc. being related in example.
Display screen 160 is component for displaying images, and display screen 160 is also equipped with touch-control function other than display function Can, for receiving the touch control operation of user.Wherein, it is divided according to displaying principle, display screen 160 can be light emitting diode (Light Emitting Diode, LED) screen, liquid crystal display (Liquid Crystal Display, LCD), You Jifa Optical diode (Organic Light-Emitting Diode, OLED) screen etc.;It is divided according to shape, display screen 160 can be comprehensive screen, Curved screen, abnormity screen etc..The embodiment of the present application does not limit the concrete type of display screen 160 It is fixed.
In the embodiment of the present application, display screen 160 is Command (instruction) screen, is different from Video (video) and shields, Command Screen is provided with buffer, which is used to store the image data transmitted by display engine, in the case of energization, delays in buffer The data deposited constant can be kept.Optionally, which is static random access memory (Static Random-Access Memory, SRAM).
In the related technology, under bright screen state, the display engine in terminal persistently carries out figure layer synthesis, and by the figure after synthesis As data are transmitted to display screen, so that display screen is performed image display according to the image data received.However, in certain operations Under scene, terminal is lower to display demand.For example, remained unchanged in the standby picture long-time that terminal is shown under standby scene, If display engine continuous transmission image data under standby scene, will cause electricity to waste.Especially for equipped with high-resolution The terminal of rate display screen, continuous transmission image data will waste a large amount of transfer resources and electricity under low display demand scene.
And in the embodiment of the present application, for being configured with the terminal of Command screen, terminal, which passes through, identifies current Run-time scenario, And when current Run-time scenario belongs to pre-set low display demand Run-time scenario, electricity under display engine is controlled, so that display Engine stops transmitting image data to buffer, to reduce the power consumption of terminal under low display demand Run-time scenario.Meanwhile it showing When electric under engine, display screen can be performed image display by reading the image data cached in buffer, ensure that low display Normal picture is shown under demand Run-time scenario.It is illustrated below using schematical embodiment.
Referring to FIG. 2, the method flow of the image display method provided it illustrates one exemplary embodiment of the application Figure.The present embodiment is applied to terminal shown in FIG. 1 in this way to be illustrated.This method may include steps of.
Step 201, current Run-time scenario is identified.
Wherein, current Run-time scenario can be the Run-time scenario that foreground application is presently in, and be also possible to the current institute of system The Run-time scenario at place, the embodiment of the present application are defined not to this.For example, current Run-time scenario can be game class application journey Market scene, loading scenario, group's battlefield scape in sequence etc.;Current Run-time scenario can be standby scene, the main interface of system Scene or scene set etc..
In a kind of possible embodiment, when operation has foreground application, terminal by with foreground application Connection is established, to be communicated by connecting with foreground application, to obtain the current operation field of foreground application Scape, alternatively, when foreground not running application program, the current Run-time scenario of terminal, that is, identifying system.
Step 202, if current Run-time scenario belongs to default Run-time scenario, electricity under display engine is controlled, is shown after lower electricity Engine stops transmitting image data to buffer.
In a kind of possible embodiment, default Run-time scenario list is stored in terminal, the default Run-time scenario column Default Run-time scenario in table is low display demand Run-time scenario.After identifying current Run-time scenario, terminal detects current Whether Run-time scenario belongs to default Run-time scenario list, if belonging to, electricity under display engine is controlled, so that display engine is current Stop transmitting image data to buffer under Run-time scenario, achievees the effect that reduce power consumption;If being not belonging to, display is continued through Engine transmits image data to buffer.
In other possible embodiments, terminal can also be determined current by the similarity of analysis adjacent image frame Whether Run-time scenario belongs to default Run-time scenario, wherein the similarity of adjacent image frame is greater than threshold value (ratio under default Run-time scenario As 95%).
When lower due to terminal power, user is higher to the susceptibility of electric quantity consumption, therefore, in a kind of possible embodiment party In formula, if current Run-time scenario data preset Run-time scenario, terminal further obtains current residual electricity, if current residual is electric Amount is lower than power threshold (or detect and open battery saving mode), and electricity under terminal control display engine, otherwise display engine is kept Power-up state.
Step 203, control display screen is performed image display according to the image data cached recently in buffer.
Since the buffer of display screen can store the image data of display engine transmission, display in the energized state Under engine during electricity, display screen is performed image display by reading the image data cached recently in buffer, i.e., display screen is held The image shown before electricity under continuous display display engine.
In a kind of possible embodiment, terminal sends to the control chip of display screen and instructs, the control core of display screen After piece receives the instruction, i.e., the image data cached recently from buffer performs image display;In alternatively possible reality It applies in mode, the display logic of display engine power-down state is previously provided in the control chip of display screen, it is aobvious when not receiving When showing that engine transmits image data, i.e., performed image display automatically according to the image data cached recently in buffer.
It should be noted that stringent precedence relationship is not present between above-mentioned steps 202 and 203, the embodiment of the present application is only It is illustrated so that step 202 executes before step 203 as an example, the execution timing of the two is not constituted and limited.
In conclusion, when the display screen of terminal is provided with buffer, terminal recognition is currently run in the embodiment of the present application Scene, and when current Run-time scenario belongs to default Run-time scenario, electricity under display engine is controlled, and by display screen according to buffer In the image data that caches recently perform image display;In the embodiment of the present application, terminal passes through lower electricity under default Run-time scenario Display engine, so that display engine stops transmitting image data to buffer, while guaranteeing that display screen normally shows picture, Reduce the power consumption of terminal under default Run-time scenario.
In a kind of possible embodiment, as shown in figure 3, terminal operating has system performance to service 31.Under bright screen state, System performance service 31 is attached with foreground application 32, and is determined by the connection between foreground application 32 The current Run-time scenario of foreground application 32.If current Run-time scenario belongs to default Run-time scenario, system performance service 31 That is the lower electricity of control display engine 33, so that display engine 33 stops reaching to display screen 34 (in buffer) transmission image data To the effect for reducing power consumption of terminal.It is illustrated below using schematical embodiment.
Referring to FIG. 4, the method stream of the image display method provided it illustrates another exemplary embodiment of the application Cheng Tu.The present embodiment is applied to terminal shown in FIG. 1 in this way to be illustrated.This method may include steps of.
Step 401, when operation has foreground application, system performance service and foreground application establish connection.
Optionally, when front stage operation has application program, foreground application is using socket (English: Socke t) mode Connection is established with the Socket interface of system performance service.The relevant data of the application scenarios of foreground application can pass through The connection is transferred to system performance service.
Optionally, data interaction is carried out since system performance service can carry out foreground application by connection, is Guarantee to establish the safety of connection, whether system performance service detection foreground application is default application program, and is being belonged to Yu Shi establishes connection with foreground application.
In other possible embodiments, foreground application may call upon the software of terminal system developer offer Application programming interface (the Application that development kit (Software Development Kit, SDK) provides Programming Interface, API), alternatively, establishing connection by binding (binder) mode and system performance service.This The mode that application embodiment does not establish connection to the two is defined.
Step 402, system performance service receives the scene identity that foreground application is sent, before scene identity is used to indicate Run-time scenario in platform application program.
For application program, due to and nonusable routine in all Run-time scenarios be low display performance demand (i.e. application program includes low display performance demand Run-time scenario and high display performance demand Run-time scenario), therefore, foreground application Program needs to service the scene identity for sending current Run-time scenario to system performance, so as to system performance service based on scene this Dimension carries out optimised power consumption.
Optionally, the corresponding scene identity of difference Run-time scenario is different in same application, and different application pair The scene identity answered is different.Wherein, the corresponding application identities of Run-time scenario are preparatory by Application developer in application program Setting.By taking e-book application program as an example, the corresponding relationship in e-book application program between Run-time scenario and scene identity is such as Shown in table one.
Table one
Run-time scenario Scene identity
E-book store scene A01
E-book recommends scene A02
E-book reading scene A03
Optionally, while foreground application sends scene identity, packet name of foreground application etc. can also be sent Information, so that system performance service determines Run-time scenario according to the packet name and scene identity of foreground application.
For the transmission opportunity of scene identity, in a kind of possible embodiment, in foreground application operational process, It is spaced the scene identity that current Run-time scenario is sent to foreground application at predetermined time intervals, correspondingly, system performance service Receive the scene identity that foreground application is sent.
In alternatively possible embodiment, when detecting that Run-time scenario changes, foreground application is to being System capabilities service sends the scene identity of current Run-time scenario, sends correspondingly, system performance service receives foreground application Scene identity.The embodiment of the present application is not defined the transmission opportunity of scene identity.
For example, the scene identity that the foreground application that system performance service acquisition arrives is sent is " A03 ".
Step 403, system performance service identifies current Run-time scenario according to scene identity.
Optionally, system performance service is previously stored with the corresponding relationship between scene identity and Run-time scenario, receives After the scene identity that foreground application is sent, system performance service identifies current Run-time scenario based on the corresponding relationship.
In conjunction with the example in above-mentioned steps 402, system performance service determines current Run-time scenario according to scene identity A03 For the reading scene in e-book application program.
It should be noted that system performance services available current system operation when foreground not running application program The scene identity of scene, so that it is determined that current system Run-time scenario.The embodiment of the present application does not limit this.
In a kind of possible embodiment, system performance service memory has default application scenarios list, the default application I.e. comprising the corresponding relationship between default application scenarios and scene identity in scene list.Whether belong in the current Run-time scenario of determination When default application scenarios, whether the system performance service scene identity that i.e. detection foreground application is sent belongs to default application Scene list, and when belonging to, determine that current Run-time scenario belongs to default application scenarios.
Step 404, when current Run-time scenario is standby scene, it is pre- that system performance service determines that current Run-time scenario belongs to If Run-time scenario.
Under standby scene (bright screen), the long-term image that display screen is shown remains unchanged (may in addition to the time of display Change), and the probability that user is operated is lower (being usually all to light screen to check the time).In such a scenario, it shows Show that the lasting image data transmitted to the buffer of display screen of engine is identical (or similarity is high), causes power wastage.Therefore, When current Run-time scenario is standby scene, system performance service determines that current Run-time scenario belongs to default Run-time scenario, and holds Row following step 407.
Under a kind of possible application scenarios, when receiving power button pressing signal and enter standby scene, terminal Determination is currently at default Run-time scenario.
Step 405, when current Run-time scenario is text reading scene, system performance service determines current Run-time scenario category In default Run-time scenario.
Wherein, text reading scene refers to that display scale shared by static text is greater than the scene of threshold value in display screen.Text It reads under scene, shows a large amount of static texts of screen display, and due to needing to take a long time when user reads text, During word read, show that the content of screen display remains unchanged.Therefore, in order to reduce the power consumption of terminal, when current fortune When row scene is text reading scene, system performance service determines that current Run-time scenario belongs to default Run-time scenario, and under execution State step 407.
Optionally, it may include following at least one that the text, which reads scene: reading scene, news in e-book application Read the reading scene in class application, the reading scene in copy editor's class application program.The embodiment of the present application is not to text The concrete type for reading scene is defined.
Under a kind of possible application scenarios, when user's opening e-book application program, and a wherein e-book is selected When being read, terminal determination is currently at default Run-time scenario.
Step 406, when current Run-time scenario is that still image shows scene, system performance service determines current operation field Scape belongs to default Run-time scenario.
Wherein, still image shows that scene refers to that display scale shared by still image is greater than the scene of threshold value in display screen. Still image is shown under scene, shows a large amount of still images of screen display, and still image exists continuously display a period of time During still image is shown, show that the content of screen display remains unchanged.Therefore, in order to reduce the power consumption of terminal, when current When Run-time scenario is that still image shows scene, system performance service determines that current Run-time scenario belongs to default Run-time scenario, and Execute following step 407.
Optionally, which shows that scene may include following at least one: the photo browsing in the application of photo class Scene (such as automatic broadcasting scene), the automatic broadcasting scene in the application of presentation file class, the store scene in game class application Etc..The embodiment of the present application is not defined the concrete type of text reading scene.
Under a kind of possible application scenarios, when user opens electron album application, and the automatic broadcasting electron album of selection It (makes a farfetched comparison when interior photo and switches one group of photo every 1s), terminal determination is currently at default Run-time scenario.
It should be noted that the present embodiment is only schematically illustrated by taking above-mentioned three kinds of possible scenes as an example, it is not right The concrete type of default Run-time scenario, which is constituted, to be limited.
Step 407, if current Run-time scenario belongs to default Run-time scenario, system performance service is by preset interface to aobvious Show that driving sends lower electricity instruction, display driving is for according to electricity under lower electricity instruction control display engine.
Further, when identifying that system performance service is corresponding to display engine when being currently at default Run-time scenario Display driving sends lower electricity instruction, by display driving according to electricity under lower electricity instruction control display engine.
In a kind of possible embodiment, system performance service controls (Inp ut/ by predefined input and output Output CONTRL, IOCTL) interface electric instruction under being sent to display driving.The embodiment of the present application does not carry out preset interface It limits.
Step 408, control display screen is performed image display according to the image data cached recently in buffer.
The embodiment of this step is similar to above-mentioned steps 203, and details are not described herein for the present embodiment.
It is electric under the display engine of terminal under standby scene after method provided by the embodiments of the present application, it is standby in guarantee Under the premise of picture is normally shown, power consumption of the terminal under standby scene is reduced;Under e-book reading scene, the display of terminal is drawn Lower electricity is held up, under the premise of guaranteeing that e-book is normally shown, reduces the power consumption of terminal;Photo plays under scene automatically, and terminal exists Electricity under (such as photo switching cycle of 1s) control display engine in photo switching cycle, while guaranteeing that photo is normally shown, Reduce the power consumption of terminal.
Step 409, when receiving image update signal, system performance Service controll display engine is powered on, and is shown after powering on Show that engine transmits image data to buffer.
When needing to be updated the image of display, the i.e. control display engine of system performance service is re-powered, so as to Display engine thinks that buffer transmits image data again.
In a kind of possible embodiment, system performance service drives transmission display to power on by preset interface to display Instruction is re-powered by display driving according to instruction control display engine is powered on.
Optionally, which is triggered by user, alternatively, by application program or system automatic trigger.
Under a kind of possible scene, under standby scene, when detecting user to the click signal of display screen, or, acquisition When the authentication information (such as fingerprint or face) arrived is by verifying, or receiving notification message, system performance Service controll Display engine powers on, so that display screen is according to the video data terminal main interface for showing engine transmission.
Under alternatively possible scene, under e-book reading scene, when the page turning signal for receiving user's triggering, or Person receives automatic page turning signal, or when receiving notification message, system performance Service controll display engine is powered on, to show Display screen updates the word content of display according to the image data for showing engine transmission.
It should be noted that after system performance Service controll display engine powers on, if locating Run-time scenario still belongs to Default Run-time scenario, system performance service will control electric under display engine again.Details are not described herein for the embodiment of the present application.
In the present embodiment, system performance service is by establishing connection with foreground application, thus according to foreground application journey The scene identity that sequence is sent, determines whether foreground application runs to default Run-time scenario, and then in operation to default operation When scene, electricity under display engine is controlled, to reduce the power consumption of terminal.
In the present embodiment, in the case where standby scene, text reading scene or still image show scene, terminal control, which is shown, to be drawn Lower electricity is held up, the power consumption of terminal under low display performance demand scene is reduced.
It needs to spend time (usually a few tens of milliseconds) since display engine powers on, causes to receive image update signal and arrive There is delay between image update.In order to reduce delay influence caused by user's use, in a kind of possible embodiment, As shown in figure 5, further including following steps after step 408.
Step 410, the corresponding screen switching interval of current Run-time scenario is obtained.
Wherein, screen switching interval is used to indicate terminal according to the frequency of user's operation image switching content.For example, for E-book class application program is divided into the frequency of user's page turning between screen switching;Class application program, screen switching are browsed for photo Frequency is the frequency that user switches photo.
For the method for determination at screen switching interval, in a kind of possible embodiment, terminal obtains default operation field Time interval under scape between the adjacent signal of image update twice, to determine default operation field according at least one time interval The corresponding screen switching interval of scape.Optionally, which is the average value of at least one time interval.
In a kind of possible embodiment, terminal storage has corresponding between default Run-time scenario and screen switching interval Relationship, when the current Run-time scenario of determination belongs to default Run-time scenario, terminal is based on the corresponding relationship and obtains current Run-time scenario Under corresponding screen switching frequency.
For example, terminal is divided into 5s between getting screen switching when current Run-time scenario is the reading scene of e-book application.
Step 411, timer is started according to screen switching interval.
Further, timer is arranged according to the screen switching interval got in terminal, and starts, the timing of the timer Duration≤screen switching interval.
For example, the timing length of terminal setting timer is 4.5s.
Step 412, when timer reaches timing, control display engine is powered on, and is powered on rear display engine and is passed to buffer Defeated image data.
Before timer reaches timing, display engine keeps power-down state, to reduce the power consumption of terminal;When timer reaches When timing, terminal control display engine is powered on, when subsequently received image update signal, due to display engine in advance on Electricity, therefore can shorten and receive image update signal to the delay between image update reduces under display engine electricity to user It is influenced caused by experience.
Following is the application Installation practice, can be used for executing the application embodiment of the method.It is real for the application device Undisclosed details in example is applied, the application embodiment of the method is please referred to.
Referring to FIG. 6, the structural schematic diagram of the image device provided it illustrates the application one embodiment.The image is aobvious Showing device can be by special hardware circuit, alternatively, software and hardware is implemented in combination with as the whole of the terminal in Fig. 1 or one Point, which includes:
Identification module 610, for identification current Run-time scenario;
Lower electricity module 620, for controlling under display engine when the current Run-time scenario belongs to default Run-time scenario Electricity, it is lower electricity after the display engine stop to the buffer transmit image data;
Display module 630 is carried out for controlling the display screen according to the image data cached recently in the buffer Image is shown.
Optionally, the terminal operating has system performance service, the lower electric module 620, comprising:
System performance service unit is connect if belonging to default Run-time scenario for the current Run-time scenario by default Mouth sends lower electric instruction to display driving, and the display driving is for according under the lower electricity instruction control display engine Electricity.
Optionally, the identification module 610, comprising:
System performance service unit, for establishing and connecting with the foreground application when operation has foreground application It connects;
System performance service unit, the scene identity sent for receiving the foreground application, the scene identity The Run-time scenario being used to indicate in the foreground application;
System performance service unit, for identifying the current Run-time scenario according to the scene identity.
Optionally, described device further include:
First determining module, for determining the current Run-time scenario when the current Run-time scenario is standby scene Belong to the default Run-time scenario;
Or,
Second determining module, for determining the current operation when the current Run-time scenario is text reading scene Scene belongs to the default Run-time scenario;
Or,
Third determining module, for determining described current when the current Run-time scenario is that still image shows scene Run-time scenario belongs to the default Run-time scenario.
Optionally, described device further include:
First obtains module, for obtaining the corresponding screen switching interval of the current Run-time scenario;
Starting module, for starting timer according to the screen switching interval;
First powers on module, for controlling the display engine and powering on, power on rear institute when the timer reaches timing It states display engine and transmits described image data to the buffer.
Optionally, described device further include:
Second obtains module, for obtaining the time under the default Run-time scenario between the adjacent signal of image update twice Interval;
Interval determination module, for determining the corresponding institute of the default Run-time scenario according to time interval described at least one State screen switching interval.
Optionally, described device further include:
Second powers on module, powers on for when receiving image update signal, controlling the display engine, powers on rear institute It states display engine and transmits described image data to the buffer.
In conclusion, when the display screen of terminal is provided with buffer, terminal recognition is currently run in the embodiment of the present application Scene, and when current Run-time scenario belongs to default Run-time scenario, electricity under display engine is controlled, and by display screen according to buffer In the image data that caches recently perform image display;In the embodiment of the present application, terminal passes through lower electricity under default Run-time scenario Display engine, so that display engine stops transmitting image data to buffer, while guaranteeing that display screen normally shows picture, Reduce the power consumption of terminal under default Run-time scenario.
It should be noted that device provided by the above embodiment, when realizing its function, only with above-mentioned each functional module It divides and carries out for example, can according to need in practical application and be completed by different functional modules above-mentioned function distribution, The internal structure of terminal is divided into different functional modules, to complete all or part of the functions described above.In addition, Apparatus and method embodiment provided by the above embodiment belongs to same design, and specific implementation process is detailed in embodiment of the method, this In repeat no more.
The application also provides a kind of computer-readable medium, is stored thereon with program instruction, and program instruction is held by processor The image display method that above-mentioned each embodiment of the method provides is realized when row.
Present invention also provides a kind of computer program products comprising instruction, when run on a computer, so that Computer executes image display method described in above-mentioned each embodiment.
Above-mentioned the embodiment of the present application serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that completely or partially being walked in the image display method of realization above-described embodiment Suddenly may be implemented by hardware, relevant hardware can also be instructed to complete by program, the program can store in In a kind of computer readable storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..More than Described is only that the preferred embodiment of the application within the spirit and principles of this application, is made not to limit the application Any modification, equivalent substitution, improvement and etc., should be included within the scope of protection of this application.

Claims (10)

1. a kind of image display method, which is characterized in that the method is used for terminal, and the display screen of the terminal is provided with caching Device, which comprises
Identify current Run-time scenario;
If the current Run-time scenario belongs to default Run-time scenario, electric under display engine, the display engine after lower electricity is controlled Stop transmitting image data to the buffer;
The display screen is controlled to be performed image display according to the image data cached recently in the buffer.
2. the method according to claim 1, wherein the terminal operating has system performance service, if the institute It states current Run-time scenario and belongs to default Run-time scenario, then control electric under display engine, comprising:
If the current Run-time scenario belongs to default Run-time scenario, the system performance service is driven by preset interface to display Dynamic to send lower electricity instruction, the display driving is for controlling electricity under the display engine according to the lower electricity instruction.
3. according to the method described in claim 2, it is characterized in that, the current Run-time scenario of identification, comprising:
When operation has foreground application, the system performance service and the foreground application establish connection;
The system performance service receives the scene identity that the foreground application is sent, and the scene identity is used to indicate institute State the Run-time scenario in foreground application;
The system performance service identifies the current Run-time scenario according to the scene identity.
4. method according to any one of claims 1 to 3, which is characterized in that described after the current Run-time scenario of identification Method includes:
When the current Run-time scenario is standby scene, determine that the current Run-time scenario belongs to the default Run-time scenario;
Or,
When the current Run-time scenario is text reading scene, determine that the current Run-time scenario belongs to the default operation field Scape;
Or,
When the current Run-time scenario is that still image shows scene, determine that the current Run-time scenario belongs to the default fortune Row scene.
5. method according to any one of claims 1 to 3, which is characterized in that described under the control display engine after electricity Method further include:
Obtain the corresponding screen switching interval of the current Run-time scenario;
Start timer according to the screen switching interval;
When the timer reaches timing, controls the display engine and power on, power on the rear display engine to the caching Device transmits described image data.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
Obtain the time interval under the default Run-time scenario between the adjacent signal of image update twice;
The corresponding screen switching interval of the default Run-time scenario is determined according to time interval described at least one.
7. method according to any one of claims 1 to 3, which is characterized in that described under the control display engine after electricity Method further include:
It when receiving image update signal, controls the display engine and powers on, power on the rear display engine to the caching Device transmits described image data.
8. a kind of image display device, which is characterized in that described device is used for terminal, and the display screen of the terminal is provided with caching Device, which comprises
Identification module, for identification current Run-time scenario;
Lower electricity module, it is electric under display engine for controlling when the current Run-time scenario belongs to default Run-time scenario, after lower electricity The display engine stops transmitting image data to the buffer;
Display module, it is aobvious according to the image data progress image cached recently in the buffer for controlling the display screen Show.
9. a kind of terminal, which is characterized in that the terminal includes processor, the memory being connected with the processor, is stored in Program instruction on the memory and the display screen for being provided with buffer, the processor execute real when described program instruction The now image display method as described in claim 1 to 7 is any.
10. a kind of computer readable storage medium, which is characterized in that be stored thereon with program instruction, described program instruction is located Manage the image display method realized as described in claim 1 to 7 is any when device executes.
CN201810893317.0A 2018-08-07 2018-08-07 Image display method, device, terminal and storage medium Active CN109189198B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810893317.0A CN109189198B (en) 2018-08-07 2018-08-07 Image display method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810893317.0A CN109189198B (en) 2018-08-07 2018-08-07 Image display method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN109189198A true CN109189198A (en) 2019-01-11
CN109189198B CN109189198B (en) 2021-04-06

Family

ID=64920346

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810893317.0A Active CN109189198B (en) 2018-08-07 2018-08-07 Image display method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109189198B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110308783A (en) * 2019-07-09 2019-10-08 京东方科技集团股份有限公司 A kind of time display method, device and electronic equipment
CN112218008A (en) * 2020-10-12 2021-01-12 Oppo广东移动通信有限公司 Device control method, device, storage medium and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1831718A (en) * 2006-04-18 2006-09-13 威盛电子股份有限公司 Transfer unit, computer system and picture data display method
CN101149640A (en) * 2006-10-31 2008-03-26 威盛电子股份有限公司 Systems and methods for low-power computer operation
CN102905187A (en) * 2011-07-25 2013-01-30 卡西欧计算机株式会社 Image display system, image display method and social network service system
CN107155136A (en) * 2007-08-15 2017-09-12 Ati科技无限责任公司 The automatic reduction of video display device power consumption

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1831718A (en) * 2006-04-18 2006-09-13 威盛电子股份有限公司 Transfer unit, computer system and picture data display method
CN101149640A (en) * 2006-10-31 2008-03-26 威盛电子股份有限公司 Systems and methods for low-power computer operation
CN107155136A (en) * 2007-08-15 2017-09-12 Ati科技无限责任公司 The automatic reduction of video display device power consumption
CN102905187A (en) * 2011-07-25 2013-01-30 卡西欧计算机株式会社 Image display system, image display method and social network service system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110308783A (en) * 2019-07-09 2019-10-08 京东方科技集团股份有限公司 A kind of time display method, device and electronic equipment
CN112218008A (en) * 2020-10-12 2021-01-12 Oppo广东移动通信有限公司 Device control method, device, storage medium and electronic device
CN112218008B (en) * 2020-10-12 2024-01-23 Oppo广东移动通信有限公司 Device control method, device, storage medium and electronic device

Also Published As

Publication number Publication date
CN109189198B (en) 2021-04-06

Similar Documents

Publication Publication Date Title
US20220224665A1 (en) Notification Message Preview Method and Electronic Device
US11914446B2 (en) Electronic device control method and apparatus, and electronic device
CN107015629B (en) Processing method and electronic device
CN107770618B (en) Image processing method, device and storage medium
US20180063046A1 (en) Method and apparatus for downloading and displaying pictures
CN108521607B (en) Method and device for processing advertisements in video, storage medium and intelligent terminal
CN109003194B (en) Comment sharing method, terminal and storage medium
CN107888965B (en) Image gift display method and device, terminal, system and storage medium
CN108496198B (en) Image processing method and device
CN106658064B (en) Virtual gift display method and device
CN102065166A (en) Mobile terminal and method and system for carrying out rapid and convenient operation on contacts
US20170373994A1 (en) Method and terminal for displaying instant messaging message
KR102607647B1 (en) Electronic apparatus and tethering connection method thereof
AU2021229220B2 (en) Image processing method and device
CN109343902A (en) Operation method, device, terminal and the storage medium of audio processing components
CN109272917B (en) Screen brightness adjusting method and device, storage medium and electronic equipment
CN112492364A (en) Screen projection method, screen projection device and source equipment
CN109189198A (en) Image display method, device, terminal and storage medium
CN112543495B (en) Display control method and electronic equipment
WO2019201137A1 (en) Processing method for split-screen exiting, storage medium and electronic device
US20150327179A1 (en) Portable terminal device
CN106375602B (en) Terminal photographic method and device
WO2023046105A1 (en) Message sending method and apparatus and electronic device
US20230345227A1 (en) Switch module, terminal device, method for controlling terminal device
CN107390460B (en) Double-screen display method and device of wrist projection equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant