CN105094669A - Method and device for switching multiple tab pages of browser - Google Patents

Method and device for switching multiple tab pages of browser Download PDF

Info

Publication number
CN105094669A
CN105094669A CN201510409175.2A CN201510409175A CN105094669A CN 105094669 A CN105094669 A CN 105094669A CN 201510409175 A CN201510409175 A CN 201510409175A CN 105094669 A CN105094669 A CN 105094669A
Authority
CN
China
Prior art keywords
page
shipping options
options page
sliding trace
target labels
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.)
Pending
Application number
CN201510409175.2A
Other languages
Chinese (zh)
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 CN201510409175.2A priority Critical patent/CN105094669A/en
Publication of CN105094669A publication Critical patent/CN105094669A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a method and a device for switching multiple tab pages of a browser. Wherein, the method comprises the following steps: determining a sliding track according to a sliding operation input by a user in a current page of the browser; judging whether the sliding track is a curve segment; if the sliding track is a curve segment, determining the rotation direction and the rotation angle of the sliding track according to the starting point and the end point of the sliding track; if the rotation angle exceeds a preset angle, determining a switching instruction of the sliding operation according to the rotation direction and a corresponding relation between the rotation direction and the switching instruction which is stored in advance; and acquiring the address information of the target label page according to the switching instruction of the sliding operation, and executing switching between the current page and the target label page based on the address information. According to the switching method of the browser multi-tab page, the user can realize switching between the tab pages through sliding operation, the operation steps of switching the tab pages by the user are reduced, and the efficiency of switching the tab pages is improved.

Description

The changing method of the many Shipping Options Pages of browser and device
Technical field
The present invention relates to mobile internet technical field, particularly relate to changing method and the device of the many Shipping Options Pages of a kind of browser.
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 getting online at any moment view Internet content in smart mobile phone.Most of mobile phone browser supports that many Shipping Options Pages (i.e. multiple window) are browsed, and user browses webpage by multiple Shipping Options Page, only shows current label page in usual mobile phone browser, and user can switch labels page according to demand.
At present, the general process of user switching tag page is: user clicks special pushbuttons (such as Shipping Options Page management button), enter Shipping Options Page administration interface, then user chooses corresponding Shipping Options Page to complete the switching of Shipping Options Page from Shipping Options Page administration interface.This shows, in the process of switch labels page, the required blocked operation performed of user is more, the inconvenience of user switching tag page, the poor user experience of user switching tag page thus cause multiwindow function utilization rate low, and browse efficiency is low.
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 changing method proposing the many Shipping Options Pages of a kind of browser, the method makes user can realize the switching between Shipping Options Page by slide, decrease the operation steps of user switching tag page, improve the efficiency of switch labels page, facilitate user's switch labels page quickly and easily, improve the Experience Degree of user.
Second object of the present invention is the switching device shifter proposing the many Shipping Options Pages of a kind of browser.
For achieving the above object, first aspect present invention embodiment proposes the changing method of the many Shipping Options Pages of a kind of browser, comprising: the slide determination sliding trace inputted in the current page of browser according to user; Judge whether described sliding trace is segment of curve; If described sliding trace is described segment of curve, then determine sense of rotation and the anglec of rotation of described sliding trace according to the starting point of described sliding trace and terminal; If the described anglec of rotation exceedes predetermined angle, then determine the switching command of described slide according to the corresponding relation of described sense of rotation and the sense of rotation of preserving in advance and switching command; And obtain the address information of target labels page according to the switching command of described slide, and perform the switching between described current page and described target labels page based on described address information.
Alternatively, the sense of rotation of described sliding trace comprises clockwise direction and counter clockwise direction, wherein, when the sense of rotation of described sliding trace is clockwise direction, the described switching command according to described slide obtains the address information of target labels page, and perform the switching between current page and described target labels page based on described address information, comprising: the Shipping Options Page determining described current page place from the Shipping Options Page historical record of described browser; Judge whether described Shipping Options Page is first Shipping Options Page recorded in described Shipping Options Page historical record, if described Shipping Options Page is not first Shipping Options Page recorded in described Shipping Options Page historical record, then described user is opened the last Shipping Options Page of the front opening of described Shipping Options Page as described target labels page; Obtain the address information of described target labels page, and according to described address information, the page is skipped to described target labels page.
Alternatively, described method, also comprises: if described Shipping Options Page is first Shipping Options Page recorded in described Shipping Options Page historical record, then using last Shipping Options Page of recording in described Shipping Options Page historical record as described target labels page.
Alternatively, when the sense of rotation of described sliding trace is clockwise direction, the described switching command according to described slide obtains the address information of target labels page, and perform the switching between current page and described target labels page based on described address information, comprising: the Shipping Options Page determining described current page place from the Shipping Options Page historical record of described browser; Judge whether described Shipping Options Page is last Shipping Options Page recorded in described Shipping Options Page historical record, if described Shipping Options Page is not last Shipping Options Page recorded in described Shipping Options Page historical record, then using the rear Shipping Options Page opened after described user opens described Shipping Options Page as described target labels page; Obtain the address information of described target labels page, and according to described address information, the page is skipped to described target labels page.
Alternatively, described method, also comprises: if described Shipping Options Page is last Shipping Options Page recorded in described Shipping Options Page historical record, then using first Shipping Options Page recording in described Shipping Options Page historical record as described target labels page.
Alternatively, described perform the switching between described current page and target labels page based on described address information before, also comprise: display comprises the preview page of the thumbnail of described current page and the thumbnail of described target labels page.
According to the changing method of the many Shipping Options Pages of the browser of the embodiment of the present invention, according to the slide determination sliding trace that user inputs in the current page of browser, then judge whether sliding trace is segment of curve, and when sliding trace is segment of curve, according to the starting point of sliding trace and the sense of rotation of terminal determination sliding trace and the anglec of rotation, and when the anglec of rotation exceedes predetermined angle, according to the switching command of the corresponding relation determination slide of sense of rotation and the sense of rotation of preserving in advance and switching command; And obtain the address information of target labels page according to the switching command of slide, and perform the switching between current page and target labels page based on address information.Thus, make user can realize the switching between Shipping Options Page by slide, decrease the operation steps of user switching tag page, improve the efficiency of switch labels page, facilitate user's switch labels page quickly and easily, improve the Experience Degree of user.
For achieving the above object, second aspect present invention embodiment proposes the switching device shifter of the many Shipping Options Pages of a kind of browser, comprising: the first determination module, for the slide determination sliding trace inputted in the current page of browser according to user; Judge module, for judging whether described sliding trace is segment of curve; Second determination module, user, when described sliding trace is described segment of curve, determines sense of rotation and the anglec of rotation of described sliding trace according to the starting point of described sliding trace and terminal; 3rd determination module, for when the described anglec of rotation exceedes predetermined angle, determines the switching command of described slide according to the corresponding relation of described sense of rotation and the sense of rotation of preserving in advance and switching command; And processing module, for obtaining the address information of target labels page according to the switching command of described slide, and perform the switching between described current page and described target labels page based on described address information.
Alternatively, the sense of rotation of described sliding trace comprises clockwise direction and counter clockwise direction, wherein, when the sense of rotation of described sliding trace is clockwise direction, described processing module, specifically for: the Shipping Options Page determining described current page place from the Shipping Options Page historical record of described browser; Judge whether described Shipping Options Page is first Shipping Options Page recorded in described Shipping Options Page historical record, if described Shipping Options Page is not first Shipping Options Page recorded in described Shipping Options Page historical record, then described user is opened the last Shipping Options Page of the front opening of described Shipping Options Page as described target labels page; Obtain the address information of described target labels page, and according to described address information, the page is skipped to described target labels page.
Alternatively, described processing module, also for: when described Shipping Options Page is first Shipping Options Page recorded in described Shipping Options Page historical record, using last Shipping Options Page of recording in described Shipping Options Page historical record as described target labels page.
Alternatively, when the sense of rotation of described sliding trace is clockwise direction, described processing module, specifically for: the Shipping Options Page determining described current page place from the Shipping Options Page historical record of described browser; Judge whether described Shipping Options Page is last Shipping Options Page recorded in described Shipping Options Page historical record, if described Shipping Options Page is not last Shipping Options Page recorded in described Shipping Options Page historical record, then using the rear Shipping Options Page opened after described user opens described Shipping Options Page as described target labels page; Obtain the address information of described target labels page, and according to described address information, the page is skipped to described target labels page.
Alternatively, described processing module, also for: when described Shipping Options Page is last Shipping Options Page recorded in described Shipping Options Page historical record, using first Shipping Options Page recording in described Shipping Options Page historical record as described target labels page.
Alternatively, described device, also comprise: display module, before performing the switching between described current page and target labels page in described processing module based on described address information, display comprises the preview page of the thumbnail of described current page and the thumbnail of described target labels page.
According to the switching device shifter of the many Shipping Options Pages of the browser of the embodiment of the present invention, by the slide determination sliding trace that the first determination module inputs in the current page of browser according to user, then judge module judges whether sliding trace is segment of curve, and when sliding trace is segment of curve, second determination module is according to the sense of rotation of the starting point of sliding trace and terminal determination sliding trace and the anglec of rotation, then, when the anglec of rotation exceedes predetermined angle, 3rd determination module is according to the switching command of the corresponding relation determination slide of sense of rotation and the sense of rotation of preserving in advance and switching command, and processing module obtains the address information of target labels page according to the switching command of slide, and perform the switching between current page and target labels page based on address information.Thus, make user can realize the switching between Shipping Options Page by slide, decrease the operation steps of user switching tag page, improve the efficiency of switch labels page, facilitate user's switch labels page quickly and easily, improve the Experience Degree of user.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the changing method of the many Shipping Options Pages of browser 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 one comprising the page of sliding trace shown in mobile phone browser.
Fig. 4 is the schematic diagram two that in mobile phone browser, display comprises the page of sliding trace.
Fig. 5 is the schematic diagram of the page of the last Shipping Options Page of accessing before the user of mobile phone browser display accesses current page.
Fig. 6 is the process flow diagram of the changing method of the many Shipping Options Pages of browser in accordance with another embodiment of the present invention.
Fig. 7 is the schematic diagram of the preview page of mobile phone browser display.
Fig. 8 is the structural representation of the switching device shifter of the many Shipping Options Pages of browser according to an embodiment of the invention.
Fig. 9 is the structural representation of the switching device shifter of the many Shipping Options Pages of browser according to an embodiment of the 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 changing method and the device of the many Shipping Options Pages of browser of the embodiment of the present invention are described.
Fig. 1 is the process flow diagram of the changing method of the many Shipping Options Pages of browser according to an embodiment of the invention.
As shown in Figure 1, the changing method of the many Shipping Options Pages of this browser comprises:
S101, according to the slide determination sliding trace that user inputs in the current page of browser.
Particularly, browse in the process of webpage user by mobile phone browser, can touch-control event on monitoring cell-phone browser current page, and monitor mobile phone browser current page has touch-control event time, the gesture input interface provided by mobile terminal touch screen determines the sliding trace that slide that user inputs is corresponding.
S102, judges whether sliding trace is segment of curve.
S103, if sliding trace is segment of curve, then according to the starting point of sliding trace and the sense of rotation of terminal determination sliding trace and the anglec of rotation.
Wherein, the sense of rotation of sliding trace comprises clockwise direction and counter clockwise direction.
Particularly, after judging that sliding trace is segment of curve, the sense of rotation of sliding trace can be determined according to the starting point of sliding trace through sliding trace to the direction of the terminal of sliding trace, and can determine according to the coordinate of the terminal of the coordinate of the starting point of sliding trace, sliding trace and sliding trace the anglec of rotation that sliding trace is formed.
Such as, assuming that the current page shown in mobile phone browser as shown in Figure 2, point in the process of the sliding trace of the formation semi-circular shape that slides on screen user by one, comprise the page of sliding trace as shown in Figure 3, the coordinate of record touch points, touch points is the starting point (the A point in Fig. 3 represents the starting point of sliding trace) of sliding trace, and the sliding trace obtained from touch points, and record the coordinate (the A point in Fig. 3 represents the terminal of sliding trace) of the terminal of sliding trace, to the direction of the terminal of sliding trace, starting point according to sliding trace can determine that the direction of current sliding trace is clockwise direction through sliding trace, the anglec of rotation of current sliding trace can be determined according to the coordinate of A point and the coordinate of B and sliding trace, assuming that the anglec of rotation of current sliding trace is 183 degree.
Again such as, assuming that the current page shown in mobile phone browser as shown in Figure 2, when user is slided on screen by two each and every one fingers, assuming that after two fingers leave touch-screen, the sliding trace that current slide is corresponding, as shown in Figure 4, A1 point in Fig. 4 represents the starting point of sliding trace 1, B1 point represents the terminal of sliding trace 1, A2 represents the starting point of sliding trace 2, B2 point represents the terminal of sliding trace 2, now, can determine that the sense of rotation of current sliding trace is clockwise direction, the anglec of rotation of current sliding trace is the anglec of rotation 1 of sliding trace 1 and the anglec of rotation sum of sliding trace 2, assuming that the anglec of rotation 1 of sliding trace 1 is 95 degree, the anglec of rotation 2 of sliding trace 2 is 91 degree, then the anglec of rotation of current sliding trace is 186 degree.
It should be noted that, sliding trace shown in Fig. 3 and Fig. 4 only for convenience, is only a kind of example, and in actual applications, sliding trace is not presented in interface.
S104, if the anglec of rotation exceedes predetermined angle, then according to the switching command of the corresponding relation determination slide of sense of rotation and the sense of rotation of preserving in advance and switching command.
Wherein, predetermined angle is the angle pre-set in system, and such as, predetermined angle is 180 degree.Such as, assuming that the corresponding relation of the sense of rotation of preserving in advance and switching command is: when sense of rotation is clockwise direction, corresponding switching command is for retreating instruction (being switched to last Shipping Options Page by current page); When sense of rotation is counter clockwise direction, corresponding switching command is advancement commands (after being switched to by current page a Shipping Options Page).Predetermined angle is 180 degree, determining that the sense of rotation of sliding trace is clockwise direction, can judge that whether the anglec of rotation of sliding trace is more than 180 degree further, assuming that the sense of rotation of sliding trace corresponding to current slide is 183 degree, thus, can judge that the sense of rotation of current sliding trace exceedes predetermined angle, now, can determine that the switching command that current slide is corresponding is retrogressing instruction according to the sense of rotation of current sliding trace and the corresponding relation preserved in advance.
S105, obtain the address information of target labels page, and the address information of based target Shipping Options Page performs the switching between current page and target labels page according to the switching command of slide.
In one embodiment of the present of invention, if determine that the switching command that current slide is corresponding is retrogressing instruction, namely the sense of rotation of current slide is clockwise direction, from the Shipping Options Page historical record of browser, then determine the Shipping Options Page at current page place, then judge whether this Shipping Options Page is first Shipping Options Page recorded in Shipping Options Page historical record, if this Shipping Options Page is not first Shipping Options Page recorded in Shipping Options Page historical record, then user is opened the last Shipping Options Page of the front opening of Shipping Options Page as target labels page; If this Shipping Options Page is first Shipping Options Page recorded in Shipping Options Page historical record, then using last Shipping Options Page of recording in Shipping Options Page historical record as target labels page.After determining target labels page, first can obtain the address information of target labels page, then according to the address information of this target labels page, the page be skipped to target labels page.
In addition, if determine that the switching command that current slide is corresponding is advancement commands, namely the sense of rotation of current slide is counterclockwise, then similarly, the Shipping Options Page at current page place can be determined from the Shipping Options Page historical record of browser, then, can judge whether this Shipping Options Page is last Shipping Options Page recorded in Shipping Options Page historical record, if this Shipping Options Page is not last Shipping Options Page recorded in Shipping Options Page historical record, then using the rear Shipping Options Page opened after user opens Shipping Options Page as target labels page; If Shipping Options Page is last Shipping Options Page recorded in Shipping Options Page historical record, then using first Shipping Options Page recording in Shipping Options Page historical record as target labels page.After determining target labels page, first can obtain the address information of target labels page, then according to the address information of this target labels page, the page be skipped to target labels page.
Such as, the current page shown in mobile phone browser as shown in Figure 2, assuming that the page of last Shipping Options Page that user accessed before the Shipping Options Page at access current page place as shown in Figure 5, assuming that user slides in touch screen screen, and sliding trace corresponding to slide as shown in Figure 4, and the anglec of rotation corresponding to sliding trace is 183 degree exceedes predetermined angle 180 degree, browser can determine that current slide meets the gesture of switch labels page, now, according to the sense of rotation of sliding trace, browser determines that the switching command that current slide is corresponding is retrogressing instruction, and Shipping Options Page historical record obtains last Shipping Options Page from browser, and using last Shipping Options Page as target labels page, then the address information of this target labels page is obtained, namely the address information of the page shown in Fig. 5 is obtained, and according to address information by page jump to target labels page.It should be noted that, in browser, the page of display-object Shipping Options Page is identical with Fig. 5.
In summary it can be seen, this embodiment proposes a kind of mode by gesture switch labels page, relative to existing mode of being carried out switch labels page by touch-control specific button, this embodiment can reduce the operation steps of user switching tag page, improve the efficiency of switch labels page, facilitate user and switch adjacent label page quickly and easily, and then the interactive experience between user and terminal can be improved.
The changing method of the many Shipping Options Pages of browser of the embodiment of the present invention, according to the slide determination sliding trace that user inputs in the current page of browser, then judge whether sliding trace is segment of curve, and when sliding trace is segment of curve, according to the starting point of sliding trace and the sense of rotation of terminal determination sliding trace and the anglec of rotation, and when the anglec of rotation exceedes predetermined angle, according to the switching command of the corresponding relation determination slide of sense of rotation and the sense of rotation of preserving in advance and switching command; And obtain the address information of target labels page according to the switching command of slide, and perform the switching between current page and target labels page based on address information.Thus, make user can realize the switching between Shipping Options Page by slide, decrease the operation steps of user switching tag page, improve the efficiency of switch labels page, facilitate user's switch labels page quickly and easily, improve the Experience Degree of user.
Fig. 6 is the process flow diagram of the changing method of the many Shipping Options Pages of browser in accordance with another embodiment of the present invention.
As shown in Figure 6, the changing method of the many Shipping Options Pages of this browser comprises:
S601, according to the slide determination sliding trace that user inputs in the current page of browser.
Particularly, browse in the process of webpage user by mobile phone browser, can touch-control event on monitoring cell-phone browser current page, and monitor mobile phone browser current page has touch-control event time, the gesture input interface provided by mobile terminal touch screen determines the sliding trace that slide that user inputs is corresponding.
S602, judges whether sliding trace is segment of curve.
S603, if sliding trace is segment of curve, then according to the starting point of sliding trace and the sense of rotation of terminal determination sliding trace and the anglec of rotation.
Wherein, the sense of rotation of sliding trace comprises clockwise direction and counter clockwise direction.
Particularly, after judging that sliding trace is segment of curve, the sense of rotation of sliding trace can be determined according to the starting point of sliding trace through sliding trace to the direction of the terminal of sliding trace, and can determine according to the coordinate of the terminal of the coordinate of the starting point of sliding trace, sliding trace and sliding trace the anglec of rotation that sliding trace is formed.
Such as, assuming that the current page shown in mobile phone browser as shown in Figure 2, point in the process of the sliding trace of the formation semi-circular shape that slides on screen user by one, comprise the page of sliding trace as shown in Figure 3, the coordinate of record touch points, touch points is the starting point (the A point in Fig. 3 represents the starting point of sliding trace) of sliding trace, and the sliding trace obtained from touch points, and record the coordinate (the A point in Fig. 3 represents the terminal of sliding trace) of the terminal of sliding trace, to the direction of the terminal of sliding trace, starting point according to sliding trace can determine that the direction of current sliding trace is clockwise direction through sliding trace, the anglec of rotation of current sliding trace can be determined according to the coordinate of A point and the coordinate of B and sliding trace, assuming that the anglec of rotation of current sliding trace is 183 degree.
Again such as, assuming that the current page shown in mobile phone browser as shown in Figure 2, when user is slided on screen by two each and every one fingers, assuming that after two fingers leave touch-screen, the sliding trace that current slide is corresponding, as shown in Figure 4, A1 point in Fig. 4 represents the starting point of sliding trace 1, B1 point represents the terminal of sliding trace 1, A2 represents the starting point of sliding trace 2, B2 point represents the terminal of sliding trace 2, now, can determine that the sense of rotation of current sliding trace is clockwise direction, the anglec of rotation of current sliding trace is the anglec of rotation 1 of sliding trace 1 and the anglec of rotation sum of sliding trace 2, assuming that the anglec of rotation 1 of sliding trace 1 is 95 degree, the anglec of rotation 2 of sliding trace 2 is 91 degree, then the anglec of rotation of current sliding trace is 186 degree.
It should be noted that, sliding trace shown in Fig. 3 and Fig. 4 only for convenience, is only a kind of example, and in actual applications, sliding trace is not presented in interface.
S604, if the anglec of rotation exceedes predetermined angle, then according to the switching command of the corresponding relation determination slide of sense of rotation and the sense of rotation of preserving in advance and switching command.
Wherein, predetermined angle is the angle pre-set in system, and such as, predetermined angle is 180 degree.Such as, assuming that the corresponding relation of the sense of rotation of preserving in advance and switching command is: when sense of rotation is clockwise direction, corresponding switching command is for retreating instruction (being switched to last Shipping Options Page by current page); When sense of rotation is counter clockwise direction, corresponding switching command is advancement commands (after being switched to by current page a Shipping Options Page).Predetermined angle is 180 degree, determining that the sense of rotation of sliding trace is clockwise direction, can judge that whether the anglec of rotation of sliding trace is more than 180 degree further, assuming that the sense of rotation of sliding trace corresponding to current slide is 183 degree, thus, can judge that the sense of rotation of current sliding trace exceedes predetermined angle, now, can determine that the switching command that current slide is corresponding is retrogressing instruction according to the sense of rotation of current sliding trace and the corresponding relation preserved in advance.
S605, obtains the address information of target labels page according to the switching command of slide.
S606, display comprises the preview page of the thumbnail of current page and the thumbnail of target labels page.
In one embodiment of the present of invention, if determine that the switching command that current slide is corresponding is retrogressing instruction, namely the sense of rotation of current slide is clockwise direction, from the Shipping Options Page historical record of browser, then determine the Shipping Options Page at current page place, then judge whether this Shipping Options Page is first Shipping Options Page recorded in Shipping Options Page historical record, if this Shipping Options Page is not first Shipping Options Page recorded in Shipping Options Page historical record, then user is opened the last Shipping Options Page of the front opening of Shipping Options Page as target labels page; If this Shipping Options Page is first Shipping Options Page recorded in Shipping Options Page historical record, then using last Shipping Options Page of recording in Shipping Options Page historical record as target labels page.
In addition, if determine that the switching command that current slide is corresponding is advancement commands, namely the sense of rotation of current slide is counterclockwise, then similarly, the Shipping Options Page at current page place can be determined from the Shipping Options Page historical record of browser, then, can judge whether this Shipping Options Page is last Shipping Options Page recorded in Shipping Options Page historical record, if this Shipping Options Page is not last Shipping Options Page recorded in Shipping Options Page historical record, then using the rear Shipping Options Page opened after user opens Shipping Options Page as target labels page; If Shipping Options Page is last Shipping Options Page recorded in Shipping Options Page historical record, then using first Shipping Options Page recording in Shipping Options Page historical record as target labels page.
Particularly, after determining target labels page, the thumbnail of current page and the thumbnail of target labels page can be obtained from the storage space of the thumbnail of the Shipping Options Page preserved Shipping Options Page administration interface, then load and show the preview page of the thumbnail of thumbnail and the target labels page comprising current page, to facilitate user's preview to be about to the Shipping Options Page be switched to, user is allowed to experience the handoff procedure of Shipping Options Page intuitively.
It should be noted that, preview page only shows Preset Time, and such as, Preset Time is 50ms, and namely preview page can show 50ms, does not operate preview page, can perform step S607 if monitor user within the time that preview page shows.
S607, according to the address information of target labels page by page jump to target labels page.
Such as, the current page shown in mobile phone browser as shown in Figure 2, assuming that the page of last Shipping Options Page that user accessed before the Shipping Options Page at access current page place as shown in Figure 5, assuming that user slides in touch screen screen, and sliding trace corresponding to slide as shown in Figure 4, and the anglec of rotation corresponding to sliding trace is 183 degree exceedes predetermined angle 180 degree, browser can determine that current slide meets the gesture of switch labels page, now, according to the sense of rotation of sliding trace, browser determines that the switching command that current slide is corresponding is retrogressing instruction, and Shipping Options Page historical record obtains last Shipping Options Page from browser, and using last Shipping Options Page as target labels page, then the address information of this target labels page is obtained, namely the address information of the page shown in Fig. 5 is obtained, and obtain the thumbnail of current page and the thumbnail of target labels page, and load and show the preview page of the thumbnail of thumbnail and the target labels page comprising current page, the form of the preview page shown in browser as shown in Figure 7, if user in the Preset Time that preview page shows without any operation, according to the address information of target labels page by page jump to target labels page.It should be noted that, in browser, the page of display-object Shipping Options Page is identical with Fig. 5.
The changing method of the many Shipping Options Pages of browser of the embodiment of the present invention, can according to the slide switch labels page of user, and in the process of switch labels, the preview page of the thumbnail of thumbnail and the target labels page comprising current page can be shown, facilitate the target labels page that user's preview is about to be switched to, the mode by slide switch labels page of this embodiment, make user can realize the switching between Shipping Options Page by slide, decrease the operation steps of user switching tag page, improve the efficiency of switch labels page, facilitate user's switch labels page quickly and easily, improve the Experience Degree of user.
In order to realize above-described embodiment, the present invention also proposes the switching device shifter of the many Shipping Options Pages of a kind of browser.
Fig. 8 is the structural representation of the switching device shifter of the many Shipping Options Pages of browser according to an embodiment of the invention.
As shown in Figure 8, the switching device shifter of the many Shipping Options Pages of this browser comprises the first determination module 110, judge module 120, second determination module 130, the 3rd determination module 140 and processing module 150, wherein:
The slide determination sliding trace of the first determination module 110 for inputting in the current page of browser according to user; Judge module 120 is for judging whether sliding trace is segment of curve; Second determination module 130 user when sliding trace is segment of curve, according to the starting point of sliding trace and the sense of rotation of terminal determination sliding trace and the anglec of rotation; 3rd determination module 140 for when the anglec of rotation exceedes predetermined angle, according to the switching command of the corresponding relation determination slide of sense of rotation and the sense of rotation of preserving in advance and switching command; And processing module 150 is for obtaining the address information of target labels page according to the switching command of slide, and perform the switching between current page and target labels page based on address information.
Wherein, the sense of rotation of sliding trace comprises clockwise direction and counter clockwise direction, wherein,
Particularly, after judge module 120 judges that sliding trace is segment of curve, second determination module 130 determines the sense of rotation of sliding trace to the direction of the terminal of sliding trace through sliding trace according to the starting point of sliding trace, and can determine according to the coordinate of the coordinate of the starting point of sliding trace, the terminal of sliding trace and sliding trace the anglec of rotation that sliding trace is formed.
Wherein, predetermined angle is the angle pre-set in system, and such as, predetermined angle is 180 degree.Such as, assuming that the corresponding relation of the sense of rotation of preserving in advance and switching command is: when sense of rotation is clockwise direction, corresponding switching command is for retreating instruction (being switched to last Shipping Options Page by current page); When sense of rotation is counter clockwise direction, corresponding switching command is advancement commands (after being switched to by current page a Shipping Options Page).Predetermined angle is 180 degree, determine that the sense of rotation of sliding trace is clockwise direction at the second determination module 130, judge that whether the anglec of rotation of sliding trace is more than 180 degree further by judge module 120, assuming that the sense of rotation of sliding trace corresponding to current slide is 183 degree, thus, can judge that the sense of rotation of current sliding trace exceedes predetermined angle, now, according to the sense of rotation of current sliding trace and the corresponding relation preserved in advance, the 3rd determination module 140 can determine that the switching command that current slide is corresponding is retrogressing instruction.
In one embodiment of the present of invention, if determine that the switching command that current slide is corresponding is retrogressing instruction, namely the sense of rotation of current slide is clockwise direction, now, processing module 150 can determine the Shipping Options Page at current page place from the Shipping Options Page historical record of browser, then judge whether this Shipping Options Page is first Shipping Options Page recorded in Shipping Options Page historical record, if this Shipping Options Page is not first Shipping Options Page recorded in Shipping Options Page historical record, then user is opened the last Shipping Options Page of the front opening of Shipping Options Page as target labels page; If this Shipping Options Page is first Shipping Options Page recorded in Shipping Options Page historical record, then using last Shipping Options Page of recording in Shipping Options Page historical record as target labels page.Then, processing module 150 obtains the address information of target labels page, and according to the address information of this target labels page, the page is skipped to target labels page.
In addition, if determine that the switching command that current slide is corresponding is advancement commands, namely the sense of rotation of current slide is counterclockwise, then similarly, processing module 150 can determine the Shipping Options Page at current page place from the Shipping Options Page historical record of browser, then, can judge whether this Shipping Options Page is last Shipping Options Page recorded in Shipping Options Page historical record, if this Shipping Options Page is not last Shipping Options Page recorded in Shipping Options Page historical record, then using the rear Shipping Options Page opened after user opens Shipping Options Page as target labels page; If Shipping Options Page is last Shipping Options Page recorded in Shipping Options Page historical record, then using first Shipping Options Page recording in Shipping Options Page historical record as target labels page.Processing module 150, after determining target labels page, also can obtain the address information of target labels page, and according to the address information of this target labels page, the page is skipped to target labels page.
Such as, the current page shown in mobile phone browser as shown in Figure 2, assuming that the page of last Shipping Options Page that user accessed before the Shipping Options Page at access current page place as shown in Figure 5, assuming that user slides in touch screen screen, and sliding trace corresponding to slide as shown in Figure 4, and the anglec of rotation corresponding to sliding trace is 183 degree exceedes predetermined angle 180 degree, determine to determine according to sense of rotation and the sense of rotation of preserving in advance and the corresponding relation of switching command that switching command that current slide is corresponding is for after retreating instruction at the 3rd determination module 140, processing module 150 can obtain last Shipping Options Page by Shipping Options Page historical record from browser, and using last Shipping Options Page as target labels page, then the address information of this target labels page is obtained, namely the address information of the page shown in Fig. 5 is obtained, and according to address information by page jump to target labels page.It should be noted that, in browser, the page of display-object Shipping Options Page is identical with Fig. 5.
In addition, conveniently user's preview is about to the target labels page that is switched to, as shown in Figure 9, said apparatus can also comprise display module 160, this display module, before performing the switching between current page and target labels page in processing module 150 based on address information, display comprises the preview page of the thumbnail of current page and the thumbnail of target labels page.
It should be noted that, the explanation of the embodiment of the aforementioned changing method to the many Shipping Options Pages of browser illustrates and the switching device shifter being also applicable to the many Shipping Options Pages of browser of this embodiment repeats no more herein.
The switching device shifter of the many Shipping Options Pages of browser of the embodiment of the present invention, by the slide determination sliding trace that the first determination module inputs in the current page of browser according to user, then judge module judges whether sliding trace is segment of curve, and when sliding trace is segment of curve, second determination module is according to the sense of rotation of the starting point of sliding trace and terminal determination sliding trace and the anglec of rotation, then, when the anglec of rotation exceedes predetermined angle, 3rd determination module is according to the switching command of the corresponding relation determination slide of sense of rotation and the sense of rotation of preserving in advance and switching command, and processing module obtains the address information of target labels page according to the switching command of slide, and perform the switching between current page and target labels page based on address information.Thus, make user can realize the switching between Shipping Options Page by slide, decrease the operation steps of user switching tag page, improve the efficiency of switch labels page, facilitate user's switch labels page quickly and easily, improve the Experience Degree of user.
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 (12)

1. a changing method for the many Shipping Options Pages of browser, is characterized in that, comprising:
According to the slide determination sliding trace that user inputs in the current page of browser;
Judge whether described sliding trace is segment of curve;
If described sliding trace is described segment of curve, then determine sense of rotation and the anglec of rotation of described sliding trace according to the starting point of described sliding trace and terminal;
If the described anglec of rotation exceedes predetermined angle, then determine the switching command of described slide according to the corresponding relation of described sense of rotation and the sense of rotation of preserving in advance and switching command; And
Obtain the address information of target labels page according to the switching command of described slide, and perform the switching between described current page and described target labels page based on described address information.
2. method according to claim 1, is characterized in that, the sense of rotation of described sliding trace comprises clockwise direction and counter clockwise direction, wherein,
When the sense of rotation of described sliding trace is clockwise direction, the described switching command according to described slide obtains the address information of target labels page, and performs the switching between current page and described target labels page based on described address information, comprising:
The Shipping Options Page at described current page place is determined from the Shipping Options Page historical record of described browser;
Judge whether described Shipping Options Page is first Shipping Options Page recorded in described Shipping Options Page historical record, if described Shipping Options Page is not first Shipping Options Page recorded in described Shipping Options Page historical record, then described user is opened the last Shipping Options Page of the front opening of described Shipping Options Page as described target labels page;
Obtain the address information of described target labels page, and according to described address information, the page is skipped to described target labels page.
3. method according to claim 2, is characterized in that, also comprises:
If described Shipping Options Page is first Shipping Options Page recorded in described Shipping Options Page historical record, then using last Shipping Options Page of recording in described Shipping Options Page historical record as described target labels page.
4. method according to claim 2, it is characterized in that, when the sense of rotation of described sliding trace is clockwise direction, the described switching command according to described slide obtains the address information of target labels page, and perform the switching between current page and described target labels page based on described address information, comprising:
The Shipping Options Page at described current page place is determined from the Shipping Options Page historical record of described browser;
Judge whether described Shipping Options Page is last Shipping Options Page recorded in described Shipping Options Page historical record, if described Shipping Options Page is not last Shipping Options Page recorded in described Shipping Options Page historical record, then using the rear Shipping Options Page opened after described user opens described Shipping Options Page as described target labels page;
Obtain the address information of described target labels page, and according to described address information, the page is skipped to described target labels page.
5. method according to claim 4, is characterized in that, also comprises:
If described Shipping Options Page is last Shipping Options Page recorded in described Shipping Options Page historical record, then using first Shipping Options Page recording in described Shipping Options Page historical record as described target labels page.
6. the method according to any one of claim 1-5, is characterized in that, described perform the switching between described current page and target labels page based on described address information before, also comprise:
Display comprises the preview page of the thumbnail of described current page and the thumbnail of described target labels page.
7. a switching device shifter for the many Shipping Options Pages of browser, is characterized in that, comprising:
First determination module, for the slide determination sliding trace inputted in the current page of browser according to user;
Judge module, for judging whether described sliding trace is segment of curve;
Second determination module, user, when described sliding trace is described segment of curve, determines sense of rotation and the anglec of rotation of described sliding trace according to the starting point of described sliding trace and terminal;
3rd determination module, for when the described anglec of rotation exceedes predetermined angle, determines the switching command of described slide according to the corresponding relation of described sense of rotation and the sense of rotation of preserving in advance and switching command; And
Processing module, for obtaining the address information of target labels page according to the switching command of described slide, and performs the switching between described current page and described target labels page based on described address information.
8. device according to claim 7, is characterized in that, the sense of rotation of described sliding trace comprises clockwise direction and counter clockwise direction, wherein,
When the sense of rotation of described sliding trace is clockwise direction, described processing module, specifically for:
The Shipping Options Page at described current page place is determined from the Shipping Options Page historical record of described browser;
Judge whether described Shipping Options Page is first Shipping Options Page recorded in described Shipping Options Page historical record, if described Shipping Options Page is not first Shipping Options Page recorded in described Shipping Options Page historical record, then described user is opened the last Shipping Options Page of the front opening of described Shipping Options Page as described target labels page;
Obtain the address information of described target labels page, and according to described address information, the page is skipped to described target labels page.
9. device according to claim 8, is characterized in that, described processing module, also for:
When described Shipping Options Page is first Shipping Options Page recorded in described Shipping Options Page historical record, using last Shipping Options Page of recording in described Shipping Options Page historical record as described target labels page.
10. device according to claim 8, is characterized in that, when the sense of rotation of described sliding trace is clockwise direction, and described processing module, specifically for:
The Shipping Options Page at described current page place is determined from the Shipping Options Page historical record of described browser;
Judge whether described Shipping Options Page is last Shipping Options Page recorded in described Shipping Options Page historical record, if described Shipping Options Page is not last Shipping Options Page recorded in described Shipping Options Page historical record, then using the rear Shipping Options Page opened after described user opens described Shipping Options Page as described target labels page;
Obtain the address information of described target labels page, and according to described address information, the page is skipped to described target labels page.
11. devices according to claim 10, is characterized in that, described processing module, also for:
When described Shipping Options Page is last Shipping Options Page recorded in described Shipping Options Page historical record, using first Shipping Options Page recording in described Shipping Options Page historical record as described target labels page.
12. devices according to any one of claim 7-11, is characterized in that, also comprise:
Display module, before performing the switching between described current page and target labels page in described processing module based on described address information, display comprises the preview page of the thumbnail of described current page and the thumbnail of described target labels page.
CN201510409175.2A 2015-07-13 2015-07-13 Method and device for switching multiple tab pages of browser Pending CN105094669A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510409175.2A CN105094669A (en) 2015-07-13 2015-07-13 Method and device for switching multiple tab pages of browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510409175.2A CN105094669A (en) 2015-07-13 2015-07-13 Method and device for switching multiple tab pages of browser

Publications (1)

Publication Number Publication Date
CN105094669A true CN105094669A (en) 2015-11-25

Family

ID=54575237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510409175.2A Pending CN105094669A (en) 2015-07-13 2015-07-13 Method and device for switching multiple tab pages of browser

Country Status (1)

Country Link
CN (1) CN105094669A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775417A (en) * 2016-12-28 2017-05-31 珠海市魅族科技有限公司 Terminal equipment control method and system
CN106775708A (en) * 2016-12-13 2017-05-31 北京小米移动软件有限公司 The page layout switch control method and device of mobile terminal
CN109101175A (en) * 2018-06-27 2018-12-28 珠海格力电器股份有限公司 A kind of exchange method and its interactive device of electronic product desktop
CN110052030A (en) * 2019-04-26 2019-07-26 腾讯科技(深圳)有限公司 Vivid setting method, device and the storage medium of virtual role
CN110442278A (en) * 2019-07-08 2019-11-12 清华大学 The method of singlehanded oblique line operation control panel
CN113760170A (en) * 2021-11-09 2021-12-07 深圳市活力天汇科技股份有限公司 APP page quick jump method, device, equipment and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092496A (en) * 2011-11-02 2013-05-08 腾讯科技(深圳)有限公司 Browser control method, browser control device and mobile equipment
CN104199603A (en) * 2014-08-28 2014-12-10 北京金山安全软件有限公司 Browser webpage control method and device and terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092496A (en) * 2011-11-02 2013-05-08 腾讯科技(深圳)有限公司 Browser control method, browser control device and mobile equipment
CN104199603A (en) * 2014-08-28 2014-12-10 北京金山安全软件有限公司 Browser webpage control method and device and terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775708A (en) * 2016-12-13 2017-05-31 北京小米移动软件有限公司 The page layout switch control method and device of mobile terminal
CN106775417A (en) * 2016-12-28 2017-05-31 珠海市魅族科技有限公司 Terminal equipment control method and system
CN106775417B (en) * 2016-12-28 2020-03-20 珠海市魅族科技有限公司 Terminal device control method and system
CN109101175A (en) * 2018-06-27 2018-12-28 珠海格力电器股份有限公司 A kind of exchange method and its interactive device of electronic product desktop
CN110052030A (en) * 2019-04-26 2019-07-26 腾讯科技(深圳)有限公司 Vivid setting method, device and the storage medium of virtual role
CN110052030B (en) * 2019-04-26 2021-10-29 腾讯科技(深圳)有限公司 Image setting method and device of virtual character and storage medium
CN110442278A (en) * 2019-07-08 2019-11-12 清华大学 The method of singlehanded oblique line operation control panel
CN113760170A (en) * 2021-11-09 2021-12-07 深圳市活力天汇科技股份有限公司 APP page quick jump method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN105094669A (en) Method and device for switching multiple tab pages of browser
US8212785B2 (en) Object search method and terminal having object search function
US20150020035A1 (en) Method, apparatus and mobile terminal for controlling an application interface by means of a gesture
US9569004B2 (en) Swipe toolbar to switch tabs
CN105094627A (en) Browser page control method and device
CN104156410A (en) Method, system and device for providing application programs
US20180239777A1 (en) Method and apparatus for dissolving folder and mobile terminal
CN106155675A (en) The page switching method of application program and device
CN105528135A (en) Information presenting method and device and electronic apparatus
CN105302458A (en) Message display method and apparatus
US20130063446A1 (en) Scenario Based Animation Library
CN106909281A (en) One kind application inner boundary changing method and device
CN104462496A (en) Search method, device and mobile terminal
CN107272984A (en) Application icon preview method and device and electronic equipment
CN105446641A (en) Touch screen icon one-hand operating method and system and mobile terminal
CN112579187A (en) Optimization method and device for cold start of application program
US20110107256A1 (en) Zooming Task Management
WO2018049603A1 (en) Control method, control apparatus and electronic apparatus
CN104182533B (en) Browser label switching method and device and terminal
CN105573579A (en) Search bar operation method and terminal
CN105739771A (en) Display interface management method and device as well as terminal
CN104317492A (en) Wallpaper setting method
CN104238879A (en) Method and device for moving window of application program
CN104516623A (en) Interactive object display control method based on intelligent terminal and intelligent terminal
CN104391633A (en) Device control method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20151125