A method and a device for controlling a mobile terminal browser are provided. The method includes: obtaining acceleration of the mobile terminal displacement detected by a detection element; analyzing the acceleration to obtain the expected displacement direction of the mobile terminal; according to the corresponding relation between each direction and different browsing operations, obtaining a browsing operation that matches the expected displacement direction; executing the browsing operation on the mobile terminal. The technical solution enables the operation of mobile browsing webpage through the detection element without touching the mobile.
The invention relates to the field of Internet technology, and specifically to the method and apparatus for controlling the browser of a mobile terminal.
With the development of communication technology, mobile phones have become indispensable tools for human life. At the same time, with the development of network technology, mobile phones are used not only as a daily communication tool, but also used increasingly to browse the web.
With today’s technology, there are two ways of browsing when using a cell phone. For keypad phones, the phone’s browser operates according to the user’s actions on the phone’s keypad when the user browses. For touch sensitive phones, the touch phone browser operates according to user actions on the touch screen of the touchscreen when the user is browsing the web. The website consists of a series of links and images when displayed to the user through the phone screen. For example, when a user is interested in breaking news on the current site and presses the corresponding button or touch the corresponding area of the screen to view the news. When the news is displayed to the user, if the user is still interested in the message, the user can view the next caveat, otherwise, the user will choose to return to the previous site or close the news window. The user navigates through the action of a key or touch screen.
There are at least some issues with the current technology: if the site has a lot of content, for the keypad, the user is often hit the wrong key because of the small key size; For touch phones, users either touch the wrong location when you want to flip up or down or scroll the scroll bar to browse other web content due to the small screen of the phone. Both of these affect the user experience. In addition, for both the keypad and the touch phone, frequent operations on the keys and on the touch screen will quickly damage the phone and shorten the life of the phone.
The embodiments of the present invention propose a method and apparatus for controlling the browser of a mobile terminal, for browsing the mobile terminal without touching the mobile terminal.
According to the embodiment of the present invention, a method for controlling the browser of a mobile terminal apparatus is mentioned. The method includes: obtaining the mobile terminal of the mobile terminal detected by the detection element; accelerate analysis to obtain the desired direction of mobile device movement; The browsing operation is consistent with the direction of the desired movement according to the relative relationship between the direction of movement and other browsing operations; Performs a browse operation on the mobile terminal.
The method also includes: before acceleration analysis, determining whether the acceleration is greater than the given acceleration threshold, if the acceleration is greater than the given acceleration threshold, then analyzing the acceleration, if it is not, returning to the step of obtaining the displacement acceleration of the mobile terminal detected by the detection element, before analyzing the acceleration.
Accelerated analysis to obtain the desired moving direction of a particular mobile terminal, including: accelerated analysis in the direction of a given analysis to obtain the accelerator component in each direction of analysis; Calculates the absolute value of each acceleration component, taking the direction of the acceleration component with the greatest absolute value as the desired direction of displacement.
The method also includes the step: before obtaining a browsing operation that matches the expected displacement direction according to the corresponding relation between each direction and different browsing operations, establishing and/or varying the correlation between the displacement direction and different browsing operations.
According to another embodiment of the invention, the mobile terminal is mentioned. Mobile terminals include: Detector element, used to detect moving acceleration of mobile devices; The browser, which is used to capture the acceleration detected by the detector element, analyzes the acceleration to obtain the desired mobile direction of the mobile device, receives the browsing operation consistent with the desired direction of travel. Correspondingly, navigation and other browsing operations and mobile browsing operations.