Summary of the invention
The application provides a kind of browser application supplying method and system, and the problem of browser application cannot be provided under can browser full screen display state.
In order to address the above problem, the application discloses a kind of browser application supplying method, comprises the following steps:
By monitoring users, operate or browser instructions, judge the full screen display state that enters browser;
Determine the classification of browser current page or content of pages;
The browser application being associated with described classification with inquiry browser application contingency table from the classification prestoring according to the classification of current page or content of pages;
Load described browser application, and in full screen display state, add the described browser application of demonstration.
Further, the classification of described definite browser current page is determined according to the URL(uniform resource locator) of current page;
The classification of described definite browser current page content is determined according to the content of pages of current page.
Further, the described URL(uniform resource locator) according to current page determines that the classification of browser current page comprises:
Obtain the URL(uniform resource locator) of current page;
Described URL(uniform resource locator) is mated with the URL(uniform resource locator) feature prestoring, according to matching result, determine the classification of current page.
Further, the described URL(uniform resource locator) according to current page determines that the classification of browser current page comprises:
Obtain the URL(uniform resource locator) of current page;
According to pre-defined rule, extract the URL(uniform resource locator) feature of described current page;
The URL(uniform resource locator) feature of described current page is mated with the URL(uniform resource locator) feature prestoring, according to matching result, determine the classification of current page.
Further, the described URL(uniform resource locator) according to current page determines that the classification of browser current page comprises:
The URL(uniform resource locator) feature that foundation prestores and the contingency table of classification;
From contingency table, search the classification of the URL(uniform resource locator) feature association prestoring that the URL(uniform resource locator) with current page matches;
Determine that the described classification finding is the classification of browser current page from contingency table.
Further, the described content of pages according to current page determines that the classification of browser current page content comprises:
Obtain the content of pages of current page;
The content of pages of described current page is mated with the content characteristic prestoring, according to matching result, determine the classification of current page content.
Further, the described content of pages according to current page determines that the classification of browser current page content comprises:
Obtain the content of pages of current page;
According to pre-defined rule, extract the content characteristic of the content of pages of described current page;
The content characteristic of described extraction is mated with the content characteristic prestoring, according to matching result, determine the classification of current page content.
Further, the described content of pages according to current page determines that the classification of browser current page comprises:
The content characteristic that foundation prestores and the contingency table of classification;
From contingency table, search the associated classification of the content characteristic prestoring matching with the content characteristic of current page;
Determine that the described classification finding is the classification of browser current page content from contingency table.
Further, described method also comprises:
According to the browser application that user's request is added or deletion shows in full screen display state.
Further, described method comprises:
Described browser application is presented in the control desk arranging in full screen display state, described control desk provides the function of adding or deleting the browser application showing.
Further, it is characterized in that, the browser application of described demonstration is chosen and is loaded from the set of applications of browser.
In order to address the above problem, disclosed herein as well is a kind of browser application system is provided, comprising:
Full screen display status monitoring module, for operating or browser instructions, judge the full screen display state that enters browser by monitoring users;
Classification determination module, for determining the classification of browser current page or content of pages;
Browser application determination module, for the browser application being associated with described classification with the inquiry of browser application contingency table from the classification prestoring according to the classification of current page or content of pages;
Display module for loading described browser application, and adds the described browser application of demonstration in full screen display state.
Further, described classification determination module comprises:
URL(uniform resource locator) determining unit, for determining according to the URL(uniform resource locator) of current page; And/or
Content of pages determining unit, for determining according to the content of pages of current page.
Further, described URL(uniform resource locator) determining unit comprises:
URL(uniform resource locator) is obtained subelement, for obtaining the URL(uniform resource locator) of current page; With
Matching unit, for described URL(uniform resource locator) is mated with the URL(uniform resource locator) feature prestoring, determines the classification of current page according to matching result.
Further, described URL(uniform resource locator) determining unit comprises:
URL(uniform resource locator) is obtained subelement, for obtaining the URL(uniform resource locator) of current page;
Unified resource location feature extracts subelement, for extract the URL(uniform resource locator) feature of described current page according to pre-defined rule; With
Matching unit, for described URL(uniform resource locator) feature is mated with the URL(uniform resource locator) feature prestoring, determines the classification of current page according to matching result.
Further, described URL(uniform resource locator) determining unit also comprises:
Contingency table is set up subelement, for setting up the URL(uniform resource locator) feature that prestores and the contingency table of classification;
Search subelement, the classification of the URL(uniform resource locator) feature association prestoring matching for the URL(uniform resource locator) of searching from contingency table with current page; With
Classification is determined subelement, for determining that the described classification finding from contingency table is the classification of browser current page.
Further, described content of pages determining unit comprises:
Content of pages obtains subelement, for obtaining the content of pages of current page; With
Coupling subelement, for the content of pages of described current page is mated with the content characteristic prestoring, determines the classification of current page content according to matching result.
Further, described content of pages determining unit comprises:
Content of pages obtains subelement, for obtaining the content of pages of current page;
Content Feature Extraction subelement, for extracting the content characteristic of the content of pages of described current page according to pre-defined rule; With
Coupling subelement, for the content characteristic of described extraction is mated with the content characteristic prestoring, determines the classification of current page content according to matching result.
Further, content of pages determining unit also comprises:
Contingency table is set up subelement, for setting up the content characteristic that prestores and the contingency table of classification;
Search subelement, for search the associated classification of the content characteristic prestoring matching with the content characteristic of current page from contingency table; With
Classification is determined subelement, for determining that the described classification finding from contingency table is the classification of browser current page content.
Further, described system also comprises:
Browser application modified module, for the browser application according to user's request is added or deletion shows at full screen display state.
Further, described system also comprises:
Control desk, for applying at full screen display state display navigation device, and provides the function of adding or deleting the browser application showing.
Further, described system also comprises:
Load-on module, for choosing browser application from the set of applications of browser and being loaded into full screen display state.
Compared with prior art, the application comprises following advantage:
The application's browser application supplying method and system are by classifying to the browser display page or content of pages in advance, set particular category, and be the definite browser application being associated of every kind, when browser is during in full screen display state, just can to the page, carry out real-time grading according to predefined method, thereby find the browser application that is applicable to current page, and show.When user needs, just can be convenient to use these browser application, and without the switching of carrying out browse mode, improve the convenience using, can avoid because frequently switch browse mode and too much occupying system resources simultaneously.
Further, in the classification process of determining browser current page, can determine according to the URL(uniform resource locator) of current page, also can determine according to the content of pages of current page.Two kinds of definite methods can make classification deterministic process more flexible.
In addition, when carrying out browser application displaying, also provide control desk, user can realize by control desk interpolation or the deletion of browser application, thereby can meet the use habit of unique user, increase the convenience that user uses, be convenient to browser application to manage simultaneously.
Certainly, arbitrary product of enforcement the application not necessarily needs to reach above-described all advantages simultaneously.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is clearly and completely described, obviously, described embodiment is only the application's part embodiment, rather than whole embodiment.Embodiment based in the application, the every other embodiment that those of ordinary skills obtain, belongs to the scope that the application protects.
With reference to Fig. 1, a kind of browser application supplying method embodiment mono-of the application is shown, comprise the following steps:
Step 101, enters the full screen display state of browser.
When user is automatically switched by clicking switching push button or browser, while entering full screen display state, by monitoring the change of browser status information, just can judge whether browser enters full screen display state.
Step 102, determines the classification of browser current page or content of pages.
The classification of browser current page or content of pages can preset, for example document class, video class etc.Concrete classification can be set as required.
Determine that the classification of browser current page can determine according to the URL(uniform resource locator) of current page (URL).Specifically adopt with the following method:
Obtain the URL(uniform resource locator) of current page;
Described URL(uniform resource locator) is mated with the URL(uniform resource locator) feature prestoring, according to matching result, determine the classification of current page.
Need to collect in advance representative URL(uniform resource locator), and therefrom extract URL(uniform resource locator) feature, then determine the corresponding classification of each URL(uniform resource locator) feature, and adopt the mode of contingency table to store, that is, the URL(uniform resource locator) feature classification corresponding with it is associated.Concrete, the URL(uniform resource locator) feature prestoring can be the representative part of taking out from complete URL(uniform resource locator).For example, can be only webpage domain name part, also can mean the part of file type, etc.When mating, also can only carry out the coupling of feature, if include the URL(uniform resource locator) feature prestoring in the URL(uniform resource locator) of current page, can determine the two coupling.Wherein, because the URL(uniform resource locator) of the different pages can't be identical, coupling herein adopts the method for approximate match, can preset matched rule, if according to the URL(uniform resource locator) of matched rule current page can with the URL(uniform resource locator) characteristic matching prestoring on, determine that the classification of current page is the corresponding classification of URL(uniform resource locator) prestoring.
Be appreciated that, can also extract according to pre-defined rule the URL(uniform resource locator) feature of current page, then by the feature of extraction and the URL(uniform resource locator) characteristic matching prestoring, if can match, the corresponding classification of URL(uniform resource locator) feature prestoring is defined as to the classification of current page.Now, pre-defined rule can be the extracting rule of the URL(uniform resource locator) feature that prestores, thereby guarantees the accuracy of matching result.
Preferably, in some cases, content of pages and the page may be not identical, for example, under a news pages, also may comprise video file, by determining that the classification of content of pages wherein can be better and browser application is provided more accurately.Concrete, determine that the classification of browser current page content can be determined according to the content of pages of current page.Specifically adopt with the following method:
Obtain the content of pages of current page;
The content of pages of described current page is mated with the content characteristic prestoring, according to matching result, determine the classification of current page content.
Wherein, the content of pages of current page can obtain by function corresponding in call operation system.The content characteristic prestoring can be collected representative content, therefrom extracts content characteristic, then determines classification corresponding to each content characteristic, and adopts the mode of contingency table to store, and is about to the content characteristic classification corresponding with it and is associated.Concrete, content characteristic can be file characteristics, video features etc.When mating, can first obtain the content of pages of current page, then content of pages is mated with the content characteristic prestoring, if comprise all content characteristics, determine that both can mate the classification that the classification that the content characteristic prestoring can be associated is defined as current page.Coupling herein adopts the method for approximate match, without coupling completely, as long as the content characteristic prestoring is all included in the content of pages of current page, thinks coupling.
Be appreciated that, the application can also adopt the content of pages of current page is carried out to Content Feature Extraction according to pre-defined rule, then the content characteristic of current page is mated with the content characteristic prestoring, if can match, the classification content characteristic prestoring being associated is defined as the classification of current page.Now, pre-defined rule can be the extracting rule of the content characteristic that prestores, thereby guarantees the accuracy of matching result.
Step 103, the browser application being associated with described classification according to the Query of current page or content of pages.
The pre-stored contingency table of classification with the browser application being associated, can directly bring this classification into the browser application that in contingency table, inquiry can obtain being associated.For example, for document, its browser application being associated can comprise sectional drawing, preserves, copy etc.For video, its browser application being associated can be sectional drawing, download etc.Concrete classification can be set and revise according to actual conditions with the browser application being associated.The application does not limit this.
Step 104 is added and is shown described browser application in full screen display state.
After determining browser application, function button corresponding to browser application can be presented in the page of full screen display state, for user, carry out associative operation.Concrete displaying can be to show action button corresponding to described browser application, and display form can be with the window form suspending.Window can arrange transparency etc. as required.
Preferably, in order not affect user, make to be displayed in full screen state, can also show in the following way:
The action of monitoring cursor of mouse, if cursor of mouse motion shows described browser application, if described browser application is hidden in cursor of mouse not motion in the given time.
With reference to Fig. 2, the application's browser application supplying method embodiment bis-is shown, preferably, further comprising the steps of on the basis of embodiment mono-:
Step 201, deletes or is added on according to user's request the browser application showing in full screen display state.
Be appreciated that all browser application can adopt independently icon form to show under full screen display state.Preferably, browser application can also show by the mode of control desk, that is, described browser application is presented in the control desk arranging in full screen display state, and control desk provides the function of adding or deleting the browser application showing.In full screen display state, increase control desk, this is judged to definite browser application is all illustrated in control desk, by control desk, realized the unified management of browser application, can be user-friendly, simultaneously can be so that the management to browser application.In addition, user can need to add or the mode such as deletion is revised the browser application being associated by control desk according to oneself.For example, the contingency table according to prestoring that system can only realize inquires the browser application being associated with the classification of current page and can be presented in control desk, if the browser application that user needs is not shown, can realize by control desk the interpolation of browser application, concrete, interpolation can be chosen and load to all browser application from the set of applications of browser.Meanwhile, the application's browser application supplying method can also intelligence be recorded active user's interpolation content, in depositing contingency table in, when this user browses the generic page next time again, the browser application of this interpolation together can be shown.Be appreciated that whole control desk can be presented in the display window of full screen display state always, also its transparency can be set, or also can whether move to determine whether that the mode showing is arranged in the display window of full screen display state according to cursor of mouse.For example, when cursor of mouse all not motions within the schedule time, hide this control desk, if monitor cursor of mouse motion, show this control desk.
Below in conjunction with concrete example, preceding method is described in detail.The URL(uniform resource locator) of take determines that the classification of current page is example.
First by monitoring users, operate or browser instructions, can judge whether browser enters full frame state, after browser enters full frame state, obtain the URL(uniform resource locator) of browser current page, it is carried out to feature extraction, suppose the file type that is characterized as of extracting, concrete file type is PDF document.By adding up in advance, the operation of browser application that general user can carry out pdf document comprises download, copies, sectional drawing etc., and these browser application can be pre-stored in contingency table, after having determined that the classification of current page is PDF document, can from contingency table, inquire the browser application being associated, and load, then in full screen display state, show these browser application.User can choose according to the browser application showing in full screen display state that it is needed, after being switched to mode standard, go again to search the browser application being associated, thereby simplified user's operating process, improved the convenience using under full screen display state, the while can be avoided frequently switching browser model and be taken too much system resource.
With reference to Fig. 3, the application's browser application is shown system embodiment one is provided, comprise full screen display status monitoring module 10, classification determination module 20, browser application determination module 30 and display module 40.
Full screen display status monitoring module 10, for entering the full screen display state of browser.
Classification determination module 20, for determining the classification of browser current page or content of pages.Preferably, classification determination module 20 comprises URL(uniform resource locator) determining unit and/or content of pages determining unit.URL(uniform resource locator) determining unit, for determining according to the URL(uniform resource locator) of current page.Content of pages determining unit, for determining according to the content of pages of current page.
Browser application determination module 30, for the browser application being associated with described classification according to the Query of current page or content of pages.
Display module 40, for adding and show described browser application at full screen display state.
Wherein, URL(uniform resource locator) determining unit can comprise that URL(uniform resource locator) obtains subelement and matching unit.URL(uniform resource locator) is obtained subelement, for obtaining the URL(uniform resource locator) of current page.Matching unit, for described URL(uniform resource locator) is mated with the URL(uniform resource locator) feature prestoring, determines the classification of current page according to matching result.
Be appreciated that URL(uniform resource locator) determining unit also can comprise that URL(uniform resource locator) is obtained subelement, unified resource location feature extracts subelement and matching unit.URL(uniform resource locator) is obtained subelement, for obtaining the URL(uniform resource locator) of current page.Unified resource location feature extracts subelement, for extract the URL(uniform resource locator) feature of described current page according to pre-defined rule.Matching unit, for described URL(uniform resource locator) feature is mated with the URL(uniform resource locator) feature prestoring, determines the classification of current page according to matching result.
Preferably, on the basis of aforementioned two kinds of situations, URL(uniform resource locator) determining unit can also comprise that contingency table sets up subelement, searches subelement and classification is determined subelement.Contingency table is set up subelement, for setting up the URL(uniform resource locator) feature that prestores and the contingency table of classification.Search subelement, the classification of the URL(uniform resource locator) feature association prestoring matching for the URL(uniform resource locator) of searching from contingency table with current page.Classification is determined subelement, for determining that the described classification finding from contingency table is the classification of browser current page.
Content of pages determining unit can comprise that content of pages obtains subelement and coupling subelement.Content of pages obtains subelement, for obtaining the content of pages of current page.Coupling subelement, for the content of pages of described current page is mated with the content characteristic prestoring, determines the classification of current page content content according to matching result.
Be appreciated that content of pages determining unit also can comprise that content of pages obtains subelement, for obtaining content of pages, Content Feature Extraction subelement and the coupling subelement of current page.Content of pages obtains subelement, for obtaining the content of pages of current page.Content Feature Extraction subelement, for extracting the content characteristic of the content of pages of described current page according to pre-defined rule.Coupling subelement, for the content characteristic of described extraction is mated with the content characteristic prestoring, determines the classification of current page content according to matching result.
Preferably, on the basis of aforementioned two kinds of situations, content of pages determining unit can also comprise that contingency table sets up subelement, searches subelement and classification is determined subelement.Contingency table is set up subelement, for setting up the content characteristic that prestores and the contingency table of classification.Search subelement, for search the associated classification of the content characteristic prestoring matching with the content characteristic of current page from contingency table.Classification is determined subelement, for determining that the described classification finding from contingency table is the classification of browser current page.
Preferably, with reference to Fig. 4, the browser application that the application is shown provides system embodiment two, and this system also comprises browser application modified module 60, for the browser application according to user's request is added or deletion shows at full screen display state.
Preferably, this system also comprises control desk, for applying at full screen display state display navigation device, and provides the function of adding or deleting the browser application showing.
Further, system also comprises load-on module, for choosing browser application from the set of applications of browser and being loaded into full screen display state.
The application's browser application provides system by advance the browser display page or content of pages being classified, set particular category, and be the definite browser application being associated of every kind, when browser is during in full screen display state, just can to the page, carry out real-time grading according to predefined method, thereby find the browser application that is applicable to current page, and show.When user needs, just can be convenient to use these browser application, and without the switching of carrying out browse mode, improve the convenience using, can avoid because frequently switch browse mode and too much occupying system resources simultaneously.
Further, in the classification process of determining browser current page, can determine according to the URL(uniform resource locator) of current page, also can determine according to the content of pages of current page.Two kinds of definite methods can make classification deterministic process more flexible.
In addition, when carrying out browser application displaying, also provide control desk, user can realize by control desk interpolation or the deletion of browser application, thereby can meet the use habit of unique user, increases the convenience that user uses.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the mode that the application can add essential general hardware platform by software and realizes.Understanding based on such, the part that the application's technical scheme contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) carry out the method described in some part of each embodiment of the application or embodiment.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually referring to, each embodiment stresses is the difference with other embodiment.Especially, for device or system embodiment, because it is substantially similar in appearance to embodiment of the method, so describe fairly simplely, relevant part is referring to the part explanation of embodiment of the method.Apparatus and system embodiment described above is only schematic, the wherein said unit as separating component explanation can or can not be also physically to separate, the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in a plurality of network element.Can select according to the actual needs some or all of module wherein to realize the object of the present embodiment scheme.Those of ordinary skills, in the situation that not paying creative work, are appreciated that and implement.
The browser application supplying method and the system that above the application are provided are described in detail, herein browser application specific case the application's principle and embodiment are set forth, the explanation of above embodiment is just for helping to understand the application's method and core concept thereof; , for one of ordinary skill in the art, according to the application's thought, in embodiment and browser application scope, all will change, in sum, this description should not be construed as the restriction to the application meanwhile.