CN107608728A - A kind of display control method and mobile terminal - Google Patents

A kind of display control method and mobile terminal Download PDF

Info

Publication number
CN107608728A
CN107608728A CN201710786077.XA CN201710786077A CN107608728A CN 107608728 A CN107608728 A CN 107608728A CN 201710786077 A CN201710786077 A CN 201710786077A CN 107608728 A CN107608728 A CN 107608728A
Authority
CN
China
Prior art keywords
time point
mobile terminal
time
state
sleep
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.)
Pending
Application number
CN201710786077.XA
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710786077.XA priority Critical patent/CN107608728A/en
Publication of CN107608728A publication Critical patent/CN107608728A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The present invention, which provides a kind of display control method and mobile terminal, this method, to be included:The sleep period of user is obtained, the sleep period includes starting the first time point of sleep and terminates the second time point of sleep;When the mobile terminal, which is in, puts out screen state, according to the relation between current time and the sleep period, it is determined whether put out screen element putting out screen interface display.The present invention determines whether that screen element is put out in display according to sleep period, can reduce the energy consumption of mobile terminal, extend the cruising time of mobile terminal.

Description

A kind of display control method and mobile terminal
Technical field
The present invention relates to communication technical field, more particularly to a kind of display control method and mobile terminal.
Background technology
It is well known that the screen locking function of mobile terminal is a kind of screen protection, the purpose for preventing false touch can be reached.Due to After screen locking for a period of time, screen, which will enter, puts out screen state, to save electric energy.But user uses for convenience, is putting out screen shape Partial Elements (putting out screen element, such as temporal information) can also be shown under state.Screen is being put out because these put out screen element Dispaly state is constantly under state so that the energy consumption of mobile terminal is larger, influences the continuation of the journey duration of mobile terminal.
The content of the invention
The embodiment of the present invention provides a kind of display control method and mobile terminal, larger to solve the energy consumption of mobile terminal Problem.
In a first aspect, the embodiments of the invention provide a kind of display control method, applied to mobile terminal, including:
The sleep period of user is obtained, the sleep period includes starting the first time point of sleep and terminates to sleep The second time point;
When the mobile terminal, which is in, puts out screen state, according to the relation between current time and the sleep period, Determine whether put out screen interface display put out screen element.
Second aspect, the embodiment of the present invention additionally provide a kind of acquisition module, for obtaining the sleep period of user, institute Stating sleep period includes starting the first time point of sleep and terminates the second time point of sleep;
Adjusting module, for when the mobile terminal be in put out screen state when, according to current time and the length of one's sleep Relation between section, it is determined whether put out screen element putting out screen interface display.
The third aspect, the embodiment of the present invention additionally provide a kind of mobile terminal, including:
One or more processors;
Memory;And
One or more programs, wherein, one or more of programs are stored in the memory, and are configured Into by one or more of computing devices, the step in above-mentioned display control method is realized when described program is performed.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer-readable recording medium, are stored thereon with computer Program, the step of computer program realizes above-mentioned display control method when being executed by processor.
So, the embodiment of the present invention determines whether that screen element is put out in display according to sleep period, can reduce mobile terminal Energy consumption, extend cruising time of mobile terminal.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed for being described below to the embodiment of the present invention The accompanying drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, For those of ordinary skill in the art, without having to pay creative labor, can also be obtained according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is one of flow chart of display control method that one embodiment of the invention provides;
Fig. 2 is the two of the flow chart for the display control method that one embodiment of the invention provides;
Fig. 3 is the three of the flow chart for the display control method that one embodiment of the invention provides;
Fig. 4 is the structure chart for the mobile terminal that one embodiment of the invention provides;
Fig. 5 is the structure chart for the mobile terminal that another embodiment of the present invention provides;
Fig. 6 is the structure chart for the mobile terminal that further embodiment of this invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
Referring to Fig. 1, Fig. 1 is a kind of flow chart of display control method provided in an embodiment of the present invention, as shown in figure 1, bag Include following steps:
Step 101, obtain the sleep period of user, the sleep period include starting the first time point of sleep and Terminate the second time point of sleep;
Display control method provided in an embodiment of the present invention is applied to mobile terminal, for putting out screen state to mobile terminal Under put out screen element carry out display control.This puts out the element that screen element refers to be shown in the case where putting out screen state, for example, can With including the element such as clock and weather.
In the step, above-mentioned sleep period refers to the period that user is slept, specifically, can be by mobile whole Hold the sleep for carrying out that detection obtains the sleep period of user or user is actively set to the sleep of user for a period of time Period, can also be the sleep period that user is judged the temporal information that application program uses according to user.It is it should be understood that logical In the case of often, the length of one's sleep of user is first night to the second morning, the situation that can also have other situations certainly, such as The length of one's sleep be morning in one day to morning, or from morning to afternoon etc..It is numerous to list herein, in following examples The length of one's sleep by user illustrates exemplified by being first night to the second morning.That is, in the present embodiment, it is above-mentioned Sleep period illustrates the time point fallen asleep in first night, terminates the time point of sleep in the next morning.
Step 102, when the mobile terminal, which is in, puts out screen state, according between current time and the sleep period Relation, it is determined whether put out screen interface display put out screen element.
In the step, when user through after a while be not used mobile terminal after, mobile terminal will screen locking protection, so as to Into screen state is put out, now mobile terminal, which will be shown, puts out screen interface.In the present embodiment, can according to current time with sleep when Between the relation control user dispaly state set in advance for putting out screen element on screen interface is put out between section.Specifically, during sleep Between section be used to determine the sleep state of user, in the case where the mobile terminal is in and puts out screen state, when user enters sleep state, Control, which is put out screen interface and do not shown, puts out screen element;When user terminates sleep state, control puts out screen interface display and puts out screen element.
So, the embodiment of the present invention determines whether that screen element is put out in display according to sleep period, can reduce mobile terminal Energy consumption, extend cruising time of mobile terminal.
Under normal circumstances, user it is incipient enter sleep when and close to an end sleep when, user is sleeping state.For User is avoided to find that under sleeping state the dispaly state for putting out screen element of mobile terminal changes, can in the present embodiment The screen element that puts out that screen interface is put out with delay control is switched to not dispaly state, while controls the screen element that puts out for putting out screen interface to cut in advance Change to dispaly state.Specifically, above-mentioned steps 102 include:
Step 1021, if current time reaches first object time point, the mobile terminal is put out into screen element by showing State is adjusted to non-display state, and the first object time point is the time that the first time point delays the first preset duration Point;
In the step, the time span of above-mentioned first preset duration can be configured according to being actually needed, such as can be with For 30 minutes.As the above-mentioned very first time be 22 points 00 minute, then first object time point be 22 points 30 minutes.Mobile terminal is in screen locking Under state, screen, which is only shown, puts out screen element.Detect whether the current time reaches first object time point in real time, reach first During object time point, it is believed that user comes into sleep state, and control puts out screen element and do not show that is, mobile terminal is complete blank screen State, without any display.
Step 1022, if current time reaches the second object time point, the mobile terminal is put out into screen element by non-aobvious Show that state is adjusted to dispaly state, the second object time point is the time point for shifting to an earlier date the second duration at second time point.
In the step, the time span of above-mentioned second preset duration can be configured according to being actually needed, such as also may be used To be arranged to 30 minutes.Mobile terminal detects whether the current time reaches the second target in real time in the state of complete blank screen Time point, when reaching the second object time point, it is believed that user's soon terminates to sleep, so as to control put out screen element show, with The state of mobile terminal is recovered to the state entered before sleeping.
It should be understood that the mode of above-mentioned sleep period setting is different, the mode for obtaining user's sleep period is different.Below This is described in detail.
In one embodiment, the length of one's sleep of user can be judged the temporal information that application program uses according to user Section, as shown in Fig. 2 above-mentioned steps 101 include:
Step 1011, application history usage time information is obtained;
Step 1012, according to the history usage time information, the sleep period of user is determined.
In the present embodiment, the mode of records application program history usage time information can be set according to being actually needed Put, such as in the present embodiment in order to save internal memory, and can be reduced by the usage time of each application program of log recording Amount of calculation, can be only between at the beginning of the application program that is used at first in one day and last time uses the end of application program Time is recorded, that is to say, that above-mentioned application history usage time information includes the application program used at first in one day The application program for beginning to use the time and finally using shut-in time.Wherein, the application program used at first in one day At the beginning of between can represent that the shut-in time of the previous day terminates the time of sleep, finally uses in one day application program can be with Represent that the same day starts the time of sleep.Specifically, sleeping for user can be obtained by the record of a period of time (such as 1 year), statistics Sleep the period.
It should be understood that if the sleep habit of user is slept for morning, the morning or morning terminate to sleep, then records application program is gone through History usage time information can be according to other rules, and this is no longer going to repeat them.
In another embodiment, sleep period can actively be set by user, as shown in figure 3, above-mentioned steps 101 are wrapped Include:
Step 1013, sleep period of the user based on time setting interface setting is obtained.
In the present embodiment, there is provided a time sets interface, for water sleep period in user's setting, specifically, should Time setting interface can also be merged and be controlled in the case where putting out the display interface of screen element with individualism, put out screen as set Between at the beginning of the display of element and the end time, when being set using which, above-mentioned first preset duration can be pre- with second If duration can be 0 minute.
Further, (such as alarm clock and calendar prompting etc.) adjustment the display shape for shielding element can also be put out under emergency case State, influence of the screen element to Consumer's Experience is put out with further reduction, improves the intelligence degree of mobile terminal.Specifically, upper After stating step 102, this method also includes:
Detect the first object time point in the target time section between the second object time point with the presence or absence of reminding Time point;
If reminder time point in the target time section be present, and reminder time point shifts to an earlier date the of the 3rd preset duration The mobile terminal is then put out screen element by 3 object time points in the target time section in the 3rd object time point Dispaly state is adjusted to by non-display state;
If reminder time point in the target time section be present, and reminder time point delays the 4th and sets the 4th of duration Object time point in the target time section, then the 4th object time point by the mobile terminal put out screen element by Dispaly state is adjusted to non-display state.
In the present embodiment, the type of above-mentioned reminder time point can have alarm clocks that are a variety of, such as can including user's setting With schedule etc., that is to say, that above-mentioned reminder time point includes alarm clock timing time or calendar prompting time.Above-mentioned 3rd it is default when Long and the 4th preset duration time span can be configured according to being actually needed, below will be with the 3rd preset duration and the 4th Preset duration is 30 minutes, and first object time point is 30 minutes first nights 10 point, and the second object time point is second day 6:00 AM 30 divides to be described in detail for example.
For example, when 5 points of alarm clock timing time as the morning that user sets, then mobile terminal is under screen lock state, screen Only screen element is put out in display, when reaching the timesharing of first night 10: 30, the dispaly state for putting out screen element is adjusted to not show;When The timesharing of the next morning 4: 30 is reached, the dispaly state for putting out screen element is adjusted to show;Reach 30 minutes the next mornings 5 point When, the dispaly state for putting out screen element is adjusted to not show;When reaching the timesharing of the next morning 6: 30, the aobvious of screen element will be put out Show that state is adjusted to show.When being timed prompting so as to mobile terminal, still it can be seen that putting out screen element.
Divide when the alarm clock timing time that user sets as 6:00 AM 10, then mobile terminal is under screen lock state, and screen is only Screen element is put out in display, when reaching the timesharing of first night 10: 30, the dispaly state for putting out screen element is adjusted to not show;When to Up to the timesharing of the next morning 5: 40, the dispaly state for putting out screen element is adjusted to show;When 30 minutes the next mornings 6 point of arrival When, the dispaly state for putting out screen element continues to remain display.When being timed prompting so as to mobile terminal, still it can see To putting out screen element.
Referring to Fig. 4, Fig. 4 is the structure chart of mobile terminal provided in an embodiment of the present invention, can be realized in above-described embodiment The details of display control method, and reach identical effect.As shown in figure 4, mobile terminal includes:
Acquisition module 401, for obtaining the sleep period of user, the sleep period includes starting the first of sleep Time point and the second time point for terminating sleep;
Adjusting module 402, for when the mobile terminal is in and puts out screen state, according to current time and during the sleep Between relation between section, it is determined whether put out screen element putting out screen interface display.
Optionally, the acquisition module 401 includes:
Acquiring unit, for obtaining application history usage time information;
Determining unit, for according to the history usage time information, determining the sleep period of user.
Optionally, the application history usage time information includes the beginning of the application program used at first in one day The shut-in time of usage time and the application program finally used.
Optionally, the acquisition module 401, specifically for obtaining the length of one's sleep of the user based on time setting interface setting Section.
Optionally, the adjusting module 402 is specifically used for, if current time reaches first object time point, by the shifting The screen element that puts out of dynamic terminal is adjusted to non-display state by dispaly state, and the first object time point is the first time point Delay the time point of the first preset duration;If current time reaches the second object time point, the mobile terminal is put out into screen member Element is adjusted to dispaly state by non-display state, and the second object time point is to shift to an earlier date the second duration at second time point Time point.
Optionally, the mobile terminal also includes:
Module is checked, for detecting the first object time point in the target time section between the second object time point With the presence or absence of reminder time point;
The adjusting module 402, if it is additionally operable to have reminder time point in the target time section, and the reminder time Point shifts to an earlier date the 3rd object time point of the 3rd preset duration in the target time section, then will in the 3rd object time point The screen element that puts out of the mobile terminal is adjusted to dispaly state by non-display state;If prompting in the target time section be present Between point, and reminder time point delays the 4th and sets the 4th object time point of duration in the target time section, then in institute State the 4th object time point and the screen element that puts out of the mobile terminal is adjusted to non-display state by dispaly state.
So, the embodiment of the present invention determines whether that screen element is put out in display according to sleep period, can reduce mobile terminal Energy consumption, extend cruising time of mobile terminal.
Referring to Fig. 5, Fig. 5 is the structure chart of mobile terminal provided in an embodiment of the present invention, can be realized in above-described embodiment The details of display control method, and reach identical effect.As shown in figure 5, mobile terminal 500 includes:At least one processor 501st, memory 502, at least one network interface 504 and user interface 503.Each component in mobile terminal 500 passes through total Linear system system 505 is coupled.It is understood that bus system 505 is used to realize the connection communication between these components.Bus system 505 in addition to including data/address bus, in addition to power bus, controlling bus and status signal bus in addition.But for clear explanation For the sake of, various buses are all designated as bus system 505 in Figure 5.
Wherein, user interface 503 can include display, keyboard or pointing device (for example, mouse, trace ball (track ball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 502 in the embodiment of the present invention can be volatile memory or nonvolatile memory, Or it may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside high Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (Synch Link DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The memory 502 of system and method described herein be intended to including but not limited to these and it is any its It is adapted to the memory of type.
In some embodiments, memory 502 stores following element, can perform module or data structure, or Their subset of person, or their superset:Operating system 5021 and application program 5022.
Wherein, operating system 5021, comprising various system programs, such as ccf layer, core library layer, driving layer etc., it is used for Realize various basic businesses and the hardware based task of processing.Application program 5022, include various application programs, such as media Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention The program of method may be embodied in application program 5022.
In embodiments of the present invention, mobile terminal also includes:It is stored on memory 502 and can be transported on processor 501 Capable computer program, can be the computer program in application program 5022, computer program is by processor 501 specifically Following steps are realized during execution:The sleep period of user is obtained, the sleep period includes starting the very first time of sleep Point and the second time point for terminating sleep;When the mobile terminal, which is in, puts out screen state, according to current time and the sleep Relation between period, it is determined whether put out screen element putting out screen interface display.
The method that the embodiments of the present invention disclose can apply in processor 501, or be realized by processor 501. Processor 501 is probably a kind of IC chip, has the disposal ability of signal.In implementation process, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 501 or the instruction of software form.Above-mentioned processing Device 501 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic, Discrete hardware components.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor And software module combination performs completion.Software module can be located at random access memory, flash memory, read-only storage, may be programmed read-only In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at Memory 502, processor 501 read the information in memory 502, with reference to the step of its hardware completion above method.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, microcode or its Combine to realize.Realized for hardware, processing unit can be realized in one or more application specific integrated circuit (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor, In controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
Realize, can be realized herein by performing the module (such as process, function etc.) of function described herein for software Described technology.Software code is storable in memory and passes through computing device.Memory can within a processor or Realized outside processor.
Optionally, following steps can be also realized when computer program is performed by processor 501:Obtaining application history makes Use temporal information;According to the history usage time information, the sleep period of user is determined.
Optionally, the application history usage time information includes the beginning of the application program used at first in one day The shut-in time of usage time and the application program finally used.
Optionally, following steps can be also realized when computer program is performed by processor 501:User is obtained to set based on the time Determine the sleep period of interface setting.
Optionally, following steps can be also realized when computer program is performed by processor 501:If current time reaches first Object time point, the screen element that puts out of the mobile terminal is adjusted to non-display state by dispaly state, during the first object Between point delay time point of the first preset duration for the first time point;, will if current time reaches the second object time point The screen element that puts out of the mobile terminal is adjusted to dispaly state by non-display state, and the second object time point is described second Time point shifts to an earlier date the time point of the second duration.
Optionally, following steps can be also realized when computer program is performed by processor 501:When detecting the first object Between o'clock to whether there is reminder time point in the target time section between the second object time point;If the target time section internal memory In reminder time point, and reminder time point shifts to an earlier date the 3rd object time point of the 3rd preset duration in the target time section It is interior, then the screen element that puts out of the mobile terminal is adjusted to dispaly state by non-display state in the 3rd object time point; If reminder time point in the target time section be present, and reminder time point delayed for the 4th the 4th object time for setting duration The mobile terminal is then put out screen element by dispaly state by point in the target time section in the 4th object time point It is adjusted to non-display state.
Optionally, the reminder time point includes alarm clock timing reminder time point or calendar prompting time point.
So, the embodiment of the present invention determines whether that screen element is put out in display according to sleep period, can reduce mobile terminal Energy consumption, extend cruising time of mobile terminal.
Referring to Fig. 6, Fig. 6 is the structure chart of mobile terminal provided in an embodiment of the present invention, above-described embodiment can be realized The details of middle display control method, and reach identical effect.As shown in fig. 6, mobile terminal 600 includes radio frequency (Radio Frequency, RF) circuit 610, memory 620, input block 630, display unit 640, processor 650, voicefrequency circuit 660, Communication module 670 and power supply 680.
Wherein, input block 630 can be used for the numeral or character information for receiving user's input, and generation and mobile terminal The signal input that 600 user is set and function control is relevant.Specifically, in the embodiment of the present invention, the input block 630 can With including contact panel 631.Contact panel 631, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses the operations of any suitable object or annex on contact panel 631 such as finger, stylus), and according to advance The formula of setting drives corresponding attachment means.Optionally, contact panel 631 may include touch detecting apparatus and touch controller Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and the signal that touch operation is brought is detected, by signal Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, Give the processor 650 again, and the order sent of reception processing device 650 and can be performed.Furthermore, it is possible to using resistance-type, The polytypes such as condenser type, infrared ray and surface acoustic wave realize contact panel 631.Except contact panel 631, input block 630 can also include other input equipments 632, and other input equipments 632 can include but is not limited to physical keyboard, function key One or more in (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Wherein, display unit 640 can be used for display by the information of user's input or be supplied to information and the movement of user The various menu interfaces of terminal 600.Display unit 640 may include display panel 641, optionally, can use LCD or organic hairs The forms such as optical diode (Organic Light-Emitting Diode, OLED) configure display panel 641.
It should be noted that contact panel 631 can cover display panel 641, touch display screen is formed, when the touch display screen is examined After measuring the touch operation on or near it, processor 650 is sent to determine the type of touch event, is followed by subsequent processing device 650 provide corresponding visual output according to the type of touch event in touch display screen.
Wherein processor 650 is the control centre of mobile terminal 600, utilizes various interfaces and connection whole mobile phone Various pieces, by running or performing the software program and/or module that are stored in first memory 621, and call storage Data in second memory 622, the various functions and processing data of mobile terminal 600 are performed, so as to mobile terminal 600 Carry out integral monitoring.Optionally, processor 650 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 621 in software program and/or module and/ Or the data in the second memory 622, following steps can be realized when computer program is performed by processor 650:Obtain and use The sleep period at family, the sleep period include starting the first time point of sleep and terminate the second time point of sleep; When the mobile terminal, which is in, puts out screen state, according to the relation between current time and the sleep period, it is determined whether Screen element is put out putting out screen interface display.
Optionally, following steps can be also realized when computer program is performed by processor 650:Obtaining application history makes Use temporal information;According to the history usage time information, the sleep period of user is determined.
Optionally, the application history usage time information includes the beginning of the application program used at first in one day The shut-in time of usage time and the application program finally used.
Optionally, following steps can be also realized when computer program is performed by processor 650:User is obtained to set based on the time Determine the sleep period of interface setting.
Optionally, following steps can be also realized when computer program is performed by processor 650:If current time reaches first Object time point, the screen element that puts out of the mobile terminal is adjusted to non-display state by dispaly state, during the first object Between point delay time point of the first preset duration for the first time point;, will if current time reaches the second object time point The screen element that puts out of the mobile terminal is adjusted to dispaly state by non-display state, and the second object time point is described second Time point shifts to an earlier date the time point of the second duration.
Optionally, following steps can be also realized when computer program is performed by processor 650:When detecting the first object Between o'clock to whether there is reminder time point in the target time section between the second object time point;If the target time section internal memory In reminder time point, and reminder time point shifts to an earlier date the 3rd object time point of the 3rd preset duration in the target time section It is interior, then the screen element that puts out of the mobile terminal is adjusted to dispaly state by non-display state in the 3rd object time point; If reminder time point in the target time section be present, and reminder time point delayed for the 4th the 4th object time for setting duration The mobile terminal is then put out screen element by dispaly state by point in the target time section in the 4th object time point It is adjusted to non-display state.
Optionally, the reminder time point includes alarm clock timing reminder time point or calendar prompting time point.
So, the embodiment of the present invention determines whether that screen element is put out in display according to sleep period, can reduce mobile terminal Energy consumption, extend cruising time of mobile terminal.
The embodiment of the present invention also provides a kind of computer-readable recording medium, is stored thereon with computer program, the meter Calculation machine program realizes the step in the display control method in any one above-mentioned embodiment of the method when being executed by processor.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only A kind of division of logic function, can there is an other dividing mode when actually realizing, for example, multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, device or unit Connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize scheme of the embodiment of the present invention according to the actual needs Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes Medium.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (16)

  1. A kind of 1. display control method, applied to mobile terminal, it is characterised in that including:
    Obtain the sleep period of user, the sleep period includes starting the first time point of sleep and terminates the of sleep Two time points;
    When the mobile terminal, which is in, puts out screen state, according to the relation between current time and the sleep period, it is determined that Whether put out screen interface display put out screen element.
  2. 2. according to the method for claim 1, it is characterised in that the sleep period for obtaining user includes:
    Obtain the history usage time information of the application program in the mobile terminal;
    According to the history usage time information, the sleep period of user is determined.
  3. 3. according to the method for claim 2, it is characterised in that the application history usage time information includes one day The shut-in time of the application program for beginning to use the time and finally using of the application program inside used at first.
  4. 4. according to the method for claim 1, it is characterised in that the sleep period for obtaining user includes:
    Obtain sleep period of the user based on time setting interface setting.
  5. 5. according to the method for claim 1, it is characterised in that described according between current time and the sleep period Relation, it is determined whether put out screen interface display put out screen element the step of include:
    If current time reaches first object time point, the screen element that puts out of the mobile terminal is adjusted to non-aobvious by dispaly state Show state, the first object time point is the time point that the first time point delays the first preset duration;
    If current time reaches the second object time point, the screen element that puts out of the mobile terminal is adjusted to aobvious by non-display state Show state, the second object time point is the time point for shifting to an earlier date the second duration at second time point.
  6. 6. according to the method for claim 5, it is characterised in that if the arrival first object time point, by the movement Terminal put out screen element the step of non-display state is adjusted to by dispaly state after, methods described also includes:
    The first object time point is detected to whether there is reminder time in the target time section between the second object time point Point;
    If reminder time point in the target time section be present, and reminder time point shifts to an earlier date the 3rd mesh of the 3rd preset duration Time point is marked in the target time section, then the mobile terminal is put out into screen element by non-in the 3rd object time point Dispaly state is adjusted to dispaly state;
    If reminder time point in the target time section be present, and reminder time point delays the 4th the 4th target for setting duration The mobile terminal in the target time section, is then put out screen element by showing by time point in the 4th object time point State is adjusted to non-display state.
  7. 7. according to the method for claim 6, it is characterised in that the reminder time point includes alarm clock timing reminder time point Or calendar prompting time point.
  8. A kind of 8. mobile terminal, it is characterised in that including:
    Acquisition module, for obtaining the sleep period of user, the sleep period includes starting the first time point of sleep With the second time point for terminating sleep;
    Adjusting module, for when the mobile terminal is in and puts out screen state, according to current time and the sleep period it Between relation, it is determined whether put out screen interface display put out screen element.
  9. 9. mobile terminal according to claim 8, it is characterised in that the acquisition module includes:
    Acquiring unit, for obtaining application history usage time information;
    Determining unit, for according to the history usage time information, determining the sleep period of user.
  10. 10. mobile terminal according to claim 9, it is characterised in that the application history usage time packet Include the shut-in time of the application program for beginning to use the time and finally using of the application program used at first in one day.
  11. 11. mobile terminal according to claim 8, it is characterised in that the acquisition module, specifically for obtaining user's base In the sleep period of time setting interface setting.
  12. 12. mobile terminal according to claim 8, it is characterised in that the adjusting module is specifically used for, if current time First object time point is reached, the screen element that puts out of the mobile terminal is adjusted to non-display state by dispaly state, described the Object time point is the time point that the first time point delays the first preset duration;If current time reaches the second target Between point, by the mobile terminal put out screen element dispaly state is adjusted to by non-display state, the second object time point is Second time point shifts to an earlier date the time point of the second duration.
  13. 13. mobile terminal according to claim 12, it is characterised in that the mobile terminal also includes:
    Check module, for detect the first object time point in the target time section between the second object time point whether Reminder time point be present;
    The adjusting module, if it is additionally operable to have reminder time point in the target time section, and reminder time point shifts to an earlier date 3rd object time point of the 3rd preset duration is in the target time section, then in the 3rd object time point by the shifting The screen element that puts out of dynamic terminal is adjusted to dispaly state by non-display state;If reminder time point in the target time section be present, And the reminder time point delays the 4th and sets the 4th object time point of duration in the target time section, then the described 4th The screen element that puts out of the mobile terminal is adjusted to non-display state by object time point by dispaly state.
  14. 14. mobile terminal according to claim 13, it is characterised in that the reminder time point is reminded including alarm clock timing Time point or calendar prompting time point.
  15. 15. a kind of mobile terminal, including:
    One or more processors;
    Memory;And
    One or more programs, wherein, one or more of programs are stored in the memory, and be configured to by One or more of computing devices, it is characterised in that any one of claim 1-7 institutes are realized when described program is performed Step in the display control method stated.
  16. 16. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the computer program The step of display control method any one of claim 1-7 is realized when being executed by processor.
CN201710786077.XA 2017-09-04 2017-09-04 A kind of display control method and mobile terminal Pending CN107608728A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710786077.XA CN107608728A (en) 2017-09-04 2017-09-04 A kind of display control method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710786077.XA CN107608728A (en) 2017-09-04 2017-09-04 A kind of display control method and mobile terminal

Publications (1)

Publication Number Publication Date
CN107608728A true CN107608728A (en) 2018-01-19

Family

ID=61056037

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710786077.XA Pending CN107608728A (en) 2017-09-04 2017-09-04 A kind of display control method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107608728A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108366166A (en) * 2018-01-25 2018-08-03 维沃移动通信有限公司 A kind of operation method and mobile terminal of mobile terminal
CN109407817A (en) * 2018-11-01 2019-03-01 Oppo(重庆)智能科技有限公司 Put out control method, device, electronic equipment and the storage medium of screen clock
CN110351431A (en) * 2019-07-18 2019-10-18 深圳传音控股股份有限公司 Sleep pattern setting method, user terminal and computer readable storage medium
CN110461032A (en) * 2019-09-05 2019-11-15 北京安云世纪科技有限公司 A kind of electricity-saving control method and device of mobile terminal
CN112235452A (en) * 2018-04-28 2021-01-15 华为技术有限公司 Screen-off display method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186337A (en) * 2011-12-31 2013-07-03 三星电子(中国)研发中心 Method and system for controlling intelligent terminal
CN103699208A (en) * 2013-12-31 2014-04-02 贝壳网际(北京)安全技术有限公司 Mobile terminal hardware setting method, mobile terminal and server
CN103902044A (en) * 2014-04-09 2014-07-02 深圳市中兴移动通信有限公司 Intelligent screen turnoff method and mobile terminal
US20150169038A1 (en) * 2013-12-13 2015-06-18 Samsung Electronics Co., Ltd. Apparatus and method for controlling screen display in electronic device
CN106095059A (en) * 2016-06-08 2016-11-09 维沃移动通信有限公司 A kind of method reducing mobile terminal power consumption and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186337A (en) * 2011-12-31 2013-07-03 三星电子(中国)研发中心 Method and system for controlling intelligent terminal
US20150169038A1 (en) * 2013-12-13 2015-06-18 Samsung Electronics Co., Ltd. Apparatus and method for controlling screen display in electronic device
CN103699208A (en) * 2013-12-31 2014-04-02 贝壳网际(北京)安全技术有限公司 Mobile terminal hardware setting method, mobile terminal and server
CN103902044A (en) * 2014-04-09 2014-07-02 深圳市中兴移动通信有限公司 Intelligent screen turnoff method and mobile terminal
CN106095059A (en) * 2016-06-08 2016-11-09 维沃移动通信有限公司 A kind of method reducing mobile terminal power consumption and mobile terminal

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108366166A (en) * 2018-01-25 2018-08-03 维沃移动通信有限公司 A kind of operation method and mobile terminal of mobile terminal
CN112235452A (en) * 2018-04-28 2021-01-15 华为技术有限公司 Screen-off display method and electronic equipment
CN112235452B (en) * 2018-04-28 2022-04-12 华为技术有限公司 Screen-off display method and electronic equipment
US11307733B2 (en) 2018-04-28 2022-04-19 Huawei Technologies Co., Ltd. Always on display method and electronic device
CN109407817A (en) * 2018-11-01 2019-03-01 Oppo(重庆)智能科技有限公司 Put out control method, device, electronic equipment and the storage medium of screen clock
CN109407817B (en) * 2018-11-01 2020-08-04 Oppo(重庆)智能科技有限公司 Control method and device of screen-off clock, electronic equipment and storage medium
CN110351431A (en) * 2019-07-18 2019-10-18 深圳传音控股股份有限公司 Sleep pattern setting method, user terminal and computer readable storage medium
CN110351431B (en) * 2019-07-18 2024-02-27 深圳传音控股股份有限公司 Sleep mode setting method, user terminal and computer readable storage medium
CN110461032A (en) * 2019-09-05 2019-11-15 北京安云世纪科技有限公司 A kind of electricity-saving control method and device of mobile terminal

Similar Documents

Publication Publication Date Title
CN107608728A (en) A kind of display control method and mobile terminal
CN106095059B (en) A kind of method and mobile terminal reducing mobile terminal power consumption
CN106101848B (en) A kind of barrage display methods and electronic equipment
CN104598186B (en) The method and electronic equipment of operation for electronic equipment
CN106569656A (en) Operation control method for mobile terminal, and mobile terminal
CN106570372B (en) A kind of the starting method and mobile terminal of application program
CN107659986A (en) One kind puts out screen clock control method and mobile terminal
CN106022078A (en) Fingerprint module starting control method and mobile terminal
CN106886766A (en) A kind of fingerprint identification method, fingerprint recognition circuit and mobile terminal
CN107450799A (en) The display methods and mobile terminal of a kind of message
CN107580134A (en) The display methods and mobile terminal of a kind of mobile terminal
CN106445074A (en) Control method for application and mobile terminal
CN107038367A (en) A kind of fingerprint identification method and mobile terminal
CN107566624A (en) A kind of power consumption of terminal and the display methods of temperature and terminal
CN107071264A (en) A kind of image resolution ratio method of adjustment and mobile terminal
CN105005380A (en) Reminding equipment, reminding method and reminding device
CN105955600B (en) A kind of method and mobile terminal adjusting mobile terminal display interface
CN106453949A (en) Schedule creating method and mobile terminal
CN106874046A (en) The operating method and mobile terminal of a kind of application program
CN106713663B (en) A kind of alarm clock control method and mobile terminal
CN106357918A (en) Method for adjusting screen brightness and mobile terminal
CN106855744A (en) A kind of screen display method and mobile terminal
CN107277255A (en) A kind of alarm clock control method and mobile terminal
CN106791086A (en) The control method and mobile terminal of a kind of mobile terminal
CN106469057A (en) A kind of method cancelling alarm clock and mobile terminal

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180119

RJ01 Rejection of invention patent application after publication