CN102043560A - 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
CN102043560A
CN102043560A CN2009101102266A CN200910110226A CN102043560A CN 102043560 A CN102043560 A CN 102043560A CN 2009101102266 A CN2009101102266 A CN 2009101102266A CN 200910110226 A CN200910110226 A CN 200910110226A CN 102043560 A CN102043560 A CN 102043560A
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.)
Granted
Application number
CN2009101102266A
Other languages
Chinese (zh)
Other versions
CN102043560B (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

Images

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 of realizing electric document page-turning
Technical field
The present invention relates to computer realm, specifically, relate to a kind of method and device of realizing electric document page-turning.
Background technology
Along with rapid development of computer technology, and the making rapid progress of network technology, computing machine user's quantity also becomes than rising, and wherein, " electronic document " played the part of particularly important role in computing machine user's work life.Usually, when the computer user carries out the reading of " electronic document " at the use browser, such as, during article on the browsing page,, or publish in instalments because article is may content longer, need show on some continuous pages that this moment, the user need browse by mouse.
In the existing scheme, realize that it mainly is to carry out page turning by button click that electronic document is browsed, usually, the page of each page has two buttons, and the user clicks one of them button, can translate into down one page and read, click the another one button, then can turn over to prevpage and read.Though solved the problem of the page turning of electronic document, also there are some defectives simultaneously in above-mentioned solution, such as, the button on a lot of pages is smaller, and may have advertisement around the button, button click is difficulty relatively, even may impact out the advertisement page by mistake; For another example, button generally at the beginning or the end position of page article, if the user wants page turning in the process of reading article, will navigate to the beginning or the end position of this page article earlier, this process trouble and inconvenience.To sum up state, the technical scheme of the page turning of existing electronic document exists button to click difficulty, navigates to button position troublesome poeration, uses defectives such as inconvenience.
Summary of the invention
Problem to be solved by this invention is, a kind of method and device of realizing electric document page-turning is provided, by predefine mouse gestures and page turning order, and can be fast, intelligence, realize the page turning of electronic document easily.
In order to address the above problem, the embodiment of the invention provides a kind of method that realizes electric document page-turning, and this method comprises:
The identification mouse gestures;
In the predefine storehouse, search and the corresponding page turning order of described mouse gestures;
Call described page turning order, electronic document is carried out page turn over operation.
Correspondingly, the embodiment of the invention also provides a kind of device of realizing electric document page-turning, and this device comprises:
Recognition unit is used to discern mouse gestures;
Search the unit, be used for searching the corresponding page turning order of discerning with described recognition unit of described mouse gestures in the predefine storehouse, described page turning order comprises page turning order and following page turning order;
Call unit is used to call the described described page turning order that the unit finds of searching, and electronic document is carried out page turn over operation.
The embodiment of the invention is by the mouse gestures of predefine electric document page-turning, call the pairing page turning order of mouse gestures document is carried out page turn over operation, not needing that mouse is navigated to button position clicks, simultaneously also avoided the mistake of the advertisement page to hit operation, fast, intelligence, realize the page turning of electronic document easily.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is a kind of process flow diagram of realizing the method for electric document page-turning of the embodiment of the invention;
Fig. 2 is a kind of structural representation of realizing the device of electric document page-turning of the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
With reference to Fig. 1, be a kind of process flow diagram of realizing the method for electric document page-turning of the embodiment of the invention; As shown in Figure 1, described method comprises:
Step S101, the identification mouse gestures; In the specific implementation, described mouse gestures comprises multiple, such as: pin right mouse button, drag 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, and drag segment distance or the like to upper left or lower-left hand, because the recognition methods of mouse gestures has been existing disclosed technology, do not repeat them here.
In the specific implementation, before the described step S101, also comprise: store described predefine storehouse in advance.Described in preceding step S101, described mouse gestures can have multiple, before this step S101, and can pre-defined described mouse gestures and the pairing page turning order of each gesture, and the content of described definition deposited in the predefine storehouse, described predefine storehouse is stored in advance.Particularly, described predefine storehouse comprises: predefined mouse gestures, and with the corresponding page turning order of described mouse gestures.
In the specific implementation, the corresponding relation of described mouse gestures and described page turning order is: multiple mouse gestures, and corresponding with a page turning order; Or a kind of mouse gestures, a unique corresponding page turning order.Described page turning order comprises: go up page turning order and following page turning order.
Such as: pin right mouse button, drag a segment distance 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; In above-mentioned three kinds of mouse gestures any one or multiple equal predefine is corresponding to down page turning order, promptly identifies any mouse gestures in above-mentioned three kinds of mouse gestures as step S101, promptly can determine a unique page turning order, promptly descends the page turning order.For another example: pin left mouse button, drag a segment distance 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; In above-mentioned three kinds of mouse gestures any one or multiple equal predefine is corresponding to last page turning order, promptly identifies any mouse gestures in above-mentioned three kinds of mouse gestures as step S101, promptly can determine a unique page turning order, promptly goes up the page turning order.
Be understandable that above-mentioned various predefines only for for example, can similarly be set in other application scenario,, do not give unnecessary details at this as the corresponding relation that can change every kind of mouse gestures and page turning order etc.
Step S102 searches in the predefine storehouse and the corresponding page turning order of described mouse gestures;
Step S103 calls described page turning order, and electronic document is carried out page turn over operation.Particularly, step S103 comprises:
According to described page turning order, all hypertext link controls (Hyper Text Mark-up Language Frame, Html Frame) of browser traversal current page, and find and described page turning order corresponding buttons;
Call the click method of described button, electronic document is carried out page turn over operation.
In the specific implementation, if the page turning order that step S102 finds according to described mouse gestures is page turning order down, at this moment, among the step S103, all hypertext link controls (Hyper Text Mark-up Language Frame of browser traversal current page, Html Frame), search the button on the page, if the text that a button arranged is " following one page " or " nextpage " or " next screen " or " next chapter " or " next " or ">>" or " [following one page] " or " [nextpage] " or " [next chapter] " or [next] " or " [>>] " etc.; call the click method of this button so; button can be clicked as the user automatically; electronic document is descended page turn over operation, make described electronic document translate into down one page.
Equally, if the page turning order that step S102 finds according to described mouse gestures is last page turning order, at this moment, among the step S103, all Html Frame of browser traversal current page, search the button on the page, if the text that a button arranged is " page up " or " going up page or leaf " or " a last screen " or " a last chapter " or " prev " or "<<" or " [page up] " or " [upward page] " or " [a last chapter] " or [prev] " or " [<<] " etc.; call the click method of this button so; button can be clicked as the user automatically; electronic document is gone up page turn over operation, make described electronic document translate into page up.Button click page turning method is existing technology particularly, does not repeat them here.
The embodiment of the invention is by the mouse gestures of predefine electric document page-turning, call the pairing page turning order of mouse gestures document is carried out page turn over operation, do not need that mouse is navigated to button position and click, simultaneously, can realize the page turning of electronic document quick, intelligent, easily.
With reference to Fig. 2, be a kind of structural representation of realizing the device of electric document page-turning of the embodiment of the invention; The embodiment of the described device of Fig. 2 can be the executive agent of each step of the described method of 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 is used to discern mouse gestures; Described recognition unit 10 can be the executive agent of the step S101 among the method embodiment shown in Figure 1.In the specific implementation, described mouse gestures comprises multiple, such as: pin right mouse button, drag 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, and drag segment distance or the like to upper left or lower-left hand, because the recognition methods of mouse gestures has been existing disclosed technology, do not repeat them here.
In the specific implementation, further as shown in Figure 2, described device also comprises: storage unit 40.
Be used for before recognition unit identification mouse gestures, storing described predefine storehouse in advance and storing described predefine storehouse in advance.As previously mentioned, described mouse gestures can have multiple, can pre-defined described mouse gestures and the pairing page turning order of each gesture, and the content of described definition deposited in the predefine storehouse, described predefine storehouse is stored in the described storage unit 40 in advance.Particularly, described predefine storehouse comprises: predefined mouse gestures, and with the corresponding page turning order of described mouse gestures.
In the specific implementation, the corresponding relation of described mouse gestures and described page turning order is: multiple mouse gestures, and corresponding with a page turning order; Or a kind of mouse gestures, a unique corresponding page turning order.Described page turning order comprises: go up page turning order and following page turning order.
Such as: pin right mouse button, drag a segment distance 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; In above-mentioned three kinds of mouse gestures any one or multiple equal predefine are corresponding to page turning order down, promptly identify any mouse gestures in above-mentioned three kinds of mouse gestures when described recognition unit 10, promptly can determine a unique page turning order, promptly descend the page turning order.For another example: pin left mouse button, drag a segment distance 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; In above-mentioned three kinds of mouse gestures any one or multiple equal predefine are corresponding to last page turning order, promptly identify any mouse gestures in above-mentioned three kinds of mouse gestures when described recognition unit 10, promptly can determine a unique page turning order, promptly go up the page turning order.
Be understandable that above-mentioned various predefines only for for example, can similarly be set in other application scenario,, do not give unnecessary details at this as the corresponding relation that can change every kind of mouse gestures and page turning order etc.
The described unit 20 of searching is used for searching the corresponding page turning order of discerning with described recognition unit 10 of described mouse gestures in the predefine storehouse, and described page turning order comprises page turning order and following page turning order; The described unit 20 of searching can be the executive agent of the step S102 among the method embodiment shown in Figure 1.
Described call unit 30 is used to call the described described page turning order that unit 20 finds of searching, and electronic document is carried out page turn over operation.
Described call unit 30 can be the executive agent of the step S103 among the method embodiment shown in Figure 1.
Further as shown in Figure 2, described call unit 30 comprises: traversal unit 301 and call operation unit 302.
Described traversal unit 301 is used for searching the described page turning order that unit 20 finds according to described, all hypertext link controls of browser traversal current page, and find and described page turning order corresponding buttons;
Described call operation unit 302 is used to call the click method of the described button that finds described traversal unit 301, and electronic document is carried out page turn over operation.
In the specific implementation, if the described unit 20 of searching is following page turning order according to the page turning order that described mouse gestures finds, at this moment, the described page turning order that unit 20 finds is searched according to described in described traversal unit 301, all hypertext link controls (Hyper Text Mark-up Language Frame of browser traversal current page, Html Frame), search the button on the page, if the text that a button arranged is " following one page " or " nextpage " or " next screen " or " next chapter " or " next " or ">>" or " [following 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 be clicked as the user automatically; electronic document is descended page turn over operation, makes described electronic document translate into down one page.
Equally, if described to search the page turning order that unit 20 finds according to described mouse gestures be last page turning order, at this moment, the described page turning order that unit 20 finds is searched according to described in described traversal unit 301, all Html Frame of browser traversal current page, search the button on the page, if the text that a button arranged is " page up " or " going up page or leaf " or " a last screen " or " a last chapter " or " prev " or "<<" or " [page up] " or " [upward page] " or " [a last chapter or] " [prev] " or " [<<] " etc.; so described call operation unit 302 calls the click method of this button; button can be clicked as the user automatically; electronic document is gone up page turn over operation, makes described electronic document translate into page up.Button click page turning method is existing technology particularly, does not repeat them here.
The embodiment of the invention is by the mouse gestures of predefine electric document page-turning, call the pairing page turning order of mouse gestures document is carried out page turn over operation, not needing that mouse is navigated to button position clicks, simultaneously also avoided the mistake of the advertisement page to hit operation, fast, intelligence, realize the page turning of electronic document easily.
Above disclosed only is a kind of preferred embodiment of the present invention, certainly can not limit the present invention's interest field with this, one of ordinary skill in the art will appreciate that all or part of flow process that realizes the foregoing description, and, still belong to the scope that invention is contained according to the equivalent variations that claim of the present invention is done.

Claims (10)

1. a method that realizes electric document page-turning is characterized in that, comprising:
The identification mouse gestures;
In the predefine storehouse, search and the corresponding page turning order of described mouse gestures;
Call described page turning order, electronic document is carried out page turn over operation.
2. the method for claim 1 is characterized in that, describedly calls described page turning order, and electronic document is carried out page turn over operation, comprising:
According to described page turning order, all hypertext link controls of browser traversal current page, and find and described page turning order corresponding buttons;
Call the click method of described button, electronic document is carried out page turn over operation.
3. method as claimed in claim 2 is characterized in that, before the described identification mouse gestures, also comprises:
Store described predefine storehouse in advance.
4. method as claimed in claim 3 is characterized in that, described predefine storehouse comprises:
Predefined mouse gestures, and with the corresponding page turning order of described mouse gestures.
5. method as claimed in claim 4 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.
6. as each described method of claim 1-5, it is characterized in that described page turning order comprises:
Last page turning order and following page turning order.
7. a device of realizing electric document page-turning is characterized in that, comprising:
Recognition unit is used to discern mouse gestures;
Search the unit, be used for searching the corresponding page turning order of discerning with described recognition unit of described mouse gestures in the predefine storehouse, described page turning order comprises page turning order and following page turning order;
Call unit is used to call the described described page turning order that the unit finds of searching, and electronic document is carried out page turn over operation.
8. device as claimed in claim 7 is characterized in that, described call unit comprises:
The traversal unit is used for searching the described page turning order that the unit finds according to described, all hypertext link controls of browser traversal current page, and find and described page turning order corresponding buttons;
The call operation unit is used to call the click method of the described button that finds described traversal unit, and electronic document is carried out page turn over operation.
9. device as claimed in claim 8 is characterized in that, also comprises:
Storage unit is used for storing described predefine storehouse in advance before recognition unit identification mouse gestures, and described predefine storehouse comprises predefined mouse gestures, and with the corresponding page turning order of described mouse gestures.
10. device as claimed in claim 9 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 true CN102043560A (en) 2011-05-04
CN102043560B 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)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508650A (en) * 2011-09-28 2012-06-20 奇智软件(北京)有限公司 Method and device for starting browser extended application as well as browser
CN102520855A (en) * 2011-12-03 2012-06-27 鸿富锦精密工业(深圳)有限公司 Electronic equipment with touch screen and page turning method for electronic equipment
CN103294674A (en) * 2012-02-23 2013-09-11 宇龙计算机通信科技(深圳)有限公司 Method for adjusting browsing position of page and communication terminal
CN105786944A (en) * 2015-12-08 2016-07-20 小米科技有限责任公司 Method and device for automatically turning pages of browser
CN107451143A (en) * 2016-05-31 2017-12-08 北京京东尚科信息技术有限公司 The reading method and reading system of a kind of electronic document
CN107734144A (en) * 2017-09-19 2018-02-23 捷开通讯(深圳)有限公司 Intelligent terminal and its automatic page turning method, the device with store function
WO2018177156A1 (en) * 2017-03-27 2018-10-04 维沃移动通信有限公司 Method for operating mobile terminal, and mobile terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100486711B1 (en) * 2002-08-12 2005-05-03 삼성전기주식회사 Apparatus and method for turning pages personal information terminal
CN101377738B (en) * 2007-08-27 2011-06-22 汉王科技股份有限公司 Method for implementing page turning of electric document
CN101256466B (en) * 2008-02-29 2012-02-15 鹏智科技(深圳)有限公司 Electronic device and method capable of embodiment of electric document page-turning effect

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508650A (en) * 2011-09-28 2012-06-20 奇智软件(北京)有限公司 Method and device for starting browser extended application as well as browser
CN105808250A (en) * 2011-09-28 2016-07-27 北京奇虎科技有限公司 Method and apparatus for starting extended application of browser, and browser
CN102508650B (en) * 2011-09-28 2016-03-30 北京奇虎科技有限公司 A kind of method, device and a kind of browser starting browser extension and apply
US9069445B2 (en) 2011-12-03 2015-06-30 Hong Fu Jin Precision Industry (Shenzhen) Co., Ltd. Electronic device with touch screen and page flipping method
CN102520855A (en) * 2011-12-03 2012-06-27 鸿富锦精密工业(深圳)有限公司 Electronic equipment with touch screen and page turning method for electronic equipment
CN103294674A (en) * 2012-02-23 2013-09-11 宇龙计算机通信科技(深圳)有限公司 Method for adjusting browsing position of page and communication terminal
CN103294674B (en) * 2012-02-23 2017-02-15 宇龙计算机通信科技(深圳)有限公司 Method for adjusting browsing position of page and communication terminal
CN105786944A (en) * 2015-12-08 2016-07-20 小米科技有限责任公司 Method and device for automatically turning pages of browser
CN105786944B (en) * 2015-12-08 2020-03-17 小米科技有限责任公司 Method and device for processing automatic page turning of browser
CN107451143A (en) * 2016-05-31 2017-12-08 北京京东尚科信息技术有限公司 The reading method and reading system of a kind of electronic document
CN107451143B (en) * 2016-05-31 2021-06-29 北京京东尚科信息技术有限公司 Reading method and reading system of electronic document
WO2018177156A1 (en) * 2017-03-27 2018-10-04 维沃移动通信有限公司 Method for operating mobile terminal, and mobile terminal
CN107734144A (en) * 2017-09-19 2018-02-23 捷开通讯(深圳)有限公司 Intelligent terminal and its automatic page turning method, the device with store function

Also Published As

Publication number Publication date
CN102043560B (en) 2015-04-01

Similar Documents

Publication Publication Date Title
CN102043560A (en) Method and device for realizing electronic document page turning
TWI483174B (en) Method for grouping and managing web pages
CN103472983B (en) The method and device of positioning webpage content
CN102831155B (en) A kind of micro image display packing of web page tag and device
CN102768605B (en) Display method for mobile terminal and mobile terminal
CN105404647A (en) Page content positioning method and apparatus
CN104281677A (en) Page displaying method and device
CN102945130A (en) Information searching method and information searching system
CN101763218A (en) Input method for handheld equipment
CN101588403A (en) Method for browsing web pages on screen of Internet-enabled mobile phone through finger movements
CN103324390B (en) Interaction method for page browsing, browser device and mobile terminal
CN106293359A (en) A kind of method of caller and terminal
CN105335071A (en) Method and device for displaying page elements
CN102929846A (en) Method and device for processing long text
EP2901404A1 (en) Automatically creating tables of content for web pages
CN108108377A (en) Browser page jump method, device and terminal device
CN104077273A (en) Method and device for extracting webpage contents
CN103870191A (en) Method and electronic equipment for saving webpage
CN103577477A (en) Method and system for displaying browsing history of browser
CN105335383A (en) Input information processing method and device
CN105260433A (en) Webpage content collecting method and electronic device
CN101526949A (en) Operating method of desktop selected column after selecting text string by dragging and dropping left key of mouse
CN103002144A (en) Page-turning operating method in dedicated page-turning area of mobile phone program window through dragging and dropping fingers
CN103631784A (en) Page content retrieval method and system
CN101968707A (en) Method and equipment for realizing scrolling-dragging display of first window on mobile equipment

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