CN103152482B - Method and system for setting mobile terminal meeting mode - Google Patents
Method and system for setting mobile terminal meeting mode Download PDFInfo
- Publication number
- CN103152482B CN103152482B CN201310062427.XA CN201310062427A CN103152482B CN 103152482 B CN103152482 B CN 103152482B CN 201310062427 A CN201310062427 A CN 201310062427A CN 103152482 B CN103152482 B CN 103152482B
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- time parameter
- state
- count2
- count1
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 68
- 230000004913 activation Effects 0.000 claims abstract description 97
- 230000003213 activating effect Effects 0.000 claims abstract description 21
- 230000001133 acceleration Effects 0.000 claims description 55
- 230000033001 locomotion Effects 0.000 claims description 32
- 238000001514 detection method Methods 0.000 claims description 27
- 230000005484 gravity Effects 0.000 claims description 21
- 230000003068 static effect Effects 0.000 claims description 11
- 230000005540 biological transmission Effects 0.000 claims description 6
- 238000012163 sequencing technique Methods 0.000 claims description 5
- 230000009849 deactivation Effects 0.000 abstract 2
- 230000008569 process Effects 0.000 description 36
- 238000004891 communication Methods 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000005055 memory storage Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000000284 resting effect Effects 0.000 description 1
Landscapes
- Telephone Function (AREA)
Abstract
The invention provides a method and a system for setting a mobile terminal meeting mode. The problem that the normal use for a user is affected because the setting of the meeting mode is forgotten is solved. The method comprises the following steps of: detecting state parameters corresponding to a mobile terminal; reading the state parameters corresponding to the mobile terminal and the setting state of the mobile terminal meeting mode, wherein the setting state comprises a non-activated state and an activated state; when the setting state of the mobile terminal meeting mode is non-activated, judging whether the mobile terminal meets activation conditions according to the state parameters corresponding to the mobile terminal; when the mobile terminal meets the activation conditions, activating the meeting mode of the mobile terminal; when the setting state of the mobile terminal meeting mode is activated, judging whether the mobile terminal meets deactivation conditions according to the state parameters corresponding to the mobile terminal; and when the mobile terminal meets the deactivation conditions, deactivating the meeting mode of the mobile terminal. The method and the system for setting a mobile terminal meeting mode effectively solve the above problem.
Description
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a method and a system for setting a conference mode of a mobile terminal.
Background
With the progress and development of society, communication between people is more and more frequent, and a mobile terminal is more and more favored as a communication device. In order to adapt to applications in different environments, a mobile terminal generally has a function of a contextual model, and different models can be set in different environments.
One of the more important modes is the conference mode. The user can manually activate the conference mode of the mobile terminal in the conference opening process, so that the interference of incoming call ring tones or short message ring tones in the conference opening process is avoided; and after the conference is finished, the conference mode can be manually cancelled so as to recover the normal ring tone reminding and avoid missing the call or missing the short message.
However, the user manually sets the conference mode of the mobile terminal, and the user often forgets to activate the conference mode during a conference, or forgets to cancel the conference mode after the conference is finished, so that the normal use of the user is affected by the situation.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide a method and a system for setting a conference mode of a mobile terminal, so as to solve the problem that normal use of a user is affected due to forgetting to set the conference mode.
In order to solve the above problems, the present invention discloses a method for setting a conference mode of a mobile terminal, comprising:
detecting a state parameter corresponding to the mobile terminal;
reading a state parameter corresponding to the mobile terminal and a setting state of a mobile terminal conference mode; wherein the set state includes inactive and active;
when the setting state of the mobile terminal conference mode is not activated, judging whether the mobile terminal meets an activation condition or not according to the state parameter corresponding to the mobile terminal;
when the mobile terminal meets the activation condition, activating a conference mode of the mobile terminal;
when the setting state of the mobile terminal conference mode is activated, judging whether the mobile terminal meets a cancellation condition or not according to the state parameter corresponding to the mobile terminal;
and when the mobile terminal meets the cancellation condition, canceling the conference mode of the mobile terminal.
Optionally, the state parameter corresponding to the mobile terminal includes: the time parameter Count1_ index of the mobile terminal in the indoor state, the time parameter Count1_ outdoor of the mobile terminal in the outdoor state, the time parameter Count2_ stop of the mobile terminal in the stationary state, the time parameter Count2_ move of the mobile terminal in the motion state, and the number Count3 of the mobile terminals whose setting state of the conference mode in the preset range is activated.
Optionally, the detecting the state parameter corresponding to the mobile terminal includes:
reading the signal reception/transmission power of the mobile terminal and comparing the signal reception/transmission power with a power Threshold value Threshold 1;
when the signal receiving/transmitting power is less than or equal to a power Threshold1, setting the time parameter Count1_ indor to 0, and adding 1 to the time parameter Count1_ outdoor;
when the signal receiving/transmitting power is greater than a power Threshold value Threshold1, adding 1 to the time parameter Count1_ index, and setting 0 to the time parameter Count1_ outdoor.
Optionally, the detecting the state parameter corresponding to the mobile terminal includes:
reading gravity acceleration data of the mobile terminal, and comparing the gravity acceleration data with an acceleration Threshold value Threshold 2;
when the gravity acceleration data is smaller than or equal to an acceleration Threshold value Threshold2, adding 1 to the time parameter Count2_ stop, and setting 0 to the time parameter Count2_ move;
when the signal gravity acceleration data is larger than an acceleration Threshold2, setting the time parameter Count2_ stop to 0, and adding 1 to the time parameter Count2_ move.
Optionally, the detecting the state parameter corresponding to the mobile terminal includes:
searching for the mobile terminals with the signal intensity larger than the intensity threshold value P in the preset range, and sequencing the mobile terminals according to the signal intensity;
reading the setting states of the conference modes broadcasted by the first n sequenced mobile terminals;
the setting state of the statistical conference mode is the number Count3 of the activated mobile terminals.
Optionally, the determining, according to the state parameter corresponding to the mobile terminal, whether the mobile terminal meets the activation condition includes:
sequentially judging whether the time parameter Count1_ indor of the indoor state of the mobile terminal, the time parameter Count2_ stop of the static state of the mobile terminal and the number Count3 of the activated mobile terminals in the setting state of the conference mode in the preset range meet the activation condition;
and when the time parameter Count1_ indor, the time parameter Count2_ stop and the number Count3 all meet the activation condition, determining that the mobile terminal meets the activation condition.
Optionally, the sequentially determining whether the time parameter Count1_ indor when the mobile terminal is in the indoor state, the time parameter Count2_ stop when the mobile terminal is in the stationary state, and the number Count3 of the mobile terminals whose setting state of the conference mode in the preset range is activated satisfy the activation condition includes:
judging whether the time parameter Count1_ index is greater than or equal to an indoor threshold value threshold _ index;
determining that the time parameter Count1_ indor satisfies the activation condition when the time parameter Count1_ indor is greater than or equal to the indoor threshold _ indor;
judging whether the time parameter Count2_ stop is greater than or equal to a still threshold _ stop;
determining that the time parameter Count2_ stop satisfies the activation condition when the time parameter Count2_ stop is greater than or equal to a still threshold _ stop;
judging whether the setting state of the conference mode in the preset range is that the number Count3 of the activated mobile terminals is greater than or equal to a number threshold value threshold _ 1;
when the Count3 is greater than or equal to the Count threshold _1, it is determined that the Count3 satisfies the activation condition.
Optionally, the determining, according to the state parameter corresponding to the mobile terminal, whether the mobile terminal meets a cancellation condition includes:
sequentially judging whether the time parameter Count1_ outdoor of the mobile terminal, the time parameter Count2_ move of the mobile terminal in the motion state and the number Count3 of the mobile terminals of which the setting state of the conference mode in the preset range is activated meet the cancel condition;
and when the time parameter Count1_ outdoor, the time parameter Count2_ move or the number Count3 meets the cancellation condition, stopping judging the next state parameter and determining that the mobile terminal meets the cancellation condition.
Optionally, the sequentially determining whether the time parameter Count1_ outdoor of the mobile terminal in the outdoor state, the time parameter Count2_ move of the mobile terminal in the motion state, and the number Count3 of the mobile terminals whose setting state of the conference mode in the preset range is activated satisfy the cancellation condition includes:
judging whether the time parameter Count1_ outdoor is greater than or equal to an outdoor threshold value threshold _ outdoor;
when the time parameter Count1_ outdoor is greater than or equal to the outdoor threshold value threshold _ outdoor, determining that the time parameter Count1_ outdoor meets a cancellation condition;
when the time parameter Count1_ outdoor is less than the outdoor threshold value threshold _ outdoor, judging whether the time parameter Count2_ move is greater than or equal to the motion threshold value threshold _ move;
determining that the time parameter Count2_ move satisfies a cancellation condition when the time parameter Count2_ move is greater than or equal to a movement threshold _ move;
when the time parameter Count2_ move is less than the movement threshold value threshold _ move, determining whether the Count3 is less than or equal to the Count threshold value threshold _ 0;
when the Count3 is less than or equal to the Count threshold value threshold _0, it is determined that the Count3 satisfies the cancellation condition.
The invention also discloses a system for setting the conference mode of the mobile terminal, which comprises the following steps:
the detection module is used for detecting the corresponding state parameters of the mobile terminal;
the reading module is used for reading the state parameters corresponding to the mobile terminal and the setting state of the mobile terminal conference mode; wherein the set state includes inactive and active;
the mobile terminal comprises a judging and activating module, a judging and activating module and a judging and activating module, wherein the judging and activating module is used for judging whether the mobile terminal meets an activating condition according to a state parameter corresponding to the mobile terminal when the setting state of the mobile terminal conference mode is not activated; when the mobile terminal meets the activation condition, activating a conference mode of the mobile terminal;
the mobile terminal comprises a judging and canceling module, a judging and canceling module and a processing module, wherein the judging and canceling module is used for judging whether the mobile terminal meets a canceling condition according to a state parameter corresponding to the mobile terminal when the setting state of the mobile terminal conference mode is activated; and when the mobile terminal meets the cancellation condition, canceling the conference mode of the mobile terminal.
Optionally, the state parameter corresponding to the mobile terminal includes: the time parameter Count1_ index of the mobile terminal in the indoor state, the time parameter Count1_ outdoor of the mobile terminal in the outdoor state, the time parameter Count2_ stop of the mobile terminal in the stationary state, the time parameter Count2_ move of the mobile terminal in the motion state, and the number Count3 of the mobile terminals whose setting state of the conference mode in the preset range is activated.
Optionally, the detection module includes:
the power comparison submodule is used for reading the signal receiving/transmitting power of the mobile terminal and comparing the signal receiving/transmitting power with a power Threshold value Threshold 1;
a first parameter calculating sub-module, configured to set the time parameter Count1_ indor to 0 and add 1 to the time parameter Count1_ outdoor when the signal receiving/transmitting power is less than or equal to a power Threshold value Threshold 1; when the signal receiving/transmitting power is greater than a power Threshold value Threshold1, adding 1 to the time parameter Count1_ index, and setting 0 to the time parameter Count1_ outdoor.
Optionally, the detection module includes:
the acceleration comparison submodule is used for reading the gravity acceleration data of the mobile terminal and comparing the gravity acceleration data with an acceleration Threshold value Threshold 2;
a second parameter calculation submodule, configured to, when the gravitational acceleration data is less than or equal to an acceleration Threshold2, add 1 to the time parameter Count2_ stop, and set 0 to the time parameter Count2_ move; when the signal gravity acceleration data is larger than an acceleration Threshold2, setting the time parameter Count2_ stop to 0, and adding 1 to the time parameter Count2_ move.
Optionally, the detection module includes:
the searching submodule is used for searching the mobile terminals with the signal intensity larger than the intensity threshold value P in the preset range and sequencing the mobile terminals according to the signal intensity;
and the quantity calculation submodule is used for reading the setting states of the conference modes broadcasted by the sequenced first n mobile terminals and counting the number Count3 of the activated mobile terminals, wherein the setting states of the conference modes are the setting states of the activated mobile terminals.
Optionally, the determining activation module includes:
the activation judging submodule is used for sequentially judging whether the time parameter Count1_ indor of the indoor state of the mobile terminal, the time parameter Count2_ stop of the static state of the mobile terminal and the number Count3 of the activated mobile terminals in the setting state of the conference mode in the preset range meet the activation condition;
and the activation determining submodule is used for determining that the mobile terminal meets the activation condition when the time parameter Count1_ indor, the time parameter Count2_ stop and the number Count3 all meet the activation condition.
Optionally, the activation judgment sub-module includes:
the first activation processing unit is used for judging whether the time parameter Count1_ indor is greater than or equal to an indoor threshold value threshold _ indor; determining that the time parameter Count1_ indor satisfies the activation condition when the time parameter Count1_ indor is greater than or equal to the indoor threshold _ indor;
the second activation processing unit is used for judging whether the time parameter Count2_ stop is greater than or equal to a still threshold value threshold _ stop; determining that the time parameter Count2_ stop satisfies the activation condition when the time parameter Count2_ stop is greater than or equal to a still threshold _ stop;
the third activation processing unit is used for judging whether the setting state of the conference mode in the preset range is that the number Count3 of the activated mobile terminals is greater than or equal to a number threshold value threshold _ 1; when the Count3 is greater than or equal to the Count threshold _1, it is determined that the Count3 satisfies the activation condition.
Optionally, the determining and canceling module includes:
a cancellation judgment submodule, configured to sequentially judge whether the time parameter Count1_ outdoor of the mobile terminal, the time parameter Count2_ move of the mobile terminal in the motion state, and the number Count3 of the mobile terminals whose setting state of the conference mode in the preset range is activated satisfy a cancellation condition;
and the cancellation determining submodule is used for stopping judging the next state parameter when the time parameter Count1_ outdoor, the time parameter Count2_ move or the number Count3 meets the cancellation condition, and determining that the mobile terminal meets the cancellation condition.
Optionally, the cancellation judgment sub-module includes:
a first cancellation processing unit, configured to determine whether the time parameter Count1_ outdoor is greater than or equal to an outdoor threshold value threshold _ outdoor; when the time parameter Count1_ outdoor is greater than or equal to the outdoor threshold value threshold _ outdoor, determining that the time parameter Count1_ outdoor meets a cancellation condition;
a second cancellation processing unit, configured to determine whether the time parameter Count2_ move is greater than or equal to the movement threshold value threshold _ move when the time parameter Count1_ outdoor is less than the outdoor threshold value threshold _ outdoor; determining that the time parameter Count2_ move satisfies a cancellation condition when the time parameter Count2_ move is greater than or equal to a movement threshold _ move;
a third cancellation processing unit, configured to determine whether the Count3 is less than or equal to a Count threshold value threshold _0 when the time parameter Count2_ move is less than the movement threshold value threshold _ move; when the Count3 is less than or equal to the Count threshold value threshold _0, it is determined that the Count3 satisfies the cancellation condition.
Compared with the prior art, the embodiment of the invention has the following advantages:
the embodiment of the invention can automatically detect the state parameter corresponding to the mobile terminal and read the state parameter corresponding to the mobile terminal and the setting state of the mobile terminal conference mode; when the set state of the mobile terminal conference mode is not activated, judging whether the mobile terminal meets an activation condition or not according to a state parameter corresponding to the mobile terminal, and activating the conference mode of the mobile terminal when the mobile terminal meets the activation condition; when the setting state of the mobile terminal conference mode is activated, judging whether the mobile terminal meets a cancellation condition according to the state parameter corresponding to the mobile terminal, and when the mobile terminal meets the cancellation condition, canceling the conference mode of the mobile terminal.
The embodiment of the invention can judge whether to activate or cancel the conference mode in real time according to the external environment of the mobile terminal and the state of the mobile terminal, and carry out activation or cancellation operation when the conditions are met. Therefore, the embodiment of the invention can avoid the problem that the normal use of the user is influenced because the user forgets to set the conference mode.
Drawings
Fig. 1 is a flowchart of a method for setting a conference mode of a mobile terminal according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first set of state parameters according to a second embodiment of the present invention;
FIG. 3 is a flowchart illustrating a second set of status parameters according to a second embodiment of the present invention;
FIG. 4 is a flowchart illustrating a third set of status parameters according to the second embodiment of the present invention;
FIG. 5 is a flowchart of a process flow according to a second embodiment of the present invention;
FIG. 6 is a flowchart of a calculation process in the processing flow according to the second embodiment of the present invention;
fig. 7 is a block diagram of a configuration of a system for setting a conference mode of a mobile terminal according to a third embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
The embodiment of the invention can set the conference mode of the mobile terminal in real time according to the external environment of the mobile terminal and the self state of the mobile terminal so as to ensure the normal use of a user.
The first embodiment is as follows:
the conference mode is an important function in the mobile terminal, and can be selectively activated or canceled according to different external environments, so that the user can use the mobile terminal more conveniently.
However, at present, the conference mode of the mobile terminal is mainly set manually by the user, and after the setting, the user may forget to set the conference mode when the environment changes, and at this time, the normal use of the user may be affected.
In view of the above problems, an embodiment of the present invention provides a method for setting a conference mode of a mobile terminal, which can automatically set the conference mode, thereby avoiding a situation that the setting is forgotten when manually setting.
In the embodiment of the invention, the setting of the mobile terminal conference mode mainly comprises two modes of activating the conference mode and canceling the conference mode.
Referring to fig. 1, a flowchart of a method for setting a conference mode of a mobile terminal according to a first embodiment of the present invention is shown, where the method may include:
and step 100, detecting a state parameter corresponding to the mobile terminal.
In the embodiment of the invention, the state parameter corresponding to the mobile terminal can be detected and detected in real time, and then whether the conference mode of the mobile terminal needs to be set or not can be judged according to the state parameter.
The state parameter corresponding to the mobile terminal may include: the time parameter of the mobile terminal in the indoor state, the time parameter of the mobile terminal in the outdoor state, the time parameter of the mobile terminal in the static state, the time parameter of the mobile terminal in the motion state, and the number of the mobile terminals of which the setting state of the conference mode in the preset range is activated.
Of course, the state parameter corresponding to the mobile terminal may further include some other parameters, which is not limited in this embodiment of the present invention.
And 102, reading the state parameters corresponding to the mobile terminal and the setting state of the mobile terminal conference mode.
When the conference mode of the mobile terminal is set, the state parameters corresponding to the mobile terminal and the current setting state of the conference mode of the mobile terminal can be read first, and then different operations can be executed according to different current setting states of the conference mode of the mobile terminal.
Wherein the setting state of the mobile terminal conference mode may include inactive and active.
And 104, when the setting state of the mobile terminal conference mode is not activated, judging whether the mobile terminal meets the activation condition or not according to the state parameter corresponding to the mobile terminal.
And 106, when the mobile terminal meets the activation condition, activating the conference mode of the mobile terminal.
If the current setting state of the conference mode of the mobile terminal is inactive, it may be determined whether the mobile terminal meets the activation condition according to the state parameter corresponding to the mobile terminal detected in the above step 100.
If the activation condition is met, the conference mode of the mobile terminal can be activated; otherwise, the inactive state may be maintained.
And 108, when the setting state of the mobile terminal conference mode is activated, judging whether the mobile terminal meets a cancellation condition according to the state parameter corresponding to the mobile terminal.
And step 110, when the mobile terminal meets the cancellation condition, canceling the conference mode of the mobile terminal.
If the current setting state of the conference mode of the mobile terminal is activated, it may be determined whether the mobile terminal meets the cancellation condition according to the state parameter corresponding to the mobile terminal detected in the above step 100.
If the cancel condition is met, the conference mode of the mobile terminal can be cancelled; otherwise the activated state may be maintained.
The specific processes of the above steps will be discussed in detail in the following examples.
The embodiment of the invention can judge whether to activate or cancel the conference mode in real time according to the external environment of the mobile terminal and the state of the mobile terminal, and carry out activation or cancellation operation when the conditions are met. Therefore, the embodiment of the invention can avoid the problem that the normal use of the user is influenced because the user forgets to set the conference mode.
Example two:
in the second embodiment of the present invention, a method for setting a conference mode of a mobile terminal will be described in detail.
In the embodiment of the invention, the method for setting the conference mode of the mobile terminal mainly comprises two processes, namely a parameter detection process and a parameter processing process. These two processes will be described in detail below.
First, parameter detection process
The parameter detection process in the second embodiment of the present invention may correspond to step 100 in the first embodiment. Firstly, the state parameters corresponding to the mobile terminal can be detected, so that the current environment state of the mobile terminal can be known.
The state parameters corresponding to the mobile terminal in the embodiment of the present invention may include three groups. The first set of state parameters may include: the time parameter Count1_ indor of the mobile terminal in the indoor state and the time parameter Count1_ outdoor of the mobile terminal in the outdoor state; the second set of state parameters may include: the time parameter Count2_ stop of the mobile terminal in the static state and the time parameter Count2_ move of the mobile terminal in the motion state; the third set of state parameters may include: the setting state of the conference mode within the preset range is the number Count3 of the activated mobile terminals.
Specifically, the three sets of state parameters may be detected periodically. For example, a first set of state parameters may be detected at a period time1, a second set of state parameters may be detected at a period time2, and a third set of state parameters may be detected at a period time 3.
1. Detection of a first set of state parameters
As shown in fig. 2, which is a flow chart of a detection process of a first set of state parameters, the detection process may include:
step 200, initialization is performed, and Count1_ outdoor =0 and Count1_ indoor = 0.
First, initial values of a first set of state parameters may be set, and the initial values of two state parameters, the time parameter Count1_ outdoor of the mobile terminal and the time parameter Count1_ indor of the mobile terminal are set to 0.
Step 202, reading the signal receiving/transmitting power of the mobile terminal.
First, the signal receiving/transmitting power of the mobile terminal can be read, and the signal receiving/transmitting power can be used for judging whether the mobile phone is indoors or outdoors.
In the embodiment of the present invention, the signal receiving/transmitting power may be read by setting hardware or software of the mobile terminal itself. Of course, the data may also be read in other ways, and the embodiment of the present invention is not limited thereto.
Step 204, the signal received/transmitted power is compared with a power Threshold 1.
After reading the signal reception/transmission power of the mobile terminal, the signal reception/transmission power may be compared to a power Threshold value Threshold 1. If the signal received/transmitted power is greater than a power Threshold1, then step 206 is performed; if the signal receive/transmit power is less than or equal to the power Threshold1, step 208 is performed.
In step 206, let Count1_ outdoor =0, and Count1_ indoor plus 1 (i.e., Count1_ indoor + +).
When the signal receiving/transmitting power is greater than the power Threshold1, the mobile terminal may be considered to be in the room (i.e., the mobile terminal is in the indoor state), and therefore, the time parameter Count1_ index may be added by 1, and the time parameter Count1_ outdoor may be set to 0. Step 210 is then performed.
In step 208, Count1_ outdoor is added by 1 (i.e., Count1outdoor + +), and Count1_ indoor = 0.
When the signal receiving/transmitting power is less than or equal to the power Threshold1, the mobile terminal may be considered to be outdoors (i.e., the mobile terminal is in an outdoor state), and therefore the time parameter Count1_ indor is set to 0, and the time parameter Count1_ outdoor is added by 1. Step 210 is then performed.
At step 210, time1 is waited.
In the embodiment of the present invention, the first set of status parameters may be detected at intervals 1, and when the time reaches the period time1 in step 210, the process may return to step 202 for the next detection.
2. Detection of a second set of state parameters
As shown in fig. 3, which is a flow chart of a detection process of the second set of state parameters, the detection process may include:
step 300, initialization, let Count2_ move =0, Count2_ stop = 0.
First, initial values of the second set of state parameters may be set, and the initial values of both the time parameter Count2_ move when the mobile terminal is in a moving state and the time parameter Count2_ stop when the mobile terminal is in a stationary state are set to 0.
Step 302, reading the gravity acceleration data of the mobile terminal.
Firstly, the gravity acceleration data of the mobile terminal can be read, and the gravity acceleration data can be used for judging whether the mobile phone is moving or static.
In the embodiment of the invention, the gravity acceleration data can be read by setting the hardware or software of the mobile terminal. Of course, the data may also be read in other ways, and the embodiment of the present invention is not limited thereto.
Step 304, the gravitational acceleration data is compared to an acceleration Threshold, Threshold 2.
After the gravitational acceleration data of the mobile terminal is read, the gravitational acceleration data may be compared with an acceleration Threshold value Threshold 2. If the gravitational acceleration data is greater than an acceleration Threshold2, executing step 306; if the gravitational acceleration data is less than or equal to the acceleration Threshold2, step 308 is performed.
In step 306, Count2_ move is added with 1 (i.e., Count2_ move + +), and Count2_ stop = 0.
When the signal gravitational acceleration data is greater than the acceleration Threshold2, the mobile terminal may be considered to be in a motion state at this time, and therefore, the time parameter Count2_ stop may be set to 0, and the time parameter Count2_ move may be added by 1. Step 310 is then performed.
In step 308, let Count2_ move =0, and Count2_ stop adds 1 (i.e., Count2_ stop + +).
When the gravitational acceleration data is less than or equal to the acceleration Threshold2, the mobile terminal may be considered to be in a stationary state at this time, and therefore, 1 may be added to the time parameter Count2_ stop, and 0 may be set to the time parameter Count2_ move. Step 310 is then performed.
At step 310, wait time 2.
In the embodiment of the present invention, the second set of status parameters may be detected at intervals 2, and in this step 310, when the time reaches the period time2, the process may return to step 302 for the next detection.
3. Detection of a third set of state parameters
As shown in fig. 4, which is a flow chart of a detection process of the third set of state parameters, the detection process may include:
step 400, scanning the number of the set states of the conference modes in the mobile terminal within the preset range, and assigning the number to Count 3.
The step 400 may specifically include:
a1, searching for the mobile terminals with the signal intensity larger than the intensity threshold value P in the preset range, and sorting the mobile terminals according to the signal intensity;
a2, reading the setting state of the conference mode broadcasted by the front n sorted mobile terminals;
a3, counting the set state of the conference mode as the number Count3 of the activated mobile terminals.
In this embodiment of the present invention, the setting state of the Conference mode may be represented by reference Model, and may represent activated when reference Model =1, and may represent inactivated when reference Model = 0.
The preset range may be obtained by performing relevant processing according to practical experience by a person skilled in the art, and the embodiment of the present invention is not limited thereto.
Step 402, wait for time 3.
In the embodiment of the present invention, the third set of status parameters may be detected once at intervals of time3, and in this step 402, when the time reaches the period time3, the process may return to step 300 for the next detection.
It should be noted that, regarding the specific values of the time1, the time2, and the time3, and the Threshold1 and the Threshold2, those skilled in the art may make relevant settings according to practical experience, wherein the time1, the time2, and the time3 may be the same or different, and the embodiment of the present invention is not limited thereto.
Second, the processing flow
The processing flow in the second embodiment of the present invention may correspond to the steps 102 to 110 in the first embodiment.
The conference mode of the mobile terminal can be set periodically in the embodiment of the present invention, for example, the conference mode can be set according to the period time 4.
Referring to fig. 5, a flow chart of the process flow is shown, which may include:
in step 500, Count1_ outdoor, Count1_ indoor, Count2_ move, Count2_ stop, Count3 and reference Model are read.
First, the state parameters (Count 1_ outdoor, Count1_ index, Count2_ move, Count2_ stop, and Count 3) corresponding to the mobile terminal detected in the above-mentioned parameter detection procedure, and the setting state (Conference Model) of the Conference mode of the mobile terminal may be read.
The reference Model value may be sent using an idle (reserved) field in a communication protocol supported by the mobile terminal, and may be received using the same protocol.
After reading the parameters, the subsequent processing can be performed according to the parameters.
Step 502, a calculation process.
As shown in fig. 6, it is a flow chart of a calculation process in the processing flow, and the calculation process may include:
step 600, judge Conference Model.
Judging the value of the Conference Model of the setting state of the mobile terminal Conference mode, and executing step 602 when the Conference Model = 0; when Conference Model =1, step 610 is executed.
In the embodiment of the present invention, when the setting state of the Conference mode of the mobile terminal is inactive (i.e. Conference Model = 0), whether the mobile terminal satisfies an activation condition may be determined according to a state parameter corresponding to the mobile terminal.
Specifically, the determining whether the mobile terminal satisfies the activation condition according to the state parameter corresponding to the mobile terminal may include:
b1, sequentially judging whether the time parameter Count1_ indor of the mobile terminal in the indoor state, the time parameter Count2_ stop of the mobile terminal in the static state and the number Count3 of the mobile terminals of which the setting state of the conference mode in the preset range is activated meet the activation condition;
b2, when the time parameter Count1_ indor, the time parameter Count2_ stop and the number Count3 all satisfy the activation condition, determining that the mobile terminal satisfies the activation condition.
And when any one of the time parameter Count1_ indor, the time parameter Count2_ stop and the number Count3 does not satisfy the activation condition, determining that the mobile terminal does not satisfy the activation condition.
Steps 602 to 608 in fig. 6 are the above-mentioned process of determining whether the mobile terminal satisfies the activation condition according to the corresponding state parameter of the mobile terminal.
Step 602, determine whether Count1_ index is greater than or equal to threshold _ index.
When the time parameter Count1_ index is greater than or equal to the indoor threshold _ index, it may be determined that the time parameter Count1_ index satisfies the activation condition, and step 604 is performed; when the time parameter Count1_ indor is less than the indoor threshold _ indor, it may be determined that the time parameter Count1_ indor does not satisfy the activation condition, at which point the calculation process may be ended.
In step 604, it is determined whether the Count2_ stop is greater than or equal to the threshold _ stop.
When the time parameter Count2_ stop is greater than or equal to the resting threshold _ stop, it may be determined that the time parameter Count2_ stop satisfies the activation condition, and step 606 is performed; when the time parameter Count2_ stop is less than the still threshold _ stop, it may be determined that the time parameter Count2_ stop does not satisfy the activation condition, at which point the calculation process may be ended.
In step 606, it is determined whether Count3 is greater than or equal to threshold _ 1.
When the setting state of the conference mode within the preset range is that the number Count3 of the activated mobile terminals is greater than or equal to the number threshold _1, it may be determined that the number Count3 satisfies the activation condition, and step 608 is performed; when the quantity Count3 is less than the quantity threshold _1, it may be determined that the quantity Count3 does not satisfy the activation condition, at which point the calculation process may end.
Step 608, determining that the mobile terminal meets the activation condition.
When the time parameter Count1_ indor, the time parameter Count2_ stop, and the number Count3 all satisfy the activation condition, it may be determined that the mobile terminal satisfies the activation condition. The calculation process may then be ended.
In the embodiment of the present invention, when the setting state of the Conference mode of the mobile terminal is activated (i.e. Conference mode = 1), whether the mobile terminal satisfies a cancellation condition may be determined according to a state parameter corresponding to the mobile terminal.
Specifically, the determining whether the mobile terminal meets the cancellation condition according to the state parameter corresponding to the mobile terminal may include:
c1, sequentially judging whether the time parameter Count1_ outdoor of the mobile terminal, the time parameter Count2_ move of the mobile terminal in motion state, and the number Count3 of the mobile terminals of which the setting state of the conference mode in the preset range is activated meet the cancel condition;
c2, when the time parameter Count1_ outdoor, or the time parameter Count2_ move, or the number Count3 meets the cancel condition, stopping judging the next state parameter, and determining that the mobile terminal meets the cancel condition.
And when the time parameter Count1_ outdoor, the time parameter Count2_ move and the number Count3 do not meet the cancellation condition, determining that the mobile terminal does not meet the cancellation condition.
Steps 610-616 in fig. 6 are the above-mentioned process of determining whether the mobile terminal satisfies the cancellation condition according to the corresponding status parameter of the mobile terminal.
Step 610, determine whether Count1_ outdoor is greater than or equal to threshold _ outdoor.
When the time parameter Count1_ outdoor is greater than or equal to the outdoor threshold value threshold _ outdoor, it may be determined that the time parameter Count1_ outdoor satisfies the cancellation condition, and step 616 is performed; when the time parameter Count1_ outdoor is less than the outdoor threshold value threshold _ outdoor, it may be determined that the time parameter Count1_ outdoor does not satisfy the cancellation condition, and step 612 is performed.
Step 612, determine whether Count2_ move ≧ threshold _ move is satisfied.
When the time parameter Count2_ move is greater than or equal to the moving threshold _ move, it may be determined that the time parameter Count2_ move satisfies the cancellation condition, and step 616 is performed; when the time parameter Count2_ move is less than the movement threshold _ move, it may be determined that the time parameter Count2_ move does not satisfy the cancellation condition, and step 614 is performed.
Step 614, determine whether Count3 is less than or equal to threshold _ 0.
When the Count3 is less than or equal to the Count threshold value threshold _0, it may be determined that the Count3 satisfies the cancellation condition, and step 616 is performed; when the quantity Count3 is greater than the quantity threshold _0, it may be determined that the quantity Count3 does not satisfy the cancellation condition, at which point the calculation process may be ended.
Step 616, determining that the mobile terminal meets the cancellation condition.
When the time parameter Count1_ outdoor, or the time parameter Count2_ move, or the number Count3 satisfies the cancellation condition, it may be determined that the mobile terminal satisfies the cancellation condition. The calculation process may then be ended.
Step 504, determine whether to activate/deactivate the conference mode.
After the calculation process shown in fig. 6, it can be known whether the current mobile terminal meets the activation condition or the cancellation condition. When the mobile terminal meets the cancel condition, the conference mode can be cancelled, and step 506 is executed; when the mobile terminal meets the activation condition, the conference mode may be activated, and step 510 is executed.
At step 506, the conference mode is cancelled.
Step 508, let Conference Model = 0.
After the conference mode of the mobile terminal is canceled through the above-mentioned steps 506 to 508, step 514 is executed.
At step 510, a conference mode is activated.
Step 512, let Conference Model = 1.
After the conference mode of the mobile terminal is activated through the above-mentioned steps 510 to 512, step 514 is performed.
Step 514, wait for time 4.
In the embodiment of the present invention, the processing flow may be executed once every time4, and when the time reaches the period time4 in the step 514, the processing flow may be restarted.
In the embodiment of the present invention, when the mobile terminal neither satisfies the cancellation condition nor the activation condition, the setting state of the current conference mode of the mobile terminal may be maintained, and the time4 (not shown in fig. 5) may be waited.
It should be noted that, regarding the specific values of the above-mentioned threshold _ index, threshold _ outdoor, threshold _ stop, threshold _ move, threshold _0, and threshold _1, and the time4, a person skilled in the art may perform relevant settings according to practical experience, and the embodiment of the present invention is not limited thereto.
The embodiment of the invention can set the conference mode of the mobile terminal in real time according to the external environment of the mobile terminal and the self state of the mobile terminal, thereby avoiding the problem that the normal use of the user is influenced because the user forgets to set the conference mode.
Example three:
referring to fig. 7, a block diagram of a configuration system of a conference mode of a mobile terminal according to a third embodiment of the present invention is shown. The system may include: a detection module 700, a reading module 702, a judgment activation module 704, and a judgment cancellation module 706.
Wherein,
a detection module 700, configured to detect a state parameter corresponding to the mobile terminal;
in this embodiment of the present invention, the state parameters corresponding to the mobile terminal may include: the time parameter Count1_ index of the mobile terminal in the indoor state, the time parameter Count1_ outdoor of the mobile terminal in the outdoor state, the time parameter Count2_ stop of the mobile terminal in the stationary state, the time parameter Count2_ move of the mobile terminal in the motion state, and the number Count3 of the mobile terminals whose setting state of the conference mode in the preset range is activated.
The detection module 700 may include:
the power comparison submodule is used for reading the signal receiving/transmitting power of the mobile terminal and comparing the signal receiving/transmitting power with a power Threshold value Threshold 1;
a first parameter calculating sub-module, configured to set the time parameter Count1_ indor to 0 and add 1 to the time parameter Count1_ outdoor when the signal receiving/transmitting power is less than or equal to a power Threshold value Threshold 1; when the signal receiving/transmitting power is larger than a power Threshold1, adding 1 to the time parameter Count1_ index, and setting 0 to the time parameter Count1_ outdoor;
the acceleration comparison submodule is used for reading the gravity acceleration data of the mobile terminal and comparing the gravity acceleration data with an acceleration Threshold value Threshold 2;
a second parameter calculation submodule, configured to, when the gravitational acceleration data is less than or equal to an acceleration Threshold2, add 1 to the time parameter Count2_ stop, and set 0 to the time parameter Count2_ move; when the signal gravity acceleration data is larger than an acceleration Threshold value Threshold2, setting the time parameter Count2_ stop to be 0, and adding 1 to the time parameter Count2_ move;
the searching submodule is used for searching the mobile terminals with the signal intensity larger than the intensity threshold value P in the preset range and sequencing the mobile terminals according to the signal intensity;
and the quantity calculation submodule is used for reading the setting states of the conference modes broadcasted by the sequenced first n mobile terminals and counting the number Count3 of the activated mobile terminals, wherein the setting states of the conference modes are the setting states of the activated mobile terminals.
A reading module 702, configured to read a state parameter corresponding to the mobile terminal and a setting state of a conference mode of the mobile terminal; wherein the set state includes inactive and active;
a determining and activating module 704, configured to determine whether the mobile terminal meets an activation condition according to a state parameter corresponding to the mobile terminal when the setting state of the mobile terminal in the conference mode is inactive; when the mobile terminal meets the activation condition, activating a conference mode of the mobile terminal;
the determining activation module 704 may include:
the activation judging submodule is used for sequentially judging whether the time parameter Count1_ indor of the indoor state of the mobile terminal, the time parameter Count2_ stop of the static state of the mobile terminal and the number Count3 of the activated mobile terminals in the setting state of the conference mode in the preset range meet the activation condition;
and the activation determining submodule is used for determining that the mobile terminal meets the activation condition when the time parameter Count1_ indor, the time parameter Count2_ stop and the number Count3 all meet the activation condition.
Wherein the activation judgment sub-module may include:
the first activation processing unit is used for judging whether the time parameter Count1_ indor is greater than or equal to an indoor threshold value threshold _ indor; determining that the time parameter Count1_ indor satisfies the activation condition when the time parameter Count1_ indor is greater than or equal to the indoor threshold _ indor;
the second activation processing unit is used for judging whether the time parameter Count2_ stop is greater than or equal to a still threshold value threshold _ stop; determining that the time parameter Count2_ stop satisfies the activation condition when the time parameter Count2_ stop is greater than or equal to a still threshold _ stop;
the third activation processing unit is used for judging whether the setting state of the conference mode in the preset range is that the number Count3 of the activated mobile terminals is greater than or equal to a number threshold value threshold _ 1; when the Count3 is greater than or equal to the Count threshold _1, it is determined that the Count3 satisfies the activation condition.
A cancel judgment module 706, configured to, when the setting state of the mobile terminal conference mode is activated, judge whether the mobile terminal meets a cancel condition according to a state parameter corresponding to the mobile terminal; and when the mobile terminal meets the cancellation condition, canceling the conference mode of the mobile terminal.
The determining cancellation module 706 may include:
a cancellation judgment submodule, configured to sequentially judge whether the time parameter Count1_ outdoor of the mobile terminal, the time parameter Count2_ move of the mobile terminal in the motion state, and the number Count3 of the mobile terminals whose setting state of the conference mode in the preset range is activated satisfy a cancellation condition;
and the cancellation determining submodule is used for stopping judging the next state parameter when the time parameter Count1_ outdoor, the time parameter Count2_ move or the number Count3 meets the cancellation condition, and determining that the mobile terminal meets the cancellation condition.
Wherein the cancellation judgment sub-module may include:
a first cancellation processing unit, configured to determine whether the time parameter Count1_ outdoor is greater than or equal to an outdoor threshold value threshold _ outdoor; when the time parameter Count1_ outdoor is greater than or equal to the outdoor threshold value threshold _ outdoor, determining that the time parameter Count1_ outdoor meets a cancellation condition;
a second cancellation processing unit, configured to determine whether the time parameter Count2_ move is greater than or equal to the movement threshold value threshold _ move when the time parameter Count1_ outdoor is less than the outdoor threshold value threshold _ outdoor; determining that the time parameter Count2_ move satisfies a cancellation condition when the time parameter Count2_ move is greater than or equal to a movement threshold _ move;
a third cancellation processing unit, configured to determine whether the Count3 is less than or equal to a Count threshold value threshold _0 when the time parameter Count2_ move is less than the movement threshold value threshold _ move; when the Count3 is less than or equal to the Count threshold value threshold _0, it is determined that the Count3 satisfies the cancellation condition.
For the system embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiment of the invention can automatically detect the state parameter corresponding to the mobile terminal and read the state parameter corresponding to the mobile terminal and the setting state of the mobile terminal conference mode; when the set state of the mobile terminal conference mode is not activated, judging whether the mobile terminal meets an activation condition or not according to a state parameter corresponding to the mobile terminal, and activating the conference mode of the mobile terminal when the mobile terminal meets the activation condition; when the setting state of the mobile terminal conference mode is activated, judging whether the mobile terminal meets a cancellation condition according to the state parameter corresponding to the mobile terminal, and when the mobile terminal meets the cancellation condition, canceling the conference mode of the mobile terminal.
The embodiment of the invention can judge whether to activate or cancel the conference mode in real time according to the external environment of the mobile terminal and the state of the mobile terminal, and carry out activation or cancellation operation when the conditions are met, thereby avoiding the problem that the normal use of the user is influenced because the user forgets to set the conference mode.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
Embodiments of the invention may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
While, for purposes of simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present invention is not limited by the illustrated ordering of acts, as some steps may occur in other orders or concurrently with other steps in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The method and the system for setting the conference mode of the mobile terminal provided by the invention are introduced in detail, and the principle and the implementation mode of the invention are explained by applying specific examples in the text, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (14)
1. A method for setting a conference mode of a mobile terminal is characterized by comprising the following steps:
detecting a state parameter corresponding to the mobile terminal; wherein, the state parameters corresponding to the mobile terminal include: the method comprises the steps that a time parameter Count1_ indor of the mobile terminal in an indoor state, a time parameter Count1_ outdoor of the mobile terminal in an outdoor state, a time parameter Count2_ stop of the mobile terminal in a static state, a time parameter Count2_ move of the mobile terminal in a motion state and the number Count3 of the mobile terminals of which the setting state of a conference mode in a preset range is activated are determined;
reading a state parameter corresponding to the mobile terminal and a setting state of a mobile terminal conference mode; wherein the set state includes inactive and active;
when the setting state of the mobile terminal conference mode is not activated, judging whether the mobile terminal meets an activation condition or not according to the state parameter corresponding to the mobile terminal;
when the mobile terminal meets the activation condition, activating a conference mode of the mobile terminal;
when the setting state of the mobile terminal conference mode is activated, judging whether the mobile terminal meets a cancellation condition or not according to the state parameter corresponding to the mobile terminal;
when the mobile terminal meets a cancellation condition, canceling the conference mode of the mobile terminal;
the detecting of the state parameter corresponding to the mobile terminal includes: searching for the mobile terminals with the signal intensity larger than the intensity threshold value P in the preset range, and sequencing the mobile terminals according to the signal intensity; reading the setting states of the conference modes broadcasted by the first n sequenced mobile terminals; the setting state of the statistical conference mode is the number Count3 of the activated mobile terminals.
2. The method according to claim 1, wherein the detecting the corresponding state parameter of the mobile terminal comprises:
reading the signal reception/transmission power of the mobile terminal and comparing the signal reception/transmission power with a power Threshold value Threshold 1;
when the signal receiving/transmitting power is less than or equal to a power Threshold1, setting the time parameter Count1_ indor to 0, and adding 1 to the time parameter Count1_ outdoor;
when the signal receiving/transmitting power is greater than a power Threshold value Threshold1, adding 1 to the time parameter Count1_ index, and setting 0 to the time parameter Count1_ outdoor.
3. The method according to claim 1, wherein the detecting the corresponding state parameter of the mobile terminal comprises:
reading gravity acceleration data of the mobile terminal, and comparing the gravity acceleration data with an acceleration Threshold value Threshold 2;
when the gravity acceleration data is smaller than or equal to an acceleration Threshold value Threshold2, adding 1 to the time parameter Count2_ stop, and setting 0 to the time parameter Count2_ move;
when the gravity acceleration data is larger than an acceleration Threshold2, setting the time parameter Count2_ stop to 0, and adding 1 to the time parameter Count2_ move.
4. The method according to claim 1, wherein the determining whether the mobile terminal satisfies the activation condition according to the state parameter corresponding to the mobile terminal includes:
sequentially judging whether the time parameter Count1_ indor of the indoor state of the mobile terminal, the time parameter Count2_ stop of the static state of the mobile terminal and the number Count3 of the activated mobile terminals in the setting state of the conference mode in the preset range meet the activation condition;
and when the time parameter Count1_ indor, the time parameter Count2_ stop and the number Count3 all meet the activation condition, determining that the mobile terminal meets the activation condition.
5. The method of claim 4, wherein the sequentially determining whether the time parameter Count1_ indor of the indoor state of the mobile terminal, the time parameter Count2_ stop of the stationary state of the mobile terminal, and the number of active mobile terminals 3 of the conference mode within the preset range that is set in the active state satisfy the activation condition comprises:
judging whether the time parameter Count1_ index is greater than or equal to an indoor threshold value threshold _ index;
determining that the time parameter Count1_ indor satisfies the activation condition when the time parameter Count1_ indor is greater than or equal to the indoor threshold _ indor;
judging whether the time parameter Count2_ stop is greater than or equal to a still threshold _ stop;
determining that the time parameter Count2_ stop satisfies the activation condition when the time parameter Count2_ stop is greater than or equal to a still threshold _ stop;
judging whether the setting state of the conference mode in the preset range is that the number Count3 of the activated mobile terminals is greater than or equal to a number threshold value threshold _ 1;
when the Count3 is greater than or equal to the Count threshold _1, it is determined that the Count3 satisfies the activation condition.
6. The method according to claim 1, wherein the determining whether the mobile terminal satisfies a cancellation condition according to the state parameter corresponding to the mobile terminal includes:
sequentially judging whether the time parameter Count1_ outdoor of the mobile terminal, the time parameter Count2_ move of the mobile terminal in the motion state and the number Count3 of the mobile terminals of which the setting state of the conference mode in the preset range is activated meet the cancel condition;
and when the time parameter Count1_ outdoor, the time parameter Count2_ move or the number Count3 meets the cancellation condition, stopping judging the next state parameter and determining that the mobile terminal meets the cancellation condition.
7. The method of claim 6, wherein the sequentially determining whether the time parameter Count1_ outdoor of the mobile terminal, the time parameter Count2_ move of the mobile terminal in motion, and the number of active mobile terminals Count3 of the conference mode in the preset range satisfy the cancellation condition comprises:
judging whether the time parameter Count1_ outdoor is greater than or equal to an outdoor threshold value threshold _ outdoor;
when the time parameter Count1_ outdoor is greater than or equal to the outdoor threshold value threshold _ outdoor, determining that the time parameter Count1_ outdoor meets a cancellation condition;
when the time parameter Count1_ outdoor is less than the outdoor threshold value threshold _ outdoor, judging whether the time parameter Count2_ move is greater than or equal to the motion threshold value threshold _ move;
determining that the time parameter Count2_ move satisfies a cancellation condition when the time parameter Count2_ move is greater than or equal to a movement threshold _ move;
when the time parameter Count2_ move is less than the movement threshold value threshold _ move, determining whether the Count3 is less than or equal to the Count threshold value threshold _ 0;
when the Count3 is less than or equal to the Count threshold value threshold _0, it is determined that the Count3 satisfies the cancellation condition.
8. A system for setting a conference mode of a mobile terminal, comprising:
the detection module is used for detecting the corresponding state parameters of the mobile terminal; wherein, the state parameters corresponding to the mobile terminal include: the method comprises the steps that a time parameter Count1_ indor of the mobile terminal in an indoor state, a time parameter Count1_ outdoor of the mobile terminal in an outdoor state, a time parameter Count2_ stop of the mobile terminal in a static state, a time parameter Count2_ move of the mobile terminal in a motion state and the number Count3 of the mobile terminals of which the setting state of a conference mode in a preset range is activated are determined;
the reading module is used for reading the state parameters corresponding to the mobile terminal and the setting state of the mobile terminal conference mode; wherein the set state includes inactive and active;
the mobile terminal comprises a judging and activating module, a judging and activating module and a judging and activating module, wherein the judging and activating module is used for judging whether the mobile terminal meets an activating condition according to a state parameter corresponding to the mobile terminal when the setting state of the mobile terminal conference mode is not activated; when the mobile terminal meets the activation condition, activating a conference mode of the mobile terminal;
the mobile terminal comprises a judging and canceling module, a judging and canceling module and a processing module, wherein the judging and canceling module is used for judging whether the mobile terminal meets a canceling condition according to a state parameter corresponding to the mobile terminal when the setting state of the mobile terminal conference mode is activated; when the mobile terminal meets a cancellation condition, canceling the conference mode of the mobile terminal;
wherein the detection module comprises: the searching submodule is used for searching the mobile terminals with the signal intensity larger than the intensity threshold value P in the preset range and sequencing the mobile terminals according to the signal intensity; and the quantity calculation submodule is used for reading the setting states of the conference modes broadcasted by the sequenced first n mobile terminals and counting the number Count3 of the activated mobile terminals, wherein the setting states of the conference modes are the setting states of the activated mobile terminals.
9. The system of claim 8, wherein the detection module comprises:
the power comparison submodule is used for reading the signal receiving/transmitting power of the mobile terminal and comparing the signal receiving/transmitting power with a power Threshold value Threshold 1;
a first parameter calculating sub-module, configured to set the time parameter Count1_ indor to 0 and add 1 to the time parameter Count1_ outdoor when the signal receiving/transmitting power is less than or equal to a power Threshold value Threshold 1; when the signal receiving/transmitting power is greater than a power Threshold value Threshold1, adding 1 to the time parameter Count1_ index, and setting 0 to the time parameter Count1_ outdoor.
10. The system of claim 8, wherein the detection module comprises:
the acceleration comparison submodule is used for reading the gravity acceleration data of the mobile terminal and comparing the gravity acceleration data with an acceleration Threshold value Threshold 2;
a second parameter calculation submodule, configured to, when the gravitational acceleration data is less than or equal to an acceleration Threshold2, add 1 to the time parameter Count2_ stop, and set 0 to the time parameter Count2_ move; when the gravity acceleration data is larger than an acceleration Threshold2, setting the time parameter Count2_ stop to 0, and adding 1 to the time parameter Count2_ move.
11. The system of claim 8, wherein the means for determining activation comprises:
the activation judging submodule is used for sequentially judging whether the time parameter Count1_ indor of the indoor state of the mobile terminal, the time parameter Count2_ stop of the static state of the mobile terminal and the number Count3 of the activated mobile terminals in the setting state of the conference mode in the preset range meet the activation condition;
and the activation determining submodule is used for determining that the mobile terminal meets the activation condition when the time parameter Count1_ indor, the time parameter Count2_ stop and the number Count3 all meet the activation condition.
12. The system of claim 11, wherein the activation determination submodule comprises:
the first activation processing unit is used for judging whether the time parameter Count1_ indor is greater than or equal to an indoor threshold value threshold _ indor; determining that the time parameter Count1_ indor satisfies the activation condition when the time parameter Count1_ indor is greater than or equal to the indoor threshold _ indor;
the second activation processing unit is used for judging whether the time parameter Count2_ stop is greater than or equal to a still threshold value threshold _ stop; determining that the time parameter Count2_ stop satisfies the activation condition when the time parameter Count2_ stop is greater than or equal to a still threshold _ stop;
the third activation processing unit is used for judging whether the setting state of the conference mode in the preset range is that the number Count3 of the activated mobile terminals is greater than or equal to a number threshold value threshold _ 1; when the Count3 is greater than or equal to the Count threshold _1, it is determined that the Count3 satisfies the activation condition.
13. The system of claim 8, wherein the determination cancellation module comprises:
a cancellation judgment submodule, configured to sequentially judge whether the time parameter Count1_ outdoor of the mobile terminal, the time parameter Count2_ move of the mobile terminal in the motion state, and the number Count3 of the mobile terminals whose setting state of the conference mode in the preset range is activated satisfy a cancellation condition;
and the cancellation determining submodule is used for stopping judging the next state parameter when the time parameter Count1_ outdoor, the time parameter Count2_ move or the number Count3 meets the cancellation condition, and determining that the mobile terminal meets the cancellation condition.
14. The system of claim 13, wherein the cancellation decision sub-module comprises:
a first cancellation processing unit, configured to determine whether the time parameter Count1_ outdoor is greater than or equal to an outdoor threshold value threshold _ outdoor; when the time parameter Count1_ outdoor is greater than or equal to the outdoor threshold value threshold _ outdoor, determining that the time parameter Count1_ outdoor meets a cancellation condition;
a second cancellation processing unit, configured to determine whether the time parameter Count2_ move is greater than or equal to the movement threshold value threshold _ move when the time parameter Count1_ outdoor is less than the outdoor threshold value threshold _ outdoor; determining that the time parameter Count2_ move satisfies a cancellation condition when the time parameter Count2_ move is greater than or equal to a movement threshold _ move;
a third cancellation processing unit, configured to determine whether the Count3 is less than or equal to a Count threshold value threshold _0 when the time parameter Count2_ move is less than the movement threshold value threshold _ move; when the Count3 is less than or equal to the Count threshold value threshold _0, it is determined that the Count3 satisfies the cancellation condition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310062427.XA CN103152482B (en) | 2013-02-27 | 2013-02-27 | Method and system for setting mobile terminal meeting mode |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310062427.XA CN103152482B (en) | 2013-02-27 | 2013-02-27 | Method and system for setting mobile terminal meeting mode |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103152482A CN103152482A (en) | 2013-06-12 |
CN103152482B true CN103152482B (en) | 2015-02-11 |
Family
ID=48550337
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310062427.XA Active CN103152482B (en) | 2013-02-27 | 2013-02-27 | Method and system for setting mobile terminal meeting mode |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103152482B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105682032B (en) * | 2016-01-13 | 2018-04-06 | 广东欧珀移动通信有限公司 | A kind of station-keeping mode control method, device and mobile terminal |
CN108323237B (en) | 2016-12-02 | 2020-03-10 | 华为技术有限公司 | Terminal behavior triggering method and terminal |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1972480A (en) * | 2006-10-13 | 2007-05-30 | 康佳集团股份有限公司 | A mobile phone apparatus and method which can automatically change situation mode according to environment |
CN101098525A (en) * | 2006-06-28 | 2008-01-02 | 英业达股份有限公司 | Mode switching system and method |
CN101442505A (en) * | 2008-12-29 | 2009-05-27 | 中国移动通信集团北京有限公司 | Method and apparatus for implementing scene mode share |
CN101765235A (en) * | 2009-12-28 | 2010-06-30 | 深圳华为通信技术有限公司 | Method and terminal for switching profiles |
CN101997979A (en) * | 2010-10-21 | 2011-03-30 | 中兴通讯股份有限公司 | Method and device for switching scene modes of mobile terminal |
CN102665011A (en) * | 2012-06-05 | 2012-09-12 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal and contextual model processing method |
CN102905023A (en) * | 2012-10-11 | 2013-01-30 | 华为终端有限公司 | Contextual model setting method of terminal, and terminal |
-
2013
- 2013-02-27 CN CN201310062427.XA patent/CN103152482B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101098525A (en) * | 2006-06-28 | 2008-01-02 | 英业达股份有限公司 | Mode switching system and method |
CN1972480A (en) * | 2006-10-13 | 2007-05-30 | 康佳集团股份有限公司 | A mobile phone apparatus and method which can automatically change situation mode according to environment |
CN101442505A (en) * | 2008-12-29 | 2009-05-27 | 中国移动通信集团北京有限公司 | Method and apparatus for implementing scene mode share |
CN101765235A (en) * | 2009-12-28 | 2010-06-30 | 深圳华为通信技术有限公司 | Method and terminal for switching profiles |
CN101997979A (en) * | 2010-10-21 | 2011-03-30 | 中兴通讯股份有限公司 | Method and device for switching scene modes of mobile terminal |
CN102665011A (en) * | 2012-06-05 | 2012-09-12 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal and contextual model processing method |
CN102905023A (en) * | 2012-10-11 | 2013-01-30 | 华为终端有限公司 | Contextual model setting method of terminal, and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN103152482A (en) | 2013-06-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106507445B (en) | Wireless fidelity Wi-Fi scanning method and mobile terminal | |
US8655321B2 (en) | Adaptive notifications | |
JP2018522327A (en) | DIY monitoring apparatus and method | |
CN104301534A (en) | Method and device for intelligently adjusting scene mode of mobile terminal | |
CN105095227B (en) | The method and device that webpage preloads | |
JP2011523840A5 (en) | ||
CN104168391A (en) | Control method and device for mobile terminal | |
CN104572104A (en) | Processing method and device for monitoring alarm clock | |
CN105162979B (en) | A kind of incoming call mute control method and smartwatch | |
CN105391856A (en) | Event reminding method and device | |
CN103152482B (en) | Method and system for setting mobile terminal meeting mode | |
CN105188031A (en) | Mobile terminal position sharing method and device | |
CN107632600A (en) | Method and device for controlling movement of air purifier, mobile terminal and purifier | |
CN104717362A (en) | Mobile terminal and phone answering processing method and system for same | |
KR101674844B1 (en) | Method, apparatus, program and recording medium for processing communication identification | |
CN103546632A (en) | Method and device for alarm ringing of mobile terminal and mobile terminal | |
CN103795841A (en) | Information prompting method and apparatus | |
CN108984417B (en) | Software testing method, device, terminal and storage medium | |
CN103763439B (en) | Information processing method and device | |
CN111262893A (en) | Method for event notification, server device, event notification apparatus, and medium | |
US9438727B2 (en) | System and method to track and log mobile communication device call status when the device is not in possession | |
CN105898036A (en) | Incoming call connection method and system | |
CN105578427A (en) | Communication feedback method, response mobile terminal, and communication terminal | |
CN104503736A (en) | Information prompt method and device | |
CN106228064A (en) | The guard method of a kind of application process 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 | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |