CN104182237B - A kind of browser label display method, device and terminal - Google Patents

A kind of browser label display method, device and terminal Download PDF

Info

Publication number
CN104182237B
CN104182237B CN201410433505.7A CN201410433505A CN104182237B CN 104182237 B CN104182237 B CN 104182237B CN 201410433505 A CN201410433505 A CN 201410433505A CN 104182237 B CN104182237 B CN 104182237B
Authority
CN
China
Prior art keywords
halation
forms
label
browser
foreground
Prior art date
Application number
CN201410433505.7A
Other languages
Chinese (zh)
Other versions
CN104182237A (en
Inventor
艾知奇
陈康
Original Assignee
北京金山安全软件有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京金山安全软件有限公司 filed Critical 北京金山安全软件有限公司
Priority to CN201410433505.7A priority Critical patent/CN104182237B/en
Publication of CN104182237A publication Critical patent/CN104182237A/en
Application granted granted Critical
Publication of CN104182237B publication Critical patent/CN104182237B/en

Links

Abstract

The embodiment of the invention discloses a kind of browser label display method, including:When browser starts, halation forms are created;The halation forms are forms transparent and with halation result, and tag size matches when halation frame size starts with the browser;The halation forms are moved into place at the label on foreground;The info web of the corresponding webpage of label positioned at foreground is loaded in the halation forms, to show the info web;The info web includes web page title and Web page icon.The embodiment of the invention also discloses a kind of browser label display device and a kind of terminal.Using the present invention, efficiency of the positioning positioned at the label on foreground can be improved.

Description

A kind of browser label display method, device and terminal
Technical field
The present invention relates to Internet technical field, more particularly to a kind of browser label display method, device and terminal.
Background technology
General browser can all place tab bar on a web browser at present, for showing different nets that user is browsing Page, user can click on different labels, reach the effect for checking different web pages.
Existing browser shows browser just using the title of the webpage browsed, icon and highlighted effect The label of (i.e. positioned at foreground) is being browsed, its schematic diagram may refer to Fig. 1, be currently located at the color of label on foreground relative to position It is higher in the brightness of the color of the label on backstage, to be different from the label on foreground and running background.
But practice is found, existing browser label display scheme can not observably distinguish label and the position positioned at foreground Label in backstage, it is impossible to ensure that user quickly locates the label positioned at foreground.
The content of the invention
Technical problem to be solved of the embodiment of the present invention be there is provided a kind of browser label display method, device and Terminal, can improve efficiency of the positioning positioned at the label on foreground.
In order to solve the above-mentioned technical problem, the embodiments of the invention provide a kind of browser label display method, including:
When browser starts, halation forms are created;The halation forms are forms transparent and with halation result, light Tag size matches when dizzy frame size starts with the browser;
The halation forms are moved into place at the label on foreground;
The info web of the corresponding webpage of label positioned at foreground is loaded in the halation forms, it is described to show Info web;The info web includes web page title and Web page icon.
Wherein, the establishment halation forms, including:
Create transparent form;
Halation picture is loaded in the transparent form;Wherein, the halation picture is specific transparent attribute, and with light The picture of dizzy effect.
Wherein, it is described to move into place the halation forms at the label on foreground, including:
Hide the halation forms;
The halation forms after hiding are moved to described at the label on foreground;
The halation forms are shown, and the halation forms are arranged on described be located on the label on foreground.
Wherein, the info web that the corresponding webpage of label positioned at foreground is loaded in the halation forms it Afterwards, in addition to:
When receive browser label is switched into the instruction of target labels when, hide the halation forms;
The halation forms after hiding are moved at the target labels;
The info web shown in the halation forms is replaced by the info web of the corresponding webpage of the target labels;
The halation forms are shown, and the halation forms are arranged in the target labels.
Wherein, this method also includes:
When the browser tag size changes, halation frame size described in accommodation is described to ensure Halation frame size matches with the browser tag size.
Wherein, this method also includes:
When the browser is closed, the halation forms are deleted.
Correspondingly, the embodiment of the present invention additionally provides a kind of browser label display device, including:
Creation module, for when browser starts, creating halation forms;The halation forms are transparent and with halation The forms of effect, tag size matches when halation frame size starts with the browser;
First mobile module, for the halation forms to be moved into place at the label on foreground;
Display module, the webpage letter for loading the corresponding webpage of label positioned at foreground in the halation forms Breath, to show the info web;The info web includes web page title and Web page icon.
Wherein, the creation module includes:
Creating unit, for creating transparent form;
Loading unit, for loading halation picture in the transparent form;Wherein, the halation picture is specific transparent Attribute, and the picture with halation result.
Wherein, first mobile module includes:
Hidden unit, for hiding the halation forms;
Mobile unit, it is described at the label on foreground for the halation forms after hiding to be moved to;
Display unit, the mark for being located at foreground is arranged on for showing the halation forms, and by the halation forms Sign.
Wherein, described device also includes:
Hidden module, for when receive browser label is switched into the instruction of target labels when, hide the halation Forms;
Second mobile module, for the halation forms after hiding to be moved at the target labels;
Module is changed, for the info web shown in the halation forms to be replaced by into the corresponding net of the target labels The info web of page;
Display module, is arranged in the target labels for showing the halation forms, and by the halation forms.
Wherein, in addition to:
Adjusting module, for when the browser tag size changes, halation forms to be big described in accommodation It is small, to ensure that the halation frame size matches with the browser tag size.
Wherein, in addition to:
Removing module, for when the browser is closed, deleting the halation forms.
Correspondingly, the embodiment of the present invention additionally provides a kind of terminal, including above-mentioned browser label display device.
Implement the embodiment of the present invention, have the advantages that:
When browser starts, halation forms are created, and halation forms are moved into place at the label on foreground, Jin Er The web page title and Web page icon positioned at the corresponding webpage of label on foreground is loaded in the halation forms, by being imitated with halation The halation forms of fruit make it that the label positioned at foreground is more eye-catching, so as to ensure that user can quickly position the mark positioned at foreground Label.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of browser label display effect diagram in the prior art;
Fig. 2 is a kind of schematic flow sheet of browser label display method provided in an embodiment of the present invention;
Fig. 3 is a kind of browser label display effect diagram provided in an embodiment of the present invention;
Fig. 4 is the schematic flow sheet of another browser label display method provided in an embodiment of the present invention;
Fig. 5 is the schematic flow sheet of another browser label display method provided in an embodiment of the present invention;
Fig. 6 is the schematic flow sheet of another browser label display method provided in an embodiment of the present invention;
Fig. 7 is a kind of structural representation of browser label display device provided in an embodiment of the present invention;
Fig. 8 is the structural representation of another browser label display device provided in an embodiment of the present invention;
Fig. 9 is the structural representation of another browser label display device provided in an embodiment of the present invention;
Figure 10 is the structural representation of another browser label display device provided in an embodiment of the present invention;
Figure 11 is the structural representation of another browser label display device provided in an embodiment of the present invention;
Figure 12 is the structural representation of another browser label display device provided in an embodiment of the present invention;
Figure 13 is the structural representation of another browser label display device provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
, can be with as shown in Fig. 2 be a kind of schematic flow sheet of browser label display method provided in an embodiment of the present invention Comprise the following steps:
Step 201, when browser starts, create halation forms;The halation forms are transparent and with halation result Forms, tag size matches when halation frame size starts with browser.
In the embodiment of the present invention, methods described can apply to browsing for the equipment such as computer, smart mobile phone, tablet personal computer In device software, for convenience of description, the embodiment of the present invention is by taking computer as an example.But it should explanation, the embodiment of the present invention is not It is limited to using in a computer, every equipment that can implement the embodiment of the present invention belongs to the required protection of the embodiment of the present invention Scope.
As an alternative embodiment, in above-mentioned steps 201, creating halation forms and may comprise steps of:
Step 11), create transparent form;
Step 12), in the transparent form load halation picture;The halation picture is with transparent attribute, and with light The picture of dizzy effect.
Specifically, it is possible to use the forms that operating system (such as windows operating systems) is provided create function, realize forms Create, and by way of adjusting forms parameter, the forms created are set to transparent form;Create after transparent form, Pre-production and the halation picture preserved can be loaded in the transparent form, the halation picture has transparent attribute, and carries Halation result, it is achieved thereby that the establishment of halation forms, the halation forms are transparent, and with halation result.
In the embodiment of the present invention, tag size matches when halation frame size needs to start with browser.
As an example it is assumed that tag size is 10mm*50mm during browser startup, then the halation frame size can also be 10mm*50mm;Or, halation frame size can be slightly larger than tag size, such as 12mm*50mm;Or, halation frame size can To be slightly less than tag size, such as 9mm*48mm.
Preferably, in order that the label positioned at foreground is more obvious, the halation frame size can be opened slightly larger than browser Tag size when dynamic, the wide or/and length of such as halation forms can than label wide or/and long many certain proportions, such as 10%, i.e. light The width of width=(1+10%) label of dizzy forms, or, area big certain ratio of the area than label of halation forms, such as The area of 10%, the i.e. area of halation forms=(1+10%) label.
It is further preferred that in order to prevent influence of the halation forms to other backstage labels, the width of halation forms can be omited More than the width of label, the length of halation forms can be identical with the length of label, and e.g., tag size is 10mm*50mm, and halation forms can Think 12mm*50mm.
It should be noted that the concrete numerical value example of above-mentioned halation frame size and tag size is not to present invention guarantor Protect in the restriction of scope, i.e., technical scheme provided in an embodiment of the present invention, halation frame size and tag size can also be it His concrete numerical value is no longer specific herein to limit.
Step 202, halation forms are moved into place at the label on foreground.
In the embodiment of the present invention, when browser starts, establishment halation forms can be triggered, and the halation forms are moved to At the label on foreground, because the halation forms have halation result, therefore, when the halation forms are moved into place in foreground When at label, should also have halation result in region at the label on foreground, be located at so that user can quickly locate this The label on foreground.
Step 203, the info web positioned at the corresponding webpage of label on foreground is loaded in the halation forms, to show The info web.
In the embodiment of the present invention, during browser loading webpage, the webpage letter of the webpage can be obtained by browser kernel Breath, the info web includes but is not limited to web page title, Web page icon etc..
As an example it is assumed that the webpage of current accessed is Baidu's homepage, can be by clear when browser is loading webpage Device kernel of looking at obtains the info web of Baidu's homepage, such as web page title (such as " using Baidu.com, you are known that "), and Web page icon (i.e. the logo of Baidu).
Browser kernel is got after the information such as web page title and Web page icon, can be by the web page title and webpage figure Mark is notified to label, and halation forms are passed to by label, and then halation forms can load the web page title and Web page icon, So as to which displaying carries the browser label of halation result in a browser, its schematic diagram can be as shown in Figure 3.
In the flow described by Fig. 2, the label positioned at foreground is moved to by creating halation forms, and by halation forms Place so that the label positioned at foreground is more eye-catching, attractive in appearance, so that user can more quickly locate the mark that this is located at foreground Label.
As shown in figure 4, be the schematic flow sheet of another browser label display method provided in an embodiment of the present invention, can To comprise the following steps:
Step 401, when browser starts, create halation forms;The halation forms are transparent and with halation result Forms, tag size matches when halation frame size starts with browser.
As an alternative embodiment, in above-mentioned steps 401, creating halation forms and may comprise steps of:
Step 21), create transparent form;
Step 22), in the transparent form load halation picture;The halation picture is with transparent attribute, and with light The picture of dizzy effect.
Specifically, it is possible to use the forms that operating system (such as windows operating systems) is provided create function, realize forms Create, and by way of adjusting forms parameter, the forms created are set to transparent form;Create after transparent form, Pre-production and the halation picture preserved can be loaded in the transparent form, the halation picture has transparent attribute, and carries Halation result, it is achieved thereby that the establishment of halation forms, the halation forms are transparent, and with halation result.
In the embodiment of the present invention, tag size matches when halation frame size needs to start with browser.
As an example it is assumed that tag size is 10mm*50mm during browser startup, then the halation frame size can also be 10mm*50mm;Or, halation frame size can be slightly larger than tag size, such as 12mm*50mm;Or, halation frame size can To be slightly less than tag size, such as 9mm*48mm.
Preferably, in order that the label positioned at foreground is more obvious, the halation frame size can be opened slightly larger than browser Tag size when dynamic, the wide or/and length of such as halation forms can than label wide or/and long many certain proportions, such as 10%, i.e. light The width of width=(1+10%) label of dizzy forms, or, area big certain ratio of the area than label of halation forms, such as The area of 10%, the i.e. area of halation forms=(1+10%) label.
It is further preferred that in order to prevent influence of the halation forms to other backstage labels, the width of halation forms can be omited More than the width of label, the length of halation forms can be identical with the length of label, and e.g., tag size is 10mm*50mm, and halation forms can Think 12mm*50mm.
It should be noted that the concrete numerical value example of above-mentioned halation frame size and tag size is not to present invention guarantor Protect in the restriction of scope, i.e., technical scheme provided in an embodiment of the present invention, halation frame size and tag size can also be it His concrete numerical value is no longer specific herein to limit.
Step 402, the hiding halation forms.
Step 403, will hide after halation forms move into place at the label on foreground.
Step 404, show the halation forms, and halation forms are arranged on this on the label on foreground.
In the embodiment of the present invention, when browser starts, establishment halation forms can be triggered, and the halation forms are moved to At the label on foreground, because the halation forms have halation result, therefore, when the halation forms are moved into place in foreground When at label, should also have halation result in region at the label on foreground, be located at so that user can quickly locate this The label on foreground.
In the embodiment of the present invention, because halation forms carry halation result, when the halation forms are in browser display interface When middle mobile, flicker effect can be produced, during being moved into place in order to avoid halation forms at the label on foreground, is being browsed Occurs the effect flashed in device display interface, halation forms could be arranged to hidden before moving into place at the label on foreground Tibetan state, i.e. the halation forms are present, but invisible to user, and by the halation forms before hidden state is moved to and is located at At the label of platform, and after the halation forms are moved into place at the label on foreground, the halation forms are shown, and by the halation window Body is arranged on this on the label on foreground, so as to avoid the flicker effect in halation forms moving process.
Step 405, the info web positioned at the corresponding webpage of label on foreground is loaded in the halation forms, to show The info web.
In the embodiment of the present invention, during browser loading webpage, the webpage letter of the webpage can be obtained by browser kernel Breath, the info web includes but is not limited to web page title, Web page icon etc..
As an example it is assumed that the webpage of current accessed is Baidu's homepage, can be by clear when browser is loading webpage Device kernel of looking at obtains the info web of Baidu's homepage, such as web page title (such as " using Baidu.com, you are known that "), and Web page icon (i.e. the logo of Baidu).
Browser kernel is got after the information such as web page title and Web page icon, can be by the web page title and webpage figure Mark is notified to label, and halation forms are passed to by label, and then halation forms can load the web page title and Web page icon, So as to which displaying carries the browser label of halation result in a browser, its schematic diagram can be as shown in Figure 3.
In the flow described by Fig. 4, by the way that the halation forms in moving process are set into hidden state, so as to avoid Halation forms mobile flicker effects caused in the browser display interface.
As shown in figure 5, be the schematic flow sheet of another browser label display method provided in an embodiment of the present invention, can To comprise the following steps:
Step 501, when browser starts, create halation forms;The halation forms are transparent and with halation result Forms, tag size matches when halation frame size starts with browser.
As an alternative embodiment, in above-mentioned steps 501, creating halation forms and may comprise steps of:
Step 31), create transparent form;
Step 32), in the transparent form load halation picture;The halation picture is with transparent attribute, and with light The picture of dizzy effect.
Specifically, it is possible to use the forms that operating system (such as windows operating systems) is provided create function, realize forms Create, and by way of adjusting forms parameter, the forms created are set to transparent form;Create after transparent form, Pre-production and the halation picture preserved can be loaded in the transparent form, the halation picture has transparent attribute, and carries Halation result, it is achieved thereby that the establishment of halation forms, the halation forms are transparent, and with halation result.
In the embodiment of the present invention, tag size matches when halation frame size needs to start with browser.
As an example it is assumed that tag size is 10mm*50mm during browser startup, then the halation frame size can also be 10mm*50mm;Or, halation frame size can be slightly larger than tag size, such as 12mm*50mm;Or, halation frame size can To be slightly less than tag size, such as 9mm*48mm.
Preferably, in order that the label positioned at foreground is more obvious, the halation frame size can be opened slightly larger than browser Tag size when dynamic, the wide or/and length of such as halation forms can than label wide or/and long many certain proportions, such as 10%, i.e. light The width of width=(1+10%) label of dizzy forms, or, area big certain ratio of the area than label of halation forms, such as The area of 10%, the i.e. area of halation forms=(1+10%) label.
It is further preferred that in order to prevent influence of the halation forms to other backstage labels, the width of halation forms can be omited More than the width of label, the length of halation forms can be identical with the length of label, and e.g., tag size is 10mm*50mm, and halation forms can Think 12mm*50mm.
It should be noted that the concrete numerical value example of above-mentioned halation frame size and tag size is not to present invention guarantor Protect in the restriction of scope, i.e., technical scheme provided in an embodiment of the present invention, halation frame size and tag size can also be it His concrete numerical value is no longer specific herein to limit.
Step 502, halation forms are moved into place at the label on foreground.
In the embodiment of the present invention, when browser starts, establishment halation forms can be triggered, and the halation forms are moved to At the label on foreground, because the halation forms have halation result, therefore, when the halation forms are moved into place in foreground When at label, should also have halation result in region at the label on foreground, be located at so that user can quickly locate this The label on foreground.
In the embodiment of the present invention, halation forms are moved into place at the label on foreground, be may comprise steps of:
Step 41), hide the halation forms.
Step 42), will hide after halation forms move into place at the label on foreground.
Step 43), show the halation forms, and halation forms are arranged on this on the label on foreground.
By above-mentioned steps 41)~handling process 43), halation forms can be avoided to be moved in browser display interface Shi Zaocheng halation result.
Step 503, the info web positioned at the corresponding webpage of label on foreground is loaded in the halation forms, to show The info web.
In the embodiment of the present invention, during browser loading webpage, the webpage letter of the webpage can be obtained by browser kernel Breath, the info web includes but is not limited to web page title, Web page icon etc..
As an example it is assumed that the webpage of current accessed is Baidu's homepage, can be by clear when browser is loading webpage Device kernel of looking at obtains the info web of Baidu's homepage, such as web page title (such as " using Baidu.com, you are known that "), and Web page icon (i.e. the logo of Baidu).
Browser kernel is got after the information such as web page title and Web page icon, can be by the web page title and webpage figure Mark is notified to label, and halation forms are passed to by label, and then halation forms can load the web page title and Web page icon, So as to which displaying carries the browser label of halation result in a browser, its schematic diagram can be as shown in Figure 3.
Step 504, when receive browser label is switched into the instruction of target labels when, hide the halation forms.
Step 505, will hide after the halation forms be moved at target labels.
Step 506, the webpage that the info web shown in the halation forms is replaced by the corresponding webpage of the target labels Information.
Step 507, the halation forms are shown, and the halation forms are arranged in the target labels.
In the embodiment of the present invention, the instruction that browser label is switched into target labels can include the instruction of new tab (target labels be the newly-built label), browser label switched into the label switching command of another built day-mark label (such as Label B is switched to from label A, target labels are the label B) etc..
For example, when user browses webpage by browser, it is assumed that user is currently accessing Sina's homepage, if with By clicking on " news ", and in function menu, the mode of selection " being opened in new label " asks to access Sina News net at family Page, browser can in current window a newly-built label, and load in the label Sina News webpage, and by browser mark Label switch to the newly-built label.
Again for example, when user browses webpage by browser, it is assumed that user in same browser window not With opening Baidu and Sina's webpage in label respectively, and user is currently accessing Sina's webpage, if user is clicked on mouse During the corresponding label of Baidu's webpage, browser can switch to label on the corresponding label of Baidu's webpage.
In the embodiment of the present invention, when receive browser label is switched into the instruction of target labels when, it is necessary to by halation Forms are moved at target labels from being currently located at the label on foreground.
Because halation forms are before being moved at target labels, the net of the label for being currently located at foreground has been loaded with Page head and Web page icon, therefore, during in order to prevent that halation forms are moved at target labels, the web page title and webpage of display The web page title and Web page icon of icon webpage corresponding with target labels are not inconsistent, and in order to avoid halation forms are in moving process In flicker effect, in the embodiment of the present invention, when needing halation forms being moved to target from being currently located at the label on foreground When at label, the halation forms first can be set to hidden state, the halation forms of the hidden state are then moved to mesh Mark label at, and by the info web shown in the halation forms be replaced by the corresponding webpage of the target labels web page title and Web page icon, and then the halation forms are shown, and the halation forms are arranged in the target labels.
For example, when user browses webpage by browser, it is assumed that difference of the user in same browser window Baidu and Sina's webpage are opened in label respectively, and user is currently accessing Sina's webpage, if user clicks on hundred with mouse When spending the corresponding label of webpage, halation forms can be set to hidden state by browser, and by the halation window of the hidden state Body is moved to target labels (the corresponding mark of Baidu's webpage from being currently located at from the label (the corresponding label of Sina's webpage) on foreground Label) place, and by the web page title shown in the halation forms (as " Sina's homepage ") and Web page icon (i.e. the logo of Sina) is more It is changed to web page title (as " using Baidu.com, you are known that ") and Web page icon (the i.e. Baidu of the corresponding webpage of the target labels Logo), and then the halation forms are shown, and the halation forms is arranged in target labels
In the flow described by Fig. 5, by the way that when needing to switch into row label, the halation forms in moving process are set Hidden state is set to, halation forms mobile flicker effect caused, the opposing party in browser display interface is on the one hand avoided Face, it is therefore prevented that the info web shown in halation forms webpage corresponding with target labels is not inconsistent.
As shown in fig. 6, be the schematic flow sheet of another browser label display method provided in an embodiment of the present invention, can To comprise the following steps:
Step 601, when browser starts, create halation forms;The halation forms are transparent and with halation result Forms, tag size matches when halation frame size starts with browser.
As an alternative embodiment, in above-mentioned steps 601, creating halation forms and may comprise steps of:
Step 51), create transparent form;
Step 52), in the transparent form load halation picture;The halation picture is with transparent attribute, and with light The picture of dizzy effect.
Specifically, it is possible to use the forms that operating system (such as windows operating systems) is provided create function, realize forms Create, and by way of adjusting forms parameter, the forms created are set to transparent form;Create after transparent form, Pre-production and the halation picture preserved can be loaded in the transparent form, the halation picture has transparent attribute, and carries Halation result, it is achieved thereby that the establishment of halation forms, the halation forms are transparent, and with halation result.
In the embodiment of the present invention, tag size matches when halation frame size needs to start with browser.
As an example it is assumed that tag size is 10mm*50mm during browser startup, then the halation frame size can also be 10mm*50mm;Or, halation frame size can be slightly larger than tag size, such as 12mm*50mm;Or, halation frame size can To be slightly less than tag size, such as 9mm*48mm.
Preferably, in order that the label positioned at foreground is more obvious, the halation frame size can be opened slightly larger than browser Tag size when dynamic, the wide or/and length of such as halation forms can than label wide or/and long many certain proportions, such as 10%, i.e. light The width of width=(1+10%) label of dizzy forms, or, area big certain ratio of the area than label of halation forms, such as The area of 10%, the i.e. area of halation forms=(1+10%) label.
It is further preferred that in order to prevent influence of the halation forms to other backstage labels, the width of halation forms can be omited More than the width of label, the length of halation forms can be identical with the length of label, and e.g., tag size is 10mm*50mm, and halation forms can Think 12mm*50mm.
It should be noted that the concrete numerical value example of above-mentioned halation frame size and tag size is not to present invention guarantor Protect in the restriction of scope, i.e., technical scheme provided in an embodiment of the present invention, halation frame size and tag size can also be it His concrete numerical value is no longer specific herein to limit.
Step 602, halation forms are moved into place at the label on foreground.
In the embodiment of the present invention, when browser starts, establishment halation forms can be triggered, and the halation forms are moved to At the label on foreground, because the halation forms have halation result, therefore, when the halation forms are moved into place in foreground When at label, should also have halation result in region at the label on foreground, be located at so that user can quickly locate this The label on foreground.
Step 603, the info web positioned at the corresponding webpage of label on foreground is loaded in the halation forms, to show The info web.
In the embodiment of the present invention, during browser loading webpage, the webpage letter of the webpage can be obtained by browser kernel Breath, the info web includes but is not limited to web page title, Web page icon etc..
As an example it is assumed that the webpage of current accessed is Baidu's homepage, can be by clear when browser is loading webpage Device kernel of looking at obtains the info web of Baidu's homepage, such as web page title (such as " using Baidu.com, you are known that "), and Web page icon (i.e. the logo of Baidu).
Browser kernel is got after the information such as web page title and Web page icon, can be by the web page title and webpage figure Mark is notified to label, and halation forms are passed to by label, and then halation forms can load the web page title and Web page icon, So as to which displaying carries the browser label of halation result in a browser, its schematic diagram can be as shown in Figure 3.
Step 604, when browser tag size changes, accommodation halation frame size, to ensure halation Frame size matches with browser tag size.
In the embodiment of the present invention, when browser tag size changes, such as user's adjustment browser display interface is big It is small, or the quantity of new tab exceedes certain numerical value, it is necessary to accommodation halation frame size in browser tab bar, to protect Card halation frame size matches with browser tag size.
For example, when user browses webpage by browser, browser window is adjusted under maximized state 60% size, it is assumed that now, the width of browser label is identical with browser window maximized state, and long change turns to browser window 60% during maximized state, then the size of halation forms is adjusted to being adapted to property, such as is adjusted to browse by the length of halation forms It is wide to keep constant 60% during the window maximized state of device.
Again for example, when user browses webpage by browser, if the quantity of new tab is more, tab bar can not Completely show all labels, it is assumed that now, the width of browser label is identical when completely being shown with label, and long change turns to browser mark 50% when label are completely shown, then the size of halation forms is adjusted to being adapted to property, the length of halation forms is such as adjusted to clear 50% when device label of looking at completely is shown, it is wide to keep constant.
In the flow described by Fig. 6, when browser tag size changes, pass through accommodation halation forms Size, it is ensured that halation frame size matches with browser tag size, so as to ensure that the label positioned at foreground is eye-catching While, it is to avoid halation forms are overlapping with adjacent label region, it is ensured that user can quickly position the label positioned at foreground.
Further, in the embodiment of the present invention, closing browser is clicked on when user terminates web page access, or browser is because of it When he closes, the halation forms can be deleted, to avoid the occupancy that halation forms are unnecessary to system resource, system money are saved Source.
By above description as can be seen that in technical scheme provided in an embodiment of the present invention, when browser starts, creating Halation forms are built, and halation forms are moved into place at the label on foreground, and then are loaded in the halation forms before this is located at The web page title and Web page icon of the corresponding webpage of label of platform, to be located at foreground by the halation forms with halation result Label it is more eye-catching, so as to ensure that user can quickly position the label positioned at foreground.
Based on above method embodiment identical technical concept, the embodiment of the present invention additionally provides a kind of browser label exhibition Showing device, can apply to above method embodiment.
As shown in fig. 7, being a kind of browser label display device provided in an embodiment of the present invention, it can include:
Creation module 701, for when browser starts, creating halation forms;The halation forms are transparent and carried The forms of halation result, tag size matches when halation frame size starts with the browser;
First mobile module 702, for the halation forms to be moved into place at the label on foreground;
Display module 703, the net for loading the corresponding webpage of label positioned at foreground in the halation forms Page information, to show the info web;The info web includes web page title and Web page icon.
Also referring to Fig. 8, Fig. 8 is that the structure of another browser label display device disclosed in the embodiment of the present invention is shown It is intended to.Wherein, the browser label display device shown in Fig. 8 is that browser label display device as shown in Figure 7 is optimized Obtain, compared with the browser label display device shown in Fig. 7, in the browser label display device shown in Fig. 8, create mould Block 701 can include:
Creating unit 7011, for creating transparent form;
Loading unit 7012, for loading halation picture in the transparent form;Wherein, the halation picture is specific Transparent attribute, and the picture with halation result.
Also referring to Fig. 9, Fig. 9 is that the structure of another browser label display device disclosed in the embodiment of the present invention is shown It is intended to.Wherein, the browser label display device shown in Fig. 9 is that browser label display device as shown in Figure 7 is optimized Obtain, compared with the browser label display device shown in Fig. 7, in the browser label display device shown in Fig. 9, first moves Dynamic model block 702 can include:
Hidden unit 7021, for hiding the halation forms;
Mobile unit 7022, it is described at the label on foreground for the halation forms after hiding to be moved to;
Display unit 7023, for showing the halation forms, and the halation forms is arranged on described is located at foreground Label on.
Also referring to Figure 10, Figure 10 is the structure of another browser label display device disclosed in the embodiment of the present invention Schematic diagram.Wherein, to be that browser label display device as shown in Figure 7 is carried out excellent for the browser label display device shown in Figure 10 Change and obtain, compared with the browser label display device shown in Fig. 7, browser label display device shown in Figure 10 can be with Including:
Hidden module 704, for when receive browser label is switched into the instruction of target labels when, hide the light Dizzy forms;
Second mobile module 705, for the halation forms after hiding to be moved at the target labels;
Module 706 is changed, for the info web shown in the halation forms to be replaced by into the target labels correspondence Webpage info web;
Display module 707, the target labels are arranged on for showing the halation forms, and by the halation forms On.
Also referring to Figure 11, Figure 11 is the structure of another browser label display device disclosed in the embodiment of the present invention Schematic diagram.Wherein, to be that browser label display device as shown in Figure 7 is carried out excellent for the browser label display device shown in Figure 11 Change and obtain, compared with the browser label display device shown in Fig. 7, browser label display device shown in Figure 11 can be with Including:
Adjusting module 708, for when the browser tag size changes, halation forms described in accommodation Size, to ensure that the halation frame size matches with the browser tag size.
Also referring to Figure 12, Figure 12 is the structure of another browser label display device disclosed in the embodiment of the present invention Schematic diagram.Wherein, to be that browser label display device as shown in Figure 7 is carried out excellent for the browser label display device shown in Figure 12 Change and obtain, compared with the browser label display device shown in Fig. 7, browser label display device shown in Figure 12 can be with Including:
Removing module 709, for when the browser is closed, deleting the halation forms.
Figure 13 is the structural representation of another browser label display device provided in the embodiment of the present invention.Such as Figure 13 Shown, the browser label display device includes:At least one processor 1301, such as CPU, at least one user interface 1303, memory 1304, at least one communication bus 1302.Wherein, communication bus 1302 is used to realize between these components Connection communication.Wherein, user interface 1303 can include display screen (Display), keyboard (Keyboard), optional user interface 1303 can also include wireline interface, the wave point of standard.Memory 1304 can be high-speed RAM memory or Non-labile memory (non-volatile memory), for example, at least one magnetic disk storage.Memory 1304 is optional It can also be at least one storage device for being located remotely from aforementioned processor 1301.Wherein batch processing is stored in memory 1304 Code, and processor 1301 calls the program code stored in memory 1304, for performing following operation:
When browser starts, halation forms are created;The halation forms are forms transparent and with halation result, light Tag size matches when dizzy frame size starts with the browser;
The halation forms are moved into place at the label on foreground;
The info web of the corresponding webpage of label positioned at foreground is loaded in the halation forms, it is described to show Info web;The info web includes web page title and Web page icon.
In an alternative embodiment, processor 1301 calls the program code stored in memory 1304 to create halation forms, It can specifically include:
Create transparent form;
Halation picture is loaded in the transparent form;Wherein, the halation picture is specific transparent attribute, and with light The picture of dizzy effect.
In an alternative embodiment, processor 1301 calls the program code that is stored in memory 1304 by the halation forms Move into place at the label on foreground, can specifically include:
Hide the halation forms;
The halation forms after hiding are moved to described at the label on foreground;
The halation forms are shown, and the halation forms are arranged on described be located on the label on foreground.
In an alternative embodiment, processor 1301 calls the program code stored in memory 1304 in the halation forms Described in middle loading after the info web of the corresponding webpage of label on foreground, following operation can also carry out:
When receive browser label is switched into the instruction of target labels when, hide the halation forms;
The halation forms after hiding are moved at the target labels;
The info web shown in the halation forms is replaced by the info web of the corresponding webpage of the target labels;
The halation forms are shown, and the halation forms are arranged in the target labels.
In an alternative embodiment, to call the program code stored in memory 1304 can also carry out following for processor 1301 Operation:
When the browser tag size changes, halation frame size described in accommodation is described to ensure Halation frame size matches with the browser tag size.
In an alternative embodiment, to call the program code stored in memory 1304 can also carry out following for processor 1301 Operation:
When the browser is closed, the halation forms are deleted.
The embodiment of the present invention additionally provides a kind of terminal, can include any browser label display as illustrated in figures 7 to 13 Device.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means to combine specific features, structure, material or the spy that the embodiment or example are described Point is contained at least one embodiment of the present invention or example.In this manual, to the schematic representation of above-mentioned term not Identical embodiment or example must be directed to.Moreover, specific features, structure, material or the feature of description can be with office Combined in an appropriate manner in one or more embodiments or example.In addition, in the case of not conflicting, the skill of this area Art personnel can be tied the not be the same as Example or the feature of example and non-be the same as Example or example described in this specification Close and combine.
In addition, term " first ", " second " are only used for describing purpose, and it is not intended that indicating or implying relative importance Or the implicit quantity for indicating indicated technical characteristic.Thus, define " first ", the feature of " second " can express or Implicitly include at least one this feature.In the description of the invention, " multiple " are meant that at least two, such as two, three It is individual etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, represent to include Module, fragment or the portion of the code of one or more executable instructions for the step of realizing specific logical function or process Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not be by shown or discussion suitable Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention Embodiment person of ordinary skill in the field understood.
Represent in flow charts or logic and/or step described otherwise above herein, for example, being considered use In the order list for the executable instruction for realizing logic function, it may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system including the system of processor or other can be held from instruction The system of row system, device or equipment instruction fetch and execute instruction) use, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass Defeated program is for instruction execution system, device or equipment or the dress for combining these instruction execution systems, device or equipment and using Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wirings Connecting portion (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read-only storage (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk is read-only deposits Reservoir (CDROM).In addition, can even is that can be in the paper of printing described program thereon or other are suitable for computer-readable medium Medium, because can then enter edlin, interpretation or if necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned In embodiment, the software that multiple steps or method can in memory and by suitable instruction execution system be performed with storage Or firmware is realized.If, and in another embodiment, can be with well known in the art for example, realized with hardware Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal Discrete logic, the application specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method is carried Rapid to can be by program to instruct the hardware of correlation to complete, described program can be stored in a kind of computer-readable storage medium In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing module, can also That unit is individually physically present, can also two or more units be integrated in a module.Above-mentioned integrated mould Block can both be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.The integrated module is such as Fruit is realized using in the form of software function module and as independent production marketing or in use, can also be stored in a computer In read/write memory medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..Although having been shown and retouching above Embodiments of the invention are stated, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as the limit to the present invention System, one of ordinary skill in the art can be changed to above-described embodiment, change, replace and become within the scope of the invention Type.

Claims (11)

1. a kind of browser label display method, it is characterised in that including:
When browser starts, halation forms are created;The halation forms are forms transparent and with halation result, halation window Tag size matches when body size starts with the browser;
The halation forms are moved into place at the label on foreground;
The info web of the corresponding webpage of label positioned at foreground is loaded in the halation forms, to show the webpage Information;The info web includes web page title and Web page icon;
Wherein, it is described to move into place the halation forms at the label on foreground, including:
Hide the halation forms;
The halation forms after hiding are moved to described at the label on foreground;
The halation forms are shown, and the halation forms are arranged on described be located on the label on foreground.
2. the method as described in claim 1, it is characterised in that the establishment halation forms, including:
Create transparent form;
Halation picture is loaded in the transparent form;Wherein, the halation picture is specific transparent attribute, and with halation effect The picture of fruit.
3. the method as described in claim 1, it is characterised in that described to be located at foreground described in loading in the halation forms After the info web of the corresponding webpage of label, in addition to:
When receive browser label is switched into the instruction of target labels when, hide the halation forms;
The halation forms after hiding are moved at the target labels;
The info web shown in the halation forms is replaced by the info web of the corresponding webpage of the target labels;
The halation forms are shown, and the halation forms are arranged in the target labels.
4. the method as described in claim 1, it is characterised in that this method also includes:
When the browser tag size changes, halation frame size described in accommodation, to ensure the halation Frame size matches with the browser tag size.
5. the method as described in claim 1, it is characterised in that this method also includes:
When the browser is closed, the halation forms are deleted.
6. a kind of browser label display device, it is characterised in that including:
Creation module, for when browser starts, creating halation forms;The halation forms are transparent and with halation result Forms, tag size matches when halation frame size starts with the browser;
First mobile module, for the halation forms to be moved into place at the label on foreground;
Display module, the info web for loading the corresponding webpage of label positioned at foreground in the halation forms, To show the info web;The info web includes web page title and Web page icon;
Wherein, first mobile module includes:
Hidden unit, for hiding the halation forms;
Mobile unit, it is described at the label on foreground for the halation forms after hiding to be moved to;
Display unit, described be located on the label on foreground is arranged on for showing the halation forms, and by the halation forms.
7. device as claimed in claim 6, it is characterised in that the creation module includes:
Creating unit, for creating transparent form;
Loading unit, for loading halation picture in the transparent form;Wherein, the halation picture is specific transparent category Property, and the picture with halation result.
8. device as claimed in claim 6, it is characterised in that described device also includes:
Hidden module, for when receive browser label is switched into the instruction of target labels when, hide the halation forms;
Second mobile module, for the halation forms after hiding to be moved at the target labels;
Module is changed, for the info web shown in the halation forms to be replaced by into the corresponding webpage of the target labels Info web;
Display module, is arranged in the target labels for showing the halation forms, and by the halation forms.
9. device as claimed in claim 6, it is characterised in that also include:
Adjusting module, for when the browser tag size changes, halation frame size described in accommodation, with Ensure that the halation frame size matches with the browser tag size.
10. device as claimed in claim 6, it is characterised in that also include:
Removing module, for when the browser is closed, deleting the halation forms.
11. a kind of terminal, it is characterised in that including the browser label display device as described in claim any one of 6-10.
CN201410433505.7A 2014-08-28 2014-08-28 A kind of browser label display method, device and terminal CN104182237B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410433505.7A CN104182237B (en) 2014-08-28 2014-08-28 A kind of browser label display method, device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410433505.7A CN104182237B (en) 2014-08-28 2014-08-28 A kind of browser label display method, device and terminal

Publications (2)

Publication Number Publication Date
CN104182237A CN104182237A (en) 2014-12-03
CN104182237B true CN104182237B (en) 2017-11-07

Family

ID=51963316

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410433505.7A CN104182237B (en) 2014-08-28 2014-08-28 A kind of browser label display method, device and terminal

Country Status (1)

Country Link
CN (1) CN104182237B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1698048A (en) * 2002-09-13 2005-11-16 雅虎公司 Improved browser user interface
CN102033943A (en) * 2010-12-21 2011-04-27 广州市动景计算机科技有限公司 Multiwindow browse method and system based on mobile communication equipment terminal
CN102929617A (en) * 2012-10-18 2013-02-13 广东威创视讯科技股份有限公司 Skin exchanging method for Web software UI (User Interface)
CN103412939A (en) * 2013-08-21 2013-11-27 广州市动景计算机科技有限公司 Method and system for switching browse modes
CN103514310A (en) * 2012-06-26 2014-01-15 上海宝信软件股份有限公司 Visualized editing and displaying method for IT infrastructure topology

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1698048A (en) * 2002-09-13 2005-11-16 雅虎公司 Improved browser user interface
CN102033943A (en) * 2010-12-21 2011-04-27 广州市动景计算机科技有限公司 Multiwindow browse method and system based on mobile communication equipment terminal
CN103514310A (en) * 2012-06-26 2014-01-15 上海宝信软件股份有限公司 Visualized editing and displaying method for IT infrastructure topology
CN102929617A (en) * 2012-10-18 2013-02-13 广东威创视讯科技股份有限公司 Skin exchanging method for Web software UI (User Interface)
CN103412939A (en) * 2013-08-21 2013-11-27 广州市动景计算机科技有限公司 Method and system for switching browse modes

Also Published As

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

Similar Documents

Publication Publication Date Title
US9952745B2 (en) Method of modifying rendered attributes of list elements in a user interface
US9990657B2 (en) Information display device, distribution device, information display method, and non-transitory computer readable storage medium
US10769366B2 (en) Variable dimension version editing for graphical designs
CN103678622B (en) Method and device for dynamic rendering of waterfall-type picture
Mohorovičić Implementing responsive web design for enhanced web presence
US8881055B1 (en) HTML pop-up control
US9971749B2 (en) Editor for website and website menu
US8751945B1 (en) Environment for responsive graphical designs
US8631341B2 (en) System and method for selecting a tab within a tabbed browser
CN102414682B (en) Method and apparatus for providing scraped web pages in a graphical user interface
US9645733B2 (en) Mechanism for switching between document viewing windows
US8528003B2 (en) Communication among browser windows
US20150121260A1 (en) Terminal device and method for designing network application product
US6052130A (en) Data processing system and method for scaling a realistic object on a user interface
US7966558B2 (en) Snipping tool
CN104933142B (en) Animated show method and apparatus
US8347230B2 (en) Visual presentation of multiple internet pages
CN101504602B (en) For accessing the layer of user interface element
US9142044B2 (en) Apparatus, systems and methods for layout of scene graphs using node bounding areas
US20130167079A1 (en) Smart and flexible layout context manager
US8510673B2 (en) System and method for pinning tabs in a tabbed browser
NL2007908B1 (en) Temporal task-based tab management.
US20110138313A1 (en) Visually rich tab representation in user interface
US20150370912A1 (en) Method and system for displaying customized webpage on double webview
CN102467566B (en) Method and system for browsing web pages without traces

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: 20181206

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

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

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

Patentee before: Kingsoft Corporation Limited