Summary of the invention
Based on this, be necessary to provide a kind of mobile phone gravity sensor application process that can make the user need mobile phone operation through the gravity sensor completion.
In addition, also be necessary to provide a kind of mobile phone gravity sensor application system that can make the user need mobile phone operation through the gravity sensor completion.
A kind of mobile phone gravity sensor application process comprises the steps:
A plurality of mobile phone operations are offered the user select, obtain the mobile phone operation that the user selects;
Set up related with gravity sensor the mobile phone operation that the user selects;
Be provided with through gravity sensor, be provided with the user and select the pairing mobile phone attitude parameter of mobile phone operation;
Gravity sensor obtains the mobile phone attitude parameter, compares with the mobile phone attitude parameter that is provided with;
If the mobile phone attitude parameter that obtains exceeds the mobile phone attitude parameter of setting, the mobile phone operation of then selecting according to the user is related with gravity sensor, produces the control signal control mobile phone user-selected mobile phone operation of completion automatically.
Therein among embodiment; Saidly a plurality of mobile phone operations are offered the user select; The step of obtaining the mobile phone operation that the user selects is specially: select interface, user to trigger a plurality of mobile phone operations to be offered the user behind the said selection interface to select for the user provides.
Among embodiment, a plurality of mobile phone operations offer the user with the mode of mobile phone operation tabulation therein, supply the mobile phone operation of user's selections needs in the mobile phone operation tabulation.
Therein among embodiment, said multiple mobile phone operation be that mobile phone play device music is switched, volume increases or reduce, audio changes or picture switching, image zooming, picture rotation, the page turning of word read device, contextual model switching.
Among embodiment, said mobile phone attitude parameter is mobile phone angle of inclination and acceleration therein.
A kind of mobile phone gravity sensor application system comprises: gravity sensor, mobile phone operation selected cell, associative cell, unit, comparing unit and controller are set;
Said mobile phone operation selected cell is used for that a plurality of mobile phone operations are offered the user and selects, and obtains the mobile phone operation that the user selects;
Said associative cell is connected with the mobile phone operation selected cell with said gravity sensor, and the mobile phone operation that is used for the user is selected is set up related with said gravity sensor;
The said unit that is provided with is connected with the mobile phone operation selected cell with said gravity sensor, is provided with through said gravity sensor, is provided with the user and selects the pairing mobile phone attitude parameter of mobile phone operation;
Said comparing unit and said gravity sensor with the unit be set be connected, said gravity sensor obtains the mobile phone attitude parameter and gives said comparing unit, said comparing unit compares the mobile phone attitude parameter of mobile phone attitude parameter that obtains and setting;
Said controller is connected with associative cell with said comparing unit; If the mobile phone attitude parameter that obtains exceeds the mobile phone attitude parameter of setting; The mobile phone operation of then selecting according to the user is related with gravity sensor, produces the control signal control mobile phone user-selected mobile phone operation of completion automatically.
Therein among embodiment, said mobile phone operation selected cell is selected interface, user to trigger a plurality of mobile phone operations to be offered the user behind the said selection interface to select for the user provides.
Therein among embodiment, said mobile phone operation selected cell offers the user with a plurality of mobile phone operations with the mode of mobile phone operation tabulation, supplies the mobile phone operation of user's selections needs in the mobile phone operation tabulation.
Therein among embodiment, said multiple mobile phone operation be that mobile phone play device music is switched, volume increases or reduce, audio changes or picture switching, image zooming, picture rotation, the page turning of word read device, contextual model switching.
Among embodiment, said mobile phone attitude parameter is mobile phone angle of inclination and acceleration therein.
Above-mentioned mobile phone gravity sensor application process and system; The user is according to the mobile phone operation of demand selection needs through gravity sensor control; Set up related with gravity sensor the mobile phone operation that the user selects; And pairing mobile phone attitude parameter is set, gravity sensor obtains the mobile phone attitude parameter in real time, and compares with the attitude parameter that is provided with.If the mobile phone attitude parameter that obtains exceeds the mobile phone attitude parameter of setting; Then produce control signal control mobile phone and accomplish user-selected mobile phone operation automatically; Thereby make the user accomplish required mobile phone operation through gravity sensor according to egoistic needs; Gravity sensor is used in mobile phone and is greatly promoted, and satisfies user's demand, has strengthened user experience.
Embodiment
Fig. 1 is the flow chart of mobile phone gravity sensor application process among the embodiment, comprises the steps:
S10: a plurality of mobile phone operations are offered the user select, obtain the mobile phone operation that the user selects.
The user at first need provide mobile phone operation to the user when the mobile phone operation of gravity sensor control is set according to demand, supplies the user to select.Among this embodiment, select the interface, behind user's triggering selection interface a plurality of mobile phone operations are offered the user and select for the user provides.In preferred embodiment, a plurality of mobile phone operations offer the user with the mode of mobile phone operation tabulation, supply user's mobile phone operation that selection needs in the mobile phone operation tabulation.A plurality of mobile phone operations are that mobile phone play device music is switched, volume increases perhaps and reduces, audio changes perhaps picture switching, image zooming, picture rotation, the page turning of word read device, contextual model switching etc.
S20: set up related with gravity sensor the mobile phone operation that the user selects.
The user need be related with mobile phone operation of selecting and gravity sensor foundation after selecting required mobile phone operation, so that gravity sensor is controlled selected mobile phone operation.
S30: be provided with through gravity sensor, be provided with the user and select the pairing mobile phone attitude parameter of mobile phone operation.
, also to be provided with and the pairing mobile phone attitude parameter of this mobile phone operation with after gravity sensor is related at user-selected mobile phone operation.The mobile phone attitude parameter that is provided with is used to limit mobile phone and under which kind of attitude parameter, carries out the mobile phone operation that the user selects.Among this embodiment, the mobile phone attitude parameter is mobile phone angle of inclination and acceleration.The mobile phone attitude parameter is set for mobile phone angle of inclination and acceleration are preset.
S40: gravity sensor obtains the mobile phone attitude parameter, compares with the mobile phone attitude parameter that is provided with.
After being provided with the user and selecting the pairing mobile phone attitude parameter of mobile phone operation, the user is if need control to accomplish selected mobile phone operation, then according to the attitude parameter of own demand change mobile phone.Gravity sensor obtains the mobile phone attitude parameter in real time, promptly obtains the angle of inclination and the acceleration of mobile phone in real time, compares with the attitude parameter that is provided with then.
S50: if the mobile phone attitude parameter that obtains exceeds the mobile phone attitude parameter of setting, the mobile phone operation of then selecting according to the user is related with gravity sensor, produces the control signal control mobile phone user-selected mobile phone operation of completion automatically.
Relatively,, then can carry out the mobile phone operation that the user selects, then produce control signal control mobile phone and accomplish user-selected mobile phone operation automatically according to relevance if the mobile phone attitude parameter that obtains exceeds the mobile phone attitude parameter of setting.The angle of inclination that is mobile phone surpasses the mobile phone angle of inclination that is provided with, and acceleration surpasses the acceleration that is provided with, and then produces control signal.Control signal for the control mobile phone carry out left-leaning Right deviation, on turn down, signal that rise and fall, amplification are dwindled.Mobile phone receive carry out that mobile phone play device music is switched, volume increases behind this signal or reduce, audio changes or the mobile phone operation that the user selects is switched or the like in picture switching, image zooming, picture rotation, the page turning of word read device, contextual model, thereby realized through gravity accelerator control accomplish the user need mobile phone operation.
This mobile phone gravity sensor application process, at first the user is according to the mobile phone operation of demand selection needs through gravity sensor control.Then that the mobile phone operation of user's selection is related with gravity sensor foundation, and pairing mobile phone attitude parameter is set.Accomplish selected mobile phone operation if the user need control, then the demand of basis oneself changes the attitude parameter of mobile phone.Gravity sensor obtains the mobile phone attitude parameter in real time, and compares with the attitude parameter that is provided with.If the mobile phone attitude parameter that obtains exceeds the mobile phone attitude parameter of setting; Then produce control signal control mobile phone and accomplish user-selected mobile phone operation automatically; Thereby make the user accomplish required mobile phone operation through gravity sensor according to egoistic needs; Gravity sensor is used in mobile phone and is greatly promoted, and satisfies user's demand, has strengthened user experience.
In addition, also be necessary to provide a kind of mobile phone gravity sensor application system.
Fig. 2 is the structural representation of mobile phone gravity sensor application system among the embodiment.This system comprises gravity sensor 100, mobile phone operation selected cell 200, associative cell 300, unit 400, comparing unit 500 and controller 600 is set.
Mobile phone operation selected cell 200 is used for that a plurality of mobile phone operations are offered the user to be selected, and obtains the mobile phone operation that the user selects.
The user is when being provided with the mobile phone operation of gravity sensor 100 control completion according to demand, mobile phone operation selected cell 200 at first need provide mobile phone operation to the user, supplies the user to select.Among this embodiment, mobile phone operation selected cell 200 is selected the interface for the user provides, and mobile phone operation selected cell 200 offers the user with a plurality of mobile phone operations and selects behind user's triggering selection interface.In preferred embodiment; Mobile phone operation selected cell 200 is tabulated a plurality of mobile phone operations with mobile phone operation mode offers the user; Supply user's mobile phone operation that selection needs in the mobile phone operation tabulation, and click, mobile phone operation selected cell 200 obtains the mobile phone operation that the user selects.A plurality of mobile phone operations are that mobile phone play device music is switched, volume increases perhaps and reduces, audio changes perhaps picture switching, image zooming, picture rotation, the page turning of word read device, contextual model switching etc.
Associative cell 300 is connected with mobile phone operation selected cell 200 with gravity sensor 100, and the mobile phone operation that is used for the user is selected is set up related with gravity sensor 100.
The user is after selecting required mobile phone operation, and associative cell 300 is set up mobile phone operation of selecting and gravity sensor 100 related, so that gravity sensor 100 is accomplished selected mobile phone operation.
Unit 400 is set is connected with mobile phone operation selected cell 200, be provided with, be provided with the user and select the pairing mobile phone attitude parameter of mobile phone operation through gravity sensor 100 with gravity sensor 100.
After user-selected mobile phone operation and gravity sensor 100 are related, unit 400 are set and the pairing mobile phone attitude parameters of this mobile phone operation.The mobile phone attitude parameter that is provided with is used to limit mobile phone and under which kind of attitude parameter, carries out the mobile phone operation that the user selects.Among this embodiment, the mobile phone attitude parameter is mobile phone angle of inclination and accekeration.Unit 400 is set the mobile phone attitude parameter is set for mobile phone angle of inclination and acceleration are preset.
Comparing unit 500 and gravity sensor 100 with unit 400 be set be connected.Gravity sensor 100 obtains the mobile phone attitude parameter and gives comparing unit 500, and comparing unit 500 compares the mobile phone attitude parameter of mobile phone attitude parameter that obtains and setting.
Controller 600 is connected with associative cell 300 with comparing unit 500; If the mobile phone attitude parameter that obtains exceeds the mobile phone attitude parameter of setting; The mobile phone operation of then selecting according to the user is related with gravity sensor 100, produces the control signal control mobile phone user-selected mobile phone operation of completion automatically.
Comparing unit 500 is transferred to controller 600 after relatively; If the mobile phone attitude parameter that obtains exceeds the mobile phone attitude parameter of setting; Then can carry out the mobile phone operation that the user selects, 600 of controllers produce control signal control mobile phone according to relevance and accomplish user-selected mobile phone operation automatically.The angle of inclination that is mobile phone surpasses the mobile phone angle of inclination that is provided with, and acceleration surpasses the acceleration that is provided with, and 600 of controllers produce control signal.Control signal for the control mobile phone carry out left-leaning Right deviation, on turn down, signal that rise and fall, amplification are dwindled.Mobile phone receive carry out that mobile phone play device music is switched, volume increases behind this signal or reduce, audio changes or the mobile phone operation that the user selects is switched or the like in picture switching, image zooming, picture rotation, the page turning of word read device, contextual model, thereby realized through gravity accelerator control accomplish the user need mobile phone operation.
This mobile phone gravity sensor application system, at first the user is according to the mobile phone operation of demand selection needs through gravity sensor 100 completion.Associative cell 300 is related with gravity sensor 100 foundation with the mobile phone operation that the user selects then, unit 400 is set pairing mobile phone attitude parameter is set.Accomplish selected mobile phone operation if the user need control, then the demand of basis oneself changes the attitude parameter of mobile phone.Gravity sensor 100 obtains the mobile phone attitude parameter in real time, and comparing unit 500 compares it and transfers to controller 600 with the attitude parameter that is provided with.If the mobile phone attitude parameter that obtains exceeds the mobile phone attitude parameter of setting; 600 of controllers produce control signal control mobile phone and accomplish user-selected mobile phone operation automatically; Thereby make the user accomplish required mobile phone operation according to egoistic needs through gravity sensor 100, make full use of the function of gravity sensor 100, gravity sensor 100 is used in mobile phone and is greatly promoted; Satisfy user's demand, improve user experience.
Above-mentioned mobile phone gravity sensor application process and system; The user is according to the mobile phone operation of demand selection needs through gravity sensor control; Set up related with gravity sensor the mobile phone operation that the user selects; And pairing mobile phone attitude parameter is set, gravity sensor obtains the mobile phone attitude parameter in real time, and compares with the attitude parameter that is provided with.If the mobile phone attitude parameter that obtains exceeds the mobile phone attitude parameter of setting; Then produce control signal control mobile phone and accomplish user-selected mobile phone operation automatically; Thereby make the user accomplish required mobile phone operation through gravity sensor according to egoistic needs; Gravity sensor is used in mobile phone and is greatly promoted, and satisfies user's demand, has strengthened user experience.
The above embodiment has only expressed several kinds of execution modes of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to claim of the present invention.Should be pointed out that for the person of ordinary skill of the art under the prerequisite that does not break away from the present invention's design, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with accompanying claims.