Invention content
A kind of screen protection display control method of present invention offer and micro-control unit MCU can when terminal device shows screen protectionThe frequency of use and usage time of the CPU of terminal device are reduced, and then reduces the degree of aging of CPU.
First aspect present invention provides a kind of screen protection display control method, including:
After micro-control unit MCU determines that terminal device enters screen lock state, preset screen protection document is obtained;The MCUThe control unit of the liquid crystal display of the terminal device or touch screen in order to control;
The screen for controlling the terminal device shows the screen protection document according to preset display mechanism.
Further, the micro-control unit MCU determines that terminal device enters screen lock state, specifically includes:
The MCU receives the indicator of the terminal device, and the indicator is for informing terminal described in the MCUEquipment is currently entering screen lock state.
Further, the preset screen protection document is stored in terminal device and the associated memories of CPU, the acquisitionPreset screen protection document, specifically includes:
Receive the screen protection document that the CPU is sent.
Further, the preset screen protection document is stored in terminal device and the associated memories of CPU, the acquisitionPreset screen protection document, specifically includes:
The MCU to the CPU send acquisition instruction, the acquisition instruction be used to indicate the CPU by terminal device withPreset screen protection document is sent to the MCU in the associated memories of CPU;
The MCU receives the screen protection document that the CPU is sent.
Further, the screen protection document includes screen protection picture and/or screen protection animation.
Further, the screen protection document includes screen protection picture, and the method further includes:
Obtain the temporal information and Weather information at current time;
The temporal information and the Weather information are added on the screen protection picture of current time display.
Second aspect of the present invention provides a kind of micro-control unit MCU, including:Acquisition module and processing module, wherein
The acquisition module obtains preset screen protection text for working as after the MCU determines that terminal device enters screen lock statePart;The control unit of the MCU liquid crystal display of the terminal device or touch screen in order to control;
The processing module, the screen for controlling the terminal device show the screen protection according to preset display mechanismFile.
Further, the MCU further includes receiving module, the receiving module, the finger for receiving the terminal deviceShow instruction, the indicator is for informing that terminal device described in the MCU is currently entering screen lock state.
Further, the preset screen protection document is stored in terminal device and the associated memories of CPU, the acquisitionModule includes the first receiving unit;
First receiving unit, the screen protection document sent for receiving the CPU.
Further, the preset screen protection document is stored in terminal device and the associated memories of CPU, the acquisitionModule includes transmission unit and the second receiving unit;
The transmission unit, for sending acquisition instruction to the CPU, the acquisition instruction is used to indicate the CPU willTerminal device is sent to the MCU with preset screen protection document in the associated memories of CPU;
Second receiving unit, the screen protection document sent for receiving the CPU.
Further, the screen protection document includes screen protection picture and/or screen protection animation.
Further, the screen protection document includes screen protection picture, the acquisition module, be additionally operable to obtain current time whenBetween information and Weather information;
The processing module is additionally operable to for the temporal information and the Weather information to be added to the screen of current time displayIt protects on picture.
Screen protection display control method and micro-control unit MCU provided by the invention, when micro-control unit MCU determines that terminal is setAfter entering screen lock state, passes through and obtain preset screen protection document;And the screen of the terminal device is controlled according to preset aobviousShow that mechanism shows the screen protection document;Wherein, the MCU liquid crystal display of the terminal device or touch screen in order to controlControl unit.In this way, when terminal device shows screen protection, the CPU of terminal device in a dormant state, can reduce the use of CPUFrequency and usage time reduce the degree of aging of CPU.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present inventionIn attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment isA part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the artThe every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
With the continuous development of mobile communication technology, the function of terminal device is stronger and stronger.In recent years, in order to meet useThe individual demand at family further increases the experience of user, has developed a kind of screensaver displaying method of terminal device.
The screensaver displaying method of existing terminal device, including:Whether detection terminal equipment enters screen lock state, if so,Then enter screen protection state.It should be noted that screensaver displaying method in the prior art, executive agent is the center of terminal deviceProcessor CPU (Central Processing Unit, abbreviation CPU).Specifically, when CPU detects that terminal device enters screen lockingAfter state, just obtain terminal device on preset screen protection document in the associated memories of above-mentioned CPU, then control display screen pressAbove-mentioned screen protection document is shown according to preset display rule.
In this way, when terminal device shows screen protection, CPU is constantly in the state of work, can aggravate the degree of aging of CPU.
A kind of screen protection display control method of present invention offer and micro-control unit MCU (Microcontroller Unit, letterClaim MCU), when terminal device shows screen protection, the frequency of use and usage time of the CPU of terminal device can be reduced, and then reduceThe degree of aging of CPU.
Screen protection display control method and micro-control unit MCU provided by the invention, can be applied to the communications field, specifically may be usedApplied on terminal device.
Technical scheme of the present invention is described in detail with specifically embodiment below.These specific implementations belowExample can be combined with each other, and same or analogous concept or process may be repeated no more in some embodiments.
Fig. 1 is the flow chart for the screen protection display control method that the embodiment of the present invention one provides.The present embodiment refers to shieldProtect the detailed process of display control method.The executive agent of the embodiment of the present invention can be individual micro-control unit, can alsoIt is the terminal device for being integrated with micro-control unit.The embodiment of the present invention is to be integrated with the terminal of micro-control unit to set with executive agentIt is illustrated for standby.As shown in Figure 1, screen protection display control method provided in this embodiment, including:
S101, after micro-control unit MCU determines that terminal device enters screen lock state, obtain preset screen protection document;OnState the control unit of the MCU liquid crystal display of above-mentioned terminal device or touch screen in order to control.
Specifically, preset screen protection document can be stored in terminal device and the associated memory of central processor CPU,It can also be stored in the included memories of MCU.Optionally, it is associated with CPU when preset screen protection document is stored in terminal deviceMemory in when, MCU needs to obtain preset screen protection document from terminal device and the associated memories of CPU;And when defaultScreen protection document when storing in the memory that MCU is carried, MCU just directly obtains preset screen protection text from included memoryPart.
It should be noted that the control unit of the MCU liquid crystal display of terminal device or touch screen in order to control.This stepIn, after MCU determines that terminal device enters screen lock state, just obtain preset screen protection document.Further, preset screen protection textPart can be that terminal user sets, and just be set when can also be terminal device manufacture.In addition, screen protection document can be withIncluding screen protection picture and/or screen protection animation.For example, screen protection document may include at least a screen protection document or at least one screen protectionAnimation;For another example screen protection document can also include screen protection picture and screen protection animation simultaneously.
S102, the screen for controlling above-mentioned terminal device show above-mentioned screen protection document according to preset display mechanism.
Specifically, after MCU gets preset screen protection document, in this step, the screen of MCU control terminal equipment according toPreset display mechanism shows above-mentioned screen protection document.In conjunction with description above, when screen protection document includes multiple screen protection pictures, in advanceIf display mechanism can be according to the preset residence time recycle show screen protection document in multiple screen protection pictures, can also beAccording to multiple screen protection pictures in preset residence time random display screen protection document.For another example when screen protection document includes simultaneouslyWhen multiple screen protection pictures and multiple screen protection animations, preset display mechanism can recycle display screen according to preset display orderProtect multiple screen protection pictures in file and multiple screen protection animations.It should be noted that in the present embodiment, not to preset display machineSystem is defined.
Screen protection display control method provided in this embodiment, executive agent in order to control the liquid crystal display of terminal device orThe control unit of touch screen, in this way, when terminal device shows screen protection, the CPU of terminal device in a dormant state, can be reducedThe frequency of use and usage time of CPU, reduces the degree of aging of CPU.
Screen protection display control method provided in this embodiment, when micro-control unit MCU determines that terminal device enters screen locking shapeAfter state, by obtaining preset screen protection document, and the screen for controlling the terminal device shows institute according to preset display mechanismState screen protection document;Wherein, the control unit of the MCU liquid crystal display of the terminal device or touch screen in order to control.ThisSample, terminal device show screen protection when, the CPU of terminal device in a dormant state, when can reduce frequency of use and the use of CPUBetween, reduce the degree of aging of CPU.
Further, in one possible implementation of the present invention, the micro-control unit MCU determine terminal device intoEnter screen lock state, specifically includes:
The MCU receives the indicator of the terminal device, and the indicator is for informing terminal described in the MCUEquipment is currently entering screen lock state.
In conjunction with the description in background technology it is found that the CPU of terminal device may determine that whether terminal device enters screen locking shapeState.CPU about terminal device how to judge terminal device whether enter screen lock state specific method may refer to existing skillDescription in art, details are not described herein again.Specifically, after the CPU of terminal device confirms that terminal device enters screen lock state, CPUJust indicator is sent (it should be noted that above-mentioned indicator is for informing that MCU terminal devices are currently entering screen locking to MCUState), at this point, the indicator of MCU receiving terminal apparatus, determines that terminal device enters screen lock state.
Optionally, in one possible implementation of the present invention, when preset screen protection document be stored in terminal device withIt is described to obtain preset screen protection document when in the associated memories of CPU, it specifically includes:
Receive the screen protection document that the CPU is sent.
Specifically, in conjunction with description above it is found that when terminal device CPU confirm terminal device enter screen lock state after,CPU just sends indicator to MCU, and above-mentioned indicator is for informing that MCU terminal devices are currently entering screen lock state.It needsIt is bright, when preset screen protection document stores in terminal device and the associated memories of CPU, at this point, when terminal deviceAfter CPU confirms that terminal device enters screen lock state, CPU refers to while sending indicator to MCU, or to MCU transmissionsAfter showing instruction, the preset screen protection document stored in terminal device and the associated memories of CPU is also sent to MCU by CPU, thisSample, MCU just get preset screen protection document.
Fig. 2 is the flow chart of screen protection display control method provided by Embodiment 2 of the present invention.The present embodiment refer to asWhat obtains the detailed process of preset screen protection document.Specifically, on the basis of the above embodiments, when preset screen protection document is depositedWhen storage is in terminal device and the associated memories of CPU, step S101 is specifically included:
S201, above-mentioned MCU send acquisition instruction to above-mentioned CPU, and above-mentioned acquisition instruction is used to indicate above-mentioned CPU and sets terminalPreset screen protection document is sent to above-mentioned MCU in the standby associated memory with CPU.
S202, above-mentioned MCU receive the above-mentioned screen protection document that above-mentioned CPU is sent.
Specifically, when preset screen protection document stores in terminal device and the associated memories of CPU, at this point, MCU canScreen protection document is obtained in a manner of by sending acquisition instruction to CPU.It should be noted that when MCU receives terminal deviceWhen indicator, MCU determines that terminal device enters screen lock state, at this point, MCU sends acquisition instruction to CPU, wherein above-mentioned to obtainInstruction fetch be used to indicate above-mentioned CPU terminal device is sent to preset screen protection document in the associated memories of CPU it is above-mentionedMCU, in this way, after CPU receives MCU and is sent to its acquisition instruction, it is pre- in mmk terminal equipment and the associated memories of CPUIf screen protection document be sent to MCU (hereafter, CPU enters dormant state), MCU receives the screen protection document that CPU is sent, and just getsPreset screen protection document.
Fig. 3 is the flow chart for the screen protection display control method that the embodiment of the present invention three provides.On the basis of above-described embodimentOn, when screen protection document includes screen protection picture, screen protection display control method provided in this embodiment further includes:
S301, above-mentioned MCU obtain the temporal information and Weather information at current time.
Specifically, MCU can both obtain the temporal information and Weather information at current time from terminal device, can also be fromThe temporal information and Weather information at current time are obtained on network.
Above-mentioned temporal information and above-mentioned Weather information are added to the screen protection picture of current time display by S302, above-mentioned MCUOn.
Specifically, after MCU gets the Weather information and temporal information at current time, can by above-mentioned temporal information andOn the screen protection picture that Weather information addition is being shown on current time liquid crystal display, in this way, terminal user can be madeThe temporal information and Weather information at current time are obtained by the screen protection picture currently shown.
Screen protection display control method provided in this embodiment, it is current by obtaining when screen protection document includes screen protection pictureThe temporal information and Weather information at moment, and then above-mentioned temporal information and above-mentioned Weather information are added to current time displayOn screen protection picture.In this way, terminal user can be made to pass through the temporal information that the screen protection picture currently shown obtains current timeAnd Weather information.
Fig. 4 is the structural schematic diagram for the micro-control unit MCU that the embodiment of the present invention four provides.The MCU can by software,Hardware or the mode of soft or hard combination are realized.Fig. 4, micro-control unit MCU provided in this embodiment are please referred to, including:Obtain mouldBlock 100 and processing module 200, wherein
Acquisition module 100 obtains preset screen protection text for working as after the MCU determines that terminal device enters screen lock statePart;The control unit of the MCU liquid crystal display of the terminal device or touch screen in order to control;
Processing module 200, the screen for controlling the terminal device show the screen protection according to preset display mechanismFile.
The device of the present embodiment can be used for executing the technical solution of embodiment of the method shown in Fig. 1, realization principle and skillArt effect is similar, and details are not described herein again.
Fig. 5 is the structural schematic diagram for the micro-control unit MCU that the embodiment of the present invention five provides.On the basis of above-described embodimentOn, micro-control unit MCU provided in this embodiment further includes:Receiving module 300;
Receiving module 300, the indicator for receiving the terminal device, the indicator are described for informingTerminal device described in MCU is currently entering screen lock state.
Fig. 6 is the structural schematic diagram for the micro-control unit MCU that the embodiment of the present invention six provides.On the basis of above-described embodimentOn, when preset screen protection document stores in terminal device and the associated memories of CPU, microcontroller list provided in this embodimentFirst MCU, the acquisition module 100 include the first receiving unit 101, wherein
First receiving unit 101, the screen protection document sent for receiving the CPU.
Fig. 7 is the structural schematic diagram for the micro-control unit MCU that the embodiment of the present invention seven provides.On the basis of above-described embodimentOn, when preset screen protection document is stored in terminal device and micro-control unit provided in this embodiment in the associated memories of CPUMCU, acquisition module 100 include transmission unit 102 and the second receiving unit 103;
Transmission unit 102, for sending acquisition instruction to the CPU, the acquisition instruction is used to indicate the CPU will be wholeEnd equipment is sent to the MCU with preset screen protection document in the associated memories of CPU;
Second receiving unit 103, the screen protection document sent for receiving the CPU.
The device of the present embodiment can be used for executing the technical solution of embodiment of the method shown in Fig. 2, realization principle and skillArt effect is similar, and details are not described herein again.
Further, in one possible implementation of the present invention, the screen protection document includes screen protection picture and/or screenProtect animation.
Further, in one possible implementation of the present invention, when screen protection document includes screen protection picture, mould is obtainedBlock 100 is additionally operable to obtain the temporal information and Weather information at current time;
Processing module 200 is additionally operable to for above-mentioned temporal information and above-mentioned Weather information to be added to the screen of current time displayIt protects on picture.
The device of the present embodiment can be used for executing the technical solution of embodiment of the method shown in Fig. 3, realization principle and skillArt effect is similar, and details are not described herein again.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of above-mentioned each method embodiment can lead toThe relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer read/write memory medium.The journeyWhen being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned includes:ROM, RAM, magnetic disc orThe various media that can store program code such as person's CD.
Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extentPresent invention has been described in detail with reference to the aforementioned embodiments for pipe, it will be understood by those of ordinary skill in the art that:Its according toSo can with technical scheme described in the above embodiments is modified, either to which part or all technical features intoRow equivalent replacement;And these modifications or replacements, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solutionThe range of scheme.