CN104182533B - A kind of browser label switching method, apparatus and terminal - Google Patents

A kind of browser label switching method, apparatus and terminal Download PDF

Info

Publication number
CN104182533B
CN104182533B CN201410433223.7A CN201410433223A CN104182533B CN 104182533 B CN104182533 B CN 104182533B CN 201410433223 A CN201410433223 A CN 201410433223A CN 104182533 B CN104182533 B CN 104182533B
Authority
CN
China
Prior art keywords
label
operating gesture
browser
display interface
target labels
Prior art date
Application number
CN201410433223.7A
Other languages
Chinese (zh)
Other versions
CN104182533A (en
Inventor
艾知奇
孟令宇
Original Assignee
北京金山安全软件有限公司
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 北京金山安全软件有限公司 filed Critical 北京金山安全软件有限公司
Priority to CN201410433223.7A priority Critical patent/CN104182533B/en
Publication of CN104182533A publication Critical patent/CN104182533A/en
Application granted granted Critical
Publication of CN104182533B publication Critical patent/CN104182533B/en

Links

Abstract

The embodiment of the invention discloses a kind of browser label switching method, including:Receive the operating gesture that user inputs in browser display interface;Whether the input area for judging the operating gesture is to specify region;If being judged as YES, according to the label and the operating gesture currently chosen, the target labels of label switching are determined;Switch to the target labels.The embodiment of the invention also discloses a kind of browser label switching device and a kind of terminal.Using the present invention, the efficiency of label switching can be improved.

Description

A kind of browser label switching method, apparatus and terminal

Technical field

The present invention relates to Internet technical field, more particularly to a kind of browser label switching method, apparatus and terminal.

Background technology

With the development of Internet technology, more and more browsers start to support multi-tag pattern, i.e. user can be A point multiple labels open multiple webpages in same browser window, are switched over easy to user between different webpages.

At present, browser, it is necessary to which user clicks on tagged manner switch labels using mouse under multi-tag pattern, cut by label That changes is less efficient.

The content of the invention

Technical problem to be solved of the embodiment of the present invention is, there is provided a kind of browser label switching method, apparatus and Terminal, can improve label switching efficiency.

In order to solve the above-mentioned technical problem, an embodiment of the present invention provides a kind of browser label switching method, including:

Receive the operating gesture that user inputs in browser display interface;

Whether the input area for judging the operating gesture is to specify region;

If being judged as YES, according to the label and the operating gesture currently chosen, the target labels of label switching are determined;

Switch to the target labels.

Wherein, the operating gesture includes:

The touch of roll mouse roller, sliding mouse or the touch-screen to showing the browser display interface is slided.

Wherein, the specified region includes:

Tab bar region;Or,

Region set in advance in the browser display interface.

Wherein, according to the label and the operating gesture currently chosen, the target labels of label switching are determined, including:

Determine the corresponding control instruction of the operating gesture;

According to the label and the control instruction currently chosen, the target labels of label switching are determined.

Wherein, the control instruction includes:

Switch to next label or switch to a label.

Wherein, the label and the control instruction that the basis is currently chosen, determine the target labels of label switching, bag Include:

When the label currently chosen is first label in browser display interface, and the corresponding control of the operating gesture System instruction is when switching to a label, and it is last label in browser display interface to determine the target labels.

Wherein, the label and the control instruction that the basis is currently chosen, determine the target labels of label switching, bag Include:

When the label currently chosen is last label in browser display interface, and the operating gesture is corresponding Control instruction is when switching to next label, and it is first label in browser display interface to determine the target labels.

Wherein, after the operating gesture for receiving user and being inputted in browser display interface, the manipulator is judged Whether the input area of gesture is before specifying region, is further included:

Judge whether the operating gesture is effective operating gesture;

If being judged as YES, execution judges whether the input area of the operating gesture is the step of specifying region.

Wherein, it is described to switch to after the target labels, further include:

Show the corresponding webpage of the target labels.

Correspondingly, the embodiment of the present invention additionally provides a kind of browser label switching device, including:

Receiving module, the operating gesture inputted for receiving user in browser display interface;

First judgment module, whether the input area for judging the operating gesture is to specify region;

Determining module, for when first judgment module is judged as YES, according to the label currently chosen and described Operating gesture, determines the target labels of label switching;

Handover module, for switching to the target labels.

Wherein, the operating gesture includes:

The touch of roll mouse roller, sliding mouse or the touch-screen to showing the browser display interface is slided.

Wherein, the specified region includes:

Tab bar region;Or,

Region set in advance in the browser display interface.

Wherein, the determining module includes:

First determination unit, for determining the corresponding control instruction of the operating gesture;

Second determination unit, the label currently chosen for basis and the control instruction, determine the mesh of label switching Mark label.

Wherein, the control instruction includes:

Switch to next label or switch to a label.

Wherein, the determining module is specifically used for, when the label currently chosen is first in browser display interface Label, and the corresponding control instruction of the operating gesture is when switching to a label, determines the target labels to browse Last label in device display interface.

Wherein, the determining module is specifically used for, when the label currently chosen is last in browser display interface A label, and the corresponding control instruction of the operating gesture is when switching to next label, it is clear to determine the target labels First label look in device display interface.

Wherein, further include:

Second judgment module, for receiving the operation that user inputs in browser display interface when the receiving module After gesture, judge whether the operating gesture is effective operating gesture;

First judgment module is specifically used for, and when second judgment module is judged as YES, judges the manipulator Whether the input area of gesture is to specify region.

Wherein, further include:

Display module, for showing the corresponding webpage of the target labels.

Correspondingly, the embodiment of the present invention additionally provides a kind of terminal, including above-mentioned browser label switching device.

Implement the embodiment of the present invention, have the advantages that:

When receiving the operating gesture that user inputs in browser display interface, by judging the defeated of the operating gesture Enter whether region is to specify region, and then when the determination result is yes, according to the label currently chosen, and the operating gesture is true The target labels of label switching are determined, so that the target labels are switched to, since user is without clicking on target mark in label switching Label, so as to improve the efficiency of label switching.

Brief description of the drawings

In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with Other attached drawings are obtained according to these attached drawings.

Fig. 1 is a kind of flow diagram of browser label switching method provided in an embodiment of the present invention;

Fig. 2 is the flow diagram of another browser label switching method provided in an embodiment of the present invention;

Fig. 3 is the flow diagram of another browser label switching method provided in an embodiment of the present invention;

Fig. 4 is the flow diagram of another browser label switching method provided in an embodiment of the present invention;

Fig. 5 is a kind of structure diagram of browser label switching device provided in an embodiment of the present invention;

Fig. 6 is the structure diagram of another browser label switching device provided in an embodiment of the present invention;

Fig. 7 is the structure diagram of another browser label switching device provided in an embodiment of the present invention;

Fig. 8 is the structure diagram of another browser label switching device provided in an embodiment of the present invention;

Fig. 9 is the structure diagram of another browser label switching device provided in an embodiment of the present invention.

Embodiment

Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts Embodiment, belongs to the scope of protection of the invention.

, can be with as shown in Figure 1, be a kind of flow diagram of browser label switching method provided in an embodiment of the present invention Comprise the following steps:

Step 101, receive the operating gesture that user inputs in browser display interface.

In the embodiment of the present invention, the method can be applied to browsing for the equipment such as computer, smart mobile phone, tablet computer In device software, correspondingly, user can be roll mouse roller, slide mouse in the operating gesture that browser display interface inputs Mark, to show browser display interface touch-screen touch slide etc., for convenience of description, the embodiment of the present invention using computer as Example.But it should explanation, the embodiment of the present invention is not limited to apply in a computer, every to implement the embodiment of the present invention Equipment belong to the scope of protection needed for the embodiment of the present invention.

In the embodiment of the present invention, when user using browser access webpage when, if user opened in the same window it is more A different label, user can be by operating gestures come switch labels, such as roll mouse roller, sliding mouse, clear to showing Look at device display interface touch-screen touch slide etc., without by way of clicking on respective labels come switch labels.

Step 102, judge the operating gesture input area whether be specify region.If being judged as YES, step is gone to 103;Otherwise, current process is terminated.

As an alternative embodiment, this, which specifies region, to be tab bar region, when user is visited using browser , can be advance by being inputted in tab bar region if user opens multiple and different labels in the same window when asking webpage The operating gesture of setting carrys out switch labels.For example, user can be by tab bar region roll mouse roller, to realize label Switching.

As another optional embodiment, it can be area set in advance in browser display interface that this, which specifies region, Domain, such as the square region of designated position (such as upper right corner) a certain default size in browser display interface, when user's use browses , can be by showing boundary in the browser if user opens multiple and different labels in the same window when device accesses webpage Region input set in advance operating gesture set in advance carrys out switch labels in face.For example, user can be by browsing at this (or left and right) sliding mouse, or slide finger (being directed to touch panel device) up and down in region set in advance in device display interface, To realize label switching.

In the embodiment of the present invention, when receiving operating gesture that user inputs in browser display interface, it is necessary to first sentence Whether the input area of the disconnected operating gesture is to specify region, if so, the follow-up process of browser label switching is then continued to execute, Otherwise it is assumed that the operating gesture is not the operating gesture for browser label switching, terminate current process.

The label and the operating gesture that step 103, basis are currently chosen, determine the target labels of label switching.

Step 104, switch to the target labels.

In the embodiment of the present invention, when the operating gesture for receiving user and being inputted in browser display interface, and determine should The input area of operating gesture is that the label that can currently be chosen according to browser, i.e. browser is currently shown when specifying region The corresponding label of webpage shown in interface, and the operating gesture, determine the target labels of label switching, as currently chosen The upper label of label, next label etc., and switch to the target labels.

In the described method flows of Fig. 1, user can be realized by way of inputting operating gesture in specified region Label switching, improves the efficiency of browser label switching.

As shown in Fig. 2, for the flow diagram of another browser label switching method provided in an embodiment of the present invention, can To comprise the following steps:

Step 201, receive the operating gesture that user inputs in browser display interface.

In the embodiment of the present invention, operating gesture that user is inputted in browser display interface can be roll mouse roller, Sliding mouse, to show browser display interface touch-screen touch slide etc..

In the embodiment of the present invention, when user using browser access webpage when, if user opened in the same window it is more A different label, user can be by operating gestures come switch labels, such as roll mouse roller, sliding mouse, clear to showing Look at device display interface touch-screen touch slide etc., without by way of clicking on respective labels come switch labels.

Step 202, judge the operating gesture input area whether be specify region.If being judged as YES, step is gone to 203;Otherwise, current process is terminated.

As an alternative embodiment, this, which specifies region, to be tab bar region, when user is visited using browser , can be advance by being inputted in tab bar region if user opens multiple and different labels in the same window when asking webpage The operating gesture of setting carrys out switch labels.For example, user can be by tab bar region roll mouse roller, to realize label Switching.

As another optional embodiment, it can be area set in advance in browser display interface that this, which specifies region, Domain, such as the square region of designated position (such as upper right corner) a certain default size in browser display interface, when user's use browses , can be by showing boundary in the browser if user opens multiple and different labels in the same window when device accesses webpage Region input set in advance operating gesture set in advance carrys out switch labels in face.For example, user can be by browsing at this (or left and right) sliding mouse, or slide finger (being directed to touch panel device) up and down in region set in advance in device display interface, To realize label switching.

In the embodiment of the present invention, when receiving operating gesture that user inputs in browser display interface, it is necessary to first sentence Whether the input area of the disconnected operating gesture is to specify region, if so, the follow-up process of browser label switching is then continued to execute, Otherwise it is assumed that the operating gesture is not the operating gesture for browser label switching, terminate current process.

Step 203, determine the corresponding control instruction of the operating gesture.

In the embodiment of the present invention, it can be pre-configured with and store the operating gesture inputted in specified region and control instruction Correspondence, when receiving user in the operating gesture inputted in specifying region, can inquire about itself according to the operating gesture The operating gesture of storage and the correspondence of control instruction, to determine the corresponding control instruction of the operating gesture, such as switch to down One label, switch to label etc..

For example, the operating gesture that can preset user in tab bar region rolls forward mouse roller is corresponding Control instruction is switches to a label, and the corresponding control instruction of the operating gesture of roll mouse roller is to switch to down backward One label.In this scenario, can be true when receiving user in the operating gesture of label area rolls forward mouse roller The corresponding control instruction of the fixed operating gesture is to switch to a label.

Again for example, user's upward sliding in region set in advance in browser display interface can be preset The corresponding control instruction of operating gesture of finger is to switch to a label, the corresponding control of operating gesture of slide downward finger System instruction is to switch to next label.In this scenario, when receive user in browser display interface it is set in advance In region during slide downward finger, it may be determined that the corresponding control instruction of the operating gesture is to switch to next label.

The label and the control instruction that step 204, basis are currently chosen, determine the target labels of the label switching.

Step 205, switch to the target labels.

In the embodiment of the present invention, when the operating gesture for receiving user and being inputted in browser display interface, and determine should The input area of operating gesture is that the label that can currently be chosen according to browser, i.e. browser is currently shown when specifying region The corresponding label of webpage shown in interface, and the corresponding control instruction of the operating gesture, determine the target mark of label switching Label, and switch to the target labels.

For example, using user tab bar region rolls forward mouse roller the corresponding control instruction of operating gesture as A label is switched to, the corresponding control instruction of the operating gesture of roll mouse roller is to switch to next label backward Example, it is assumed that user opens multiple and different labels by browser access webpage in same window, if a certain moment, User wants to check the webpage in next label, and at this time, user can be in tab bar region rolls forward mouse roller.

After computer receives the operating gesture of roll mouse roller input by user, the input area of the operating gesture is determined Domain is to specify region (tab bar region), then can inquire about the corresponding control of the operating gesture (rolls forward mouse roller) and refer to Order, is determined as switching to next Shipping Options Page, then by net shown in browser label switching to browser current display interface Next label of the corresponding label of page.

It should be noted that in embodiments of the present invention, if the label in currently selected is in browser display interface First label, and when to receive corresponding control instruction be the operating gesture for switching to label, can not be to the behaviour Make a sign with the hand and responded, the target labels that can also determine label switching are last label in browser display interface; Similarly, if the label in currently selected is last label in browser display interface, and receive corresponding control and refer to When making the operating gesture to switch to next label, which can not be responded, can also determine that label is cut The target labels changed are first label in browser display interface.

As shown in figure 3, for the flow diagram of another browser label switching method provided in an embodiment of the present invention, can To comprise the following steps:

Step 301, receive the operating gesture that user inputs in browser display interface.

In the embodiment of the present invention, operating gesture that user is inputted in browser display interface can be roll mouse roller, Sliding mouse, to show browser display interface touch-screen touch slide etc..

In the embodiment of the present invention, when user using browser access webpage when, if user opened in the same window it is more A different label, user can be by operating gestures come switch labels, such as roll mouse roller, sliding mouse, clear to showing Look at device display interface touch-screen touch slide etc., without by way of clicking on respective labels come switch labels.

Step 302, judge whether the operating gesture is effective operating gesture.If being judged as YES, step 303 is gone to;Otherwise, Terminate current process.

In the embodiment of the present invention, can be pre-configured with and store operating gesture (be included in browser display interface specify The operating gesture of region input and the operating gesture of non-designated region input) with the incidence relation of control instruction, when receiving use During the operating gesture that family inputs in browser display interface, the manipulator of itself storage according to the operating gesture, can be inquired about The correspondence of gesture and operational order, if in the operating gesture and operational order of itself storage, there is the behaviour with the user's input Make a sign with the hand matched operating gesture, then judge the operating gesture for effective operating gesture, or determine the operating gesture to be invalid Gesture.

Step 303, judge the operating gesture input area whether be specify region.If being judged as YES, step is gone to 304;Otherwise, current process is terminated.

As an alternative embodiment, this, which specifies region, to be tab bar region, when user is visited using browser , can be advance by being inputted in tab bar region if user opens multiple and different labels in the same window when asking webpage The operating gesture of setting carrys out switch labels.For example, user can be by tab bar region roll mouse roller, to realize label Switching.

As another optional embodiment, it can be area set in advance in browser display interface that this, which specifies region, Domain, such as the square region of designated position (such as upper right corner) a certain default size in browser display interface, when user's use browses , can be by showing boundary in the browser if user opens multiple and different labels in the same window when device accesses webpage Region input set in advance operating gesture set in advance carrys out switch labels in face.For example, user can be by browsing at this (or left and right) sliding mouse, or slide finger (being directed to touch panel device) up and down in region set in advance in device display interface, To realize label switching.

In the embodiment of the present invention, when the operating gesture for receiving user and being inputted in browser display interface, and judge should When operating gesture is effective operating gesture, it is also necessary to which whether the input area for judging the operating gesture is to specify region, if so, then The follow-up process of browser label switching is continued to execute, otherwise it is assumed that the operating gesture is not to be directed to browser label switching Operating gesture, terminates current process.

The label and the operating gesture that step 305, basis are currently chosen, determine the target labels of label switching.

Step 306, switch to the target labels.

, can basis when receiving user in the effective operating gesture inputted in specifying region in the embodiment of the present invention The operating gesture, inquires about itself operating gesture of storage and the correspondence of control instruction, to determine that the operating gesture is corresponding Control instruction, such as switches to next label, switches to a label.

For example, the operating gesture that can preset user in tab bar region rolls forward mouse roller is corresponding Control instruction is switches to a label, and the corresponding control instruction of the operating gesture of roll mouse roller is to switch to down backward One label.In this scenario, can be true when receiving user in the operating gesture of label area rolls forward mouse roller The corresponding control instruction of the fixed operating gesture is to switch to a label.

Again for example, user's upward sliding in region set in advance in browser display interface can be preset The corresponding control instruction of operating gesture of finger is to switch to a label, the corresponding control of operating gesture of slide downward finger System instruction is to switch to next label.In this scenario, when receive user in browser display interface it is set in advance In region during slide downward finger, it may be determined that the corresponding control instruction of the operating gesture is to switch to next label.

In the embodiment of the present invention, when the operating gesture for receiving user and being inputted in browser display interface, and determine should Operating gesture is effective operating gesture, and determine the operating gesture input area be specify region when, can be according to browser The label currently chosen, the i.e. corresponding label of webpage shown in browser current display interface, and the operating gesture correspond to Control instruction determine the target labels of label switching, and switch to the target labels.

For example, using user tab bar region rolls forward mouse roller the corresponding control instruction of operating gesture as A label is switched to, the corresponding control instruction of the operating gesture of roll mouse roller is to switch to next label backward Example, it is assumed that user opens multiple and different labels on computers by browser access webpage in same window, if A certain moment, user want to check the webpage in next label, and at this time, user can be in tab bar region rolls forward mouse Roller.

After computer receives the operating gesture of roll mouse roller input by user, the input area of the operating gesture is determined Domain is to specify region (tab bar region), then can inquire about the corresponding control of the operating gesture (rolls forward mouse roller) and refer to Order, is determined as switching to next Shipping Options Page, then by net shown in browser label switching to browser current display interface Next label of the corresponding label of page.

In the described method flows of Fig. 3, when the operating gesture for receiving user and being inputted in browser display interface When, first judge whether the operating gesture is effective operating gesture, and when the definite operating gesture is effective operating gesture, it is just right The operating gesture is responded, and avoids the generation of maloperation.

As shown in figure 4, for the flow diagram of another browser label switching method provided in an embodiment of the present invention, can To comprise the following steps:

Step 401, receive the operating gesture that user inputs in browser display interface.

In the embodiment of the present invention, operating gesture that user is inputted in browser display interface can be roll mouse roller, Sliding mouse, to show browser display interface touch-screen touch slide etc..

In the embodiment of the present invention, when user using browser access webpage when, if user opened in the same window it is more A different label, user can be by operating gestures come switch labels, such as roll mouse roller, sliding mouse, clear to showing Look at device display interface touch-screen touch slide etc., without by way of clicking on respective labels come switch labels.

Step 402, judge whether the operating gesture is effective operating gesture.If being judged as YES, step 303 is gone to;Otherwise, Terminate current process.

In the embodiment of the present invention, it can be pre-configured with and store operating gesture and the incidence relation of control instruction, work as reception During the operating gesture inputted in browser display interface to user, the behaviour of itself storage according to the operating gesture, can be inquired about The correspondence made a sign with the hand with operational order, if in the operating gesture and operational order of itself storage, exists and is inputted with the user The matched operating gesture of operating gesture, then judge the operating gesture for effective operating gesture, or determine the operating gesture be Invalid gesture.

Step 403, judge the operating gesture input area whether be specify region.If being judged as YES, step is gone to 404;Otherwise, current process is terminated.

As an alternative embodiment, this, which specifies region, to be tab bar region, when user is visited using browser , can be advance by being inputted in tab bar region if user opens multiple and different labels in the same window when asking webpage The operating gesture of setting carrys out switch labels.For example, user can be by tab bar region roll mouse roller, to realize label Switching.

As another optional embodiment, it can be area set in advance in browser display interface that this, which specifies region, Domain, such as the square region of designated position (such as upper right corner) a certain default size in browser display interface, when user's use browses , can be by showing boundary in the browser if user opens multiple and different labels in the same window when device accesses webpage Region input set in advance operating gesture set in advance carrys out switch labels in face.For example, user can be by browsing at this (or left and right) sliding mouse, or slide finger (being directed to touch panel device) up and down in region set in advance in device display interface, To realize label switching.

In the embodiment of the present invention, when the operating gesture for receiving user and being inputted in browser display interface, and judge should When operating gesture is effective operating gesture, it is also necessary to which whether the input area for judging the operating gesture is to specify region, if so, then The follow-up process of browser label switching is continued to execute, otherwise it is assumed that the operating gesture is not to be directed to browser label switching Operating gesture, terminates current process.

Step 404, determine the corresponding control instruction of the operating gesture.

, can basis when receiving user in the effective operating gesture inputted in specifying region in the embodiment of the present invention The operating gesture, inquires about itself operating gesture of storage and the correspondence of control instruction, to determine that the operating gesture is corresponding Control instruction, such as switches to next label, switches to a label.

For example, the operating gesture that can preset user in tab bar region rolls forward mouse roller is corresponding Control instruction is switches to a label, and the corresponding control instruction of the operating gesture of roll mouse roller is to switch to down backward One label.In this scenario, can be true when receiving user in the operating gesture of label area rolls forward mouse roller The corresponding control instruction of the fixed operating gesture is to switch to a label.

Again for example, user's upward sliding in region set in advance in browser display interface can be preset The corresponding control instruction of operating gesture of finger is to switch to a label, the corresponding control of operating gesture of slide downward finger System instruction is to switch to next label.In this scenario, when receive user in browser display interface it is set in advance In region during slide downward finger, it may be determined that the corresponding control instruction of the operating gesture is to switch to next label.

The label and the control instruction that step 405, basis are currently chosen, determine the target labels of the label switching.

Step 406, switch to the target labels.

Step 407, show the corresponding webpage of the target labels.

In the embodiment of the present invention, when the operating gesture for receiving user and being inputted in browser display interface, and determine should Operating gesture is effective operating gesture, and determine the operating gesture input area be specify region when, can be according to browser The label currently chosen, the i.e. corresponding label of webpage shown in browser current display interface, and the operating gesture correspond to Control instruction determine the target labels of label switching, and switch to the target labels.

For example, using user tab bar region rolls forward mouse roller the corresponding control instruction of operating gesture as A label is switched to, the corresponding control instruction of the operating gesture of roll mouse roller is to switch to next label backward Example, it is assumed that user opens multiple and different labels on computers by browser access webpage in same window, if A certain moment, user want to check the webpage in next label, and at this time, user can be in tab bar region rolls forward mouse Roller.

After computer receives the operating gesture of roll mouse roller input by user, the input area of the operating gesture is determined Domain is to specify region (tab bar region), then can inquire about the corresponding control of the operating gesture (rolls forward mouse roller) and refer to Order, is determined as switching to next Shipping Options Page, then by net shown in browser label switching to browser current display interface Next label of the corresponding label of page.

, can be clear after determining the target labels of label switching, and switch to the target labels in the embodiment of the present invention Look in device display interface and show the corresponding webpage of the target labels, so that user checks.

It should be noted that in order to avoid in technical solution provided in an embodiment of the present invention operating gesture and control instruction with The existing operating gesture of browser and control instruction conflict in the prior art, in the embodiment of the present invention, roll mouse roller The corresponding control instruction of operating gesture be probably by the supreme label of browser label switching or next label, it is and existing In technology, the corresponding control instruction of operating gesture of roll mouse roller is probably the current web page for changing and being shown in display Position is, it is necessary to transform existing browser forms.

In this embodiment, with the computer of Windows operating system (including Windows vista, WIN7 etc.), and use By being described in tab bar region roll mouse roller to switch exemplified by browser label, its specific implementation can include at family Following steps:

1) handle of browser forms, is obtained;

2) new forms procedure function, is realized;Wherein, which makes browser roll tab bar region The operating gesture of dynamic mouse roller carries out the response of browser label switching;

3) the forms process where tab bar, is replaced with into new window using windows api Set Window Long Body procedure function, and preserve old forms procedure function.

By above-mentioned transformation, during user uses browser access webpage on computers, shown in browser When interface inputs operating gesture, operating system can first pass through new forms procedure function and the operating gesture is responded, new Forms procedure function may determine that whether the operating gesture matches the operating gesture set in advance for browser label switching (i.e. roll mouse roller), and whether the input area of the operating gesture is to specify region (i.e. at tab bar), if being judged as YES, I.e. the operating gesture is the roll mouse wheel actions inputted at tab bar, then the operating gesture is distributed to tab bar, by Tab bar carries out label switching response according to the operating gesture;Otherwise, by old forms procedure function to the operating gesture into Row response.That is, transformed, the operating gesture that user inputs in browser display interface, can first passed through new by browser forms Forms procedure function matched and response processing, when new forms procedure function confirm the operating gesture mismatch when, then Still response processing can be carried out by old forms procedure function.

By above description as can be seen that in technical solution provided in an embodiment of the present invention, when receiving user clear Look in device display interface the operating gesture inputted when, whether the input area by judging the operating gesture is to specify region, into And when the determination result is yes, according to the label currently chosen, and the operating gesture determines the target labels of label switching, from And the target labels are switched to, since user in label switching without clicking on target labels, so as to improve label switching Efficiency.

Based on the identical technical concept of above method embodiment, the embodiment of the present invention additionally provides a kind of browser label and cuts Changing device, can be applied to above method embodiment.

As shown in figure 5, being a kind of browser label switching device provided in an embodiment of the present invention, can include:

Receiving module 501, the operating gesture inputted for receiving user in browser display interface;

First judgment module 502, whether the input area for judging the operating gesture is to specify region;

Determining module 503, for when first judgment module 502 is judged as YES, according to the label currently chosen with And the operating gesture, determine the target labels of label switching;

Handover module 504, for switching to the target labels.

Preferably, the operating gesture can include:

The touch of roll mouse roller, sliding mouse or the touch-screen to showing browser display interface is slided.

Preferably, the specified region includes:

Tab bar region;Or,

Region set in advance in the browser display interface.

Also referring to Fig. 6, Fig. 6 is that the structure of another browser label switching device disclosed by the embodiments of the present invention is shown It is intended to.Wherein, the browser label switching device shown in Fig. 6 is that browser label switching device as shown in Figure 5 optimizes Obtain, compared with the browser label switching device shown in Fig. 5, in the browser label switching device shown in Fig. 6, determine mould Block 503 can also include:

First determination unit 5031, for determining the corresponding control instruction of the operating gesture;

Second determination unit 5032, for according to the label and the control instruction currently chosen, determining label switching Target labels.

Preferably, the control instruction includes:

Switch to next label or switch to a label.

As a kind of alternative embodiment, the determining module 503 can be specifically used for, when the label currently chosen is to browse First label in device display interface, and the corresponding control instruction of the operating gesture is when switching to a label, really The fixed target labels are last label in browser display interface.

As a kind of alternative embodiment, the determining module 503 can be specifically used for, when the label currently chosen is to browse Last label in device display interface, and the corresponding control instruction of the operating gesture for switch to next label when, It is first label in browser display interface to determine the target labels.

Also referring to Fig. 7, Fig. 7 is that the structure of another browser label switching device disclosed by the embodiments of the present invention is shown It is intended to.Wherein, the browser label switching device shown in Fig. 7 is that browser label switching device as shown in Figure 5 optimizes Obtain, compared with the browser label switching device shown in Fig. 5, the browser label switching device shown in Fig. 7 can also wrap Include:

Second judgment module 505, for being inputted when the receiving module 501 receives user in browser display interface Operating gesture after, judge whether the operating gesture is effective operating gesture;

Correspondingly, first judgment module 502 can be specifically used for, when second judgment module 505 is judged as YES When, whether the input area for judging the operating gesture is to specify region.

Also referring to Fig. 8, Fig. 8 is that the structure of another browser label switching device disclosed by the embodiments of the present invention is shown It is intended to.Wherein, the browser label switching device shown in Fig. 8 is that browser label switching device as shown in Figure 5 optimizes Obtain, compared with the browser label switching device shown in Fig. 5, the browser label switching device shown in Fig. 8 can also wrap Include:

Display module 506, for showing the corresponding webpage of the target labels.

Fig. 9 is the structure diagram of another browser label switching device provided in the embodiment of the present invention.Such as Fig. 9 institutes Show, which includes:At least one processor 901, such as CPU, at least one user interface 903, are deposited Reservoir 904, at least one communication bus 902.Wherein, communication bus 902 is used for realization the connection communication between these components.Its In, user interface 903 can include display screen (Display), keyboard (Keyboard), and optional user interface 903 can also wrap Include standard wireline interface and wireless interface.Memory 904 can be high-speed RAM memory or non-labile storage Device (non-volatile memory), for example, at least a magnetic disk storage.Memory 904 optionally can also be at least one A storage device for being located remotely from aforementioned processor 901.Batch processing code, and processor 901 are stored wherein in memory 904 The program code stored in memory 904 is called, for performing following operation:

Receive the operating gesture that user inputs in browser display interface;

Whether the input area for judging the operating gesture is to specify region;

If being judged as YES, according to the label and the operating gesture currently chosen, the target labels of label switching are determined;

Switch to the target labels.

In an alternative embodiment, the operating gesture includes:

The touch of roll mouse roller, sliding mouse or the touch-screen to showing the browser display interface is slided.

In an alternative embodiment, the specified region includes:

Tab bar region;Or,

Region set in advance in the browser display interface.

In an alternative embodiment, processor 901 calls the program code stored in memory 904 according to the mark currently chosen Label and the operating gesture, determine the target labels of label switching, can specifically include:

Determine the corresponding control instruction of the operating gesture;

According to the label and the control instruction currently chosen, the target labels of label switching are determined.

In an alternative embodiment, the control instruction includes:

Switch to next label or switch to a label.

In an alternative embodiment, processor 901 calls the program code stored in memory 904 according to the mark currently chosen Label and the operating gesture, determine the target labels of label switching, can specifically include:

When the label currently chosen is first label in browser display interface, and the corresponding control of the operating gesture System instruction is when switching to a label, and it is last label in browser display interface to determine the target labels.

In an alternative embodiment, processor 901 calls the program code stored in memory 904 according to the mark currently chosen Label and the operating gesture, determine the target labels of label switching, can specifically include:

When the label currently chosen is last label in browser display interface, and the operating gesture is corresponding Control instruction is when switching to next label, and it is first label in browser display interface to determine the target labels.

In an alternative embodiment, processor 901 calls the program code stored in memory 904 to receive user in browser After the operating gesture inputted in display interface, whether the input area for judging the operating gesture is before specifying region, also Following operation can be performed:

Judge whether the operating gesture is effective operating gesture;

If being judged as YES, execution judges whether the input area of the operating gesture is the step of specifying region.

In an alternative embodiment, processor 901 calls the program code stored in memory 904 to switch to the target mark After label, following operation can also carry out:

Show the corresponding webpage of the target labels.

The embodiment of the present invention additionally provides a kind of terminal, can include any browser label switching as shown in figures 5-9 Device.

In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description Point is contained at least one embodiment of the present invention or example.In the present specification, schematic expression of the above terms is not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office Combined in an appropriate manner in one or more embodiments or example.In addition, without conflicting with each other, the skill of this area Art personnel can be tied the different embodiments or example described in this specification and different embodiments or exemplary feature Close and combine.

In addition, term " first ", " second " are only used for description purpose, and it is not intended that instruction or hint relative importance Or the implicit quantity for indicating indicated technical characteristic.Thus, define " first ", the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the present invention, " multiple " are meant that at least two, such as two, three It is a etc., unless otherwise specifically defined.

Any process or method described otherwise above description in flow chart or herein is construed as, and represents to include Module, fragment or the portion of the code of the executable instruction of one or more the step of being used for realization specific logical function or process Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable Sequence, including according to involved function by it is basic at the same time in the way of or in the opposite order, carry out perform function, this should be of the invention Embodiment person of ordinary skill in the field understood.

Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system including the system of processor or other can be held from instruction The system of row system, device or equipment instruction fetch and execute instruction) use, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass Defeated program is for instruction execution system, device or equipment or the dress used with reference to these instruction execution systems, device or equipment Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring Connecting portion (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only storage (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can be for example by carrying out optical scanner to paper or other media, then into edlin, interpretation or if necessary with it His suitable method is handled electronically to obtain described program, is then stored in computer storage.

It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned In embodiment, software that multiple steps or method can be performed in memory and by suitable instruction execution system with storage Or firmware is realized.If, and in another embodiment, can be with well known in the art for example, realized with hardware Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal Discrete logic, have suitable combinational logic gate circuit application-specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..

Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method carries Suddenly it is that relevant hardware can be instructed to complete by program, the program can be stored in a kind of computer-readable storage medium In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.

In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, can also That unit is individually physically present, can also two or more units be integrated in a module.Above-mentioned integrated mould Block can both be realized in the form of hardware, can also be realized in the form of software function module.The integrated module is such as Fruit is realized in the form of software function module and as independent production marketing or in use, can also be stored in a computer In read/write memory medium.

Storage medium mentioned above can be read-only storage, disk or CD etc..Although have been shown and retouch above The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as the limit to the present invention System, those of ordinary skill in the art can be changed above-described embodiment, change, replace and become within the scope of the invention Type.

Claims (13)

  1. A kind of 1. browser label switching method, it is characterised in that including:
    Receive the operating gesture that user inputs in browser display interface;
    Judge whether the operating gesture is effective operating gesture;If being judged as YES, the input area of the operating gesture is judged Whether domain is region set in advance in tab bar region or the browser display interface;
    If being judged as YES, according to the label and the operating gesture currently chosen, determine the target labels of label switching, switch To the target labels;If it is judged as NO, it is determined that the operating gesture is not the operating gesture for browser label switching, is tied Beam current process;
    Wherein, effective operating gesture refers to, according to the operating gesture, to inquire about the operating gesture and operational order of itself storage Correspondence, if in the operating gesture and operational order of itself storage, exists matched with the operating gesture input by user Operating gesture, then the operating gesture is effective operating gesture;
    Wherein, the operating gesture includes:
    The touch of roll mouse roller, sliding mouse or the touch-screen to showing the browser display interface is slided.
  2. 2. the method as described in claim 1, it is characterised in that according to the label and the operating gesture currently chosen, really Determine the target labels of label switching, including:
    Determine the corresponding control instruction of the operating gesture;
    According to the label and the control instruction currently chosen, the target labels of label switching are determined.
  3. 3. method as claimed in claim 2, it is characterised in that the control instruction includes:
    Switch to next label or switch to a label.
  4. 4. method as claimed in claim 3, it is characterised in that the label and the control that the basis is currently chosen refer to Order, determines the target labels of label switching, including:
    When the label currently chosen be browser display interface in first label, and the operating gesture it is corresponding control refer to When making to switch to a upper label, it is last label in browser display interface to determine the target labels.
  5. 5. method as claimed in claim 3, it is characterised in that the label and the control that the basis is currently chosen refer to Order, determines the target labels of label switching, including:
    When the label currently chosen is last label in browser display interface, and the corresponding control of the operating gesture When instructing to switch to next label, it is first label in browser display interface to determine the target labels.
  6. 6. the method as described in claim 1, it is characterised in that it is described to switch to after the target labels, further include:
    Show the corresponding webpage of the target labels.
  7. A kind of 7. browser label switching device, it is characterised in that including:
    Receiving module, the operating gesture inputted for receiving user in browser display interface;
    Second judgment module, for receiving the operating gesture that user inputs in browser display interface when the receiving module Afterwards, judge whether the operating gesture is effective operating gesture;First judgment module, for sentencing when second judgment module When breaking to be, whether the input area for judging the operating gesture is advance in tab bar region or the browser display interface The region of setting;
    Determining module, for when first judgment module is judged as YES, according to the label and the operation currently chosen Gesture, determines the target labels of label switching;Handover module, for switching to the target labels;
    The determining module, when also described first judgment module is judged as NO, it is not to be directed to browser mark to determine the operating gesture The operating gesture of switching is signed, terminates current process;
    Wherein, effective operating gesture refers to, according to the operating gesture, to inquire about the operating gesture and operational order of itself storage Correspondence, if in the operating gesture and operational order of itself storage, exists matched with the operating gesture input by user Operating gesture, then the operating gesture is effective operating gesture;
    Wherein, the operating gesture includes:
    The touch of roll mouse roller, sliding mouse or the touch-screen to showing the browser display interface is slided.
  8. 8. device as claimed in claim 7, it is characterised in that the determining module includes:
    First determination unit, for determining the corresponding control instruction of the operating gesture;
    Second determination unit, the label currently chosen for basis and the control instruction, determine the target mark of label switching Label.
  9. 9. device as claimed in claim 8, it is characterised in that the control instruction includes:
    Switch to next label or switch to a label.
  10. 10. device as claimed in claim 9, it is characterised in that
    The determining module is specifically used for, when the label currently chosen is first label in browser display interface, and institute The corresponding control instruction of operating gesture is stated as when switching to a label, it is browser display interface to determine the target labels In last label.
  11. 11. device as claimed in claim 9, it is characterised in that
    The determining module is specifically used for, when the label currently chosen be browser display interface in last label, and The corresponding control instruction of the operating gesture is when switching to next label, determines that the target labels show boundary for browser First label in face.
  12. 12. device as claimed in claim 7, it is characterised in that further include:
    Display module, for showing the corresponding webpage of the target labels.
  13. 13. a kind of terminal, it is characterised in that including such as claim 7-12 any one of them browser label switching device.
CN201410433223.7A 2014-08-28 2014-08-28 A kind of browser label switching method, apparatus and terminal CN104182533B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410433223.7A CN104182533B (en) 2014-08-28 2014-08-28 A kind of browser label switching method, apparatus and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410433223.7A CN104182533B (en) 2014-08-28 2014-08-28 A kind of browser label switching method, apparatus and terminal

Publications (2)

Publication Number Publication Date
CN104182533A CN104182533A (en) 2014-12-03
CN104182533B true CN104182533B (en) 2018-05-08

Family

ID=51963572

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410433223.7A CN104182533B (en) 2014-08-28 2014-08-28 A kind of browser label switching method, apparatus and terminal

Country Status (1)

Country Link
CN (1) CN104182533B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105824615A (en) * 2016-02-01 2016-08-03 乐视移动智能信息技术(北京)有限公司 Mobile terminal as well as web page window processing method and device thereof
CN106227459B (en) * 2016-08-11 2019-05-14 合一网络技术(北京)有限公司 Content switching method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5768457B2 (en) * 2011-04-19 2015-08-26 ソニー株式会社 Electronic device, display method and program
KR101810884B1 (en) * 2011-06-07 2017-12-20 삼성전자주식회사 Apparatus and method for providing web browser interface using gesture in device
US9182935B2 (en) * 2011-09-27 2015-11-10 Z124 Secondary single screen mode activation through menu option
CN103577080A (en) * 2012-07-30 2014-02-12 北京睿思汇通移动科技有限公司 Display control device and touchpad control device of mobile terminal browser
CN103677614B (en) * 2012-09-26 2018-08-28 腾讯科技(深圳)有限公司 A kind of browser gesture operation method and device
CN103809896B (en) * 2012-11-15 2018-11-09 腾讯科技(深圳)有限公司 A kind of page switching method and device

Also Published As

Publication number Publication date
CN104182533A (en) 2014-12-03

Similar Documents

Publication Publication Date Title
US8788947B2 (en) Object transfer method using gesture-based computing device
AU2006234871B2 (en) System and method for selecting a tab within a tabbed browser
US6874126B1 (en) Method and apparatus for controlling content display by the cursor motion
EP2386940B1 (en) Methods and systems for performing analytical procedures by interactions with visiual representations of datasets
US8510673B2 (en) System and method for pinning tabs in a tabbed browser
CN101681233B (en) Terminal, history management method
EP2584445A1 (en) Method of animating a rearrangement of ui elements on a display screen of an eletronic device
JP3730670B2 (en) Data processing equipment
CA2792685C (en) Method of modifying rendered attributes of list elements in a user interface
CN101606124B (en) Multi-window managing device, program, storage medium, and information processing device
US20080184141A1 (en) Menu creation browser extension
US20130007606A1 (en) Text deletion
CN103370689B (en) Cross-environment application is compatible
WO2015135354A1 (en) Search method, system, and device.
JP2007257642A (en) Apparatus, method and system for highlighting related user interface control
KR20110011002A (en) Method and apparatus for web browsing
US8196042B2 (en) Self-revelation aids for interfaces
US20140351748A1 (en) Split-Screen Display Method and Apparatus, and Electronic Device Thereof
US9213775B2 (en) Domain-specific browser tab creation and management
CA2798979A1 (en) Method of rendering a user interface
US7111229B2 (en) System and method for providing a webpage
US7966558B2 (en) Snipping tool
TW200905536A (en) Visual feedback display
CN102681774B (en) Method and device for controlling application interface through gesture and mobile terminal
KR20140032924A (en) Method and apparatus to facilitate interoperability of applications in a device

Legal Events

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

Effective date of registration: 20181203

Address after: Room 105-53811, No. 6 Baohua Road, Hengqin New District, Zhuhai City, Guangdong Province

Patentee after: Zhuhai Seal Interest Technology Co., Ltd.

Address before: 100085 East District, Second Floor, 33 Xiaoying West Road, Haidian District, Beijing

Patentee before: Kingsoft Corporation Limited

TR01 Transfer of patent right