CN105653586A - Method and device for switching webpages in browser labels - Google Patents

Method and device for switching webpages in browser labels Download PDF

Info

Publication number
CN105653586A
CN105653586A CN201510967031.9A CN201510967031A CN105653586A CN 105653586 A CN105653586 A CN 105653586A CN 201510967031 A CN201510967031 A CN 201510967031A CN 105653586 A CN105653586 A CN 105653586A
Authority
CN
China
Prior art keywords
webpage
switching
triggering
mode
page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510967031.9A
Other languages
Chinese (zh)
Inventor
陈耀攀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510967031.9A priority Critical patent/CN105653586A/en
Publication of CN105653586A publication Critical patent/CN105653586A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to the technical field of internet, in particular to a method and device for switching webpages in browser labels. The method comprises the following steps: monitoring a trigger operation for switching from a first webpage which is currently displayed in a browser label to a second webpage; when the trigger operation is monitored, analyzing the trigger operation to obtain a corresponding trigger manner and a corresponding switching sequence; searching a second webpage view instance in a webpage view label management class in the browser label according to the switching sequence, wherein the webpage view label management class comprises a plurality of webpage view instances, different webpage view instances correspond to different webpages and the loading sequence relationship of the different webpages is recorded in the webpage view label management class; searching a switching manner in a page switching manner management class in the browser label according to the trigger manner; and switching the currently displayed page of the browser label to the second webpage according to the searched second webpage view instance and the switching manner. According to the method and device for switching the webpages in the browser labels, a smooth transition is ensured to the switching between the webpages.

Description

A kind of method of browser label inscribe draping page and device
Technical field
The present invention relates to Internet technical field, it is specifically related to method and the device of a kind of browser label inscribe draping page.
Background technology
Labels different in browser is equivalent to different windows, can switch mutually between different label, and equally, in same label, the different web pages of request can also be switched by advance key or back spacer. In the prior art, webpages different in same label is all shown by same webpage view (WebView), namely, when performing webpage and advance or retreat, WebView by again playing up page up or lower one page of content, to carry out the switching of the page, therefore, flash white occurring during page layout switch, the realization of switching effect is difficult to accomplish to seamlessly transit.
Summary of the invention
In view of the above problems, it is proposed that the present invention overcomes the problems referred to above or the method for browser label inscribe draping page solved the problem at least in part and device to provide a kind of.
According to an aspect of the present invention, it provides a kind of method of browser label inscribe draping page, comprising:
The triggering being switched to the 2nd webpage by the first webpage currently shown in browser label is operated and monitors;
When listen to exist described triggering operate time, described triggering operation is resolved, obtains and operate corresponding triggering mode and transfer sequence with described triggering;
According to described transfer sequence, webpage view tag control class in this browser label is searched the two webpage view example corresponding with described 2nd webpage, wherein, described webpage view tag control class comprises multiple webpage view example, the webpage that different webpage view examples is corresponding different, records the ordinal relation that different web pages is loaded in described webpage view tag control class; And, according to described triggering mode, the page layout switch mode administrative class in this browser label searches the switching mode corresponding with described triggering mode;
According to the described 2nd webpage view example found and described switching mode, the page currently shown by described browser label is switched to described 2nd webpage in described switching mode by described first webpage.
Optionally, described webpage view tag control class and described page layout switch mode administrative class are encapsulated in described browser label in advance.
Optionally, described triggering mode is triggering or the clicking trigger of swiping;
When triggering when swiping described in described triggering mode is, described switching mode is the switching that swipes;
When described triggering mode is described clicking trigger, described switching mode is for dodging screen switching.
Optionally, described transfer sequence is page switching or backward page switching forward.
Optionally, described method also comprises:
When there is not the record that described browser label loaded described 2nd webpage, the page keeping described browser label currently to show is described first webpage.
Optionally, described method also comprises:
When not finding described 2nd webpage view example, but when there is the record that described browser label loaded described 2nd webpage, described 2nd webpage is reloaded in described browser label, meanwhile, the described 2nd webpage view example regenerated is added in described webpage view tag control class.
Optionally, described method also comprises:
It is received in the load request loading the 3rd webpage in described browser label first;
Described 3rd webpage is loaded in described browser label, simultaneously, the three webpage view example corresponding with described 3rd webpage is added in described webpage view tag control class, swipe in handover management class described in the 3rd webpage view object corresponding with described 3rd webpage is added to.
According to the another aspect of the present invention, it provides the device of a kind of browser label inscribe draping page, comprising:
Monitor module, monitor for the triggering being switched to the 2nd webpage by the first webpage currently shown in browser label is operated;
Obtain module, for when listen to exist described triggering operate time, described triggering operation is resolved, obtains and operate corresponding triggering mode and transfer sequence with described triggering;
Search module, for according to described transfer sequence, webpage view tag control class in this browser label is searched the two webpage view example corresponding with described 2nd webpage, wherein, described webpage view tag control class comprises multiple webpage view example, the webpage that different webpage view examples is corresponding different, records the ordinal relation that different web pages is loaded in described webpage view tag control class; And, according to described triggering mode, the page layout switch mode administrative class in this browser label searches the switching mode corresponding with described triggering mode;
Handover module, for according to the described 2nd webpage view example found and described switching mode, the page currently shown by described browser label is switched to described 2nd webpage in described switching mode by described first webpage.
Optionally, described webpage view tag control class and described page layout switch mode administrative class are encapsulated in described browser label in advance.
Optionally, described triggering mode is triggering or the clicking trigger of swiping;
When triggering when swiping described in described triggering mode is, described switching mode is the switching that swipes;
When described triggering mode is described clicking trigger, described switching mode is for dodging screen switching.
Optionally, described transfer sequence is page switching or backward page switching forward.
Optionally, described device also comprises:
Keep module, for when there is not the record that described browser label loaded described 2nd webpage, the page keeping described browser label currently to show is described first webpage.
Optionally, described device also comprises:
Load-on module, for described 2nd webpage view example ought do not found, but when there is the record that described browser label loaded described 2nd webpage, described 2nd webpage is reloaded in described browser label, meanwhile, the described 2nd webpage view example regenerated is added in described webpage view tag control class.
Optionally, described device also comprises:
Receiver module, for being received in the load request loading the 3rd webpage in described browser label first;
Load-on module, for loading described 3rd webpage in described browser label, simultaneously, the three webpage view example corresponding with described 3rd webpage is added in described webpage view tag control class, swipe in handover management class described in the 3rd webpage view object corresponding with described 3rd webpage is added to.
Switching method according to webpage in a kind of browser label of the present invention and device, at browser label, the webpage view example of different web pages is carried out on the basis of buffer memory, the page layout switch mode administrative class being encapsulated in browser label is utilized the switching mode between different web pages to be managed, when switching webpage, by resolving triggering mode and the triggering order that triggering operation obtains, webpage view tag control class is searched corresponding webpage view example, simultaneously, page layout switch mode administrative class is searched corresponding switching mode, thus the page that browser label currently shows is switched by the webpage view example and switching mode according to finding, solve in prior art and switch the problem flashed white existing for webpage at same webpage view example, switching between webpage can be seamlessly transitted, improve switching to experience, also help the expansion of switching mode.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to the technique means of the present invention can be better understood, and can be implemented according to the content of specification sheets, and in order to above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become clear for those of ordinary skill in the art and understand. Accompanying drawing is only for illustrating the object of preferred implementation, and does not think limitation of the present invention. And in whole accompanying drawing, represent identical parts with identical reference symbol. In the accompanying drawings:
Fig. 1 shows the schema of the method for a kind of according to an embodiment of the invention browser label inscribe draping page;
Fig. 2 shows the structure iron of the device of a kind of according to an embodiment of the invention browser label inscribe draping page.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings more in detail. Although show exemplary embodiment of the present disclosure in accompanying drawing, it should be understood, however, that the embodiment that can realize the disclosure in a variety of manners and should do not set forth here limits. On the contrary, it is provided that these embodiments are to can more thoroughly understand the disclosure, and can pass on complete for the scope of the present disclosure to the technician of this area.
Fig. 1 is the schema of a kind of method of browser label inscribe draping page in one embodiment of the invention, and the method is applied in browser, concrete, and the method is applied in the same browser label of browser. The method comprises the following steps:
S101: the triggering being switched to the 2nd webpage by the first webpage currently shown in browser label is operated and monitors.
S102: when listen to exist triggering operate time, triggering operation is resolved, obtains and operate corresponding triggering mode and transfer sequence with triggering.
S103: according to transfer sequence, webpage view tag control class in this browser label is searched the two webpage view example corresponding with the 2nd webpage, wherein, webpage view tag control class comprises multiple webpage view example, the webpage that different webpage view examples is corresponding different, webpage view tag control class records the ordinal relation that different web pages is loaded into, and, according to triggering mode, the page layout switch mode administrative class in this browser label searches the switching mode corresponding with triggering mode.
S104: according to the 2nd webpage view example found and switching mode, to switch, mode is switched to the 2nd webpage by the first webpage to the page currently shown by browser label.
Specifically, in S101, the page that browser label currently shows is the first webpage, monitors for switching the triggering operation of the first webpage in browser label. Then, in S102, when listening to triggering and operate, by resolving triggering operation, the triggering mode corresponding with triggering operation and transfer sequence is obtained. Wherein, from user triggering operation can be swipe triggering operation, it is possible to think that clicking trigger operates. The triggering that swipes operation is the triggering operation slided according to desired guiding trajectory in browser label and carry out, and e.g., slides to the right or slide to the left in browser label. Clicking trigger operation is the triggering operation that the virtual key preset in click browser label carries out, e.g., click " �� " virtual key or click " �� " virtual key. The triggering mode corresponding with it can be obtained according to triggering operation. When triggering be operating as swipe triggering operate time, the triggering mode of acquisition is triggerings that swipe, when triggering be operating as clicking trigger operation time, the triggering mode of acquisition is clicking trigger. In addition, can also determining, according to triggering operation, the transfer sequence being switched to the 2nd webpage by the first webpage, transfer sequence is page switching or backward page switching forward. Such as, slide to the right in browser label when triggering is operating as, then, corresponding triggering mode is the triggering that swipes, meanwhile, transfer sequence be forward page switching, when triggering be operating as click " �� " virtual key, then, corresponding triggering mode is clicking trigger, and meanwhile, transfer sequence is page switching forward.
In this application, webpage view tag control class (WebViewTab) it is packaged with in browser label in advance. Webpage view tag control class is cached with multiple webpage view example (WebView), the webpage that different webpage view examples is corresponding different, wherein, webpage view example is the instantiation of webpage, each webpage view example is all cached with the data that corresponding webpage is required when showing, browser label by the different web pages view example of buffer memory is switched, with the switching realized between different web pages. Browser is after receiving the load request loading the 3rd webpage in browser label first, will according to load request, the 3rd webpage is loaded in browser, the 3rd corresponding for 3rd webpage webpage view example is added in webpage view tag control class simultaneously, thus, by constantly loading new webpage in browser label, will webpage view example that constantly buffer memory is new in webpage view tag control class.Optionally, for avoiding the webpage view example of buffer memory to take the too much spatial cache of browser, when in webpage view tag control class, the quantity of the webpage view example of buffer memory reaches predetermined number, will according to loading order from first to after delete the webpage view example of buffer memory webpage view example label administrative class successively so that the quantity of webpage view example is less than predetermined number. Namely, browser label is after receiving the load request loading the 3rd webpage first, judge whether the quantity of the webpage view example comprised in webpage view tag control class is more than or equal to predetermined number, when the quantity of webpage view example is more than or equal to predetermined number, then delete in webpage view tag control class the webpage view example added at first, the 3rd webpage view example is added in webpage view tag control class. Further, webpage view tag control class records the ordinal relation that different web pages is loaded into. In a kind of enforcement mode specifically, webpage view example includes webpage identification information, the ordinal relation being loaded into can be obtained between different web pages by webpage identification information. Such as, the webpage identification information comprised when the first webpage view example shows that the first webpage is the page 1 loaded in browser label, when the webpage identification information that 2nd webpage view example comprises shows that the 2nd webpage is the page 2 loaded in this browser label, then, the ordinal relation being loaded between the first webpage and the 2nd webpage is loaded with the 2nd webpage after being first loaded with the first webpage.
In this application, page layout switch mode administrative class (TabPageFlipper) also it is packaged with in advance in browser label, including the switching mode corresponding to the triggering mode with webpage switching in page layout switch mode administrative class, switching mode is switching or the sudden strain of a muscle screen switching of swiping. Concrete, the switching that swipes also comprise page forward swipe switching and backward page swipe switching, according to triggering mode and transfer sequence, it is possible to switching mode is determined further, namely, it is determined that go out switching mode and switch still page backward for page forward swipes and swipe switching. When triggering mode is for swiping switching and when transfer sequence switches for page forward, corresponding switching mode swipes switching for page forward, and when triggering mode is for swipe switching and transfer sequence are for when page switches backward, corresponding switching mode is that page swipes switching backward. And, for clicking trigger, transfer sequence is the still page switching backward of page switching forward, and corresponding switching mode is dodges screen switching.
Further, browser is after receiving the load request loading the 3rd webpage in browser label first, according to load request, not only can perform the above-mentioned process adding the 3rd webpage view example in webpage view tag control class, also can be added to by the 3rd webpage view object corresponding with the 3rd webpage swipes in handover management class, thus, by constantly loading new webpage in browser label, page layout switch administrative class will constantly be added new webpage view object, after page layout switch administrative class is added with the 3rd webpage view object, if when being switched to the 3rd webpage by other webpages in browser label, can ensure in page layout switch administrative class, find corresponding switching mode. the application, after open any browser label, carries out initialize to page layout switch mode administrative class while browser label Initial page view tag control class.
In S103, in webpage view tag control class, the 2nd webpage view example can be searched according to transfer sequence, in page layout switch mode administrative class, switching mode can be searched according to triggering mode meanwhile. Wherein, for the difference searching result, perform different handoff procedures. In the first scenario, when the 2nd webpage view example and switching mode all can find, performing S104, the page currently shown by browser label is switched to the 2nd webpage in the switching mode found by the first webpage.Such as, when the switching mode found swipes switching for page forward, the page currently shown by browser label is switched to the 2nd webpage by the first webpage in the way of page forward swipes switching.
In this application, after browser label loaded the 2nd webpage, the two webpage view example corresponding with the 2nd webpage will be added in webpage view tag control class, the two webpage view object corresponding with the 2nd webpage will be added in page layout switch mode administrative class, if page layout switch administrative class comprises the 2nd webpage view object, then show that page administrative class exists the record loading the 2nd webpage. The spatial cache taken due to webpage view example is bigger, and the spatial cache that webpage view object takies is less, the webpage view example exceeding predetermined number in webpage view tag control class is only cleared up by browser label, and webpage view object can not be cleared up, page layout switch mode administrative class will retain the webpage view object of all webpages loaded.
Optionally, process is searched for S103, in the latter case, when not finding the 2nd webpage view example, but when there is the record that browser label loaded the 2nd webpage, in browser label, reload the 2nd webpage, the 2nd webpage view example regenerated is added in webpage view tag control class meanwhile. The spatial cache taken due to webpage view example is bigger, and the spatial cache that webpage view object takies is less, the webpage view example exceeding predetermined number in webpage view tag control class is only cleared up by browser label, and webpage view object can not be cleared up, page layout switch mode administrative class will retain the webpage view object of all webpages loaded. Therefore, when webpage view tag control class does not find the 2nd webpage view example, and page layout switch mode administrative class finds the 2nd webpage view object, then show that the 2nd webpage view example is deleted when clearing up buffer memory, and then, when the first webpage is switched to the 2nd webpage by needs, in browser label, reload the 2nd webpage, and the 2nd webpage view example of correspondence is added in webpage view tag control class again. In addition, webpage view tag control class also may occur the 2nd webpage view example by unexpected clear empty situation, when the 2nd webpage view example is by unexpected clear sky, page layout switch mode administrative class still can find the 2nd webpage view object, thus, equally, browser label will reload the 2nd webpage, and again be added in webpage view tag control class by the 2nd webpage view example of correspondence.
Optionally, process is searched for S103, in a third case, when there is not the record that browser label loaded the 2nd webpage, that is, both do not find the 2nd webpage view example, in page layout switch mode administrative class, do not find the 2nd webpage view object yet, then, the page keeping browser label currently to show is the first webpage. In a third case, specifically, the first webpage is homepage or endpage, thus, when the first webpage is homepage or during endpage, if when triggering operation is used for that page switches forward by the first webpage, browser label is failure to actuate, the page keeping current display is the first webpage, with reason, when the first webpage is endpage, if triggering operation is for when by the first webpage, page switches backward, browser label is failure to actuate, and the page keeping current display is the first webpage.
It should be noted that, the record of the webpage loaded can be deposited in page layout switch mode administrative class by browser label, record is carried out, it is also possible to otherwise carry out record in other positions independent of page layout switch mode administrative class by adding the mode of webpage view object in page layout switch mode administrative class.
The application, after the first webpage currently shown by browser label is switched to the 2nd webpage, upgrades to the status bar bottom browser label, and wherein, the display state comprising the display state to advancement commands and retrogressing instruction upgrades.
Based on the technical conceive identical with aforesaid method, the present invention also provides the device of a kind of browser label inscribe draping page, as shown in Figure 2, comprising:
Monitor module 201, monitor for the triggering being switched to the 2nd webpage by the first webpage currently shown in browser label is operated;
Obtain module 202, for when listen to exist described triggering operate time, described triggering operation is resolved, obtains and operate corresponding triggering mode and transfer sequence with described triggering;
Search module 203, for searching module, for according to described transfer sequence, webpage view tag control class in this browser label is searched the two webpage view example corresponding with described 2nd webpage, wherein, described webpage view tag control class comprises multiple webpage view example, the webpage that different webpage view examples is corresponding different, records the ordinal relation that different web pages is loaded in described webpage view tag control class; And, according to described triggering mode, the page layout switch mode administrative class in this browser label searches the switching mode corresponding with described triggering mode;
Handover module 204, for according to the described 2nd webpage view example found and described switching mode, the page currently shown by described browser label is switched to described 2nd webpage in described switching mode by described first webpage.
Described webpage view tag control class and described page layout switch mode administrative class are encapsulated in described browser label in advance.
Described triggering mode is triggering or the clicking trigger of swiping;
When triggering when swiping described in described triggering mode is, described switching mode is the switching that swipes;
When described triggering mode is described clicking trigger, described switching mode is for dodging screen switching.
Described transfer sequence is page switching or backward page switching forward.
Described device also comprises:
Keep module, for when there is not the record that described browser label loaded described 2nd webpage, the page keeping described browser label currently to show is described first webpage.
Described device also comprises:
Load-on module, for described 2nd webpage view example ought do not found, but when there is the record that described browser label loaded described 2nd webpage, described 2nd webpage is reloaded in described browser label, meanwhile, the described 2nd webpage view example regenerated is added in described webpage view tag control class.
Described device also comprises:
Receiver module, for being received in the load request loading the 3rd webpage in described browser label first;
Load-on module, for loading described 3rd webpage in described browser label, simultaneously, the three webpage view example corresponding with described 3rd webpage is added in described webpage view tag control class, swipe in handover management class described in the 3rd webpage view object corresponding with described 3rd webpage is added to.
The webpage view example of different web pages is carried out on the basis of buffer memory at browser label by the application, the page layout switch mode administrative class being encapsulated in browser label is utilized the switching mode between different web pages to be managed, when switching webpage, by resolving triggering mode and the triggering order that triggering operation obtains, webpage view tag control class is searched corresponding webpage view example, simultaneously, page layout switch mode administrative class is searched corresponding switching mode, thus the page that browser label currently shows is switched by the webpage view example and switching mode according to finding, solve in prior art and switch the problem flashed white existing for webpage at same webpage view example, switching between webpage can be seamlessly transitted, improve switching to experience, also help the expansion of switching mode.
Intrinsic not relevant to any certain computer, virtual system or other equipment with display at this algorithm provided.Various general-purpose system can also with use based on together with this teaching. According to description above, it is to construct the structure required by this type systematic is apparent. In addition, the present invention is not also for any certain programmed language. It should be appreciated that various programming language can be utilized to realize the content of the present invention described here, and the description done by language-specific above is the preferred forms in order to disclose the present invention.
In specification sheets mentioned herein, describe a large amount of detail. However, it is understood that embodiments of the invention can be put into practice when not having these details. In some instances, it is not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, it is to be understood that, one or more in order to what simplify the disclosure and help to understand in each inventive aspect, above to, in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes. But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim. More properly saying, as reflected in claim book below, inventive aspect is all features less than disclosed single embodiment above. Therefore, the claim book following embodiment is thus incorporated to this embodiment clearly, and wherein each claim itself is as the independent embodiment of the present invention.
Those skilled in the art it can be appreciated that the module in the equipment in embodiment can be carried out adaptively change and they are arranged in one or more equipment different from this embodiment. Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule block or subelement or subgroup part can be put them in addition. Except at least some in such feature and/or process or unit mutually repels, it is possible to adopt any combination all processes or the unit of all features disclosed in this specification sheets (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment to be combined. Unless expressly stated otherwise, each feature disclosed in this specification sheets (comprising adjoint claim, summary and accompanying drawing) can by providing alternative features that is identical, equivalent or similar object to replace.
In addition, the technician of this area can understand, although embodiments more described herein comprise in other embodiment some included feature instead of further feature, but the combination of the feature of different embodiment means to be within the scope of the present invention and forms different embodiments. Such as, in the following claims, the one of any of claimed embodiment can use with arbitrary array mode.
Each parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more treater, or realizes with their combination. It will be understood by one skilled in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize the some or all parts in the device of browser label inscribe draping page according to embodiments of the present invention. Such as, the present invention can also be embodied as part or all the equipment for performing method as described herein or device program (computer program and computer program).The program of such the present invention of realization can store on a computer-readable medium, or can have the form of one or more signal. Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
Should it is to be noted that above-described embodiment the present invention will be described instead of limits the invention, and those skilled in the art can design alternative embodiment when not departing from the scope of claims. In the claims, it should not any reference symbol construction between bracket is become limitations on claims. Word " comprises " element or step not getting rid of and exist and do not arrange in the claims. Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element. The present invention can by means of including the hardware of some different elements and realize by means of the computer suitably programmed. In the unit claim listing some devices, some in these devices can be carry out particular embodiment by same hardware branch. Word first, second and third-class use do not represent any order. Can be title by these word explanations.
The present invention discloses, and a kind of method of A1, browser label inscribe draping page, comprising:
The triggering being switched to the 2nd webpage by the first webpage currently shown in browser label is operated and monitors;
When listen to exist described triggering operate time, described triggering operation is resolved, obtains and operate corresponding triggering mode and transfer sequence with described triggering;
According to described transfer sequence, webpage view tag control class in this browser label is searched the two webpage view example corresponding with described 2nd webpage, wherein, described webpage view tag control class comprises multiple webpage view example, the webpage that different webpage view examples is corresponding different, records the ordinal relation that different web pages is loaded in described webpage view tag control class; And, according to described triggering mode, the page layout switch mode administrative class in this browser label searches the switching mode corresponding with described triggering mode;
According to the described 2nd webpage view example found and described switching mode, the page currently shown by described browser label is switched to described 2nd webpage in described switching mode by described first webpage.
A2, method according to A1, described webpage view tag control class and described page layout switch mode administrative class are encapsulated in described browser label in advance.
A3, method according to A1, described triggering mode is swipe triggering or clicking trigger;
When triggering when swiping described in described triggering mode is, described switching mode is the switching that swipes;
When described triggering mode is described clicking trigger, described switching mode is for dodging screen switching.
A4, method according to A1, described transfer sequence is page switching or backward page switching forward.
A5, method according to A1, described method also comprises:
When there is not the record that described browser label loaded described 2nd webpage, the page keeping described browser label currently to show is described first webpage.
A6, method according to A1, described method also comprises:
When not finding described 2nd webpage view example, but when there is the record that described browser label loaded described 2nd webpage, described 2nd webpage is reloaded in described browser label, meanwhile, the described 2nd webpage view example regenerated is added in described webpage view tag control class.
A7, method according to A1, described method also comprises:
It is received in the load request loading the 3rd webpage in described browser label first;
Described 3rd webpage is loaded in described browser label, simultaneously, the three webpage view example corresponding with described 3rd webpage is added in described webpage view tag control class, swipe in handover management class described in the 3rd webpage view object corresponding with described 3rd webpage is added to.
The device of B8, a kind of browser label inscribe draping page, comprising:
Monitor module, monitor for the triggering being switched to the 2nd webpage by the first webpage currently shown in browser label is operated;
Obtain module, for when listen to exist described triggering operate time, described triggering operation is resolved, obtains and operate corresponding triggering mode and transfer sequence with described triggering;
Search module, for according to described transfer sequence, webpage view tag control class in this browser label is searched the two webpage view example corresponding with described 2nd webpage, wherein, described webpage view tag control class comprises multiple webpage view example, the webpage that different webpage view examples is corresponding different, records the ordinal relation that different web pages is loaded in described webpage view tag control class; And, according to described triggering mode, the page layout switch mode administrative class in this browser label searches the switching mode corresponding with described triggering mode;
Handover module, for according to the described 2nd webpage view example found and described switching mode, the page currently shown by described browser label is switched to described 2nd webpage in described switching mode by described first webpage.
B9, device according to B8, described webpage view tag control class and described page layout switch mode administrative class are encapsulated in described browser label in advance.
B10, device according to B8, described triggering mode is swipe triggering or clicking trigger;
When triggering when swiping described in described triggering mode is, described switching mode is the switching that swipes;
When described triggering mode is described clicking trigger, described switching mode is for dodging screen switching.
B11, device according to B8, described transfer sequence is page switching or backward page switching forward.
B12, device according to B8, described device also comprises:
Keep module, for when there is not the record that described browser label loaded described 2nd webpage, the page keeping described browser label currently to show is described first webpage.
B13, device according to B8, described device also comprises:
Load-on module, for described 2nd webpage view example ought do not found, but when there is the record that described browser label loaded described 2nd webpage, described 2nd webpage is reloaded in described browser label, meanwhile, the described 2nd webpage view example regenerated is added in described webpage view tag control class.
B14, device according to B8, described device also comprises:
Receiver module, for being received in the load request loading the 3rd webpage in described browser label first;
Load-on module, for loading described 3rd webpage in described browser label, simultaneously, the three webpage view example corresponding with described 3rd webpage is added in described webpage view tag control class, swipe in handover management class described in the 3rd webpage view object corresponding with described 3rd webpage is added to.

Claims (10)

1. the method for a browser label inscribe draping page, it is characterised in that, comprising:
The triggering being switched to the 2nd webpage by the first webpage currently shown in browser label is operated and monitors;
When listen to exist described triggering operate time, described triggering operation is resolved, obtains and operate corresponding triggering mode and transfer sequence with described triggering;
According to described transfer sequence, webpage view tag control class in this browser label is searched the two webpage view example corresponding with described 2nd webpage, wherein, described webpage view tag control class comprises multiple webpage view example, the webpage that different webpage view examples is corresponding different, records the ordinal relation that different web pages is loaded in described webpage view tag control class; And, according to described triggering mode, the page layout switch mode administrative class in this browser label searches the switching mode corresponding with described triggering mode;
According to the described 2nd webpage view example found and described switching mode, the page currently shown by described browser label is switched to described 2nd webpage in described switching mode by described first webpage.
2. the method for claim 1, it is characterised in that, described webpage view tag control class and described page layout switch mode administrative class are encapsulated in described browser label in advance.
3. the method for claim 1, it is characterised in that, described triggering mode is triggering or the clicking trigger of swiping;
When triggering when swiping described in described triggering mode is, described switching mode is the switching that swipes;
When described triggering mode is described clicking trigger, described switching mode is for dodging screen switching.
4. the method for claim 1, it is characterised in that, described transfer sequence is page switching or backward page switching forward.
5. the method for claim 1, it is characterised in that, described method also comprises:
When there is not the record that described browser label loaded described 2nd webpage, the page keeping described browser label currently to show is described first webpage.
6. the device of a browser label inscribe draping page, it is characterised in that, comprising:
Monitor module, monitor for the triggering being switched to the 2nd webpage by the first webpage currently shown in browser label is operated;
Obtain module, for when listen to exist described triggering operate time, described triggering operation is resolved, obtains and operate corresponding triggering mode and transfer sequence with described triggering;
Search module, for according to described transfer sequence, webpage view tag control class in this browser label is searched the two webpage view example corresponding with described 2nd webpage, wherein, described webpage view tag control class comprises multiple webpage view example, the webpage that different webpage view examples is corresponding different, records the ordinal relation that different web pages is loaded in described webpage view tag control class; And, according to described triggering mode, the page layout switch mode administrative class in this browser label searches the switching mode corresponding with described triggering mode;
Handover module, for according to the described 2nd webpage view example found and described switching mode, the page currently shown by described browser label is switched to described 2nd webpage in described switching mode by described first webpage.
7. device as claimed in claim 6, it is characterised in that, described webpage view tag control class and described page layout switch mode administrative class are encapsulated in described browser label in advance.
8. device as claimed in claim 6, it is characterised in that, described triggering mode is triggering or the clicking trigger of swiping;
When triggering when swiping described in described triggering mode is, described switching mode is the switching that swipes;
When described triggering mode is described clicking trigger, described switching mode is for dodging screen switching.
9. device as claimed in claim 6, it is characterised in that, described transfer sequence is page switching or backward page switching forward.
10. device as claimed in claim 6, it is characterised in that, described device also comprises:
Keep module, for when there is not the record that described browser label loaded described 2nd webpage, the page keeping described browser label currently to show is described first webpage.
CN201510967031.9A 2015-12-21 2015-12-21 Method and device for switching webpages in browser labels Pending CN105653586A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510967031.9A CN105653586A (en) 2015-12-21 2015-12-21 Method and device for switching webpages in browser labels

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510967031.9A CN105653586A (en) 2015-12-21 2015-12-21 Method and device for switching webpages in browser labels

Publications (1)

Publication Number Publication Date
CN105653586A true CN105653586A (en) 2016-06-08

Family

ID=56476612

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510967031.9A Pending CN105653586A (en) 2015-12-21 2015-12-21 Method and device for switching webpages in browser labels

Country Status (1)

Country Link
CN (1) CN105653586A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107622063A (en) * 2016-07-13 2018-01-23 深圳联友科技有限公司 A kind of page switching method and device for avoiding white page
CN108108113A (en) * 2017-12-19 2018-06-01 维沃移动通信有限公司 Webpage switching method and device
CN109960769A (en) * 2019-03-15 2019-07-02 广州视源电子科技股份有限公司 Webpage view display method and device, computer equipment and storage medium
CN111831770A (en) * 2020-06-30 2020-10-27 中国人民解放军战略支援部队信息工程大学 High-speed measurement and control target view control method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101986252A (en) * 2009-07-27 2011-03-16 三星电子株式会社 Method and apparatus for web browsing
CN103246739A (en) * 2013-05-16 2013-08-14 百度在线网络技术(北京)有限公司 Web browsing control method of multiple Web Views and browser
CN103309563A (en) * 2013-06-28 2013-09-18 贝壳网际(北京)安全技术有限公司 Displayed page switching method and device
CN104199603A (en) * 2014-08-28 2014-12-10 北京金山安全软件有限公司 Browser webpage control method and device and terminal
CN104331260A (en) * 2014-03-05 2015-02-04 广州三星通信技术研究有限公司 Method and equipment for displaying web pages on screen
CN104461632A (en) * 2014-12-09 2015-03-25 东软集团股份有限公司 Web App loading method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101986252A (en) * 2009-07-27 2011-03-16 三星电子株式会社 Method and apparatus for web browsing
CN103246739A (en) * 2013-05-16 2013-08-14 百度在线网络技术(北京)有限公司 Web browsing control method of multiple Web Views and browser
CN103309563A (en) * 2013-06-28 2013-09-18 贝壳网际(北京)安全技术有限公司 Displayed page switching method and device
CN104331260A (en) * 2014-03-05 2015-02-04 广州三星通信技术研究有限公司 Method and equipment for displaying web pages on screen
CN104199603A (en) * 2014-08-28 2014-12-10 北京金山安全软件有限公司 Browser webpage control method and device and terminal
CN104461632A (en) * 2014-12-09 2015-03-25 东软集团股份有限公司 Web App loading method and device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
丁振凡: "《Spring3.X编程技术与应用》", 30 August 3013 *
匡松,张淮鑫: "《C#开发宝典》", 30 November 2010 *
朱育发: "《jQuery与jQuery Mobile开发完全技术宝典》", 31 October 2014 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107622063A (en) * 2016-07-13 2018-01-23 深圳联友科技有限公司 A kind of page switching method and device for avoiding white page
CN107622063B (en) * 2016-07-13 2021-01-19 深圳联友科技有限公司 Page switching method and device for avoiding white pages
CN108108113A (en) * 2017-12-19 2018-06-01 维沃移动通信有限公司 Webpage switching method and device
CN109960769A (en) * 2019-03-15 2019-07-02 广州视源电子科技股份有限公司 Webpage view display method and device, computer equipment and storage medium
CN111831770A (en) * 2020-06-30 2020-10-27 中国人民解放军战略支援部队信息工程大学 High-speed measurement and control target view control method and device
CN111831770B (en) * 2020-06-30 2023-02-03 中国人民解放军战略支援部队信息工程大学 High-speed measurement and control target view control method and device

Similar Documents

Publication Publication Date Title
US11188236B2 (en) Automatically organizing storage system
CN105653586A (en) Method and device for switching webpages in browser labels
JP7129465B2 (en) Optimizing User Satisfaction When Training a Cognitive Hierarchical Storage Management System
CN105426538A (en) Page switching method and device
CN101964036B (en) Leak detection method and device
KR100866627B1 (en) Method for page preload using control flow and system thereof
CN104462231B (en) The method, apparatus and system of webpage rendering
US8850358B2 (en) System and method for keyboard navigation in a search results page
US20170169043A1 (en) Apparatus, method and computer program for displaying web pages
JP7034159B2 (en) Branch predictor search only using stream length prediction
CN105468256A (en) Input method keyboard switching method and device
CN102099781A (en) Branch predicting device, branch predicting method thereof, compiler, compiling method thereof, and medium for storing branch predicting program
CN105653585A (en) Method and device for switching webpages in browser labels
CN106648685A (en) Processing method and device of intelligent terminal system and intelligent terminal
US10423420B2 (en) Stream based branch prediction index accelerator for multiple stream exits
CN105975154B (en) A kind of application icon lookup method and mobile terminal
CN111309413B (en) Interface display method and device, electronic equipment and storage medium
KR101675444B1 (en) A firmware updating apparatus and an mothod of the same
US10649908B2 (en) Non-disruptive clearing of varying address ranges from cache
CN105550341A (en) Positioning method and apparatus for returning dynamic data list page
US11042483B2 (en) Efficient eviction of whole set associated cache or selected range of addresses
US20190347103A1 (en) Hardware-based data prefetching based on loop-unrolled instructions
CN103377145A (en) Loading a pre-fetch cache using a logical volume mapping
CN105830067A (en) Document information processing method, apparatus, and document processing apparatus and system
US20160239305A1 (en) Branch target buffer column predictor

Legal Events

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

Application publication date: 20160608