CN105072258B - Scene modes of mobile terminal switching method, device and mobile terminal - Google Patents
Scene modes of mobile terminal switching method, device and mobile terminal Download PDFInfo
- Publication number
- CN105072258B CN105072258B CN201510420458.7A CN201510420458A CN105072258B CN 105072258 B CN105072258 B CN 105072258B CN 201510420458 A CN201510420458 A CN 201510420458A CN 105072258 B CN105072258 B CN 105072258B
- Authority
- CN
- China
- Prior art keywords
- countdown
- count down
- night
- down time
- user
- 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
- Telephone Function (AREA)
Abstract
The invention discloses a kind of scene modes of mobile terminal switching method, device and mobile terminal, this method to include:When detecting that mobile terminal enters Night, interface is arranged in display countdown;The count down parameter that user is arranged at countdown setting interface is obtained, which includes count down time and target context pattern;Using real-time clock module, countdown is carried out according to the count down time;When detecting that the count down time reaches, exits the Night and enter the target context pattern.Since the present invention can be when user-defined arbitrary count down time reaches, switch situation of presence pattern to the target context pattern of user setting, compared to the prior art, the flexibility of contextual model switching can be improved in the present invention, and improves the convenience of mobile terminal operation.
Description
Technical field
The invention belongs to mobile communication technology field more particularly to a kind of scene modes of mobile terminal switching method, devices
And mobile terminal.
Background technology
With the fast development of mobile communication technology and related electronic products, smart mobile phone, tablet computer etc. have goed deep into
People’s lives, at an essential part in for people's lives.It is more and more due to portability possessed by mobile terminal
User get used at night turn off the light after lie on a bed using mobile terminal.In order to meet the needs of people's night use, night mould
Formula is developed as a kind of contextual model.For mobile terminal when entering Night, adjust automatically desktop background, system are bright
The settings such as degree, font color, so that user is more comfortable with eye.Night can protect user's under the weaker environment of light
Eyes, but if user forgets to exit Night before being detached from the weaker environment of light, wait when in the environment of strong light
When needing to exit Night, due to being difficult to see screen clearly under strong light, exits Night again at this time and then operate more difficulty.
In the prior art in order to solve the above technical problems, generally using following two modes:1, preset time period, it is mobile whole
End is carved at the beginning of preset time period automatically enters Night, and Night is exited in the finish time of preset time period;
2, using light sensor automatically into or exit Night.
However, the period set in above-mentioned first way may not meet with user's use habit and scene, it can not
The needs of user's use habit and scene changes are adapted to, flexibility is lacked.The above-mentioned second way is easy the shadow by external environment
It rings, especially when frequently variation occurs for ambient, such as night spot in use, probably due to interim open and close lamp is cut repeatedly
Different contextual models is changed, the normal use of mobile phone is influenced, is made troubles instead to the operation of user.
Invention content
A kind of scene modes of mobile terminal switching method of present invention offer, device and mobile terminal, by being made by oneself in user
Justice arbitrary count down time reach when, exit Night go forward side by side access customer setting target context pattern, scene can be improved
The flexibility of pattern switching, and improve the convenience of mobile terminal operation.
First aspect present invention provides a kind of scene modes of mobile terminal switching method, including:When detecting mobile terminal
When into Night, interface is arranged in display countdown;Obtain the countdown ginseng that user is arranged at countdown setting interface
Number, the count down parameter includes count down time and target context pattern;Using real-time clock module, according to the countdown
Time carries out countdown;When detecting that the count down time reaches, exits the Night and enter the target feelings
Scape pattern.
With reference to first aspect, in the first possible realization method of first aspect, it is described according to the countdown when
Between carry out countdown with described when detecting that the count down time reaches, exit the Night and enter the target
Between contextual model, including:When being switched on again after detecting the mobile terminal shutdown, if the contextual model after booting is described
Night, then detect whether the count down time reaches.
The possible realization method of with reference to first aspect the first, in second of possible realization method of first aspect
In, it is described according to count down time progress countdown and described when detecting that the count down time reaches, exit institute
It states Night and enters between the target context pattern, further include:When detect countdown remaining time be less than it is preset
When time value, display reminding information, to remind count down time described in the user that will reach.
The possible realization method of with reference to first aspect the first, in the third possible realization method of first aspect
In, the method further includes:During countdown, when receiving the countdown reset indication of user's triggering, institute is shown
State countdown setting interface;Obtain the count down parameter that the user resets at countdown setting interface;When falling for resetting
When timing parameter includes count down time, countdown is restarted according to the count down time of resetting, falls to count when the resetting
When the time reach when, exit the Night and enter the target context pattern;When the count down parameter packet of the resetting
When including target context pattern, when the count down time reaches, exits the Night and enter the target context of resetting
Pattern;When the count down parameter of the resetting includes count down time and target context pattern, fall to count according to the resetting
When the time restart countdown, when the resetting count down time reach when, exit the Night and enter described in
The target context pattern of resetting.
The possible realization method of with reference to first aspect the first, in the 4th kind of possible realization method of first aspect
In, display countdown setting interface includes:Show that prompt message is arranged in countdown, whether to prompt and inquire the user
Countdown is configured;It receives the user and the setting instruction that prompt message triggers is arranged according to the countdown;If described
Setting instruction then shows countdown setting interface to determine that setting instructs;If the setting instruction is refusal setting instruction,
Then cancel the display countdown setting prompt message and does not show countdown setting interface.
Second aspect of the present invention provides a kind of scene modes of mobile terminal switching device, including:Detection module, for detecting
Whether mobile terminal enters night module;Display module detects that mobile terminal enters night mould for working as the detection module
When formula, interface is arranged in display countdown;Parameter acquisition module is fallen for obtaining user what countdown setting interface was arranged
Timing parameter, the count down parameter include count down time and target context pattern;Countdown module, when for utilizing real-time
Clock module carries out countdown according to the count down time;The detection module is additionally operable to whether detect the count down time
It reaches;Contextual model handover module, for when the detection module detects that the count down time reaches, exiting the night
Between pattern and enter the target context pattern.
In conjunction with second aspect, in the first possible realization method of second aspect, the detection module is additionally operable to work as
It detects when being switched on again after mobile terminal shutdown, if the contextual model after booting is the Night, described in detection
Whether count down time reaches.
In conjunction with the first possible realization method of second aspect, in second of possible realization method of second aspect
In, whether the detection module, the remaining time for being additionally operable to detection countdown is less than pre-set time values;The display module, also
When for detecting that the remaining time of countdown is less than pre-set time values when the detection module, display reminding information, to remind
Count down time described in the user will reach.
In conjunction with the first possible realization method of second aspect, in the third possible realization method of second aspect
In, described device further includes:Command reception module, the countdown resetting for during countdown, receiving user's triggering
When instruction;The display module, the countdown resetting for being additionally operable to receive user's triggering when described instruction receiving module refer to
When enabling, countdown setting interface is shown;The parameter acquisition module, is additionally operable to obtain the user and is set in the countdown
Set the count down parameter of interface resetting;The countdown module is additionally operable to when the count down parameter of resetting include count down time
When, countdown is restarted according to the count down time of resetting;The contextual model switch mode is additionally operable to when the resetting
When count down time reaches, exits the Night and enter the target context pattern;The contextual model handover module,
It is additionally operable to when the count down parameter of the resetting includes target context pattern, when the count down time reaches, exits institute
It states Night and enters the target context pattern of resetting;The countdown module is additionally operable to join when the countdown of the resetting
When number includes count down time and target context pattern, countdown is restarted according to the count down time of the resetting;It is described
Contextual model handover module is additionally operable to, when the count down time of the resetting reaches, exit the Night and enter institute
State the target context pattern of resetting.
In conjunction with the first possible realization method of second aspect, in the 4th kind of possible realization method of second aspect
In, the display module includes:Presentation of information submodule, for showing that prompt message is arranged in countdown, to prompt and inquire institute
State whether user is configured countdown;Command reception submodule is arranged for receiving the user according to the countdown
The setting instruction of prompt message triggering;Interface display submodule, if being shown for setting instruction to determine that setting instructs
Interface is arranged in the countdown;Described information display sub-module takes if being additionally operable to the setting instruction as refusal setting instruction
The display that the disappears countdown setting prompt message.
Third aspect present invention provides a kind of mobile terminal, including above-mentioned scene modes of mobile terminal switching device.
From the embodiments of the present invention it is found that the present invention is by when mobile terminal enters Night, showing countdown
Interface is set, obtains user in the countdown setting count down time that is arbitrarily arranged of interface and target context pattern, using real-time
Clock module carries out countdown according to count down time, when detecting that count down time reaches, exits Night and enter
Target context pattern so that mobile terminal can be reached according to the actual needs of user in the arbitrary count down time of user setting
When, it exits Night and goes forward side by side other specified plot Modes of access customer, compared to the prior art, scene mould can be improved in the present invention
The flexibility of formula switching, is more in line with the actual demand of user, to user to the bringing great convenience property of use of mobile terminal,
Greatly improve the operating experience of user.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention without having to pay creative labor, may be used also for those of ordinary skill in the art
With obtain other attached drawings according to these attached drawings.
Fig. 1 is the implementation process schematic diagram for the scene modes of mobile terminal switching method that one embodiment of the invention provides;
Fig. 2 is the implementation process schematic diagram of scene modes of mobile terminal switching method in a practical application example of the invention;
Fig. 3 is the structural schematic diagram for the scene modes of mobile terminal switching device that one embodiment of the invention provides;
Fig. 4 is the structural schematic diagram for the scene modes of mobile terminal switching device that further embodiment of this invention provides.
Specific implementation mode
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention
Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described reality
It is only a part of the embodiment of the present invention to apply example, and not all embodiments.Based on the embodiments of the present invention, the common skill in this field
The every other embodiment that art personnel are obtained without making creative work belongs to the model that the present invention protects
It encloses.
Mobile terminal in scene modes of mobile terminal switching method provided in an embodiment of the present invention can be, but not limited to wrap
It includes:Smart mobile phone, notebook, tablet computer, wearing smart machine etc..For ease of description, following mobile terminal is by taking mobile phone as an example.
Attached drawing 1 is please referred to, attached drawing 1 is the realization for the scene modes of mobile terminal switching method that one embodiment of the invention provides
Flow diagram mainly includes the following steps that S101 to step S104:
S101, when detecting that mobile terminal enters Night, display countdown be arranged interface.
It is to be appreciated that the Night switching command that mobile phone can be triggered according to user, into Night;Alternatively,
When system time reaches preset Night switching time, into Night.
When detecting that mobile phone enters Night, preset countdown setting interface is shown so that user can be by this
Countdown be arranged interface be arranged count down parameter, the count down parameter can be, but not limited to include:Count down time and countdown
Time wishes the target context pattern that mobile phone switches into after reaching.
Further, in a practical application example, as shown in Fig. 2, interface is arranged in the display countdown in step S101
Specific further comprising the steps of S1011 to S1014:
Prompt message is arranged in S1011, display countdown, is configured to countdown with prompting and asking the user whether.
S1012, the setting instruction that prompt message triggering is arranged according to the countdown by user is received.
If S1013, setting instruction show that interface is arranged in the countdown to determine that setting instructs.
Wherein, countdown setting prompt message can be, but not limited to by way of popping up pop-up show.
If S1014, setting instruction are refusal setting instruction, cancel and show that countdown setting prompt message is not shown
Show that interface is arranged in the countdown.
Specifically, determination setting instruction can click being set for determination in countdown setting prompt message by user
The button triggering set, such as "Yes" button.Refusal setting instruction can be clicked by user in countdown setting prompt message
Button triggering for refusing setting, such as "No" button.Alternatively, refusal setting instruction can also carry out other by user and exit
Countdown setting prompt message shows in the preset operation triggering being arranged, such as pressing return page up shortcut key, click screen
Show other display areas etc. except region.Alternatively, be more than preset time period, if not receiving the setting instruction of user's triggering,
Then default user triggering refusal setting instruction.When setting instruction instructs for refusal setting, mobile phone does not exit the night mould
Formula.
S102, the count down parameter that user is arranged at countdown setting interface is obtained, which includes falling to count
When time and target context pattern.
The count down time can be arranged by way of the input of virtual or physical button, or be arranged in interface in the countdown
Selection setting in the alternative time (0 hour 0 point 0 second~24 hours 0 point and 0 second) of display.When the count down time specifically may include,
The arbitrary combination of minute, second, that is, backed off after random Night at any time may be selected in user.
Obtain the target context pattern that user selects from the alternative contextual model that interface display is arranged in the countdown.The mesh
Mark contextual model can be, but not limited to:Interruption-free pattern, offline mode, mode standard, operating mode, conference model, family
Any one in external schema and other self-defined patterns.It is to be appreciated that if the non-selected target context pattern of user, writes from memory
Recognize and set mode standard to target context pattern, that is, when mobile phone exits Night, automatically into mode standard;Alternatively,
Using the contextual model before entrance Night as target context pattern.
S103, using real-time clock module, countdown is carried out according to the count down time.
The count down time of user setting is sent to real-time clock (Real-Time Clock, RTC) module, and is instructed
RTC block proceeds by countdown according to the count down time.
S104, when detect the count down time reach when, exit the Night and enter the target context pattern.
When detecting that the count down time reaches, RTC block sends out interrupt signal, triggers contextual model handover operation,
Mobile phone exit Night go forward side by side access customer countdown setting interface be arranged target context pattern.By exiting night mould
The specified target context pattern of the laggard access customer of formula can allow contextual model switching to have more flexibility, more meet the reality of user
Border demand improves the convenience of mobile phone operation, such as under the scene to lie on a bed using mobile phone before user sleeps, can according to
The setting at family is directly entered offline mode after exiting Night, user can be helped to save again by mobile phone by current in this way
Contextual model is switched to the operation of offline mode, even and if user fall asleep also there is no concern that due to not adjusting mobile phone scene mode
By unnecessary incoming call disturbance.
Further, include step between step S103 and step S104 as shown in Fig. 2 in a practical application example
Rapid S1031:When being switched on again after detecting mobile terminal shutdown, if the contextual model after booting is Night, detect
Whether the count down time reaches.
Countdown is carried out by then passing through RTC block, even if the case where abnormal shutdown occurs in mobile phone, countdown will not be by
It interrupts, to not interfere with the normal switching of contextual model.In countdown process, mobile phone is possible to the pass triggered according to user
Machine instruction shutdown, instruction of restarting are restarted, or are abnormal shutdown because of battery, system crash or are restarted.When mobile phone is opened again
After machine, if the contextual model of mobile phone is Night, whether user is provided with falling for countdown and setting before detecting shutdown
Whether timing time reaches, if the count down time of user setting countdown and setting arrived, switches situation of presence mould
Formula is that the target context pattern of user setting keeps Night if not reaching, until RTC block sends out interrupt signal, so
Step S104 is executed afterwards.
Further, in a practical application example, as shown in Fig. 2, further include between step S103 and step S104
Step S1032:When detecting that the remaining time of countdown is less than pre-set time values, display reminding information, to remind user should
Count down time will reach.
When detecting that the remaining time of countdown is less than pre-set time values, RTC block sends out signal, triggers prompt message
Display operation.Wherein, display reminding information can be, but not limited to include one or more combinations in following manner:Display reminding
Text information sends out preset prompt tone and driving flash lamp blinking light.
Further, in a practical application example, this method further comprising the steps of S105 and S109:
S105, during countdown, when receive user triggering countdown reset indication when, show the countdown be arranged
Interface.
Specifically, which can be tactile by clicking the trigger button in screen, the self-defined shortcut key of pressing
Hair.Before countdown terminates, when receiving the countdown reset indication of user's triggering, interface, user is arranged in display countdown
Interface can be arranged in the countdown to select to reset any one of count down time and target context pattern or whole.
S106, the count down parameter that user resets at countdown setting interface is obtained.
User is obtained in the count down parameter that resets of countdown setting interface, the count down parameter reset can be with
Including:Count down time or target context pattern or count down time and target context pattern.
S107, when the count down parameter of resetting includes count down time, restarted according to the count down time of resetting
Countdown exits Night and enters target context pattern when the count down time of resetting reaches.
Specifically, when user has only reset count down time, the count down time reset is sent to RTC
Module, and RTC block is instructed to restart countdown, RTC block is when detecting that the count down time reset reaches, hair
Go out interrupt signal, trigger contextual model handover operation so that mobile phone exits Night and enters the target context mould of former setting
Formula.
S108, when the count down parameter of resetting includes target context pattern, when count down time reaches, exit night
Pattern and the target context pattern for entering resetting.
Specifically, when user has only reset target context pattern, then when detecting that former count down time reaches,
Night is exited, into the target context pattern reset.
S109, when the count down parameter of resetting includes count down time and target context pattern, according to resetting fall count
When the time restart countdown, when resetting count down time reach when, exit Night and enter resetting target feelings
Scape pattern.
Specifically, when user has reset count down time and target context pattern, the countdown that will reset
Time is sent to RTC block, and RTC block is instructed to restart countdown, and RTC block is detecting the countdown reset
When time reaches, interrupt signal is sent out, trigger contextual model handover operation so that mobile phone exits Night, into setting again
The target context pattern set.
It is to be appreciated that during user resets count down parameter, former countdown, which can suspend, to be suspended.
Further, it during countdown, if receiving the termination countdown instruction of user's triggering, terminates and falls to count
When.The termination countdown instruction can because the manual switching contextual model of user, click screen in termination countdown button or
Other preset termination operation triggerings.When receiving the termination countdown instruction of user's triggering, instruction RTC block, which terminates, to be fallen to count
When and remove the count down time of storage.
Scene modes of mobile terminal switching method provided in this embodiment, by when mobile terminal enters Night,
It shows that interface is arranged in countdown, obtains count down time and target context mould that user is arbitrarily arranged at countdown setting interface
Formula carries out countdown according to count down time, when detecting that count down time reaches, exits night using real-time clock module
Between pattern and enter target context pattern so that mobile terminal can be fallen count according to the actual needs of user in the arbitrary of user setting
When time when reaching, exit Night and go forward side by side other specified plot Modes of access customer, compared to the prior art, the present invention can
The flexibility for improving contextual model switching, is more in line with the actual demand of user, pole is brought to the use of mobile terminal to user
Big convenience greatly improves the operating experience of user.
Attached drawing 3 is please referred to, attached drawing 3 is the structure for the scene modes of mobile terminal switching device that one embodiment of the invention provides
Schematic diagram illustrates only and the relevant part of the embodiment of the present invention for convenience of description.3 exemplary mobile terminal scene of attached drawing
Mode-changeover device can be the executive agent for the scene modes of mobile terminal switching method that previous embodiment provides, and can be
Mobile terminal or one of function module.3 exemplary scene modes of mobile terminal switching device of attached drawing includes mainly:
Detection module 21, display module 22, parameter acquisition module 23, countdown module 24 and contextual model handover module 25.
Wherein, detection module 21, for detecting whether mobile terminal enters night module.
Display module 22, for when detection module 21 detects that mobile terminal enters Night, display countdown to be set
Set interface.
It is to be appreciated that the Night switching command that contextual model handover module 25 can be triggered according to user, enters
Night;Alternatively, when system time reaches preset Night switching time, into Night.
Specifically, when detection module 21 detects that mobile phone enters Night, display module 22 shows the preset meter that falls
When interface is set so that user can by the countdown be arranged interface be arranged count down parameter, the count down parameter can with but not
Be limited to include:Count down time and count down time wish the target context pattern that mobile phone switches into after reaching.
Parameter acquisition module 23, the count down parameter being arranged at countdown setting interface for obtaining user, should fall to count
When parameter include count down time and target context pattern.
Specifically, which can be arranged by way of the input of virtual or physical button, or be set in the countdown
Set selection setting in the alternative time (0 hour 0 point 0 second~24 hours 0 point and 0 second) shown in interface.The count down time is specific
When may include, the arbitrary combination of minute, second, that is, backed off after random Night at any time may be selected in user.
Parameter acquisition module 23 obtains the mesh that user selects from the alternative contextual model that interface display is arranged in the countdown
Mark contextual model.The target context pattern can be, but not limited to:Interruption-free pattern, offline mode, mode standard, Working mould
Any one in formula, conference model, outdoor pattern and other self-defined patterns.If it is to be appreciated that the non-selected mesh of user
Contextual model is marked, then the acquiescence of parameter acquisition module 23 sets mode standard to target context pattern, that is, when mobile phone exits night
When pattern, automatically into mode standard;Alternatively, using the contextual model before entrance Night as target context pattern.
Countdown module 24 carries out countdown for utilizing real-time clock module according to the count down time.
Specifically, the count down time of user setting is sent to RTC block by countdown module 24, and instructs RTC block
Countdown is proceeded by according to the count down time.
Detection module 21 is additionally operable to detect whether the count down time reaches.
Contextual model handover module 25, for when detection module 21 detects that the count down time reaches, exiting the night
Between pattern and enter the target context pattern.
Specifically, RTC block sends out interrupt signal in count down time arrival, and detection module 21 is detecting RTC moulds
When the interrupt signal that block is sent out, contextual model handover operation is triggered, Night is exited simultaneously by contextual model handover module 25
The target context pattern being arranged into access customer at countdown setting interface.By exiting what the laggard access customer of Night was specified
Target context pattern can allow contextual model switching to have more flexibility, more meet the actual demand of user, improve mobile phone operation
Convenience, such as under the scene to lie on a bed using mobile phone before user sleeps, night can exited according to the setting of user
Offline mode is directly entered after pattern, it is flight by situation of presence pattern switching by mobile phone that user can be helped to save again in this way
The operation of pattern, even and if user fall asleep also there is no concern that due to not adjusting mobile phone scene mode by it is unnecessary incoming call beat
It disturbs.
It should be noted that in the embodiment of 3 exemplary scene modes of mobile terminal switching device of the figures above, each work(
The division of energy module is merely illustrative of, can be as needed in practical application, such as the configuration requirement of corresponding hardware or soft
The convenient of the realization of part considers, and above-mentioned function distribution is completed by different function modules, i.e., by scene modes of mobile terminal
The internal structure of switching device is divided into different function modules, to complete all or part of the functions described above.Moreover,
In practical application, the corresponding function module in the present embodiment can be by corresponding hardware realization, can also be by corresponding hard
Part executes corresponding software and completes;Each embodiment that this specification provides can all apply foregoing description principle.
From 3 exemplary scene modes of mobile terminal switching device of above-mentioned attached drawing it is found that the present invention by mobile terminal into
When entering Night, interface is arranged in display countdown, obtains the count down time that user is arbitrarily arranged at countdown setting interface
Countdown is carried out according to count down time using real-time clock module with target context pattern, when detecting that count down time arrives
Up to when, exit Night and enter target context pattern so that mobile terminal can be set according to the actual needs of user in user
When the arbitrary count down time set reaches, exits Night and go forward side by side other specified plot Modes of access customer, compared to existing
Technology, the present invention can be improved the flexibility of contextual model switching, the actual demand of user be more in line with, to user to mobile terminal
Bringing great convenience property of use, greatly improve the operating experience of user.
Attached drawing 4 is please referred to, attached drawing 4 is the knot for the scene modes of mobile terminal switching device that further embodiment of this invention provides
Structure schematic diagram illustrates only and the relevant part of the embodiment of the present invention for convenience of description.4 exemplary mobile terminal feelings of attached drawing
Scape mode-changeover device can be the executive agent for the scene modes of mobile terminal switching method that previous embodiment provides, can be with
It is mobile terminal or one of function module.4 exemplary scene modes of mobile terminal switching device of attached drawing, it is main to wrap
It includes:Detection module 31, display module 32, parameter acquisition module 33, countdown module 34, contextual model handover module 35 and refer to
Receiving module 36, wherein display module 32 is enabled to further comprise:Presentation of information submodule 321, command reception submodule 322 and
Interface display submodule 323.Detailed description are as follows for each function module:
Wherein, detection module 31, for detecting whether mobile terminal enters night module.
Display module 32, for when detection module 31 detects that mobile terminal enters Night, display countdown to be set
Set interface.
It is to be appreciated that the Night switching command that contextual model handover module 35 can be triggered according to user, enters
Night;Alternatively, when system time reaches preset Night switching time, into Night.
Specifically, when detection module 31 detects that mobile phone enters Night, display module 32 shows the preset meter that falls
When interface is set so that user can by the countdown be arranged interface be arranged count down parameter, the count down parameter can with but not
Be limited to include:Count down time and count down time wish the target context pattern that mobile phone switches into after reaching.
Parameter acquisition module 33, the count down parameter being arranged at countdown setting interface for obtaining user, should fall to count
When parameter include count down time and target context pattern.
Specifically, which can be arranged by way of the input of virtual or physical button, or be set in the countdown
Set selection setting in the alternative time (0 hour 0 point 0 second~24 hours 0 point and 0 second) shown in interface.The count down time is specific
When may include, the arbitrary combination of minute, second, that is, backed off after random Night at any time may be selected in user.
Parameter acquisition module 33 obtains the mesh that user selects from the alternative contextual model that interface display is arranged in the countdown
Mark contextual model.The target context pattern can be, but not limited to:Interruption-free pattern, offline mode, mode standard, Working mould
Any one in formula, conference model, outdoor pattern and other self-defined patterns.If it is to be appreciated that the non-selected mesh of user
Contextual model is marked, then the acquiescence of parameter acquisition module 23 sets mode standard to target context pattern, that is, when mobile phone exits night
When pattern, automatically into mode standard;Alternatively, using the contextual model before entrance Night as target context pattern.
Countdown module 34 carries out countdown for utilizing real-time clock module according to the count down time.
Specifically, the count down time of user setting is sent to RTC block by countdown module 34, and instructs RTC block
Countdown is proceeded by according to the count down time.
Detection module 31 is additionally operable to detect whether the count down time reaches.
Contextual model handover module 35, for when detection module 31 detects that the count down time reaches, exiting the night
Between pattern and enter the target context pattern.
Specifically, RTC block sends out interrupt signal in count down time arrival, and detection module 31 is detecting RTC moulds
When the interrupt signal that block is sent out, contextual model handover operation is triggered, Night is exited simultaneously by contextual model handover module 35
The target context pattern being arranged into access customer at countdown setting interface.By exiting what the laggard access customer of Night was specified
Target context pattern can allow contextual model switching to have more flexibility, more meet the actual demand of user, improve mobile phone operation
Convenience, such as under the scene to lie on a bed using mobile phone before user sleeps, night can exited according to the setting of user
Offline mode is directly entered after pattern, it is flight by situation of presence pattern switching by mobile phone that user can be helped to save again in this way
The operation of pattern, even and if user fall asleep also there is no concern that due to not adjusting mobile phone scene mode by it is unnecessary incoming call beat
It disturbs.
Detection module 31, when being additionally operable to be switched on again after detecting mobile terminal shutdown, if the contextual model after booting
For the Night, then detect whether the count down time reaches.
Specifically, countdown is carried out by then passing through RTC block, even if the case where abnormal shutdown, countdown occurs in mobile phone
It will not be interrupted, to not interfere with the normal switching of contextual model.In countdown process, mobile phone is possible to according to user
The shutdown command of triggering shuts down, and instruction of restarting is restarted, or is abnormal shutdown because of battery, system crash or restarts.Work as hand
After machine turns back on, if 31 detection module of detection module detects that the contextual model of mobile phone is Night, before detecting shutdown
Whether the count down time whether user is provided with countdown and setting reach, if user setting countdown and setting are fallen
Timing time arrived, then switches the target context mould that situation of presence pattern is user setting by contextual model handover module 35
Formula.
Whether detection module 31, the remaining time for being additionally operable to detection countdown are less than pre-set time values.
Display module 32 is additionally operable to when detection module 31 detects that the remaining time of countdown is less than pre-set time values,
Display reminding information, to remind the user that the count down time will reach.
Specifically, detection module 31 is detecting RTC block because detecting that the remaining time of countdown is less than preset time
When the signal sent out when value, prompt message display operation is triggered, preset prompt message is shown by display module.Wherein, it shows
It includes one or more combinations in following manner to show that prompt message can be, but not limited to:Display reminding text information, send out it is pre-
Set prompt tone and driving flash lamp blinking light.
Command reception module 36 is used for during countdown, when receiving the countdown reset indication of user triggering.
Display module 32 is additionally operable to when the command reception module receives the countdown reset indication of user triggering,
Show that interface is arranged in the countdown.
Specifically, which can be tactile by clicking the trigger button in screen, the self-defined shortcut key of pressing
Hair.Before countdown terminates, when command reception module 36 receives the countdown reset indication of user's triggering, display module 32
Show that interface is arranged in countdown, user can be arranged interface in the countdown and select to reset count down time and target context
Any one of pattern is whole.
Parameter acquisition module 33 is additionally operable to obtain the count down parameter that the user resets at countdown setting interface.
Specifically, parameter acquisition module 33 obtains the count down parameter that user resets at countdown setting interface, weight
Newly-installed count down parameter may include:Count down time or target context pattern or count down time and target feelings
Scape pattern.
Countdown module 34 is additionally operable to when the count down parameter of resetting includes count down time, falls to count according to resetting
When the time restart countdown.
Contextual model switch mode 35 is additionally operable to, when the count down time of the resetting reaches, exit the Night simultaneously
Into the target context pattern.
Contextual model handover module 35 is additionally operable to when the count down parameter of the resetting includes target context pattern, when this
When count down time reaches, exits the Night and enter the target context pattern of resetting.
Countdown module 34 is additionally operable to when the count down parameter of the resetting include count down time and target context pattern
When, countdown is restarted according to the count down time of the resetting.
Contextual model handover module 35 is additionally operable to, when the count down time of the resetting reaches, exit the Night simultaneously
Into the target context pattern of the resetting.
Specifically, when user has only reset count down time, countdown that countdown module 34 will be reset
Time is sent to RTC block, and RTC block is instructed to restart countdown, and RTC block is detecting the countdown reset
When time reaches, interrupt signal is sent out, triggers contextual model handover operation so that contextual model handover module 35 exits night mould
Formula and the target context pattern for entering former setting.
When user has only reset target context pattern, then when detecting that former count down time reaches, scene mould
Formula handover module 35 exits Night, into the target context pattern reset.
When user has reset count down time and target context pattern, countdown module 34 is fallen what is reset
Timing time is sent to RTC block, and RTC block is instructed to restart countdown, and RTC block is detecting that is reset fall
When timing time reaches, interrupt signal is sent out, triggers contextual model handover operation so that contextual model handover module 35 exits night
Between pattern, into the target context pattern reset.
It is to be appreciated that during user resets count down parameter, former countdown, which can suspend, to be suspended.
Presentation of information submodule 321, for showing that prompt message is arranged in countdown, to prompt and inquire whether the user is right
Countdown is configured.
Command reception submodule 322 refers to for receiving the user according to the setting that countdown setting prompt message triggers
It enables.
Interface display submodule 323, if showing that boundary is arranged in the countdown for setting instruction to determine that setting instructs
Face.
Presentation of information submodule 321 is cancelled if being additionally operable to setting instruction as refusal setting instruction and shows the countdown
Prompt message is set.
Specifically, presentation of information submodule 321 can be, but not limited to by way of popping up pop-up show that the countdown is set
Set prompt message.The determination setting instruction can be clicked by user the countdown setting prompt message in for determine setting
Button triggers, such as "Yes" button.Refusal setting instruction can be clicked by user to be used in countdown setting prompt message
The button triggering of refusal setting, such as "No" button.Alternatively, refusal setting instruction can also carry out other by user and exit setting
Preset operation triggering, as pressing returns to page up shortcut key, clicks the viewing area of countdown setting prompt message in screen
Other display areas except domain etc..Alternatively, being more than preset time period, if not receiving the setting instruction of user's triggering, write from memory
Recognize user and triggers refusal setting instruction.When setting instruction instructs for refusal setting, mobile phone does not exit the Night.
From 4 exemplary scene modes of mobile terminal switching device of above-mentioned attached drawing it is found that the present invention by mobile terminal into
When entering Night, interface is arranged in display countdown, obtains the count down time that user is arbitrarily arranged at countdown setting interface
Countdown is carried out according to count down time using real-time clock module with target context pattern, when detecting that count down time arrives
Up to when, exit Night and enter target context pattern so that mobile terminal can be set according to the actual needs of user in user
When the arbitrary count down time set reaches, exits Night and go forward side by side other specified plot Modes of access customer, compared to existing
Technology, the present invention can be improved the flexibility of contextual model switching, the actual demand of user be more in line with, to user to mobile terminal
Bringing great convenience property of use, greatly improve the operating experience of user.
The embodiment of the present invention also provides a kind of mobile terminal, which includes the mobile end that attached drawing 3 or attached drawing 4 provide
Hold contextual model switching device.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the module, only
Only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple module or components can be tied
Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed
Mutual coupling, direct-coupling or communication connection can be the INDIRECT COUPLING or logical by some interfaces, device or module
Letter connection can be electrical, machinery or other forms.
The module illustrated as separating component may or may not be physically separated, aobvious as module
The component shown may or may not be physical module, you can be located at a place, or may be distributed over multiple
On network module.Some or all of module therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each function module in each embodiment of the present invention can be integrated in a processing module, it can also
That modules physically exist alone, can also two or more modules be integrated in a module.Above-mentioned integrated mould
The form that hardware had both may be used in block is realized, can also be realized in the form of software function module.
If the integrated module is realized in the form of software function module and sells or use as independent product
When, it can be stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention
Portion or part steps.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
It should be noted that for each method embodiment above-mentioned, describe, therefore it is all expressed as a series of for simplicity
Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the described action sequence because
According to the present invention, certain steps may be used other sequences or be carried out at the same time.Secondly, those skilled in the art should also know
It knows, embodiment described in this description belongs to preferred embodiment, and involved action and module might not all be this hairs
Necessary to bright.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiments.
It is to be retouched to a kind of scene modes of mobile terminal switching method provided by the present invention, device and mobile terminal above
It states, for those of ordinary skill in the art, the thought of embodiment according to the present invention, in specific embodiments and applications
There will be changes, to sum up, the content of the present specification should not be construed as limiting the invention.
Claims (7)
1. a kind of scene modes of mobile terminal switching method, which is characterized in that the method includes:
When system time reaches preset Night switching time, into Night;
When detecting that mobile terminal enters Night, interface is arranged in display countdown;
The count down parameter that user is arranged at countdown setting interface is obtained, the count down parameter includes count down time
With target context pattern, the target context pattern is offline mode, if non-selected target context pattern, is given tacit consent to master die
Formula is set as target context pattern;
Using real-time clock module, countdown is carried out according to the count down time;
When detecting that the count down time reaches, exits the Night and enter the target context pattern;
It is described according to count down time progress countdown and described when detecting that the count down time reaches, exit institute
It states Night and enters between the target context pattern, including:
When being switched on again after detecting the mobile terminal shutdown, if the contextual model after booting is the Night, examine
Survey whether the count down time reaches;
It is described according to count down time progress countdown and described when detecting that the count down time reaches, exit institute
It states Night and enters between the target context pattern, further include:
When detecting that the remaining time of countdown is less than pre-set time values, preset prompt tone is sent out, to remind the user institute
Stating count down time will reach.
2. the method as described in claim 1, which is characterized in that the method further includes:
During countdown, when receiving the countdown reset indication of user's triggering, countdown setting circle is shown
Face;
Obtain the count down parameter that the user resets at countdown setting interface;
When the count down parameter of resetting includes count down time, countdown is restarted according to the count down time of resetting, when
When the count down time of the resetting reaches, exits the Night and enter the target context pattern;
When the count down parameter of the resetting includes target context pattern, when the count down time reaches, exit described
Night and the target context pattern for entering resetting;
When the count down parameter of the resetting includes count down time and target context pattern, according to the countdown of the resetting
Time restarts countdown, when the count down time of the resetting reaches, exits the Night and enters described heavy
The target context pattern set.
3. method as claimed in claim 2, which is characterized in that display countdown setting interface includes:
Show that prompt message is arranged in countdown, to prompt and inquire whether the user is configured countdown;
It receives the user and the setting instruction that prompt message triggers is arranged according to the countdown;
If the setting instruction shows countdown setting interface to determine that setting instructs;
If setting instruction is refusal setting instruction, cancel described in the display countdown setting prompt message do not show
Interface is arranged in countdown.
4. a kind of scene modes of mobile terminal switching device, which is characterized in that described device includes:
Detection module, for detecting whether mobile terminal enters night module;
Display module, for when the detection module detects that mobile terminal enters Night, boundary to be arranged in display countdown
Face;
Parameter acquisition module, the count down parameter being arranged at countdown setting interface for obtaining user, the countdown
Parameter includes count down time and target context pattern, and the target context pattern is offline mode, if non-selected target context
Pattern is then given tacit consent to and sets mode standard to target context pattern;
Countdown module carries out countdown for utilizing real-time clock module according to the count down time;
The detection module is additionally operable to detect whether the count down time reaches;
Contextual model handover module, for when system time reaches preset Night switching time, into Night,
When the detection module detects that the count down time reaches, exits the Night and enter the target context mould
Formula;
The detection module, when being additionally operable to be switched on again after detecting the mobile terminal shutdown, if the contextual model after booting
For the Night, then detect whether the count down time reaches;
Whether the detection module, the remaining time for being additionally operable to detection countdown are less than pre-set time values;
The display module is additionally operable to when the detection module detects that the remaining time of countdown is less than pre-set time values,
Preset prompt tone is sent out, to remind count down time described in the user that will reach.
5. device as claimed in claim 4, which is characterized in that described device further includes:
Command reception module is used for during countdown, when receiving the countdown reset indication of user's triggering;
The display module is additionally operable to receive the countdown reset indication of user's triggering when described instruction receiving module
When, show countdown setting interface;
The parameter acquisition module is additionally operable to obtain the count down parameter that the user resets at countdown setting interface;
The countdown module is additionally operable to when the count down parameter of resetting includes count down time, according to the countdown of resetting
Time restarts countdown;
The contextual model switch mode is additionally operable to, when the count down time of the resetting reaches, exit the Night
And enter the target context pattern;
The contextual model handover module is additionally operable to, when the count down parameter of the resetting includes target context pattern, work as institute
When stating count down time arrival, exits the Night and enter the target context pattern of resetting;
The countdown module is additionally operable to when the count down parameter of the resetting include count down time and target context pattern
When, countdown is restarted according to the count down time of the resetting;
The contextual model handover module is additionally operable to, when the count down time of the resetting reaches, exit the Night
And enter the target context pattern of the resetting.
6. device as claimed in claim 5, which is characterized in that the display module includes:
Presentation of information submodule, for showing that prompt message is arranged in countdown, in terms of prompting and inquire the user whether to falling
When be configured;
The setting instruction that prompt message triggers is arranged according to the countdown for receiving the user in command reception submodule;
Interface display submodule, if showing countdown setting interface for setting instruction to determine that setting instructs;
Described information display sub-module cancels the display meter if being additionally operable to the setting instruction to refuse that instruction is arranged
When prompt message is set.
7. a kind of mobile terminal, which is characterized in that the mobile terminal includes the shifting as described in claim 4 to 6 any one
Dynamic terminal scene mode switching device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510420458.7A CN105072258B (en) | 2015-07-16 | 2015-07-16 | Scene modes of mobile terminal switching method, device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510420458.7A CN105072258B (en) | 2015-07-16 | 2015-07-16 | Scene modes of mobile terminal switching method, device and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105072258A CN105072258A (en) | 2015-11-18 |
CN105072258B true CN105072258B (en) | 2018-09-11 |
Family
ID=54501533
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510420458.7A Active CN105072258B (en) | 2015-07-16 | 2015-07-16 | Scene modes of mobile terminal switching method, device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105072258B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105376408B (en) * | 2015-11-19 | 2019-02-01 | 广东小天才科技有限公司 | A kind of setting method and system of terminal sleep mode |
CN105847551A (en) * | 2016-03-25 | 2016-08-10 | 乐视控股(北京)有限公司 | Volume prompting method and apparatus by using alarm clock and cell phone |
CN105898079A (en) * | 2016-06-24 | 2016-08-24 | 成都中科创达软件有限公司 | Profile switching method |
CN108491285B (en) * | 2018-02-23 | 2021-08-06 | Oppo广东移动通信有限公司 | Data protection method applied to electronic equipment test and related product |
CN108958300B (en) * | 2018-06-26 | 2023-06-20 | 北京小米移动软件有限公司 | Tripod head control method and device |
CN110244888A (en) * | 2019-06-11 | 2019-09-17 | 惠州Tcl移动通信有限公司 | A kind of setting method of behavior pattern, device, storage medium and terminal |
CN110611736A (en) * | 2019-09-19 | 2019-12-24 | 深圳市亿道数码技术有限公司 | Controllable dormancy method and system based on Android system |
CN110782635A (en) * | 2019-10-26 | 2020-02-11 | 深圳市童心造物科技有限公司 | Eyesight protection system and using method thereof |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101859554A (en) * | 2009-04-10 | 2010-10-13 | 厦门高德软件有限公司 | Method and device for determining screen display mode |
CN103258038A (en) * | 2013-05-17 | 2013-08-21 | 广州市动景计算机科技有限公司 | Method and device for synchronizing display modes between browser and webpage |
CN103491258A (en) * | 2013-10-08 | 2014-01-01 | 锤子科技(北京)有限公司 | Mute timing method, device and mobile terminal |
CN103841265A (en) * | 2014-02-21 | 2014-06-04 | 厦门美图之家科技有限公司 | Mode control method for mobile terminal system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9841822B2 (en) * | 2011-06-28 | 2017-12-12 | Guangzhou Ucweb Computer Technology Co., Ltd. | Method for operating mobile device using vibration sensor |
-
2015
- 2015-07-16 CN CN201510420458.7A patent/CN105072258B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101859554A (en) * | 2009-04-10 | 2010-10-13 | 厦门高德软件有限公司 | Method and device for determining screen display mode |
CN103258038A (en) * | 2013-05-17 | 2013-08-21 | 广州市动景计算机科技有限公司 | Method and device for synchronizing display modes between browser and webpage |
CN103491258A (en) * | 2013-10-08 | 2014-01-01 | 锤子科技(北京)有限公司 | Mute timing method, device and mobile terminal |
CN103841265A (en) * | 2014-02-21 | 2014-06-04 | 厦门美图之家科技有限公司 | Mode control method for mobile terminal system |
Also Published As
Publication number | Publication date |
---|---|
CN105072258A (en) | 2015-11-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105072258B (en) | Scene modes of mobile terminal switching method, device and mobile terminal | |
US11353956B2 (en) | Methods of direct manipulation of multi-layered user interfaces | |
JP6640909B2 (en) | Theme display method and related devices | |
CN106201219B (en) | The quick call method of function of application and system | |
JP6211721B2 (en) | Button interaction method, apparatus, program, and recording medium | |
CN112153283B (en) | Shooting method and device and electronic equipment | |
EP3719623A1 (en) | Application icon display method, terminal, and computer readable storage medium | |
CN109643217A (en) | By based on equipment, method and user interface close and interacted based on the input of contact with user interface object | |
EP2669784A1 (en) | Mobile terminal and control method thereof | |
EP3299946B1 (en) | Method and device for switching environment picture | |
CN106201249B (en) | Display method and display device of notification information | |
CN106325663B (en) | Mobile terminal and its screenshotss method | |
WO2020243648A1 (en) | User interfaces for managing a local network | |
CN112445407B (en) | Display method and electronic device | |
US20230152956A1 (en) | Wallpaper display control method and apparatus and electronic device | |
US20240184417A1 (en) | Application icon display method and apparatus, and electronic device | |
CN108932093A (en) | Split screen application switching method, device, storage medium and electronic equipment | |
CN102929444A (en) | Man-machine interaction method and device | |
CN113709306B (en) | Session processing method and device and electronic equipment | |
CN105549857B (en) | A kind of control method and electric terminal of electric terminal | |
CN114296853A (en) | Control method and device of dynamic desktop, storage medium and electronic device | |
CN113783998B (en) | Alarm clock management method and device, electronic equipment and readable storage medium | |
CN105068645B (en) | The method for information display and intelligent watch of a kind of intelligent watch | |
CN113760170A (en) | APP page quick jump method, device, equipment and medium | |
CN113703887A (en) | Application reminding method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18 Patentee before: Guangdong Opel Mobile Communications Co., Ltd. |