CN105094627A - Browser page control method and device - Google Patents

Browser page control method and device Download PDF

Info

Publication number
CN105094627A
CN105094627A CN201510409591.2A CN201510409591A CN105094627A CN 105094627 A CN105094627 A CN 105094627A CN 201510409591 A CN201510409591 A CN 201510409591A CN 105094627 A CN105094627 A CN 105094627A
Authority
CN
China
Prior art keywords
target pages
page
address information
sliding distance
slide
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
CN201510409591.2A
Other languages
Chinese (zh)
Other versions
CN105094627B (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.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201510409591.2A priority Critical patent/CN105094627B/en
Publication of CN105094627A publication Critical patent/CN105094627A/en
Application granted granted Critical
Publication of CN105094627B publication Critical patent/CN105094627B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The invention provides a method and a device for controlling a browser page. Wherein, the method comprises the following steps: receiving a sliding operation input by a user in a current page of a browser, and determining the sliding direction of the sliding operation; determining a switching instruction corresponding to the sliding operation according to the sliding direction and a corresponding relation between the sliding direction and the switching instruction which is stored in advance, and acquiring first address information of a target page according to the switching instruction and a current page; acquiring a first sliding distance corresponding to the sliding operation, and judging whether the first sliding distance exceeds a first preset threshold value; and if the first sliding distance exceeds a first preset threshold value, loading a preview page containing the thumbnail of the target page based on the acquired first address information. According to the control method of the browser page, the user can preview the page to be switched to, consumption of network resources is reduced, the user can conveniently control the mobile terminal through gestures, and interaction experience between the user and the mobile terminal is improved.

Description

The control method of browser page and device
Technical field
The present invention relates to mobile internet technical field, particularly relate to a kind of control method and device of browser page.
Background technology
Along with the development in mobile Internet epoch, the function of mobile terminal such as smart mobile phone is more next powerful, and user can install the application program of various function according to demand in the terminal, and mobile terminal has become a part for people's live and work.
The advantage of mobile terminal is that online is convenient and swift, not by the impact of time zone, can surf the Net whenever and wherever possible.Such as, user is by the mobile phone browser online in smart mobile phone, and browse in the process of webpage user, user is undertaken switching between webpage by " advance " or " retrogressing " button that the mobile phone browser upper left corner or the upper right corner provide.
But along with the expansion in large-screen mobile phone market, mobile phone screen constantly increases.In the process of user's one-handed performance large-screen mobile phone, if user needs to switch the webpage browsed, because screen is comparatively large, user's one hand is Touch Screen the top or bottom not easily, this causes, and blocked operation is inconvenient, efficiency is low, cannot realize the quick switching between the page.In addition, switched in the process of webpage by " advance " or " retrogressing " button, the webpage that browser directly loads " advance " or " retrogressing " button is corresponding, if do not comprise the web page contents that oneself needs is checked in the webpage after user finds advance or retrogressing, now, user needs again, by " advance " or " retrogressing " button, webpage is switched to current page, switching the process of webpage back and forth, consume a large amount of Internet resources, have impact on the interactive experience between user and terminal.
Summary of the invention
The present invention is intended to solve one of technical matters in correlation technique at least to a certain extent.For this reason, first object of the present invention is the control method proposing a kind of browser page, the method makes user preview can be about to the page that is switched to, decrease the consumption of Internet resources, facilitate user to be controlled mobile terminal by gesture, improve the interactive experience between user and mobile terminal.
Second object of the present invention is the control device proposing a kind of browser page.
For achieving the above object, first aspect present invention embodiment proposes a kind of control method of browser page, comprising: receive the slide that user inputs in the current page of browser, and determine the glide direction of described slide; Determine with the corresponding relation of switching command the switching command that described slide is corresponding according to described glide direction and the glide direction of preserving in advance, and obtain the first address information of target pages according to described switching command and described current page; Obtain the first sliding distance that described slide is corresponding, and judge that whether described first sliding distance is more than the first predetermined threshold value; If described first sliding distance exceedes described first predetermined threshold value, then based on described first address information obtained, load the preview page comprising the thumbnail of described target pages.
Alternatively, described described first address information based on obtaining, load the preview page comprising the thumbnail of described target pages, comprise: the first address information sending described target pages to server, and receive the second address information of the thumbnail of the described target pages that described server returns, and according to described second address information, the thumbnail of described target pages is loaded in described preview page, with the thumbnail facilitating user to check described target pages; Or, the web page contents of described target pages is obtained according to the first address information of described target pages, sectional drawing is carried out to described web page contents, and using the thumbnail of be truncated to sectional drawing as described target pages, and the thumbnail of described target pages is loaded in described preview page.
Alternatively, in described described first address information based on obtaining, loading after comprising the preview page of the thumbnail of described target pages, also comprising:
Receive the again slide of described user on described first sliding distance, and the second sliding distance of slide again described in obtaining; Judge that whether described first sliding distance and described second sliding distance sum are more than the second predetermined threshold value, if described second sliding distance exceedes described second predetermined threshold value, then open according to the first address information of described target pages and show described target pages.
Alternatively, the touch that described slide to comprise from the edge of touch-screen is left slided, wherein, the described switching command corresponding according to described slide and described current page obtain the address information of target pages, comprise: the switching command corresponding according to described slide obtains the first webpage that in current page, forwarding button is corresponding, and using described first webpage as described target pages, and obtain the first address information of described target pages.
Alternatively, the touch that described slide to comprise from the edge of touch-screen is to the right slided, wherein, the described switching command corresponding according to described slide and described current page obtain the first address information of target pages, comprise: the switching command corresponding according to described slide obtains the second webpage that in current page, back is corresponding, and using described second webpage as described target pages, and obtain the first address information of described target pages.
Alternatively, in described described first address information based on obtaining, load after comprising the preview page of the thumbnail of described target pages, also comprise: when detecting that the glide direction of described slide is by when switching to left to the right, obtain the 3rd sliding distance that described user slides left, and judge that whether described 3rd sliding distance is more than the 3rd predetermined threshold value, if described 3rd sliding distance is more than the 3rd predetermined threshold value, then close described preview page, and show described current page.
Alternatively, in described described first address information based on obtaining, load after comprising the preview page of the thumbnail of described target pages, also comprise: when detecting that the glide direction of described slide is by when switching to the right left, obtain the 4th sliding distance that described user slides to the right, and judge that whether described 4th sliding distance is more than the 4th predetermined threshold value, if described 4th sliding distance is more than the 4th predetermined threshold value, then close described preview page, and show described current page.
According to the control method of the browser page of the embodiment of the present invention, receive the slide of user's input, and determine the glide direction of slide, then, according to glide direction and the glide direction of preserving the in advance switching command corresponding with the corresponding relation determination slide of switching command, and obtain the first address information of target pages, and when judging that sliding distance that slide is corresponding is more than the first predetermined threshold value, load based on the first address information obtained the preview page comprising the thumbnail of target pages.Thus, make user preview can be about to the page that is switched to, decrease the consumption of Internet resources, facilitate user and by gesture, mobile terminal is controlled, improve the interactive experience between user and mobile terminal.
For achieving the above object, second aspect present invention embodiment proposes a kind of control device of browser page, comprising: receiver module, for receiving the slide that user inputs in the current page of browser, and determines the glide direction of described slide; First acquisition module, for determining with the corresponding relation of switching command the switching command that described slide is corresponding according to described glide direction and the glide direction of preserving in advance, and obtain the first address information of target pages according to described switching command and described current page; Second acquisition module, for obtaining the first sliding distance corresponding to described slide; Judge module, for judging that whether described first sliding distance is more than the first predetermined threshold value; Load-on module, for when described first sliding distance exceedes described first predetermined threshold value, based on described first address information obtained, loads the preview page comprising the thumbnail of described target pages.
Alternatively, described load-on module, specifically for: the first address information sending described target pages to server, and receive the second address information of the thumbnail of the described target pages that described server returns, and according to described second address information, the thumbnail of described target pages is loaded in described preview page, with the thumbnail facilitating user to check described target pages; Or, the web page contents of described target pages is obtained according to the first address information of described target pages, sectional drawing is carried out to described web page contents, and using the thumbnail of be truncated to sectional drawing as described target pages, and the thumbnail of described target pages is loaded in described preview page.
Alternatively, described device also comprises: the first processing module, for described load-on module based on obtain described first address information, load after comprising the preview page of the thumbnail of described target pages, receive the again slide of described user on described first sliding distance, and the second sliding distance of slide again described in obtaining, and judge that described in described first sliding distance and described second sliding distance sum, whether the second sliding distance is more than the second predetermined threshold value, if described second sliding distance exceedes described second predetermined threshold value, then open according to the first address information of described target pages and show described target pages.
Alternatively, the touch that described slide to comprise from the edge of touch-screen is left slided, wherein, described first acquisition module, specifically for: the switching command corresponding according to described slide obtains the first webpage that in current page, forwarding button is corresponding, and using described first webpage as described target pages, and obtain the first address information of described target pages.
Alternatively, the touch that described slide to comprise from the edge of touch-screen is to the right slided, wherein, described first acquisition module, specifically for: the switching command corresponding according to described slide obtains the second webpage that in current page, back is corresponding, and using described second webpage as described target pages, and obtain the first address information of described target pages.
Alternatively, described device also comprises: the second processing module, for described load-on module based on obtain described first address information, load after comprising the preview page of the thumbnail of described target pages, if detect that the glide direction of described slide is by switching to left to the right, then obtain the 3rd sliding distance that described user slides left, and judge that whether described 3rd sliding distance is more than the 3rd predetermined threshold value, if described 3rd sliding distance is more than the 3rd predetermined threshold value, then close described preview page, and show described current page.
Alternatively, described device also comprises: the 3rd processing module, for described load-on module based on obtain described first address information, load after comprising the preview page of the thumbnail of described target pages, if detect that the glide direction of described slide is by switching to the right left, then obtain the 4th sliding distance that described user slides to the right, and judge that whether described 4th sliding distance is more than the 4th predetermined threshold value, if described 4th sliding distance is more than the 4th predetermined threshold value, then close described preview page, and show described current page.
According to the control device of the browser page of the embodiment of the present invention, the slide of user's input is received by receiver module, and determine the glide direction of slide, then, first acquisition module is according to glide direction and the glide direction of preserving the in advance switching command corresponding with the corresponding relation determination slide of switching command, and obtain the first address information of target pages, second acquisition module obtains the sliding distance of slide, judge module judges that whether sliding distance that slide is corresponding is more than the first predetermined threshold value, load-on module is when sliding distance is more than the first predetermined threshold value, based on the first address information obtained, load the preview page comprising the thumbnail of target pages.Thus, make user preview can be about to the page that is switched to, decrease the consumption of Internet resources, facilitate user and by gesture, mobile terminal is controlled, improve the interactive experience between user and mobile terminal.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the control method of browser page according to an embodiment of the invention.
Fig. 2 is the schematic diagram of the current page shown in mobile phone browser.
Fig. 3 is the schematic diagram of the last page of accessing before user accesses current page.
Fig. 4 is the schematic diagram of the preview page shown in mobile phone browser.
Fig. 5 is the process flow diagram of the control method of browser page in accordance with another embodiment of the present invention.
Fig. 6 is the process flow diagram of the control method of browser page according to the present invention's specific embodiment.
Fig. 7 is the structural representation of the control device of browser page according to an embodiment of the invention.
Fig. 8 is the structural representation of the control device of browser page in accordance with another embodiment of the present invention.
Embodiment
Be described below in detail embodiments of the invention, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Be exemplary below by the embodiment be described with reference to the drawings, be intended to for explaining the present invention, and can not limitation of the present invention be interpreted as.
Below with reference to the accompanying drawings control method and the device of the browser page of the embodiment of the present invention are described.
Fig. 1 is the process flow diagram of the control method of browser page according to an embodiment of the invention.
As shown in Figure 1, the control method of this browser page comprises:
S101, receives the cunning that user inputs in the current page of browser
Dynamic operation, and determine the glide direction of slide.
Particularly, browsed in the process of webpage by mobile phone browser user, slide if receive user's touch left from the edge of touch-screen, then can determine that the glide direction of slide is for left; If receive user to receive user's touch to the right from the edge of touch-screen and slide, then can determine that the glide direction of slide is for the right.
S102, according to glide direction and the glide direction of preserving the in advance switching command corresponding with the corresponding relation determination slide of switching command, and obtains the first address information of target pages according to switching command and current page.
Such as, assuming that the glide direction of preserving in advance with the corresponding relation of switching command is: the corresponding to the right switching command of glide direction is for retreat instruction; The corresponding left switching command of glide direction is advancement commands.If receive user's touch to the right from the left side edge of touch-screen to slide, can determine that the glide direction of slide is for the right, then, can determine that switching command that current slide is corresponding is for retreat instruction according to glide direction and the corresponding relation of switching command.
In one embodiment of the invention, after determining the switching command that slide is corresponding, the first address information of target pages can be obtained according to switching command and current page.Specifically, if determine that the switching command that current slide is corresponding is advancement commands, the first webpage that forwarding button in current page is corresponding can be obtained, and using the first webpage as target pages, and obtain the first address information of target pages.Wherein, the first webpage is the rear webpage that user accesses after access current page.
If determine that the switching command that current slide is corresponding is retrogressing instruction, the second webpage that back in current page is corresponding can be obtained, and using the second webpage as target pages, and obtain the first address information of target pages.Wherein, the second webpage is the last webpage that user accessed before access current page.
S103, obtains the first sliding distance that slide is corresponding, and judges that whether the first sliding distance is more than the first predetermined threshold value.
S104, if the first sliding distance is more than the first predetermined threshold value, then based on the first address information obtained, loads the preview page comprising the thumbnail of target pages.
Wherein, the first predetermined threshold value is system is the distance value that loading preview page pre-sets.Such as, the first predetermined threshold value is 1/3rd of the screen width of mobile terminal, monitor sliding distance corresponding to slide exceed screen width three/for the moment, the preview page of the thumbnail comprising target pages can be loaded.
In one embodiment of the invention, the thumbnail of target pages is obtained by two kinds of modes.
First kind of way is the thumbnail obtaining target pages from server.
Particularly, when determining that the first sliding distance that slide is corresponding is more than the first predetermined threshold value, the first address information of target pages can be sent to server.Accordingly, server obtains the second address information of the thumbnail of target pages from the mapping relations table of the address information of the address information and webpage capture of preserving webpage in advance according to the first address information of target pages, and the second address information of the thumbnail of target pages is returned to browser, browser is according to the thumbnail of the second address information loaded targets page, now, the corresponding webpage comprising the thumbnail of target pages is preview page.
The second way is the thumbnail being generated target pages by browser.
Particularly, when determining that the first sliding distance that slide is corresponding is more than the first predetermined threshold value, the web page contents of target pages can be obtained from the buffer memory of browser according to the first address information of target pages, sectional drawing is carried out to web page contents, and using the thumbnail of be truncated to sectional drawing as target pages, and the thumbnail of target pages is loaded in preview page.
Such as, the current page in mobile phone browser as shown in Figure 2, assuming that the prevpage face that user accesses before accessing current page is as shown in Figure 3.If receive user to slide to the right from the left side of touch-screen, then can determine that the switching command that slide is corresponding is retrogressing instruction according to glide direction, and the last page of accessing before user accesses current page is obtained according to the back retreated in instruction and current page, and using the last page as target pages, then from the buffer memory of browser, obtain the web page contents of the last page, sectional drawing is carried out to web page contents, and using the thumbnail of be truncated to sectional drawing as target pages, and display comprises the preview page of the thumbnail of the last page in the page of browser, wherein, the form of the preview page shown in browser as shown in Figure 4.
In one embodiment of the invention, as shown in Figure 5, after step s 103, step S104 and S105 is also comprised.
S104, receives the again slide of user on the first sliding distance, and obtains again the second sliding distance of slide.
S105, judges that whether the first sliding distance and the second sliding distance sum are more than the second predetermined threshold value, if the second sliding distance is more than the second predetermined threshold value, then opens and the display-object page according to the address information of target pages.
Such as, second predetermined threshold value is the screen width 1/2nd of smart mobile phone, after the second sliding distance obtaining user's slide again, can judge whether the first sliding distance and the second sliding distance sum exceed screen width 1/2nd, if, then directly jump to target pages, the display-object page in the page of browser.
Again such as, first predetermined threshold value is the screen width 1/3rd of smart mobile phone, second predetermined threshold value is the screen width 1/2nd of smart mobile phone, exceed screen width 1/3rd monitoring the sliding distance that user slides from the left side edge of touch-screen to the right, and finger is not when leaving touch-screen, load the preview page comprising the thumbnail of target pages, if monitor user to continue to slide, and when the distance monitoring user's slip exceedes screen width 1/2nd, and finger is when leaving touch-screen, directly webpage is adjusted to target pages.
In one embodiment of the invention, after comprising the preview page of the thumbnail of target pages based on the first address information loading obtained, if detect that the glide direction of slide is by switching to left to the right, then obtain the 3rd sliding distance that user slides left, and judge that whether the 3rd sliding distance is more than the 3rd predetermined threshold value, if the 3rd sliding distance more than the 3rd predetermined threshold value, is then closed preview page, and is shown current page.That is, show preview page in the page of browser after, if user does not think the page will shown in page layout switch to preview page, now, user can by the glide direction of slide by switching to left to the right, and the certain distance that slides left, if when the sliding distance slided left is more than the 3rd predetermined threshold value, then according to the slide of user, mobile terminal can judge that active user does not want to advance, now, mobile terminal will close preview page, again show current page in the page of browser, and user can continue to browse current page.
In addition, for user's situation that touch is left slided from the right side edge of touch-screen, after loading comprises the preview page of the thumbnail of target pages, if detect that the glide direction of slide is by switching to the right left, then obtain the 4th sliding distance that user slides to the right, and judge that whether the 4th sliding distance is more than the 4th predetermined threshold value, if the 4th sliding distance is more than the 4th predetermined threshold value, then close preview page, and show current page.This shows, user, by changing the mode of glide direction, closes preview page, facilitates user and close preview page by gesture, improve the interactive experience between user and mobile terminal.
In summary it can be seen, browse in the process of webpage user by the browser in mobile terminal, if user needs to carry out the switching between webpage, user can carry out touch to the right and slide from the left side edge of touch-screen, or from the right side edge of touch-screen, carry out touch left slide, when sliding distance corresponding to slide is more than the first predetermined threshold value, trigger preview page, in the page of browser, display comprises the preview page of the thumbnail of target pages, thus, the relevant information that user's preview is about to be switched to webpage is facilitated.If user determines to switch to the target pages shown in preview page, now, user can continue to continue to slide along original glide direction, when the sliding distance of correspondence is more than the second predetermined threshold value, and finger is when leaving touch-screen, directly jump to target pages, the display-object page in the page of browser; If user does not want current web page to switch to target pages, now, the replaceable glide direction of user, and after certain sliding distance that slides, mobile terminal closes preview page, shows current page in the page of browser.Thus, provide a kind of mode controlling webpage advance by gesture or retreat, facilitate user and by gesture, webpage is switched, and user closes preview page by gesture, improve the interactive experience between user and equipment.
The control method of the browser page of the embodiment of the present invention, receive the slide of user's input, and determine the glide direction of slide, then, according to glide direction and the glide direction of preserving the in advance switching command corresponding with the corresponding relation determination slide of switching command, and obtain the first address information of target pages, and when judging that sliding distance that slide is corresponding is more than the first predetermined threshold value, load based on the first address information obtained the preview page comprising the thumbnail of target pages.Thus, make user preview can be about to the page that is switched to, decrease the consumption of Internet resources, facilitate user and by gesture, mobile terminal is controlled, improve the interactive experience between user and mobile terminal.
Fig. 6 is the process flow diagram of the control method of browser page according to the present invention's specific embodiment.This embodiment is provided as by server the detailed process that example describes the control method of browser page with the thumbnail of target pages, and as shown in Figure 6, the control method of this browser page comprises:
S601, mobile terminal receives user's touch left from the edge of touch-screen and slides, and determines that the slip side of slide is for left.
S602, mobile terminal is advancement commands according to glide direction and the glide direction of preserving the in advance switching command corresponding with the corresponding relation determination slide of switching command.
S603, the first webpage that in acquisition for mobile terminal current page, forwarding button is corresponding, and using the first webpage as target pages, and obtain the first address information of target pages.
Wherein, the first webpage is the rear webpage that user accesses after access current page.
S604, the first sliding distance that acquisition for mobile terminal slide is corresponding, and judge that whether the first sliding distance is more than the first predetermined threshold value.
Wherein, the first predetermined threshold value is system is the distance value that loading preview page pre-sets.Such as, the first predetermined threshold value is 1/3rd of the screen width of mobile terminal, monitor sliding distance corresponding to slide exceed screen width three/for the moment, the preview page of the thumbnail comprising target pages can be loaded.
S605, if the first sliding distance is more than the first predetermined threshold value, then mobile terminal sends the first address information of target pages to server.
S606, first address information of the target pages that server mobile terminal receive sends, and from the mapping relations table of the address information of the address information and webpage capture of preserving webpage in advance, obtain the second address information of the thumbnail of target pages, and return the second address information of the thumbnail of target pages to mobile terminal.
Such as, the address information of the target pages that server receives is www.baidu.com, and the address information that server can obtain the thumbnail of target pages according to the mapping relations table of the address information of the address information of the webpage preserved in advance and webpage capture is www.cmPic.baidu.com.
S607, mobile terminal is according to the thumbnail of the second address information loaded targets page, and in the page of browser, display comprises the preview page of the thumbnail of target pages.
S608, if mobile terminal receives the slide that user continues to slide, then mobile terminal obtains the second sliding distance that user continues slide, and judges that whether the first sliding distance and the second sliding distance sum are more than the second predetermined threshold value.
S609, if the first sliding distance and the second sliding distance sum are more than the second predetermined threshold value, then mobile terminal is opened and the display-object page according to the first address information of target pages.
The control method of the browser page of the embodiment of the present invention, when monitoring sliding distance corresponding to slide more than the first predetermined threshold value, mobile terminal loads the preview page comprising the thumbnail of target pages, now, user is about to the target pages be switched to by preview page preview, when determining to switch to this target pages, user can proceed slide according to original glide direction, when the sliding distance of correspondence is more than the second predetermined threshold value, the page directly jumps to target pages.Thus, facilitate user in the process switching webpage, preview in advance can be about to the webpage that is switched to, avoid owing to not comprising content that user expects to check in target pages and needing to switch back and forth the generation of webpage situation, decrease the consumption of Internet resources, facilitate user and switch webpage by slip gesture, improve the interactive experience between user and mobile terminal.
In order to realize above-described embodiment, the present invention also proposes a kind of control device of browser page.
Fig. 7 is the structural representation of the control device of browser page according to an embodiment of the invention.
As shown in Figure 7, the control device of this browser page comprises receiver module 110, first acquisition module 120, second acquisition module 130, judge module 140 and load-on module 150.
The slide that receiver module 110 inputs in the current page of browser for receiving user, and the glide direction determining slide; First acquisition module 120 for according to glide direction and the glide direction of preserving the in advance switching command corresponding with the corresponding relation determination slide of switching command, and obtains the first address information of target pages according to switching command and current page; Second acquisition module 130 is for obtaining the first sliding distance corresponding to slide; Judge module 140 is for judging that whether the first sliding distance is more than the first predetermined threshold value; Load-on module 150, for when the first sliding distance is more than the first predetermined threshold value, based on the first address information obtained, loads the preview page comprising the thumbnail of target pages.
Wherein, above-mentioned slide can be that touch is left slided from the edge of touch-screen, also can be that touch is to the right slided from the edge of touch-screen, when receiver module 110 touch received from the edge of touch-screen is left slided, first acquisition module 120 specifically for: obtain according to switching command corresponding to slide the first webpage that in current page, forwarding button is corresponding, and using the first webpage as target pages, and obtain the first address information of target pages.
When receiver module 110 touch received from the edge of touch-screen is to the right slided, first acquisition module 120 specifically for: obtain according to switching command corresponding to slide the second webpage that in current page, back is corresponding, and using the second webpage as target pages, and obtain the first address information of target pages.
Particularly, above-mentioned load-on module 150 specifically for: send the first address information of target pages to server, and the second address information of the thumbnail of target pages that reception server returns, and according to the second address information, the thumbnail of target pages is loaded in preview page, with the thumbnail facilitating user to check target pages; Or, obtain the web page contents of target pages according to the first address information of target pages, sectional drawing is carried out to web page contents, and using the thumbnail of be truncated to sectional drawing as target pages, and the thumbnail of target pages is loaded in preview page.
Wherein, above-mentioned first predetermined threshold value is system is the distance value that loading preview page pre-sets.Such as, first predetermined threshold value is 1/3rd of the screen width of mobile terminal, judge module 140 judge sliding distance that slide is corresponding exceed screen width three/for the moment, load-on module 150 can load the preview page of the thumbnail comprising target pages.
As shown in Figure 8, said apparatus can also comprise the first processing module 160, this first processing module 160 for load-on module 150 based on obtain the first address information, load after comprising the preview page of the thumbnail of target pages, receive the again slide of user on the first sliding distance, and obtain again the second sliding distance of slide, and judge that whether the first sliding distance and the second sliding distance sum second sliding distance are more than the second predetermined threshold value, if the second sliding distance is more than the second predetermined threshold value, then open and the display-object page according to the first address information of target pages.
As shown in Figure 8, said apparatus can also comprise the second processing module 170, this second processing module 170 for load-on module 150 based on obtain the first address information, load after comprising the preview page of the thumbnail of target pages, if detect that the glide direction of slide is by switching to left to the right, then obtain the 3rd sliding distance that user slides left, and judge that whether the 3rd sliding distance is more than the 3rd predetermined threshold value, if the 3rd sliding distance is more than the 3rd predetermined threshold value, then close preview page, and show current page.
As shown in Figure 7, said apparatus can also comprise the 3rd processing module 180,3rd processing module 180 for load-on module 150 based on obtain the first address information, load after comprising the preview page of the thumbnail of target pages, if detect that the glide direction of slide is by switching to the right left, then obtain the 4th sliding distance that user slides to the right, and judge that whether the 4th sliding distance is more than the 4th predetermined threshold value, if the 4th sliding distance is more than the 4th predetermined threshold value, then close preview page, and show current page.
It should be noted that, the explanation of the embodiment of the aforementioned control method to browser page illustrates and the control device being also applicable to the browser page of this embodiment repeats no more herein.
The control device of the browser page of the embodiment of the present invention, the slide of user's input is received by receiver module, and determine the glide direction of slide, then, first acquisition module is according to glide direction and the glide direction of preserving the in advance switching command corresponding with the corresponding relation determination slide of switching command, and obtain the first address information of target pages, second acquisition module obtains the sliding distance of slide, judge module judges that whether sliding distance that slide is corresponding is more than the first predetermined threshold value, load-on module is when sliding distance is more than the first predetermined threshold value, based on the first address information obtained, load the preview page comprising the thumbnail of target pages.Thus, make user preview can be about to the page that is switched to, decrease the consumption of Internet resources, facilitate user and by gesture, mobile terminal is controlled, improve the interactive experience between user and mobile terminal.
In the description of this instructions, specific features, structure, material or feature that the description of reference term " embodiment ", " some embodiments ", " example ", " concrete example " or " some examples " etc. means to describe in conjunction with this embodiment or example are contained at least one embodiment of the present invention or example.In this manual, to the schematic representation of above-mentioned term not must for be identical embodiment or example.And the specific features of description, structure, material or feature can combine in one or more embodiment in office or example in an appropriate manner.In addition, when not conflicting, the feature of the different embodiment described in this instructions or example and different embodiment or example can carry out combining and combining by those skilled in the art.
In addition, term " first ", " second " only for describing object, and can not be interpreted as instruction or hint relative importance or imply the quantity indicating indicated technical characteristic.Thus, be limited with " first ", the feature of " second " can express or impliedly comprise at least one this feature.In describing the invention, the implication of " multiple " is at least two, such as two, three etc., unless otherwise expressly limited specifically.
Describe and can be understood in process flow diagram or in this any process otherwise described or method, represent and comprise one or more for realizing the module of the code of the executable instruction of the step of specific logical function or process, fragment or part, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can not according to order that is shown or that discuss, comprise according to involved function by the mode while of basic or by contrary order, carry out n-back test, this should understand by embodiments of the invention person of ordinary skill in the field.
In flow charts represent or in this logic otherwise described and/or step, such as, the sequencing list of the executable instruction for realizing logic function can be considered to, may be embodied in any computer-readable medium, for instruction execution system, device or equipment (as computer based system, comprise the system of processor or other can from instruction execution system, device or equipment instruction fetch and perform the system of instruction) use, or to use in conjunction with these instruction execution systems, device or equipment.With regard to this instructions, " computer-readable medium " can be anyly can to comprise, store, communicate, propagate or transmission procedure for instruction execution system, device or equipment or the device that uses in conjunction with these instruction execution systems, device or equipment.The example more specifically (non-exhaustive list) of computer-readable medium comprises following: the electrical connection section (electronic installation) with one or more wiring, portable computer diskette box (magnetic device), random access memory (RAM), ROM (read-only memory) (ROM), erasablely edit ROM (read-only memory) (EPROM or flash memory), fiber device, and portable optic disk ROM (read-only memory) (CDROM).In addition, computer-readable medium can be even paper or other suitable media that can print described program thereon, because can such as by carrying out optical scanning to paper or other media, then carry out editing, decipher or carry out process with other suitable methods if desired and electronically obtain described program, be then stored in computer memory.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, multiple step or method can with to store in memory and the software performed by suitable instruction execution system or firmware realize.Such as, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: the discrete logic with the logic gates for realizing logic function to data-signal, there is the special IC of suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
Those skilled in the art are appreciated that realizing all or part of step that above-described embodiment method carries is that the hardware that can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, this program perform time, step comprising embodiment of the method one or a combination set of.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, also can be that the independent physics of unit exists, also can be integrated in a module by two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, and the form of software function module also can be adopted to realize.If described integrated module using the form of software function module realize and as independently production marketing or use time, also can be stored in a computer read/write memory medium.
The above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.Although illustrate and describe embodiments of the invention above, be understandable that, above-described embodiment is exemplary, can not be interpreted as limitation of the present invention, and those of ordinary skill in the art can change above-described embodiment within the scope of the invention, revises, replace and modification.

Claims (10)

1. a control method for browser page, is characterized in that, comprising:
Receive the slide that user inputs in the current page of browser, and determine the glide direction of described slide;
Determine with the corresponding relation of switching command the switching command that described slide is corresponding according to described glide direction and the glide direction of preserving in advance, and obtain the first address information of target pages according to described switching command and described current page;
Obtain the first sliding distance that described slide is corresponding, and judge that whether described first sliding distance is more than the first predetermined threshold value;
If described first sliding distance exceedes described first predetermined threshold value, then based on described first address information obtained, load the preview page comprising the thumbnail of described target pages.
2. method according to claim 1, is characterized in that, described described first address information based on obtaining, loads the preview page comprising the thumbnail of described target pages, comprising:
The first address information of described target pages is sent to server, and receive the second address information of the thumbnail of the described target pages that described server returns, and according to described second address information, the thumbnail of described target pages is loaded in described preview page, with the thumbnail facilitating user to check described target pages; Or,
The web page contents of described target pages is obtained according to the first address information of described target pages, sectional drawing is carried out to described web page contents, and using the thumbnail of be truncated to sectional drawing as described target pages, and the thumbnail of described target pages is loaded in described preview page.
3. method according to claim 1, is characterized in that, in described described first address information based on obtaining, loading after comprising the preview page of the thumbnail of described target pages, also comprising:
Receive the again slide of described user on described first sliding distance, and the second sliding distance of slide again described in obtaining;
Judge that whether described first sliding distance and described second sliding distance sum are more than the second predetermined threshold value, if described second sliding distance exceedes described second predetermined threshold value, then open according to the first address information of described target pages and show described target pages.
4. method according to claim 1, is characterized in that, the touch that described slide to comprise from the edge of touch-screen is left slided, wherein,
The described switching command corresponding according to described slide and described current page obtain the address information of target pages, comprising:
The switching command corresponding according to described slide obtains the first webpage that in current page, forwarding button is corresponding, and using described first webpage as described target pages, and obtain the first address information of described target pages.
5. method according to claim 1, is characterized in that, the touch that described slide to comprise from the edge of touch-screen is to the right slided, wherein,
The described switching command corresponding according to described slide and described current page obtain the first address information of target pages, comprising:
The switching command corresponding according to described slide obtains the second webpage that in current page, back is corresponding, and using described second webpage as described target pages, and obtain the first address information of described target pages.
6. method according to claim 4, is characterized in that, in described described first address information based on obtaining, loading after comprising the preview page of the thumbnail of described target pages, also comprising:
When detecting that the glide direction of described slide is by when switching to left to the right, obtain the 3rd sliding distance that described user slides left, and judge that whether described 3rd sliding distance is more than the 3rd predetermined threshold value, if described 3rd sliding distance is more than the 3rd predetermined threshold value, then close described preview page, and show described current page.
7. method according to claim 5, is characterized in that, in described described first address information based on obtaining, loading after comprising the preview page of the thumbnail of described target pages, also comprising:
When detecting that the glide direction of described slide is by when switching to the right left, obtain the 4th sliding distance that described user slides to the right, and judge that whether described 4th sliding distance is more than the 4th predetermined threshold value, if described 4th sliding distance is more than the 4th predetermined threshold value, then close described preview page, and show described current page.
8. a control device for browser page, is characterized in that, comprising:
Receiver module, for receiving the slide that user inputs in the current page of browser, and determines the glide direction of described slide;
First acquisition module, for determining with the corresponding relation of switching command the switching command that described slide is corresponding according to described glide direction and the glide direction of preserving in advance, and obtain the first address information of target pages according to described switching command and described current page;
Second acquisition module, for obtaining the first sliding distance corresponding to described slide;
Judge module, for judging that whether described first sliding distance is more than the first predetermined threshold value;
Load-on module, for when described first sliding distance exceedes described first predetermined threshold value, based on described first address information obtained, loads the preview page comprising the thumbnail of described target pages.
9. device according to claim 8, is characterized in that, described load-on module, specifically for:
The first address information of described target pages is sent to server, and receive the second address information of the thumbnail of the described target pages that described server returns, and according to described second address information, the thumbnail of described target pages is loaded in described preview page, with the thumbnail facilitating user to check described target pages; Or,
The web page contents of described target pages is obtained according to the first address information of described target pages, sectional drawing is carried out to described web page contents, and using the thumbnail of be truncated to sectional drawing as described target pages, and the thumbnail of described target pages is loaded in described preview page.
10. device according to claim 8, is characterized in that, also comprises:
First processing module, for described load-on module based on obtain described first address information, load after comprising the preview page of the thumbnail of described target pages, receive the again slide of described user on described first sliding distance, and the second sliding distance of slide again described in obtaining, and judge that described in described first sliding distance and described second sliding distance sum, whether the second sliding distance is more than the second predetermined threshold value, if described second sliding distance exceedes described second predetermined threshold value, then open according to the first address information of described target pages and show described target pages.
CN201510409591.2A 2015-07-13 2015-07-13 Browser page control method and device Active CN105094627B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510409591.2A CN105094627B (en) 2015-07-13 2015-07-13 Browser page control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510409591.2A CN105094627B (en) 2015-07-13 2015-07-13 Browser page control method and device

Publications (2)

Publication Number Publication Date
CN105094627A true CN105094627A (en) 2015-11-25
CN105094627B CN105094627B (en) 2018-06-29

Family

ID=54575205

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510409591.2A Active CN105094627B (en) 2015-07-13 2015-07-13 Browser page control method and device

Country Status (1)

Country Link
CN (1) CN105094627B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105701197A (en) * 2016-01-11 2016-06-22 北京小米移动软件有限公司 Page previewing method and device
CN105843535A (en) * 2016-03-18 2016-08-10 深圳市万普拉斯科技有限公司 Control method and control panel, and terminal
CN107229405A (en) * 2016-03-25 2017-10-03 广州市动景计算机科技有限公司 Method, equipment, browser and electronic equipment for providing web page contents
CN107632764A (en) * 2017-09-13 2018-01-26 百度在线网络技术(北京)有限公司 Method for information display and device
CN108829331A (en) * 2018-05-25 2018-11-16 北京五八信息技术有限公司 The method for processing interception and terminal device of slip event
CN109002486A (en) * 2018-06-25 2018-12-14 武汉斗鱼网络科技有限公司 A kind of processing method that the page is shown, device, terminal and storage medium
CN109298828A (en) * 2018-09-27 2019-02-01 武汉华中时讯科技有限责任公司 Switch device, method and the storage medium of the historical viewings page by gesture
CN109948101A (en) * 2019-03-21 2019-06-28 Oppo广东移动通信有限公司 Page switching method, device, storage medium and electronic equipment
CN110650091A (en) * 2019-08-14 2020-01-03 平安普惠企业管理有限公司 Routing configuration information processing method and device, computer equipment and storage medium
CN110889061A (en) * 2019-11-12 2020-03-17 望海康信(北京)科技股份公司 Webpage loading method and device
CN110929190A (en) * 2019-09-23 2020-03-27 平安科技(深圳)有限公司 Page playing method and device, electronic equipment and storage medium
CN112286607A (en) * 2020-10-27 2021-01-29 北京奇艺世纪科技有限公司 View control method and device
CN112612566A (en) * 2020-12-18 2021-04-06 北京达佳互联信息技术有限公司 Information display method and device and readable storage medium
CN117750108A (en) * 2023-12-01 2024-03-22 书行科技(北京)有限公司 Video page switching method, device, medium and equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034683A (en) * 2012-11-26 2013-04-10 北京奇虎科技有限公司 Page switching method and device for browser
US20130311949A1 (en) * 2012-05-15 2013-11-21 Fuji Xerox Co., Ltd. Thumbnail display apparatus, thumbnail display method, and computer readable medium
CN104199603A (en) * 2014-08-28 2014-12-10 北京金山安全软件有限公司 Browser webpage control method and device and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130311949A1 (en) * 2012-05-15 2013-11-21 Fuji Xerox Co., Ltd. Thumbnail display apparatus, thumbnail display method, and computer readable medium
CN103034683A (en) * 2012-11-26 2013-04-10 北京奇虎科技有限公司 Page switching method and device for browser
CN104199603A (en) * 2014-08-28 2014-12-10 北京金山安全软件有限公司 Browser webpage control method and device and terminal

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105701197A (en) * 2016-01-11 2016-06-22 北京小米移动软件有限公司 Page previewing method and device
CN105843535A (en) * 2016-03-18 2016-08-10 深圳市万普拉斯科技有限公司 Control method and control panel, and terminal
US10996845B2 (en) 2016-03-25 2021-05-04 Alibaba Group Holding Limited Method, application, browser, and electronic device for providing webpage content
CN107229405A (en) * 2016-03-25 2017-10-03 广州市动景计算机科技有限公司 Method, equipment, browser and electronic equipment for providing web page contents
CN107632764A (en) * 2017-09-13 2018-01-26 百度在线网络技术(北京)有限公司 Method for information display and device
CN108829331A (en) * 2018-05-25 2018-11-16 北京五八信息技术有限公司 The method for processing interception and terminal device of slip event
CN108829331B (en) * 2018-05-25 2022-01-14 北京五八信息技术有限公司 Monitoring processing method of sliding event and terminal equipment
CN109002486A (en) * 2018-06-25 2018-12-14 武汉斗鱼网络科技有限公司 A kind of processing method that the page is shown, device, terminal and storage medium
CN109298828A (en) * 2018-09-27 2019-02-01 武汉华中时讯科技有限责任公司 Switch device, method and the storage medium of the historical viewings page by gesture
CN109298828B (en) * 2018-09-27 2022-02-22 武汉华中时讯科技有限责任公司 Device and method for switching history browsing pages through gestures and storage medium
CN109948101A (en) * 2019-03-21 2019-06-28 Oppo广东移动通信有限公司 Page switching method, device, storage medium and electronic equipment
CN110650091A (en) * 2019-08-14 2020-01-03 平安普惠企业管理有限公司 Routing configuration information processing method and device, computer equipment and storage medium
CN110929190A (en) * 2019-09-23 2020-03-27 平安科技(深圳)有限公司 Page playing method and device, electronic equipment and storage medium
CN110889061A (en) * 2019-11-12 2020-03-17 望海康信(北京)科技股份公司 Webpage loading method and device
CN112286607A (en) * 2020-10-27 2021-01-29 北京奇艺世纪科技有限公司 View control method and device
CN112286607B (en) * 2020-10-27 2023-09-08 北京奇艺世纪科技有限公司 View control method and device
CN112612566A (en) * 2020-12-18 2021-04-06 北京达佳互联信息技术有限公司 Information display method and device and readable storage medium
CN117750108A (en) * 2023-12-01 2024-03-22 书行科技(北京)有限公司 Video page switching method, device, medium and equipment

Also Published As

Publication number Publication date
CN105094627B (en) 2018-06-29

Similar Documents

Publication Publication Date Title
CN105094627A (en) Browser page control method and device
CN105224225A (en) The changing method of details page and device
CN103294402A (en) Method and device for switching application interface of smart terminal
CN104850296B (en) Method and device for displaying page content
CN105528135A (en) Information presenting method and device and electronic apparatus
CN105094669A (en) Method and device for switching multiple tab pages of browser
US20150058787A1 (en) Swipe toolbar to switch tabs
CN102929540A (en) Desktop icon position adjusting method and mobile intelligent terminal
CN104166553A (en) Display method and electronic device
WO2019129039A1 (en) Application icon management method and related device
CN105378628A (en) Start and application navigation
CN104267872A (en) Application program APP information display method and device and mobile terminal
CN104462496A (en) Search method, device and mobile terminal
CN108153454B (en) Multi-touch switching method and device, storage medium and terminal equipment
CN105446641A (en) Touch screen icon one-hand operating method and system and mobile terminal
CN103414829A (en) Method, device and terminal device for controlling screen contents
CN104216639A (en) Terminal operation method
CN103473013A (en) Application interface adjusting method and mobile terminal
CN103870955B (en) The processing method and processing device of data in webpage
WO2018049603A1 (en) Control method, control apparatus and electronic apparatus
CN113268182A (en) Application icon management method and electronic equipment
KR102130037B1 (en) Method and device for handling input event using a stylus pen
CN104252288A (en) Browser and multi-label-page control method thereof
WO2012134479A1 (en) Augmenting user interface elements
CN109828714A (en) Switching method, device, storage medium and the electronic equipment of the page

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