CN102043560B - Method and device for realizing electronic document page turning - Google Patents

Method and device for realizing electronic document page turning Download PDF

Info

Publication number
CN102043560B
CN102043560B CN200910110226.6A CN200910110226A CN102043560B CN 102043560 B CN102043560 B CN 102043560B CN 200910110226 A CN200910110226 A CN 200910110226A CN 102043560 B CN102043560 B CN 102043560B
Authority
CN
China
Prior art keywords
page turning
page
turning order
mouse gestures
order
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
CN200910110226.6A
Other languages
Chinese (zh)
Other versions
CN102043560A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN200910110226.6A priority Critical patent/CN102043560B/en
Publication of CN102043560A publication Critical patent/CN102043560A/en
Application granted granted Critical
Publication of CN102043560B publication Critical patent/CN102043560B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method for realizing electronic document page turning, comprising the following steps of: identifying a mouse gesture; searching a page turning command corresponding to the mouse gesture in a predefined library; and calling the page turning command to perform page turning operation for an electronic document. Correspondingly, the invention also discloses a device for realizing electronic document page turning. By the invention, page turning of the electronic document can be realized through predefining mouse gestures and page turning commands.

Description

A kind of method and device realizing electric document page-turning
Technical field
The present invention relates to computer realm, specifically, relate to a kind of method and the device that realize electric document page-turning.
Background technology
Along with the fast development of computer technology, and network technology is with rapid changepl. never-ending changes and improvements, and the quantity of computer user also becomes than rising, and wherein, " electronic document ", in the Working Life of computer user, plays particularly important role.Usually, computer user use browser carry out the reading of " electronic document " time, such as, when browsing the article on webpage, because article possibility content is longer, or publish in instalments, need to show on some continuous print pages, now user needs to be browsed by mouse.
In existing scheme, realize electronic document and browse and mainly carry out page turning by button click, usually, the page of every one page has two buttons, and user clicks one of them button, can translate into lower one page and read, click another one button, then can turn over to prevpage and read., although the problem solving the page turning of electronic document, also there are some defects in above-mentioned solution simultaneously, such as, the button on a lot of page is smaller, and may there is advertisement around button, button click is more difficult, even mistakenly hit may open advertisement page; For another example, button, generally at beginning or the end position of page article, if user wants page turning in the process of reading articles, first will navigate to beginning or the end position of this page of article, this cumbersome and inconvenient.To sum up state, the technical scheme of the page turning of existing electronic document, there is button and click difficulty, navigate to button position troublesome poeration, use the defects such as inconvenient.
Summary of the invention
Problem to be solved by this invention is, provides a kind of method and the device that realize electric document page-turning, by predefine mouse gestures and page turning order, can fast, intelligence, realize the page turning of electronic document easily.
In order to solve the problem, embodiments provide a kind of method realizing electric document page-turning, the method comprises:
Identify mouse gestures;
The page turning order corresponding with described mouse gestures is searched in predefine storehouse;
Call described page turning order, page turn over operation is carried out to electronic document.
Correspondingly, the embodiment of the present invention additionally provides a kind of device realizing electric document page-turning, and this device comprises:
Recognition unit, for identifying mouse gestures;
Search unit, for searching the page turning order corresponding with the described mouse gestures of described recognition unit identification in predefine storehouse, described page turning order comprises page turning order and lower page turning order;
Call unit, for searching the described page turning order that unit finds described in calling, carries out page turn over operation to electronic document.
The embodiment of the present invention is by the mouse gestures of predefine electric document page-turning, the page turning order of calling corresponding to mouse gestures carries out page turn over operation to document, mouse picking is not needed to click to button position, it also avoid the mistakenly hit operation of advertisement page, quick, intelligent, to realize electronic document easily page turning simultaneously.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of process flow diagram realizing the method for electric document page-turning of the embodiment of the present invention;
Fig. 2 is a kind of structural representation realizing the device of electric document page-turning of the embodiment of the present invention.
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 only 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.
With reference to Fig. 1, it is a kind of process flow diagram realizing the method for electric document page-turning of the embodiment of the present invention; As shown in Figure 1, described method comprises:
Step S101, identifies mouse gestures; In specific implementation, described mouse gestures comprises multiple, such as: pin right mouse button, drags a segment distance to the right; Or pin left mouse button, drag a segment distance left; Or pin right mouse button, drag a segment distance up or down; Or pin left mouse button, drag a segment distance up or down; Or pin right mouse button, drag a segment distance to upper right or bottom right; Or pin left mouse button, drag segment distance etc. to upper left or lower-left hand, the recognition methods due to mouse gestures has been existing disclosed technology, does not repeat them here.
In specific implementation, before described step S101, also comprise: prestore described predefine storehouse.As described in front step S101, described mouse gestures can have multiple, before this step S101, can pre-define described mouse gestures and the page turning order corresponding to each gesture, and by the content of described definition stored in predefine storehouse, described predefine storehouse is prestored.Particularly, described predefine storehouse comprises: predefined mouse gestures, and the page turning order corresponding with described mouse gestures.
In specific implementation, the corresponding relation of described mouse gestures and described page turning order is: multiple mouse gestures, corresponding with a page turning order; Or a kind of mouse gestures, a unique corresponding page turning order.Described page turning order comprises: upper page turning order and lower page turning order.
Such as: pin right mouse button, a segment distance is dragged to the right; Pin right mouse button, drag a segment distance up or down; Pin right mouse button, drag a segment distance to upper right or bottom right; Any one or multiple equal predefine in above-mentioned three kinds of mouse gestures correspond to lower page turning order, namely when step S101 identifies any one mouse gestures in above-mentioned three kinds of mouse gestures, namely can determine a unique page turning order, namely descend page turning order.For another example: pin left mouse button, a segment distance is dragged left; Pin left mouse button, drag a segment distance up or down; Pin left mouse button, drag a segment distance to upper left or lower-left hand; Any one or multiple equal predefine in above-mentioned three kinds of mouse gestures correspond to upper page turning order, namely when step S101 identifies any one mouse gestures in above-mentioned three kinds of mouse gestures, namely can determine a unique page turning order, namely go up page turning order.
Be understandable that, above-mentioned various predefines are only citing, can carry out similar setting, as changed the corresponding relation etc. of often kind of mouse gestures and page turning order, do not repeat at this in other application scenario.
Step S102, searches the page turning order corresponding with described mouse gestures in predefine storehouse;
Step S103, calls described page turning order, carries out page turn over operation to electronic document.Particularly, step S103 comprises:
According to described page turning order, all hypertext link controls (HyperText Mark-up Language Frame, Html Frame) of browser traversal current page, and find the button corresponding with described page turning order;
Call the click method of described button, page turn over operation is carried out to electronic document.
In specific implementation, if step S102 is lower page turning order according to the page turning order that described mouse gestures finds, now, in step S103, all hypertext link controls (HyperText Mark-up Language Frame of browser traversal current page, Html Frame), search the button on the page, if there is the text of a button to be " lower one page " or " nextpage " or " next screen " or " next chapter " or " next " or " > > " or " [lower one page] " or " [nextpage] " or " [next chapter] " or [next] " or " [> >] " etc., so call the click method of this button, button can automatic photograph user be clicked the same, lower page turn over operation is carried out to electronic document, described electronic document is made to translate into lower one page.
Equally, if step S102 is upper page turning order according to the page turning order that described mouse gestures finds, now, in step S103, all Html Frame of browser traversal current page, search the button on the page, if have the text of a button for " page up " or " upper page " or " a upper screen " or " a upper chapter " or " prev " or " < < " or " [page up] " or " [upper page] " or " [a upper chapter] " or [prev] " or " [< <] " etc., so call the click method of this button, button can automatic photograph user be clicked the same, upper page turn over operation is carried out to electronic document, described electronic document is made to translate into page up.Page turning method clicked by button is particularly existing technology, does not repeat them here.
The embodiment of the present invention is by the mouse gestures of predefine electric document page-turning, the page turning order of calling corresponding to mouse gestures carries out page turn over operation to document, do not need mouse picking to click to button position, meanwhile, can fast, intelligence, realize the page turning of electronic document easily.
With reference to Fig. 2, it is a kind of structural representation realizing the device of electric document page-turning of the embodiment of the present invention; The embodiment of the device described in Fig. 2 can be the executive agent of each step of the method described in Fig. 1, and particularly, as shown in Figure 2, described device comprises: recognition unit 10, search unit 20 and call unit 30.
Described recognition unit 10, for identifying mouse gestures; Described recognition unit 10 can be the executive agent of the step S101 in embodiment of the method shown in Fig. 1.In specific implementation, described mouse gestures comprises multiple, such as: pin right mouse button, drags a segment distance to the right; Or pin left mouse button, drag a segment distance left; Or pin right mouse button, drag a segment distance up or down; Or pin left mouse button, drag a segment distance up or down; Or pin right mouse button, drag a segment distance to upper right or bottom right; Or pin left mouse button, drag segment distance etc. to upper left or lower-left hand, the recognition methods due to mouse gestures has been existing disclosed technology, does not repeat them here.
In specific implementation, further as shown in Figure 2, described device also comprises: storage unit 40.
For before recognition unit identification mouse gestures, prestore described predefine storehouse and prestore described predefine storehouse.As previously mentioned, described mouse gestures can have multiple, can pre-define described mouse gestures and the page turning order corresponding to each gesture, and by the content of described definition stored in predefine storehouse, is pre-stored within described storage unit 40 in described predefine storehouse.Particularly, described predefine storehouse comprises: predefined mouse gestures, and the page turning order corresponding with described mouse gestures.
In specific implementation, the corresponding relation of described mouse gestures and described page turning order is: multiple mouse gestures, corresponding with a page turning order; Or a kind of mouse gestures, a unique corresponding page turning order.Described page turning order comprises: upper page turning order and lower page turning order.
Such as: pin right mouse button, a segment distance is dragged to the right; Pin right mouse button, drag a segment distance up or down; Pin right mouse button, drag a segment distance to upper right or bottom right; Any one or multiple equal predefine in above-mentioned three kinds of mouse gestures correspond to lower page turning order, namely when described recognition unit 10 identifies any one mouse gestures in above-mentioned three kinds of mouse gestures, namely can determine a unique page turning order, namely descend page turning order.For another example: pin left mouse button, a segment distance is dragged left; Pin left mouse button, drag a segment distance up or down; Pin left mouse button, drag a segment distance to upper left or lower-left hand; Any one or multiple equal predefine in above-mentioned three kinds of mouse gestures correspond to upper page turning order, namely when described recognition unit 10 identifies any one mouse gestures in above-mentioned three kinds of mouse gestures, namely can determine a unique page turning order, namely go up page turning order.
Be understandable that, above-mentioned various predefines are only citing, can carry out similar setting, as changed the corresponding relation etc. of often kind of mouse gestures and page turning order, do not repeat at this in other application scenario.
Describedly search unit 20, for the page turning order that the described mouse gestures searched in predefine storehouse with described recognition unit 10 identifies is corresponding, described page turning order comprises page turning order and lower page turning order; Described unit 20 of searching can be the executive agent of the step S102 in embodiment of the method shown in Fig. 1.
Described call unit 30, for searching the described page turning order that unit 20 finds described in calling, carries out page turn over operation to electronic document.
Described call unit 30 can be the executive agent of the step S103 in embodiment of the method shown in Fig. 1.
Further as shown in Figure 2, described call unit 30 comprises: Traversal Unit 301 and call operation unit 302.
Described Traversal Unit 301, for searching the described page turning order that unit 20 finds described in basis, all hypertext link controls of browser traversal current page, and find the button corresponding with described page turning order;
Described call operation unit 302, for calling the click method of the described button that described Traversal Unit 301 finds, carries out page turn over operation to electronic document.
In specific implementation, if described in search unit 20 according to the page turning order that described mouse gestures finds be lower page turning order, now, described Traversal Unit 301 is according to the described described page turning order of searching unit 20 and finding, all hypertext link controls (Hyper Text Mark-upLanguage Frame of browser traversal current page, Html Frame), search the button on the page, if there is the text of a button to be " lower one page " or " nextpage " or " next screen " or " next chapter " or " next " or " > > " or " [lower one page] " or " [nextpage] " or " [next chapter] " or [next] " or " [> >] " etc., so described call operation unit 302 calls the click method of this button, button can automatic photograph user be clicked the same, lower page turn over operation is carried out to electronic document, described electronic document is made to translate into lower one page.
Equally, if described in search unit 20 according to the page turning order that described mouse gestures finds be upper page turning order, now, described Traversal Unit 301 is according to the described described page turning order of searching unit 20 and finding, all Html Frame of browser traversal current page, search the button on the page, if have the text of a button for " page up " or " upper page " or " a upper screen " or " a upper chapter " or " prev " or " < < " or " [page up] " or " [upper page] " or " [a upper chapter] " or [prev] " or " [< <] " etc., so described call operation unit 302 calls the click method of this button, button can automatic photograph user be clicked the same, upper page turn over operation is carried out to electronic document, described electronic document is made to translate into page up.Page turning method clicked by button is particularly existing technology, does not repeat them here.
The embodiment of the present invention is by the mouse gestures of predefine electric document page-turning, the page turning order of calling corresponding to mouse gestures carries out page turn over operation to document, mouse picking is not needed to click to button position, it also avoid the mistakenly hit operation of advertisement page, quick, intelligent, to realize electronic document easily page turning simultaneously.
Above disclosedly be only a kind of preferred embodiment of the present invention, certainly the interest field of the present invention can not be limited with this, one of ordinary skill in the art will appreciate that all or part of flow process realizing above-described embodiment, and according to the equivalent variations that the claims in the present invention are done, still belong to the scope that invention is contained.

Claims (4)

1. realize a method for electric document page-turning, it is characterized in that, comprising:
Identify mouse gestures;
The page turning order corresponding with described mouse gestures is searched in predefine storehouse;
Call described page turning order, page turn over operation is carried out to electronic document;
Describedly call described page turning order, page turn over operation carried out to electronic document, comprising:
According to described page turning order, all hypertext link controls of browser traversal current page, and find the button corresponding with described page turning order;
Call the click method of described button, page turn over operation is carried out to electronic document;
Before described identification mouse gestures, also comprise:
Prestore described predefine storehouse;
Described predefine storehouse comprises:
Predefined mouse gestures, and the page turning order corresponding with described mouse gestures, and the content of definition;
Described page turning order comprises:
Upper page turning order and lower page turning order.
2. the method for claim 1, is characterized in that, the corresponding relation of described mouse gestures and described page turning order is:
Multiple mouse gestures, corresponding with a page turning order; Or
A kind of mouse gestures, a unique corresponding page turning order.
3. realize a device for electric document page-turning, it is characterized in that, comprising:
Recognition unit, for identifying mouse gestures;
Search unit, for searching the page turning order corresponding with the described mouse gestures of described recognition unit identification in predefine storehouse, described page turning order comprises page turning order and lower page turning order;
Call unit, for searching the described page turning order that unit finds described in calling, carries out page turn over operation to electronic document;
Described call unit comprises:
Traversal Unit, for searching the described page turning order that unit finds described in basis, all hypertext link controls of browser traversal current page, and find the button corresponding with described page turning order;
Call operation unit, for calling the click method of the described button that described Traversal Unit finds, carries out page turn over operation to electronic document;
Described device also comprises:
Storage unit, for before recognition unit identification mouse gestures, prestore described predefine storehouse, described predefine storehouse comprises predefined mouse gestures, and the page turning order corresponding with described mouse gestures, and the content of definition;
Described page turning order comprises:
Upper page turning order and lower page turning order.
4. device as claimed in claim 3, it is characterized in that, the corresponding relation of described mouse gestures and described page turning order is:
Multiple mouse gestures, corresponding with a page turning order; Or
A kind of mouse gestures, a unique corresponding page turning order.
CN200910110226.6A 2009-10-20 2009-10-20 Method and device for realizing electronic document page turning Active CN102043560B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910110226.6A CN102043560B (en) 2009-10-20 2009-10-20 Method and device for realizing electronic document page turning

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910110226.6A CN102043560B (en) 2009-10-20 2009-10-20 Method and device for realizing electronic document page turning

Publications (2)

Publication Number Publication Date
CN102043560A CN102043560A (en) 2011-05-04
CN102043560B true CN102043560B (en) 2015-04-01

Family

ID=43909728

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910110226.6A Active CN102043560B (en) 2009-10-20 2009-10-20 Method and device for realizing electronic document page turning

Country Status (1)

Country Link
CN (1) CN102043560B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105808250A (en) * 2011-09-28 2016-07-27 北京奇虎科技有限公司 Method and apparatus for starting extended application of browser, and browser
CN102520855A (en) * 2011-12-03 2012-06-27 鸿富锦精密工业(深圳)有限公司 Electronic equipment with touch screen and page turning method for electronic equipment
CN103294674B (en) * 2012-02-23 2017-02-15 宇龙计算机通信科技(深圳)有限公司 Method for adjusting browsing position of page and communication terminal
CN105786944B (en) * 2015-12-08 2020-03-17 小米科技有限责任公司 Method and device for processing automatic page turning of browser
CN107451143B (en) * 2016-05-31 2021-06-29 北京京东尚科信息技术有限公司 Reading method and reading system of electronic document
CN106951258A (en) * 2017-03-27 2017-07-14 维沃移动通信有限公司 The operating method and mobile terminal of a kind of mobile terminal
CN107734144A (en) * 2017-09-19 2018-02-23 捷开通讯(深圳)有限公司 Intelligent terminal and its automatic page turning method, the device with store function

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1475962A (en) * 2002-08-12 2004-02-18 ���ǵ�����ʽ���� Device and method used for personal infomation terminal leafing
CN101256466A (en) * 2008-02-29 2008-09-03 鹏智科技(深圳)有限公司 Electronic device and method capable of embodiment of electric document page-turning effect
CN101377738A (en) * 2007-08-27 2009-03-04 汉王科技股份有限公司 Method for implementing page turning of electric document

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1475962A (en) * 2002-08-12 2004-02-18 ���ǵ�����ʽ���� Device and method used for personal infomation terminal leafing
CN101377738A (en) * 2007-08-27 2009-03-04 汉王科技股份有限公司 Method for implementing page turning of electric document
CN101256466A (en) * 2008-02-29 2008-09-03 鹏智科技(深圳)有限公司 Electronic device and method capable of embodiment of electric document page-turning effect

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
妙用StrokeIt软件打造无处不在的鼠标手势;鲍玉;《计算机与网络》;20071231(第17期);19 *

Also Published As

Publication number Publication date
CN102043560A (en) 2011-05-04

Similar Documents

Publication Publication Date Title
CN102043560B (en) Method and device for realizing electronic document page turning
TWI483174B (en) Method for grouping and managing web pages
CN102831155B (en) A kind of micro image display packing of web page tag and device
US10296175B2 (en) Visual presentation of multiple internet pages
CN105808594B (en) Method, device and equipment for displaying navigation page of browser
CN103324390B (en) Interaction method for page browsing, browser device and mobile terminal
CN103605450A (en) Application icon display method and intelligent terminal
CN101419624A (en) Mobile information device and method for browsing web page
CN104636434A (en) Search result processing method and device
CN105404647A (en) Page content positioning method and apparatus
CN101588403A (en) Method for browsing web pages on screen of Internet-enabled mobile phone through finger movements
WO2014032589A1 (en) Window switching method and apparatus
CN106445972B (en) Page display method and device
EP2901404A1 (en) Automatically creating tables of content for web pages
CN108108377A (en) Browser page jump method, device and terminal device
CN102929846A (en) Method and device for processing long text
CN101526949A (en) Operating method of desktop selected column after selecting text string by dragging and dropping left key of mouse
CN102664925A (en) Method and apparatus for displaying searching result
CN105224175A (en) The method of content and electronic equipment on a kind of marking of web pages
CN103002144A (en) Page-turning operating method in dedicated page-turning area of mobile phone program window through dragging and dropping fingers
US20150213148A1 (en) Systems and methods for browsing
CN103902736A (en) System and method for finger click word-capturing search of words displayed on mobile information equipment screen
CN103870191A (en) Method and electronic equipment for saving webpage
CN103793512A (en) System and method for browsing webpage through single-window linkage webpage browser
CN103020277A (en) Method and device for suggesting search term

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant