CN103942020B - Information display method and device under dormant state of system - Google Patents
Information display method and device under dormant state of system Download PDFInfo
- Publication number
- CN103942020B CN103942020B CN201410085249.7A CN201410085249A CN103942020B CN 103942020 B CN103942020 B CN 103942020B CN 201410085249 A CN201410085249 A CN 201410085249A CN 103942020 B CN103942020 B CN 103942020B
- Authority
- CN
- China
- Prior art keywords
- information
- display
- displayed
- intervalometer
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Controls And Circuits For Display Device (AREA)
- User Interface Of Digital Computer (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
- Digital Computer Display Output (AREA)
Abstract
The invention discloses an information display method and device under a dormant state of a system. The information displaying under the dormant state of the system is achieved. Compared with the mode that information is displayed after the system is aroused in the prior art, the method can reduce the power consumption of operation of the system. The method comprises the steps of applying for a frame buffer area in advance; setting a periodical trigger mechanism of a timer and a storage path of information to be displayed, wherein the trigger mechanism is used for triggering the information displaying when the timer gives a response regularly; obtaining the information to be displayed and loading the information to be displayed to a preset buffer area according to the storage path before the system enters the deep dormant state; after the system is dormant, if the display function is triggered, judging whether the timer gives the response to trigger the display function regularly or not; if yes, opening a pixel clock and a power source of display equipment; copying content to be displayed from the preset buffer area to the frame buffer area; reading the information to be displayed from the frame buffer area and displaying the information to be displayed on the display equipment according to the display time sequence indicated by the pixel clock.
Description
Technical field
The present invention relates to technical field of information display, the method for information display under more particularly, to a kind of system resting state with
Device.
Background technology
Present band display can the equipment of dormancy or system, as set based on the intelligence of ARIXTRA (Android) system platform
The standby, smart machine based on Linux system platform, after system enters dormancy, display screen cannot show any information again, only
After user presses the operation generation that power key, phone entrance etc. can trigger system wake-up, whole system wakes up and just can show
Information operates with carrying out other.
In prior art, can there is no above-mentioned calling out for the equipment of dormancy or system for above-mentioned with display
Under conditions of the action of awake system occurs, also do not have after equipment or system depth dormancy still can display information technology.
Content of the invention
Inventor finds through numerous studies, in prior art, if equipment or system enter deep-sleep, without
User presses the operation that power key, phone entrance etc. wake up system, and system cannot be carried out the display of information.With based on Android
As a example the intelligent watch of system, existing technology cannot be realized seeing the function of time at any time after making wrist-watch dormancy, that is,
Say user want the time of seeing must lift handss and press power key by whole system wake-up after just can see the time, for user come
Say, then must trigger whole system if necessary to equipment display information and wake up, the institute of system is functional all to be started, system operation
Power consumption is higher.
For this reason, the present invention provides method for information display and device under a kind of system resting state, be there are currently no with real
On the basis of stating system wake-up operation, realize the display of information, improve Consumer's Experience, and reduce the power consumption of system operation.
Embodiment of the present invention one side provides the method for information display under a kind of system resting state, it may include:
Pre- first to file one frame buffer zone;
The setting periodic triggers mechanism of intervalometer and the store path of information to be displayed, described trigger mechanism is used for timing
During device timing response, trigger message shows;
Before system enters deep sleep state, information to be displayed is obtained according to described store path and is loaded onto default
Relief area;
After system dormancy, if display function is triggered, judge whether it is described intervalometer timing response triggering;If so, then
Open the power supply of pixel clock and display device;
From described pre-set buffer area, content to be displayed is copied to described frame buffer zone;
From described frame buffer zone read information to be displayed and according to pixel clock instruction display sequential in display device
Upper display.
Preferably, judge whether it is described intervalometer timing response triggering, including:
Read the value of the corresponding counter register of described intervalometer;
Judge whether the value of described counter register is equal with the counting desired value of the intervalometer of setting;
If equal it is determined that being the triggering of described intervalometer timing response.
Preferably, when needing to wake up system kernel, methods described also includes:
When the value of counter register is equal with the counting desired value of the intervalometer of setting, buffer status flag bit is set,
For being designated as the triggering of intervalometer timing response;
After kernel wakes up, determine it is the presentation of information of described intervalometer timing response triggering according to described flag bit.
Preferably, methods described also includes:
The information to be displayed that editor reads, and editor is shown on the display device according to the display sequential of pixel clock instruction
Information afterwards.
The present invention also provides the method for information display under a kind of system resting state, and methods described includes:
Pre- first to file one frame buffer zone;
The periodic triggers mechanism of setting intervalometer, when described trigger mechanism is used for intervalometer timing response, trigger message
Display;
After system dormancy, if display function is triggered, judge whether it is described intervalometer timing response triggering;If so, then
Open the power supply of pixel clock and display device;
Execute default information generation program, to generate information to be displayed, and the information to be displayed of production is cached to Shen
Frame buffer zone please;
Show the information of generation according to the display sequential of pixel clock instruction on the display device.
The present invention also provides the information display device under a kind of system resting state, and described device includes:
First application module, for pre- first to file one frame buffer zone;
First setup module, for arranging the periodic triggers mechanism of intervalometer and the store path of information to be displayed, institute
When stating trigger mechanism for intervalometer timing response, trigger message shows;
Acquisition module, before entering deep sleep state for system, obtains information to be displayed according to described store path
And it is loaded onto default relief area;
Load-on module, for being loaded onto default relief area by the information to be displayed of acquisition;
First judge module, after system dormancy, if display function is triggered, judges whether it is described intervalometer timing
Response triggering;
First starting module, when being triggered by intervalometer timing response for system display function, opens pixel clock and shows
Show the power supply of equipment;
Copy module, for copying content to be displayed to described frame buffer zone from described pre-set buffer area;
First display module, for reading information to be displayed showing according to pixel clock instruction from described frame buffer zone
Show that sequential shows on the display device.
Preferably, described first judge module includes:Reading submodule, posts for reading the corresponding counting of described intervalometer
The value of storage;Judging submodule, for judging the value whether counting desired value with the intervalometer of setting of described counter register
Equal;Determination sub-module, for described counter register value with setting intervalometer counting desired value equal when, determination is
Described intervalometer timing response triggering.
Preferably, described device also includes:
Flag bit setup module, when being used for needing to wake up system kernel, if the value of counter register and the intervalometer arranging
Counting desired value equal, buffer status flag bit is set, is used for being designated as the triggering of intervalometer timing response;
Then described determination sub-module, is additionally operable to after kernel wakes up, and determines it is that described intervalometer is fixed according to described flag bit
When response triggering presentation of information.
Preferably, described device also includes:
Editor module, the information to be displayed reading for editor;
Corresponding, described first display module, be additionally operable to according to pixel clock instruction display sequential on the display device
Information after display editor.
The present invention also provides the information display device under a kind of system resting state, and described device includes:
Second application module, for pre- first to file one frame buffer zone;
Second setup module, for arranging the periodic triggers mechanism of intervalometer, it is fixed that described trigger mechanism is used for intervalometer
When response when, trigger message shows;
Second judge module, after system dormancy, if display function is triggered, judges whether it is described intervalometer timing
Response triggering;
When second starting module is the triggering of described intervalometer timing response for display function, open pixel clock and aobvious
Show the power supply of equipment;
Performing module, for executing default information generation program, generates information to be displayed;
Cache module, for caching the information to be displayed of generation to the frame buffer zone of application;
Second display module, the display sequential for being indicated according to pixel clock shows the letter of generation on the display device
Breath.
Technical scheme provided by the present invention understands, by arranging the clocked flip mechanism of timer period, i.e. timing
Device is that trigger message shows when timing response, before system enters deep-sleep, by information cache to be shown to
Relief area, after system dormancy, when intervalometer timing response trigger message shows, only need to make pixel clock and display device
Power work, then from relief area, information to be displayed is copied to the frame buffer zone of application, then according to pixel clock
The sequential indicating is by presentation of information on the display device.Whole information display process, is all carried out under the resting state of system,
The display that whole system can achieve information need not be waken up.Compared with prior art, whole system need not be triggered and wake up display letter
Breath, reduces whole system and runs power consumption.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description are these
Some bright embodiments, for those of ordinary skill in the art, without having to pay creative labor, acceptable
Other accompanying drawings are obtained according to these accompanying drawings.
The flow chart of the method for information display embodiment 1 under a kind of system resting state that Fig. 1 provides for the present invention;
The graph of a relation of the system default framebuffer and new application framebuffer that Fig. 2 provides for the present invention;
The flow chart of the method for information display embodiment 2 under a kind of system resting state that Fig. 3 provides for the present invention;
The flow chart of the method for information display embodiment 3 under a kind of system resting state that Fig. 4 provides for the present invention;
The structural representation of the information display device embodiment 1 under a kind of system resting state that Fig. 5 provides for the present invention;
The structural representation of the information display device embodiment 4 under a kind of system resting state that Fig. 6 provides for the present invention.
Specific embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached in the embodiment of the present invention
Figure, is clearly and completely described to the technical scheme in the embodiment of the present invention it is clear that described embodiment is the present invention
A part of embodiment, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not having
The every other embodiment being obtained under the premise of making creative work, broadly falls into the scope of protection of the invention.
The technical scheme below present invention being provided does the explanation of detailed disclosure, first, with reference to shown in Fig. 1, is the present invention
There is provided a kind of system resting state under method for information display embodiment 1 flow chart, the present embodiment specifically can include as
Lower step:
S11:Pre- first to file one frame buffer zone;
During system display information, data to be displayed is in the frame buffer zone framebuffer of writing system acquiescence, in order to
Avoid clashing with system display information itself, the new frame buffer zone framebuffer of the pre- first to file of the present embodiment is (in LCD
(iquid Crystal Display, liquid crystal display) is applied for when driving registration), because this frame buffer zone will not be by
User changes, so not needing dynamically distributes, reduces the loss that dynamically distributes are brought.This relief area is buffered with the frame of system default
Area's size is the same, and requires virtual address and physical address to be all continuous, because the data in this framebuffer is
Need to be transported to display on screen by lcd controller according to certain sequential, if dynamically distributes can lead to memory fragmentation
Generation, be possible to after time length to occur Memory Allocation less than problem.With reference to shown in Fig. 2, it is system default
Framebuffer and the new graph of a relation applying for framebuffer.
S12:The setting periodic triggers mechanism of intervalometer and the store path of information to be displayed;
When described trigger mechanism is used for intervalometer timing response, trigger message shows, wherein, the described cycle is intervalometer
Timing cycle, in actual applications, the timing cycle of intervalometer can self-defined be arranged.
The classification of described information to be displayed is not construed as limiting here, can be data can also be picture;Information to be displayed
Store path is described information file path in systems.
S13:Before system enters deep-sleep, information to be displayed is obtained according to described store path and is buffered in default
Relief area;
Described pre-set buffer area is different from the frame buffer zone of described application, except require virtual address continuously in addition to, if should
The size of relief area caches information to be displayed enough.
S14:After system dormancy, if display function is triggered, judge whether it is described intervalometer timing response triggering;
From prior art, after system dormancy, if user presses power key, for mobile phone, phone is had to enter
Enter, the system that all can trigger wakes up from resting state, system wake-up substantially can be understood as recovering display function and other institutes
Some functions, so in the present embodiment, if system is triggered display information after system dormancy, such as receive instruction display
The instruction of information, the form for the instruction of presentation of information can have multiple, such as by the way of on-off control, or believes in plain text
The mode of breath, is not construed as limiting here.Need to judge whether to be described intervalometer timing response triggering, and then determine next
The wake-up of step whether whole system to be executed.If the triggering of intervalometer timing response, then enter step S15.
S15:Open the power supply of pixel clock and display device;
As its name suggests, the power supply of described display device is used for powering to display device, so that display device can work;Institute
Stating pixel clock is to provide sequential for screen display, and the time span least unit of display sequential for a clock cycle (is
Read clock/pixel clock provides).
Illustrate:The screen of such as 1024*768 resolution sizes, the form of a pixel (refers to for RGB888
Be output signal rgb format, the color depth of RGB is 8), then the bit wide shared by a pixel be 24, for one
For having the screen of 24 data lines, the data sending a pixel only needs to send out once, then corresponding spent
Time only needs to a clock cycle, and for the screen of only 8 data lines, the data sending a pixel will send out 3
Secondary, once send out 8, totally 24.So it is considered that now needing to use up 3 clock cycle.
When sequential actually refers to show frame data, lcd controller needs by regular hour order (during by pixel
Clock provides clock) controlling corresponding data or order wire to send the data to screen, sequential includes line synchronising signal, field
Synchronizing signal, data signal etc., the form of sequential is specifically determined by display screen.
S16:From described pre-set buffer area, content to be displayed is copied to described frame buffer zone;
S17:Read information to be displayed and set in display according to the display sequential of read clock instruction from described relief area
Standby upper display.
In the technical scheme that the present embodiment provides, whole information display process, all carry out under the resting state of system,
The display that whole system can achieve information need not be waken up.Compared with prior art, whole system need not be triggered and wake up display letter
Breath, reduces whole system and runs power consumption.
It is preferred that after reading information to be displayed, after edlin being entered to information, then entering on the basis of embodiment 1
Two pictures such as, if information to be shown is two pictures, can be synthesized, then show synthesis by row display
Picture afterwards.
On the basis of embodiment 1, in order to deepen the understanding to the technical scheme that the present invention provides further, below with not
With application scenarios as a example, be discussed in detail the present invention offer technical scheme under different application scene the corresponding concrete side of execution
Formula.
Shown in scene one, reference Fig. 3, it is the flow chart of display information embodiment of the method 2 under system resting state, this enforcement
Example taking do not need to wake up kernel as a example illustrates it is assumed that system has applied for a new frame buffer zone.
The present embodiment specifically may include steps of:
S31:The function that application layer open real-time clock RTC timing response trigger message shows;
The one kind of the intervalometer that described real-time clock RTC adopts for the present embodiment implements, timing response trigger mechanism
This function can be controlled using grand the need of opening in kernel, such as CONFIG_SLCD_SUSPEND_ALARM_
WAKEUP_REFRESH, if this grand is defined, then this function will be opened, related program will be compiled into.
S32:The application layer setting timing cycle of RTC and the store path of information to be displayed;
S33:Before system depth dormancy, prepare interface is called to load information to be displayed to pre-set buffer area;
After timing cycle and picture path are set by application layer by specific interface, system will dormancy when
Time can call prepare interface, and this interface is mainly capacity and the path of the information to be displayed according to application layer setting, such as schemes
Piece number and the path of picture, to apply for corresponding relief area buffer, and information to be displayed are loaded into default buffer
In, relief area here is different from frame buffer zone, as long as virtual address is continuous, buffer size caches information to be displayed enough and is
Can.
S34:Under system resting state, if information display function is triggered, read the value of the corresponding counter register of RTC;
S35:Judge whether the value of described counter register is equal with the default count value of RTC, if equal, enter step
S36;
It is in low power consumpting state, now CPU will quit work after system dormancy, and DDR (Double Data Rate, double
Times speed synchronous DRAM) carry out self-refresh, RTC (Real-Time Clock, real-time clock) normal work, its
He enters resting state at module.After entrance resting state, the display function of system may be by phone (smart mobile phone), indigo plant
Whether tooth or user press the operation triggering such as power knob, the RTC triggering being also set, so needing to being follow-up
RTC triggering is judged.Unlike situation about waking up from whole system in prior art, the display work(of system in the present embodiment
After being triggered, only CPU goes to running status from sleep state, to support the normal display function of system.
Described step S34 and S35 complete whether presentation of information is the judgement that RTC timing response triggers jointly, specially:
The related depositor of RTC has RTCSAR and RTCSR depositor, and these depositors are 32, and RTCSR depositor is used to count
, RTCSAR is used to arrange count value.Define a variable to access value to be arranged, such as int last_refresh_
Alarm_value (defines a shaping variable);If the value in present RTCSR is 700, if 800 this when triggering (false
If timing cycle is 100), then RTCSAR and int last_refresh_alarm_value can be set to 800, then
RTC often carrys out a clock can make the value of RTCSR add 1, and when the value of RTCSR increases to 800, RTC block can produce one
Interrupt, the value of RTCSR is compared with last_refresh_alarm_value, if equal explanation is RTC triggering.
S36:Open pixel clock and the power supply that display needs;
Data in buffer finally depends on the lcd controller of internal system on screen to be shown to, and enters in system
When dormancy, the work clock of lcd controller is to close, and corresponding pixel clock is also to close it is now desired to display
Words are accomplished by opening these clocks.For Eink screen, this screen has bistable characteristic, and display does not need to carry on the back
Light, so only need to provide voltage for Eink screen when display.
S37:Call update_framebuffer interface, copy information to be displayed the frame buffering of application to from relief area
Qu Zhong;
S38:Read information content from frame buffer zone to be shown.
Information in default buffer is transported in frame buffer zone update_framebuffer interface, display device from
Read information in frame buffer zone and enter the display of row information according to the sequential of pixel clock.After presentation of information completes, permissible
The clock of lcd controller is closed it is not necessary to electricity break, then CPU enters back into sleep state.
Preferably, update_framebuffer interface can also edit information to be displayed, and is indicated according to read clock
Display sequential show the information after editor on the display device.
The primary function that the corresponding software of above-mentioned application scenarios is realized is as follows:
──lcd_suspend_update
├──customer_moduel_suspend_update_display
│├──Makefile
│├──wakeup_and_update_display.c
│└──wakeup_and_update_display.h
├──Makefile
├──rtc_alarm.c
├──rtc_alarm.h
├──rtc-jz4775.h
├──slcd_suspend_debug.h
├──slcd_update.c
├──slcd_update.h
└──suspend_ops.c
, the software section of realization is in lcd_suspend_update catalogue taking Android system as a example, provides to client
Interface realize in customer_moduel_suspend_update_display catalogue.
Rtc_alarm.c is mainly the related alarm function of RTC, completes alarm wakeup process when system dormancy
Execution update_slcd.
Slcd_update.c mainly completes the relevant setting work of display device, including setting period, update_
Slcd etc..
Suspend_ops.c mainly completes the registration structure of system suspend, completes the call back function of correlation.
Wakeup_and_update_display.c mainly completes the interface being supplied to client.
Although taking do not need the to wake up kernel as a example explanation of scene two embodiment 2, for the feelings needing wake-up kernel
Condition stands good.But kernel needs the regular hour from dormant state to wake-up, within this time, the value of RTC counter register
It is possible to change so that follow-up judge process occurs error.Therefore, the present invention provides another presentation of information realized
Solving the above problems, method for information display embodiment 3 under the system resting state providing for the present invention, with reference to Fig. 4 for embodiment
Shown flow chart.The present embodiment specifically can include:
S41:The function that application layer open real-time clock RTC timing response trigger message shows;
S42:The application layer setting timing cycle of RTC and the store path of information to be displayed;
S43:Before system dormancy, prepare interface is called to load information to be displayed to pre-set buffer area;
Described dormancy refers to deep-sleep.
S44:Under system resting state, if information display function is triggered, read the value of the corresponding counter register of RTC;
S45:Judge whether the value of described counter register is equal with the default count value of RTC, if equal, enter step
S46;
S46:Setting RTC counter register flag bit;
Described embodiment 2 and embodiment 3 are all applied to the scene that kernel is waken up, except for the difference that, kernel from dormant state to
Wake-up needs the regular hour, and within this time, the value of RTC depositor is possible to change so that follow-up judgement
Cheng Fasheng error, so, in the present embodiment preferably, a variable can be defined as the mark for indicator register state
Will position, is such as set to when " 1 " be designated as RTC triggering, after this spline kernel wakes up, determines it is that described RTC touches according to this flag bit
Send out.
S47:Kernel wakes up;
In kernel awakening phase, the thread of interior nuclear freeze will thaw and run, part peripheral hardware will here initialization or
Wake-up goes successively to working condition, and corresponding display device here is also waken up, and that such as mentions in embodiment 2 " opens display need
The clock wanted and power supply " can complete in this stage.
S48:According to flag bit, kernel judges whether described triggering is the triggering of RTC timing response, if so, enter step S49;
S49:Call update_framebuffer interface, copy information to be displayed the frame buffering of application to from relief area
Qu Zhong;
S410:Read information content from frame buffer zone to be shown.
The present embodiment, in practical operation, can define one according to following order and enumerate, first open/dev/watch_
Update device node, just can arrange corresponding parameter after opening by ioctl.
1st, opening function:
Using method:ioctl("/dev/watch_update",WATCH_OPEN,NULL);
This function only needs to transmit two parameters, and first parameter is device node filec descriptor, and second parameter is
Order, for enumerating of definition, the 3rd parameter is indifferent to.After execution, just open this function.
2nd, closing function:
Using method:ioctl("/dev/watch_update",WATCH_CLOSE,NULL);
This function only needs to transmit two parameters, and first parameter is device node filec descriptor, and second parameter is
Order, for enumerating of definition, the 3rd parameter is indifferent to.After execution, when system dormancy again, this function will be temporary
When close.
3rd, the triggering cycle is set
Using method:ioctl("/dev/watch_update",WATCH_PERIOD,&arg);
This function needs to transmit three parameters, and first parameter is device node filec descriptor, and second parameter is life
Order, for enumerating of definition, the 3rd parameter is intended to the cycle arranging, and unit is the second.After execution, when system dormancy, just
Can be according to newly-installed cycle display information.
4th, picture path is set
Using method:ioctl("/dev/watch_update",WATCH_PIC_PAHT,arg);
This function needs to transmit three parameters, and first parameter is device node filec descriptor, and second parameter is life
Order, for enumerating of definition, the 3rd parameter is the pointer of our new information path character strings to be arranged, such as picture, when
Pass during plurality of pictures it is desirable to application layer the path of all pictures of user setup is used ";" separate, driving can parse picture
Path is Loading Image.After execution, after system dormancy, the picture of display is exactly the picture of user oneself setting.
It should be noted that system has the judgment mechanism of oneself to judge whether system is to need to wake up in itself.For example use
Power knob is pressed at family, and, to being that power key is pressed, the power management services of system will be to/sys/power/ for system detectio
Write " on " character string in state file node, and apply for a wake_lock.Once this action is occurred, then whole
System will wake up and open institute functional.In the various embodiments described above, show if not timer expiry trigger message, then
Call finish interface to be discharged default buffer, and the relief area that the display content of system is deposited is switched to system
The relief area of acquiescence.
Although embodiment 2 and embodiment 3 all can realize the presentation of information under resting state, the effect of embodiment 2
Better than embodiment 3, specifically, the measurement result shown in reference table 1, it is directed to JZ4775-mensa during described measurement result and develop
The measurement result that three parts of plate are carried out.
Table 1:The measurement result carrying out for three parts of JZ4775-mensa development board
Because the presentation of information rank described in embodiment 2 is relatively low, now kernel does not wake up work, does not have task yet
Scheduling etc., only CPU is in run mode here, and DDR is in self-refresh state and can access, and lcd controller is opened, screen opening
And can show.In addition to this is four, remaining equipment is all in resting state or closed mode.Therefore such display brush
New power consumption is extremely low, and speed is exceedingly fast.
Present invention also offers the method for information display embodiment 4 under a kind of system resting state, the present embodiment mainly wraps
Include following preferred steps:
S401:Pre- first to file one frame buffer zone;
S402:The periodic triggers mechanism of setting intervalometer, when described trigger mechanism is used for intervalometer timing response, triggering
Presentation of information;
S403:After system dormancy, if display function is triggered, judge whether it is described intervalometer timing response triggering;
S404:If timer expiry triggers, open the power supply of pixel clock and display device;
S405:Execute default information generation program, to generate information to be displayed;
S405:The information to be displayed of production is cached to the frame buffer zone of application;
S406:Show the information of generation according to the display sequential of pixel clock instruction on the display device.The present embodiment
Realize principle similar with the various embodiments described above, be no longer described in detail here.It should be noted that in the present embodiment, not
Need for information to be displayed allocation buffer, but run to produce information to be shown by the program pre-setting, such as, lead to
Cross operation program and produce a dial plate.The information of display can be completed by User Defined coding.
Accordingly, as shown in figure 5, based on the embodiment of the method shown in above-mentioned Fig. 1, embodiments providing a germline
The structural representation of the information display device embodiment 1 under system resting state, described device includes:
First application module 51, for pre- first to file one frame buffer zone;
First setup module 52, for arranging the periodic triggers mechanism of intervalometer and the store path of information to be displayed,
When described trigger mechanism is used for intervalometer timing response, trigger message shows;
Acquisition module 53, before entering deep sleep state for system, obtains letter to be shown according to described store path
Cease and be loaded onto default relief area;
Load-on module 54, for being loaded onto default relief area by the information to be displayed of acquisition;
First judge module 55, after system dormancy, if display function is triggered, judges whether it is that described intervalometer is fixed
When response triggering;
First starting module 56, when being triggered by intervalometer timing response for system display function, open pixel clock and
The power supply of display device;
Copy module 57, for copying content to be displayed to described frame buffer zone from described pre-set buffer area;
First display module 58, for reading information to be displayed from described frame buffer zone and according to pixel clock instruction
Display sequential shows on the display device.
In an alternate embodiment of the present invention where, described first judge module 55 may further include:Read submodule
Block, for reading the value of the corresponding counter register of described intervalometer;Judging submodule, for judging described counter register
Whether value is equal with the counting desired value of the intervalometer of setting;Determination sub-module, the value for described counter register and setting
Intervalometer counting desired value equal when, determination is the triggering of described intervalometer timing response.
On the basis of said apparatus embodiment 1, the present invention also provides the presentation of information under a kind of system resting state to fill
Put embodiment 2, in addition to module shown in except Fig. 5 for the device described in the present embodiment, can also include further:
Editor module, the information to be displayed reading for editor;
Corresponding, described first display module, be additionally operable to according to read clock instruction display sequential on the display device
Information after display editor.
The present invention also provides the information display device embodiment 3 under a kind of system resting state, fills described in the present embodiment
Put in addition to the module that device embodiment 2 includes, can also include further:
Flag bit setup module, when being used for needing to wake up system kernel, if the value of counter register and the intervalometer arranging
Counting desired value equal, buffer status flag bit is set, is used for being designated as the triggering of intervalometer timing response;
Then described determination sub-module, is additionally operable to after kernel wakes up, and determines it is that described intervalometer is fixed according to described flag bit
When response triggering presentation of information.
The present invention also provides the information display device embodiment 4 under a kind of system resting state, with reference to shown in Fig. 6, is institute
State the structural representation of device, described device can include:
Second application module 61, for pre- first to file one frame buffer zone;
Second setup module 62, for arranging the periodic triggers mechanism of intervalometer, described trigger mechanism is used for intervalometer
During timing response, trigger message shows;
Second judge module 63, after system dormancy, if display function is triggered, judges whether it is that described intervalometer is fixed
When response triggering;
When second starting module 64 is the triggering of described intervalometer timing response for display function, open pixel clock and
The power supply of display device;
Performing module 65, for executing default information generation program, generates information to be displayed;
Cache module 66, for caching the information to be displayed of generation to the frame buffer zone of application;
Second display module 67, the display sequential for being indicated according to pixel clock shows the letter of generation on the display device
Breath.
For convenience of description, it is divided into various modules to be respectively described with function when describing apparatus above.Certainly, implementing this
The function of each module can be realized in same or multiple softwares and/or hardware during invention, each in this specification is real
Apply example all to describe by the way of going forward one by one, between each embodiment identical similar partly mutually referring to each embodiment
Stress is all the difference with other embodiment.The above is only the specific embodiment of the present invention, for this
For the those of ordinary skill of technical field, under the premise without departing from the principles of the invention, some improvement and profit can also be made
Decorations, these improvements and modifications also should be regarded as protection scope of the present invention.
Claims (10)
1. the method for information display under a kind of system resting state is it is characterised in that pre- first to file one frame buffer zone, methods described
Including:
The setting periodic triggers mechanism of intervalometer and the store path of information to be displayed, it is fixed that described trigger mechanism is used for intervalometer
When response when, trigger message shows;
Before system enters resting state, information to be displayed is obtained according to described store path and is loaded onto default relief area;
After system dormancy, if display function is triggered, judge whether it is described intervalometer timing response triggering;If so, then open
Pixel clock and the power supply of display device;
From described pre-set buffer area, content to be displayed is copied to described frame buffer zone;
Read information to be displayed and shown on the display device according to the display sequential of pixel clock instruction from described frame buffer zone
Show.
2. method according to claim 1, it is characterised in that judging whether it is described intervalometer timing response triggering, is wrapped
Include:
Read the value of the corresponding counter register of described intervalometer;
Judge whether the value of described counter register is equal with the counting desired value of the intervalometer of setting;
If equal it is determined that being the triggering of described intervalometer timing response.
3. method according to claim 2 is it is characterised in that when needing to wake up system kernel, methods described also includes:
When the value of counter register is equal with the counting desired value of the intervalometer of setting, buffer status flag bit is set, is used for
It is designated as the triggering of intervalometer timing response;
After kernel wakes up, determine it is the presentation of information of described intervalometer timing response triggering according to described flag bit.
4. the method according to any one of claim 1-3 is it is characterised in that methods described also includes:
Editor read information to be displayed, and according to pixel clock instruction display sequential show editor on the display device after
Information.
5. the method for information display under a kind of system resting state is it is characterised in that pre- first to file one frame buffer zone, methods described
Including:
The periodic triggers mechanism of setting intervalometer, when described trigger mechanism is used for intervalometer timing response, trigger message shows;
After system dormancy, if display function is triggered, judge whether it is described intervalometer timing response triggering;If so, then open
Pixel clock and the power supply of display device;
Execute default information generation program, to generate information to be displayed, and the information to be displayed of production is cached to application
Frame buffer zone;
Show the information of generation according to the display sequential of pixel clock instruction on the display device.
6. the information display device under a kind of system resting state is it is characterised in that described device includes:
First application module, for pre- first to file one frame buffer zone;
First setup module, for arranging the periodic triggers mechanism of intervalometer and the store path of information to be displayed, described tactile
When the mechanism of sending out is used for intervalometer timing response, trigger message shows;
Acquisition module, before entering resting state for system, obtains information to be displayed according to described store path and is loaded onto
Default relief area;
Load-on module, for being loaded onto default relief area by the information to be displayed of acquisition;
First judge module, after system dormancy, if display function is triggered, judges whether it is described intervalometer timing response
Triggering;
First starting module, when being triggered by intervalometer timing response for system display function, opens pixel clock and display sets
Standby power supply;
Copy module, for copying content to be displayed to described frame buffer zone from described pre-set buffer area;
First display module, for from described frame buffer zone read information to be displayed and according to pixel clock instruction display when
Sequence shows on the display device.
7. device according to claim 6 is it is characterised in that described first judge module includes:Reading submodule, is used for
Read the value of the corresponding counter register of described intervalometer;Judging submodule, for judge described counter register value whether
Equal with the counting desired value of the intervalometer of setting;Determination sub-module, for value and the timing arranging of described counter register
When the counting desired value of device is equal, determination is described intervalometer timing response triggering.
8. device according to claim 7 is it is characterised in that described device also includes:
Flag bit setup module, when being used for needing to wake up system kernel, if the meter of the intervalometer of the value of counter register and setting
Number scale value is equal, arranges buffer status flag bit, is used for being designated as the triggering of intervalometer timing response;
Then described determination sub-module, is additionally operable to after kernel wakes up, and determines it is that described intervalometer timing rings according to described flag bit
The presentation of information that should trigger.
9. the device according to any one of claim 6-8 is it is characterised in that described device also includes:
Editor module, the information to be displayed reading for editor;
Corresponding, described first display module, it is additionally operable to be shown on the display device according to the display sequential of pixel clock instruction
Information after editor.
10. the information display device under a kind of system resting state is it is characterised in that described device includes:
Second application module, for pre- first to file one frame buffer zone;
Second setup module, for arranging the periodic triggers mechanism of intervalometer, described trigger mechanism is used for intervalometer timing and rings
At once, trigger message shows;
Second judge module, after system dormancy, if display function is triggered, judges whether it is described intervalometer timing response
Triggering;
When second starting module is the triggering of described intervalometer timing response for display function, opens pixel clock and display sets
Standby power supply;
Performing module, for executing default information generation program, generates information to be displayed;
Cache module, for caching the information to be displayed of generation to the frame buffer zone of application;
Second display module, the display sequential for being indicated according to pixel clock shows the information of generation on the display device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410085249.7A CN103942020B (en) | 2014-03-10 | 2014-03-10 | Information display method and device under dormant state of system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410085249.7A CN103942020B (en) | 2014-03-10 | 2014-03-10 | Information display method and device under dormant state of system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103942020A CN103942020A (en) | 2014-07-23 |
CN103942020B true CN103942020B (en) | 2017-02-15 |
Family
ID=51189700
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410085249.7A Active CN103942020B (en) | 2014-03-10 | 2014-03-10 | Information display method and device under dormant state of system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103942020B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017175988A1 (en) * | 2016-04-05 | 2017-10-12 | 한화테크윈주식회사 | Method and apparatus for managing display |
CN107589821A (en) * | 2016-07-07 | 2018-01-16 | 上海中兴软件有限责任公司 | A kind of time display method and intelligent watch |
CN106802551A (en) * | 2017-01-03 | 2017-06-06 | 青岛海信移动通信技术股份有限公司 | Intelligent wearable device control method and intelligent wearable device |
CN106843687B (en) * | 2017-01-16 | 2020-04-14 | 北京大上科技有限公司 | Screen protection method and device of computer display based on electronic ink screen |
CN107121920A (en) * | 2017-05-18 | 2017-09-01 | 青岛海信移动通信技术股份有限公司 | A kind of clock display method and intelligent watch |
CN110347362B (en) * | 2019-07-05 | 2021-05-11 | 南京芯驰半导体科技有限公司 | Image display control method and device |
CN114168203B (en) * | 2020-09-10 | 2024-02-13 | 成都鼎桥通信技术有限公司 | Dual-system running state control method and device and electronic equipment |
CN112130980A (en) * | 2020-09-29 | 2020-12-25 | 海尔优家智能科技(北京)有限公司 | Operation execution method and device, storage medium and electronic device |
CN113961261B (en) * | 2021-12-22 | 2022-04-19 | 北京鲸鲮信息***技术有限公司 | Dormancy management method and device, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1780431A (en) * | 2004-11-24 | 2006-05-31 | 中兴通讯股份有限公司 | Time displaying method for cell phone |
CN101539803A (en) * | 2009-04-30 | 2009-09-23 | 威盛电子股份有限公司 | Standby management method and relevant standby management module thereof |
CN103064669A (en) * | 2012-12-18 | 2013-04-24 | 希姆通信息技术(上海)有限公司 | Timing awaking method and timing awaking system of smart device |
CN103064648A (en) * | 2013-01-05 | 2013-04-24 | 刘遥 | Method, device and system for updating display of electronic paper screen through cloud end |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100035656A1 (en) * | 2008-08-11 | 2010-02-11 | Yang Pan | Delivering Advertisement Messages to a User by the Use of Idle Screens of Mobile Devices with Integrated Sensors |
US9619038B2 (en) * | 2012-01-23 | 2017-04-11 | Blackberry Limited | Electronic device and method of displaying a cover image and an application image from a low power condition |
-
2014
- 2014-03-10 CN CN201410085249.7A patent/CN103942020B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1780431A (en) * | 2004-11-24 | 2006-05-31 | 中兴通讯股份有限公司 | Time displaying method for cell phone |
CN101539803A (en) * | 2009-04-30 | 2009-09-23 | 威盛电子股份有限公司 | Standby management method and relevant standby management module thereof |
CN103064669A (en) * | 2012-12-18 | 2013-04-24 | 希姆通信息技术(上海)有限公司 | Timing awaking method and timing awaking system of smart device |
CN103064648A (en) * | 2013-01-05 | 2013-04-24 | 刘遥 | Method, device and system for updating display of electronic paper screen through cloud end |
Also Published As
Publication number | Publication date |
---|---|
CN103942020A (en) | 2014-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103942020B (en) | Information display method and device under dormant state of system | |
US20070285428A1 (en) | Self-refreshing display controller for a display device in a computational unit | |
KR100890841B1 (en) | Self-refreshing display controller for display device in a computational unit | |
CN108369793B (en) | Display module, display device, control method thereof, and recording medium | |
CN106662905A (en) | Displaying always on display-related content | |
KR100910683B1 (en) | Method and system for providing artifact-free transitions between dual display controllers | |
WO2018120546A1 (en) | Image display method and terminal device | |
TW201329949A (en) | Receiver and video refresh frequency control method, device, and system | |
WO2018196430A1 (en) | Method and apparatus for implementing low-power-consumption always-on display of information | |
CN114648951A (en) | Method for controlling dynamic change of screen refresh rate and electronic equipment | |
CN106569573B (en) | Display method and device, display control method and device, and equipment | |
CN111399624B (en) | Embedded low-power-consumption image display method and system | |
US8823722B1 (en) | SOC with integrated bistable display controller | |
CN116386568A (en) | Refresh rate adjustment method, apparatus, and medium | |
TWI443576B (en) | Graphics display systems and methods | |
JP2019527822A (en) | Time display method and smart watch | |
CN101535930A (en) | Artifact-free transitions between dual display controllers | |
CN103886845A (en) | Method for realizing operation of single-color liquid crystal display screen through cache management | |
WO2017193574A1 (en) | Screen-lock method, apparatus, and electronic device | |
CN101322094B (en) | Self-refreshing display controller for a display device in a computational unit | |
CN110415660B (en) | Display control device, display device, and display control method | |
CN116257235A (en) | Drawing method and electronic equipment | |
CN105446458B (en) | Power-supply management system and method for managing power supply | |
CN116700585B (en) | Screen-off control method, electronic equipment and storage medium | |
CN113281983B (en) | Control method and system for picture display of smart watch, smart watch and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |