CN104035564B - Browser page control method and device - Google Patents

Browser page control method and device Download PDF

Info

Publication number
CN104035564B
CN104035564B CN201410291412.5A CN201410291412A CN104035564B CN 104035564 B CN104035564 B CN 104035564B CN 201410291412 A CN201410291412 A CN 201410291412A CN 104035564 B CN104035564 B CN 104035564B
Authority
CN
China
Prior art keywords
control
mobile terminal
instruction
webpage
rocked
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410291412.5A
Other languages
Chinese (zh)
Other versions
CN104035564A (en
Inventor
谭正能
赵鸿飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhongke Chuang Da (Chongqing) Automotive Technology Co., Ltd.
Original Assignee
ThunderSoft Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ThunderSoft Co Ltd filed Critical ThunderSoft Co Ltd
Priority to CN201410291412.5A priority Critical patent/CN104035564B/en
Publication of CN104035564A publication Critical patent/CN104035564A/en
Application granted granted Critical
Publication of CN104035564B publication Critical patent/CN104035564B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)
  • Position Input By Displaying (AREA)

Abstract

The invention discloses a browser page control method and device. The method includes: correspondingly relating control modes of a gravity sensor of a mobile terminal when the mobile terminal shakes to multiple preset webpage control instructions in advance, wherein the control modes include acceleration direction and/or shaking frequency of the mobile terminal when the mobile terminal shakes; when a browser starts, acquiring control mode data of the gravity sensor in real time; triggering the corresponding webpage control instructions according to the control mode data. Through the method and device, when a user implements browser page control, the user can control webpage forward or back and the like only by shaking the mobile terminal with one handle, so that browser page control can be realized conveniently under the condition that the user cannot operate with both hands conveniently, or corresponding control buttons in a touch screen cannot be touched accurately and easily due to the fact the screen is too small, an the like.

Description

A kind of browser page control method and device
Technical field
The present invention relates to field of mobile terminals, more particularly to a kind of browser page control method and device.
Background technology
With the progress and the quickening of rhythm of life of science and technology, people are by mobile terminal come the dependency degree using various applications Also more and more higher.Wherein, it is one of relatively conventional application of mobile terminal that user carries out web page access by mobile terminal.
During web page access is carried out using mobile terminal, in order to realize the control to browsing pages, prior art In, typically can all adopt in the touch screen of mobile terminal in the way of triggering touch screen, be input into control instruction to realize browsing The control of the device page.
Inventor has found that through research browser control mode of the prior art can cause to use under many circumstances Person is very inconvenient, and such as, when the screen of mobile terminal is larger, user just must could be realized to browsing by the operation of both hands The control of device, so, what user cannot just stand in public transport, subway safety carries out web page access;Or, when the screen of mobile terminal When curtain is less, user, can be as the button of page jump is too small, it is accurately tactile to be not easy in the more webpage of accession page content Touch and cause maloperation.
Based on above reason, it is badly in need of a kind of browser page control method that can be user-friendly at present.
The content of the invention
In view of this, this application provides browser page control method and device, are made with solving user in prior art The inconvenient problem of browser page control.
For achieving the above object, the application provides following technical scheme:
A kind of browser page control method, including:
In advance each control mode by the gravity sensing device of mobile terminal when the mobile terminal is rocked respectively with advance If multiple webpage control instructions correspondence associate;Acceleration direction when the control mode includes that the mobile terminal is rocked And/or the mobile terminal rocks the frequency;
When browser is started, the control mode data of the gravity sensing device are obtained in real time;
According to the corresponding webpage control instruction of the control mode data-triggered.
Preferably, in embodiments of the present invention, the acceleration direction, including:
Acceleration direction when the mobile terminal is rocked to the left, and, the acceleration when mobile terminal is rocked to the right Direction.
Preferably, in embodiments of the present invention, it is described to rock the frequency, including:
That what is individually once rocked clicks control mode, and, the double double-click control mode for rocking.
Preferably, in embodiments of the present invention, the webpage control instruction, including:
Webpage advancement commands, webpage retreat instruction, jump to lower one page instruction and jump to two kinds in page up instruction The combination in any for instructing above.
Preferably, in embodiments of the present invention, also include:
When the webpage control instruction cannot come into force, information is exported.
In the another side of the application, a kind of browser page control device is additionally provided, it is characterised in that include:
Instruction corresponding unit, in advance that the gravity sensing device of mobile terminal is each when the mobile terminal is rocked Control mode is corresponding with default multiple webpage control instructions respectively to be associated;The control mode includes that the mobile terminal is rocked When acceleration direction and/or the mobile terminal rock the frequency;
Gravity sensing monitoring unit, for when browser is started, obtaining the manipulation side of the gravity sensing device in real time Formula data;
Instruction triggers unit, for according to the corresponding webpage control instruction of the control mode data-triggered.
Preferably, in embodiments of the present invention, the acceleration direction, including:
Acceleration direction when the mobile terminal is rocked to the left, and, the acceleration when mobile terminal is rocked to the right Direction.
Preferably, in embodiments of the present invention, it is described to rock the frequency, including:
That what is individually once rocked clicks control mode, and, the double double-click control mode for rocking.
Preferably, in embodiments of the present invention, the webpage control instruction, including:
Webpage advancement commands, webpage retreat instruction, jump to lower one page instruction and jump to two kinds in page up instruction The combination in any for instructing above.
Preferably, in embodiments of the present invention, also include:
Tip element, for when the webpage control instruction cannot come into force, exporting information.
It can be seen from above-mentioned technical scheme that, in this application, each control mode during by mobile terminal being rocked It is associated with multiple webpage control instructions, so after launching the browser, by the manipulation for obtaining gravity sensing device in real time Mode data, it is possible to make user according to specific sloshing mode to trigger the control instruction of various browsers, Jin Ershi respectively The now control to browsing device net page, for by the technical scheme in the application, user when realizing that browser page is controlled, only The control such as advance or retrogressing of webpage is completed by singlehanded rocking mobile terminal, so that user is grasped in inconvenient both hands Make, or, being not easy as screen is too small in exact touch screen can also be easily real when corresponding control knob Existing browser page control.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present application or technical scheme of the prior art, below will be to embodiment or existing Accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments described in application, for those of ordinary skill in the art, on the premise of not paying creative work, Can be with according to these other accompanying drawings of accompanying drawings acquisition.
Fig. 1 is the schematic flow sheet of browser page control method described herein;
Fig. 2 is the another schematic flow sheet of the browser page control method that disappears described herein;
Fig. 3 is the structural representation of browser page control device described herein.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only this Invent a part of embodiment, rather than the embodiment of whole.Based on the embodiment in the present invention, those of ordinary skill in the art exist The every other embodiment obtained under the premise of not making creative work, belongs to the scope of protection of the invention.
It is inconvenient in order to solve the problems, such as the browser page control that user uses in prior art, in this application There is provided a kind of browser page control method, as shown in figure 1, including step:
S11, each control mode difference in advance by the gravity sensing device of mobile terminal when the mobile terminal is rocked It is corresponding with default multiple webpage control instructions to associate;Acceleration side when the control mode includes that the mobile terminal is rocked To and/or the mobile terminal rock the frequency;
In current mobile terminal, gravity sensing device has essentially become the standard configuration of mobile terminal, than Such as, currently marketed most smart mobile phones all have gravity sensing device, can be obtained by gravity sensing device and be worked as The level orientation of front mobile terminal, and perceive the different acceleration corresponding to rocking to different directions due to mobile terminal.
In order that control enhanced convenience of the user in access browser to webpage, inventor's discovery, gravity sensing dress Put and different data can be generated obtaining each control mode when mobile terminal is rocked, and then inventor is by these different manipulations Mode is mapped from different webpage control instructions respectively, so that different control modes corresponds to different webpage controls respectively Instruction.Specifically, acceleration direction when control mode includes that mobile terminal is rocked, such as, can include mobile terminal to Acceleration direction when a left side is rocked, and, acceleration direction when mobile terminal is rocked to the right etc..Additionally, and mouse action mode In single-click operation it is similar with the division of double click operation, can to rock the frequency dividing control mode according to mobile terminal, Such as, continuous the rocking twice of mobile terminal can be defined as double-clicking control mode, the only of single mobile terminal once rocks What is be defined as clicks control mode.By determining as far as possible many control modes, such that it is able to allow user to utilize gravity sensing Device is triggering more webpage control instructions.
In actual applications, the more commonly used webpage control instruction can include webpage advancement commands, webpage retreat instruction, Jump to lower one page instruction and jump to page up instruction etc..In this manner it is possible to by multiple control modes respectively with these webpages Control instruction is corresponded.
S12, the control mode data for when browser is started, obtaining gravity sensing device in real time;
In this application, in order that browser can obtain the data of gravity sensing device, can be in browser Add corresponding authority in AndroidManifest modules, so as to sensor services when browser starts, can be obtained, and Register corresponding gravity sensing audiomonitor.
The control mode data of the gravity sensing device are obtained in real time, can specifically be passed through SensorEventListener modules are monitoring the data of gravity sensing device, and determine corresponding control mode.Such as, may be used To have more the different acceleration that mobile terminal left or right is rocked, the control mode current to judge mobile phone.
S13, according to the corresponding webpage control instruction of control mode data-triggered.
The acceleration of the instruction right rolling of corresponding, mobile terminal is retreated with the speed of the left rolling of mobile terminal and the webpage of browser page As a example by degree is corresponding with the webpage advancement commands of browser page:
When mobile terminal shakes to the left, corresponding control mode data can be generated by gravity sensing device, SensorEventListene obtain control mode data after, according to above-mentioned corresponding relation, by calling in browser The goBack () method of WebView, realizes retreating webpage the triggering of instruction.Similar, when mobile terminal shakes to the right, Triggering to webpage advancement commands is realized.
Further, in this application, step can also be included:
When webpage control instruction cannot come into force, information is exported.
In due to webpage for invalid web page buttons carry out webpage control instruction when, webpage will be unable to realize corresponding Operation, so the control mode such as rock of setting means is carried out to mobile terminal not having in order to avoid user can be mistakenly considered at this moment Have and come into force, and constantly implement invalid control mode, so, in this application, can also pass through to export the side of information Formula is reminding user.
In actual applications, the flow process of browser page control method can be with as shown in Fig. 2 due to shown in Fig. 2 The operation principle of each step is recorded in the embodiment corresponding to Fig. 1, and here is just repeated no more.
Each control mode when in sum, in this application, by mobile terminal is rocked is referred to the control of multiple webpages Order is associated, so after launching the browser, by the control mode data for obtaining gravity sensing device in real time, so that it may so that User triggers the control instruction of various browsers respectively according to specific sloshing mode, and then realizes the control to browsing device net page System, for by the technical scheme in the application, user when realizing that browser page is controlled, as long as one hand rocks mobile terminal The control such as advance or retrogressing of webpage can be completed so that user is in inconvenient bimanualness, or, due to screen it is too small It is not easy easily realize browser page control when corresponding control knob in exact touch screen.
In the another side of the application, a kind of browser page control device is additionally provided, as shown in figure 3, including:
Instruction corresponding unit 01, in advance will be the gravity sensing device 11 of mobile terminal each when mobile terminal is rocked Control mode is corresponding with default multiple webpage control instructions respectively to be associated;Speed when control mode includes that mobile terminal is rocked Direction and/or mobile terminal rock the frequency;Gravity sensing monitoring unit 02, for when browser is started, obtaining weight in real time The control mode data of power induction installation 11;Instruction triggers unit 03, for according to the corresponding webpage of control mode data-triggered Control instruction.
Further, in this application, setting side is carried out to mobile terminal in order to avoid user can be mistakenly considered at this moment The control mode such as rock of formula does not come into force, and constantly implements invalid control mode, so, in this application, can be with Tip element is included, such that it is able to when webpage control instruction cannot come into force, export information, to remind user.
Due to the operation principle and the beneficial effect that reaches of the browser page control device in the application it is right with Fig. 1 institutes The browser page control method answered implements identical, so here is just repeated no more.
In the same manner, in this application, each control mode when browser page control device is by mobile terminal is rocked with Multiple webpage control instructions are associated, so after launching the browser, by the manipulation side for obtaining gravity sensing device in real time Formula data, it is possible to make user according to specific sloshing mode to trigger the control instruction of various browsers respectively, and then realize Control to browsing device net page, for by the technical scheme in the application, user when realizing that browser page is controlled, as long as One hand completes the control such as advance or retrogressing of webpage by rocking mobile terminal, so that user is in inconvenient bimanualness, Or, it is not easy in exact touch screen easily can also to realize when corresponding control knob as screen is too small clear The device page of looking at is controlled.
In this specification, each embodiment is described by the way of progressive, and what each embodiment was stressed is and other The difference of embodiment, between each embodiment identical similar portion mutually referring to.For the device that embodiment is provided For, corresponding with the method that embodiment is provided due to which, so description is fairly simple, related part is said referring to method part It is bright.
The described above of the embodiment to being provided, enables professional and technical personnel in the field to realize or using the present invention. Various modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized without departing from the spirit or scope of the present invention in other embodiments.Therefore, the present invention The embodiments shown herein is not intended to be limited to, and is to fit to and principle provided in this article and features of novelty phase one The most wide scope for causing.

Claims (8)

1. a kind of browser page control method, it is characterised in that include:
In advance each control mode by the gravity sensing device of mobile terminal when the mobile terminal is rocked respectively with it is default Multiple webpage control instruction correspondences are associated;Acceleration direction when the control mode includes that the mobile terminal is rocked and described Mobile terminal rocks the frequency, or the mobile terminal rocks the frequency;
When browser is started, the control mode data of the gravity sensing device are obtained in real time;
According to the corresponding webpage control instruction of the control mode data-triggered;
It is described to rock the frequency, including:
That what is individually once rocked clicks control mode, and, the double double-click control mode for rocking.
2. browser page control method according to claim 1, it is characterised in that the acceleration direction, including:
Acceleration direction when the mobile terminal is rocked to the left, and, the acceleration direction when mobile terminal is rocked to the right.
3. browser page control method according to claim 1, it is characterised in that the webpage control instruction, including:
Webpage advancement commands, webpage retreat instruction, jump to lower one page instruction and jump to two or more in page up instruction The combination in any of instruction.
4. browser page control method according to claim 1, it is characterised in that also include:
When the webpage control instruction cannot come into force, information is exported.
5. a kind of browser page control device, it is characterised in that include:
Instruction corresponding unit, for each manipulation in advance by the gravity sensing device of mobile terminal when the mobile terminal is rocked Mode is corresponding with default multiple webpage control instructions respectively to be associated;When the control mode includes that the mobile terminal is rocked Acceleration direction and the mobile terminal rock the frequency, or the mobile terminal rocks the frequency;Gravity sensing monitoring unit, For when browser is started, obtaining the control mode data of the gravity sensing device in real time;
Instruction triggers unit, for according to the corresponding webpage control instruction of the control mode data-triggered;
It is described to rock the frequency, including:
That what is individually once rocked clicks control mode, and, the double double-click control mode for rocking.
6. browser page control device according to claim 5, it is characterised in that the acceleration direction, including:
Acceleration direction when the mobile terminal is rocked to the left, and, the acceleration direction when mobile terminal is rocked to the right.
7. browser page control device according to claim 5, it is characterised in that the webpage control instruction, including:
Webpage advancement commands, webpage retreat instruction, jump to lower one page instruction and jump to two or more in page up instruction The combination in any of instruction.
8. browser page control device according to claim 5, it is characterised in that also include:
Tip element, for when the webpage control instruction cannot come into force, exporting information.
CN201410291412.5A 2014-06-25 2014-06-25 Browser page control method and device Active CN104035564B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410291412.5A CN104035564B (en) 2014-06-25 2014-06-25 Browser page control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410291412.5A CN104035564B (en) 2014-06-25 2014-06-25 Browser page control method and device

Publications (2)

Publication Number Publication Date
CN104035564A CN104035564A (en) 2014-09-10
CN104035564B true CN104035564B (en) 2017-05-03

Family

ID=51466364

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410291412.5A Active CN104035564B (en) 2014-06-25 2014-06-25 Browser page control method and device

Country Status (1)

Country Link
CN (1) CN104035564B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105759946B (en) * 2014-12-17 2018-11-16 阿里巴巴集团控股有限公司 The exchange method and device of mobile terminal
CN108939539A (en) * 2018-06-27 2018-12-07 北京优屏科技服务有限公司 Storage medium, game control method, terminal and system
CN109782993A (en) * 2019-01-04 2019-05-21 上海上湖信息技术有限公司 A kind of page presentation control method and device
CN111510552A (en) * 2019-01-31 2020-08-07 北京小米移动软件有限公司 Terminal operation method and device
CN110955378A (en) * 2019-11-28 2020-04-03 维沃移动通信有限公司 Control method and electronic equipment
CN111193831A (en) * 2019-12-27 2020-05-22 平安国际智慧城市科技股份有限公司 Mobile phone APP page refreshing method and device and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102566886A (en) * 2011-09-30 2012-07-11 北京飞漫软件技术有限公司 Method of switching intelligent terminal screen content through gravity sensing
CN102779009A (en) * 2012-06-29 2012-11-14 华为终端有限公司 Method and terminal for displaying application program interface
CN103353823A (en) * 2013-06-25 2013-10-16 上海鼎为通讯电子有限公司 Mobile terminal and scrolling method thereof
CN103685712A (en) * 2012-09-25 2014-03-26 腾讯科技(深圳)有限公司 A method for refreshing a browser page of a mobile terminal and a mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012038271A (en) * 2010-08-11 2012-02-23 Kyocera Corp Electronic apparatus and method for controlling the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102566886A (en) * 2011-09-30 2012-07-11 北京飞漫软件技术有限公司 Method of switching intelligent terminal screen content through gravity sensing
CN102779009A (en) * 2012-06-29 2012-11-14 华为终端有限公司 Method and terminal for displaying application program interface
CN103685712A (en) * 2012-09-25 2014-03-26 腾讯科技(深圳)有限公司 A method for refreshing a browser page of a mobile terminal and a mobile terminal
CN103353823A (en) * 2013-06-25 2013-10-16 上海鼎为通讯电子有限公司 Mobile terminal and scrolling method thereof

Also Published As

Publication number Publication date
CN104035564A (en) 2014-09-10

Similar Documents

Publication Publication Date Title
CN104035564B (en) Browser page control method and device
CN103118166B (en) Method of realizing single hand operation of mobile phone based on pressure sensing
CN203930584U (en) A kind of mobile terminal
CN103516004B (en) A kind of information processing method and device
US9424812B2 (en) Method and electronic apparatus for achieving translation of a screen display interface
CN102855056B (en) terminal and terminal control method
CN204376974U (en) A kind of Intelligent flat mobile phone with auxiliary touch screen
CN104077003B (en) A kind of method and device for merging mobile phone return key, home keys and Menu key
CN102436308A (en) Materialized mapping method of touch screen virtual key and touch screen game mobile phone using same
CN107402667A (en) Electronic equipment comprising display
CN104516658B (en) A kind of method of one-handed performance screen of hand-held device
CN103809866B (en) A kind of operation mode switching method and electronic equipment
CN103458122B (en) One is gesture screen capture method and apparatus quickly and easily
CN103197885A (en) Method for controlling mobile terminal and mobile terminal thereof
CN204406366U (en) There is the portable electron device of touch controlled key
CN110493018A (en) A kind of group chat creation method and device
CN109558061A (en) A kind of method of controlling operation thereof and terminal
CN104298400B (en) Intelligent ring and its method of controlling operation thereof
CN202918346U (en) Touch screen mobile phone with rear touchpad
CN201859420U (en) Sideslip double-screen touch display
CN107870705A (en) A kind of change method and device of the picture mark position of application menu
CN204360364U (en) A kind of touch-control frame and there is the device of touch-control frame
CN108427524A (en) Mobile terminal
CN203773527U (en) Handheld touch device
WO2015100892A1 (en) A touch control method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20180425

Address after: 401120 data of Xiantao street, Yubei District, Chongqing 19

Patentee after: Zhongke Chuang Da (Chongqing) Automotive Technology Co., Ltd.

Address before: 100191 Beijing Haidian District Longxiang Road 1, Tai Xiang business building 4 floor 401-409

Patentee before: Thunder Software Technology Co., Ltd.

TR01 Transfer of patent right