Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Mobile terminal described in the embodiment of the present invention, can comprise: mobile phone, panel computer, notebook computer, digital camera, Digital Video etc.Above-mentioned mobile terminal is only citing, and non exhaustive, including but not limited to above-mentioned mobile terminal.Below will for mobile phone, the method for the adjustment mobile teminal menu position described in the embodiment of the present invention and mobile terminal are specifically described.
See Fig. 1, it is the first embodiment schematic flow sheet of the method for the adjustment mobile teminal menu position that the embodiment of the present invention provides.The method of the adjustment mobile teminal menu position described in the present embodiment, comprises step:
S101, obtain the moving acceleration data of mobile terminal, the moving acceleration data of described mobile terminal comprises at least one in acceleration magnitude, acceleration direction.
In specific implementation, mobile phone is before the moving acceleration data obtaining mobile phone, first can start the function of the menu position of the automatic adjustment mobile phone of mobile phone, namely cellphone subscriber can start the acceleration transducer of mobile phone, to start the function of the menu position of the automatic adjustment mobile phone of mobile phone.After the acceleration transducer startup of mobile phone, mobile phone then obtains the moving acceleration data of mobile phone by acceleration transducer, and wherein, the moving acceleration data of the mobile phone of acquisition can comprise acceleration magnitude, acceleration direction etc.In specific implementation, the transducer of the above-mentioned moving acceleration data in order to obtain mobile phone also can comprise other transducers beyond the acceleration transducer of mobile phone, and the acceleration transducer of mobile phone is only citing, and non exhaustive.
S102, judges whether the acceleration magnitude on predetermined acceleration direction reaches default acceleration rate threshold.
S103, if the determination result is YES, then adjusts the first menu of described mobile terminal toward described predetermined acceleration direction, and described first menu is adjusted to the assigned address on described predetermined acceleration direction.
After mobile phone gets the moving acceleration data of mobile phone by its built-in acceleration transducer, then can judge according to the acceleration information got whether the acceleration magnitude on the predetermined acceleration direction of mobile phone reaches default acceleration rate threshold.In specific implementation, the concrete condition that cellphone subscriber can use according to mobile phone presets the monitoring direction of the menu position of adjustment mobile phone, i.e. the adjustable direction of the menu position of mobile phone.Concrete, the menu of above-mentioned mobile phone can comprise the menu on mobile phone browser, or the menu on the picture browsing interface of mobile phone, or the menu of the application program of mobile phone such as menu on the camera function of mobile phone.Wherein, the menu of above-mentioned application program of mobile phone can comprise turn over, under turn over, arrange, amplify, reduce, add the operation push-button such as label, mark.Cellphone subscriber, in the process using mobile phone, if desired adjusts the menu position of the application program of mobile phone, then can make deliberate action toward the direction (adjustment direction) of target location, drives mobile phone to move toward adjustment direction.Mobile phone then can judge after getting the moving acceleration data of mobile phone mobile phone on predetermined acceleration direction, (namely monitor direction) on acceleration magnitude whether reach default acceleration rate threshold, if the acceleration magnitude of mobile phone on predetermined acceleration direction reaches default acceleration rate threshold, then by the first menu of mobile phone (namely cellphone subscriber wishes the application menu of movement) toward the adjustment of predetermined acceleration direction, the first menu position of the application program of mobile phone can be adjusted to the assigned address (i.e. target location) on predetermined acceleration direction.Concrete, mobile phone is when adjusting application program of mobile phone menu position, the position of the first menu of the application program of mobile phone can be adjusted to position corresponding to the value of this acceleration on predetermined acceleration direction according to the acceleration magnitude on predetermined acceleration direction, namely the position of the first menu of application program can be adjusted to the party's diverse location upwards according to the difference of the acceleration magnitude of mobile phone on predetermined acceleration direction by mobile phone.Such as, see Fig. 2, when cellphone subscriber's right hand holds mobile phone in X browser during browsing page, due to webpage during X browser browsing page, the below that menu MENU (the first menu) is positioned at Webpage (also for mobile phone screen) is set, when cellphone subscriber's one hand holds mobile phone, the webpage that cannot click below webpage arranges the operation push-button on menu MENU, if now cellphone subscriber wishes the webpage in X browser to be arranged the top (being also the top of Webpage in X browser) that menu MENU is adjusted to mobile phone screen, then can do deliberate action toward the top of mobile phone screen, drive mobile phone toward being parallel to mobile phone screen and accelerated motion is done in the direction pointing to mobile phone screen top.After mobile phone gets the moving acceleration data of mobile phone, then to the data analysis got, can judge that mobile phone is being parallel to mobile phone screen and is pointing to the acceleration magnitude on the direction at mobile phone screen top.After mobile phone gets mobile phone acceleration magnitude in the direction in which, then the webpage in current X browser can be arranged menu and adjust toward this direction, the webpage in current X browser be arranged menu and be adjusted to position corresponding to the acceleration magnitude of the mobile phone got.As Fig. 2, when mobile phone is when being parallel to mobile phone screen and the acceleration magnitude pointed on the direction at mobile phone screen top is A, the webpage in current X browser can be arranged the position that menu MENU is adjusted to MENU1; When mobile phone is when being parallel to mobile phone screen and the acceleration magnitude pointed on the direction at mobile phone screen top is B, the webpage in current X browser can be arranged the position that menu MENU is adjusted to MENU2; When mobile phone is when being parallel to mobile phone screen and the acceleration magnitude pointed on the direction at mobile phone screen top is C, webpage in current X browser can be arranged the position etc. that menu MENU is adjusted to MENU3, namely mobile phone first menu can be adjusted to the position corresponding with this acceleration magnitude according to the acceleration magnitude of mobile phone on predetermined acceleration direction by mobile phone.
In specific implementation, when mobile phone adjusts the menu position of application program of mobile phone according to the acceleration magnitude of mobile phone on predetermined acceleration direction, also can preset an acceleration threshold value, when the acceleration magnitude of mobile phone on predetermined acceleration direction is greater than or equal to acceleration threshold value in advance, then the application menu can be adjusted to the maximum position adjustable place on this predetermined acceleration direction.Such as, as shown in Figure 2, if the mobile phone that cellphone subscriber presets is being parallel to mobile phone screen and on the direction pointing to mobile phone screen top, acceleration threshold value is C, then the position of MENU3 is then for the webpage in X browser is arranging the maximum position adjustable of menu MENU on predetermined acceleration direction.When mobile phone the party acceleration magnitude is upwards greater than or equal to C, then the first menu MENU can be adjusted to the position of MENU3.
When mobile phone by the first menu of mobile phone toward after predetermined acceleration direction is adjusted to assigned address, the menu on the initial position of the first menu can be deleted and also can retain.After the first menu is adjusted to assigned address and leaves out the menu on its initial position by mobile phone, the menu of application program also can be returned to the position that the first menu adjusts front place after a period of time after menu has adjusted by mobile phone, i.e. the initial position of the first menu.Concrete, the time interval of acquiescence recovery first menu position can be preset, after the first menu of mobile phone is adjusted to assigned address according to the acceleration magnitude of mobile phone on predetermined acceleration direction by mobile phone, if mobile phone does not do acceleration movement within the time interval of presetting, namely in the Preset Time after the first menu position has adjusted, the acceleration of motion of mobile phone is zero, then the first menu of mobile phone can be returned to the initial position of this menu.Such as, as Fig. 2, when mobile phone according to mobile phone being parallel to mobile phone screen and the webpage in current X browser to arrange after menu MENU is adjusted to MENU1 position by the acceleration magnitude pointed on the direction at mobile phone screen top, if within the time of presetting, mobile phone acceleration magnitude is in the direction in which zero, namely mobile phone does not adjust in the direction in which again, then after the preset lime the webpage in X browser can be arranged the initial position that menu MENU returns to this menu, i.e. the below of mobile phone screen.
The application menu of mobile phone can be adjusted to assigned address according to the acceleration magnitude of mobile phone on predetermined acceleration direction by the method for the adjustment application program of mobile phone menu position described in the present embodiment, when making cellphone subscriber's one hand use mobile phone, the menu operation button that cannot click before can clicking the application menu adjustment smoothly, cellphone subscriber's one hand is made to use the menu position that can adjust application program of mobile phone during mobile phone like a cork, the function comprised in operating handset the application menu rapidly.Method described in the present embodiment makes cellphone subscriber by adjusting the position of the application menu to control the function comprised in the menu of this application program, solving when cellphone subscriber's one hand uses mobile phone cannot the difficult problem of smooth operation mobile phone, improve the flexibility of the putting position of the application menu of mobile phone, enhance the Consumer's Experience effect of mobile phone.
See Fig. 3, it is the second embodiment schematic flow sheet of the method for the adjustment mobile teminal menu position that the embodiment of the present invention provides.The method of the adjustment mobile teminal menu position described in the present embodiment, comprises step:
S201, starts the function of the automatic adjustment mobile teminal menu position of described mobile terminal.
S202, obtains the moving acceleration data of mobile terminal.
In specific implementation, mobile phone is before the moving acceleration data obtaining mobile phone, first can start the function of the menu position of the automatic adjustment mobile phone of mobile phone, namely cellphone subscriber can start the acceleration transducer of mobile phone, to start the function of the menu position of the automatic adjustment mobile phone of mobile phone.After the acceleration transducer startup of mobile phone, mobile phone then obtains the moving acceleration data of mobile phone by acceleration transducer, and wherein, the moving acceleration data of the mobile phone of acquisition can comprise acceleration magnitude, acceleration direction etc.In specific implementation, the transducer of the above-mentioned moving acceleration data in order to obtain mobile phone also can comprise other transducers beyond the acceleration transducer of mobile phone, and the acceleration transducer of mobile phone is only citing, and non exhaustive.
S203, judges whether the acceleration magnitude on predetermined acceleration direction reaches default acceleration rate threshold, if the determination result is YES, then performs step S204.
S204, judges whether assigned address has had the second menu, if the determination result is YES, then performs step S205 or S207, if judged result is no, then performs step S206.
S205, is adjusted to the assigned address on described predetermined acceleration direction and is covered by described second menu toward predetermined acceleration direction by described first menu.
S206, is adjusted to the assigned address on described predetermined acceleration direction toward predetermined acceleration direction by described first menu.
S207, is adjusted to the assigned address on described predetermined acceleration direction by described first menu toward predetermined acceleration direction and described second menu is adjusted to the initial position of described first menu.
After mobile phone gets the moving acceleration data of mobile phone by its built-in acceleration transducer, then can judge according to the acceleration information got whether the acceleration magnitude on the predetermined acceleration direction of mobile phone reaches default acceleration rate threshold.In specific implementation, the concrete condition that cellphone subscriber can use according to mobile phone presets the monitoring direction of the menu position of adjustment mobile phone, i.e. the adjustable direction of application program of mobile phone menu position.Concrete, the menu of above-mentioned mobile phone can comprise the menu on mobile phone browser, or the menu on the picture browsing interface of mobile phone, or the menu of the application program of mobile phone such as menu on the camera function of mobile phone.Wherein, the menu of above-mentioned application program of mobile phone can comprise turn over, under turn over, arrange, amplify, reduce, add the operation push-button such as label, mark.Cellphone subscriber, in the process using mobile phone, if desired adjusts the menu position of the application program of mobile phone, then can make deliberate action toward the direction (adjustment direction) of target location, drives mobile phone to move toward adjustment direction.Mobile phone then can judge after getting the moving acceleration data of mobile phone mobile phone on predetermined acceleration direction, (namely monitor direction) on acceleration magnitude whether reach default acceleration rate threshold, if the acceleration magnitude of mobile phone on predetermined acceleration direction reaches default acceleration rate threshold, then by the first menu of mobile phone (namely cellphone subscriber wishes the menu of the application program of movement) toward the adjustment of predetermined acceleration direction, the first menu position of the application program of mobile phone can be adjusted to the position (i.e. target location) of specifying.Concrete, mobile phone is before adjustment first menu position, and also can judge the menu whether assigned address having other further, i.e. the second menu, if judged result is no, then directly can be adjusted to assigned address by the first menu toward predetermined acceleration direction.Wherein, the first menu and the second menu are the menu of the application program of mobile phone, and the first menu and the first menu can be the menus of same application program of mobile phone, also can be the menus of different application program of mobile phone.When first menu is adjusted to the assigned address on predetermined acceleration direction by mobile phone, the position of the first menu can be adjusted to position corresponding to the value of this acceleration on predetermined acceleration direction according to the acceleration magnitude on predetermined acceleration direction, namely the position of the first menu of application program can be adjusted to the party's diverse location upwards according to the difference of the acceleration magnitude of mobile phone on predetermined acceleration direction by mobile phone.Such as, see Fig. 2, when cellphone subscriber's right hand holds mobile phone in X browser during browsing page, due to webpage during X browser browsing page, the below that menu MENU (the first menu) is positioned at Webpage (also for mobile phone screen) is set, when cellphone subscriber's one hand holds mobile phone, the webpage that cannot click below webpage arranges the operation push-button on menu MENU, if now cellphone subscriber wishes the webpage in X browser to be arranged the top (being also the top of Webpage in X browser) that menu MENU is adjusted to mobile phone screen, then can do deliberate action toward the top of mobile phone, drive mobile phone toward being parallel to mobile phone screen and accelerated motion is done in the direction pointing to mobile phone screen top.After mobile phone gets the moving acceleration data of mobile phone, then to the data analysis got, can judge that mobile phone is being parallel to mobile phone screen and is pointing to the acceleration magnitude on the direction at mobile phone screen top.After mobile phone gets mobile phone acceleration magnitude in the direction in which, then the webpage in current X browser can be arranged menu and adjust toward this direction, the webpage in current X browser be arranged menu and be adjusted to position corresponding to the acceleration magnitude of the mobile phone got.As Fig. 2, when mobile phone is when being parallel to mobile phone screen and the acceleration magnitude pointed on the direction at mobile phone screen top is A, the webpage in current X browser can be arranged the position that menu MENU is adjusted to MENU1; When mobile phone is when being parallel to mobile phone screen and the acceleration magnitude pointed on the direction at mobile phone screen top is B, the webpage in current X browser can be arranged the position that menu MENU is adjusted to MENU2; When mobile phone is when being parallel to mobile phone screen and the acceleration magnitude pointed on the direction at mobile phone screen top is C, webpage in current X browser can be arranged the position that menu MENU is adjusted to MENU3, namely the first menu of application program can be adjusted to the position corresponding with this acceleration magnitude according to the acceleration magnitude of mobile phone on predetermined acceleration direction by mobile phone.
In addition, when mobile phone judged to learn menu (i.e. the second menu) target location (assigned address namely on predetermined acceleration direction) having had other before adjustment first menu position, then the first menu can be adjusted to assigned address toward predetermined acceleration direction and above-mentioned second menu is covered, or, first menu be adjusted to assigned address toward predetermined acceleration direction and the second menu on above-mentioned assigned address be adjusted to the initial position of the first menu, exchanging by the position of the first menu and the second menu position.Such as, see Fig. 4, when cellphone subscriber wants the right side edge position of the first menu MENU1 of the application program of mobile phone (the first menu of such as X browser) being adjusted to mobile phone screen from the below of mobile phone screen, i.e. the second menu MENU2 (the second menu of such as X browser, namely now the first menu and the second menu are the menu of same application program of mobile phone) position at place time, cellphone subscriber can do deliberate action toward the right side of mobile phone screen, drives mobile phone to turn right and does acceleration movement.Mobile phone by its inner acceleration transducer get mobile phone preset direction (be parallel to mobile phone screen and point to the direction on the right side of mobile phone screen) on acceleration magnitude reach default acceleration rate threshold after, judge to learn that the right side edge of mobile phone screen has had the second menu, now, first menu MENU1 of application program of mobile phone then can adjust toward predetermined acceleration direction by mobile phone, first menu MENU1 of application program of mobile phone is adjusted on the position of the second menu MENU2 of application program of mobile phone, and the second menu MENU2 is covered, or the first menu MENU1 of application program of mobile phone is adjusted on the position of the second menu MENU2 of application program of mobile phone, and the second menu MENU2 of application program of mobile phone is adjusted on the position of the first menu MENU1 of application program of mobile phone, by the first menu MENU1 and the second menu MENU2 reversing of position of application program of mobile phone, as shown in Fig. 4 .1.In specific implementation, when first menu MENU1 of application program of mobile phone is adjusted to the position at the second menu MENU2 place by mobile phone, the monitoring direction (i.e. predetermined acceleration direction) of mobile phone can comprise and is above-mentionedly parallel to mobile phone screen and points to the direction on the right side of mobile phone screen, also can be first be parallel to mobile phone screen and point to mobile phone screen top be parallel to mobile phone screen again and point to the direction on the right side of mobile phone screen, namely cellphone subscriber can according to monitoring direction during actual conditions self-defining mobile phone adjustment application program of mobile phone menu position.
S208, judges whether the moving acceleration data of described mobile terminal in Preset Time is zero, if the determination result is YES, then performs step S209.
S209, is reduced to the initial position of described first menu by described first menu.
When mobile phone by the first menu of mobile phone toward after predetermined acceleration direction is adjusted to assigned address, if assigned address does not have the second menu before adjustment, after then mobile phone first menu being adjusted to assigned address, the menu on the initial position of the first menu can be deleted and also can retain.After the first menu is adjusted to assigned address and leaves out the menu on its initial position by mobile phone, first menu also can be returned to the position that this menu adjusts front place after a period of time after menu position has adjusted by mobile phone, i.e. the initial position of the first menu.If assigned address has had the second menu before adjustment mobile phone first menu position, then can by mobile phone first menu and the second menu reversing of position during adjustment mobile phone the first menu position.When mobile phone when adjusting the position of mobile phone first menu by mobile phone first menu and the second menu reversing of position after, also can exchange after a period of time after menu has adjusted in the position of mobile phone first menu and the second menu by mobile phone, by the location restore of mobile phone first menu and the second menu to initial position.Concrete, the time interval that acquiescence recovers application program first menu position can be preset, after the first menu of mobile phone is adjusted to assigned address according to the acceleration magnitude of mobile phone on predetermined acceleration direction by mobile phone, if mobile phone does not do acceleration movement within the time interval of presetting, namely in the Preset Time after the position of the first menu has adjusted, the acceleration of motion of mobile phone is zero, then the first menu of mobile phone can be returned to the initial position of this menu, also the second menu can be returned to the initial position of the second menu.Such as, as Fig. 2, when mobile phone according to mobile phone being parallel to mobile phone screen and the webpage in current X browser to arrange after menu MENU is adjusted to MENU1 position by the acceleration magnitude pointed on the direction at mobile phone screen top, if within the time of presetting, mobile phone acceleration magnitude is in the direction in which zero, namely mobile phone does not adjust in the direction in which again, then after the preset lime the webpage in X browser can be arranged the initial position that menu MENU returns to this menu, i.e. the below of mobile phone screen.As Fig. 4 .1, after mobile phone first menu MENU1 and the second menu MENU2 reversing of position, if within the time of presetting, acceleration magnitude on the adjustment direction of mobile phone first menu MENU1 is zero, namely application program of mobile phone menu does not adjust in the direction in which again, then can after the preset lime by the location restore of mobile phone first menu MENU1 and the second menu MENU2 to its initial position, as shown in Figure 4.
In specific implementation, when mobile phone screen existing multiple the application menu or application program of mobile phone there is multiple menu simultaneously, also the method for the first menu position in the sight described by above-mentioned adjustment Fig. 4 and the second menu position the position of the various menu can be adjusted flexibly.Cellphone subscriber can customize the adjustment direction of adjustment application program of mobile phone menu position and according to the position of the acceleration magnitude adjustment application program of mobile phone menu of mobile phone on corresponding predetermined acceleration direction, corresponding application program of mobile phone menu is adjusted to assigned address.
First menu of mobile phone can be adjusted to assigned address according to the acceleration magnitude of mobile phone on predetermined acceleration direction by the method for the adjustment application program of mobile phone menu position described in the present embodiment, the position of the various menu is adjusted flexibly when also can there is multiple menu on mobile phone screen, when making cellphone subscriber's one hand use mobile phone, the menu operation button that cannot click before can clicking the application menu adjustment smoothly, cellphone subscriber's one hand is made to use the menu position that can adjust application program of mobile phone during mobile phone like a cork, the function comprised in operating handset the application menu rapidly.Method described in the present embodiment makes cellphone subscriber by adjusting the position of the application menu to control the function comprised in this application menu, solving when cellphone subscriber's one hand uses mobile phone cannot the difficult problem of smooth operation mobile phone, improve the flexibility of the putting position of the application menu of mobile phone, enhance the Consumer's Experience effect of mobile phone.
See Fig. 5, it is the first example structure schematic diagram of the mobile terminal that the embodiment of the present invention provides.Mobile terminal described in the present embodiment, comprising:
Start module 10, for starting the function of the automatic adjustment mobile teminal menu position of described mobile terminal.
Acquisition module 20, for obtaining the moving acceleration data of mobile terminal.
Judge module 30, for judging whether the acceleration magnitude on predetermined acceleration direction reaches default acceleration rate threshold.
First adjusting module 40, for when described judge module judged result is for being, adjusts the first menu of described mobile terminal toward described predetermined acceleration direction, and described first menu is adjusted to the assigned address on described predetermined acceleration direction.
Recovery module 60, for judging whether the moving acceleration data of described mobile terminal in the Preset Time after described first menu position has adjusted is zero, if the determination result is YES, then described first menu is reduced to the initial position of described first menu.
In specific implementation, acquisition module 20 is before the moving acceleration data obtaining mobile phone, start the function that module 10 first can start the menu position of the automatic adjustment mobile phone of mobile phone, namely cellphone subscriber first can start the acceleration transducer of mobile phone by starting module 10, to start the function of the menu position of the automatic adjustment mobile phone of mobile phone.The acquisition module 20 starting mobile phone after module 10 starts the acceleration transducer of mobile phone obtains the moving acceleration data of mobile phone by acceleration transducer, wherein, the moving acceleration data of the mobile phone of acquisition can comprise acceleration magnitude, acceleration direction etc.In specific implementation, acquisition module 20 obtains the moving acceleration data of mobile phone by above-mentioned acceleration transducer, also obtain the moving acceleration data of mobile phone by other transducers beyond the acceleration transducer of mobile phone, the acceleration transducer of mobile phone is only citing, and non exhaustive.
After the acquisition module 20 of mobile phone gets the moving acceleration data of mobile phone by the built-in acceleration transducer of mobile phone, the acceleration information that judge module 30 can get according to acquisition module 20 judges whether the acceleration magnitude on the predetermined acceleration direction of mobile phone reaches default acceleration rate threshold.In specific implementation, the concrete condition that cellphone subscriber can use according to mobile phone presets the monitoring direction of the menu position of adjustment mobile phone, i.e. the adjustable direction of the menu position of mobile phone.Concrete, the menu of above-mentioned mobile phone can comprise the menu on mobile phone browser, or the menu on the picture browsing interface of mobile phone, or the menu of the application program of mobile phone such as menu on the camera function of mobile phone.Wherein, the menu of above-mentioned application program of mobile phone can comprise turn over, under turn over, arrange, amplify, reduce, add the operation push-button such as label, mark.Cellphone subscriber, in the process using mobile phone, if desired adjusts the menu position of the application program of mobile phone, then can make deliberate action toward the direction (adjustment direction) of target location, drives mobile phone to move toward adjustment direction.The acquisition module 20 of mobile phone after getting the moving acceleration data of mobile phone then by judge module 30 judge mobile phone on predetermined acceleration direction, (namely monitor direction) on acceleration magnitude whether reach default acceleration rate threshold, if the acceleration magnitude of mobile phone on predetermined acceleration direction reaches default acceleration rate threshold, first adjusting module 40 can by the first menu of mobile phone (namely cellphone subscriber wishes the application menu of movement) toward the adjustment of predetermined acceleration direction, first menu position of the application program of mobile phone is adjusted to the assigned address (i.e. target location) on predetermined acceleration direction.Concrete, first adjusting module 40 is when adjusting application program of mobile phone menu position, the position of the first menu of application program of mobile phone can be adjusted to position corresponding to the value of this acceleration on predetermined acceleration direction according to the acceleration magnitude on predetermined acceleration direction, namely the position of the first menu of application program can be adjusted to the party's diverse location upwards according to the difference of the acceleration magnitude of mobile phone on predetermined acceleration direction by the first adjusting module 40.Such as, see Fig. 2, when cellphone subscriber's right hand holds mobile phone in X browser during browsing page, due to webpage during X browser browsing page, the below that menu MENU (the first menu) is positioned at Webpage (also for mobile phone screen) is set, when cellphone subscriber's one hand holds mobile phone, the webpage that cannot click below webpage arranges the operation push-button on menu MENU, if now cellphone subscriber wishes the webpage in X browser to be arranged the top (being also the top of Webpage in X browser) that menu MENU is adjusted to mobile phone screen, then can do deliberate action toward the top of mobile phone screen, drive mobile phone toward being parallel to mobile phone screen and accelerated motion is done in the direction pointing to mobile phone screen top.After the acquisition module 20 of mobile phone gets the moving acceleration data of mobile phone, then by judge module 30 to the data analysis got, judge that mobile phone is being parallel to mobile phone screen and is pointing to the acceleration magnitude on the direction at mobile phone screen top.After first adjusting module 40 of mobile phone gets mobile phone acceleration magnitude in the direction in which, then the webpage in current X browser can be arranged menu to adjust toward this direction, the webpage in current X browser be arranged menu and be adjusted to position corresponding to the acceleration magnitude of the mobile phone got.As Fig. 2, when mobile phone is when being parallel to mobile phone screen and the acceleration magnitude pointed on the direction at mobile phone screen top is A, the webpage in current X browser can be arranged the position that menu MENU is adjusted to MENU1 by the first adjusting module 40; When mobile phone is when being parallel to mobile phone screen and the acceleration magnitude pointed on the direction at mobile phone screen top is B, the webpage in current X browser can be arranged the position that menu MENU is adjusted to MENU2 by the first adjusting module 40; When mobile phone is when being parallel to mobile phone screen and the acceleration magnitude pointed on the direction at mobile phone screen top is C, webpage in current X browser can be arranged the position etc. that menu MENU is adjusted to MENU3 by the first adjusting module 40, and namely mobile phone first menu can be adjusted to the position corresponding with this acceleration magnitude according to the acceleration magnitude of mobile phone on predetermined acceleration direction by the first adjusting module 40.
In specific implementation, when first adjusting module 40 adjusts the menu position of application program of mobile phone according to the acceleration magnitude of mobile phone on predetermined acceleration direction, also can preset an acceleration threshold value, when the acceleration magnitude of mobile phone on predetermined acceleration direction is greater than or equal to acceleration threshold value in advance, then the application menu can be adjusted to the maximum position adjustable place on this predetermined acceleration direction.Such as, as shown in Figure 2, if the mobile phone that cellphone subscriber presets is being parallel to mobile phone screen and on the direction pointing to mobile phone screen top, acceleration threshold value is C, then the position of MENU3 is then for the webpage in X browser is arranging the maximum position adjustable of menu MENU on predetermined acceleration direction.When mobile phone the party acceleration magnitude is upwards greater than or equal to C, then the first menu MENU can be adjusted to the position of MENU3.
When the first adjusting module 40 by the first menu of mobile phone toward after predetermined acceleration direction is adjusted to assigned address, the menu on the initial position of the first menu can be deleted and also can retain.After the first menu is adjusted to assigned address and leaves out the menu on its initial position by the first adjusting module 40, mobile phone is also by returning to the first menu the position that menu adjusts front place, i.e. the initial position of the application menu after a period of time after menu has adjusted of recovery module 60.Concrete, the time interval of acquiescence recovery first menu position can be preset, after the first menu of mobile phone is adjusted to assigned address according to the acceleration magnitude of mobile phone on predetermined acceleration direction by the first adjusting module 40, recovery module 60 can start timing, if mobile phone does not do acceleration movement within the time interval of presetting, namely in the Preset Time after the first menu position has adjusted, the acceleration of motion of mobile phone is zero, and the first menu of mobile phone can be returned to the initial position of this menu by recovery module 60.Such as, as Fig. 2, when the first adjusting module 40 according to mobile phone being parallel to mobile phone screen and the webpage in current X browser to arrange after menu MENU is adjusted to MENU1 position by the acceleration magnitude pointed on the direction at mobile phone screen top, if within the time of presetting, mobile phone acceleration magnitude is in the direction in which zero, namely mobile phone does not adjust in the direction in which again, webpage in X browser can be arranged the initial position that menu MENU returns to this menu by recovery module 60 after the preset lime, i.e. the below of mobile phone screen.
The application menu of mobile phone can be adjusted to assigned address according to the acceleration magnitude of mobile phone on predetermined acceleration direction by mobile terminal described in the present embodiment, when making cellphone subscriber's one hand use mobile phone, the menu operation button that cannot click before can clicking the application menu adjustment smoothly, cellphone subscriber's one hand is made to use the menu position that can adjust application program of mobile phone during mobile phone like a cork, the function comprised in operating handset the application menu rapidly.Mobile terminal described in the present embodiment makes cellphone subscriber by adjusting the position of the application menu to control the function comprised in the menu of this application program, solving when cellphone subscriber's one hand uses mobile phone cannot the difficult problem of smooth operation mobile phone, improve the flexibility of the putting position of the application menu of mobile phone, enhance the Consumer's Experience effect of mobile phone.
See Fig. 6, it is the second example structure schematic diagram of the mobile terminal that the embodiment of the present invention provides.Mobile terminal described in the present embodiment, comprising:
Start module 10, for starting the function of the automatic adjustment mobile teminal menu position of described mobile terminal.
Acquisition module 20, for obtaining the moving acceleration data of mobile terminal.
Judge module 30, for judging whether the acceleration magnitude on predetermined acceleration direction reaches default acceleration rate threshold.
First adjusting module 50, for when described judge module judged result is for being, adjusts the first menu of described mobile terminal toward described predetermined acceleration direction, and described first menu is adjusted to the assigned address on described predetermined acceleration direction.
Recovery module 60, for judging whether the moving acceleration data of described mobile terminal in the Preset Time after described first menu position has adjusted is zero, if the determination result is YES, then described first menu is reduced to the initial position of described first menu.
Wherein, described first adjusting module 50, comprising:
Detecting unit 51, for judging whether the assigned address on described predetermined acceleration direction has had the second menu.
First processing unit 52, for when described detecting unit judged result is no, is adjusted to the assigned address on described predetermined acceleration direction toward predetermined acceleration direction by described first menu.
Second processing unit 53, for when described detecting unit judged result is for being, is adjusted to the assigned address on described predetermined acceleration direction and is covered by described second menu toward predetermined acceleration direction by described first menu.
Mobile terminal described in the present embodiment, also comprises:
Second adjusting module 70, for when described detecting unit judged result is for being, described first menu is adjusted to the assigned address on described predetermined acceleration direction toward predetermined acceleration direction and described second menu is adjusted to the initial position of described first menu.
In specific implementation, acquisition module 20 is before the moving acceleration data obtaining mobile phone, start the function that module 10 first can start the menu position of the automatic adjustment mobile phone of mobile phone, namely cellphone subscriber first can start the acceleration transducer of mobile phone by starting module 10, to start the function of the menu position of the automatic adjustment mobile phone of mobile phone.Start acquisition module 20 acceleration transducers by mobile phone after module 10 starts the acceleration transducer of mobile phone and obtain the moving acceleration data of mobile phone, wherein, the moving acceleration data of the mobile phone of acquisition can comprise acceleration magnitude, acceleration direction etc.In specific implementation, acquisition module 20 is by the moving acceleration data of the acceleration transducer acquisition mobile phone of above-mentioned mobile phone, also the moving acceleration data of mobile phone is obtained by other transducers beyond the acceleration transducer of mobile phone, the acceleration transducer of above-mentioned mobile phone is only citing, and non exhaustive.
After acquisition module 20 gets the moving acceleration data of mobile phone by the built-in acceleration transducer of mobile phone, the acceleration information that judge module 30 can get according to acquisition module 20 judges whether the acceleration magnitude on the predetermined acceleration direction of mobile phone reaches default acceleration rate threshold.In specific implementation, the concrete condition that cellphone subscriber can use according to mobile phone presets the monitoring direction of the menu position of adjustment mobile phone, i.e. the adjustable direction of application program of mobile phone menu position.Concrete, the menu of above-mentioned mobile phone can comprise the menu on mobile phone browser, or the menu on the picture browsing interface of mobile phone, or the menu of the application program of mobile phone such as menu on the camera function of mobile phone.Wherein, the menu of above-mentioned application program of mobile phone can comprise turn over, under turn over, arrange, amplify, reduce, add the operation push-button such as label, mark.Cellphone subscriber, in the process using mobile phone, if desired adjusts the menu position of the application program of mobile phone, then can make deliberate action toward the direction (adjustment direction) of target location, drives mobile phone to move toward adjustment direction.The acquisition module 20 of mobile phone after getting the moving acceleration data of mobile phone then by judge module 30 judge mobile phone on predetermined acceleration direction, (namely monitor direction) on acceleration magnitude whether reach default acceleration rate threshold, if the acceleration magnitude of mobile phone on predetermined acceleration direction reaches default acceleration rate threshold, first adjusting module 50 can by the first menu of mobile phone (namely cellphone subscriber wishes the menu of the application program of movement) toward the adjustment of predetermined acceleration direction, first menu position of mobile phone is adjusted to the position (i.e. target location) of specifying.Concrete, first adjusting module 50 is before adjustment first menu position, also judge the menu whether assigned address having other further by its detecting unit 51, i.e. the second menu, if judged result is no, then directly this menu is adjusted to assigned address toward predetermined acceleration direction by the first processing unit 52.Wherein, the first menu and the second menu are the menu of the application program of mobile phone, and the first menu and the first menu can be the menus of same application program of mobile phone, also can be the menus of different application program of mobile phone.When first menu is adjusted to assigned address by the first processing unit 52, the position of the first menu can be adjusted to position corresponding to the value of this acceleration on predetermined acceleration direction according to the acceleration magnitude on predetermined acceleration direction, namely the position of the first menu of application program can be adjusted to the party's diverse location upwards according to the difference of the acceleration magnitude of mobile phone on predetermined acceleration direction by the first processing unit 52.Such as, see Fig. 2, when cellphone subscriber's right hand holds mobile phone in X browser during browsing page, due to webpage during X browser browsing page, the below that menu MENU (the first menu) is positioned at Webpage (also for mobile phone screen) is set, when cellphone subscriber's one hand holds mobile phone, the webpage that cannot click below webpage arranges the operation push-button on menu MENU, if now cellphone subscriber wishes the webpage in X browser to be arranged the top (being also the top of Webpage in X browser) that menu MENU is adjusted to mobile phone screen, then can do deliberate action toward the top of mobile phone, drive mobile phone toward being parallel to mobile phone screen and accelerated motion is done in the direction pointing to mobile phone screen top.After the acquisition module 20 of mobile phone gets the moving acceleration data of mobile phone, then by judge module 30 to the data analysis got, judge that mobile phone is being parallel to mobile phone screen and is pointing to the acceleration magnitude on the direction at mobile phone screen top.After first adjusting module 52 gets mobile phone acceleration magnitude in the direction in which, then the webpage in current X browser can be arranged menu to adjust toward this direction, the webpage in current X browser be arranged menu and be adjusted to position corresponding to the acceleration magnitude of the mobile phone got.As Fig. 2, when mobile phone is when being parallel to mobile phone screen and the acceleration magnitude pointed on the direction at mobile phone screen top is A, the webpage in current X browser can be arranged the position that menu MENU is adjusted to MENU1 by the first processing unit 52; When mobile phone is when being parallel to mobile phone screen and the acceleration magnitude pointed on the direction at mobile phone screen top is B, the webpage in current X browser can be arranged the position that menu MENU is adjusted to MENU2 by the first processing unit 52; When mobile phone is when being parallel to mobile phone screen and the acceleration magnitude pointed on the direction at mobile phone screen top is C, webpage in current X browser can be arranged the position that menu MENU is adjusted to MENU3 by the first processing unit 52, and namely the first menu of application program can be adjusted to the position corresponding with this acceleration magnitude according to the acceleration magnitude of mobile phone on predetermined acceleration direction by the first processing unit 52.
In addition, when the first adjusting module 50 judged to learn menu (i.e. the second menu) target location (assigned address namely on predetermined acceleration direction) having had other before adjustment first menu position, then by the second processing unit 53, first menu is adjusted to assigned address toward predetermined acceleration direction also above-mentioned second menu to be covered, or, by the second adjusting module 70 first menu be adjusted to assigned address toward predetermined acceleration direction and the second menu on above-mentioned assigned address be adjusted to the initial position of the first menu, exchange by the position of the first menu and the second menu position.Such as, see Fig. 4, when cellphone subscriber wants the right side edge position of the first menu MENU1 of the application program of mobile phone (the first menu of such as X browser) being adjusted to mobile phone screen from the below of mobile phone screen, i.e. the second menu MENU2 (the second menu of such as X browser, namely now the first menu and the second menu are the menu of same application program of mobile phone) position at place time, cellphone subscriber can do deliberate action toward the right side of mobile phone screen, drives mobile phone to turn right and does acceleration movement.After the judge module 30 of mobile phone judges to learn that the acceleration magnitude of mobile phone on the direction (be parallel to mobile phone screen and point to the direction on the right side of mobile phone screen) of presetting reaches default acceleration rate threshold by the data that acquisition module 20 gets, the detecting unit 51 of the first adjusting module 50 judges to learn that the right side edge of mobile phone screen has had the second menu further, now, mobile phone then adjusts toward predetermined acceleration direction by the first menu MENU1 of the second processing unit 53 by application program of mobile phone, first menu MENU1 of application program of mobile phone is adjusted on the position of the second menu MENU2 of application program of mobile phone, and the second menu MENU2 is covered, or by the second adjusting module 70, first menu MENU1 of application program of mobile phone is adjusted toward predetermined acceleration direction, first menu MENU1 of application program of mobile phone is adjusted on the position of the second menu MENU2 of application program of mobile phone, and the second menu MENU2 of application program of mobile phone is adjusted on the position of the first menu MENU1 of application program of mobile phone, by the first menu MENU1 and the second menu MENU2 reversing of position of application program of mobile phone, as shown in Fig. 4 .1.In specific implementation, when first menu MENU1 of application program of mobile phone is adjusted to the position at the second menu MENU2 place by mobile phone, the monitoring direction (i.e. predetermined acceleration direction) of mobile phone can comprise and is above-mentionedly parallel to mobile phone screen and points to the direction on the right side of mobile phone screen, also can be first be parallel to mobile phone screen and point to mobile phone screen top be parallel to mobile phone screen again and point to the direction on the right side of mobile phone screen, namely cellphone subscriber can according to monitoring direction during actual conditions self-defining mobile phone adjustment application program of mobile phone menu position.
When the first adjusting module 50 or the second adjusting module 70 by the first menu of mobile phone toward after predetermined acceleration direction is adjusted to assigned address, if assigned address does not have the second menu before adjustment, after then mobile phone first menu is adjusted to assigned address by the first processing unit 52, the menu on the initial position of the first menu can be deleted and also can retain.After the first menu is adjusted to assigned address and leaves out the menu on its initial position by the first processing unit 52, mobile phone is also by returning to the first menu the position that this menu adjusts front place after its recovery module 60 a period of time after menu has adjusted, i.e. the initial position of the first menu.If assigned address has had the second menu before adjustment mobile phone first menu position, then by the second processing unit 53 mobile phone first menu is adjusted to assigned address and the second menu is covered, or by the second adjusting module 70 by mobile phone first menu and the second menu reversing of position.If mobile phone is adjusted by the second processing unit 53 when adjusting the first menu position, then after the first menu is adjusted to assigned address by the second processing unit 53, mobile phone can also by reducing the first menu position in recovery module 60 a period of time after menu has adjusted.If mobile phone is adjusted by the second adjusting module 70 when adjusting the first menu position, then after the second adjusting module 70 is by mobile phone first menu and the second menu reversing of position, mobile phone also by being exchanged in the position of mobile phone first menu and the second menu after its recovery module 60 a period of time after menu has adjusted, by the location restore of mobile phone first menu and the second menu to initial position.Concrete, the time interval of acquiescence recovery first menu position can be preset, after the first menu of mobile phone is adjusted to assigned address according to the acceleration magnitude of mobile phone on predetermined acceleration direction by the first adjusting module 50 or the second adjusting module 70, if mobile phone does not do acceleration movement within the time interval of presetting, the acceleration of motion of the mobile phone namely got in the Preset Time of acquisition module 20 after the position of the first menu has adjusted is zero, first menu of mobile phone can be returned to the initial position of this menu by recovery module 60, also the second menu can be returned to the initial position of the second menu.Such as, as Fig. 2, when mobile phone according to mobile phone being parallel to mobile phone screen and the webpage in current X browser to arrange after menu MENU is adjusted to MENU1 position by the acceleration magnitude pointed on the direction at mobile phone screen top, if within the time of presetting, mobile phone acceleration magnitude is in the direction in which zero, namely mobile phone does not adjust in the direction in which again, webpage in X browser can be arranged the initial position that menu MENU returns to this menu by recovery module 60 after the preset lime, i.e. the below of mobile phone screen.As Fig. 4 .1, after mobile phone first menu MENU1 and the second menu MENU2 reversing of position, if within the time of presetting, acceleration magnitude on the adjustment direction of mobile phone first menu MENU1 is zero, namely application program of mobile phone menu does not adjust in the direction in which again, recovery module 60 can after the preset lime by the location restore of mobile phone first menu MENU1 and the second menu MENU2 to its initial position, as shown in Figure 4.
In specific implementation, when mobile phone screen existing multiple the application menu or application program of mobile phone there is multiple menu simultaneously, the first adjusting module of mobile phone also the method for the first menu position in the sight described by above-mentioned adjustment Fig. 4 and the second menu position can adjust the position of the various menu flexibly.Cellphone subscriber can customize the adjustment direction of adjustment application program of mobile phone menu position and by the position of the first adjusting module 50 in conjunction with the acceleration magnitude adjustment application program of mobile phone menu of mobile phone on corresponding predetermined acceleration direction, corresponding application program of mobile phone menu is adjusted to assigned address.
First menu of mobile phone can be adjusted to assigned address according to the acceleration magnitude of mobile phone on predetermined acceleration direction by the mobile terminal described in the present embodiment, the position of each the application menu is adjusted flexibly when also can there is multiple menu on mobile phone screen, cellphone subscriber's one hand is made to use the menu operation button that can click smoothly during mobile phone and cannot click before the application menu adjusts, cellphone subscriber's one hand is made to use the menu position that can adjust application program of mobile phone during mobile phone like a cork, the function comprised in operating handset the application menu rapidly.Mobile terminal described in the present embodiment makes cellphone subscriber by adjusting the position of the application menu to control the function comprised in this application menu, solving when cellphone subscriber's one hand uses mobile phone cannot the difficult problem of smooth operation mobile phone, improve the flexibility of the putting position of the application menu of mobile phone, enhance the Consumer's Experience effect of mobile phone.
Module in all embodiments of the present invention or submodule, universal integrated circuit can be passed through, such as CPU (Central Processing Unit, central processing unit), or realized by ASIC (Application SpecificIntegrated Circuit, application-specific integrated circuit (ASIC)).
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.