Summary of the invention
In order to solve above-mentioned technical problem, the invention provides a kind of method and apparatus controlling and using mobile terminal in movement, it is possible to reduce the insecurity using mobile terminal to bring in moving, thus improve the safety under multiple mobile context.
In order to reach the object of the invention, the invention discloses a kind of method controlling and using mobile terminal in movement, including:
Obtain the translational speed of mobile terminal, and determine that mobile terminal the most moves according to the determination strategy pre-set relevant to the translational speed obtained;
If it is determined that mobile terminal moves, mobile terminal is made to enter safe mode.
Also include after the inventive method: detect when mobile terminal is operated manually, carry out security response according to the response policy pre-set.
Wherein, described determine that strategy can be: when the translational speed of the described mobile terminal obtained is more than First Speed threshold value, determine that mobile terminal moves.
Wherein, described determine that strategy can be: when two or more translational speeds comparing the described mobile terminal obtained in the cycle are all higher than second speed threshold value, determine that mobile terminal moves.
Described detection mobile terminal is operated manually and at least includes: the bio information that the manual operation mobile terminal that detection pre-sets produces.
Wherein, one or more during described bio information is at least temperature information, pressure information, finger print information, face information and nictation information.
Described response policy at least includes:
Described security response enters offline mode for making mobile terminal;
Or, described security response is for reporting to the police;
Or, described security response is to report to the police and the screen of turning-off mobile terminal;
Or, the corresponding relation treating response events and described security response of described mobile terminal, and according to described security response, respectively treat that response events and corresponding relation are determined and carry out each security response;Wherein, security response is at least voice broadcast or hand-free call.
Further, described in determine mobile terminal the most after movement, described in make mobile terminal enter before safe mode, the method also includes: enters described safe mode after pointing out waiting period set in advance, and starts timing;Ask whether to allow access into described safe mode;If if timing result display waiting period terminates or allows access into, continuing executing with the step entering safe mode.
The invention also discloses a kind of control mobile in use the device of mobile terminal, including pattern determining unit and mode controlling unit, wherein,
According to the determination strategy that pre-set relevant to the translational speed obtained, pattern determining unit, for obtaining the translational speed of mobile terminal, and determines that mobile terminal the most moves;
Mode controlling unit, for when pattern determining unit determines that mobile terminal moves, makes mobile terminal enter safe mode.
Apparatus of the present invention also include security response unit, for detecting in safe mode when mobile terminal is operated manually, carry out security response according to the response policy pre-set.
Wherein, described determine that strategy is: when the translational speed of the described mobile terminal obtained is more than First Speed threshold value, determine that mobile terminal moves;Or, when two or more translational speeds comparing the described mobile terminal obtained in the cycle are all higher than second speed threshold value, determine that mobile terminal moves.
Described security response unit specifically for: when detecting the bio information that the manual operation mobile terminal that pre-sets produces, carry out security response according to the response policy pre-set.
Wherein, one or more during described bio information is at least temperature information, pressure information, finger print information, face information and nictation information.
Described response policy at least includes:
Described security response enters offline mode for making mobile terminal;
Or, described security response is for reporting to the police;
Or, described security response is to report to the police and the screen of turning-off mobile terminal;
Or, the corresponding relation treating response events and described security response of described mobile terminal, and according to described security response, respectively treat that response events and corresponding relation are determined and carry out each security response;Wherein, security response is at least voice broadcast or hand-free call.
Further, described pattern determining unit specifically for: obtain the translational speed of mobile terminal, and determine that strategy determines that mobile terminal the most moves according to described;When determining that mobile terminal moves, enter described safe mode after pointing out waiting period set in advance, and start timing;Ask whether to allow access into described safe mode;When timing result display waiting period terminates or when allowing access into, determine that mobile terminal moves.
Compared with prior art, technical solution of the present invention includes the translational speed obtaining mobile terminal, and determines that mobile terminal the most moves according to the determination strategy pre-set relevant to the translational speed obtained;If it is determined that mobile terminal moves, mobile terminal is made to enter safe mode.Pass through technical solution of the present invention, it is achieved that make mobile terminal enter safe mode when detecting that mobile terminal is mobile, it is ensured that use the safety of mobile terminal in Yi Dong, thus improve under multiple mobile context as driven vehicle and safety during quickly walking.
Other features and advantages of the present invention will illustrate in the following description, and, partly become apparent from description, or understand by implementing the present invention.The purpose of the present invention and other advantages can be realized by structure specifically noted in description, claims and accompanying drawing and be obtained.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiments of the invention are described in detail.It should be noted that in the case of not conflicting, the embodiment in the application and the feature in embodiment can mutual combination in any.
Can perform in the computer system of such as one group of computer executable instructions in the step shown in the flow chart of accompanying drawing.And, although show logical order in flow charts, but in some cases, can with the order being different from herein perform shown or described by step.
Fig. 1 is the flow chart of the method using mobile terminal during the present invention controls to move, as it is shown in figure 1, include:
Step 101: obtain the translational speed of mobile terminal, and determine that mobile terminal the most moves according to the determination strategy pre-set relevant to the translational speed obtained.
Wherein it is determined that strategy can be: when the translational speed of mobile terminal is more than First Speed threshold value, determine that mobile terminal moves;Otherwise, it determines mobile terminal is not moving.
Wherein, the velocity sensor built-in by mobile terminal such as that implement of the translational speed obtaining mobile terminal obtains translational speed, belongs to the conventional techniques means of those skilled in the art, is not intended to limit the scope of the invention, and here is omitted.
Wherein it is determined that strategy can also be: when two or more translational speeds comparing the mobile terminal obtained in the cycle are all higher than second speed threshold value, determine that mobile terminal moves;Otherwise, it determines mobile terminal is not moving.Wherein, compare the cycle can be changed by setting.As long as ensureing to obtain two or more translational speeds in the comparison cycle arranged.Such as, if the acquisition cycle of translational speed is 1 second, the comparison cycle of setting needed more than 2 seconds.
In one embodiment of the invention, First Speed threshold value and second speed threshold value are dynamically changed all in accordance with the traffic information of road and/or the positional information at mobile terminal place residing for the mobile terminal obtained.Wherein, how to obtain implementing of traffic information and positional information, belong to the conventional techniques means of those skilled in the art, be not intended to limit the scope of the invention, here is omitted.
Step 102: if it is determined that mobile terminal moves, makes mobile terminal enter safe mode.
It should be noted that if it is determined that mobile terminal is not moving, make mobile terminal exit safe mode.
In one embodiment of the invention, mobile terminal is made to enter safe mode for making mobile terminal enter offline mode.In this embodiment, make mobile terminal enter safe mode to specifically include: the pattern information being provided for indicating whether to be in safe mode is safe mode.Make mobile terminal exit safe mode to specifically include: arranging pattern information is non-security mode.
Further, determining mobile terminal the most after movement in step 102, before making mobile terminal enter safe mode, step 102 also includes: enters safe mode after pointing out waiting period set in advance, and starts timing;Ask whether to allow access into safe mode;If if timing result display waiting period terminates or allows access into, continuing executing with the step entering safe mode;If do not allowed access into, terminate handling process.From the point of view of Ju Li, including:
Light the screen of mobile terminal;Point out with voice mode and screen displaying character mode: enter safe mode after 10 seconds, and start timing;Inquire with voice mode and screen displaying character mode: whether allow access into safe mode;Screen shows selectable configuration item, at least includes: immediately enter, do not enter, do not enter and keep non-security mode 30 minutes and do not enter and keep non-security mode 60 minutes.So, assume to use mobile terminal (now on bus or subway, do not exist mobile in use the safety issue of mobile terminal) and have selected and do not enter and keep the non-security mode configuration item of 60 minutes, hereafter, mobile terminal is maintained at non-security mode such as normal operating condition 60 minutes, the most do not perform step 101, thus avoid entrance safe mode, mobile terminal can be normally used in movement when ensure that and there is not the safety issue using mobile terminal in movement, and avoid frequently prompting and inquiry entrance safe mode and reduce Consumer's Experience.
Further, also include after step 102: detect when mobile terminal is operated manually, carry out security response according to the response policy pre-set.
Wherein, detection mobile terminal is operated manually and at least includes: the bio information that the manual operation mobile terminal that detection pre-sets produces.Here, one or more during bio information is at least temperature information, pressure information, finger print information, face information and nictation information.
In one embodiment of the invention, detect that the touch screen of mobile terminal is lighted by screen locking button, and when detecting pressure information and the temperature information of slip touch screen, detect that mobile terminal is operated manually.
In one embodiment of the invention, detect that the touch screen of mobile terminal is lighted by screen locking button, and detect the finger print information unlocking touch screen, and when detecting mobile terminal just to the instrumental panel in vehicle and/or steering wheel by the photographic head of mobile terminal, detect that mobile terminal is operated manually.
Response policy at least includes:
Security response enters offline mode for making mobile terminal;
Or, security response is for reporting to the police;
Or, security response is to report to the police and the screen of turning-off mobile terminal;
Or, the corresponding relation treating response events and security response of mobile terminal, and according to security response, respectively treat that response events and corresponding relation are determined and carry out each security response;Wherein, security response is at least voice broadcast or hand-free call.
Response policy can pre-set, it is achieved that the inventive method pre-sets applicable response policy according to different application scenarios, thus carries out the security response being suitable for, and improves the suitability and the motility of the inventive method.
In one embodiment of the invention, response policy is: according to respectively treating that response events and corresponding relation are determined and carry out each security response, wherein, corresponding relation is as shown in the table, if and specify to have multiple to treat response events, according to following table treats response events order from top to bottom, carry out the security response of correspondence.
| Treat response events | Security response |
| Actively dial number | Report to the police and the screen of turning-off mobile terminal |
| Phone to be answered | Hand-free call |
| Short message to be viewed | Voice broadcast |
| Wechat message to be viewed | Voice broadcast |
Table 1
In one embodiment of the invention, it is assumed that response policy is: security response, for reporting to the police, detects when mobile terminal is operated manually, carry out voice message when reporting to the police in the way of voice message and vibration: for your safety, in moving, mobile phone please don't be used.Assume that response policy is: security response is to report to the police and the screen of turning-off mobile terminal, detects when mobile terminal is operated manually, carry out voice message when the screen of turning-off mobile terminal and vibration: for your safety, in moving, mobile phone please don't be used.Assume that response policy is: according to respectively treating that response events and corresponding relation are determined and carry out each security response, treat that response events is phone to be answered and short message to be viewed, detect when mobile terminal is operated manually, treat that response events is determined with corresponding relation according to the two: the security response that phone to be answered is corresponding is hand-free call, the security response that short message to be viewed is corresponding is voice broadcast, carrying out hand-free call, hand-free call terminates the short message that laggard row voice broadcast is to be viewed.
Fig. 2 be the present invention control mobile in use the composition structural representation of device of mobile terminal, apparatus of the present invention are arranged in the terminal, as in figure 2 it is shown, apparatus of the present invention include pattern determining unit and mode controlling unit, wherein,
According to the determination strategy that pre-set relevant to the translational speed obtained, pattern determining unit, for obtaining the translational speed of mobile terminal, and determines that mobile terminal the most moves.
Mode controlling unit, for when pattern determining unit determines that mobile terminal moves, makes mobile terminal enter safe mode.
Determine that strategy can be: when the translational speed of the mobile terminal obtained is more than First Speed threshold value, determine that mobile terminal moves.
Determine that strategy can also be: when two or more translational speeds comparing the mobile terminal obtained in the cycle are all higher than second speed threshold value, determine that mobile terminal moves.
Further, apparatus of the present invention also include security response unit, for detecting in safe mode when mobile terminal is operated manually, carry out security response according to the response policy pre-set.
Security response unit specifically for: when detecting the bio information that the manual operation mobile terminal that pre-sets produces, carry out security response according to the response policy pre-set.
Wherein, one or more during bio information is at least temperature information, pressure information, finger print information, face information and nictation information.
Wherein, response policy at least includes:
Security response enters offline mode for making mobile terminal;
Or, security response is for reporting to the police;
Or, security response is to report to the police and the screen of turning-off mobile terminal;
Or, the corresponding relation treating response events and security response of mobile terminal, and according to security response, respectively treat that response events and corresponding relation are determined and carry out each security response;Wherein, security response is at least voice broadcast or hand-free call.
Further,
Pattern determining unit specifically for: obtain the translational speed of mobile terminal, and determine that mobile terminal the most moves according to the relevant determination strategy pre-set of translational speed obtained;When determining that mobile terminal moves, enter safe mode after pointing out waiting period set in advance, and start timing;Ask whether to allow access into safe mode;When timing result display waiting period terminates or when allowing access into, determine that mobile terminal moves;When not allowing access into, end processes.
Although the embodiment that disclosed herein as it has been described above, but described content only readily appreciates the present invention and the embodiment that uses, be not limited to the present invention.Technical staff in any art of the present invention; on the premise of without departing from the spirit and scope that disclosed herein; any amendment and change can be carried out in the form implemented and details, but the scope of patent protection of the present invention, still must be defined in the range of standard with appending claims.