Summary of the invention
The object of the present invention is to provide the system and method for a kind of starting or closing intelligent terminal application, to solve in intelligence
In screen lock state, starting or closing application program need first to be unlocked operation energy terminal such as mobile phone, can not be quick
Carry out corresponding program operation the technical issues of.
In order to realize aforementioned invention purpose of the invention, the embodiment of the invention provides a kind of starting or closing intelligent terminals
The system of application program, comprising:
Sensing module: for obtain intelligent terminal user shake terminal acceleration value, with preset acceleration rate threshold into
Row comparison generates operational order information according to comparing result, and the operational order information is sent to application manager;
Application manager: for receiving the operational order information, start or close corresponding application program.
In order to realize aforementioned invention purpose of the invention, the embodiment of the invention provides a kind of sensing module, the sensing
Module specifically includes:
Acceleration transducer, for obtaining the acceleration value of intelligent terminal all directions;
Contrast module, the acceleration value for will acquire are compared with preset acceleration rate threshold;
Processing module: for generating operational order information according to comparing result, and operational order information is sent to application
Program Manager.
Preferably, the application program includes short message, flashlight or camera.
Preferably, the operational order information includes that need to start or close the operation control parameter of application program.
It is operated preferably, the processing module generates corresponding application program according to different acceleration rate threshold comparing results
Command information.
In order to realize aforementioned invention purpose of the invention, the embodiment of the invention provides a kind of starting or closing intelligent terminals
The method of application program, comprising the following steps:
S101. the acceleration value that intelligent terminal user shakes terminal is obtained, is compared with preset acceleration rate threshold;
S102. operational order information is generated according to comparing result, and the operational order information is sent to application program
Manager;
S103. the application manager receives the operational order information, starts or close corresponding application program.
In order to realize aforementioned invention purpose of the invention, the embodiment of the invention provides another kind starting or intelligence is closed eventually
The method for holding application program, the method also includes:
S100. the corresponding relationship of acceleration rate threshold and application program is preset, each acceleration rate threshold correspondence is answered accordingly
With the operation control parameter of program.
Preferably, the application program includes short message, flashlight or camera.
Preferably, the operational order information includes that need to start or close the operation control parameter of application program.
Compared with prior art, the present invention can bring it is following at least one the utility model has the advantages that
1, switched by way of rocking and open or close corresponding program, thus screen lock state can also be by rocking
Intelligent terminal such as mobile phone open closes application program, more convenient.
2, the application program pushed when screen lock state can be arranged in, which improves the experience of user.
Specific embodiment
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, Detailed description of the invention will be compareed below
A specific embodiment of the invention.It should be evident that drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing, and obtain other embodiments.
To make simplified form, part related to the present invention is only schematically shown in each figure, they are not represented
Its practical structures as product.In addition, there is identical structure or function in some figures so that simplified form is easy to understand
Component only symbolically depicts one of those, or has only marked one of those.Herein, "one" is not only indicated
" only this ", can also indicate the situation of " more than one ".
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Fig. 1 is a kind of starting of one embodiment of the invention or the structure chart for closing application program system.
In order to realize goal of the invention of the invention, the present invention provides it is a kind of open or close intelligent terminal application be
System, comprising:
Sensing module: for obtain intelligent terminal user shake terminal acceleration value, with preset acceleration rate threshold into
Row comparison generates operational order information according to comparing result, and the operational order information is sent to application manager;
Application manager: for receiving the operational order information, start or close corresponding application program.
In the specific implementation process, acceleration transducer is built in intelligent terminal such as mobile phone, or eventually using intelligence
The existing acceleration transducer of such as mobile phone is held, when intelligent terminal such as mobile phone screen is in screen lock state, user rocks intelligence
Can terminal such as mobile phone, dynamic sensing system obtains the acceleration parameter that intelligent terminal such as mobile phone user shakes terminal, and pre-
If acceleration parameter compare, such as when shaking intelligent terminal such as mobile phone, monitor the change of acceleration in all directions
Change, when acceleration value is more than the sensitivity of setting, comparing result is subjected to processing and generates operational order information, intelligent terminal connects
The operational order information from dynamic sensing system is received, and opens or closes program according to the user's choice.
Fig. 2 is a kind of structure chart of sensing module of one embodiment of the invention.
In order to realize goal of the invention of the invention, the present invention provides one kind, the embodiment of the invention provides a kind of sensing moulds
Block, the sensing module specifically include:
Acceleration transducer 11, for obtaining the acceleration value of intelligent terminal all directions;
Contrast module 12, the acceleration value for will acquire are compared with preset acceleration rate threshold;
Processing module 13 for generating operational order information according to comparing result, and operational order information is sent to and is answered
Use Program Manager.
Preferably, the application program includes short message, flashlight or camera.
Preferably, the operational order information includes that need to start or close the operation control parameter of application program.
It is operated preferably, the processing module generates corresponding application program according to different acceleration rate threshold comparing results
Command information.
In the implementation case, used acceleration transducer is a kind of electronic equipment that can measure acceleration.Add
Turn of speed is exactly the power acted in accelerator on object when object, like terrestrial gravitation, that is, gravity.Acceleration can
To be a constant, such as g, it is also possible to variable.Therefore its range force of gravity inductor is big, but is generally mentioned in mobile phone
When the acceleration induction device arrived, just refer to that gravity sensor, acceleration transducer 11 can receive the physics of extraneous transmitting in fact
Property input, electronic signal is converted to by sensor, then be ultimately converted to available information.The user that contrast module 12 will acquire
It shakes terminal acceleration parameter to compare with preset value, processing module 13 is used to carry out processing according to comparing result to generate operation
Command information, and operational order information is transferred to intelligent terminal such as mobile phone.
Under specific performance, intelligent terminal application manager of the invention is comprised the following modules: driving mould
Block: for receiving the operational order information from sensing module, corresponding application program is driven;Interface display module: it is used for
The application program of push is shown on the screen of intelligent terminal such as mobile phone;Setup module: need what is pushed to answer for presetting
With program and the corresponding acceleration value of application program for needing to open or close;Using selecting module: for selecting and opening
Or close the application program of push.In the specific implementation process, the connection relationship between the module are as follows:
The interface display module is connected at least following one or more than one kinds of modules respectively: SMS module, flashlight
Cylinder mould block, camera module etc.;The processing module 13 is connect by intelligent terminal such as mobile phone CPU with display screen;The drive
Dynamic model block, setup module, is connect with intelligent terminal such as mobile phone CPU using selecting module interface display module.In this implementation case
In example, user can preset the application program for needing to need to push in the case where intelligent terminal such as mobile phone is in screen lock state,
For example common short message, camera, the application such as flashlight, drive module receive the operational order letter from dynamic sensing system
Breath, drives default application program accordingly, and interface display module shows that is pushed answers on the screen of intelligent terminal such as mobile phone
With program, one or more application program is selected using selecting module, and open or close the application journey of push
Sequence operation.
Fig. 3 is a kind of algorithm principle figure of acceleration sensor of one embodiment of the invention.
In the specific implementation process, the present invention rocks detection based on sensing is accelerated, and due to the presence of gravity, works as intelligent terminal
For example mobile phone is static when being put in desktop, acceleration sensor is also to have acceleration.So only by whether having acceleration to judge
It is not all right for rocking.Judge that the variation of acceleration finds out the difference of acceleration in a shorter time interval, it is specified with one
Threshold value comparison, if difference be greater than threshold value, then it is assumed that be to rock to have occurred.It monitors out after rocking, if current application program
For example flashlight is opening state, flashlight is just automatically closed by rocking mobile phone in we;Acceleration by moving left and right at this time
Degree and the acceleration being moved forward and backward determine the time that flashlight is opened is how long [acceleration moved left and right: to close or open
Flashlight] [acceleration of back-and-forth motion: determining the time that flashlight is opened];
As shown in figure 3, X Y Z respectively corresponds values [0] to [2]
X indicates the acceleration moved left and right
Y indicates the acceleration being moved forward and backward
The acceleration of Z expression vertical direction
Fig. 4 is a kind of starting of one embodiment of the invention or the flow chart for closing application program method.
In order to realize aforementioned invention purpose of the invention, the embodiment of the invention provides a kind of starting or closing intelligent terminals
The method of application program, comprising the following steps:
S101. the acceleration value that intelligent terminal user shakes terminal is obtained, is compared with preset acceleration rate threshold;
S102. operational order information is generated according to comparing result, and the operational order information is sent to application program
Manager;
S103. the application manager receives the operational order information, starts or close corresponding application program.
In the specific implementation process, when hand intelligent terminal such as mobile phone screen is in screen lock state, user rocks intelligence
Terminal such as mobile phone, dynamic sensing system obtain the acceleration parameter that intelligent terminal such as mobile phone user shakes terminal, and default
Acceleration parameter compare, by comparing result carry out processing generate operational order information, intelligent terminal receive from dynamic
The operational order information of sensor-based system, drives corresponding application program, and corresponding application program is pushed to intelligent terminal such as
On the screen of mobile phone, and program is opened or closed according to the user's choice.
A kind of starting of Fig. 5 another embodiment of the present invention or the flow chart for closing application program method.
In order to realize aforementioned invention purpose of the invention, the embodiment of the invention provides another kind starting or intelligence is closed eventually
The method for holding application program, the method also includes:
S100. the corresponding relationship of acceleration rate threshold and application program is preset, each acceleration rate threshold correspondence is answered accordingly
With the operation control parameter of program.
Preferably, the application program includes short message, flashlight or camera.
Preferably, the operational order information includes that need to start or close the operation control parameter of application program.
In the specific implementation process, the application journey pushed when user can be by being set in advance in screen lock state
Sequence, Lai Shixian quick start or the purpose for closing application program, which improves the experience of user.
In conclusion leading to the embodiment of the invention provides a kind of system and method for opening or closing intelligent terminal application
Cross the mode rocked and switch and open or close corresponding program, thus screen lock state can also be by rocking intelligent terminal such as
Mobile phone open closes application program, more convenient, and the application that when screen lock state can be arranged in is pushed
Program, which improves the experience of user.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The descriptions such as example " or " some examples " mean particular features, structures, materials, or characteristics described in conjunction with this embodiment or example
It is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are different
Surely identical embodiment or example is referred to.Moreover, particular features, structures, materials, or characteristics described can be any
It can be combined in any suitable manner in one or more embodiment or examples.
It should be noted that above-described embodiment can be freely combined as needed.The above is only of the invention preferred
Embodiment, it is noted that for those skilled in the art, in the premise for not departing from the principle of the invention
Under, several improvements and modifications can also be made, these modifications and embellishments should also be considered as the scope of protection of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.