CN104836918B - A kind of the contextual model automatic switching method and system of mobile terminal - Google Patents

A kind of the contextual model automatic switching method and system of mobile terminal Download PDF

Info

Publication number
CN104836918B
CN104836918B CN201510281360.8A CN201510281360A CN104836918B CN 104836918 B CN104836918 B CN 104836918B CN 201510281360 A CN201510281360 A CN 201510281360A CN 104836918 B CN104836918 B CN 104836918B
Authority
CN
China
Prior art keywords
environment
mobile terminal
scene
contextual model
noisy
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510281360.8A
Other languages
Chinese (zh)
Other versions
CN104836918A (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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201510281360.8A priority Critical patent/CN104836918B/en
Publication of CN104836918A publication Critical patent/CN104836918A/en
Application granted granted Critical
Publication of CN104836918B publication Critical patent/CN104836918B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses the contextual model automatic switching method and system of a kind of mobile terminal, method includes: that contextual model corresponding with various scene environments is arranged in the terminal in advance and stores;And preset environmental parameter threshold values corresponding to various scene environments;Every a predetermined time, the environmental parameter value that mobile terminal is presently in scene is detected, the environmental parameter value that will test is compared with environmental parameter threshold values corresponding to pre-set various scene environments, determines the scene environment that mobile terminal is presently in;Mobile terminal searches pre-set contextual model corresponding with the current scene environment, automatically switches to contextual model corresponding with the current scene environment according to the scene environment being presently in judged.The scene environment that mobile terminal is presently according to the mobile terminal judged may be implemented in the present invention, automatically switches to contextual model corresponding with the current scene environment;It is provided conveniently for user.

Description

A kind of the contextual model automatic switching method and system of mobile terminal
Technical field
The present invention relates to technical field of mobile terminals more particularly to a kind of contextual model automatic switching methods of mobile terminal And system.
Background technique
With the continuous development of mobile terminal technology, the mobile terminals such as mobile phone using more more and more universal, at people Necessity in life and work.Under many different usage scenarios, user has the setting of mobile terminal different It is required that such as need to turn down ringing tone when office, outdoors walk when need vibration and biggish ringing tone, etc. Deng.Be usually constantly to convert in the usage scenario of customer mobile terminal, user need according to circumstances oneself manually to setting It is modified, is inconvenient.
It is mainly to pass through user oneself to manually adjust that mobile terminal, which adjusts contextual model, on the market at present.It manually adjusts first Need user that opening mobile phone is arranged again, secondly forget that puzzlement can be brought to user when adjusting in user, for example, just in session when Mobile phone sounds suddenly.
Therefore, the existing technology needs to be improved and developed.
Summary of the invention
The technical problem to be solved in the present invention is that in view of the above drawbacks of the prior art, a kind of mobile terminal is provided The scene that mobile terminal is presently according to the mobile terminal judged may be implemented in contextual model automatic switching method and system Environment automatically switches to contextual model corresponding with the current scene environment.The present invention considers not only motion state, it is also contemplated that To ambient condition, the two, which combines, preferably to be provided conveniently for user.
The technical proposal for solving the technical problem of the invention is as follows:
A kind of contextual model automatic switching method of mobile terminal, wherein comprising steps of
A, contextual model corresponding with various scene environments is set in the terminal in advance and is stored;And in advance Environmental parameter threshold value corresponding to various scene environments is set;
B, every a predetermined time, the environmental parameter value that mobile terminal is presently in scene, the environment that will test are detected Parameter value is compared with environmental parameter threshold value corresponding to pre-set various scene environments, determines that mobile terminal is current Locating scene environment;
C, mobile terminal search the pre-set and current scene ring according to the scene environment being presently in judged The corresponding contextual model in border automatically switches to contextual model corresponding with the current scene environment.
The contextual model automatic switching method of the mobile terminal, wherein the step A is specifically included:
A11, it presets mobile terminal and remains static, slowly movement and when strenuous exercise's state, it is corresponding The rotation of gravity sensor and gyroscope detection, deflection environment parameter value threshold value.
The contextual model automatic switching method of the mobile terminal, wherein the step B further include:
B11, the rotation that mobile terminal is detected by gravity sensor and gyroscope, deflection parameter value, and with preset Various scene environments corresponding to environmental parameter threshold value be compared;Judge that current mobile terminal is to remain static, delay Slow movement or strenuous exercise's state.
The contextual model automatic switching method of the mobile terminal, wherein the step A further include:
A12, it presets mobile terminal and is in bright quiet environment, dim quiet environment, become clear noisy environment and dim When noisy environment, the light of corresponding environment optical flame detector and sound transducer detection, acoustic environment parameter value threshold value.
The contextual model automatic switching method of the mobile terminal, wherein the step B further include:
B12, the external environment condition parameter value that mobile terminal is detected by environment optical flame detector and sound transducer, and with set in advance Environmental parameter threshold value corresponding to the various scene environments set is compared;Judge that current mobile terminal is in bright quiet ring Border, dim quiet environment, become clear noisy environment or dim noisy environment.
The contextual model automatic switching method of the mobile terminal, wherein the step C is specifically included:
C21, when detecting that mobile terminal current environment is bright peace and quiet, and motion state is static or slight fortune Dynamic state;Then determine that mobile terminal is currently located in the scene environment of academic environment, Office Area environment or meeting, and switches corresponding Contextual model is vibration silent mode;
C22, when detecting that mobile terminal current environment is dim peace and quiet, and motion state is static or slight fortune Dynamic scene environment then determines that mobile terminal is currently at sleep environment: and it is without friction mute for switching corresponding contextual model Mode.
The contextual model automatic switching method of the mobile terminal, wherein the step C is specific further include:
C23, when detect mobile terminal current environment be become clear it is noisy, and motion state be stationary state;Then sentence Determine mobile terminal and currently locate outdoor static scene environment, and switch corresponding contextual model be without friction, volume three/ The outdoor mode of the first of two positions;
C24, when detect mobile terminal current environment be become clear it is noisy, and motion state be slight motion state; Then determine that mobile terminal is currently at outdoor scene environment, and switching corresponding contextual model is without friction, volume at three points Two positions the second outdoor mode;
C25, when detect mobile terminal current environment be become clear it is noisy, and motion state be strong state;Then sentence Determine the scene environment that mobile terminal is currently at superpower open air, and switches corresponding contextual model as vibration, volume maximum position Third open air mode.
The contextual model automatic switching method of the mobile terminal, wherein the step C is specific further include:
C26, when detecting that mobile terminal current environment is dim noisy, and motion state is and motion state is quiet Only or slightly motion state;Then determine that mobile terminal is currently at the scene environment of public place of entertainment 1, and switches corresponding scene Mode is vibration, and volume is in 2/3rds position, and the public place of entertainment mode 1 for having splashette to prompt 1 minute 1 time;
C27, when detect mobile terminal current environment be it is dim noisy, and motion state be moderate activity state; Then determine that mobile terminal is currently at the scene environment of public place of entertainment 2, and switch corresponding contextual model as vibration, volume is maximum Position, and the public place of entertainment mode 2 for thering is splashette to prompt 30 seconds 1 time;
C28, when detect mobile terminal current environment be it is dim noisy, and motion state be strong movements state; Then determine that mobile terminal is currently at the scene environment of public place of entertainment 3, and switch corresponding contextual model as vibration, volume is three / bis- position, and there is splashette to prompt 10 seconds primary public place of entertainment modes 3.
A kind of contextual model automatic switchover system of mobile terminal, wherein include:
Module is preset, for contextual model corresponding with various scene environments to be arranged in the terminal in advance And it stores;And preset environmental parameter threshold value corresponding to various scene environments;
Scene environment judgment module, for detecting the environment ginseng that mobile terminal is presently in scene every a predetermined time Numerical value, the environmental parameter value that will test are compared with environmental parameter threshold value corresponding to pre-set various scene environments It is right, determine the scene environment that mobile terminal is presently in;
Contextual model switching module is searched preparatory for mobile terminal according to the scene environment being presently in judged The contextual model corresponding with the current scene environment being arranged, automatically switches to scene mould corresponding with the current scene environment Formula.
The contextual model automatic switchover system of the mobile terminal, wherein
Presetting module includes:
First setting unit remains static for presetting mobile terminal, slowly movement and strenuous exercise's state When, the rotation of corresponding gravity sensor and gyroscope detection, deflection environment parameter value threshold value;
Second setting unit is in bright quiet environment for presetting mobile terminal, and dim quiet environment becomes clear and disturbs by making noise When noisy environment and dim noisy environment, the light of corresponding environment optical flame detector and sound transducer detection, acoustic environment ginseng Numerical threshold;
Scene environment judgment module includes:
First environment judgment module, for detecting the rotation of mobile terminal by gravity sensor and gyroscope, deflection is joined Numerical value, and be compared with environmental parameter threshold value corresponding to pre-set various scene environments;Judge current mobile terminal Be remain static, slowly movement or strenuous exercise's state;
Second environment judgment module, for detecting the external environment of mobile terminal by environment optical flame detector and sound transducer Parameter value, and be compared with environmental parameter threshold value corresponding to pre-set various scene environments;Judgement is current mobile whole End is in bright quiet environment, and dim quiet environment, become clear noisy environment or dim noisy environment;
Contextual model switching module includes:
First contextual model switch unit for quiet to become clear when detecting mobile terminal current environment, and is transported Dynamic state is static or slight motion state;Then determine that mobile terminal is currently located in academic environment, Office Area environment or meeting Scene environment, and switch corresponding contextual model for vibration silent mode;
Second contextual model switch unit detects that mobile terminal current environment is dim peace and quiet for working as, and transports Dynamic state is scene environment that is static or slightly moving, then determines that mobile terminal is currently at sleep environment: and switch correspondence Contextual model be silent mode without friction;
Third contextual model switch unit, for when detect mobile terminal current environment be become clear it is noisy, and transport Dynamic state is stationary state;Then determine that mobile terminal currently locates outdoor static scene environment, and switches corresponding contextual model The first outdoor mode for without friction, volume in 2/3rds positions;
4th contextual model switch unit, for when detect mobile terminal current environment be become clear it is noisy, and transport Dynamic state is slight motion state;Then determine that mobile terminal is currently at outdoor scene environment, and switches corresponding scene mould Formula is second outdoor mode of the without friction, volume in 2/3rds positions;
5th contextual model switch unit, for when detect mobile terminal current environment be become clear it is noisy, and transport Dynamic state is strong state;Then determine that mobile terminal is currently at the scene environment of superpower open air, and switches corresponding scene mould Formula is vibration, the third open air mode of volume maximum position;
6th contextual model switch unit detects that mobile terminal current environment is dim noisy for working as, and transports Dynamic state is and motion state is static or slight motion state;Then determine that mobile terminal is currently at the field of public place of entertainment 1 Scape environment, and switch corresponding contextual model as vibration, volume has splashette to prompt 1 minute 1 time in 2/3rds position Public place of entertainment mode 1;
7th contextual model switch unit detects that mobile terminal current environment is dim noisy for working as, and transports Dynamic state is moderate activity state;Then determine that mobile terminal is currently at the scene environment of public place of entertainment 2, and switches corresponding feelings Scape mode is vibration, volume maximum position, and the public place of entertainment mode 2 for having splashette to prompt 30 seconds 1 time;
8th contextual model switch unit detects that mobile terminal current environment is dim noisy for working as, and transports Dynamic state is strong movements state;Then determine that mobile terminal is currently at the scene environment of public place of entertainment 3, and switches corresponding feelings Scape mode is vibration, and volume has splashette to prompt 10 seconds primary public place of entertainment modes 3 in 2/3rds position.
The contextual model automatic switching method and system of mobile terminal provided by the present invention, due to using mobile terminal In the assembly functions such as gyroscope, accelerometer (G-sensor), optical sensor, sound transducer, determine locating for active user Environment, so as to adjust for corresponding contextual model, user-friendly to adapt to user demand, the present invention makes mobile terminal Increase new function: mobile terminal can automatically switch to and deserve front court according to the scene environment being presently in judged The corresponding contextual model of scape environment.It provides users with the convenient.Compared to current user, oneself manual setting has very big advantage.
The present invention is realized by collect components motion state in mobile terminal and ambient condition to the automatic of contextual model It adjusts, the puzzlement of manual mode can be exempted in this way.The present invention can be adapted to the mobile phone of any company or with sensory package Equipment, popularization is stronger, be more convenient.This programme is easy to be applied in mobile phone research and development, and has higher practicability, with This facilitates characteristic to attract clients.
Detailed description of the invention
Fig. 1 is the flow chart of the preferred embodiment of the contextual model automatic switching method of mobile terminal of the present invention.
Fig. 2 is the functional schematic block diagram of the preferred embodiment of the contextual model automatic switchover system of mobile terminal of the present invention.
Specific embodiment
The contextual model automatic switching method and system of a kind of mobile terminal provided by the invention, to make mesh of the invention , technical solution and advantage it is clearer, clear, the present invention is described in more detail as follows in conjunction with drawings and embodiments. It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Referring to Figure 1, Fig. 1 is the process of the preferred embodiment of the contextual model automatic switching method of mobile terminal of the present invention Figure.The contextual model automatic switching method of mobile terminal shown in FIG. 1, comprising:
Step S100, contextual model corresponding with various scene environments is set in the terminal in advance and is stored; And preset environmental parameter threshold value corresponding to various scene environments.
In the embodiment of the present invention, need that environmental parameter threshold corresponding to various scene environments is arranged on mobile terminals in advance Value, such as preset mobile terminal and be in bright quiet environment, dim quiet environment, become clear noisy environment and dim noisy When environment, the light of corresponding environment optical flame detector and sound transducer detection, acoustic environment parameter value threshold value.Preferably example Such as be arranged environment be become clear it is noisy, and when motion state is the static scene environment in open air of stationary state, corresponding environment Parameter threshold is that sound is 60 decibels or more, and brightness is defined as a from dark to bright corresponding 0-100 for this implementation of 80(brightness Unit, 0 is dark, 100 highests).
Such as preset mobile terminal and remain static, slowly movement and when strenuous exercise's state is corresponding The rotation of gravity sensor and gyroscope detection, deflection environment parameter value threshold value.Example setting passes through gravity sensor and gyroscope The measurement data of the rotation of acquisition, deflection, as follows: setting moves terminal when being slight movement/stationary state, corresponding environment ginseng It is 1 grade that number threshold value, which is the rotational angular velocity value that gyroscope obtains, and the variation for the acceleration that gravity sensor obtains also is 1 grade;If Set move terminal be slow motion state when, corresponding environmental parameter threshold value be gyroscope obtain rotational angular velocity value be 2 grades, The variation for the acceleration that gravity sensor obtains also is 2 grades;When setting shifting terminal is strenuous exercise's state, corresponding environment ginseng It is 3 grades that number threshold value, which is the rotational angular velocity value that gyroscope obtains, and the variation for the acceleration that gravity sensor obtains also is 3 grades;Deng Deng.
When setting contextual model corresponding with various scene environments in the terminal and store;And it sets Environmental parameter threshold value corresponding to various scene environments, is transferred to step S200.
Step S200, every a predetermined time, the environmental parameter value that mobile terminal is presently in scene is detected, will test Environmental parameter value, be compared with environmental parameter threshold value corresponding to pre-set various scene environments, determine it is mobile eventually Hold the scene environment being presently in.
Such as the rotation of mobile terminal, deflection parameter value can be detected by gravity sensor and gyroscope, and with it is preparatory Environmental parameter threshold value corresponding to the various scene environments being arranged is compared;Judge that current mobile terminal is in static shape State, slowly movement or strenuous exercise's state.
Gyroscope is called angular-rate sensor, is to be different from accelerometer (G-sensor), his measurement physical quantity is Rotational angular velocity when deflection, inclination.On mobile phone, complete 3D movement only can not be measured or reconstructed with accelerometer, The movement of rotation is not detected, G-sensor can only detect axial line movement.But gyroscope then can to rotation, deflection Good measurement is done in movement, and the actual act of user can be thus judged with Accurate Analysis.It, can be right then according to movement Mobile phone does corresponding operation.
G-sensor Chinese is the meaning (full name in English is Gravity-sensor) of gravity sensor, it can be perceived The variation of acceleration, acceleration are exactly the power acted in accelerator on object when object, for example shake, fall, rising, The various mobile variations such as decline can be converted into electric signal by G-sensor, after then being analyzed by the calculating of microprocessor, just It can complete the good function of programming.
It, can be using gravity sensor (G-sensor) and gyroscope to rotation, the measurement data deflected in the present embodiment It combines, can measure or reconstruct complete three-dimensional motion, mobile terminal user can be thus judged with Accurate Analysis Actual act.Thus, it is possible to accurate judgement present terminal be remain static, or slowly movement or strenuous exercise's shape State etc..It is as shown in the table:
  Rotational angular velocity (gyroscope) The variation (G-sensor) of acceleration
Slight movement/stationary state 1 1
Slowly movement 2 2
Strenuous exercise 3 3
In the embodiment of the present invention, the external environment condition parameter of mobile terminal is also detected by environment optical flame detector and sound transducer Value, and be compared with environmental parameter threshold value corresponding to pre-set various scene environments;Judging current mobile terminal is In bright quiet environment, dim quiet environment, become clear noisy environment or dim noisy environment.
Ambient light sensor hardware can perceive ambient light situation, and inform processing chip, automatically adjust on software aobvious Show device backlight illumination, reduces the power consumption of product.It can feel that current environment is indoor or outdoor by luminosity perception.
Sound transducer hardware functions as a microphone (microphone).It is used to receive sound wave, shows sound Vibrational image.But the intensity of noise cannot be measured.In addition software program handles the vibrational image of sound, outside is provided Environment is quiet or noisy.
  It is bright It is dim
It is quiet Academic environment, office space Sleep environment
It is noisy Outdoor dense urban area Public place of entertainment
Preferably, as described above, when the external environment ginseng for detecting mobile terminal by environment optical flame detector and sound transducer Environmental parameter threshold value corresponding to numerical value is that sound is 60 decibels or more, when brightness is 80 or so, corresponds to become clear noisy, and Motion state is the static scene environment in the open air of stationary state.
Step S300, mobile terminal is according to the scene environment being presently in judged, search it is pre-set with deserve The corresponding contextual model of preceding scene environment, automatically switches to contextual model corresponding with the current scene environment.
In the embodiment of the present invention, need to distinguish firstly the need of to different motion state and ambient condition, such as transport Dynamic state can be divided into static, slight movement (such as walking), moderate activity (such as hurry up, jog), strenuous exercise, ambient condition It can be divided into: academic environment, office space, open air etc..Different threshold values is set, by the measurement data to sensor to draw Divide different states.Such as it is as shown in the table:
Static/slight movement Moderate activity Strenuous exercise ……
Bright peace and quiet Academic environment/Office Area/meeting Nothing Nothing
Dim peace and quiet Sleep environment Nothing Nothing
It becomes clear noisy It is outdoor static In open air Superpower open air
It is dim noisy Public place of entertainment 1 Public place of entertainment 2 Public place of entertainment 3
…… ……
It is specifically as follows:
When judgement mobile terminal is currently at academic environment/Office Area/meeting: opening silencing vibrative mode.(this mode Environment is bright peace and quiet, and motion state is static or slight movement).It ought detect that mobile terminal current environment is Bright peace and quiet, and motion state is static or slight motion state;Then determine that mobile terminal is currently located in academic environment, office Area's environment or the scene environment of meeting, and switch corresponding contextual model as vibration silent mode.
When judgement mobile terminal is currently at sleep environment: opening silent mode (without friction).(environment of this mode is dusk It is dark quiet, and motion state is static or slight movement).It ought detect that mobile terminal current environment is dim peace It is quiet, and motion state is scene environment that is static or slightly moving, then determines that mobile terminal is currently at sleep environment: and cut Changing corresponding contextual model is silent mode without friction.
When determining that it is outdoor static that mobile terminal is currently at: opening outdoor mode 1, without friction, volume is 2/3rds Position.(environment of this mode is noisy to become clear, and motion state is static or slight movement).Such as when detecting movement Terminal current environment is noisy to become clear, and motion state is stationary state;It is outdoor static then to determine that mobile terminal is currently located Scene environment, and switching corresponding contextual model is first outdoor mode of the without friction, volume in 2/3rds positions.
When judgement mobile terminal is currently in open air: opening outdoor mode 2, without friction, volume maximum position.(this mould The environment of formula is noisy to become clear, and motion state is slight movement).Such as when detect mobile terminal current environment be it is bright It is bright noisy, and motion state is slight motion state;Then determine that mobile terminal is currently at outdoor scene environment, and switching pair The contextual model answered is second outdoor mode of the without friction, volume in 2/3rds positions.
When judgement mobile terminal is currently at superpower open air: starting outdoor mode 3, vibration, volume maximum position.(this mould The environment of formula be become clear it is noisy, and motion state be strong), for example when detect mobile terminal current environment be become clear disturb by making noise It is noisy, and motion state is strong state;Then determine that mobile terminal is currently at the scene environment of superpower open air, and switches corresponding Contextual model is vibration, the third open air mode of volume maximum position.
When public place of entertainment 1: opening public place of entertainment mode 1, vibration, volume has splashette to prompt 1 in 2/3rds position Minute 1 time.(environment of this mode is dim noisy.Splashette is shown in dim environment than bright to be easier that client is made to find to move Dynamic terminal notifying information.And motion state is static or slight movement.Such as when detecting mobile terminal current environment To be dim noisy, and motion state is and motion state is static or slight motion state;Then determine that mobile terminal is currently located Scene environment in public place of entertainment 1, and switch corresponding contextual model as vibration, volume has sudden strain of a muscle in 2/3rds position Screen prompts 1 minute 1 time public place of entertainment mode 1.
Public place of entertainment 2: public place of entertainment mode 2, vibration, volume maximum position are opened, and has splashette to prompt 30 seconds 1 time.(this The environment of mode is dim noisy, and motion state is poisoning movement).When detect mobile terminal current environment be it is dim It is noisy, and motion state is moderate activity state;Then determine that mobile terminal is currently at the scene environment of public place of entertainment 2, and cuts Corresponding contextual model is changed as vibration, volume maximum position, and the public place of entertainment mode 2 for thering is splashette to prompt 30 seconds 1 time;
When judgement mobile terminal is currently at public place of entertainment 1: opening public place of entertainment mode 3, vibration, volume is 2/3rds Position, and have splashette prompt 10 seconds it is primary.(environment of this mode is dim noisy, and motion state is strong movements).Example Detect that mobile terminal current environment is dim noisy as worked as, and motion state is strong movements state;Then determine to move Terminal is currently at the scene environment of public place of entertainment 3, and switches corresponding contextual model as vibration, position of the volume 2/3rds It sets, and there is splashette to prompt 10 seconds primary public place of entertainment modes 3.
Therefore the present invention provides a kind of contextual model automatic switching method of mobile terminal, may be implemented mobile whole The scene environment that end is presently according to the mobile terminal judged, automatically switches to scene corresponding with the current scene environment Mode.The present invention considers not only motion state, it is also contemplated that ambient condition, it can preferably be user provider that the two, which combines, Just.
Based on above method embodiment, the present invention also provides a kind of contextual model automatic switchover system of mobile terminal, As shown in Fig. 2, the system comprises:
Module 210 is preset, for scene corresponding with various scene environments to be arranged in the terminal in advance Mode simultaneously stores;And preset environmental parameter threshold value corresponding to various scene environments;As detailed above.
Scene environment judgment module 220, for detecting the environment that mobile terminal is presently in scene every a predetermined time Parameter value, the environmental parameter value that will test are carried out with environmental parameter threshold value corresponding to pre-set various scene environments It compares, determines the scene environment that mobile terminal is presently in;As detailed above.
Contextual model switching module 230 is searched pre- for mobile terminal according to the scene environment being presently in judged The contextual model corresponding with the current scene environment being first arranged, automatically switches to scene mould corresponding with the current scene environment Formula, as detailed above.
The contextual model automatic switchover system of the mobile terminal, wherein
Presetting module 210 includes:
First setting unit remains static for presetting mobile terminal, slowly movement and strenuous exercise's state When, the rotation of corresponding gravity sensor and gyroscope detection, deflection environment parameter value threshold value;As detailed above.
Second setting unit is in bright quiet environment for presetting mobile terminal, and dim quiet environment becomes clear and disturbs by making noise When noisy environment and dim noisy environment, the light of corresponding environment optical flame detector and sound transducer detection, acoustic environment ginseng Numerical threshold;As detailed above.
Scene environment judgment module 220 includes:
First environment judgment module, for detecting the rotation of mobile terminal by gravity sensor and gyroscope, deflection is joined Numerical value, and be compared with environmental parameter threshold value corresponding to pre-set various scene environments;Judge current mobile terminal Be remain static, slowly movement or strenuous exercise's state;As detailed above.
Second environment judgment module, for detecting the external environment of mobile terminal by environment optical flame detector and sound transducer Parameter value, and be compared with environmental parameter threshold value corresponding to pre-set various scene environments;Judgement is current mobile whole End is in bright quiet environment, and dim quiet environment, become clear noisy environment or dim noisy environment;As detailed above.
Contextual model switching module 230 includes:
First contextual model switch unit for quiet to become clear when detecting mobile terminal current environment, and is transported Dynamic state is static or slight motion state;Then determine that mobile terminal is currently located in academic environment, Office Area environment or meeting Scene environment, and switch corresponding contextual model for vibration silent mode;As detailed above.
Second contextual model switch unit detects that mobile terminal current environment is dim peace and quiet for working as, and transports Dynamic state is scene environment that is static or slightly moving, then determines that mobile terminal is currently at sleep environment: and switch correspondence Contextual model be silent mode without friction;As detailed above.
Third contextual model switch unit, for when detect mobile terminal current environment be become clear it is noisy, and transport Dynamic state is stationary state;Then determine that mobile terminal currently locates outdoor static scene environment, and switches corresponding contextual model The first outdoor mode for without friction, volume in 2/3rds positions;As detailed above.
4th contextual model switch unit, for when detect mobile terminal current environment be become clear it is noisy, and transport Dynamic state is slight motion state;Then determine that mobile terminal is currently at outdoor scene environment, and switches corresponding scene mould Formula is second outdoor mode of the without friction, volume in 2/3rds positions;As detailed above.
5th contextual model switch unit, for when detect mobile terminal current environment be become clear it is noisy, and transport Dynamic state is strong state;Then determine that mobile terminal is currently at the scene environment of superpower open air, and switches corresponding scene mould Formula is vibration, the third open air mode of volume maximum position;As detailed above.
6th contextual model switch unit detects that mobile terminal current environment is dim noisy for working as, and transports Dynamic state is and motion state is static or slight motion state;Then determine that mobile terminal is currently at the field of public place of entertainment 1 Scape environment, and switch corresponding contextual model as vibration, volume has splashette to prompt 1 minute 1 time in 2/3rds position Public place of entertainment mode 1;As detailed above.
7th contextual model switch unit detects that mobile terminal current environment is dim noisy for working as, and transports Dynamic state is moderate activity state;Then determine that mobile terminal is currently at the scene environment of public place of entertainment 2, and switches corresponding feelings Scape mode is vibration, volume maximum position, and the public place of entertainment mode 2 for having splashette to prompt 30 seconds 1 time;As detailed above.
8th contextual model switch unit detects that mobile terminal current environment is dim noisy for working as, and transports Dynamic state is strong movements state;Then determine that mobile terminal is currently at the scene environment of public place of entertainment 3, and switches corresponding feelings Scape mode is vibration, and volume has splashette to prompt 10 seconds primary public place of entertainment modes 3 in 2/3rds position, specifically such as It is upper described.
In conclusion the contextual model automatic switching method and system of mobile terminal provided by the present invention, due to using The assembly functions such as gyroscope, accelerometer (G-sensor), optical sensor, sound transducer in mobile terminal, determine to work as Environment locating for preceding user, so as to adjust for corresponding contextual model, user-friendly to adapt to user demand, the present invention So that mobile terminal is increased new function: mobile terminal is automatically switched to according to the scene environment being presently in judged Contextual model corresponding with the current scene environment.It provides users with the convenient.Compared to current user, oneself manual setting has very Big advantage.
The present invention is realized by collect components motion state in mobile terminal and ambient condition to the automatic of contextual model It adjusts, the puzzlement of manual mode can be exempted in this way.The present invention can be adapted to the mobile phone of any company or with sensory package Equipment, popularization is stronger, be more convenient.This programme is easy to be applied in mobile phone research and development, and has higher practicability, with This facilitates characteristic to attract clients.
It should be understood that the application of the present invention is not limited to the above for those of ordinary skills can With improvement or transformation based on the above description, all these modifications and variations all should belong to the guarantor of appended claims of the present invention Protect range.

Claims (4)

1. a kind of contextual model automatic switching method of mobile terminal, which is characterized in that comprising steps of
A, contextual model corresponding with various scene environments is set in the terminal in advance and is stored;And it presets Environmental parameter threshold value corresponding to various scene environments;
B, every a predetermined time, the environmental parameter value that mobile terminal is presently in scene, the environmental parameter that will test are detected Value, is compared with environmental parameter threshold value corresponding to pre-set various scene environments, determines that mobile terminal is presently in Scene environment;
C, mobile terminal search the pre-set and current scene environment pair according to the scene environment being presently in judged The contextual model answered automatically switches to contextual model corresponding with the current scene environment;
A11, it presets mobile terminal and remains static, slowly movement and when strenuous exercise's state, corresponding gravity The rotation of sensor and gyroscope detection, deflection environment parameter value threshold value;
By gravity sensor and gyroscope to the measurement data of rotation, deflection, complete three-dimensional motion is measured or reconstructed, is used The motion state locating for judgement current mobile terminal;
The step A further include:
A12, it presets mobile terminal and is in bright quiet environment, dim quiet environment, become clear noisy environment and dim noisy When environment, the light of corresponding environment optical flame detector and sound transducer detection, acoustic environment parameter value threshold value;
The step B further include:
B12, the external environment condition parameter value that mobile terminal is detected by environment optical flame detector and sound transducer, and with it is pre-set Environmental parameter threshold value corresponding to various scene environments is compared;Judge that current mobile terminal is to be in bright quiet environment, Dim quiet environment, become clear noisy environment or dim noisy environment;
The step C is specifically included:
C21, when detecting that mobile terminal current environment is bright peace and quiet, and motion state is static or slightly moves shape State;Then determine that mobile terminal is currently located in the scene environment of academic environment, Office Area environment or meeting, and switches corresponding scene Mode is vibration silent mode;
C22, when detecting that mobile terminal current environment is dim peace and quiet, and motion state is static or slightly moves Scene environment then determines that mobile terminal is currently at sleep environment: and switching corresponding contextual model is silent mode without friction;
The step C is specific further include:
C23, when detect mobile terminal current environment be become clear it is noisy, and motion state be stationary state;Then determine to move Dynamic terminal currently locates outdoor static scene environment, and switching corresponding contextual model is without friction, volume at 2/3rds The outdoor mode of first set;
C24, when detect mobile terminal current environment be become clear it is noisy, and motion state be slight motion state;Then sentence Determine mobile terminal and be currently at outdoor scene environment, and switching corresponding contextual model is without friction, volume 2/3rds The outdoor mode of the second of position;
C25, when detect mobile terminal current environment be become clear it is noisy, and motion state be strong state;Then determine to move Dynamic terminal is currently at the scene environment of superpower open air, and switches corresponding contextual model as vibration, and the of volume maximum position Three outdoor modes;
The step C is specific further include:
C26, when detecting that mobile terminal current environment is dim noisy, and motion state is static or slightly moves shape State;Then determine that mobile terminal is currently at the scene environment of public place of entertainment 1, and switches corresponding contextual model as vibration, volume In 2/3rds position, and the public place of entertainment mode 1 for thering is splashette to prompt 1 minute 1 time;
C27, when detect mobile terminal current environment be it is dim noisy, and motion state be moderate activity state;Then sentence Determine the scene environment that mobile terminal is currently at public place of entertainment 2, and switches corresponding contextual model as vibration, volume dominant bit The public place of entertainment mode 2 set, and there is splashette to prompt 30 seconds 1 time;
C28, when detect mobile terminal current environment be it is dim noisy, and motion state be strong movements state;Then sentence Determine the scene environment that mobile terminal is currently at public place of entertainment 3, and switch corresponding contextual model as vibration, volume three/ Two position, and there is splashette to prompt 10 seconds primary public place of entertainment modes 3;
The motion state and ambient condition that mobile terminal is presently according to the mobile terminal judged, combine according to the two Scene environment automatically switch to contextual model corresponding with the current scene environment.
2. the contextual model automatic switching method of mobile terminal according to claim 1, which is characterized in that the step B Further include:
B11, the rotation that mobile terminal is detected by gravity sensor and gyroscope, deflection parameter value, and with it is pre-set each Environmental parameter threshold value corresponding to kind scene environment is compared;Judge that current mobile terminal is to remain static, slowly transport Dynamic or strenuous exercise's state.
3. a kind of contextual model automatic switchover system of mobile terminal characterized by comprising
Module is preset, for contextual model corresponding with various scene environments to be arranged in the terminal in advance and deposits Storage;And preset environmental parameter threshold value corresponding to various scene environments;
Scene environment judgment module, for detecting the environmental parameter value that mobile terminal is presently in scene every a predetermined time, The environmental parameter value that will test is compared with environmental parameter threshold value corresponding to pre-set various scene environments, sentences Determine the scene environment that mobile terminal is presently in;
Contextual model switching module, for mobile terminal according to the scene environment being presently in judged, lookup is preset Contextual model corresponding with the current scene environment, automatically switch to contextual model corresponding with the current scene environment;
Presetting module includes:
First setting unit remains static for presetting mobile terminal, slowly movement and when strenuous exercise's state, The rotation of corresponding gravity sensor and gyroscope detection, deflection environment parameter value threshold value;
By gravity sensor and gyroscope to the measurement data of rotation, deflection, complete three-dimensional motion is measured or reconstructed, is used The motion state locating for judgement current mobile terminal;
Presetting module includes:
Second setting unit is in bright quiet environment for presetting mobile terminal, and dim quiet environment, become clear noisy ring When border and dim noisy environment, light, the acoustic environment parameter value of corresponding environment optical flame detector and sound transducer detection Threshold value;
Second environment judgment module, for detecting the external environment condition parameter of mobile terminal by environment optical flame detector and sound transducer Value, and be compared with environmental parameter threshold value corresponding to pre-set various scene environments;Judging current mobile terminal is In bright quiet environment, dim quiet environment, become clear noisy environment or dim noisy environment;
Contextual model switching module includes:
First contextual model switch unit for quiet to become clear when detecting mobile terminal current environment, and moves shape State is static or slight motion state;Then determine that mobile terminal is currently located in the field of academic environment, Office Area environment or meeting Scape environment, and switch corresponding contextual model as vibration silent mode;
Second contextual model switch unit detects that mobile terminal current environment is dim peace and quiet for working as, and moves shape State is scene environment that is static or slightly moving, then determines that mobile terminal is currently at sleep environment: and switch corresponding feelings Scape mode is silent mode without friction;
Third contextual model switch unit, for when detect mobile terminal current environment be become clear it is noisy, and move shape State is stationary state;Then determine that mobile terminal currently locates outdoor static scene environment, and switching corresponding contextual model is nothing Vibration, volume 2/3rds positions the first outdoor mode;
4th contextual model switch unit, for when detect mobile terminal current environment be become clear it is noisy, and move shape State is slight motion state;Then determine that mobile terminal is currently at outdoor scene environment, and switches corresponding contextual model and be Second outdoor mode of the without friction, volume in 2/3rds positions;
5th contextual model switch unit, for when detect mobile terminal current environment be become clear it is noisy, and move shape State is strong state;Then determine that mobile terminal is currently at the scene environment of superpower open air, and switches corresponding contextual model and be Vibration, the third open air mode of volume maximum position;
6th contextual model switch unit detects that mobile terminal current environment is dim noisy for working as, and moves shape State is static or slight motion state;Then determine that mobile terminal is currently at the scene environment of public place of entertainment 1, and switches correspondence Contextual model be vibration, volume has splashette to prompt 1 minute 1 time public place of entertainment mode 1 in 2/3rds position;
7th contextual model switch unit detects that mobile terminal current environment is dim noisy for working as, and moves shape State is moderate activity state;Then determine that mobile terminal is currently at the scene environment of public place of entertainment 2, and switches corresponding scene mould Formula is vibration, volume maximum position, and the public place of entertainment mode 2 for having splashette to prompt 30 seconds 1 time;
8th contextual model switch unit detects that mobile terminal current environment is dim noisy for working as, and moves shape State is strong movements state;Then determine that mobile terminal is currently at the scene environment of public place of entertainment 3, and switches corresponding scene mould Formula is vibration, and volume has splashette to prompt 10 seconds primary public place of entertainment modes 3 in 2/3rds position;
The motion state and ambient condition that mobile terminal is presently according to the mobile terminal judged, combine according to the two Scene environment automatically switch to contextual model corresponding with the current scene environment.
4. the contextual model automatic switchover system of mobile terminal according to claim 3, which is characterized in that
Scene environment judgment module includes:
First environment judgment module, for detecting rotation, the deflection parameter value of mobile terminal by gravity sensor and gyroscope, And it is compared with environmental parameter threshold value corresponding to pre-set various scene environments;Judge that current mobile terminal is to be in Stationary state, slowly movement or strenuous exercise's state.
CN201510281360.8A 2015-05-28 2015-05-28 A kind of the contextual model automatic switching method and system of mobile terminal Active CN104836918B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510281360.8A CN104836918B (en) 2015-05-28 2015-05-28 A kind of the contextual model automatic switching method and system of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510281360.8A CN104836918B (en) 2015-05-28 2015-05-28 A kind of the contextual model automatic switching method and system of mobile terminal

Publications (2)

Publication Number Publication Date
CN104836918A CN104836918A (en) 2015-08-12
CN104836918B true CN104836918B (en) 2018-12-07

Family

ID=53814541

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510281360.8A Active CN104836918B (en) 2015-05-28 2015-05-28 A kind of the contextual model automatic switching method and system of mobile terminal

Country Status (1)

Country Link
CN (1) CN104836918B (en)

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106486124A (en) * 2015-08-28 2017-03-08 中兴通讯股份有限公司 A kind of method of speech processes and terminal
US10348883B2 (en) * 2015-09-28 2019-07-09 Sharp Kabushiki Kaisha Control device, electronic apparatus, control program, and storage medium
CN105245722B (en) * 2015-10-29 2019-05-14 深圳市艾酷通信软件有限公司 The based reminding method and mobile terminal of mobile terminal
CN105577936A (en) * 2016-01-11 2016-05-11 广东欧珀移动通信有限公司 Scenario module adjustment method and device
CN105827860A (en) * 2016-05-11 2016-08-03 惠州Tcl移动通信有限公司 Intelligent no-disturbance mode control method and system based on mobile terminal
CN106303088A (en) * 2016-09-30 2017-01-04 努比亚技术有限公司 Prompting control method and mobile terminal
CN106671915A (en) * 2016-12-06 2017-05-17 深圳市元征科技股份有限公司 Automatic intra-vehicle environment adjustment method and device
CN106713652A (en) * 2017-01-03 2017-05-24 郑州云海信息技术有限公司 Method and device for regulating mobile phone use parameters
CN106980563B (en) * 2017-03-08 2021-03-23 惠州Tcl移动通信有限公司 Dynamic mode detection method and detection system thereof
CN107045444A (en) * 2017-04-18 2017-08-15 广东小天才科技有限公司 A kind of application program recommends method and device
CN107087068A (en) * 2017-04-18 2017-08-22 广东小天才科技有限公司 A kind of running of mobile terminal mode switching method and device
CN107231476A (en) * 2017-05-31 2017-10-03 深圳市邦华电子有限公司 Mobile terminal and its scene mode setting method, device
CN107277260A (en) * 2017-07-07 2017-10-20 珠海格力电器股份有限公司 A kind of contextual model method of adjustment, device and mobile terminal
CN107454264A (en) * 2017-08-11 2017-12-08 无锡北斗星通信息科技有限公司 A kind of intelligent audio driving method
WO2019061112A1 (en) * 2017-09-27 2019-04-04 深圳传音通讯有限公司 Switching method and switching apparatus for profiles of smart device
CN107592427B (en) * 2017-10-11 2020-07-07 广东小天才科技有限公司 Mode switching method, terminal device and computer readable storage medium
CN107690034A (en) * 2017-10-27 2018-02-13 中国科学技术大学苏州研究院 Intelligent scene mode switching system and method based on environmental background sound
CN107832102B (en) * 2017-10-31 2020-12-29 廊坊市朔程燃气有限公司 Contextual model operation method and device and computer-readable storage medium
CN107846513A (en) * 2017-11-01 2018-03-27 上海掌门科技有限公司 The implementation method and equipment of do-not-disturb mode
CN107911544A (en) * 2017-11-13 2018-04-13 广东欧珀移动通信有限公司 The method for controlling volume and device of a kind of mobile terminal
CN109067990B (en) * 2018-08-20 2021-01-08 麒麟合盛网络技术股份有限公司 Application service execution method and device
CN108712578A (en) * 2018-08-28 2018-10-26 国人(江苏)智能通讯科技有限公司 A kind of method and apparatus that communication tool pattern automatically switches
CN110365844A (en) * 2019-07-19 2019-10-22 深圳传音控股股份有限公司 Scene mode switching method and terminal
CN112003983A (en) * 2020-08-17 2020-11-27 上海龙旗科技股份有限公司 Adaptive vibration system, terminal, method, and computer-readable storage medium
CN112199183A (en) * 2020-11-02 2021-01-08 Tcl通讯(宁波)有限公司 Method and device for controlling application scene data, storage medium and mobile terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0507482A2 (en) * 1991-04-04 1992-10-07 Nokia Mobile Phones Ltd. Telephone ring generator with automatic volume control according to the ambient noise level
CN103281436A (en) * 2013-04-27 2013-09-04 深圳市金立通信设备有限公司 Method for adjusting brightness of mobile terminal screen and mobile terminal
CN103327162A (en) * 2012-03-21 2013-09-25 华为技术有限公司 Contextual model setting method and terminal device
CN103414825A (en) * 2013-08-15 2013-11-27 惠州Tcl移动通信有限公司 Contextual model switching method based on sensor group and mobile terminal thereof
CN104052858A (en) * 2013-03-13 2014-09-17 联想移动通信科技有限公司 Method for setting situational pattern of mobile terminal and mobile terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130247121A1 (en) * 2010-11-26 2013-09-19 Ming Yuan Interaction method between digital television reception terminal and mobile terminal, terminal and system
CN102624989A (en) * 2012-03-30 2012-08-01 深圳市金立通信设备有限公司 Automatic detecting system and method for contextual model of smart mobile phone
CN103544970B (en) * 2012-07-12 2016-06-15 百度在线网络技术(北京)有限公司 Recording autocontrol method and control device for mobile terminal
CN104042219B (en) * 2014-06-28 2017-02-01 青岛歌尔声学科技有限公司 Method and device for detecting motion state

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0507482A2 (en) * 1991-04-04 1992-10-07 Nokia Mobile Phones Ltd. Telephone ring generator with automatic volume control according to the ambient noise level
CN103327162A (en) * 2012-03-21 2013-09-25 华为技术有限公司 Contextual model setting method and terminal device
CN104052858A (en) * 2013-03-13 2014-09-17 联想移动通信科技有限公司 Method for setting situational pattern of mobile terminal and mobile terminal
CN103281436A (en) * 2013-04-27 2013-09-04 深圳市金立通信设备有限公司 Method for adjusting brightness of mobile terminal screen and mobile terminal
CN103414825A (en) * 2013-08-15 2013-11-27 惠州Tcl移动通信有限公司 Contextual model switching method based on sensor group and mobile terminal thereof

Also Published As

Publication number Publication date
CN104836918A (en) 2015-08-12

Similar Documents

Publication Publication Date Title
CN104836918B (en) A kind of the contextual model automatic switching method and system of mobile terminal
US10453443B2 (en) Providing an indication of the suitability of speech recognition
CN108605073B (en) Sound signal processing method, terminal and earphone
JP5768185B2 (en) Method and apparatus for automatically displaying application components on a desktop
CN104039040B (en) The control method and device of intelligent lamp
US20210249052A1 (en) Video synthesis method terminal and computer storage medium
CN103780748A (en) Mobile terminal and contextual model automatic switching method thereof
CN106033248B (en) A kind of information processing method and electronic equipment
KR101763717B1 (en) Smart Watch To Change The Display Color Based On User's State
CN111143683A (en) Terminal interaction recommendation method and device and readable storage medium
CN106453860A (en) Switching method and device of sound mode and user terminal
CN109840119A (en) A kind of terminal applies starting method, terminal and computer readable storage medium
CN111182408B (en) Information playing method, sound box equipment and storage medium
CN106777115A (en) Song processing method and processing device
CN106027801A (en) Method and device for processing communication message and mobile device
CN107801282A (en) Desk lamp, desk lamp control method and device
CN110870322B (en) Information processing apparatus, information processing method, and computer program
CN107145221A (en) A kind of information processing method and electronic equipment
CN109375893A (en) Audio frequency playing method and device
CN114979921A (en) Earphone sound leakage detection method and device and Bluetooth earphone
CN108650392A (en) A kind of call recording method and mobile terminal
CN112614507A (en) Method and apparatus for detecting noise
CN108124044A (en) Book management method and device
CN108920539B (en) Method for searching answers to questions and family education machine
CN105930522A (en) Intelligent music recommendation method, system and 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