Summary of the invention
Technical matters to be solved by this invention is to propose a kind of method and system that the new plug-in unit of browser is provided automatically, need not the user and has higher computer level, need not user's troublesome operation, and the new plug-in unit of browser that is fit to the user can be provided automatically.
In order to address the above problem, the invention discloses a kind of method that the new plug-in unit of browser is provided automatically, comprising:
Server end presets the tabulation of browser plug-in, and described tabulation is classified to known browser plug-in according to the function of browser plug-in;
Obtain the mounted browser plug-in of client, and, mounted all the known browser plug-ins of this client are classified according to described tabulation;
At client, the corresponding client endmost tag is set according to the classification results of the known browser plug-in of its installation;
New browser plug-in of installing of client and the known browser plug-in in the described tabulation are mated, if it fails to match then assert that it is unknown browser plug-in;
Described unknown browser plug-in is classified, and be added in the described tabulation;
Inquire about and described unknown browser plug-in place classification corresponding client endmost tag, and provide described unknown browser plug-in to the client that all are provided with this client tag by server end.
Preferably, obtain the mounted browser plug-in of client as follows:
Obtain and call browser interface;
By described browser interface, obtain the browser plug-in information that viewed device loads.
Preferably, described tabulation comprises known browser plug-in and corresponding browser plug-in classification;
The described tabulation of described foundation, the step to mounted all the known browser plug-ins of this client are classified comprises:
Known browser plug-in in mounted known browser plug-in of this client and the described tabulation is mated, if the match is successful, then the browser plug-in classification of the known browser plug-in correspondence in the described tabulation is defined as the classification of the mounted known browser plug-in of this client.
Preferably, the described step that unknown browser plug-in is classified comprises:
Obtain the parsing content of described unknown browser plug-in;
According to the type of described parsing content, determine the classification of described unknown browser plug-in.
Preferably, the described step that unknown browser plug-in is classified comprises:
Server end obtains all client tag that are provided with on all clients that described unknown browser plug-in has been installed;
Identification is set up the maximum client tag of number of times in described all client tag;
With the classification of the classification results of the described known browser plug-in that is set up the maximum client tag correspondence of number of times as described unknown browser plug-in.
Preferably, the described step that unknown browser plug-in is classified comprises:
Obtain the network address page that loads when described unknown browser plug-in moves;
According to the Visitor Logs of the described network address page, add up the used known browser plug-in of the described network address page;
According to the classification results of the used known browser plug-in of the described network address page, described unknown browser plug-in is classified.
Preferably, obtain the new browser plug-in of installing of client as follows:
The mounted browser plug-in of scanning client browser, and preserve corresponding scanning result;
More adjacent twice scanning result if a certain browser plug-in does not occur in back time the scanning result, thinks that then described a certain browser plug-in is the new browser plug-in of installing of client in scanning result last time.
Preferably, described tabulation comprises known browser plug-in and corresponding browser plug-in classification;
Described method also comprises:
At described browser plug-in classification, server end obtains the client id that corresponding known browser plug-in is installed;
Mapping relations between client id that foundation is obtained and the described browser plug-in classification;
Described unknown browser plug-in is being classified, and after being added into step in the described tabulation, described method also comprises:
All client ids under the browser plug-in classification of unknown browser plug-in correspondence described in the described tabulation provide described unknown browser plug-in.
Preferably, discern in all client tag and be set up before the step of the maximum client tag of number of times, described method also comprises:
Judge whether the client terminal quantity that described unknown browser plug-in has been installed surpasses threshold value, if, then carry out and in all client tag, discern the step that is set up the maximum client tag of number of times, otherwise, unknown browser plug-in is not classified.
Preferably, the function of described browser plug-in comprises: resolve picture, resolve video, resolve audio frequency or subscribe to the appointed website content.
On the other hand, the present invention also provides a kind of system that the new plug-in unit of browser is provided automatically, comprising:
Preset module is positioned at server end, is used to preset the tabulation of browser plug-in, and described tabulation is classified to known browser plug-in according to the function of browser plug-in;
First sort module is used to obtain the mounted browser plug-in of client, and according to described tabulation, mounted all the known browser plug-ins of this client is classified;
Label is provided with module, is used at client, according to the classification results of the known browser plug-in of its installation the corresponding client endmost tag is set;
Matching module is used for the new browser plug-in of installing of client and the known browser plug-in of described tabulation are mated, if it fails to match then assert that it is unknown browser plug-in;
Second sort module is used for described unknown browser plug-in is classified, and is added in the described tabulation;
Enquiry module is used for inquiry and described unknown browser plug-in place classification corresponding client endmost tag; And
First provides module, is positioned at server end, and the client that is used for being provided with to all this client tag provides described unknown browser plug-in.
Preferably, described system also comprises acquisition module, comprising:
The interface interchange submodule is used to obtain and call browser interface; And
Plugin information obtains submodule, is used for by described browser interface, obtains the browser plug-in information that viewed device loads.
Preferably, described tabulation comprises known browser plug-in and corresponding browser plug-in classification;
Described first sort module comprises:
First distribution sub module, be used for the known browser plug-in of mounted known browser plug-in of this client and described tabulation is mated, if the match is successful, then the browser plug-in classification of the known browser plug-in correspondence in the described tabulation is defined as the classification of the mounted known browser plug-in of this client.
Preferably, described second sort module comprises:
Resolve content and obtain submodule, be used to obtain the parsing content of described unknown browser plug-in; And
Classification is determined submodule, is used for the type according to described parsing content, determines the classification of described unknown browser plug-in.
Preferably, described second sort module comprises:
Label obtains submodule, is positioned at server end, is used to obtain all client tag that are provided with on all clients that described unknown browser plug-in has been installed;
The recognin module is used for being set up the maximum client tag of number of times in described all client tag identifications;
The first classification submodule is used for the classification as described unknown browser plug-in of the classification results of the described known browser plug-in that is set up the maximum client tag correspondence of number of times.
Preferably, described second sort module comprises:
The network address page obtains submodule, is used to obtain the network address page that loads when described unknown browser plug-in moves;
The statistics submodule is used for the Visitor Logs according to the described network address page, adds up the used known browser plug-in of the described network address page; And
The second classification submodule is used for the classification results according to the used known browser plug-in of the described network address page, and described unknown browser plug-in is classified.
Preferably, described system also comprises new plug-in unit detection module, comprising:
The scanning submodule is used to scan the mounted browser plug-in of client browser;
Preserve submodule, be used to preserve corresponding scanning result;
Comparison sub-module is used for more adjacent twice scanning result, if a certain browser plug-in does not occur in scanning result last time in back time the scanning result, thinks that then described a certain browser plug-in is the new browser plug-in of installing of client.
Preferably, described tabulation comprises known browser plug-in and corresponding browser plug-in classification;
Described system also comprises:
The client id acquisition module is used at described browser plug-in classification, and server end obtains the client id that corresponding known browser plug-in is installed;
Module is set up in mapping, is used to set up the client id obtained and the mapping relations between the described browser plug-in classification;
Second provides module, be used for described unknown browser plug-in is being classified, and after being added into step in the described tabulation, all client ids under the browser plug-in classification of unknown browser plug-in correspondence described in the described tabulation provide described unknown browser plug-in.
Preferably, described second sort module also comprises:
Judge submodule, be used for before all client tag identification is set up the step of the maximum client tag of number of times, judge whether the client terminal quantity that described unknown browser plug-in has been installed surpasses threshold value, if then notify described recognin module to carry out and in all client tag, discern the step that is set up the maximum client tag of number of times.
Preferably, the function of described browser plug-in comprises: resolve picture, resolve video, resolve audio frequency or subscribe to the appointed website content.
Compared with prior art, the present invention has the following advantages:
The present invention proposes the tabulation of browser plug-in and the notion of client tag, wherein, described tabulation is classified to known browser plug-in according to the function of browser plug-in, and described client tag obtains according to the classification results setting of the known browser plug-in that client is installed; Because browser plug-in place classification and function corresponding hook, and client tag is the classification results that relies on known browser plug-in that client installs; Like this, client tag can be used for indicating the client that has particular browser pin function demand; Therefore, the client of described unknown browser plug-in place classification corresponding client endmost tag is set, for existing and the classify user of corresponding browser function demand of described unknown browser plug-in place; Therefore, the present invention can offer the user with corresponding function demand with described unknown browser plug-in automatically;
For the user, need not the user and possess higher computer level and troublesome operation, promptly can improve the user experience of softwares such as browser, allow the user faster, realize individual demand more easily;
Moreover the present invention can also determine which user needs described unknown browser plug-in by the client id under the browser plug-in classification; Because the browser plug-in classification links up with corresponding browser function, there is the potential demand of corresponding browser function in this with regard to client under the browser plug-in classification is described.Therefore, automatically described unknown browser plug-in is offered the client id with corresponding function demand, for the user, also can allow these client ids obtain to be fit to the new plug-in unit of browser of oneself easily.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
The core idea of the embodiment of the invention is:
1, the tabulation of browser plug-in and the notion of client tag are proposed, wherein, described tabulation is classified to known browser plug-in according to the function of browser plug-in, and described client tag obtains according to the classification results setting of the known browser plug-in that client is installed;
2, about how obtaining the new plug-in unit of browser, when the new browser plug-in of installing of client and the known browser plug-in in the described tabulation carry out that it fails to match, assert that it is unknown browser plug-in, also be the new plug-in unit of browser;
3, which user to need described unknown browser plug-in about, on the one hand, classification of browser plug-in place and function corresponding hook, on the other hand, client tag is the classification results that relies on known browser plug-in that client installs; Like this, client tag can be used for indicating the client that has particular browser pin function demand, for example, is when resolving picture in described browser plug-in function, means that then there is the functional requirement of resolving picture in the client that the respective client endmost tag is set.Therefore, head of the present invention obtains described unknown browser plug-in place classification corresponding client endmost tag, and provide described unknown browser plug-in to the client that all are provided with this client tag by server end, can automatically described unknown browser plug-in be offered the user with corresponding function demand, for the user, then can obtain to be fit to the new plug-in unit of browser of oneself more easily.
With reference to Fig. 1, show a kind of process flow diagram that the method embodiment of the new plug-in unit of browser is provided automatically of the present invention, specifically can comprise:
Step 101, server end preset the tabulation of browser plug-in, and described tabulation is classified to known browser plug-in according to the function of browser plug-in;
The present invention can be used in numerous general or special purpose calculation element environment or the configuration.For example: personal computer, server computer, handheld device or portable set, flat equipment, multiprocessor device, comprise distributed computing environment of above any device or equipment or the like.
The present invention can describe in the general context of the computer executable instructions of being carried out by computing machine, for example program module.Usually, program module comprises the routine carrying out particular task or realize particular abstract, program, object, assembly, data structure or the like.Also can in distributed computing environment, put into practice the present invention, in these distributed computing environment, by by communication network connected teleprocessing equipment execute the task.In distributed computing environment, program module can be arranged in the local and remote computer-readable storage medium that comprises memory device.
In actual applications, the described process that known browser plug-in is classified mainly is the process that known browser plug-in is grouped into corresponding browser plug-in classification according to the function of browser plug-in.
In specific implementation, the function of described browser plug-in specifically can comprise: resolve picture, resolve video, resolve audio frequency or subscribe to appointed website content etc., wherein, described subscription appointed website content can comprise checks microblogging or checks weather forecast etc.With reference to table 1, show the application example of a kind of tabulation of the present invention, it shows the corresponding relation of browser plug-in classification and known browser plug-in.
Table 1
In the table 1, directly, be appreciated that those skilled in the art can also be provided with the title of other browser plug-in classification, as picture, video or the like with the function of browser plug-in title as the browser plug-in classification.
In addition, except resolving picture, resolve video, resolve inside and outside audio frequency or the subscription appointed website, the function of described browser plug-in can also comprise other function, (browser plug-in of corresponding linguistic function can comprise " the dictionary plug-in unit is arranged " as linguistic function, " translation tool plug-in unit ", " web page translation plug-in unit " etc.), (browser plug-in of corresponding read function can comprise " reader plug-in unit " to read function, " network novel reader plug-in unit " etc.), (browser plug-in of corresponding webpage function can comprise " automatic page turning plug-in unit " to the webpage function, " smooth rolling plug-in unit etc. "), (browser plug-in of corresponding function of search can comprise " replacing of search page background colour " to function of search, " Search Results thumbnail ", " search engine assistant " etc.), map function, game function etc.The objective of the invention is known browser plug-in to be classified, and can the function of concrete browser plug-in not limited according to the function of browser plug-in.
In addition, for same browser plug-in, it may have a plurality of functions, and for example, " 3D browses plug-in unit " both can resolve picture, can resolve video again, therefore, can be grouped in a plurality of browser plug-in classifications and go.Also promptly, browser plug-in classification and browser plug-in among the present invention can be the corresponding relations of one-to-many, also can be the corresponding relations of multi-to-multi, and the present invention is not limited the concrete mapping relations of the two.
Step 102, obtain the mounted browser plug-in of client, and, mounted all the known browser plug-ins of this client are classified according to described tabulation;
In a preferred embodiment of the present invention, can obtain the mounted browser plug-in of client as follows:
Substep A1, obtain and call browser interface;
Substep A2, by described browser interface, obtain the browser plug-in information that viewed device loads.
In practice, browser can provide special interface to call for server end or other mechanism; Therefore, described substep A2 can be the browser conduct side of being called, and the browser plug-in information that has loaded is returned to called side, or called side is directly obtained the browser plug-in information that viewed device loads after intercepting and capturing described browser interface.In a word, the present invention is not limited the concrete scheme of calling browser interface.
In another kind of preferred embodiment of the present invention, described tabulation can comprise known browser plug-in and corresponding browser plug-in classification;
The described tabulation of described foundation, the step to mounted all the known browser plug-ins of this client are classified specifically can comprise:
Known browser plug-in in mounted known browser plug-in of this client and the described tabulation is mated, if the match is successful, then the browser plug-in classification of the known browser plug-in correspondence in the described tabulation is defined as the classification of the mounted known browser plug-in of this client.
Suppose that the mounted known browser plug-in of this client is " bean cotyledon radio station plug-in unit ", it can the match is successful with " bean cotyledon radio station plug-in unit " under " parsing audio frequency " classification in the described tabulation, and the classification that then can obtain this client mounted " bean cotyledon radio station plug-in unit " is " parsing audio frequency ".
Step 103, at client, according to the classification results of the known browser plug-in of its installation the corresponding client endmost tag is set;
The present invention adopts client tag to indicate the classification of all clients, and The classification basis is the classification results of the known browser plug-in of installation here.On the one hand, browser plug-in place classification and function corresponding hook, on the other hand, client tag is the classification results that relies on known browser plug-in that client installs; Therefore, client tag can be used for indicating the client that has particular browser pin function demand.
Title about client tag, those skilled in the art can carry out various settings according to actual needs, for example, the title of client tag can be same or similar with the classification results of the known browser plug-in of installing, and for example, can include numeral in the title of client tag, as label 1, label 2... etc., in a word, the present invention goes for the title of various client tag.
For example, certain client has been installed known browser plug-ins such as " download plug-in in batches ", " automatic page turning plug-in unit ", " 3D browses plug-in unit ", and the classification results of these known browser plug-ins is " a parsing picture ", and label that then can this client is set to " picture ".
Need to prove that same client can have a plurality of client tag,, " language " label can be set for it if the client that goes up in the example has also been installed " the dictionary plug-in unit is arranged ".
Step 104, new browser plug-in of installing of client and the known browser plug-in in the described tabulation are mated, if it fails to match then assert that it is unknown browser plug-in;
In a preferred embodiment of the present invention, can obtain the new browser plug-in of installing of client as follows:
Substep C1, the mounted browser plug-in of scanning client browser, and preserve corresponding scanning result;
Substep C2, more adjacent twice scanning result if a certain browser plug-in does not occur in the scanning result of back time, think that then described a certain browser plug-in is the new browser plug-in of installing of client in scanning result last time.
The scanning here can be periodic scanning (as 12 noon every day), also can be irregular scanning; The present invention after each scanning is finished, scanning results that can be more adjacent twice all.Suppose that " webpage capture " plug-in unit does not occur in the inferior scanning result in back in scanning result last time, think that then it is the new browser plug-in of installing of client.
In specific implementation, can at first set up the mapping relations between the known browser plug-in in keyword or keyword set and the tabulation; Like this, when coupling, the browser plug-in that client newly can be installed and keyword or keyword set are carried out matching inquiry, if the match is successful, think that then the new browser plug-in of installing of described client is known browser plug-in, if the match is successful, think that then the new browser plug-in of installing of described client is unknown browser plug-in.
Step 105, described unknown browser plug-in is classified, and be added in the described tabulation;
The present invention can provide the classification schemes of following unknown browser plug-in:
Classification schemes one,
Classify according to the type of resolving content, specifically can comprise:
Substep D1, obtain the parsing content of described unknown browser plug-in;
Substep D2, according to the type of described parsing content, determine the classification of described unknown browser plug-in.
Suppose that the new unknown browser plug-in of installing of client is " webpage capture ", this plug-in unit is resolved the content of HTML (HTML (Hypertext Markup Language), Hyper Text Mark-up Language) form, can determine that then the classification of this plug-in unit is " webpage ".
Suppose that the new unknown browser plug-in of installing of client is " GoogleMusic ", this plug-in unit is resolved MP3 (dynamic image expert compression standard audio frequency aspect 3, Moving Picture Experts Group AudioLayer III) content of form can determine that then the classification of this plug-in unit is " audio frequency ".
Suppose that the new unknown browser plug-in of installing of client is " Hero Audio Convert ", this plug-in unit is resolved AVI (Audio Video Interleaved, Audio Video Interleaved), MPEG (dynamic image expert group, Moving Pictures Experts Group) content of form can determine that then the classification of this plug-in unit is " video ".
Classification schemes two,
Client tag according to all clients is classified, and specifically can comprise:
Substep E1, server end obtain all client tag that are provided with on all clients that described unknown browser plug-in has been installed;
Substep E2, identification is set up the maximum client tag of number of times in described all client tag;
Substep E3, with the classification of the classification results of the described known browser plug-in that is set up the maximum client tag correspondence of number of times as described unknown browser plug-in.
For example, 100 clients are arranged under certain server, find by statistics, have 50 clients that described unknown browser plug-in has been installed; Because a client may be provided with a plurality of client tag, so substep E1 adds up all client tag that are provided with on all clients that described unknown browser plug-in is installed, the statistics of supposing client tag comprises: 40 " parsing video ", 35 " webpage ", 20 " language ", 10 " checking microblogging ", then substep E2 can discern and obtain being set up the maximum client tag of number of times---and " parsing video ", and the classification of the known browser plug-in that " parsing video " is corresponding is as the classification results of described unknown browser plug-in.
In a preferred embodiment of the present invention, in all client tag, to discern and be set up before the step of the maximum client tag of number of times, described method can also comprise:
Judge whether the client terminal quantity that described unknown browser plug-in has been installed surpasses threshold value, if, then carry out and in all client tag, discern the step that is set up the maximum client tag of number of times, otherwise, unknown browser plug-in is not classified.
In practice, described threshold value can be preset according to actual conditions by those skilled in the art, for example, for server with 100 clients, can preset this threshold value is 30, and the client terminal quantity that described unknown browser plug-in then has been installed surpasses at 30 o'clock, just unknown browser plug-in is classified; And for example, for the server with 500 clients, can preset this threshold value is 100, or the like, the present invention is not limited concrete threshold value and preset mode.
Classification schemes three,
The network address page that loads when moving according to described unknown browser plug-in is classified, and specifically can comprise:
Substep F1, the network address page that loads when obtaining described unknown browser plug-in operation;
The Visitor Logs of substep F2, the described network address page of foundation is added up the used known browser plug-in of the described network address page;
The classification results of substep F3, the used known browser plug-in of the described network address page of foundation is classified to described unknown browser plug-in.
For example, suppose that " the shopping assistant is arranged " is unknown browser plug-in, it has loaded " Taobao " when operation, and according to the Visitor Logs of all clients to " Taobao ", find that " Taobao " used known browser plug-in includes: " Dreamweaver shopping cart ", " ASP shopping cart ", " Ookong plug-in unit " and " shopping assistant ", and " Dreamweaver shopping cart ", " ASP shopping cart ", classification under " Ookong plug-in unit " and " shopping assistant " is " shopping ", then can be directly with " shopping " classification results as " the shopping assistant is arranged ".
And for example, suppose that " online intelligence fill in a form software " is unknown browser plug-in, it has loaded " ends of the earth community " when operation, and according to the Visitor Logs of all clients to " ends of the earth community ", find that " ends of the earth community " used known browser plug-in includes: " 360 fill in a form ", " red fox is filled in a form " and " Google fills in a form ", and 360 fill in a form ", the classification under " red fox is filled in a form " and " Google fills in a form " is " filling in a form ", then can be directly with " filling in a form " classification results as " assistant that does shopping is arranged ".
Need to prove that when being a plurality of, the classification results of the used known browser plug-in of these network address pages may be not quite similar at the used known browser plug-in of the described network address page; For example, Taobao " used known browser plug-in can also comprise " collection ", but the classification under " collection " is " browser function management ";
At this moment, can be by the quantity of known browser plug-in under the used classification of the described network address page, determine the classification of described unknown browser plug-in, for example, " Taobao " used 4 plug-in units under " shopping ", and " Taobao " used 1 plug-in unit under " browser function management ", then can the classification that the quantity of the used known browser plug-in of the described network address page is many be defined as " the shopping assistant is arranged " classification results;
Perhaps, can determine the classification of described unknown browser plug-in by the access times of known browser plug-in under the used classification of the described network address page; For example, " Taobao " is 1987668 to the access times of plug-in unit under " shopping ", and " Taobao " to " browser function management " down the access times of plug-in unit be 8936, then can the classification that the access times of the used known browser plug-in of the described network address page are many be defined as " the shopping assistant is arranged " classification results.
In addition, under different situations, the network address page that described unknown browser plug-in loads when moving can be different, and for example, except " Taobao ", " the shopping assistant is arranged " can also load " store, Jingdone district ", " Dangdang.com " waits other network address pages; At this moment, also can the employed plugin information of the comprehensive multiple different network address pages, described unknown browser plug-in is classified, the classification here also can be many with the quantity of the used known browser plug-in of all network address pages, and/or, the access times of the used known browser plug-in of all network address pages are many as classification foundation, and the present invention is not limited concrete classification foundation.
More than three kinds of classification schemes are described in detail, be appreciated that, those skilled in the art can unite the described three kinds of classification schemes of use as required, perhaps, use wherein any, perhaps, adopt other classification schemes, the present invention can not limited the classification schemes of concrete unknown browser plug-in.
Step 106, inquiry and described unknown browser plug-in place classification corresponding client endmost tag, and provide described unknown browser plug-in to the client that all are provided with this client tag by server end.
In embodiments of the present invention, described unknown browser plug-in can be recommended the user, perhaps, for the user installs described unknown browser plug-in automatically.
Wherein, in a preferred embodiment of the present invention, described described unknown browser plug-in is recommended user's step, specifically can comprise:
Adopt the bullet window to recommend described unknown browser plug-in; The bullet window here can comprise the ejection bubble, eject dialog box etc.;
Perhaps, use animation effect to recommend described unknown browser plug-in; For example, can comprise animation effects such as literal flashes, literal slip;
Adopt prompting to recommend described unknown browser plug-in; The prompting here can comprise auditory tone cues and non-auditory tone cues, wherein, the position of described non-auditory tone cues can be included in the browser prompting, point out, point out in mail, point out in short message in prompting on the webpage, in the prompting of system tray district, at desktop etc., and the present invention is not limited the position of described non-auditory tone cues.
Perhaps, on the interface, enumerate described unknown browser plug-in.
When acquiring a plurality of unknown browser plug-in, an interface can be provided, these position browser differences are just all listed, check selection for him.Concrete mode can for: on the interface, provide an inlet (as status bar place one " use the " center " button), click and show behind this button modes such as " suitable your new plug-in unit ".
The classification results that " the shopping assistant is arranged " is " shopping ", because the classification of browser plug-in place is linked up with function corresponding, this just means that " shopping " classification corresponding client endmost tag can be used for indicating the client that has specific " shopping " functional requirement, also promptly, there is potential " shopping " function in the client of setting " shopping " classification corresponding client endmost tag.Therefore, automatically described unknown browser plug-in is offered the user with corresponding function demand, for the user, then can obtain to be fit to the new plug-in unit of browser of oneself more easily.
In a preferred embodiment of the present invention, described tabulation can comprise known browser plug-in and corresponding browser plug-in classification;
Described method can also comprise:
At described browser plug-in classification, server end obtains the client id that corresponding known browser plug-in is installed;
Mapping relations between client id that foundation is obtained and the described browser plug-in classification;
Described unknown browser plug-in is being classified, and after being added into step in the described tabulation, described method can also comprise:
All client ids under the browser plug-in classification of unknown browser plug-in correspondence described in the described tabulation provide described unknown browser plug-in.
This preferred embodiment is not by client tag, but by the client id under the browser plug-in classification, determines which user needs described unknown browser plug-in.Because the browser plug-in classification links up with corresponding browser function, there is the potential demand of corresponding browser function in this with regard to client under the browser plug-in classification is described.Therefore, automatically described unknown browser plug-in is offered the client id with corresponding function demand, for the user, then can obtain to be fit to the new plug-in unit of browser of oneself more easily.
Described client id is unique identify label of client, and in practice, it can be represented with IP (agreement that interconnects between the network, the Internet Protocol) address of client.
" parsing video " classification with table 1 is an example, supposes that the server end statistics obtains to install the client id (being assumed to be 100) of known browser plug-in under this classification, and sets up the mapping relations of these 100 client ids and " parsing video " classification; Like this, after unknown browser plug-in is referred to " parsing video " classification with certain, can directly provide this unknown browser plug-in to these 100 client ids.
With reference to Fig. 2, show a kind of structural drawing that the system embodiment of the new plug-in unit of browser is provided automatically of the present invention, specifically can comprise:
Preset module 201 is positioned at server end, is used to preset the tabulation of browser plug-in, and described tabulation is classified to known browser plug-in according to the function of browser plug-in;
First sort module 202 is used to obtain the mounted browser plug-in of client, and according to described tabulation, mounted all the known browser plug-ins of this client is classified;
Label is provided with module 203, is used at client, according to the classification results of the known browser plug-in of its installation the corresponding client endmost tag is set;
Matching module 204 is used for the new browser plug-in of installing of client and the known browser plug-in of described tabulation are mated, if it fails to match then assert that it is unknown browser plug-in;
Second sort module 205 is used for described unknown browser plug-in is classified, and is added in the described tabulation;
Enquiry module 206 is used for inquiry and described unknown browser plug-in place classification corresponding client endmost tag; And
First provides module 207, is positioned at server end, and the client that is used for being provided with to all this client tag provides described unknown browser plug-in.
In embodiments of the present invention, preferably, the function of described browser plug-in can comprise: resolve picture, resolve video, resolve audio frequency or subscribe to appointed website content etc.
In a preferred embodiment of the present invention, described system can also comprise: acquisition module specifically can comprise:
The interface interchange submodule is used to obtain and call browser interface; And
Plugin information obtains submodule, is used for by described browser interface, obtains the browser plug-in information that viewed device loads.
In another preferred embodiment of the present invention, described tabulation can comprise known browser plug-in and corresponding browser plug-in classification;
Correspondingly, described first sort module 202 may further include:
First distribution sub module, be used for the known browser plug-in of mounted known browser plug-in of this client and described tabulation is mated, if the match is successful, then the browser plug-in classification of the known browser plug-in correspondence in the described tabulation is defined as the classification of the mounted known browser plug-in of this client.
The present invention can provide the preferred design of following second sort module 205, specifically can comprise:
Design proposal one,
Described second sort module 205 may further include:
Resolve content and obtain submodule, be used to obtain the parsing content of described unknown browser plug-in; And
Classification is determined submodule, is used for the type according to described parsing content, determines the classification of described unknown browser plug-in.
Design proposal two,
Described second sort module 205 may further include:
Label obtains submodule, is positioned at server end, is used to obtain all client tag that are provided with on all clients that described unknown browser plug-in has been installed;
The recognin module is used for being set up the maximum client tag of number of times in described all client tag identifications; And
The first classification submodule is used for the classification as described unknown browser plug-in of the classification results of the described known browser plug-in that is set up the maximum client tag correspondence of number of times.
In a preferred embodiment of the present invention, described second sort module can also comprise:
Judge submodule, be used for before all client tag identification is set up the step of the maximum client tag of number of times, judge whether the client terminal quantity that described unknown browser plug-in has been installed surpasses threshold value, if then notify described recognin module to carry out and in all client tag, discern the step that is set up the maximum client tag of number of times.
When the client terminal quantity that described unknown browser plug-in is installed was no more than threshold value, this programme can't be classified to described unknown browser plug-in.
Design proposal three,
Described second sort module 205 may further include:
The network address page obtains submodule, is used to obtain the network address page that loads when described unknown browser plug-in moves;
The statistics submodule is used for the Visitor Logs according to the described network address page, adds up the used known browser plug-in of the described network address page; And
The classification submodule is used for the classification results according to the used known browser plug-in of the described network address page, and described unknown browser plug-in is classified.
In another preferred embodiment of the present invention, described system can also also comprise: new plug-in unit detection module may further include:
The scanning submodule is used to scan the mounted browser plug-in of client browser;
Preserve submodule, be used to preserve corresponding scanning result;
Comparison sub-module is used for more adjacent twice scanning result, if a certain browser plug-in does not occur in scanning result last time in back time the scanning result, thinks that then described a certain browser plug-in is the new browser plug-in of installing of client.
In another preferred embodiment of the present invention, described tabulation can comprise known browser plug-in and corresponding browser plug-in classification;
Described system can also comprise:
The client id acquisition module is used at described browser plug-in classification, and server end obtains the client id that corresponding known browser plug-in is installed;
Module is set up in mapping, is used to set up the client id obtained and the mapping relations between the described browser plug-in classification;
Second provides module, be used for described unknown browser plug-in is being classified, and after being added into step in the described tabulation, all client ids under the browser plug-in classification of unknown browser plug-in correspondence described in the described tabulation provide described unknown browser plug-in.
For system embodiment, because it is similar substantially to method embodiment, so description is fairly simple, relevant part gets final product referring to the part explanation of method embodiment.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed all is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.
More than to a kind of method and system that the new plug-in unit of browser is provided automatically proposed by the invention, be described in detail, used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.