CN105072258A - Mobile terminal profile switching method, apparatus, and mobile terminal - Google Patents

Mobile terminal profile switching method, apparatus, and mobile terminal Download PDF

Info

Publication number
CN105072258A
CN105072258A CN201510420458.7A CN201510420458A CN105072258A CN 105072258 A CN105072258 A CN 105072258A CN 201510420458 A CN201510420458 A CN 201510420458A CN 105072258 A CN105072258 A CN 105072258A
Authority
CN
China
Prior art keywords
countdown
count down
down time
module
night
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510420458.7A
Other languages
Chinese (zh)
Other versions
CN105072258B (en
Inventor
李明亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510420458.7A priority Critical patent/CN105072258B/en
Publication of CN105072258A publication Critical patent/CN105072258A/en
Application granted granted Critical
Publication of CN105072258B publication Critical patent/CN105072258B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a mobile terminal profile switching method, a switching apparatus, and a mobile terminal. The method includes: when it is detected that the mobile terminal is in a night mode, a countdown setting interface is displayed; countdown parameters set on the countdown setting interface by users are obtained, and the countdown parameters comprise a countdown time and a target profile; countdown is realized according to the countdown time by employing a real-time clock module; and when it is detected that the countdown time arrives, the night mode is quitted, and the entry to the target profile is realized. According to the method, the apparatus, and the mobile terminal, when any countdown time defined by the users arrives, the current profile can be switched to the target profile set by the users; and compared with the prior art, the flexibility of the switching of profiles can be improved, and the operation convenience of the mobile terminal is improved.

Description

Scene modes of mobile terminal changing method, device and mobile terminal
Technical field
The invention belongs to mobile communication technology field, particularly relate to a kind of scene modes of mobile terminal changing method, device and mobile terminal.
Background technology
Along with the fast development of mobile communication technology and related electronic products, smart mobile phone, panel computer etc. have goed deep into the life of people, become a requisite part in people's life.Due to the portability that mobile terminal has, increasing user habit lies on a bed after turning off the light evening use mobile terminal.In order to meet the needs that people use night, Night is developed as a kind of contextual model.Mobile terminal, when entering Night, adjusts the settings such as desktop background, system brightness, font color, automatically to make user more comfortable with eye.Night can protect the eyes of user under the environment that light is more weak; if but user forgets before departing from the more weak environment of light and exits Night; Deng when needing to exit Night under the environment being in high light line; owing to being difficult to see screen clearly under high light line, now exiting Night again and then operate comparatively difficulty.
For solving the problems of the technologies described above in prior art, the following two kinds of modes of general employing: 1, preset time period, mobile terminal enters Night in the start time of preset time period automatically, exits Night in the finish time of preset time period; 2, light sensor is utilized automatically to enter or exit Night.
But the time period set in above-mentioned first kind of way may not meet with user's use habit and scene, cannot adapt to the needs of user's use habit and scene changes, lack flexibility.The above-mentioned second way is easily by the impact of external environment, particularly when extraneous light generation frequent variations, as when night, spot used, may because interim open and close lamp switches different contextual models repeatedly, affect the normal use of mobile phone, make troubles on the contrary the operation of user.
Summary of the invention
The invention provides a kind of scene modes of mobile terminal changing method, device and mobile terminal, by when user-defined any count down time arrives, exit Night go forward side by side access customer arrange target context pattern, the flexibility that contextual model switches can be improved, and improve the convenience of mobile terminal operation.
First aspect present invention provides a kind of scene modes of mobile terminal changing method, comprising: when detecting that mobile terminal enters Night, and display countdown arranges interface; Obtain user arranges interface setting count down parameter in described countdown, described count down parameter comprises count down time and target context pattern; Utilize real-time clock module, carry out countdown according to described count down time; When detecting that described count down time arrives, exiting described Night and entering described target context pattern.
In conjunction with first aspect, in the first possible implementation of first aspect, describedly carry out countdown and described when detecting that described count down time arrives according to described count down time, exit described Night and enter between described target context pattern, comprise: when starting shooting again after the shutdown of described mobile terminal being detected, if the contextual model after start is described Night, then detects described count down time and whether arrive.
In conjunction with the first possible implementation of first aspect, in the implementation that the second of first aspect is possible, describedly carry out countdown and described when detecting that described count down time arrives according to described count down time, exit described Night and enter between described target context pattern, also comprise: when detecting that the remaining time of countdown is less than pre-set time values, display reminding information, is about to remind count down time described in described user arrive.
In conjunction with the first possible implementation of first aspect, in the third possible implementation of first aspect, described method also comprises: during countdown, when receiving the countdown reset indication that described user triggers, showing described countdown and arranging interface; Obtain described user arranges interface replacement count down parameter in described countdown; When the count down parameter reset comprises count down time, the count down time according to resetting restarts countdown, when the count down time of described replacement arrives, exits described Night and enters described target context pattern; When the count down parameter of described replacement comprises target context pattern, when described count down time arrives, exit described Night and enter the target context pattern of replacement; When the count down parameter of described replacement comprises count down time and target context pattern, count down time according to described replacement restarts countdown, when the count down time of described replacement arrives, exit described Night and enter the target context pattern of described replacement.
In conjunction with the first possible implementation of first aspect, in the 4th kind of possible implementation of first aspect, described display countdown arranges interface and comprises: display countdown arranges information, to point out and to inquire whether described user is arranged countdown; Receive described user according to described countdown arrange information trigger instruction is set; If instruction is set described instruction is set for determining, then show described countdown and interface is set; If arranging instruction described is that refusal arranges instruction, then cancel the described countdown of display and arrange information and do not show described countdown and arrange interface.
Second aspect present invention provides a kind of scene modes of mobile terminal switching device shifter, comprising: detection module, whether enters module at night for detecting mobile terminal; Display module, for when described detection module detects that mobile terminal enters Night, display countdown arranges interface; Parameter acquisition module, for obtain user described countdown arrange interface arrange count down parameter, described count down parameter comprises count down time and target context pattern; Countdown module, for utilizing real-time clock module, carries out countdown according to described count down time; Whether described detection module, also arrive for detecting described count down time; Contextual model handover module, for when described detection module detects that described count down time arrives, exits described Night and enters described target context pattern.
In conjunction with second aspect, in the first possible implementation of second aspect, described detection module, also for when starting shooting after the shutdown of described mobile terminal being detected again, if the contextual model after start is described Night, then detects described count down time and whether arrive.
In conjunction with the first possible implementation of second aspect, in the implementation that the second of second aspect is possible, described detection module, whether the remaining time also for detecting countdown is less than pre-set time values; Described display module, also for when described detection module detects that the remaining time of countdown is less than pre-set time values, display reminding information, is about to remind count down time described in described user arrive.
In conjunction with the first possible implementation of second aspect, in the third possible implementation of second aspect, described device also comprises: command reception module, for during countdown, when receiving the countdown reset indication of described user triggering; Described display module, also for receive when described command reception module described user trigger countdown reset indication time, show described countdown and interface be set; Described parameter acquisition module, also for obtain described user described countdown arrange interface reset count down parameter; Described countdown module, time also for comprising count down time when the count down parameter reset, the count down time according to resetting restarts countdown; Described contextual model switch mode, also for when the count down time of described replacement arrives, exits described Night and enters described target context pattern; Described contextual model handover module, also for when the count down parameter of described replacement comprises target context pattern, when described count down time arrives, exits described Night and enters the target context pattern of replacement; Described countdown module, time also for comprising count down time and target context pattern when the count down parameter of described replacement, the count down time according to described replacement restarts countdown; Described contextual model handover module, also for when the count down time of described replacement arrives, exits described Night and enters the target context pattern of described replacement.
In conjunction with the first possible implementation of second aspect, in the 4th kind of possible implementation of second aspect, described display module comprises: information displaying submodule, arranges information for showing countdown, to point out and to inquire whether described user is arranged countdown; Command reception submodule, for receive described user according to described countdown arrange information trigger instruction is set; Interface display submodule, if arrange instruction and arrange instruction for described for determining, then shows described countdown and arranges interface; Described information displaying submodule, if also to arrange instruction be that refusal arranges instruction for described, then cancel the described countdown of display and arranges information.
Third aspect present invention provides a kind of mobile terminal, comprises above-mentioned scene modes of mobile terminal switching device shifter.
From the invention described above embodiment, the present invention is by when mobile terminal enters Night, display countdown arranges interface, obtain user and the count down time and target context pattern that interface arranges arbitrarily is set in countdown, utilize real-time clock module, countdown is carried out according to count down time, when detecting that count down time arrives, exit Night and enter target context pattern, make mobile terminal can according to the actual needs of user when any count down time that user is arranged arrives, exit Night to go forward side by side other plot Mode that access customer specifies, compared to prior art, the present invention can improve the flexibility that contextual model switches, more meet the actual demand of user, to use the bringing great convenience property of user to mobile terminal, greatly improve the operating experience of user.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the realization flow schematic diagram of the scene modes of mobile terminal changing method that one embodiment of the invention provides;
Fig. 2 is the realization flow schematic diagram of scene modes of mobile terminal changing method in the present invention one practical application example;
Fig. 3 is the structural representation of the scene modes of mobile terminal switching device shifter that one embodiment of the invention provides;
Fig. 4 is the structural representation of the scene modes of mobile terminal switching device shifter that further embodiment of this invention provides.
Embodiment
For making goal of the invention of the present invention, feature, advantage can be more obvious and understandable, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, and not all embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Mobile terminal in the scene modes of mobile terminal changing method that the embodiment of the present invention provides can be, but not limited to comprise: smart mobile phone, notebook, panel computer, wearing smart machine etc.For ease of describing, following mobile terminal is for mobile phone.
Refer to accompanying drawing 1, the realization flow schematic diagram of the scene modes of mobile terminal changing method that accompanying drawing 1 provides for one embodiment of the invention, mainly comprises the following steps S101 to step S104:
S101, when detecting that mobile terminal enters Night, display countdown interface is set.
Understandably, the Night switching command that mobile phone can trigger according to user, enters Night; Or, when system time arrives Night switching time of presetting, enter Night.
When detecting that mobile phone enters Night, show preset countdown and interface is set, make user arrange interface by this countdown and arrange count down parameter, this count down parameter can be, but not limited to comprise: wish that mobile phone switches the target context pattern entered after count down time and count down time arrive.
Further, in a practical application example, as shown in Figure 2, the display countdown in step S101 arranges the concrete further comprising the steps of S1011 to S1014 in interface:
S1011, display countdown arrange information, to point out and to inquire whether user is arranged countdown.
S1012, receive user according to this countdown arrange information trigger instruction is set.
If S1013 this instruction is set instruction is set for determining, then show this countdown and interface be set.
Wherein, this countdown arranges information and can be, but not limited to show by ejecting the mode of window.
If S1014 this to arrange instruction be that refusal arranges instruction, then cancel this countdown of display and information is set does not show this countdown interface is set.
Particularly, this determine to arrange instruction by user click this countdown arrange in information for determining that the button arranged triggers, as "Yes" button.This refusal arrange instruction by user click this countdown arrange in information for refuse arrange button trigger, as "No" button.Or this refusal arranges instruction also to carry out by user initialize operations that other exit setting and trigger, as pressing returns page up shortcut, clicks this countdown in screen and arrange other viewing areas outside the viewing area of information etc.Or, exceed preset time period, if do not receive user trigger instruction is set, then default user trigger refusal instruction is set.When this arrange instruction be refusal instruction is set time, mobile phone does not exit this Night.
S102, acquisition user arrange the count down parameter of interface setting in this countdown, this count down parameter comprises count down time and target context pattern.
This count down time is arranged by the mode of virtual or physical button input, or arranges in this countdown in the alternative time (0 hour 0 point 0 second ~ 24 hours 0 point and 0 second) that shows in interface and select to arrange.When this count down time specifically can comprise, the combination in any of minute, second, that is, user can select backed off after random Night at any time.
Obtain user and the target context pattern selected the alternative contextual model of interface display is set from this countdown.This target context pattern can be, but not limited to comprise: any one in interruption-free pattern, offline mode, mode standard, mode of operation, conference model, outdoor pattern and other self-defined patterns.Understandably, if the non-selected target context pattern of user, then give tacit consent to and mode standard is set to target context pattern, that is, when mobile phone exits Night, automatic Engage of standard pattern; Or, will the contextual model before Night be entered as target context pattern.
S103, utilize real-time clock module, carry out countdown according to this count down time.
The count down time that user is arranged is sent to real-time clock (Real-TimeClock, RTC) module, and instruction RTC module starts to carry out countdown according to this count down time.
S104, when detecting that this count down time arrives, exiting this Night and entering this target context pattern.
When detecting that this count down time arrives, RTC module sends interrupt signal, triggered scenario mode switching operation, mobile phone exit Night go forward side by side access customer countdown arrange interface arrange target context pattern.By the target context pattern exiting the laggard access customer of Night and specify, contextual model can be allowed to switch and to have more flexibility, more meet the actual demand of user, improve the convenience of mobile phone operation, such as lie on a bed before user sleeps use mobile phone scene under, can according to user be arranged on exit Night after directly enter offline mode, user can be helped like this to save the operation again mobile phone being switched to offline mode by situation of presence pattern, even and if user falls asleep and also need not worry because not adjusting mobile phone scene mode by unnecessary incoming call disturbance.
Further, in a practical application example, as shown in Figure 2, between step S103 and step S104, comprise step S1031: when starting shooting again after the shutdown of this mobile terminal being detected, if the contextual model after start is Night, then detects described count down time and whether arrive.
Owing to being carry out countdown by RTC module, even if the situation of abnormal shutdown appears in mobile phone, countdown also can not be interrupted, thus can not affect the normal switching of contextual model.In countdown process, mobile phone is likely according to the shutdown command shutdown that user triggers, and instruction of restarting is restarted, or because of battery, system crash and occur abnormal shut down or restart.After mobile phone is started shooting again, if the contextual model of mobile phone is Night, whether the count down time that then whether the front user of detection shutdown is provided with countdown and setting arrives, if user is provided with countdown and the count down time arranged arrives, then switching situation of presence pattern is the target context pattern that user is arranged, if do not arrive, then keeps Night, until RTC module sends interrupt signal, then perform step S104.
Further, in a practical application example, as shown in Figure 2, between step S103 and step S104, also comprise step S1032: when detecting that the remaining time of countdown is less than pre-set time values, display reminding information, is about to arrive with this count down time of reminding user.
When detecting that the remaining time of countdown is less than pre-set time values, RTC module sends signal, and trigger prompts information displaying operates.Wherein, display reminding information can be, but not limited to comprise with one or more combinations under type: display reminding Word message, send preset prompt tone and driving photoflash lamp blinking light.
Further, in a practical application example, further comprising the steps of S105 and S109 of the method:
S105, during countdown, when receive user trigger countdown reset indication time, show this countdown and interface be set.
Particularly, this countdown reset indication by clicking trigger button in screen, press self-defined shortcut and trigger.Before countdown terminates, when receiving the countdown reset indication that user triggers, display countdown arranges interface, and user can arrange in this countdown any one or whole selecting to reset in count down time and target context pattern in interface.
S106, acquisition user arrange the count down parameter of interface replacement in this countdown.
Obtain user and arrange in countdown the count down parameter that interface resets, the count down parameter reset can comprise: count down time or target context pattern or count down time and target context pattern.
S107, when reset count down parameter comprise count down time time, according to reset count down time restart countdown, when reset count down time arrive time, exit Night and enter target context pattern.
Particularly, when user has only reset count down time, the count down time reset is sent to RTC module, and instruction RTC module restarts countdown, RTC module is when detecting that the count down time reset arrives, send interrupt signal, triggered scenario mode switching operation, make mobile phone exit Night and enter the target context pattern of former setting.
S108, when the count down parameter reset comprises target context pattern, when count down time arrives, exit Night and enter the target context pattern of replacement.
Particularly, when user has only reset target context pattern, then, when detecting that former count down time arrives, exiting Night, having entered the target context pattern reset.
S109, when the count down parameter reset comprises count down time and target context pattern, the count down time according to resetting restarts countdown, when the count down time reset arrives, exits Night and enters the target context pattern of replacement.
Particularly, when user has reset count down time and target context pattern, the count down time reset is sent to RTC module, and instruction RTC module restarts countdown, RTC module, when detecting that the count down time reset arrives, sends interrupt signal, triggered scenario mode switching operation, make mobile phone exit Night, enter the target context pattern reset.
Understandably, during user resets count down parameter, former countdown can suspend and also can not suspend.
Further, in during countdown, if receive the termination countdown instruction of user's triggering, then stop countdown.This termination countdown instruction can trigger because of user's manual switchover contextual model, the button clicking the termination countdown in screen or other preset terminating operations.When receiving the termination countdown instruction that user triggers, the countdown of instruction RTC end-of-module also removes the count down time stored.
The scene modes of mobile terminal changing method that the present embodiment provides, by when mobile terminal enters Night, display countdown arranges interface, obtain user and the count down time and target context pattern that interface arranges arbitrarily is set in countdown, utilize real-time clock module, countdown is carried out according to count down time, when detecting that count down time arrives, exit Night and enter target context pattern, make mobile terminal can according to the actual needs of user when any count down time that user is arranged arrives, exit Night to go forward side by side other plot Mode that access customer specifies, compared to prior art, the present invention can improve the flexibility that contextual model switches, more meet the actual demand of user, to use the bringing great convenience property of user to mobile terminal, greatly improve the operating experience of user.
Refer to accompanying drawing 3, accompanying drawing 3 is the structural representations of the scene modes of mobile terminal switching device shifter that one embodiment of the invention provides, and for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.The scene modes of mobile terminal switching device shifter of accompanying drawing 3 example can be the executive agent of the scene modes of mobile terminal changing method that previous embodiment provides, and it can be mobile terminal or one of them functional module.The scene modes of mobile terminal switching device shifter of accompanying drawing 3 example, mainly comprises: detection module 21, display module 22, parameter acquisition module 23, countdown module 24 and contextual model handover module 25.
Wherein, whether detection module 21, enter module at night for detecting mobile terminal.
Display module 22, for when detection module 21 detects that mobile terminal enters Night, display countdown arranges interface.
Understandably, the Night switching command that contextual model handover module 25 can trigger according to user, enters Night; Or, when system time arrives Night switching time of presetting, enter Night.
Particularly, when detection module 21 detects that mobile phone enters Night, display module 22 shows preset countdown and arranges interface, make user arrange interface by this countdown and arrange count down parameter, this count down parameter can be, but not limited to comprise: wish that mobile phone switches the target context pattern entered after count down time and count down time arrive.
Parameter acquisition module 23, for obtain user this countdown arrange interface arrange count down parameter, this count down parameter comprises count down time and target context pattern.
Particularly, this count down time is arranged by the mode of virtual or physical button input, or arranges in this countdown in the alternative time (0 hour 0 point 0 second ~ 24 hours 0 point and 0 second) that shows in interface and select to arrange.When this count down time specifically can comprise, the combination in any of minute, second, that is, user can select backed off after random Night at any time.
Parameter acquisition module 23 obtains user and arranges from this countdown the target context pattern selected the alternative contextual model of interface display.This target context pattern can be, but not limited to comprise: any one in interruption-free pattern, offline mode, mode standard, mode of operation, conference model, outdoor pattern and other self-defined patterns.Understandably, if the non-selected target context pattern of user, then parameter acquisition module 23 is given tacit consent to mode standard is set to target context pattern, that is, when mobile phone exits Night, and automatic Engage of standard pattern; Or, will the contextual model before Night be entered as target context pattern.
Countdown module 24, for utilizing real-time clock module, carries out countdown according to this count down time.
Particularly, the count down time that user is arranged is sent to RTC module by countdown module 24, and instruction RTC module starts to carry out countdown according to this count down time.
Whether detection module 21, also arrive for detecting this count down time.
Contextual model handover module 25, for when detection module 21 detects that this count down time arrives, exits this Night and enters this target context pattern.
Particularly, RTC module arrives at this count down time and sends interrupt signal, detection module 21 is when the interrupt signal that RTC module sends being detected, triggered scenario mode switching operation, by contextual model handover module 25 exit Night go forward side by side access customer countdown arrange interface arrange target context pattern.By the target context pattern exiting the laggard access customer of Night and specify, contextual model can be allowed to switch and to have more flexibility, more meet the actual demand of user, improve the convenience of mobile phone operation, such as lie on a bed before user sleeps use mobile phone scene under, can according to user be arranged on exit Night after directly enter offline mode, user can be helped like this to save the operation again mobile phone being switched to offline mode by situation of presence pattern, even and if user falls asleep and also need not worry because not adjusting mobile phone scene mode by unnecessary incoming call disturbance.
It should be noted that, in the execution mode of the scene modes of mobile terminal switching device shifter of above accompanying drawing 3 example, the division of each functional module only illustrates, can be as required in practical application, the facility of the such as configuration requirement of corresponding hardware or the realization of software is considered, and above-mentioned functions distribution is completed by different functional modules, the internal structure by scene modes of mobile terminal switching device shifter is divided into different functional modules, to complete all or part of function described above.And in practical application, the corresponding functional module in the present embodiment can be by corresponding hardware implementing, also can perform corresponding software by corresponding hardware and complete; Each embodiment that this specification provides all can apply foregoing description principle.
From the scene modes of mobile terminal switching device shifter of above-mentioned accompanying drawing 3 example, the present invention is by when mobile terminal enters Night, display countdown arranges interface, obtain user and the count down time and target context pattern that interface arranges arbitrarily is set in countdown, utilize real-time clock module, countdown is carried out according to count down time, when detecting that count down time arrives, exit Night and enter target context pattern, make mobile terminal can according to the actual needs of user when any count down time that user is arranged arrives, exit Night to go forward side by side other plot Mode that access customer specifies, compared to prior art, the present invention can improve the flexibility that contextual model switches, more meet the actual demand of user, to use the bringing great convenience property of user to mobile terminal, greatly improve the operating experience of user.
Refer to accompanying drawing 4, accompanying drawing 4 is the structural representations of the scene modes of mobile terminal switching device shifter that further embodiment of this invention provides, and for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.The scene modes of mobile terminal switching device shifter of accompanying drawing 4 example can be the executive agent of the scene modes of mobile terminal changing method that previous embodiment provides, and it can be mobile terminal or one of them functional module.The scene modes of mobile terminal switching device shifter of accompanying drawing 4 example, mainly comprise: detection module 31, display module 32, parameter acquisition module 33, countdown module 34, contextual model handover module 35 and command reception module 36, wherein display module 32 comprises further: information displaying submodule 321, command reception submodule 322 and interface display submodule 323.Each functional module is described in detail as follows:
Wherein, whether detection module 31, enter module at night for detecting mobile terminal.
Display module 32, for when detection module 31 detects that mobile terminal enters Night, display countdown arranges interface.
Understandably, the Night switching command that contextual model handover module 35 can trigger according to user, enters Night; Or, when system time arrives Night switching time of presetting, enter Night.
Particularly, when detection module 31 detects that mobile phone enters Night, display module 32 shows preset countdown and arranges interface, make user arrange interface by this countdown and arrange count down parameter, this count down parameter can be, but not limited to comprise: wish that mobile phone switches the target context pattern entered after count down time and count down time arrive.
Parameter acquisition module 33, for obtain user this countdown arrange interface arrange count down parameter, this count down parameter comprises count down time and target context pattern.
Particularly, this count down time is arranged by the mode of virtual or physical button input, or arranges in this countdown in the alternative time (0 hour 0 point 0 second ~ 24 hours 0 point and 0 second) that shows in interface and select to arrange.When this count down time specifically can comprise, the combination in any of minute, second, that is, user can select backed off after random Night at any time.
Parameter acquisition module 33 obtains user and arranges from this countdown the target context pattern selected the alternative contextual model of interface display.This target context pattern can be, but not limited to comprise: any one in interruption-free pattern, offline mode, mode standard, mode of operation, conference model, outdoor pattern and other self-defined patterns.Understandably, if the non-selected target context pattern of user, then parameter acquisition module 23 is given tacit consent to mode standard is set to target context pattern, that is, when mobile phone exits Night, and automatic Engage of standard pattern; Or, will the contextual model before Night be entered as target context pattern.
Countdown module 34, for utilizing real-time clock module, carries out countdown according to this count down time.
Particularly, the count down time that user is arranged is sent to RTC module by countdown module 34, and instruction RTC module starts to carry out countdown according to this count down time.
Whether detection module 31, also arrive for detecting this count down time.
Contextual model handover module 35, for when detection module 31 detects that this count down time arrives, exits this Night and enters this target context pattern.
Particularly, RTC module arrives at this count down time and sends interrupt signal, detection module 31 is when the interrupt signal that RTC module sends being detected, triggered scenario mode switching operation, by contextual model handover module 35 exit Night go forward side by side access customer countdown arrange interface arrange target context pattern.By the target context pattern exiting the laggard access customer of Night and specify, contextual model can be allowed to switch and to have more flexibility, more meet the actual demand of user, improve the convenience of mobile phone operation, such as lie on a bed before user sleeps use mobile phone scene under, can according to user be arranged on exit Night after directly enter offline mode, user can be helped like this to save the operation again mobile phone being switched to offline mode by situation of presence pattern, even and if user falls asleep and also need not worry because not adjusting mobile phone scene mode by unnecessary incoming call disturbance.
Whether detection module 31, also for when starting shooting after the shutdown of this mobile terminal being detected again, if the contextual model after start is this Night, then detects this count down time and arriving.
Particularly, owing to being carry out countdown by RTC module, even if the situation of abnormal shutdown appears in mobile phone, countdown also can not be interrupted, thus can not affect the normal switching of contextual model.In countdown process, mobile phone is likely according to the shutdown command shutdown that user triggers, and instruction of restarting is restarted, or because of battery, system crash and occur abnormal shut down or restart.After mobile phone is started shooting again, if detection module 31 detection module detects that the contextual model of mobile phone is Night, whether the count down time that then whether the front user of detection shutdown is provided with countdown and setting arrives, if user is provided with countdown and the count down time arranged arrives, then switching situation of presence pattern by contextual model handover module 35 is the target context pattern that user is arranged.
Detection module 31, whether the remaining time also for detecting countdown is less than pre-set time values.
Display module 32, also for when detection module 31 detects that the remaining time of countdown is less than pre-set time values, display reminding information, is about to remind this count down time of this user arrive.
Particularly, detection module 31 is when RTC module being detected because the signal sent when being less than pre-set time values the remaining time of countdown being detected, and trigger prompts information displaying operates, and shows preset information by display module.Wherein, display reminding information can be, but not limited to comprise with one or more combinations under type: display reminding Word message, send preset prompt tone and driving photoflash lamp blinking light.
Command reception module 36, for during countdown, when receiving the countdown reset indication of this user triggering.
Display module 32, also for receive when this command reception module this user trigger countdown reset indication time, show this countdown and interface be set.
Particularly, this countdown reset indication by clicking trigger button in screen, press self-defined shortcut and trigger.Before countdown terminates, when command reception module 36 receives the countdown reset indication of user's triggering, display module 32 shows countdown and arranges interface, and user can arrange in this countdown any one or whole selecting to reset in count down time and target context pattern in interface.
Parameter acquisition module 33, also for obtain this user this countdown arrange interface reset count down parameter.
Particularly, parameter acquisition module 33 obtains user and arranges in countdown the count down parameter that interface resets, and the count down parameter reset can comprise: count down time or target context pattern or count down time and target context pattern.
Countdown module 34, time also for comprising count down time when the count down parameter reset, the count down time according to resetting restarts countdown.
Contextual model switch mode 35, also for when the count down time of this replacement arrives, exits this Night and enters this target context pattern.
Contextual model handover module 35, also for when the count down parameter of this replacement comprises target context pattern, when this count down time arrives, exits this Night and enters the target context pattern of replacement.
Countdown module 34, time also for comprising count down time and target context pattern when the count down parameter of this replacement, the count down time according to this replacement restarts countdown.
Contextual model handover module 35, also for when the count down time of this replacement arrives, exits this Night and enters the target context pattern of this replacement.
Particularly, when user has only reset count down time, the count down time reset is sent to RTC module by countdown module 34, and instruction RTC module restarts countdown, RTC module is when detecting that the count down time reset arrives, send interrupt signal, triggered scenario mode switching operation, make contextual model handover module 35 exit Night and enter the target context pattern of former setting.
When user has only reset target context pattern, then when detecting that former count down time arrives, contextual model handover module 35 exits Night, enters the target context pattern reset.
When user has reset count down time and target context pattern, the count down time reset is sent to RTC module by countdown module 34, and instruction RTC module restarts countdown, RTC module is when detecting that the count down time reset arrives, send interrupt signal, triggered scenario mode switching operation, makes contextual model handover module 35 exit Night, enters the target context pattern reset.
Understandably, during user resets count down parameter, former countdown can suspend and also can not suspend.
Information displaying submodule 321, arranges information for showing countdown, to point out and to inquire whether this user is arranged countdown.
Command reception submodule 322, for receive this user according to this countdown arrange information trigger instruction is set.
Interface display submodule 323, if arrange instruction and arrange instruction for this for determining, then shows this countdown and arranges interface.
Information displaying submodule 321, if also to arrange instruction be that refusal arranges instruction for this, then cancel this countdown of display and arranges information.
Particularly, information displaying submodule 321 can be, but not limited to show this countdown by the mode of ejection bullet window and arranges information.This determine to arrange instruction by user click this countdown arrange in information for determining that the button arranged triggers, as "Yes" button.This refusal arrange instruction by user click this countdown arrange in information for refuse arrange button trigger, as "No" button.Or this refusal arranges instruction also to carry out by user initialize operations that other exit setting and trigger, as pressing returns page up shortcut, clicks this countdown in screen and arrange other viewing areas outside the viewing area of information etc.Or, exceed preset time period, if do not receive user trigger instruction is set, then default user trigger refusal instruction is set.When this arrange instruction be refusal instruction is set time, mobile phone does not exit this Night.
From the scene modes of mobile terminal switching device shifter of above-mentioned accompanying drawing 4 example, the present invention is by when mobile terminal enters Night, display countdown arranges interface, obtain user and the count down time and target context pattern that interface arranges arbitrarily is set in countdown, utilize real-time clock module, countdown is carried out according to count down time, when detecting that count down time arrives, exit Night and enter target context pattern, make mobile terminal can according to the actual needs of user when any count down time that user is arranged arrives, exit Night to go forward side by side other plot Mode that access customer specifies, compared to prior art, the present invention can improve the flexibility that contextual model switches, more meet the actual demand of user, to use the bringing great convenience property of user to mobile terminal, greatly improve the operating experience of user.
The embodiment of the present invention also provides a kind of mobile terminal, and this mobile terminal comprises the scene modes of mobile terminal switching device shifter that accompanying drawing 3 or accompanying drawing 4 provide.
In several embodiments that the application provides, should be understood that disclosed apparatus and method can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described module, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple module or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or module or communication connection can be electrical, machinery or other form.
The described module illustrated as separating component can or may not be physically separates, and the parts as module display can be or may not be physical module, namely can be positioned at a place, or also can be distributed on multiple mixed-media network modules mixed-media.Some or all of module wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional module in each embodiment of the present invention can be integrated in a processing module, also can be that the independent physics of modules exists, also can two or more module integrations in a module.Above-mentioned integrated module both can adopt the form of hardware to realize, and the form of software function module also can be adopted to realize.
If described integrated module using the form of software function module realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disc or CD etc. various can be program code stored medium.
It should be noted that, for aforesaid each embodiment of the method, in order to easy description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other order or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action and module might not be all that the present invention is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiment.
It is more than the description to a kind of scene modes of mobile terminal changing method provided by the present invention, device and mobile terminal, for one of ordinary skill in the art, according to the thought of the embodiment of the present invention, all will change in specific embodiments and applications, to sum up, this description should not be construed as limitation of the present invention.

Claims (11)

1. a scene modes of mobile terminal changing method, is characterized in that, described method comprises:
When detecting that mobile terminal enters Night, display countdown arranges interface;
Obtain user arranges interface setting count down parameter in described countdown, described count down parameter comprises count down time and target context pattern;
Utilize real-time clock module, carry out countdown according to described count down time;
When detecting that described count down time arrives, exiting described Night and entering described target context pattern.
2. the method for claim 1, is characterized in that, describedly carries out countdown and described when detecting that described count down time arrives according to described count down time, exits described Night and enters between described target context pattern, comprising:
When starting shooting again after the shutdown of described mobile terminal being detected, if the contextual model after start is described Night, then detects described count down time and whether arriving.
3. method as claimed in claim 1 or 2, is characterized in that, describedly carries out countdown and described when detecting that described count down time arrives according to described count down time, exits described Night and enters between described target context pattern, also comprising:
When detecting that the remaining time of countdown is less than pre-set time values, display reminding information, is about to remind count down time described in described user arrive.
4. method as claimed in claim 3, it is characterized in that, described method also comprises:
During countdown, when receiving the countdown reset indication that described user triggers, showing described countdown and interface is set;
Obtain described user arranges interface replacement count down parameter in described countdown;
When the count down parameter reset comprises count down time, the count down time according to resetting restarts countdown, when the count down time of described replacement arrives, exits described Night and enters described target context pattern;
When the count down parameter of described replacement comprises target context pattern, when described count down time arrives, exit described Night and enter the target context pattern of replacement;
When the count down parameter of described replacement comprises count down time and target context pattern, count down time according to described replacement restarts countdown, when the count down time of described replacement arrives, exit described Night and enter the target context pattern of described replacement.
5. method as claimed in claim 4, it is characterized in that, described display countdown arranges interface and comprises:
Display countdown arranges information, to point out and to inquire whether described user is arranged countdown;
Receive described user according to described countdown arrange information trigger instruction is set;
If instruction is set described instruction is set for determining, then show described countdown and interface is set;
If arranging instruction described is that refusal arranges instruction, then cancel the described countdown of display and arrange information and do not show described countdown and arrange interface.
6. a scene modes of mobile terminal switching device shifter, is characterized in that, described device comprises:
Whether detection module, enter module at night for detecting mobile terminal;
Display module, for when described detection module detects that mobile terminal enters Night, display countdown arranges interface;
Parameter acquisition module, for obtain user described countdown arrange interface arrange count down parameter, described count down parameter comprises count down time and target context pattern;
Countdown module, for utilizing real-time clock module, carries out countdown according to described count down time;
Whether described detection module, also arrive for detecting described count down time;
Contextual model handover module, for when described detection module detects that described count down time arrives, exits described Night and enters described target context pattern.
7. whether device as claimed in claim 6, is characterized in that, described detection module, also for when starting shooting after the shutdown of described mobile terminal being detected again, if the contextual model after start is described Night, then detects described count down time and arriving.
8. device as claimed in claim 7, is characterized in that,
Described detection module, whether the remaining time also for detecting countdown is less than pre-set time values;
Described display module, also for when described detection module detects that the remaining time of countdown is less than pre-set time values, display reminding information, is about to remind count down time described in described user arrive.
9. device as claimed in claim 8, it is characterized in that, described device also comprises:
Command reception module, for during countdown, when receiving the countdown reset indication of described user triggering;
Described display module, also for receive when described command reception module described user trigger countdown reset indication time, show described countdown and interface be set;
Described parameter acquisition module, also for obtain described user described countdown arrange interface reset count down parameter;
Described countdown module, time also for comprising count down time when the count down parameter reset, the count down time according to resetting restarts countdown;
Described contextual model switch mode, also for when the count down time of described replacement arrives, exits described Night and enters described target context pattern;
Described contextual model handover module, also for when the count down parameter of described replacement comprises target context pattern, when described count down time arrives, exits described Night and enters the target context pattern of replacement;
Described countdown module, time also for comprising count down time and target context pattern when the count down parameter of described replacement, the count down time according to described replacement restarts countdown;
Described contextual model handover module, also for when the count down time of described replacement arrives, exits described Night and enters the target context pattern of described replacement.
10. device as claimed in claim 9, it is characterized in that, described display module comprises:
Information displaying submodule, arranges information for showing countdown, to point out and to inquire whether described user is arranged countdown;
Command reception submodule, for receive described user according to described countdown arrange information trigger instruction is set;
Interface display submodule, if arrange instruction and arrange instruction for described for determining, then shows described countdown and arranges interface;
Described information displaying submodule, if also to arrange instruction be that refusal arranges instruction for described, then cancel the described countdown of display and arranges information.
11. 1 kinds of mobile terminals, is characterized in that, described mobile terminal comprises the scene modes of mobile terminal switching device shifter as described in claim 6 to 10 any one.
CN201510420458.7A 2015-07-16 2015-07-16 Scene modes of mobile terminal switching method, device and mobile terminal Active CN105072258B (en)

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 true CN105072258A (en) 2015-11-18
CN105072258B 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)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105376408A (en) * 2015-11-19 2016-03-02 广东小天才科技有限公司 Terminal sleep mode setting method and terminal sleep mode setting system
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
CN108491285A (en) * 2018-02-23 2018-09-04 广东欧珀移动通信有限公司 Data guard method and Related product applied to testing for electrical equipment
CN108958300A (en) * 2018-06-26 2018-12-07 北京小米移动软件有限公司 Cloud platform 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 (5)

* Cited by examiner, † Cited by third party
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
US20140113688A1 (en) * 2011-06-28 2014-04-24 Guangzhou Ucweb Computer Technology Co., Ltd. Method for operating mobile device using vibration sensor
CN103841265A (en) * 2014-02-21 2014-06-04 厦门美图之家科技有限公司 Mode control method for mobile terminal system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101859554A (en) * 2009-04-10 2010-10-13 厦门高德软件有限公司 Method and device for determining screen display mode
US20140113688A1 (en) * 2011-06-28 2014-04-24 Guangzhou Ucweb Computer Technology Co., Ltd. Method for operating mobile device using vibration sensor
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

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105376408A (en) * 2015-11-19 2016-03-02 广东小天才科技有限公司 Terminal sleep mode setting method and terminal sleep mode setting system
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
CN108491285A (en) * 2018-02-23 2018-09-04 广东欧珀移动通信有限公司 Data guard method and Related product applied to testing for electrical equipment
CN108491285B (en) * 2018-02-23 2021-08-06 Oppo广东移动通信有限公司 Data protection method applied to electronic equipment test and related product
CN108958300A (en) * 2018-06-26 2018-12-07 北京小米移动软件有限公司 Cloud platform 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

Also Published As

Publication number Publication date
CN105072258B (en) 2018-09-11

Similar Documents

Publication Publication Date Title
CN105072258A (en) Mobile terminal profile switching method, apparatus, and mobile terminal
US9933936B2 (en) Mobile terminal and controlling method thereof
KR101540169B1 (en) Method and device for switching application program of touch screen terminal
US9420180B2 (en) Method and device for switching between double cameras
CN102946469B (en) Voice broadcasting method and device of mobile terminal, and mobile terminal
CN107305458B (en) Method, system and terminal for customizing application software interactive interface
EP4224299A1 (en) Menu display method and apparatus, electronic device, and storage medium
JP2017511947A (en) Button interaction method, apparatus, program, and recording medium
CN105450838B (en) Information processing method and electronic equipment
CN105005387A (en) Application event prompting method for smart watch and smart watch
CN112445407B (en) Display method and electronic device
CN104572215A (en) Method and device for controlling startup and shutdown of intelligent terminal
CN107015626B (en) Terminal control method and terminal control device
WO2018120191A1 (en) Screen display control method and device
CN112286483A (en) Audio playing control method and device and electronic equipment
CN108259660A (en) A kind of information cuing method and device, terminal, readable storage medium storing program for executing
CN108563416A (en) Application display method, device, storage medium and electronic equipment
CN105788565A (en) Brightness adjustment method and device
CN105549857B (en) A kind of control method and electric terminal of electric terminal
CN104063035A (en) Portable camera-simulating mobile terminal shooting method and system
CN105868034A (en) Man-machine interaction method, man-machine interaction device and mobile equipment
CN112416172A (en) Electronic equipment control method and device and electronic equipment
CN104965746B (en) The method and device of quick start
CN107037956A (en) A kind of terminal and its method for switching application
WO2023045921A1 (en) Display method and apparatus, and electronic device

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

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.

CP03 Change of name, title or address