CN105528439B - Page switching method and device in browser label - Google Patents
Page switching method and device in browser label Download PDFInfo
- Publication number
- CN105528439B CN105528439B CN201510968017.0A CN201510968017A CN105528439B CN 105528439 B CN105528439 B CN 105528439B CN 201510968017 A CN201510968017 A CN 201510968017A CN 105528439 B CN105528439 B CN 105528439B
- Authority
- CN
- China
- Prior art keywords
- page
- identification information
- switching
- browser label
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses the page switching methods and device in browser label, it is related to information technology field, it first detects whether to receive the corresponding page switching instruction of browser label, the browser label corresponds to multiple pages, if receiving the page switching instruction, the identification information of current page is then obtained from pre-set page information list, then according to the identification information of the current page, the identification information and the page corresponding with the identification information of the page after obtaining switching load script, script is finally loaded according to the page, the page after display switching.Using above scheme, the more limited problem of the extension function of position setting etc. can be added and browsed to avoid transition effect between the page, and page switching efficiency can be improved.
Description
Technical field
The present invention relates to a kind of information technology field, more particularly in a kind of browser label page switching method and
Device.
Background technique
In recent years, Internet technology is more and more mature with the continuous development of information technology, is browsed and believed by browser
Breath has become a part in people's daily life, and the popularity rate of browser is also higher and higher.Wherein, the master that browser is supported
Wanting one of function is exactly multiple Webpages to be carried in a browser label, and can carry out Webpage switching and show.
Currently, usually loading foot by a preset page when carrying out the page switching in a browser label
This (webview) realizes that the switching between the page is shown.However script is loaded when carrying out page switching display by a page,
Page switching is realized due to needing to constantly update display content, causes page switching efficiency lower.And since the different pages are same
Belong to page load script to be shown, cause the extension function of transition effect addition and the setting of browsing position etc. between the page compared with
It is limited.
Summary of the invention
In view of this, the present invention provides the page switching method and device in a kind of browser label, main purpose is
Solve to belong to page load script due to the different pages and be shown, caused by transition effect addition and browsing position between the page
The more limited problem of the extension function of installing etc., while page switching efficiency can be improved.
According to the present invention on one side, the page switching method in a kind of browser label is provided, which comprises
It detects whether to receive the corresponding page switching instruction of browser label, the browser label corresponds to multiple pages
Face;
If receiving the page switching instruction, the mark letter of current page is obtained from pre-set page information list
Breath preserves the identification information of each corresponding page of the browser label and each in the pre-set page information list
The corresponding page of the identification information of a page loads script;
According to the identification information of the current page, the identification information of the page after obtaining switching and with the identification information
The corresponding page loads script;
Script is loaded according to the page, the page after display switching.
According to the present invention on the other hand, the page switching device in a kind of browser label, described device packet are provided
It includes:
Detection unit, for detecting whether receiving the corresponding page switching instruction of browser label, the browser mark
The corresponding multiple pages of label;
Acquiring unit, if being obtained from pre-set page information list current for receiving the page switching instruction
The identification information of the page preserves the mark of each corresponding page of the browser label in the pre-set page information list
Know the information page corresponding with the identification information of each page and loads script;
The acquiring unit is also used to the identification information according to the current page, the mark of the page after obtaining switching
Information and the page corresponding with the identification information load script;
Display unit, for loading script according to the page, the page after display switching.
By above-mentioned technical proposal, technical solution provided in an embodiment of the present invention is at least had the advantage that
Page switching method and device in a kind of browser label provided by the invention, first detect whether to receive clear
The corresponding page switching instruction of device label of looking at, the browser label correspond to multiple pages, refer to if receiving the page switching
It enables, then obtains the identification information of current page from pre-set page information list, then believed according to the mark of the current page
Breath, the identification information and the page corresponding with the identification information of the page after obtaining switching load script, finally according to
The page loads script, the page after display switching.With at present carry out a browser label in page switching when, usually
It realizes that the switching between the page is shown by preset page load script to compare, the present invention is respectively corresponded by the different pages
The page load script switch over, realize the switching between the different pages, can to avoid between the page transition effect addition and it is clear
It lookes at the more limited problem of extension function of position setting etc., and page switching efficiency can be improved.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the page switching method flow diagram in a kind of browser label provided in an embodiment of the present invention;
Fig. 2 shows the page switching method process signals in another browser label provided in an embodiment of the present invention
Figure;
Fig. 3 shows the page switching apparatus structure schematic diagram in a kind of browser label provided in an embodiment of the present invention;
Fig. 4 shows the page switching apparatus structure signal in another browser label provided in an embodiment of the present invention
Figure.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
The embodiment of the invention provides a kind of user behavior analysis methods of Behavior-based control log information, as shown in Figure 1, institute
Show that method includes:
101, it detects whether to receive the corresponding page switching instruction of browser label.
Wherein, the browser label can correspond to multiple pages, each browser label is a display window, from
And multiple pages may be implemented and realize switching in a browser label.After the page switching instruction can carry switching
The page identification information, to indicate the page that shows after switching, page switching instruction is specifically as follows switches goback backward
Function switches forward goforward function etc., and the embodiment of the present invention is without limitation.
If 102, receiving the page switching instruction, the mark of current page is obtained from pre-set page information list
Information.
Wherein, the mark of each corresponding page of the browser label is preserved in the pre-set page information list
The information page corresponding with the identification information of each page loads script.The identification information of the page should for unique identification
Position of the page where in pre-set page information list can be page serial number, page I D etc., and the embodiment of the present invention is not done
It limits.Page load script is specifically as follows web displaying function webview, at this point, pre-set page information list can pass through
Function WebviewTab is managed, which specifically can the corresponding page adds by being cached with the identification information of each page
It carries the webview list mCachedPages of script and has the list of the identification information and webview identification information of the page
MPageHistoryStack composition, specific form can be as follows: private ArrayList<IWebView>
MCachedPages=null;Private ArrayList<WebPageInfo>mPageHistoryStack=new
ArrayList<WebPageInfo>().It is corresponding that each page can also be preserved in the pre-set page information list
The address URL, for identifying the shown corresponding address URL of the page.
103, according to the identification information of the current page, the identification information of the page after obtaining switching and with the mark
The corresponding page of information loads script.
For the embodiment of the present invention, the page of instruction switching switched forward or backward can be specifically instructed according to page switching
The identification information of face number and current page, the identification information of the page after obtaining switching.For example, page switching instruction instruction to
Switch two pages afterwards, then from the mark of second page after the identification information for obtaining current page in pre-set page information list
Know information.
104, script is loaded according to the page, the page after display switching.
For the embodiment of the present invention, the switching between script is loaded by the page and realizes that the switching between the different pages is shown,
To the problem for avoiding the extension function of transition effect addition and the setting of browsing position etc. between the page more limited, and can mention
High page switching efficiency.
Page switching method in a kind of browser label provided by the invention, first detects whether to receive browser mark
Corresponding page switching instruction is signed, the browser label corresponds to multiple pages, if receiving the page switching instruction, from
The identification information of current page is obtained in pre-set page information list, then according to the identification information of the current page, is obtained
The identification information of the page after switching and the page corresponding with the identification information load script, are finally loaded according to the page
Script, the page after display switching.With at present when carrying out the page switching in a browser label, usually by preset
One page load script realizes that the switching between the page is shown and compares that the present invention is added by the corresponding page of the different pages
It carries script to switch over, realizes the switching between the different pages, can be set to avoid transition effect addition between the page and browsing position
The more limited problem of the extension function of setting etc., and page switching efficiency can be improved.
The embodiment of the invention provides the page switching methods in another browser label, as shown in Fig. 2, shown method
Include:
201, it detects whether to receive the corresponding page switching instruction of browser label.
Wherein, the browser label can correspond to multiple pages, each browser label is a display window, from
And multiple pages may be implemented and realize switching in a browser label.After the page switching instruction can carry switching
The page identification information, to indicate the page that shows after switching.
It can also include: according to the corresponding multiple pages of the browser label before step 201 for the embodiment of the present invention
The display order in face is the identification information of each page configuration page, and be respectively configured for the identification information of each page
The corresponding page loads script, by the mark of the identification information of each corresponding page of the browser label and each page
Know the corresponding page load script of information to be stored in the pre-set page information list.For the embodiment of the present invention, pass through root
It is the identification information of each page configuration page according to the display order of the corresponding multiple pages of the browser label, it can be with
When guaranteeing to carry out page switching, the relevant information of the page after getting switching faster, to further increase page switching
Efficiency.
Wherein, position of the identification information of the page for unique identification page place in pre-set page information list
It sets, can be page serial number, page ID etc., the embodiment of the present invention is without limitation.It is aobvious that page load script is specifically as follows webpage
Show function webview, the corresponding address URL of each page can also be preserved in the pre-set page information list, is used for
The shown corresponding address URL of the page of mark.
If 202, receiving the page switching instruction, the mark of current page is obtained from pre-set page information list
Information.
Wherein, the mark of each corresponding page of the browser label is preserved in the pre-set page information list
The information page corresponding with the identification information of each page loads script.
203, according to the identification information of the current page, the identification information of the page after obtaining switching and with the mark
The corresponding page of information loads script.
For the embodiment of the present invention, the page of instruction switching switched forward or backward can be specifically instructed according to page switching
The identification information of face number and current page, the identification information of the page after obtaining switching.For example, page switching instruction instruction to
Switch two pages afterwards, then from the mark of second page after the identification information for obtaining current page in pre-set page information list
Know information.
Specifically, if step 203 may include: the page switching instruction to switch goback function backward, from institute
State the identification information that corresponding with the identification information of the current page upper page is obtained in pre-set page information list and
The page corresponding with the identification information loads script;If page switching instruction is switching goforward letter forward
Number then obtains the mark of next page corresponding with the identification information of the current page from the pre-set page information list
Know information and the page corresponding with the identification information loads script.
204, script is loaded according to the page, the page after display switching.
For the embodiment of the present invention, step 204 be can specifically include: if it does not exist with the identification information of the current page
The identification information of a corresponding upper page or the identification information of next page, then show current page.If it does not exist with
The identification information of the corresponding upper page of the identification information of the current page or the identification information of next page, pass through
Display current page can guarantee that user can normally get page info, avoid the occurrence of the abnormal situation of display.
Further, prompt information prompt user's current page can also be exported to be homepage or be last page, to keep away
Exempt to carry out unnecessary handover operation, the prompt information can be text prompt information, audio prompt information, visual prompts letter
Breath etc., the embodiment of the present invention is without limitation.
205, when receiving page addition instruction, it is pre- to judge whether the corresponding page quantity of the browser label is less than
If threshold value.
Wherein, the exterior chain that page addition instruction is specifically as follows user's progress is opened, is opened in the page, navigation screen chain takes
It the operation such as opens, is used to indicate and the page to be opened is added in pre-set page information list, preset threshold can be according to reality
It needs to be configured, can be 10,15,20 etc..
If 206, being less than the preset threshold, for page addition instruct corresponding page configuration identification information and with
The corresponding page load script of the identification information simultaneously saves.
The embodiment of the present invention is added under conditions of being less than preset threshold by the page quantity saved in confirmation
Add operation, it is ensured that the data volume of caching is normal, so that caching can work normally, and then guarantees the effect of page switching
Rate.
Further, if more than or equal to the preset threshold, then first in the pre-set page information list is protected
Then the information deletion for the page deposited instructs corresponding page configuration identification information for page addition and believes with the mark
It ceases corresponding page load script and saves.Information by the page for saving first in the pre-set page information list
It deletes, is then added for the page and corresponding page configuration identification information and the page corresponding with the identification information is instructed to add
It carries script and saves, under the data volume normal condition for guaranteeing caching, realize the update for carrying out page info.
It, specifically can be by calling the preset function clearAllHistory that empties by preset page for the embodiment of the present invention
Information deletion in the information list of face.Function is emptied by the way that offer is preset, can be convenient and carry out in pre-set page information list
Information update guarantees the information update efficiency in pre-set page information list.
Page switching method in another kind browser label provided by the invention, first detects whether to receive browser
The corresponding page switching instruction of label, the browser label correspond to multiple pages, if receiving the page switching instruction,
The identification information for obtaining current page from pre-set page information list obtains then according to the identification information of the current page
The identification information of the page after taking switching and the page corresponding with identification information load script, finally add according to the page
Carry script, the page after display switching.With at present when carrying out the page switching in a browser label, usually by pre-
It sets the switching that page load script is realized between the page and shows and compare, the present invention is by the corresponding page of the different pages
Load script switches over, and realizes the switching between the different pages, can be to avoid transition effect addition between the page and browsing position
The more limited problem of the extension function being arranged etc., and page switching efficiency can be improved.
Further, the specific implementation as Fig. 1 the method, the embodiment of the invention provides in a kind of browser label
Page switching device, as shown in figure 3, described device includes: detection unit 31, acquiring unit 32, display unit 33.
Detection unit 31, for detecting whether receiving the corresponding page switching instruction of browser label, the browser
Label corresponds to multiple pages;
Acquiring unit 32, if obtaining and working as from pre-set page information list for receiving the page switching instruction
The identification information of the preceding page preserves each corresponding page of the browser label in the pre-set page information list
The identification information page corresponding with the identification information of each page loads script;
The acquiring unit 32 is also used to the identification information according to the current page, the mark of the page after obtaining switching
Know information and the page corresponding with the identification information loads script;
Display unit 33, for loading script according to the page, the page after display switching.
It should be noted that each involved by page switching device in a kind of browser label provided in an embodiment of the present invention
Other corresponding descriptions of functional unit, can be with reference to the corresponding description in Fig. 1, and details are not described herein.
Page switching device in a kind of browser label provided by the invention, first detects whether to receive browser mark
Corresponding page switching instruction is signed, the browser label corresponds to multiple pages, if receiving the page switching instruction, from
The identification information of current page is obtained in pre-set page information list, then according to the identification information of the current page, is obtained
The identification information of the page after switching and the page corresponding with the identification information load script, are finally loaded according to the page
Script, the page after display switching.With at present when carrying out the page switching in a browser label, usually by preset
One page load script realizes that the switching between the page is shown and compares that the present invention is added by the corresponding page of the different pages
It carries script to switch over, realizes the switching between the different pages, can be set to avoid transition effect addition between the page and browsing position
The more limited problem of the extension function of setting etc., and page switching efficiency can be improved.
Further, the specific implementation as Fig. 2 the method, the embodiment of the invention provides another browser labels
Interior page switching device, as shown in figure 4, described device includes: detection unit 41, acquiring unit 42, display unit 43.
Detection unit 41, for detecting whether receiving the corresponding page switching instruction of browser label, the browser
Label corresponds to multiple pages;
Acquiring unit 42, if obtaining and working as from pre-set page information list for receiving the page switching instruction
The identification information of the preceding page preserves each corresponding page of the browser label in the pre-set page information list
The identification information page corresponding with the identification information of each page loads script;
The acquiring unit 42 is also used to the identification information according to the current page, the mark of the page after obtaining switching
Know information and the page corresponding with the identification information loads script;
Display unit 43, for loading script according to the page, the page after display switching.
Further, described device further include:
Configuration unit 44 is each page for the display order according to the corresponding multiple pages of the browser label
Face configures the identification information of the page, and the corresponding page is respectively configured for the identification information of each page and loads script;
Storage unit 45, for by the identification information of each corresponding page of the browser label and each page
Identification information corresponding page load script be stored in the pre-set page information list.
Further, the acquiring unit 42, if being specifically used for page switching instruction to switch goback letter backward
Number then obtains the mark of a upper page corresponding with the identification information of the current page from the pre-set page information list
Know information and the page corresponding with the identification information loads script;If page switching instruction is to switch forward
Goforward function, then from the pre-set page information list obtain it is corresponding with the identification information of the current page under
The identification information and the page corresponding with identification information load script of one page.
Further, the display unit 43, specifically for corresponding with the identification information of the current page if it does not exist
A upper page identification information or next page identification information, then show current page.
Further, described device further include: judging unit 46;
The judging unit 46, for judging the corresponding page of the browser label when receiving page addition instruction
Whether face quantity is less than preset threshold;
The configuration unit 44 instructs corresponding page if being also used to be less than the preset threshold for page addition
Face configuration identifier information and the page corresponding with identification information load script simultaneously save.
Further, described device further include: delete unit 47.
The deletion unit 47 is used for if more than or is equal to the preset threshold, then by the pre-set page information list
In first preservation the page information deletion;
Configuration unit 44, for instructing corresponding page configuration identification information for page addition and believing with the mark
It ceases corresponding page load script and saves.
Further, the deletion unit 47 is also used to by calling the preset function clearAllHistory that empties will be pre-
Set the information deletion in page info list.
For the embodiment of the present invention, the page load script is web displaying function webview.
It should be noted that each involved by page switching device in a kind of browser label provided in an embodiment of the present invention
Other corresponding descriptions of functional unit, can be with reference to the corresponding description in Fig. 2, and details are not described herein.
Page switching device in another kind browser label provided by the invention, first detects whether to receive browser
The corresponding page switching instruction of label, the browser label correspond to multiple pages, if receiving the page switching instruction,
The identification information for obtaining current page from pre-set page information list obtains then according to the identification information of the current page
The identification information of the page after taking switching and the page corresponding with identification information load script, finally add according to the page
Carry script, the page after display switching.With at present when carrying out the page switching in a browser label, usually by pre-
It sets the switching that page load script is realized between the page and shows and compare, the present invention is by the corresponding page of the different pages
Load script switches over, and realizes the switching between the different pages, can be to avoid transition effect addition between the page and browsing position
The more limited problem of the extension function being arranged etc., and page switching efficiency can be improved.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, reference can be made to the related descriptions of other embodiments.
It is understood that the correlated characteristic in the above method and device can be referred to mutually.In addition, in above-described embodiment
" first ", " second " etc. be and not represent the superiority and inferiority of each embodiment for distinguishing each embodiment.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein.
Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system
Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various
Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect
Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself
All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment
Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any
Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed
All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
Meaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors
Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice
Microprocessor or digital signal processor (DSP) realize the page switching in browser label according to an embodiment of the present invention
The some or all functions of some or all components in method and device.The present invention is also implemented as executing this
In described method some or all device or device programs (for example, computer program and computer program
Product).It is such to realize that program of the invention can store on a computer-readable medium, it either can have one or more
The form of a signal.Such signal can be downloaded from an internet website to obtain, be perhaps provided on the carrier signal or with
Any other form provides.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability
Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch
To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame
Claim.
A kind of page switching method in A1, browser label, comprising:
It detects whether to receive the corresponding page switching instruction of browser label, the browser label corresponds to multiple pages
Face;
If receiving the page switching instruction, the mark letter of current page is obtained from pre-set page information list
Breath preserves the identification information of each corresponding page of the browser label and each in the pre-set page information list
The corresponding page of the identification information of a page loads script;
According to the identification information of the current page, the identification information of the page after obtaining switching and with the identification information
The corresponding page loads script;
Script is loaded according to the page, the page after display switching.
Page switching method in A2, browser label as described in a1, it is described to detect whether to receive browser label
Before corresponding page switching instruction, the method also includes:
It is the mark of each page configuration page according to the display order of the corresponding multiple pages of the browser label
Information, and the corresponding page is respectively configured for the identification information of each page and loads script;
The identification information of each corresponding page of the browser label is corresponding with the identification information of each page
The page load script be stored in the pre-set page information list.
A3, the as described in A2 page switching method in browser label, it is described to be believed according to the mark of the current page
Breath, the identification information of the page after obtaining switching and the page corresponding with identification information load script include:
If the page switching instruction is obtained from the pre-set page information list to switch goback function backward
And the identification information and the page corresponding with the identification information of the corresponding upper page of the identification information of the current page
Load script;
If the page switching instruction is switches forward goforward function, from the pre-set page information list
It obtains and the identification information of the corresponding next page of identification information of the current page and corresponding with the identification information
The page loads script.
Page switching method in A4, the browser label as described in A3, it is described that script, display are loaded according to the page
The page after switching includes:
The identification information or next of a upper page corresponding with the identification information of the current page if it does not exist
The identification information of the page, then show current page.
A5, the as described in A2 page switching method in browser label, the method also includes:
When receiving page addition instruction, judge whether the corresponding page quantity of the browser label is less than default threshold
Value;
If being less than the preset threshold, for page addition instruct corresponding page configuration identification information and with it is described
The corresponding page load script of identification information simultaneously saves.
Page switching method in A6, browser label as described in a5, the method also includes:
If more than or be equal to the preset threshold, then by the page of first preservation in the pre-set page information list
Information deletion;
Adding for the page instructs corresponding page configuration identification information and the page corresponding with the identification information to add
It carries script and saves.
Page switching method in A7, browser label as described in a1, the method also includes:
By calling the preset function clearAllHistory that empties by the information deletion in pre-set page information list.
Page switching method in the described in any item browser labels of A8, such as A1-A7, the page load script is net
Page explicit function webview.
A kind of page switching device in B9, browser label, comprising:
Detection unit, for detecting whether receiving the corresponding page switching instruction of browser label, the browser mark
The corresponding multiple pages of label;
Acquiring unit, if being obtained from pre-set page information list current for receiving the page switching instruction
The identification information of the page preserves the mark of each corresponding page of the browser label in the pre-set page information list
Know the information page corresponding with the identification information of each page and loads script;
The acquiring unit is also used to the identification information according to the current page, the mark of the page after obtaining switching
Information and the page corresponding with the identification information load script;
Display unit, for loading script according to the page, the page after display switching.
Page switching device in B10, the browser label as described in B9, described device further include:
Configuration unit is each page for the display order according to the corresponding multiple pages of the browser label
The identification information of the page is configured, and the corresponding page is respectively configured for the identification information of each page and loads script;
Storage unit, for by the identification information of each corresponding page of the browser label and each page
The corresponding page load script of identification information is stored in the pre-set page information list.
Page switching device of the B11 in the browser label as described in B10,
The acquiring unit, if being specifically used for page switching instruction to switch goback function backward, from described
Obtained in pre-set page information list corresponding with the identification information of the current page upper page identification information and with
The corresponding page of the identification information loads script;Or
If the page switching instruction is switches forward goforward function, from the pre-set page information list
It obtains and the identification information of the corresponding next page of identification information of the current page and corresponding with the identification information
The page loads script.
Page switching device in B12, browser label as described in b11,
The display unit, specifically for a upper page corresponding with the identification information of the current page if it does not exist
Identification information or next page identification information, then show current page.
Page switching device in B13, the browser label as described in B10, described device further include: judging unit;
The judging unit, for judging the corresponding page of the browser label when receiving page addition instruction
Whether quantity is less than preset threshold;
The configuration unit instructs the corresponding page if being also used to be less than the preset threshold for page addition
Configuration identifier information and the page corresponding with identification information load script simultaneously save.
Page switching device in B14, the browser label as described in B13, described device further include: delete unit;
The deletion unit is used for if more than or is equal to the preset threshold, then will be in the pre-set page information list
The information deletion of the page of first preservation;
Configuration unit, for for page addition instruct corresponding page configuration identification information and with the identification information
The corresponding page loads script and saves.
Page switching device in B15, the browser label as described in B14,
The deletion unit is also used to by calling the preset function clearAllHistory that empties by pre-set page information
Information deletion in list.
Page switching device in the described in any item browser labels of B16, such as B9-B15, the page load script are
Web displaying function webview.
Claims (16)
1. the page switching method in a kind of browser label characterized by comprising
It detects whether to receive the corresponding page switching instruction of browser label, the browser label corresponds to multiple pages;
If receiving the page switching instruction, the identification information of current page, institute are obtained from pre-set page information list
State identification information and each page that pre-set page information list preserves each corresponding page of the browser label
The corresponding page of identification information load script;
According to the identification information of the current page, the identification information of the page after obtaining switching and corresponding with the identification information
The page load script;
Script is loaded according to the page, the page after display switching.
2. the page switching method in browser label according to claim 1, which is characterized in that described to detect whether to connect
Before receiving the corresponding page switching instruction of browser label, the method also includes:
It is that the mark of each page configuration page is believed according to the display order of the corresponding multiple pages of the browser label
Breath, and the corresponding page is respectively configured for the identification information of each page and loads script;
By the identification information page corresponding with the identification information of each page of each corresponding page of the browser label
Face load script is stored in the pre-set page information list.
3. the page switching method in browser label according to claim 2, which is characterized in that described to work as according to
The identification information of the preceding page, the identification information and the page corresponding with the identification information of the page after obtaining switching load script
Include:
If the page switching instruction to switch goback function backward, is obtained from the pre-set page information list and institute
State identification information and the page corresponding with the identification information load of the corresponding upper page of identification information of current page
Script;
If the page switching instruction is obtained from the pre-set page information list to switch goforward function forward
And the identification information and the page corresponding with the identification information of the corresponding next page of the identification information of the current page
Load script.
4. the page switching method in browser label according to claim 3, which is characterized in that described according to the page
Face loads script, and the page after display switching includes:
The identification information or next page of a upper page corresponding with the identification information of the current page if it does not exist
Identification information, then show current page.
5. the page switching method in browser label according to claim 2, which is characterized in that the method is also wrapped
It includes:
When receiving page addition instruction, judge whether the corresponding page quantity of the browser label is less than preset threshold;
If being less than the preset threshold, for page addition instruct corresponding page configuration identification information and with the mark
The corresponding page load script of information simultaneously saves.
6. the page switching method in browser label according to claim 5, which is characterized in that the method is also wrapped
It includes:
If more than or be equal to the preset threshold, then by the pre-set page information list first preservation the page information
It deletes;
It is added for the page and corresponding page configuration identification information and the page corresponding with the identification information is instructed to load foot
This is simultaneously saved.
7. the page switching method in browser label according to claim 1, which is characterized in that the method is also wrapped
It includes:
By calling the preset function clearAllHistory that empties by the information deletion in pre-set page information list.
8. the page switching method in browser label according to claim 1-7, which is characterized in that the page
It is web displaying function webview that face, which loads script,.
9. the page switching device in a kind of browser label characterized by comprising
Detection unit, for detecting whether receiving the corresponding page switching instruction of browser label, the browser label pair
Answer multiple pages;
Acquiring unit, if obtaining current page from pre-set page information list for receiving the page switching instruction
Identification information, the pre-set page information list preserves the identification information of each corresponding page of the browser label
The page corresponding with the identification information of each page loads script;
The acquiring unit is also used to the identification information according to the current page, the identification information of the page after obtaining switching
Script is loaded with the page corresponding with the identification information;
Display unit, for loading script according to the page, the page after display switching.
10. the page switching device in browser label according to claim 9, which is characterized in that described device is also wrapped
It includes:
Configuration unit is each page configuration for the display order according to the corresponding multiple pages of the browser label
The identification information of the page, and the corresponding page is respectively configured for the identification information of each page and loads script;
Storage unit, for by the mark of the identification information of each corresponding page of the browser label and each page
The corresponding page load script of information is stored in the pre-set page information list.
11. the page switching device in browser label according to claim 10, which is characterized in that
The acquiring unit, if being specifically used for page switching instruction to switch goback function backward, from described preset
Obtained in page info list corresponding with the identification information of the current page upper page identification information and with it is described
The corresponding page of identification information loads script;Or
If the page switching instruction is obtained from the pre-set page information list to switch goforward function forward
And the identification information and the page corresponding with the identification information of the corresponding next page of the identification information of the current page
Load script.
12. the page switching device in browser label according to claim 11, which is characterized in that
The display unit, specifically for the mark of a upper page corresponding with the identification information of the current page if it does not exist
The identification information for knowing information or next page, then show current page.
13. the page switching device in browser label according to claim 10, which is characterized in that described device is also wrapped
It includes: judging unit;
The judging unit, for judging the corresponding page quantity of the browser label when receiving page addition instruction
Whether preset threshold is less than;
The configuration unit instructs corresponding page configuration if being also used to be less than the preset threshold for page addition
Identification information and the page corresponding with identification information load script simultaneously save.
14. the page switching device in browser label according to claim 13, which is characterized in that described device is also wrapped
It includes: deleting unit;
The deletion unit is used for if more than or is equal to the preset threshold, then will be first in the pre-set page information list
The information deletion of the page of a preservation;
Configuration unit, for instructing corresponding page configuration identification information and corresponding with the identification information for page addition
The page load script and save.
15. the page switching device in browser label according to claim 14, which is characterized in that
The deletion unit is also used to by calling the preset function clearAllHistory that empties by pre-set page information list
In information deletion.
16. according to the page switching device in the described in any item browser labels of claim 9-15, which is characterized in that described
It is web displaying function webview that the page, which loads script,.
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 CN105528439A (en) | 2016-04-27 |
CN105528439B true 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) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105528439B (en) * | 2015-12-21 | 2019-03-05 | 北京奇虎科技有限公司 | Page switching method and device in browser label |
CN106227887A (en) * | 2016-08-12 | 2016-12-14 | 汪念鸿 | A kind of method returning the former page in browser new page |
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 |
CN109903126B (en) * | 2019-02-01 | 2021-07-30 | 北京字节跳动网络技术有限公司 | Processing method and device for comment list in comment area and related equipment thereof |
CN110069188B (en) * | 2019-03-08 | 2021-01-29 | 维沃移动通信有限公司 | Identification display method and terminal equipment |
CN110119490A (en) * | 2019-04-18 | 2019-08-13 | 深圳壹账通智能科技有限公司 | Web browser method, device, computer equipment and storage medium |
CN110427232B (en) * | 2019-06-18 | 2023-04-07 | 平安科技(深圳)有限公司 | Page management method and device, computer equipment and storage medium |
CN112527475A (en) * | 2019-09-19 | 2021-03-19 | 北京国双科技有限公司 | Front-end system switching method and device |
CN112162677B (en) * | 2020-09-11 | 2022-04-22 | 北京浪潮数据技术有限公司 | Menu page label positioning method, device, equipment and storage medium |
Citations (3)
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 |
CN102855318A (en) * | 2012-08-31 | 2013-01-02 | 北京搜狗信息服务有限公司 | Method and system for preloading of webpages |
CN103488411A (en) * | 2012-06-13 | 2014-01-01 | 腾讯科技(深圳)有限公司 | Method and device for switching pages |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101689745B1 (en) * | 2010-09-06 | 2016-12-27 | 삼성전자주식회사 | Web browsing system and method for rendering dynamic resource URI of script |
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 |
CN102902805B (en) * | 2012-10-15 | 2017-06-27 | 东软集团股份有限公司 | A kind of page access method and apparatus |
CN103455632B (en) * | 2013-09-22 | 2018-11-23 | 深圳市金蝶精斗云网络科技有限公司 | A kind of Webpage display process and client |
CN105426538B (en) * | 2015-12-21 | 2019-02-12 | 北京奇虎科技有限公司 | Page switching method and device |
CN105528439B (en) * | 2015-12-21 | 2019-03-05 | 北京奇虎科技有限公司 | Page switching method and device in browser label |
-
2015
- 2015-12-21 CN CN201510968017.0A patent/CN105528439B/en active Active
-
2016
- 2016-12-15 WO PCT/CN2016/109992 patent/WO2017107833A1/en active Application Filing
Patent Citations (3)
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 |
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 |
Also Published As
Publication number | Publication date |
---|---|
WO2017107833A1 (en) | 2017-06-29 |
CN105528439A (en) | 2016-04-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105528439B (en) | Page switching method and device in browser label | |
CN105426538B (en) | Page switching method and device | |
CN103617057B (en) | Application program installation method and device | |
CA2856268C (en) | Methods of detection of software exploitation | |
CN104036019B (en) | The open method and device of web page interlinkage | |
CN111158799A (en) | Page rendering method and device, electronic equipment and storage medium | |
CN106951220B (en) | Data processing method and device | |
CN105892894A (en) | Screen scroll event conflict processing method and device | |
CN105511732A (en) | Method for displaying page entry icons and device | |
CN103678505A (en) | Method and device for running application program in browser and browser | |
CN106354804A (en) | File download processing method and device thereof | |
CN104965731B (en) | A kind of data processing method and electric terminal | |
CN105242818A (en) | Red notification point elimination method and apparatus | |
CN102902789B (en) | Change display control apparatus and the method for the content of browser window display | |
CN103678506A (en) | Method and device for loading application program shortcuts in browser and browser | |
CN105260421A (en) | Webpage loading method and apparatus | |
US9037994B2 (en) | Navigation to a data definition in a diff context | |
CN111309413B (en) | Interface display method and device, electronic equipment and storage medium | |
CN106648568B (en) | Method and device for adding check box on table | |
CN104915594B (en) | Application program operation method and device | |
CN103713945B (en) | The recognition methods of game and device | |
CN105389393B (en) | The method of adjustment and device of display information of browser in browser recommendation list | |
CN108733276A (en) | page switching method, device and system | |
CN104063277B (en) | A kind of information processing method and electronic equipment | |
CN105204907B (en) | Browser starts method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
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. |
|
TR01 | Transfer of patent right |