A kind of method and mobile terminal of setting for scene modes of mobile terminalTechnical field
The present invention relates to telecommunications field, relate in particular to a kind of method and mobile terminal of setting for scene modes of mobile terminal.
Background technology
Along with social development, the mobile terminals such as mobile phone have become indispensable instrument in people's life.From strength to strength, people are also more and more higher for the dependence of mobile terminal for the function of mobile terminal.
At present, the contextual model of mobile terminal can be set as " conference model ", " silent mode ", " outdoor pattern ", " mode standard " etc.The contextual model of the setting of mobile terminal generally only has a parameter.For example having selected " silent mode " is exactly silent state, and having selected " normal mode " is exactly the state that the tinkle of bells adds vibration.User can set contextual model as required, such as meeting is just set as " conference model ", has slept and has been afraid of just to be waken up to be set as " silent mode ".But such inconvenience that simply arranges, such as user and wish at morning by friend's alarm call, but do not wish again to be bothered by phone midnight, so he should be set to " silent mode " still " mode standard " be a perplexing problem.
Summary of the invention
As the technical problem of contextual model, the invention provides a kind of method that mobile terminal and contextual model are set in order to solve user's a certain pattern of the single setting of intelligence in using mobile terminal.
The invention provides a kind of method of setting for scene modes of mobile terminal, the method that described contextual model is set comprises:
Default multiple sight parameters, sight reference record one contextual model described in each;
A default planning sight, described planning sight comprises at least one sight parameter, and described planning sight starts, and whether the current state that judges mobile terminal reaches wherein described in one the trigger condition of contextual model in sight parameter;
When the current state of mobile terminal reaches wherein described in one in sight parameter the trigger condition of the trigger condition of contextual model, start the contextual model corresponding with described sight parameter.
Further, the described method of setting for scene modes of mobile terminal, described sight parameter comprises:
The trigger condition that described contextual model and contextual model are corresponding.
Particularly, the described method of setting for scene modes of mobile terminal, described contextual model comprises and is no less than 1 trigger condition.
Particularly, the described method of setting for scene modes of mobile terminal, the trigger condition of described contextual model comprises: temporal information, positional information or light intensity information.
Particularly, the described method of setting for scene modes of mobile terminal, the control parameter that described contextual model comprises has:
The brightness of described mobile terminal screen;
The volume of described mobile terminal and whether vibrating.
The present invention also provides a kind of mobile terminal, comprising:
Input module, for default multiple sight parameters, sight reference record one contextual model described in each;
Detection module, a default planning sight, described planning sight comprises at least one sight parameter, and described planning sight starts, and whether the current state that judges mobile terminal reaches wherein described in one the trigger condition of contextual model in sight parameter;
Control module, while reaching wherein described in one the trigger condition of the trigger condition of sight parameter contextual model, starts the contextual model corresponding with described sight parameter for the current state of mobile terminal.
Further, in described mobile terminal, described sight parameter comprises:
The trigger condition that described contextual model and contextual model are corresponding.
Particularly, in described mobile terminal, described contextual model comprises and is no less than 1 trigger condition.
In described mobile terminal, the trigger condition of described contextual model comprises: temporal information, positional information or light intensity information particularly.
Particularly, in described mobile terminal, the control parameter that described contextual model comprises has:
The brightness of described mobile terminal screen;
The volume of described mobile terminal and whether vibrating.
The invention has the beneficial effects as follows: facilitate user to carry out the setting of carrying out contextual model more intelligent and that rationalize, the experience when having facilitated user's daily life and having used mobile terminal.
Brief description of the drawings
Fig. 1 represents theory of constitution figure of the present invention.
Wherein in figure: 101-input module, 102-detection module, 103-control module, 104-memory module, 200-sight parameter.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, describe the present invention below in conjunction with the accompanying drawings and the specific embodiments.
The invention provides a kind of method that contextual model is set, comprising: default multiple sight parameters, sight reference record one contextual model described in each; A default planning sight, described planning sight comprises at least one sight parameter, and described planning sight starts, and whether the current state that judges mobile terminal reaches wherein described in one the trigger condition of contextual model in sight parameter; When the current state of mobile terminal reaches wherein described in one in sight parameter the trigger condition of the trigger condition of contextual model, start the contextual model corresponding with described sight parameter.
The present invention also provides a kind of mobile terminal, comprising: input module, for default multiple sight parameters, sight reference record one contextual model described in each; Detection module, a default planning sight, described planning sight comprises at least one sight parameter, and described planning sight starts, and whether the current state that judges mobile terminal reaches wherein described in one the trigger condition of contextual model in sight parameter; Control module, while reaching wherein described in one the trigger condition of the trigger condition of sight parameter contextual model, starts the contextual model corresponding with described sight parameter for the current state of mobile terminal.
Specifically, user sets one or more sight parameters by the input module of mobile terminal of the present invention.The contextual model that each sight reference record one user sets.User can preset a planning sight, and planning sight comprises at least one sight parameter.In the time that planning sight starts, by the monitoring modular of mobile terminal, whether the current state that judges mobile terminal reaches the trigger condition of contextual model in one of them sight parameter of this planning sight.If reach trigger condition, start the contextual model corresponding with described sight parameter.For example, user can set a sight parameter for " the first sight ", and " the first sight " comprises allows the contextual model of mobile terminal in silent state.The condition that triggers this contextual model is this time conditions of 6:00-22:00.In the time that user's mobile terminal normally moves, whether the state that detection module can detect described in running of mobile terminal meets the condition that can trigger a certain contextual model that user sets.If meet the condition that triggers a certain contextual model, the operating state of this mobile terminal is set to this contextual model.For setting multiple sight parameters, meet the demand to different trigger conditions.Like this, just facilitate user to carry out the setting of carrying out contextual model more intelligent and that rationalize, convenient for users to use and experience.
Carry out to introduce in detail embodiments of the invention below.
Shown in Fig. 1, embodiments of the invention comprise input module 101, detection module 102, control module 103, memory module 104, sight parameter 200.
Wherein input module 101 can be realized by software.User sets the setting of the trigger condition that comprises contextual model and contextual model inside one or more sight parameters.Trigger condition comprises: temporal information, the settings such as geographical position and light intensity.User can, according to the needs of self, complete the setting of the trigger condition to a certain contextual model by input module 101.
Detection module 102 comprises light sensor, positioner and clock signal.Light sensor, by measuring the light of mobile terminal operational environment of living in, feeds back to control module 104 signals.Positioner is generally the location technology such as GPS/AGPS, Big Dipper location, feeds back to control module 104 position signallings.Clock signal is the network clocking signal by the clock of the inside of mobile terminal or mobile terminal synchronization, feeds back to control module 104 time signals.Detection module is in the time that user preset one is planned sight, and planning sight comprises at least one sight parameter, and planning sight starts, and whether the current state that judges mobile terminal reaches wherein described in one the trigger condition of contextual model in sight parameter.Detection module 102 is to the time, and the trigger condition information such as geographical position and light intensity judge.
The processor that control module 103 is mobile terminal.Can receive the signal of detection module, and signal is processed, control mobile terminal in which kind of sight parameter 200.
The operating state that sight parameter 200 is a kind of mobile terminal.Comprise the trigger condition that contextual model and contextual model are corresponding.Contextual model comprises and is no less than 1 trigger condition.The trigger condition of contextual model comprises: temporal information, positional information or light intensity information.The control parameter that described contextual model comprises has: the brightness of mobile terminal screen; The volume of described mobile terminal and whether vibrating.
The condition that triggers contextual model is temporal information.Temporal information is provided by the clock module of mobile terminal inside.Clock module comprises that the inner integrated counter of mobile terminal also comprises mobile terminal synchronous temporal information from network.User can, according to the needs of oneself, set at the input module of mobile terminal.For example, user arranges a planning sight.Comprise " silent mode " and " mode standard " two sight parameters.Contextual model of record is that the volume that mobile terminal is carried out various application operatings is zero in " silent mode ", and the trigger condition of this contextual model is time conditions: 22:00 to 6:00.Contextual model of record is that the volume that mobile terminal is carried out various application operatings is normal set point in " mode standard ", and the trigger condition of contextual model is time conditions: next day 6:00-22:00.Like this, in the time that user's mobile terminal-opening moves, compare by clock signal and the set point of mobile terminal inside.In the time that the clock signal of mobile terminal inside meets the time period of the trigger condition of contextual model in " silent mode ", the running status of described mobile terminal is " silent mode "; In the time that the clock signal of mobile terminal inside meets the time period of the trigger condition of contextual model in " mode standard ", the running status of described mobile terminal is " mode standard ".Like this, user just can, in the time period of rest at night, exempt from bothering of calling; The time period of normally working by day/living, mobile terminal is in normal jingle bell.
The condition that triggers contextual model is light intensity information.Light intensity information is obtained by the light sensor of mobile terminal, can learn thus the use state of user's mobile terminal.User can, according to the needs of oneself, set at the input module of mobile terminal.For example, user arranges " mode standard " and " vibration mode " two sight parameters." mode standard " recorded one is the contextual model that the volume of the application program of mobile terminal is operated in normal condition, and the trigger condition of this contextual model is intense light irradiation.The volume that " vibration mode " recorded the application program of a mobile terminal is zero, by vibrating alert user's contextual model, the trigger condition of this contextual model is that the low light level shines.In the time that user has a meeting, light sensor one side of mobile terminal is buckled on desk, the light that the light sensor of mobile terminal detects is the low light level, and mobile terminal has triggered the trigger condition of the contextual model that " vibration mode " record like this, and mobile terminal is just operated in " vibration mode ".Light sensor one side of mobile terminal is placed upward, the light that light sensor of mobile terminal detects is high light, has triggered like this trigger condition of the contextual model that " vibration mode " record, and mobile terminal is just operated in " mode standard ".User just need not deliberately arrange contextual model in session time.Only mobile phone need to be placed down and just can be realized on the table " vibration mode ".In like manner, the light that the light sensor of mobile terminal detects night is the low light level, and mobile terminal is just operated in " vibration mode " like this.The light that the light sensor of mobile terminal detects is by day high light, and mobile terminal is just operated in " mode standard " like this.
The condition that triggers contextual model is positional information and temporal information.The data that positional information is provided by GPS/AGPS or the local network service operator of mobile terminal position.In the time that user arranges " home mode " and " mode of operation " two sight parameters.The contextual model of " home mode " record volume that is mobile terminal is for normal, and the trigger condition that this contextual model is corresponding is geographical location information and temporal information, and for example 8:00 is to 10:00, and in the situation of being in.The contextual model of " mode of operation " record volume that is mobile terminal is for normal, and the trigger condition that this contextual model is corresponding is geographical location information and temporal information, and for example 14:00 is to 16:00, and the in the situation that of company.In the time that the operating state of mobile terminal meets all trigger conditions of contextual model in a certain sight parameter, mobile terminal is just operated under this contextual model.
Sight parameter in the embodiment of the present invention and the contextual model of record and contextual model trigger condition can combination in any.In planning sight, can select multiple sight parameters.More than combination has multiplely, does not repeat them here.
Above-described is the preferred embodiment of the present invention; should be understood that the ordinary person for the art; can also make some improvements and modifications not departing under principle prerequisite of the present invention, these improvements and modifications are also in protection scope of the present invention.