CN103347132A - Method and device for switching modes of mobile terminal - Google Patents

Method and device for switching modes of mobile terminal Download PDF

Info

Publication number
CN103347132A
CN103347132A CN201310291333XA CN201310291333A CN103347132A CN 103347132 A CN103347132 A CN 103347132A CN 201310291333X A CN201310291333X A CN 201310291333XA CN 201310291333 A CN201310291333 A CN 201310291333A CN 103347132 A CN103347132 A CN 103347132A
Authority
CN
China
Prior art keywords
time
prescribed model
mobile terminal
running environment
mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310291333XA
Other languages
Chinese (zh)
Inventor
陈绍锟
张轩哲
李涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201310291333XA priority Critical patent/CN103347132A/en
Publication of CN103347132A publication Critical patent/CN103347132A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method for switching modes of a mobile terminal. The method comprises the steps of receiving the mode setting of the operation environment of a mobile terminal system, wherein the mode setting comprises setting a specific mode and the starting time and/or end time of the specific mode; receiving a starting command on the mode setting; setting broadcast event release through the system interface of the mobile terminal according to the starting time and/or end time of the specific mode; receiving the broadcast event released by the system, judging content notified by the broadcast event, and controlling the operation environment of the mobile terminal system to enter or quit the specific mode if the notified content means to start or end the specific mode. Therefore, the switching of the modes used by the mobile terminal is met under different scenes and different functions. Meanwhile, the invention provides a device for switching the modes of the mobile terminal.

Description

A kind of portable terminal mode switching method and device
Technical field
The present invention relates to the Computer Applied Technology field, particularly relate to a kind of portable terminal mode switching method and device.
Background technology
Along with the development of society, with mobile phone, panel computer etc. be the portable terminal of representative become with we live closely bound up, indispensable a kind of collect communicate by letter, amusement, work etc. be the smart electronics product of one.
Portable terminal has different use patterns, for example: offline mode, silent mode, outdoor pattern, battery saving mode etc.But, these above-mentioned patterns, usually all be the difference of using scene according to the user, the manually switching of implementation pattern, certain function that automatic switchover mode is also arranged, for example: battery saving mode, consider for the user in low electric weight, maximum prolongs standby time, when electric weight low to certain threshold value (user can freely set) time, automatically enable user-defined pattern, prolongs standby time.
When multiple user's scene, the user understands regular switch mode, such as, when liking sleeping, the user switches to energy-saving mode, by communication and the function of surfing the Net etc. of breaking, and realization reduces the power consumption at night, avoid bothering, perhaps wait for various functions such as alarm clock, but above-mentioned functions can only be passed through pre-set threshold in the prior art, the existing electric weight of portable terminal and described threshold value are compared, if the portable terminal electric weight is lower than the threshold value that sets, portable terminal electric weight deficiency then is described, needs to start the battery saving mode that the user sets, reached prolongs standby time.When needs realized that to various functions different modes switch, prior art can not satisfy, so portable terminal use pattern has certain limitation, can not satisfy the user for the mode requirement of different scenes, difference in functionality.
To sum up, how to provide a kind of can be according to different user scene and difference in functionality, the method and apparatus that implementation pattern automaticallyes switch becomes the technical problem that needs to be resolved hurrily.
Summary of the invention
For solving the problems of the technologies described above, the invention provides a kind of portable terminal mode switching method and device, overcome the limitation of portable terminal use pattern in the prior art.
The invention provides a kind of portable terminal mode switching method, comprising: the pattern setting of mobile terminal receive system running environment during this pattern arranges, comprises zero-time and/or the concluding time of setting a prescribed model and this prescribed model; The starting command that reception arranges above-mentioned pattern; According to zero-time and/or the concluding time of described prescribed model, the system interface by portable terminal arranges the broadcast event issue; The broadcast event of receiving system issue is judged the content that broadcast event is notified, if content of announcement is to start or the end prescribed model, the running environment of then controlling mobile terminal system enters or withdraw from prescribed model.
Preferably, the system running environment of described control portable terminal enters prescribed model, comprising: the present mode of record mobile terminal system running environment; Adopt described prescribed model; Determine current time and the duration of described prescribed model between the concluding time, and the beginning countdown; The countdown time arrives, and then sends broadcast event notice, and the content of this notice is for withdrawing from described prescribed model, and the system running environment of controlling portable terminal switches to described present mode.
Preferably, the system running environment of described control portable terminal withdraws from prescribed model and comprises: withdraw from described prescribed model and adopt the system default pattern or adopt another prescribed model according to arranging; Determine the current time of mobile terminal system running environment and the duration between the described prescribed model zero-time, and restart to set countdown for prescribed model; The countdown time arrives, and then sends the broadcast event notice, and the content of this notice starts prescribed model for notice, and the system running environment of control portable terminal enters prescribed model.
Preferably, during the pattern of described mobile terminal system running environment arranges, comprise repetition rate is set; According to this repetition rate, after mobile terminal system running environment withdraws from from prescribed model, after perhaps entering prescribed model, determine to need to change the starting time of mobile terminal system running environment pattern next time, and begin new countdown, treat that this countdown time arrives, then enter the prescribed model of this portable terminal.
Preferably, this portable terminal uses the Android system; The AlarmManager timing of adopting the Android system to provide.
Preferably, during starting command that reception arranges above-mentioned pattern, obtain the time of startup, if the time that should start is in the zero-time of described prescribed model with between the concluding time, system's present mode when then record starts, and switch to the prescribed model that the user arranges.
Preferably, described prescribed model switch also comprises: second count-down device is used for the duration between definite current time and the described setting mode time section starting point, and is that described prescribed model is set countdown, at timing time then, send the prescribed model enabled instruction; Second register is used for receiving the prescribed model enabled instruction that described second timer sends, and when this information of acquisition, record portable terminal present mode is default mode; Described prescribed model switch also receives the prescribed model enabled instruction that described second count-down device sends.
Preferably, if receive the shutdown command that above-mentioned pattern is arranged, then switch to the present mode of mobile terminal system record.
Preferably, after the pattern of mobile terminal receive system running environment arranged, the power-on command of mobile terminal receive system was obtained the available machine time, judged that whether the described available machine time is in zero-time with between the concluding time; If then record present mode, and switch to described prescribed model; If not, then detect the record whether present mode is arranged, the present mode of then recovery record is arranged and empty record, otherwise do not do operation.
Preferably, the pattern of described mobile terminal system running environment comprises: energy-saving mode, offline mode and/or silent mode.
Accordingly, the present invention also provides a kind of portable terminal mode-changeover device, and comprising: pattern arranges receiver, be used for receiving the prescribed model that at least one mobile terminal system running environment arranges, and zero-time and/or the concluding time of this prescribed model; Starter is used for sending starting command, and the above-mentioned pattern of this order startup arranges the pattern setting in the receiver; The broadcast event distributor is used for according to described starting command, obtains zero-time and/or the concluding time of described prescribed model, and by the system interface of portable terminal the broadcast event issue is set; Described broadcast event processor, be used for receiving the broadcast event from described broadcast event distributor issue, and be to start prescribed model or finish prescribed model according to the broadcast event content of announcement, the running environment of control mobile terminal system enters or withdraws from prescribed model.
Preferably, described broadcast event processor comprises: first register, be used for before entering described prescribed model, and the present mode of record mobile terminal system, this present mode namely is considered as the default mode of system; First count-down device is used for calculating current time and the duration of described prescribed model between the concluding time, and the beginning countdown, at timing time then, sends the countdown time to instruction; The default mode switch receives countdown time that described first count-down device sends to instruction, and sets the default mode that the portable terminal pattern is described first recorder trace accordingly.
Preferably, described broadcast event processor comprises: withdraw from mode switch, receive described end prescribed model instruction, and adopt the system default pattern or adopt another prescribed model according to arranging; Second count-down device is used for determining to finish the current time of prescribed model and the duration between the described prescribed model zero-time, and restarts to set countdown for described prescribed model, at timing time then, sends the prescribed model enabled instruction; Described prescribed model switch receives the prescribed model enabled instruction that described second count-down device sends; Second register is used for receiving the prescribed model enabled instruction that described second timer sends, and when this information of acquisition, record portable terminal present mode is default mode.
Preferably, comprising: the repetition rate controller, for the repetition rate that prescribed model is set; Particularly, after mobile terminal system running environment withdraws from from prescribed model, after perhaps entering prescribed model, determine to need to change the starting time of mobile terminal system running environment pattern next time, and begin new countdown, treat that this countdown time arrives, then enter the prescribed model of this portable terminal.
Preferably, this portable terminal uses the Android system; The AlarmManager timer that adopts the Android system to provide is provided for described first count-down device, second count-down device; The described countdown time arrives, and then described AlarmManager timer sends broadcast event, after described radio receiver receives this broadcast event, sends the instruction of corresponding startup prescribed model or end prescribed model.
Portable terminal mode switching method provided by the invention and device, the user sets mode time section and the corresponding prescribed model of this mode time section earlier according to the demand of self.After the order that user start-up time-pattern arranges, whether be in the scope of the mode time section that the user arranges by judging current system time, start corresponding pattern.When this current system time is positioned at this mode time section, then start the prescribed model that the user arranges, otherwise the default mode of portable terminal is used in continuation.Hence one can see that, the solution of the present invention is the corresponding use pattern of setting by the user of time range, be implemented in the switching of portable terminal use pattern under different scenes and the difference in functionality, therefore, the user can be according to demand and the hobby of oneself, corresponding different mode in the different time sections is set, avoids under multiple user's scene, portable terminal is used the limitation of pattern.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, the accompanying drawing that describes below only is some embodiment that put down in writing among the present invention, for those of ordinary skills, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of a kind of portable terminal mode switching method embodiment provided by the invention;
Fig. 2 is the block diagram of a kind of portable terminal mode switching method embodiment provided by the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, the every other embodiment that those of ordinary skills obtain belongs to the scope of protection of the invention.
Please refer to shown in Figure 1ly, it is for the flow chart of a kind of portable terminal mode switching method of the present invention embodiment.In the present embodiment, comprise the steps:
Step S101: the pattern setting of mobile terminal receive system running environment during this pattern arranges, comprises zero-time and/or the concluding time of setting a prescribed model and this prescribed model.
For portable terminal pattern arrange can have multiple, such as energy-saving mode, silent mode, offline mode, outdoor pattern, pocket pattern etc.The present invention sets forth concrete execution mode by energy-saving mode, and scrutable is that a kind of portable terminal that mobile phone generally uses as consumers in general from the slight black and white screen that has only that begins most, is only supported single-tone electronics sound, can only call; Till now, have high pixel, display size reaches 5 inches even above large-screen, almost comprise all main flow amusement functions, stored card, mobile office, colourful recreation, music video broadcast, Wi-Fi, wireless Internet access, GPS location, 3G video calling and powerful extended capability etc. as: high pixel digital camera, high-capacity and high-speed.But, powerful along with cell-phone function, its power consumption also increases accordingly thereupon.Mobile phone power consumption mainly be such as: mobile phone screen is backlight, core resident program, network are connected etc. with data, yet, under the long-time obsolete situation of mobile phone or according to user's oneself required time, those functions are closed or dormancy.For example, can mobile terminal system be set in this mode time section of 23:00-06:00 by the user in the present invention, the corresponding present mode that portable terminal is present switches under the energy-saving mode, thereby reduces the power consumption of mobile phone.Described present mode is considered as the default mode of system's operation.
Step S102: receive the starting command that above-mentioned pattern is arranged.
This step can when the user needs pattern to arrange, be opened this button by being arranged on the starting command button of portable terminal on embodiment, system sends starting command, realizes pattern starting command corresponding in the time of reception section.
Step S103: according to zero-time and/or the concluding time of described prescribed model, the system interface by portable terminal arranges the broadcast event issue.
According to current system time, judge whether current system time is in the zero-time of described prescribed model and/or in the concluding time, the mobile terminal system interface according to the rules pattern arrange prescribed model the corresponding broadcast event that will issue, for example: when the mode time section of described setting switches under the energy-saving mode during for 22:00-06:00, at this moment, the current time of system is 22:00, then can send broadcast event.
Step S104: the broadcast event of receiving system issue, judge the content that broadcast event is notified, if content of announcement is to start or the end prescribed model, the running environment of then controlling mobile terminal system enters or withdraws from prescribed model.
Portable terminal all can provide system time, and this system time can adopt multiple means to read.Such as: when the mode time section of described setting switches under the energy-saving mode during for 22:00-06:00, be shown as 22:30 and read the described current time in system, the illustrative system current time belongs within the scope of this pattern setting, system sends the broadcast event notice, the content of notice is to start prescribed model, and the system running environment of controlling portable terminal according to this content of announcement enters energy-saving mode.According to the content of above-mentioned startup prescribed model, the present mode of record mobile terminal system running environment is controlled mobile terminal system afterwards and is operated under the corresponding prescribed model environment of current time.Determine current time and the duration of described prescribed model between the concluding time of mobile terminal system running environment again, and beginning countdown, arrive when the countdown time, the current time of illustrative system is not also at prescribed model within the corresponding time period, then send the broadcast event notice this moment, the content of this notice is to withdraw from described prescribed model, and the system running environment of control portable terminal switches to and enters under the described prescribed model present mode before.
Be in outside the described mode time section when the reading system time, the event notice content of sending is for withdrawing from prescribed model, and the system running environment of then controlling portable terminal is under the default mode that enters before the prescribed model or enters the corresponding another kind of prescribed model of this system time.Such as: when the mode time section of described setting switches under the energy-saving mode during for 22:00-06:00, be shown as 21:00 and read the described current time in system, the illustrative system current time belongs to outside the scope of this pattern setting, and the broadcast announcement that system sends should be the content of announcement that withdraws from prescribed model.Determine the current time of mobile terminal system running environment and the duration between the described prescribed model zero-time by this content of announcement, just from the duration of 21:00-22:00, and restart to set countdown for prescribed model; Arrive when the countdown time, then send the broadcast event notice, the content of announcement of this moment is controlled running of mobile terminal under the environment of energy-saving mode afterwards for starting energy-saving mode.
In addition, if the user is between 20:30-21:30, be provided with silent mode, when the current time in system is 21:00, send broadcast announcement, the content of notice is for starting prescribed model, then control mobile terminal system and operate under the described silent mode, and adopt the above-mentioned countdown method that withdraws from prescribed model equally, this silent mode is also carried out countdown, arrive when countdown, switch under the running environment of energy-saving mode.
Issue and the countdown of the realization broadcasting that mobile terminal system is concrete, can realize in the following way:
When described portable terminal uses the Android system, the described meter that begins down, the AlarmManager timer that all adopts the Android system to provide, the countdown of realization program.Described AlarmManager timer is at the specific Intent who sets that constantly broadcasting, and briefly, sets a time exactly, then when this time arrives, and the Intent of AlarmManager broadcast setting.In the above-mentioned execution mode of the present invention, arrive when the described countdown time, Intent for described AlarmManager broadcast setting, such as: the portable terminal energy-saving mode is switched under the default mode, and perhaps the setting according to the user switches to the inferior content of announcement of the corresponding prescribed model of other mode time sections.
Be understandable that, in the step of the starting command that described pattern arranges, the radio receiver that receives the broadcast event that described AlarmManager sends is set simultaneously, and this radio receiver starts the portable terminal mode switch function after receiving the broadcast event that described AlarmManager sends.
Need to prove, when system receives the starting command that pattern is arranged, obtain the time of startup (just, the user starts the time point that the prescribed model action takes place), if the time of start-up mode is in the zero-time of described prescribed model with between the concluding time, system's present mode when then record starts, and switch to the prescribed model that the user arranges.If this prescribed model is closed in being operating as of user, then switch to the present mode of mobile terminal system record.
In addition, after the pattern of mobile terminal receive system running environment arranges, if receive the power-on command of mobile terminal system, then obtain the available machine time, judge that whether the described available machine time is in zero-time with between the concluding time; If then record present mode, and switch to described prescribed model; If not, then detect the record whether present mode is arranged, the present mode of then recovery record is arranged and empty record, otherwise do not do operation.
In addition, according to foregoing, the present invention is in described pattern arranges, also further can comprise the setting of repetition rate, after portable terminal is changed into default mode from prescribed model, perhaps change into prescribed model from default mode after, determine to need to change the time point of portable terminal prescribed model next time, and begin new countdown, and treat that the countdown time arrives, then enter this prescribed model.For example: the corresponding energy-saving mode of above-mentioned 22:00-06:00, after this energy-saving mode is changed into default mode, determine to switch to the current time in system behind the default mode, zero-time according to this current time in system mode time section corresponding with energy-saving mode, that is: 22:00 calculates the duration between the two, and begins new countdown, when timer is zero, then enter energy-saving mode.Certainly above-mentioned only is to describe by some mode time sections, can also be the corresponding a plurality of different prescribed models of a plurality of mode time sections, also or can be the cuckoo cover half formula that marks off other subpattern time period correspondence in a certain mode time section.Certainly, still can adopt the AlarmManager timer on the specific implementation, realize above-mentioned functions.
The embodiment of a kind of portable terminal mode switching method of the present invention is more than disclosed, corresponding with described method embodiment, the invention also discloses a kind of embodiment of portable terminal mode-changeover device, please referring to Fig. 2, it is the block diagram of a kind of portable terminal mode switching method embodiment provided by the invention.Because device embodiment is substantially similar in appearance to method embodiment, so describe fairly simplely, relevant part gets final product referring to the part explanation of method embodiment.The device embodiment of following description only is schematic.
Described device embodiment comprises:
Pattern arranges receiver 201, is used for receiving the prescribed model that at least one mobile terminal system running environment arranges, and zero-time and/or the concluding time of this prescribed model; Starter 202 is used for sending starting command, and the above-mentioned pattern of this order startup arranges the pattern setting in the receiver; Broadcast event distributor 203 is used for according to described starting command, obtains zero-time and/or the concluding time of described prescribed model, and by the system interface of portable terminal the broadcast event issue is set; Described broadcast event processor 204, be used for receiving the broadcast event from described broadcast event distributor issue, and be to start prescribed model or finish prescribed model according to the broadcast event content of announcement, the running environment of control mobile terminal system enters or withdraws from prescribed model.
In the described broadcast event processor 204, further comprise: first register, be used for before entering described prescribed model, the present mode of record mobile terminal system, this present mode namely is considered as the default mode of system; First count-down device is used for calculating current time and the duration of described prescribed model between the concluding time, and the beginning countdown, at timing time then, sends the countdown time to instruction; The default mode switch receives countdown time that described first count-down device sends to instruction, and sets the default mode that the portable terminal pattern is described first recorder trace accordingly.
Described broadcast event processor 204 comprises:
Withdraw from mode switch, receive described end prescribed model instruction, and adopt the system default pattern or adopt another prescribed model according to arranging; Second count-down device is used for determining to finish the current time of prescribed model and the duration between the described prescribed model zero-time, and restarts to set countdown for described prescribed model, at timing time then, sends the prescribed model enabled instruction; Described prescribed model switch receives the prescribed model enabled instruction that described second count-down device sends; Second register is used for receiving the prescribed model enabled instruction that described second timer sends, and when this information of acquisition, record portable terminal present mode is default mode.
In addition, for the ease of the startup again of prescribed model, the present invention further comprises: the repetition rate controller, for the repetition rate that prescribed model is set; Particularly, after mobile terminal system running environment withdraws from from prescribed model, after perhaps entering prescribed model, determine to need to change the starting time of mobile terminal system running environment pattern next time, and begin new countdown, treat that this countdown time arrives, then enter the prescribed model of this portable terminal.
A kind of portable terminal mode switching method provided by the invention and device, the user can arrange mode time section and the corresponding prescribed model of this mode time section earlier according to the demand of self.After the order that user's start-up mode arranges, whether be in the scope of the mode time section that the user arranges by judging current system time, start corresponding pattern.When this current system time is positioned at this mode time section, then start the prescribed model that the user arranges, otherwise the default mode of portable terminal is used in continuation.Hence one can see that, the solution of the present invention is the corresponding use pattern of setting by the user of time range, be implemented in the switching of portable terminal use pattern under the different scenes, therefore, the user can be according to demand and the hobby of oneself, corresponding different prescribed models in the different time sections are set, avoid under multiple user's scene, portable terminal is used the limitation of pattern.
More than portable terminal mode switching method provided by the present invention and device are described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, part in specific embodiments and applications all can change.In sum, this description should not be construed as limitation of the present invention.
The invention also discloses the mode switching method of A1, a kind of mobile terminal system running environment, comprising:
The pattern setting of mobile terminal receive system running environment during this pattern arranges, comprises zero-time and/or the concluding time of setting a prescribed model and this prescribed model;
The starting command that reception arranges above-mentioned pattern;
According to zero-time and/or the concluding time of described prescribed model, the system interface by portable terminal arranges the broadcast event issue;
The broadcast event of receiving system issue is judged the content that broadcast event is notified, if content of announcement is to start or the end prescribed model, the running environment of then controlling mobile terminal system enters or withdraw from prescribed model.
A2, according to the mode switching method of the described mobile terminal system running environment of A1, the system running environment of described control portable terminal enters prescribed model, comprising:
The present mode of record mobile terminal system running environment;
Adopt described prescribed model;
Determine current time and the duration of described prescribed model between the concluding time, and the beginning countdown;
The countdown time arrives, and then sends broadcast event notice, and the content of this notice is for withdrawing from described prescribed model, and the system running environment of controlling portable terminal switches to described present mode.
A3, according to the mode switching method of the described mobile terminal system running environment of A1, the system running environment of described control portable terminal withdraws from prescribed model and comprises:
Withdraw from described prescribed model and adopt the system default pattern or adopt another prescribed model according to arranging;
Determine the current time of mobile terminal system running environment and the duration between the described prescribed model zero-time, and restart to set countdown for prescribed model;
The countdown time arrives, and then sends the broadcast event notice, and the content of this notice starts prescribed model for notice, and the system running environment of control portable terminal enters prescribed model.
A4, according to the mode switching method of any described mobile terminal system running environment of A1-A3, during the pattern of described mobile terminal system running environment arranges, comprise repetition rate is set; According to this repetition rate, after mobile terminal system running environment withdraws from from prescribed model, after perhaps entering prescribed model, determine to need to change the starting time of mobile terminal system running environment pattern next time, and begin new countdown, treat that this countdown time arrives, then enter the prescribed model of this portable terminal.
A5, according to the mode switching method of any described mobile terminal system running environment of A2-A3, this portable terminal uses the Android system; The AlarmManager timing of adopting the Android system to provide.
A6, according to the mode switching method of the described mobile terminal system running environment of A1, during starting command that reception arranges above-mentioned pattern, obtain the time of startup, if the time that should start is in the zero-time of described prescribed model with between the concluding time, system's present mode when then record starts, and switch to the prescribed model that the user arranges.
A7, according to the mode switching method of the described mobile terminal system running environment of A1, if receive the shutdown command that above-mentioned pattern is arranged, then switch to the present mode of mobile terminal system record.
A8, according to the mode switching method of the described mobile terminal system running environment of A1, after the pattern of mobile terminal receive system running environment arranges, the power-on command of mobile terminal receive system is obtained the available machine time, judges that whether the described available machine time is in zero-time with between the concluding time; If then record present mode, and switch to described prescribed model; If not, then detect the record whether present mode is arranged, the present mode of then recovery record is arranged and empty record, otherwise do not do operation.
A9, according to the described changing method of A1, the pattern of described mobile terminal system running environment comprises: energy-saving mode, offline mode and/or silent mode.
The invention also discloses B10, a kind of portable terminal mode-changeover device, comprising:
Pattern arranges receiver, is used for receiving the prescribed model that at least one mobile terminal system running environment arranges, and zero-time and/or the concluding time of this prescribed model;
Starter is used for sending starting command, and the above-mentioned pattern of this order startup arranges the pattern setting in the receiver;
The broadcast event distributor is used for according to described starting command, obtains zero-time and/or the concluding time of described prescribed model, and by the system interface of portable terminal the broadcast event issue is set;
Described broadcast event processor, be used for receiving the broadcast event from described broadcast event distributor issue, and be to start prescribed model or finish prescribed model according to the broadcast event content of announcement, the running environment of control mobile terminal system enters or withdraws from prescribed model.
B11, according to the described portable terminal mode-changeover device of B10, described broadcast event processor comprises:
First register is used for before entering described prescribed model, the present mode of record mobile terminal system; This present mode namely is considered as the default mode of system;
First count-down device is used for calculating current time and the duration of described prescribed model between the concluding time, and the beginning countdown, at timing time then, sends the countdown time to instruction;
The default mode switch receives countdown time that described first count-down device sends to instruction, and sets the default mode that the portable terminal pattern is described first recorder trace accordingly.
B12, according to the described portable terminal mode-changeover device of B10, described broadcast event processor comprises:
Withdraw from mode switch, receive described end prescribed model instruction, and adopt the system default pattern or adopt another prescribed model according to arranging;
Second count-down device is used for determining to finish the current time of prescribed model and the duration between the described prescribed model zero-time, and restarts to set countdown for described prescribed model, at timing time then, sends the prescribed model enabled instruction;
Described prescribed model switch receives the prescribed model enabled instruction that described second count-down device sends;
Second register is used for receiving the prescribed model enabled instruction that described second timer sends, and when this information of acquisition, record portable terminal present mode is default mode.
B13, according to any described portable terminal mode-changeover device of B10-B12, comprising: the repetition rate controller is used for arranging the repetition rate of prescribed model; Particularly, after mobile terminal system running environment withdraws from from prescribed model, after perhaps entering prescribed model, determine to need to change the starting time of mobile terminal system running environment pattern next time, and begin new countdown, treat that this countdown time arrives, then enter the prescribed model of this portable terminal.
B14, according to any described portable terminal mode-changeover device of B11-B12, this portable terminal uses the Android system; Described first count-down device, second count-down device, the AlarmManager timer that adopts the Android system to provide; The described countdown time arrives, and then described AlarmManager timer sends broadcast event, after described radio receiver receives this broadcast event, sends the instruction of corresponding startup prescribed model or end prescribed model.

Claims (10)

1. the mode switching method of a mobile terminal system running environment is characterized in that, comprising:
The pattern setting of mobile terminal receive system running environment during this pattern arranges, comprises zero-time and/or the concluding time of setting a prescribed model and this prescribed model;
The starting command that reception arranges above-mentioned pattern;
According to zero-time and/or the concluding time of described prescribed model, the system interface by portable terminal arranges the broadcast event issue;
The broadcast event of receiving system issue is judged the content that broadcast event is notified, if content of announcement is to start or the end prescribed model, the running environment of then controlling mobile terminal system enters or withdraw from prescribed model.
2. the mode switching method of mobile terminal system running environment according to claim 1 is characterized in that, the system running environment of described control portable terminal enters prescribed model, comprising:
The present mode of record mobile terminal system running environment;
Adopt described prescribed model;
Determine current time and the duration of described prescribed model between the concluding time, and the beginning countdown;
The countdown time arrives, and then sends broadcast event notice, and the content of this notice is for withdrawing from described prescribed model, and the system running environment of controlling portable terminal switches to described present mode.
3. the mode switching method of mobile terminal system running environment according to claim 1 is characterized in that, the system running environment of described control portable terminal withdraws from prescribed model and comprises:
Withdraw from described prescribed model and adopt the system default pattern or adopt another prescribed model according to arranging;
Determine the current time of mobile terminal system running environment and the duration between the described prescribed model zero-time, and restart to set countdown for prescribed model;
The countdown time arrives, and then sends the broadcast event notice, and the content of this notice starts prescribed model for notice, and the system running environment of control portable terminal enters prescribed model.
4. according to the mode switching method of any described mobile terminal system running environment of claim 1-3, it is characterized in that, during the pattern of described mobile terminal system running environment arranges, comprise repetition rate is set; According to this repetition rate, after mobile terminal system running environment withdraws from from prescribed model, after perhaps entering prescribed model, determine to need to change the starting time of mobile terminal system running environment pattern next time, and begin new countdown, treat that this countdown time arrives, then enter the prescribed model of this portable terminal.
5. according to the mode switching method of any described mobile terminal system running environment of claim 2-3, it is characterized in that this portable terminal uses the Android system; The AlarmManager timing of adopting the Android system to provide.
6. the mode switching method of mobile terminal system running environment according to claim 1, it is characterized in that, during starting command that reception arranges above-mentioned pattern, obtain the time of startup, if the time that should start is in the zero-time of described prescribed model with between the concluding time, system's present mode when then record starts, and switch to the prescribed model that the user arranges.
7. the mode switching method of mobile terminal system running environment according to claim 1 is characterized in that, if receive the shutdown command that above-mentioned pattern is arranged, then switches to the present mode of mobile terminal system record.
8. the mode switching method of mobile terminal system running environment according to claim 1, it is characterized in that, after the pattern of mobile terminal receive system running environment arranges, the power-on command of mobile terminal receive system, obtain the available machine time, judge that whether the described available machine time is in zero-time with between the concluding time; If then record present mode, and switch to described prescribed model; If not, then detect the record whether present mode is arranged, the present mode of then recovery record is arranged and empty record, otherwise do not do operation.
9. changing method according to claim 1 is characterized in that, the pattern of described mobile terminal system running environment comprises: energy-saving mode, offline mode and/or silent mode.
10. a portable terminal mode-changeover device is characterized in that, comprising:
Pattern arranges receiver, is used for receiving the prescribed model that at least one mobile terminal system running environment arranges, and zero-time and/or the concluding time of this prescribed model;
Starter is used for sending starting command, and the above-mentioned pattern of this order startup arranges the pattern setting in the receiver;
The broadcast event distributor is used for according to described starting command, obtains zero-time and/or the concluding time of described prescribed model, and by the system interface of portable terminal the broadcast event issue is set;
Described broadcast event processor, be used for receiving the broadcast event from described broadcast event distributor issue, and be to start prescribed model or finish prescribed model according to the broadcast event content of announcement, the running environment of control mobile terminal system enters or withdraws from prescribed model.
CN201310291333XA 2013-07-11 2013-07-11 Method and device for switching modes of mobile terminal Pending CN103347132A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310291333XA CN103347132A (en) 2013-07-11 2013-07-11 Method and device for switching modes of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310291333XA CN103347132A (en) 2013-07-11 2013-07-11 Method and device for switching modes of mobile terminal

Publications (1)

Publication Number Publication Date
CN103347132A true CN103347132A (en) 2013-10-09

Family

ID=49281906

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310291333XA Pending CN103347132A (en) 2013-07-11 2013-07-11 Method and device for switching modes of mobile terminal

Country Status (1)

Country Link
CN (1) CN103347132A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104918235A (en) * 2015-06-25 2015-09-16 北京奇虎科技有限公司 Method for controlling mobile terminal network connection and device thereof
CN103677214B (en) * 2013-12-31 2016-06-01 北京金山网络科技有限公司 For the power consumption control method of mobile terminal, device and mobile terminal
CN105847569A (en) * 2016-04-01 2016-08-10 乐视控股(北京)有限公司 Handset sound mode automatic switching method and device
CN107155207A (en) * 2016-03-04 2017-09-12 富士通株式会社 Device and preservation data reduction method
CN103702404B (en) * 2014-01-13 2017-12-29 联想(北京)有限公司 Power consumption mode switching method and device
CN107870792A (en) * 2015-03-12 2018-04-03 广东欧珀移动通信有限公司 The startup method and mobile terminal and medium product of a kind of mobile terminal
CN111381836A (en) * 2018-12-29 2020-07-07 北京奇虎科技有限公司 Switching method and device of application program deployment environment
CN113228605A (en) * 2019-08-16 2021-08-06 谷歌有限责任公司 Context-aware flight patterns

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1566952A1 (en) * 2004-02-23 2005-08-24 Research In Motion Limited Automated switching of user notification profiles in a mobile device
CN103024201A (en) * 2012-12-31 2013-04-03 广东欧珀移动通信有限公司 Method and device for operating mobile terminal
CN103179259A (en) * 2011-12-26 2013-06-26 闻泰通讯股份有限公司 Contextual model automatically adjusting mobile phone and method
CN103197967A (en) * 2013-02-26 2013-07-10 广东欧珀移动通信有限公司 Method and device for automatically switching work mode
CN103200317A (en) * 2013-03-06 2013-07-10 广东欧珀移动通信有限公司 Mobile phone and method for achieving contextual mode switching through memorandum

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1566952A1 (en) * 2004-02-23 2005-08-24 Research In Motion Limited Automated switching of user notification profiles in a mobile device
CN103179259A (en) * 2011-12-26 2013-06-26 闻泰通讯股份有限公司 Contextual model automatically adjusting mobile phone and method
CN103024201A (en) * 2012-12-31 2013-04-03 广东欧珀移动通信有限公司 Method and device for operating mobile terminal
CN103197967A (en) * 2013-02-26 2013-07-10 广东欧珀移动通信有限公司 Method and device for automatically switching work mode
CN103200317A (en) * 2013-03-06 2013-07-10 广东欧珀移动通信有限公司 Mobile phone and method for achieving contextual mode switching through memorandum

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
FELLA: "《如何监听android手机情景模式(有声、静音、振动)》", 《学步园》, 21 February 2013 (2013-02-21) *
火山哥: "《Android程序开机启动&&监听情景模式切换》", 《CSDN博客 火山哥专栏》, 5 July 2011 (2011-07-05) *
陈玉坤: "《安卓应用推荐:情景模式省心自动换》", 《新浪科技》, 5 June 2013 (2013-06-05) *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677214B (en) * 2013-12-31 2016-06-01 北京金山网络科技有限公司 For the power consumption control method of mobile terminal, device and mobile terminal
CN103702404B (en) * 2014-01-13 2017-12-29 联想(北京)有限公司 Power consumption mode switching method and device
CN107870792A (en) * 2015-03-12 2018-04-03 广东欧珀移动通信有限公司 The startup method and mobile terminal and medium product of a kind of mobile terminal
CN107870792B (en) * 2015-03-12 2021-06-29 Oppo广东移动通信有限公司 Starting method of mobile terminal, mobile terminal and medium product
CN104918235A (en) * 2015-06-25 2015-09-16 北京奇虎科技有限公司 Method for controlling mobile terminal network connection and device thereof
CN104918235B (en) * 2015-06-25 2016-11-23 北京奇虎科技有限公司 The control method of mobile terminal network connection and device
CN107155207A (en) * 2016-03-04 2017-09-12 富士通株式会社 Device and preservation data reduction method
CN105847569A (en) * 2016-04-01 2016-08-10 乐视控股(北京)有限公司 Handset sound mode automatic switching method and device
WO2017166753A1 (en) * 2016-04-01 2017-10-05 乐视控股(北京)有限公司 Method and apparatus for automatically switching mobile phone sound mode, and electronic device
CN111381836A (en) * 2018-12-29 2020-07-07 北京奇虎科技有限公司 Switching method and device of application program deployment environment
CN111381836B (en) * 2018-12-29 2024-02-06 三六零科技集团有限公司 Application deployment environment switching method and device
CN113228605A (en) * 2019-08-16 2021-08-06 谷歌有限责任公司 Context-aware flight patterns

Similar Documents

Publication Publication Date Title
CN103347132A (en) Method and device for switching modes of mobile terminal
EP2608500B1 (en) Mobile terminal and controlling method thereof
CN102821207B (en) Implementation method for alarm clock under shutdown state and mobile terminal
CN103607758A (en) Terminal screen power saving processing method, device thereof and terminal
CN102724592B (en) The method that intelligent television starts, device and intelligent television
CN101577764A (en) Terminal power-saving method and device
KR20110030274A (en) Apparatus and method for reducing power consumption in portable terminal
JP5741095B2 (en) Wireless communication apparatus and power saving control method
CN104581320A (en) Method, device and terminal for switching play modes
CN103391364A (en) Synchronization method and device for controlled terminal and intelligent terminal serving as remote control terminal
CN105807894B (en) Using the treating method and apparatus for holding lock
CN101984648A (en) Audio video file playing method and terminal thereof
EP4271124A1 (en) Switch module in a dual sim terminal
JP2017528927A (en) Method and apparatus for reminding in shutdown state
CN103605429A (en) Processing method for response key operation and mobile terminal
CN103974394A (en) Mobile terminal and power consumption control method thereof
CN103179358A (en) Operation state control method of television and television
CN101958974A (en) Method for taking video as screen saver and mobile terminal
CN112672389B (en) Network switching method
KR101964932B1 (en) Mobile terminal comprising sim card and battery managing method thereof
CN103369129A (en) Method and device for supplying power to mobile terminal
CN104461596A (en) Shut-down method and device for mobile terminal
CN111290565A (en) Doze mode control method, device, terminal and storage medium
KR101318654B1 (en) Method For Controlling Mobile Station By Subscriber Intentity Module Card
CN104660791A (en) Mobile phone and automatic mobile phone wallpaper switching method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20131009