CN106354392B - Web page operation method and device - Google Patents

Web page operation method and device Download PDF

Info

Publication number
CN106354392B
CN106354392B CN201510419566.2A CN201510419566A CN106354392B CN 106354392 B CN106354392 B CN 106354392B CN 201510419566 A CN201510419566 A CN 201510419566A CN 106354392 B CN106354392 B CN 106354392B
Authority
CN
China
Prior art keywords
web page
sliding trace
trace line
page tag
webpage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510419566.2A
Other languages
Chinese (zh)
Other versions
CN106354392A (en
Inventor
朱琳娜
郑浩
范端
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201510419566.2A priority Critical patent/CN106354392B/en
Publication of CN106354392A publication Critical patent/CN106354392A/en
Application granted granted Critical
Publication of CN106354392B publication Critical patent/CN106354392B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a kind of web page operation method and devices, wherein, the described method includes: obtaining the sliding trace line of the touch control terminal, the sliding trace line includes at least the first sliding trace line being located in web page tag region and the second sliding trace line outside web page tag region;According to the first sliding trace line, target webpage label is determined;Judge whether the second sliding trace line is non-horizontal trajectory line;If it is non-horizontal trajectory line, webpage corresponding to the target webpage label is closed;Using method and device of the invention, the difficulty that user closes webpage can be reduced.

Description

Web page operation method and device
Technical field
The present invention relates to Internet technical fields, more particularly to a kind of web page operation method and device.
Background technique
With the development of internet technology and universal, more and more users' Selection utilization touch control terminal of touch control terminal Browser surf the web.As the browser of common PC (Personal Computer, personal computer) is the same, user can be Multiple webpages are opened in one browser window to be browsed, and the mark of each browsing webpage is equipped in the tab bar of browser Label and close button;Wherein, the web page tag arrays from left to right in tab bar, and close button is located at accordingly The top of web page tag.Webpage clicking label can switch between different web pages;Close button is clicked, respective wire can be closed Page.
Due to using and carrying in order to facilitate user, the size of the touch panel of touch control terminal is smaller at present, then phase The size for the close button shown on touch panel answered also will be small;Simultaneously because there is no configuration mouses etc. in touch control terminal Input equipment, user be only capable of by the external tools such as both hands or stylus operate touch control terminal, and when operating touch control terminal on A part of sight of user can be blocked by stating external tool inherently, then will often occur when the size of close button is smaller User cannot accurately click the case where close button, to increase the difficulty that user closes webpage.It is especially clear one as user It lookes in device window when opening a large amount of webpages, the close button of a large amount of webpages can be shown in browser tab bar;And due to entire clear The size of device tab bar of looking at is certain, then the spacing of adjacent close button will become very small.If user executes at this time The operation of some webpage is closed, then will be easy to click the other close buttons adjacent with the close button of the webpage, from And the mistake of webpage is caused to close, further increase the difficulty that user closes webpage.For example, in browser tab bar, there are three phases Adjacent and the closer close button of distance, respectively the first close button, the second close button and third close button;Its In, the first close button is clicked, the first webpage can be closed;The second close button is clicked, the second webpage can be closed;Third is clicked to close Button is closed, third webpage can be closed;If user wants to close the second webpage at this time, the operation for clicking the second close button need to be executed, Since the spacing of three close buttons is closer, then user be easy to it is overdue hit into the first close button or third close button, To cause the mistake of webpage to close.
Therefore using current web page operation method, it is easy to which close button cannot accurately be clicked by user occur Situation, to increase the difficulty that user closes webpage.
Summary of the invention
A kind of web page operation method and device is provided in the embodiment of the present invention, to reduce the difficulty that user closes webpage.
In order to solve the above-mentioned technical problem, the embodiment of the invention discloses following technical solutions:
The application discloses a kind of web page operation method, is applied to touch control terminal, which comprises
The sliding trace line of the touch control terminal is obtained, the sliding trace line, which includes at least, to be located in web page tag region The first sliding trace line and the second sliding trace line outside web page tag region;
According to the first sliding trace line, target webpage label is determined;
Judge whether the second sliding trace line is non-horizontal trajectory line;
If it is non-horizontal trajectory line, webpage corresponding to the target webpage label is closed.
Preferably, described according to the first sliding trace line, determine target webpage label, comprising:
Judge whether the starting point of the first sliding trace line is located in the region of any web page tag;
If be located at, according to the touch parameter of the starting point, judges whether the touch control terminal reaches and close N number of webpage Trigger condition, the N is integer greater than 1;
If reached, the web page tag that the first sliding trace line is passed through is determined, as the target webpage label;
If not up to, by the web page tag in the be located at region of the starting point, as the target webpage label.
Preferably, described according to the first sliding trace line, determine target webpage label, comprising:
Judge whether the starting point of the first sliding trace line is located in the region of any web page tag;
If be located at, the web page tag that the first sliding trace line is passed through is determined, as the target webpage label.
Preferably, described according to the first sliding trace line, determine target webpage label, comprising:
The web page tag that the first sliding trace line is passed through is determined, as the target webpage label.
Preferably, the first sliding trace line is made of at least two trajectory coordinates, first sliding trace of determination The web page tag that line is passed through, comprising:
Determine that the track of the first sliding trace line starts coordinate and track end coordinate;
The web page tag between the beginning coordinate and end coordinate is calculated, calculated web page tag is described first sliding The web page tag that dynamic rail trace is passed through.
Preferably, the method also includes:
If the operating gesture that the touch control terminal detects and default label recovery gesture match, obtains and close in advance The web page tag of at least one webpage closed;
Show the web page tag.
A kind of web page operation device is also disclosed in the application, is applied to touch control terminal, and described device includes:
First obtains module, and for obtaining the sliding trace line of the touch control terminal, the sliding trace line is included at least The first sliding trace line in web page tag region and the second sliding trace line outside web page tag region;
Determining module, for determining target webpage label according to the first sliding trace line;
Judgment module, for judging whether the second sliding trace line is non-horizontal trajectory line;
Closedown module closes the target webpage label for being non-horizontal trajectory line when the second sliding trace line Corresponding webpage.
Preferably, the determining module includes:
First judging unit, for judging whether the starting point of the first sliding trace line is located at any web page tag In region;
Second judgment unit, for when in the region for being located at a web page tag, according to the touch parameter of the starting point, Judge whether the touch control terminal reaches the trigger condition for closing N number of webpage, the N is the integer greater than 1;
First determination unit, for when reaching the trigger condition, determining what the first sliding trace line was passed through Web page tag is the target webpage label;
Second determination unit, for determining the net in the be located at region of the starting point when the not up to trigger condition Page label is the target webpage label.
Preferably, the determining module includes, comprising:
Third judging unit, for judging whether the starting point of the first sliding trace line is located at any web page tag In region;
First determination unit, for determining the first sliding trace line institute when in the region for being located at a web page tag The web page tag passed through, as the target webpage label.
Preferably, the determining module includes:
First determination unit, the web page tag passed through for determining the first sliding trace line, as the target Web page tag.
Preferably, the first sliding trace line is made of at least two trajectory coordinates, first determination unit, packet It includes:
Subelement is determined, for determining that the track of the first sliding trace line starts coordinate and track end coordinate;
Computation subunit, for calculating the web page tag between the beginning coordinate and end coordinate, calculated webpage mark Label are the web page tag that the sliding trace line is passed through.
Preferably, described device further include:
Second obtains module, and the operating gesture for detecting when the touch control terminal restores gesture phase with default label Timing obtains the web page tag at least one webpage closed in advance;
Display module, for showing the web page tag.
The beneficial effect comprise that in embodiments of the present invention, obtaining the sliding trace line of touch control terminal, institute first State second sliding of the sliding trace line including at least the first sliding trace line in web page tag region and outside web page tag region Trajectory line;According to the first sliding trace line, target webpage label is determined;And when the second sliding trace line is non-horizontal track When line, webpage corresponding to above-mentioned target webpage label can be closed.As it can be seen that user is only using method and device of the invention The first sliding trace line and non-level second sliding trace line need to be operated in touch control terminal, can close webpage.It compares In the accurate mode for clicking close button, reduces the difficulty that user closes webpage in the prior art.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art Speech, without any creative labor, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a flow diagram of web page operation method provided in an embodiment of the present invention;
Fig. 2 is a schematic diagram of sliding trace line provided in an embodiment of the present invention;
Fig. 3 is another flow diagram of web page operation method provided in an embodiment of the present invention;
Fig. 4 is another schematic diagram of sliding trace line provided in an embodiment of the present invention;
Fig. 5 is the another flow diagram of web page operation method provided in an embodiment of the present invention;
Fig. 6 is another flow diagram of web page operation method provided in an embodiment of the present invention;
Fig. 7 is the another schematic diagram of sliding trace line provided in an embodiment of the present invention;
Fig. 8 is the another flow diagram of web page operation method provided in an embodiment of the present invention;
Fig. 9 is an application schematic diagram of web page operation method provided in an embodiment of the present invention;
Figure 10 is the another application schematic diagram of web page operation method provided in an embodiment of the present invention;
Figure 11 is the schematic diagram of browsing device net page label provided in an embodiment of the present invention;
Figure 12 is the another application schematic diagram of web page operation method provided in an embodiment of the present invention;
Figure 13 is the another application schematic diagram of web page operation method provided in an embodiment of the present invention;
Figure 14 is a structural schematic diagram of web page operation device provided in an embodiment of the present invention;
Figure 15 is another structural schematic diagram of web page operation device provided in an embodiment of the present invention;
Figure 16 is the another structural schematic diagram of web page operation device provided in an embodiment of the present invention;
Figure 17 is another structural schematic diagram of web page operation device provided in an embodiment of the present invention;
Figure 18 is the another structural schematic diagram of web page operation device provided in an embodiment of the present invention;
Figure 19 is another structural schematic diagram of web page operation device provided in an embodiment of the present invention.
Specific embodiment
The embodiment of the present invention provides a kind of web page operation method and device, to reduce the difficulty that user closes webpage.
The web page operation method of the embodiment of the present invention is illustrated first, this method can be applied to tablet computer, ipad The touch control terminals such as (internet portable apple device) and smart phone, as shown in Figure 1, this method is at least wrapped It includes:
Step S11: obtaining the sliding trace line of the touch control terminal, and the sliding trace line, which includes at least, is located at webpage mark Sign the first sliding trace line in region and the second sliding trace line outside web page tag region;
In practical applications, the browser tab bar of touch control terminal can have multiple web page tags.Fig. 2 is schematically denoted 4 web page tags, respectively web page tag A, web page tag B, web page tag C and web page tag D.
In embodiments of the present invention, as shown in Fig. 2, when user passes through web page tag (specially in touch control terminal operation one Web page tag D) sliding trace line when, which can be divided into web page tag region by touch control terminal automatically First sliding trace line and the second sliding trace line outside web page tag region, specific method for splitting are as follows:
A: determining browser tab bar, there are the regions of web page tag;
Since in practical applications, touch control terminal will record the position coordinates of each web page tag, and be sat according to the position Mark, that is, can determine browser tab bar, there are the regions of web page tag.Still as shown in Fig. 2, the position coordinates of such as web page tag A Position coordinates for (A1, A2, A3, A4), web page tag B are (A2, A4, B1, B2), the position coordinates of web page tag C be (B1, B2, C1, C2), the position coordinates of web page tag D be (C1, C2, D1, D2), then there are web page tags in browser tab bar Region is (A1, A3, D1, D2).
B: the intersection point in the region Yu the sliding trace line is calculated;
C: using the intersection point as cut-point, entire sliding trace line is divided into the first sliding trace line and the second sliding trace Line.
Step S12: according to the first sliding trace line, target webpage label is determined;
Step S13: judge whether the second sliding trace line is non-horizontal trajectory line;If so, executing step S14; Otherwise, terminate process;
In embodiments of the present invention, the second sliding trace line can be straight line, can also be curve.
Step S14: webpage corresponding to the target webpage label is closed.
In embodiments of the present invention, the sliding trace line of touch control terminal is obtained first, and the sliding trace line includes at least The first sliding trace line in web page tag region and the second sliding trace line outside web page tag region;It is sliding according to described first Dynamic rail trace, it may be determined that target webpage label;And when the second sliding trace line is non-horizontal trajectory line, above-mentioned mesh can be closed Mark webpage corresponding to web page tag.As it can be seen that user need to only slide the first sliding in touch control terminal using method of the invention Trajectory line and non-level second sliding trace line, can close webpage.Compared to precisely click closing is pressed in the prior art The mode of button reduces the difficulty that user closes webpage.
In another possible embodiments of the invention, as shown in figure 3, the step S12 in above-mentioned all embodiments can include:
Step S31: judge whether the starting point of the first sliding trace line is located in the region of any web page tag;Such as Fruit is located at, and executes step S32;Otherwise, terminate process;
In embodiments of the present invention, only when the starting point of the first sliding trace line is located in the region of a web page tag When, just determine that user executes the operation for closing webpage.It is, only user is using the point in web page tag as starting point sliding the When one trajectory line, it is likely to close webpage.
Step S32: according to the touch parameter of the starting point, judge whether the touch control terminal reaches and close N number of webpage Trigger condition, the N is integer greater than 1;If reached, step S33 is executed, otherwise, executes step S34;
In embodiments of the present invention, the touch parameter of starting point includes touch-control duration and touch-control number etc..Specifically, can be When the duration of starting point described in user's touch-control reaches preset duration, determine that user will execute the operation for closing multiple webpages, it can also When the number of the starting point described in user's touch-control reaches preset times, determine that user will execute the operation for closing multiple webpages.
Step S33: the web page tag that the first sliding trace line is passed through is determined, as the target webpage label;
In embodiments of the present invention, when determining that user will execute the operation for closing multiple webpages, the first sliding is determined The webpage that trajectory line is passed through.
Step S34: by the web page tag in the be located at region of the starting point, as the target webpage label.
In embodiments of the present invention, when determining that user will execute the operation for closing a webpage, by starting point institute position Web page tag in region, as target webpage label.
For example, when the trajectory line that user is slided in touch control terminal, as shown in Figure 4.It is preceding to have described, it will can entirely slide Trajectory line is divided into, as shown in Figure 4, the first sliding trace line and the second sliding trace line.
Using the method in the present embodiment, when operation of the user in the starting point of touch control terminal, reaches and close multiple nets When the trigger condition of page, can close the web page tag A, web page tag B, web page tag C that the first sliding trace line passed through with And the respective corresponding webpage of web page tag D.And work as user in the operation of the starting point of touch control terminal, it not up to closes multiple When the trigger condition of webpage, then the web page tag A in the be located at region of starting point can only be closed.
Therefore using the above method, user utilizes sliding trace line, can close one or more webpages.
In another possible embodiments of the invention, as shown in figure 5, the step S12 in above-mentioned all embodiments can include:
Step S51: judge whether the starting point of the first sliding trace line is located at the label area of any web page tag It is interior;If be located at, step S52 is executed;Otherwise, terminate process;
Step S52: the web page tag that the first sliding trace line is passed through is determined, as the target webpage label.
For example, when the trajectory line that user is slided in touch control terminal, when still as shown in Figure 4, using the side of the present embodiment Method, user's closing are web page tag A, web page tag B, web page tag C and the webpage mark that the first sliding trace line is passed through Sign D respectively corresponding to webpage.
Therefore using the above method, user utilizes sliding trace line, can also close one or more webpages.
In another possible embodiments of the invention, the step S12 in above-mentioned all embodiments may also include that
The web page tag that the first sliding trace line is passed through is determined, as the target webpage label.
In embodiments of the present invention, no matter whether the starting point of the first sliding trace line is located in web page tag region, only Want the first sliding trace line pass through web page tag, and the second sliding trace line be it is non-horizontal, webpage can be closed.
In another possible embodiments of the invention, as shown in fig. 6, the first sliding trace line is by least two tracks Coordinate composition, the web page tag that the first sliding trace of determination line is passed through, comprising:
Step S61: determine that the track of the first sliding trace line starts coordinate and track end coordinate;
It is preceding to describe, when a sliding trace line is split as the first sliding trace line and the second sliding trace line, need to count Calculate the intersection point in web page tag region and sliding trace line.In practical applications, the trajectory line and entire webpage mark that user is slided The intersection point for signing region can be one (as shown in the sliding trace line B in Fig. 7), can also be two (sliding trace lines in such as Fig. 7 Shown in A).When for two intersection points, two intersection points are respectively to start coordinate and end coordinate;It, will be described when being for an intersection point The coordinate and the intersection point of sliding trace line starting point are sat respectively to start coordinate and end coordinate.
Step S62: the web page tag started between coordinate and end coordinate is calculated, calculated web page tag is institute State the web page tag that the first sliding trace line is passed through.
For example, when still as shown in Figure 4, can be calculated by above-mentioned when the trajectory line that user is slided in touch control terminal Beginning coordinate and end coordinate to the first sliding trace line of the trajectory line are respectively M and N.And the web page tag between M and N For web page tag A, web page tag B, web page tag C and web page tag D, then the web page tag that the first sliding trace line is passed through For web page tag A, web page tag B, web page tag C and web page tag D.
Therefore using the above method, it may be determined that the web page tag that the first sliding trace line is passed through.
In another possible embodiments of the invention, as shown in figure 8, the method in above-mentioned all embodiments, may also include that
Step S81: it if the operating gesture that the touch control terminal detects restores gesture with default label and matches, obtains The web page tag at least one webpage closed in advance;
In embodiments of the present invention, presetting label to restore gesture to be crawl (pinch) or expansion (spread) gesture.Such as Shown in Fig. 9, when user is when the crawl of touch control terminal or expansion operating gesture and default label recovery gesture match, acquisition is pre- At least one web page tag first closed.
Step S82: the web page tag is shown.
It in embodiments of the present invention, can be with the formation exhibition of list when obtaining multiple preparatory web page tags for closing webpage Show web page tag.When the quantity of the web page tag of acquisition is 4, the list of displayed web page label can specifically as shown in Figure 10. And user's webpage clicking label, i.e., openable corresponding webpage.
Therefore using method of the invention, user can open the web page tag for being turned off webpage by operating gesture.
It is specific as follows the invention discloses another implementation of web page operation method:
A, firstly, user has opened multiple webpages in an action pane of touch control terminal, then correspondingly, in browser There are multiple web page tags in tab bar, it is specific as shown in figure 11.
B, when user's finger touches the screen of touch control terminal, the inductor of touch control terminal records the coordinate that finger touches;
C, judge whether the coordinate is located in the region on browser column label column;
If D, be located at, the executable operation for closing webpage of user is determined;Otherwise, it is determined that user is not executable to close webpage Operation.
D1, when determining the executable operation for closing webpage of user, when the single finger of user is with the coordinate that touches When initial point executes the non-level slidings such as sliding or downslide to single web page tag, at this point, it is right to close web page tag institute The webpage answered, specifically can be as shown in figure 12.
In embodiments of the present invention, when multiple fingers of user are in different browser labels, more fingers are simultaneously to net When page label does the non-horizontal slidings such as cunning and downslide, webpage corresponding to above-mentioned multiple web page tags can be simultaneously closed off.
D2, when determining the executable operation for closing webpage of user, when the position that user touches above-mentioned coordinate reaches certain When duration, tab bar is highlighted, is considered as tab bar at this time and enters combined operation state.
Under combined operation state, user slides from left to right, or when sliding from right to left, touch control terminal will record user The origin coordinates and end coordinate of sliding, and calculate the web page tag started between coordinate and end coordinate.At this point, to above-mentioned webpage Label when doing the non-horizontal slidings such as cunning and downslide, can close webpage corresponding to above-mentioned web page tag.As shown in figure 13.
By the description of above embodiment of the method, it is apparent to those skilled in the art that the present invention can Realize by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases the former It is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially makes tribute to the prior art in other words The part offered can be embodied in the form of software products, which is stored in a storage medium, packet Some instructions are included to use so that a computer equipment (can be personal computer, server or the network equipment etc.) executes All or part of the steps of the method according to each embodiment of the present invention.And storage medium above-mentioned includes: read-only memory (ROM), the various media that can store program code such as random access memory (RAM), magnetic or disk.
Corresponding with web page operation embodiment of the method provided by the invention, the present invention also provides a kind of web page operation dresses It sets, which is applied to the touch control terminals such as tablet computer, ipad and smart phone, and as shown in figure 14, which includes:
First obtains module 141, and for obtaining the sliding trace line of the touch control terminal, the sliding trace line is at least wrapped Include the first sliding trace line being located in web page tag region and the second sliding trace line outside web page tag region;
Determining module 142, for determining target webpage label according to the first sliding trace line;
Judgment module 143, for judging whether the second sliding trace line is non-horizontal trajectory line;
Closedown module 144 closes the target webpage mark for being non-horizontal trajectory line when the second sliding trace line The corresponding webpage of label.
In embodiments of the present invention, the first acquisition module 141 can obtain the sliding trace line of touch control terminal, the sliding rail Trace includes at least the first sliding trace line in web page tag region and the second sliding trace line outside web page tag region;Really Cover half block 142 can determine target webpage label according to the first sliding trace line;Judgment module 143, for judging described Whether two sliding trace lines are non-horizontal trajectory line;Closedown module 144, for being non-aqueous when judgement the second sliding trace line When plate rail trace, webpage corresponding to above-mentioned target webpage label is closed.As it can be seen that using the device of the invention, user only need to be The first sliding trace line and non-level second sliding trace line are slided in touch control terminal, can close webpage.Compared to existing There is the mode for precisely clicking close button in technology, reduces the difficulty that user closes webpage.
In another possible embodiments of the invention, as shown in figure 15, the determining module 142 in above-mentioned all embodiments can Include:
First judging unit 151, for judging whether the starting point of the first sliding trace line is located at any webpage mark In the region of label;
Second judgment unit 152, for being joined when in the region for being located at a web page tag according to the touch-control of the starting point Number, judges whether the touch control terminal reaches the trigger condition for closing N number of webpage, and the N is the integer greater than 1;
First determination unit 153, for when reaching the trigger condition, determining that the first sliding trace line is passed through Web page tag, as the target webpage label;
Second determination unit 154, for determining the be located at region of the starting point when the not up to trigger condition Web page tag, as the target webpage label.
Therefore using above-mentioned apparatus, the first sliding trace line that can be operated in touch control terminal according to user, really The web page tag of fixed webpage to be closed, i.e. target webpage label.
In another possible embodiments of the invention, as shown in figure 16, the determining module 142 in above-mentioned all embodiments can Include:
Third judging unit 161, for judging whether the starting point of the first sliding trace line is located at any webpage mark In the region of label;
First determination unit 153, for determining first sliding trace when in the region for being located at any web page tag The web page tag that line is passed through, as the target webpage label.
Therefore using above-mentioned apparatus, the first sliding trace line that also can be operated in touch control terminal according to user, Determine the web page tag of webpage to be closed, i.e. target webpage label.
In another possible embodiments of the invention, as shown in figure 17, the determining module 142 in above-mentioned all embodiments can Include:
First determination unit 153, the web page tag passed through for determining the first sliding trace line, as the mesh Mark web page tag.
Therefore using above-mentioned apparatus, the first sliding trace line that can also be operated in touch control terminal according to user, Determine the web page tag of webpage to be closed, i.e. target webpage label.
In another possible embodiments of the invention, the first sliding trace line is made of at least two trajectory coordinates, As shown in figure 18, the first determination unit 153 may include;
Subelement 181 is determined, for determining that the track of the first sliding trace line starts coordinate and track end coordinate;
Computation subunit 182, for calculating the web page tag between the beginning coordinate and end coordinate, calculated webpage Label is the web page tag that the sliding trace line is passed through.
Therefore using above-mentioned apparatus, it may be determined that the web page tag that the first sliding trace line is passed through.
In another possible embodiments of the invention, as shown in figure 19, the device of above-mentioned all embodiments may also include that
Second obtains module 191, and the operating gesture and default label for detecting when the touch control terminal restore gesture When matching, the web page tag at least one webpage closed in advance is obtained;
Display module 192, for showing the web page tag.
Therefore using above-mentioned apparatus, user can obtain the web page tag for closing webpage in advance, and user clicks the net Page label, i.e., openable corresponding webpage.
It should be noted that, in this document, the relational terms of such as " first " and " second " or the like are used merely to one A entity or operation with another entity or operate distinguish, without necessarily requiring or implying these entities or operation it Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to Cover non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or setting Standby intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in the process, method, article or apparatus that includes the element.
The above is only a specific embodiment of the invention, is made skilled artisans appreciate that or realizing this hair It is bright.Various modifications to these embodiments will be apparent to one skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (8)

1. a kind of web page operation method is applied to touch control terminal, which is characterized in that the described method includes:
Obtain the sliding trace line of the touch control terminal, the sliding trace line includes at least the be located in web page tag region One sliding trace line and the second sliding trace line outside web page tag region;
According to the first sliding trace line, target webpage label is determined;
Judge whether the second sliding trace line is non-horizontal trajectory line;
If it is non-horizontal trajectory line, webpage corresponding to the target webpage label is closed;
According to the first sliding trace line, target webpage label is determined, comprising:
Judge whether the starting point of the first sliding trace line is located in the region of any web page tag;
If be located at, according to the touch parameter of the starting point, judge whether the touch control terminal reaches the touching for closing N number of webpage Clockwork spring part, the N are the integer greater than 1;
If reached, the web page tag that the first sliding trace line is passed through is determined, as the target webpage label;
If not up to, by the web page tag in the be located at region of the starting point, as the target webpage label.
2. the method according to claim 1, wherein determining target webpage according to the first sliding trace line Label, comprising:
The web page tag that the first sliding trace line is passed through is determined, as the target webpage label.
3. method according to claim 1 or 2, which is characterized in that the first sliding trace line is by least two tracks Coordinate composition, the web page tag that the first sliding trace of determination line is passed through, comprising:
Determine that the track of the first sliding trace line starts coordinate and track end coordinate;
The web page tag between the beginning coordinate and end coordinate is calculated, calculated web page tag is the first sliding rail The web page tag that trace is passed through.
4. the method according to claim 1, wherein further include:
If the operating gesture that the touch control terminal detects and default label recovery gesture match, what acquisition was closed in advance The web page tag of at least one webpage;
Show the web page tag.
5. a kind of web page operation device, it is applied to touch control terminal, which is characterized in that described device includes:
First obtains module, and for obtaining the sliding trace line of the touch control terminal, the sliding trace line, which includes at least, to be located at The first sliding trace line in web page tag region and the second sliding trace line outside web page tag region;
Determining module, for determining target webpage label according to the first sliding trace line;
Judgment module, for judging whether the second sliding trace line is non-horizontal trajectory line;
It is right to close the target webpage label institute for being non-horizontal trajectory line when the second sliding trace line for closedown module The webpage answered;
The determining module includes:
First judging unit, for judging whether the starting point of the first sliding trace line is located at the region of any web page tag It is interior;
Second judgment unit, for according to the touch parameter of the starting point, judging when in the region for being located at a web page tag Whether the touch control terminal reaches the trigger condition for closing N number of webpage, and the N is the integer greater than 1;
First determination unit, the webpage passed through for when reaching the trigger condition, determining the first sliding trace line Label is the target webpage label;
Second determination unit, for determining the webpage mark in the be located at region of the starting point when the not up to trigger condition Label are the target webpage label.
6. device according to claim 5, which is characterized in that the determining module includes:
First determination unit, the web page tag passed through for determining the first sliding trace line, as the target webpage Label.
7. device according to claim 5 or 6, which is characterized in that the first sliding trace line is by least two tracks Coordinate composition, first determination unit, comprising:
Subelement is determined, for determining that the track of the first sliding trace line starts coordinate and track end coordinate;
Computation subunit, for calculating the web page tag between the beginning coordinate and end coordinate, calculated web page tag is The web page tag passed through by the sliding trace line.
8. device according to claim 5, which is characterized in that further include:
Second obtains module, and the operating gesture for detecting when the touch control terminal restores gesture with default label and matches When, obtain the web page tag at least one webpage closed in advance;
Display module, for showing the web page tag.
CN201510419566.2A 2015-07-16 2015-07-16 Web page operation method and device Active CN106354392B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510419566.2A CN106354392B (en) 2015-07-16 2015-07-16 Web page operation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510419566.2A CN106354392B (en) 2015-07-16 2015-07-16 Web page operation method and device

Publications (2)

Publication Number Publication Date
CN106354392A CN106354392A (en) 2017-01-25
CN106354392B true CN106354392B (en) 2019-06-28

Family

ID=57842643

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510419566.2A Active CN106354392B (en) 2015-07-16 2015-07-16 Web page operation method and device

Country Status (1)

Country Link
CN (1) CN106354392B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440096A (en) * 2013-07-29 2013-12-11 宇龙计算机通信科技(深圳)有限公司 Batch operation method and communication terminal
CN103902190A (en) * 2012-12-27 2014-07-02 宏碁股份有限公司 Group management method of webpages
CN104199590A (en) * 2014-08-27 2014-12-10 可牛网络技术(北京)有限公司 Control method and device for label pages in browser, browser and mobile terminal
CN104252288A (en) * 2014-09-22 2014-12-31 可牛网络技术(北京)有限公司 Browser and multi-label-page control method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140149916A1 (en) * 2012-11-28 2014-05-29 SoMo Audience Corp. Content manipulation using swipe gesture recognition technology

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902190A (en) * 2012-12-27 2014-07-02 宏碁股份有限公司 Group management method of webpages
CN103440096A (en) * 2013-07-29 2013-12-11 宇龙计算机通信科技(深圳)有限公司 Batch operation method and communication terminal
CN104199590A (en) * 2014-08-27 2014-12-10 可牛网络技术(北京)有限公司 Control method and device for label pages in browser, browser and mobile terminal
CN104252288A (en) * 2014-09-22 2014-12-31 可牛网络技术(北京)有限公司 Browser and multi-label-page control method thereof

Also Published As

Publication number Publication date
CN106354392A (en) 2017-01-25

Similar Documents

Publication Publication Date Title
CN103186330B (en) A kind of display interface changing method and electronic equipment
CN103135914B (en) A kind of screenshotss method based on touch-screen and device
US9588620B2 (en) Method and device for displaying character on touchscreen
US20150058766A1 (en) Information processing methods and electronic devices
CN102385475B (en) Electronic device and interactive method thereof
WO2012149119A1 (en) Mobile browser context switching
CN103713848A (en) Mobile terminal and operation method thereof
CN103218160A (en) Man-machine interaction method and terminal
CN106527914A (en) A page turning method and device and an electronic apparatus
CN103064627A (en) Application management method and device
CN103116616A (en) Webpage collecting method and communication terminal
CN111611502A (en) Label page display method and device
CN103279276B (en) The method of locating information and device
US20150134641A1 (en) Electronic device and method for processing clip of electronic document
CN106293432A (en) A kind of page display processing method and device
CN103246464A (en) Electronic device and display processing method thereof
CN103150103B (en) The method and system of gesture operation object and form
CN102799343A (en) Method and device for displaying index icon content
CN114327726A (en) Display control method, display control device, electronic equipment and storage medium
CN104133905A (en) System and method for carrying out clicking word taking search through searcher
CN104679389B (en) Interface display method and device
US20130212517A1 (en) Electronic Device and Display Processing Method
CN107885413A (en) Icon alignment schemes and device
EP3276472A1 (en) Browsing assistance method for electronic book, and browsing assistance program
CN102841724A (en) Method and device for displaying content of index icon

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant