CN105528439A - Switching method and device for page in browser label - Google Patents

Switching method and device for page in browser label Download PDF

Info

Publication number
CN105528439A
CN105528439A CN201510968017.0A CN201510968017A CN105528439A CN 105528439 A CN105528439 A CN 105528439A CN 201510968017 A CN201510968017 A CN 201510968017A CN 105528439 A CN105528439 A CN 105528439A
Authority
CN
China
Prior art keywords
page
identification information
browser label
loading scripts
layout switch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510968017.0A
Other languages
Chinese (zh)
Other versions
CN105528439B (en
Inventor
杨德立
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology 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 CN201510968017.0A priority Critical patent/CN105528439B/en
Publication of CN105528439A publication Critical patent/CN105528439A/en
Priority to PCT/CN2016/109992 priority patent/WO2017107833A1/en
Application granted granted Critical
Publication of CN105528439B publication Critical patent/CN105528439B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • 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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • 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/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9562Bookmark management

Abstract

The invention discloses a switching method and device for a page in a browser label, relating to the technical field of information. The method comprises: firstly detecting whether a page switching command corresponding to the browser label is received, wherein the browser label corresponds to multiple pages; if the page switching command is received, obtaining identifier information of a current page from a preset page information list, then according to the identifier information of the current page, obtaining identifier information of a switched page and a page loading script corresponding to the identifier information, and finally according to the page loading script, displaying the switched page. By using the solution, the problem that extended functions of adding a switching effect among pages and setting a browsing position are avoided, and the page switching efficiency is improved.

Description

Page switching method in browser label and device
Technical field
The present invention relates to a kind of areas of information technology, particularly relate to the page switching method in a kind of browser label and device.
Background technology
In the last few years, along with the development of infotech, Internet technology was more and more ripe, had become the part in people's daily life by browser browsing information, and the popularity rate of browser is also more and more higher.Wherein, one of major function of browser support carries multiple Webpage exactly in a browser label, and can carry out Webpage switching displaying.
At present, when carrying out the page layout switch in a browser label, normally realize the switching display between the page by a preset page loading scripts (webview).But by a page loading scripts when carrying out page layout switch display, constantly updating displaying contents due to needs and realizing page layout switch, causing page layout switch efficiency lower.And show because the different page belongs to a page loading scripts together, cause to switch between the page effect add and the expanded function of browsing that position is arranged etc. comparatively limited.
Summary of the invention
In view of this, the invention provides the page switching method in a kind of browser label and device, fundamental purpose is to solve and shows because the different page belongs to a page loading scripts together, switch the comparatively limited problem of expanded function that effect is added and browsed that position is arranged and wait between the page caused, while can improve page layout switch efficiency.
According to one aspect of the invention, provide the page switching method in a kind of browser label, described method comprises:
Detect and whether receive page layout switch instruction corresponding to browser label, the corresponding multiple page of described browser label;
If receive described page layout switch instruction, from pre-set page information list, then obtain the identification information of current page, in described pre-set page information list, preserve the page loading scripts that the identification information of each page corresponding to described browser label is corresponding with the identification information of each page;
According to the identification information of described current page, obtain the identification information of the page after switching and the page loading scripts corresponding with described identification information;
According to described page loading scripts, the page after display switches.
According to another aspect of the present invention, provide the page layout switch device in a kind of browser label, described device comprises:
Whether detecting unit, receive page layout switch instruction corresponding to browser label for detecting, the corresponding multiple page of described browser label;
Acquiring unit, if for receiving described page layout switch instruction, from pre-set page information list, then obtain the identification information of current page, in described pre-set page information list, preserve the page loading scripts that the identification information of each page corresponding to described browser label is corresponding with the identification information of each page;
Described acquiring unit, also for the identification information according to described current page, obtains the identification information of the page after switching and the page loading scripts corresponding with described identification information;
Display unit, for according to described page loading scripts, shows the page after switching.
By technique scheme, the technical scheme that the embodiment of the present invention provides at least has following advantages:
Page switching method in a kind of browser label provided by the invention and device, first detect and whether receive page layout switch instruction corresponding to browser label, the corresponding multiple page of described browser label, if receive described page layout switch instruction, from pre-set page information list, then obtain the identification information of current page, then according to the identification information of described current page, obtain the identification information of the page after switching and the page loading scripts corresponding with described identification information, last according to described page loading scripts, the page after display switches.With current when carrying out the page layout switch in a browser label, the switching display normally realized between the page by a preset page loading scripts is compared, the present invention is switched by the page loading scripts that the different page is corresponding respectively, realize the switching between the different page, can avoid switching between the page problem that effect is added and the expanded function of browsing that position is arranged etc. is comparatively limited, and page layout switch efficiency can be improved.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing 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 by identical reference symbol.In the accompanying drawings:
Fig. 1 shows the page switching method schematic flow sheet in a kind of browser label that the embodiment of the present invention provides;
Fig. 2 shows the page switching method schematic flow sheet in another kind of browser label that the embodiment of the present invention provides;
Fig. 3 shows the page layout switch apparatus structure schematic diagram in a kind of browser label that the embodiment of the present invention provides;
Fig. 4 shows the page layout switch apparatus structure schematic diagram in another kind of browser label that the embodiment of the present invention provides.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Embodiments provide a kind of user behavior analysis method of Behavior-based control log information, as shown in Figure 1, shown method comprises:
101, detect whether receive page layout switch instruction corresponding to browser label.
Wherein, described browser label can corresponding multiple page, and each browser label is a display window, thus can realize multiple page and realize switching in a browser label.Described page layout switch instruction can carry the identification information of the page after switching, to indicate the page switching rear display, page layout switch instruction is specifically as follows and switches goback function, forward switching goforward function etc. backward, and the embodiment of the present invention does not limit.
If 102 receive described page layout switch instruction, then from pre-set page information list, obtain the identification information of current page.
Wherein, the page loading scripts that the identification information of each page corresponding to described browser label is corresponding with the identification information of each page is preserved in described pre-set page information list.The identification information of the described page is used for the position at this page of unique identification place in pre-set page information list, and can be page sequence number, page ID etc., the embodiment of the present invention limit.Page loading scripts is specifically as follows web displaying function webview, now, pre-set page information list can be managed by function WebviewTab, this list specifically can be corresponding by the identification information being cached with each page the webview list mCachedPages of page loading scripts and the list mPageHistoryStack of the identification information and webview identification information that have the page form, concrete form can be as follows: privateArrayList<IWebView>mCa chedPages=null; PrivateArrayList<WebPageInfo> mPageHistoryStack=newArrayList<WebPageInfoG reatT.GreaT.GT ().The URL address that each page is corresponding can also be preserved, for identifying URL address corresponding to the shown page in described pre-set page information list.
103, according to the identification information of described current page, the identification information of the page after switching and the page loading scripts corresponding with described identification information is obtained.
For the embodiment of the present invention, the page number switched forward or backward that specifically can switch according to page layout switch instruction instruction and the identification information of current page, obtain the identification information of the page after switching.Such as, page layout switch instruction instruction switches two pages, then the identification information of second page obtain the identification information of current page from pre-set page information list after backward.
104, according to described page loading scripts, the page after display switches.
For the embodiment of the present invention, the switching display between the different page is realized by the switching between page loading scripts, thus avoid switching between the page problem that effect is added and the expanded function of browsing that position is arranged etc. is comparatively limited, and page layout switch efficiency can be improved.
Page switching method in a kind of browser label provided by the invention, first detect and whether receive page layout switch instruction corresponding to browser label, the corresponding multiple page of described browser label, if receive described page layout switch instruction, from pre-set page information list, then obtain the identification information of current page, then according to the identification information of described current page, obtain the identification information of the page after switching and the page loading scripts corresponding with described identification information, last according to described page loading scripts, the page after display switches.With current when carrying out the page layout switch in a browser label, the switching display normally realized between the page by a preset page loading scripts is compared, the present invention is switched by the page loading scripts that the different page is corresponding respectively, realize the switching between the different page, can avoid switching between the page problem that effect is added and the expanded function of browsing that position is arranged etc. is comparatively limited, and page layout switch efficiency can be improved.
Embodiments provide the page switching method in another kind of browser label, as shown in Figure 2, shown method comprises:
201, detect whether receive page layout switch instruction corresponding to browser label.
Wherein, described browser label can corresponding multiple page, and each browser label is a display window, thus can realize multiple page and realize switching in a browser label.Described page layout switch instruction can carry the identification information of the page after switching, to indicate the page switching rear display.
For the embodiment of the present invention, can also comprise before step 201: according to the DISPLAY ORDER of multiple pages corresponding to described browser label, for the identification information of each page configuration page, and configure corresponding page loading scripts respectively for the identification information of each page, the identification information of each corresponding for described browser label page and page loading scripts corresponding to the identification information of each page are kept in described pre-set page information list.For the embodiment of the present invention, by the DISPLAY ORDER according to multiple pages corresponding to described browser label, for the identification information of each page configuration page, when can ensure to carry out page layout switch, get the relevant information of the page after switching faster, thus improve page layout switch efficiency further.
Wherein, the identification information of the described page is used for the position at this page of unique identification place in pre-set page information list, and can be page sequence number, page ID etc., the embodiment of the present invention limit.Page loading scripts is specifically as follows web displaying function webview, can also preserve the URL address that each page is corresponding in described pre-set page information list, for identifying URL address corresponding to the shown page.
If 202 receive described page layout switch instruction, then from pre-set page information list, obtain the identification information of current page.
Wherein, the page loading scripts that the identification information of each page corresponding to described browser label is corresponding with the identification information of each page is preserved in described pre-set page information list.
203, according to the identification information of described current page, the identification information of the page after switching and the page loading scripts corresponding with described identification information is obtained.
For the embodiment of the present invention, the page number switched forward or backward that specifically can switch according to page layout switch instruction instruction and the identification information of current page, obtain the identification information of the page after switching.Such as, page layout switch instruction instruction switches two pages, then the identification information of second page obtain the identification information of current page from pre-set page information list after backward.
Particularly, step 203 can comprise: if described page layout switch instruction is for switching goback function backward, then from described pre-set page information list, obtain the identification information of a upper page corresponding with the identification information of described current page and the page loading scripts corresponding with described identification information; If or described page layout switch instruction is switch goforward function forward, then obtain the identification information of the next page corresponding with the identification information of described current page and the page loading scripts corresponding with described identification information from described pre-set page information list.
204, according to described page loading scripts, the page after display switches.
For the embodiment of the present invention, step 204 specifically can comprise: if there is not the identification information of a upper page corresponding with the identification information of described current page or the identification information of the next page, then show current page.If there is not the identification information of a upper page corresponding with the identification information of described current page or the identification information of the next page, can ensure that user normally can get page info by display current page, avoid the situation occurring that display is abnormal.
Further, can also to export information prompting user current page be homepage or be last page, to avoid carrying out unnecessary blocked operation, described information can be text prompt information, audio prompt information, visual prompts information etc., and the embodiment of the present invention does not limit.
205, when receiving the page and adding instruction, judge whether the page quantity that described browser label is corresponding is less than predetermined threshold value.
Wherein, the operations such as the page adds that instruction is specifically as follows that the outer chain that user carries out is opened, open in the page, navigation screen link is opened, be used to indicate and the page to be opened is added in pre-set page information list, predetermined threshold value can be arranged according to actual needs, can be 10,15,20 etc.
If 206 are less than described predetermined threshold value, then add page configuration identification information corresponding to instruction and the page loading scripts corresponding with described identification information for the described page and preserve.
For the embodiment of the present invention, by under confirming that the page quantity of preserving is less than the condition of predetermined threshold value, carry out interpolation operation, can ensure that the data volume of buffer memory is normal, to make buffer memory normally to work, and then ensure the efficiency of page layout switch.
Further, if be more than or equal to described predetermined threshold value, then by the information deletion of the page that in described pre-set page information list, first is preserved, then add page configuration identification information corresponding to instruction and the page loading scripts corresponding with described identification information for the described page and preserve.By the information deletion by the page that first is preserved in described pre-set page information list, then add page configuration identification information corresponding to instruction and the page loading scripts corresponding with described identification information for the described page and preserve, under the data volume normal condition ensureing buffer memory, achieve the renewal carrying out page info.
For the embodiment of the present invention, specifically can by calling the preset function clearAllHistory that empties by the information deletion in pre-set page information list.Emptying function by providing preset, conveniently can carry out the information updating in pre-set page information list, ensure the information updating efficiency in pre-set page information list.
Page switching method in another kind of browser label provided by the invention, first detect and whether receive page layout switch instruction corresponding to browser label, the corresponding multiple page of described browser label, if receive described page layout switch instruction, from pre-set page information list, then obtain the identification information of current page, then according to the identification information of described current page, obtain the identification information of the page after switching and the page loading scripts corresponding with described identification information, last according to described page loading scripts, the page after display switches.With current when carrying out the page layout switch in a browser label, the switching display normally realized between the page by a preset page loading scripts is compared, the present invention is switched by the page loading scripts that the different page is corresponding respectively, realize the switching between the different page, can avoid switching between the page problem that effect is added and the expanded function of browsing that position is arranged etc. is comparatively limited, and page layout switch efficiency can be improved.
Further, as the specific implementation of method described in Fig. 1, embodiments provide the page layout switch device in a kind of browser label, as shown in Figure 3, described device comprises: detecting unit 31, acquiring unit 32, display unit 33.
Whether detecting unit 31, receive page layout switch instruction corresponding to browser label for detecting, the corresponding multiple page of described browser label;
Acquiring unit 32, if for receiving described page layout switch instruction, from pre-set page information list, then obtain the identification information of current page, in described pre-set page information list, preserve the page loading scripts that the identification information of each page corresponding to described browser label is corresponding with the identification information of each page;
Described acquiring unit 32, also for the identification information according to described current page, obtains the identification information of the page after switching and the page loading scripts corresponding with described identification information;
Display unit 33, for according to described page loading scripts, shows the page after switching.
It should be noted that, other corresponding descriptions of each functional unit involved by the page layout switch device in a kind of browser label that the embodiment of the present invention provides, the correspondence in reference diagram 1 can describe, do not repeat them here.
Page layout switch device in a kind of browser label provided by the invention, first detect and whether receive page layout switch instruction corresponding to browser label, the corresponding multiple page of described browser label, if receive described page layout switch instruction, from pre-set page information list, then obtain the identification information of current page, then according to the identification information of described current page, obtain the identification information of the page after switching and the page loading scripts corresponding with described identification information, last according to described page loading scripts, the page after display switches.With current when carrying out the page layout switch in a browser label, the switching display normally realized between the page by a preset page loading scripts is compared, the present invention is switched by the page loading scripts that the different page is corresponding respectively, realize the switching between the different page, can avoid switching between the page problem that effect is added and the expanded function of browsing that position is arranged etc. is comparatively limited, and page layout switch efficiency can be improved.
Further, as the specific implementation of method described in Fig. 2, embodiments provide the page layout switch device in another kind of browser label, as shown in Figure 4, described device comprises: detecting unit 41, acquiring unit 42, display unit 43.
Whether detecting unit 41, receive page layout switch instruction corresponding to browser label for detecting, the corresponding multiple page of described browser label;
Acquiring unit 42, if for receiving described page layout switch instruction, from pre-set page information list, then obtain the identification information of current page, in described pre-set page information list, preserve the page loading scripts that the identification information of each page corresponding to described browser label is corresponding with the identification information of each page;
Described acquiring unit 42, also for the identification information according to described current page, obtains the identification information of the page after switching and the page loading scripts corresponding with described identification information;
Display unit 43, for according to described page loading scripts, shows the page after switching.
Further, described device also comprises:
Dispensing unit 44, for the DISPLAY ORDER according to multiple pages corresponding to described browser label, is the identification information of each page configuration page, and configures corresponding page loading scripts respectively for the identification information of each page;
Storage unit 45, for being kept at the identification information of each corresponding for described browser label page and page loading scripts corresponding to the identification information of each page in described pre-set page information list.
Further, described acquiring unit 42, if be switch goback function backward specifically for described page layout switch instruction, then from described pre-set page information list, obtain the identification information of a upper page corresponding with the identification information of described current page and the page loading scripts corresponding with described identification information; If or described page layout switch instruction is switch goforward function forward, then obtain the identification information of the next page corresponding with the identification information of described current page and the page loading scripts corresponding with described identification information from described pre-set page information list.
Further, described display unit 43, if specifically for there is not the identification information of a upper page corresponding with the identification information of described current page or the identification information of the next page, then show current page.
Further, described device also comprises: judging unit 46;
Described judging unit 46, for when receiving the page and adding instruction, judges whether the page quantity that described browser label is corresponding is less than predetermined threshold value;
Described dispensing unit 44, if also for being less than described predetermined threshold value, then adds page configuration identification information corresponding to instruction and the page loading scripts corresponding with described identification information for the described page and preserves.
Further, described device also comprises: delete cells 47.
Described delete cells 47, if for being more than or equal to described predetermined threshold value, then by the information deletion of the page that first is preserved in described pre-set page information list;
Dispensing unit 44, for adding page configuration identification information corresponding to instruction and the page loading scripts corresponding with described identification information and preserving for the described page.
Further, described delete cells 47, also for by calling the preset function clearAllHistory that empties by the information deletion in pre-set page information list.
For the embodiment of the present invention, described page loading scripts is web displaying function webview.
It should be noted that, other corresponding descriptions of each functional unit involved by the page layout switch device in a kind of browser label that the embodiment of the present invention provides, the correspondence in reference diagram 2 can describe, do not repeat them here.
Page layout switch device in another kind of browser label provided by the invention, first detect and whether receive page layout switch instruction corresponding to browser label, the corresponding multiple page of described browser label, if receive described page layout switch instruction, from pre-set page information list, then obtain the identification information of current page, then according to the identification information of described current page, obtain the identification information of the page after switching and the page loading scripts corresponding with described identification information, last according to described page loading scripts, the page after display switches.With current when carrying out the page layout switch in a browser label, the switching display normally realized between the page by a preset page loading scripts is compared, the present invention is switched by the page loading scripts that the different page is corresponding respectively, realize the switching between the different page, can avoid switching between the page problem that effect is added and the expanded function of browsing that position is arranged etc. is comparatively limited, and page layout switch efficiency can be improved.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
Be understandable that, the correlated characteristic in said method and device can reference mutually.In addition, " first ", " second " in above-described embodiment etc. are for distinguishing each embodiment, and do not represent the quality of each embodiment.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to 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.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment 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 or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the page switching method in the browser label of the embodiment of the present invention and the some or all parts in device.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.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 realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
Page switching method in A1, a kind of browser label, comprising:
Detect and whether receive page layout switch instruction corresponding to browser label, the corresponding multiple page of described browser label;
If receive described page layout switch instruction, from pre-set page information list, then obtain the identification information of current page, in described pre-set page information list, preserve the page loading scripts that the identification information of each page corresponding to described browser label is corresponding with the identification information of each page;
According to the identification information of described current page, obtain the identification information of the page after switching and the page loading scripts corresponding with described identification information;
According to described page loading scripts, the page after display switches.
Page switching method in A2, browser label as described in A1, before whether described detection receives page layout switch instruction corresponding to browser label, described method also comprises:
According to the DISPLAY ORDER of multiple pages corresponding to described browser label, be the identification information of each page configuration page, and configure corresponding page loading scripts respectively for the identification information of each page;
The identification information of each corresponding for described browser label page and page loading scripts corresponding to the identification information of each page are kept in described pre-set page information list.
Page switching method in A3, browser label as described in A2, the described identification information according to described current page, the identification information and the page loading scripts corresponding with described identification information that obtain the page after switching comprise:
If described page layout switch instruction is switch goback function backward, then from described pre-set page information list, obtain the identification information of a upper page corresponding with the identification information of described current page and the page loading scripts corresponding with described identification information;
If described page layout switch instruction is switch goforward function forward, then from described pre-set page information list, obtain the identification information of the next page corresponding with the identification information of described current page and the page loading scripts corresponding with described identification information.
Page switching method in A4, browser label as described in A3, described according to described page loading scripts, the page after display switches comprises:
If there is not the identification information of a upper page corresponding with the identification information of described current page or the identification information of the next page, then show current page.
Page switching method in A5, browser label as described in A2, described method also comprises:
When receiving the page and adding instruction, judge whether the page quantity that described browser label is corresponding is less than predetermined threshold value;
If be less than described predetermined threshold value, then add page configuration identification information corresponding to instruction and the page loading scripts corresponding with described identification information for the described page and preserve.
Page switching method in A6, browser label as described in A5, described method also comprises:
If be more than or equal to described predetermined threshold value, then by the information deletion of the page that first is preserved in described pre-set page information list;
Add page configuration identification information corresponding to instruction and the page loading scripts corresponding with described identification information for the described page and preserve.
Page switching method in A7, browser label as described in A1, described method also comprises:
By calling the preset function clearAllHistory that empties by the information deletion in pre-set page information list.
Page switching method in A8, browser label as described in any one of A1-A7, described page loading scripts is web displaying function webview.
Page layout switch device in B9, a kind of browser label, comprising:
Whether detecting unit, receive page layout switch instruction corresponding to browser label for detecting, the corresponding multiple page of described browser label;
Acquiring unit, if for receiving described page layout switch instruction, from pre-set page information list, then obtain the identification information of current page, in described pre-set page information list, preserve the page loading scripts that the identification information of each page corresponding to described browser label is corresponding with the identification information of each page;
Described acquiring unit, also for the identification information according to described current page, obtains the identification information of the page after switching and the page loading scripts corresponding with described identification information;
Display unit, for according to described page loading scripts, shows the page after switching.
Page layout switch device in B10, browser label as described in B9, described device also comprises:
Dispensing unit, for the DISPLAY ORDER according to multiple pages corresponding to described browser label, is the identification information of each page configuration page, and configures corresponding page loading scripts respectively for the identification information of each page;
Storage unit, for being kept at the identification information of each corresponding for described browser label page and page loading scripts corresponding to the identification information of each page in described pre-set page information list.
Page layout switch device in the browser label of B11 as described in B10,
Described acquiring unit, if be switch goback function backward specifically for described page layout switch instruction, then from described pre-set page information list, obtain the identification information of a upper page corresponding with the identification information of described current page and the page loading scripts corresponding with described identification information; Or
If described page layout switch instruction is switch goforward function forward, then from described pre-set page information list, obtain the identification information of the next page corresponding with the identification information of described current page and the page loading scripts corresponding with described identification information.
Page layout switch device in B12, browser label as described in B11,
Described display unit, if specifically for there is not the identification information of a upper page corresponding with the identification information of described current page or the identification information of the next page, then show current page.
Page layout switch device in B13, browser label as described in B10, described device also comprises: judging unit;
Described judging unit, for when receiving the page and adding instruction, judges whether the page quantity that described browser label is corresponding is less than predetermined threshold value;
Described dispensing unit, if also for being less than described predetermined threshold value, then adds page configuration identification information corresponding to instruction and the page loading scripts corresponding with described identification information for the described page and preserves.
Page layout switch device in B14, browser label as described in B13, described device also comprises: delete cells;
Described delete cells, if for being more than or equal to described predetermined threshold value, then by the information deletion of the page that first is preserved in described pre-set page information list;
Dispensing unit, for adding page configuration identification information corresponding to instruction and the page loading scripts corresponding with described identification information and preserving for the described page.
Page layout switch device in B15, browser label as described in B14,
Described delete cells, also for by calling the preset function clearAllHistory that empties by the information deletion in pre-set page information list.
Page layout switch device in B16, browser label as described in any one of B9-B15, described page loading scripts is web displaying function webview.

Claims (10)

1. the page switching method in browser label, is characterized in that, comprising:
Detect and whether receive page layout switch instruction corresponding to browser label, the corresponding multiple page of described browser label;
If receive described page layout switch instruction, from pre-set page information list, then obtain the identification information of current page, in described pre-set page information list, preserve the page loading scripts that the identification information of each page corresponding to described browser label is corresponding with the identification information of each page;
According to the identification information of described current page, obtain the identification information of the page after switching and the page loading scripts corresponding with described identification information;
According to described page loading scripts, the page after display switches.
2. the page switching method in browser label according to claim 1, is characterized in that, before whether described detection receives page layout switch instruction corresponding to browser label, described method also comprises:
According to the DISPLAY ORDER of multiple pages corresponding to described browser label, be the identification information of each page configuration page, and configure corresponding page loading scripts respectively for the identification information of each page;
The identification information of each corresponding for described browser label page and page loading scripts corresponding to the identification information of each page are kept in described pre-set page information list.
3. the page switching method in browser label according to claim 2, is characterized in that, the described identification information according to described current page, and the identification information and the page loading scripts corresponding with described identification information that obtain the page after switching comprise:
If described page layout switch instruction is switch goback function backward, then from described pre-set page information list, obtain the identification information of a upper page corresponding with the identification information of described current page and the page loading scripts corresponding with described identification information;
If described page layout switch instruction is switch goforward function forward, then from described pre-set page information list, obtain the identification information of the next page corresponding with the identification information of described current page and the page loading scripts corresponding with described identification information.
4. the page switching method in browser label according to claim 3, is characterized in that, described according to described page loading scripts, and the page after display switches comprises:
If there is not the identification information of a upper page corresponding with the identification information of described current page or the identification information of the next page, then show current page.
5. the page switching method in browser label according to claim 2, it is characterized in that, described method also comprises:
When receiving the page and adding instruction, judge whether the page quantity that described browser label is corresponding is less than predetermined threshold value;
If be less than described predetermined threshold value, then add page configuration identification information corresponding to instruction and the page loading scripts corresponding with described identification information for the described page and preserve.
6. the page layout switch device in browser label, is characterized in that, comprising:
Whether detecting unit, receive page layout switch instruction corresponding to browser label for detecting, the corresponding multiple page of described browser label;
Acquiring unit, if for receiving described page layout switch instruction, from pre-set page information list, then obtain the identification information of current page, in described pre-set page information list, preserve the page loading scripts that the identification information of each page corresponding to described browser label is corresponding with the identification information of each page;
Described acquiring unit, also for the identification information according to described current page, obtains the identification information of the page after switching and the page loading scripts corresponding with described identification information;
Display unit, for according to described page loading scripts, shows the page after switching.
7. the page layout switch device in browser label according to claim 6, it is characterized in that, described device also comprises:
Dispensing unit, for the DISPLAY ORDER according to multiple pages corresponding to described browser label, is the identification information of each page configuration page, and configures corresponding page loading scripts respectively for the identification information of each page;
Storage unit, for being kept at the identification information of each corresponding for described browser label page and page loading scripts corresponding to the identification information of each page in described pre-set page information list.
8. the page layout switch device in browser label according to claim 7, is characterized in that,
Described acquiring unit, if be switch goback function backward specifically for described page layout switch instruction, then from described pre-set page information list, obtain the identification information of a upper page corresponding with the identification information of described current page and the page loading scripts corresponding with described identification information; Or
If described page layout switch instruction is switch goforward function forward, then from described pre-set page information list, obtain the identification information of the next page corresponding with the identification information of described current page and the page loading scripts corresponding with described identification information.
9. the page layout switch device in browser label according to claim 8, is characterized in that,
Described display unit, if specifically for there is not the identification information of a upper page corresponding with the identification information of described current page or the identification information of the next page, then show current page.
10. the page layout switch device in browser label according to claim 7, it is characterized in that, described device also comprises: judging unit;
Described judging unit, for when receiving the page and adding instruction, judges whether the page quantity that described browser label is corresponding is less than predetermined threshold value;
Described dispensing unit, if also for being less than described predetermined threshold value, then adds page configuration identification information corresponding to instruction and the page loading scripts corresponding with described identification information for the described page and preserves.
CN201510968017.0A 2015-12-21 2015-12-21 Page switching method and device in browser label Active CN105528439B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510968017.0A CN105528439B (en) 2015-12-21 2015-12-21 Page switching method and device in browser label
PCT/CN2016/109992 WO2017107833A1 (en) 2015-12-21 2016-12-15 Method and apparatus for switching page in browser label

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510968017.0A CN105528439B (en) 2015-12-21 2015-12-21 Page switching method and device in browser label

Publications (2)

Publication Number Publication Date
CN105528439A true CN105528439A (en) 2016-04-27
CN105528439B CN105528439B (en) 2019-03-05

Family

ID=55770662

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510968017.0A Active CN105528439B (en) 2015-12-21 2015-12-21 Page switching method and device in browser label

Country Status (2)

Country Link
CN (1) CN105528439B (en)
WO (1) WO2017107833A1 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106227461A (en) * 2016-09-06 2016-12-14 广东欧珀移动通信有限公司 A kind of windows switching method and device
CN106227887A (en) * 2016-08-12 2016-12-14 汪念鸿 A kind of method returning the former page in browser new page
CN106503193A (en) * 2016-11-02 2017-03-15 网宿科技股份有限公司 Recover the method for the page and its device in browser
WO2017107833A1 (en) * 2015-12-21 2017-06-29 北京奇虎科技有限公司 Method and apparatus for switching page in browser label
CN109903126A (en) * 2019-02-01 2019-06-18 北京字节跳动网络技术有限公司 Comment on processing method, device and its relevant device that list is commented in region
CN110069188A (en) * 2019-03-08 2019-07-30 维沃移动通信有限公司 Identification display method and terminal device
CN110427232A (en) * 2019-06-18 2019-11-08 平安科技(深圳)有限公司 Page management method, device, computer equipment and storage medium
CN112162677A (en) * 2020-09-11 2021-01-01 北京浪潮数据技术有限公司 Menu page label positioning method, device, equipment and storage medium
CN112527475A (en) * 2019-09-19 2021-03-19 北京国双科技有限公司 Front-end system switching method and device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110119490A (en) * 2019-04-18 2019-08-13 深圳壹账通智能科技有限公司 Web browser method, device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158766A (en) * 2007-09-04 2011-08-17 中兴通讯股份有限公司 Implementation method of page turning of network television embedded browser and system
US20120059869A1 (en) * 2010-09-06 2012-03-08 Seo Sung-Jong Web browsing system and method for rendering dynamic resource uris using script
CN102855318A (en) * 2012-08-31 2013-01-02 北京搜狗信息服务有限公司 Method and system for preloading of webpages
CN102902805A (en) * 2012-10-15 2013-01-30 东软集团股份有限公司 Page access method and device
CN103488411A (en) * 2012-06-13 2014-01-01 腾讯科技(深圳)有限公司 Method and device for switching pages

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102033935A (en) * 2010-12-20 2011-04-27 深圳市五巨科技有限公司 Preloading method, preloading device and preloading system of mobile terminal browser
JP5954975B2 (en) * 2011-12-06 2016-07-20 キヤノン株式会社 Information processing apparatus, information processing method, and computer program
CN103455632B (en) * 2013-09-22 2018-11-23 深圳市金蝶精斗云网络科技有限公司 A kind of Webpage display process and client
CN109697263A (en) * 2015-12-21 2019-04-30 北京奇虎科技有限公司 Page switching method and device
CN105528439B (en) * 2015-12-21 2019-03-05 北京奇虎科技有限公司 Page switching method and device in browser label

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158766A (en) * 2007-09-04 2011-08-17 中兴通讯股份有限公司 Implementation method of page turning of network television embedded browser and system
US20120059869A1 (en) * 2010-09-06 2012-03-08 Seo Sung-Jong Web browsing system and method for rendering dynamic resource uris using script
CN103488411A (en) * 2012-06-13 2014-01-01 腾讯科技(深圳)有限公司 Method and device for switching pages
CN102855318A (en) * 2012-08-31 2013-01-02 北京搜狗信息服务有限公司 Method and system for preloading of webpages
CN102902805A (en) * 2012-10-15 2013-01-30 东软集团股份有限公司 Page access method and device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017107833A1 (en) * 2015-12-21 2017-06-29 北京奇虎科技有限公司 Method and apparatus for switching page in browser label
CN106227887A (en) * 2016-08-12 2016-12-14 汪念鸿 A kind of method returning the former page in browser new page
CN106227461A (en) * 2016-09-06 2016-12-14 广东欧珀移动通信有限公司 A kind of windows switching method and device
CN106227461B (en) * 2016-09-06 2020-01-14 广东欧珀移动通信有限公司 Window switching method and device
CN106503193A (en) * 2016-11-02 2017-03-15 网宿科技股份有限公司 Recover the method for the page and its device in browser
CN109903126A (en) * 2019-02-01 2019-06-18 北京字节跳动网络技术有限公司 Comment on processing method, device and its relevant device that list is commented in region
CN110069188A (en) * 2019-03-08 2019-07-30 维沃移动通信有限公司 Identification display method and terminal device
CN110427232A (en) * 2019-06-18 2019-11-08 平安科技(深圳)有限公司 Page management method, device, computer equipment and storage medium
WO2020253066A1 (en) * 2019-06-18 2020-12-24 平安科技(深圳)有限公司 Page management method and apparatus, and computer device and storage medium
CN112527475A (en) * 2019-09-19 2021-03-19 北京国双科技有限公司 Front-end system switching method and device
CN112162677A (en) * 2020-09-11 2021-01-01 北京浪潮数据技术有限公司 Menu page label positioning method, device, equipment and storage medium

Also Published As

Publication number Publication date
WO2017107833A1 (en) 2017-06-29
CN105528439B (en) 2019-03-05

Similar Documents

Publication Publication Date Title
CN105528439A (en) Switching method and device for page in browser label
CN105426538A (en) Page switching method and device
CN105550356A (en) Preloading method of browsed contents, and terminal
CN102982069B (en) Recommending data display packing and device
CN103064600B (en) Push the server of reading content, system, method and corresponding terminal
CN105511732A (en) Method for displaying page entry icons and device
CN104331369A (en) Browser-based webpage detection method and device, and server
CN104504068A (en) Browser-based shopping information query method and browser device
CN105553968A (en) Method and device for realizing login by multiple accounts
CN105260421A (en) Webpage loading method and apparatus
CN105260433A (en) Webpage content collecting method and electronic device
CN105653585A (en) Method and device for switching webpages in browser labels
CN111309413B (en) Interface display method and device, electronic equipment and storage medium
CN105183890A (en) Webpage loading method based on browser and browser device
CN105447383A (en) Browser operating environment detection method, client, server and browser operating environment detection system
CN105224252A (en) Date storage method and device
CN105389393A (en) Method and device for adjusting browser display information in browser recommendation list
CN105511737A (en) Method for managing menu options on web page and electronic device
CN103049313B (en) For label stopping device and the method for browser
CN105204907A (en) Browser starting method and device
CN103955548B (en) A kind of webpage rendering intent and device
CN107807993B (en) Method and device for realizing webpage history recording function
CN104899338A (en) Method for pushing APP in search promotion result, device and browser
CN106126198B (en) In the method and device of the mobile terminal load end PC application page
CN103617093A (en) Method, client terminal and system for solving terminal fault problem

Legal Events

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

Effective date of registration: 20220714

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.