Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
An embodiment of the present invention provides a kind of browser execution environment detection method, client, server and system, to
It solves in the prior art because some BHO plug-in units impact the running environment of browser, so as to cause the startup speed of browser
Spend the problem of slow.
Fig. 1 a show the flow chart of browser execution environment detection method provided by one embodiment of the present invention.Such as Fig. 1 a
Shown, this method comprises the following steps:
Step S110, according to pre-stored BHO white lists list, each BHO plug-in units for determining to load in browser are
It is no to belong to BHO white list lists, wherein, BHO white list lists are stored in client local.
Step S120, for belonging to the BHO plug-in units of BHO white list lists, determine that its scanning result is normal;For being not belonging to
The BHO plug-in units of BHO white list lists further according to pre-stored BHO blacklist lists, determine whether its scanning result is abnormal.
Step S130, scanning result is handled for abnormal BHO plug-in units.
Wherein, BHO blacklist lists store on the server, and BHO blacklist lists are directly according to visitor by server
The identification information of the abnormal BHO plug-in units of family end feedback is configured and newer;And/or BHO blacklist lists are by server
It is configured and is updated after the identification information of abnormal BHO plug-in units is determined according to the BHO plug-in unit load times of client feedback
's.
In method provided in an embodiment of the present invention, by pre-set white list list and blacklist list to clear
The each BHO plug-in units loaded of looking in device are scanned, to determine to have abnormal BHO plug-in units.Thus solve because some BHO are inserted
Part impacts the running environment of browser, and so as to cause the slow-paced problem of startup of browser, achieving can be fast
Speed starts browser, reduces the advantageous effect of period of reservation of number.
Fig. 1 b show the browser execution environment detection method flow chart that another embodiment of the present invention provides.Such as Fig. 1 b institutes
Show, this method starts from step S110 '.First of browser in the case where not loading BHO plug-in units is tested in step S110 '
Start the second startup time t2 of time t1 and the browser in the case where being loaded with BHO plug-in units.
Specifically, browser first opening in the case where not loading BHO plug-in units is tested in above-mentioned step S110 '
The specific implementation of dynamic time t1 includes:Start browser in a manner of calling extoff parameters, at this point, browser will be with not
The mode for loading any plug-in unit (including BHO plug-in units) is started, and then, a predetermined webpage is opened by the browser, should
Predetermined webpage can be the common net of one in several webpages being stored in advance in a predetermined list or acquiescence
Page (such as webpage of Baidu or Sohu), and obtains the time that browser opens the predetermined webpage by com interface, as the
One starts time t1.Wherein, com interface is the interface of the various actions for being used for monitoring browser, directly invokes the interface
The time that browser opens predetermined webpage can be got.
Testing the specific implementation of second startup time t2 of the browser in the case where being loaded with BHO plug-in units includes:
Start browser in a manner of never calling any parameter, at this point, browser will start in a manner of loading BHO plug-in units, so
Afterwards, same predetermined webpage is opened by the browser, and by com interface come obtain browser open the predetermined webpage when
Between, start time t2 as second.
After obtaining the first above-mentioned startup time t1 and the second startup time t2 by step S110 ', in step S120 '
In, the difference t ' (t '=t2 ﹣ t1) between the second above-mentioned startup time t2 and the first startup time t1 is calculated, judges the difference
Whether t ' is more than predetermined threshold value T.Wherein, the specific value of predetermined threshold value T typically rule of thumb determines, for example, can
The value of predetermined threshold value T to be taken as two seconds, when difference t ' was more than two seconds, then step S130 ' is performed.
Those skilled in the art could be aware that above-mentioned step S110 ' and step S120 ' are not in the present invention
Required step, in other embodiments of the invention, it is convenient to omit step S110 ' and step S120 ', directly from step
Scanning step described in S130 ' starts to perform, and can equally realize the above-mentioned purpose in the present invention.
In step S130 ', when above-mentioned difference is more than predetermined threshold value, to each BHO plug-in units loaded in the browser
It is scanned respectively, and scanning result is handled for abnormal BHO plug-in units.
Specifically, in step S130 ', the process being scanned respectively to each BHO plug-in units loaded in browser is such as
Under:First, registration table is traveled through, obtains the quantity of the BHO plug-in units loaded in the browser and the mark letter of each BHO plug-in units
Breath.Wherein, the identification information and its storage location of each BHO plug-in unit are stored in registration table, by traveling through registration table just
The identification information and specific location that how many a BHO plug-in units and each BHO plug-in units are loaded in browser can be got.Its
In, the identification information of BHO plug-in units is including one or more in following information:The title of BHO plug-in units issues the BHO plug-in units
Business Name (for example, some company specially researches and develops the BHO plug-in units of malice, then can determine abnormal according to the title of the said firm
BHO plug-in units), (signing messages is generally stored inside the dynamic base corresponding to BHO plug-in units to signing messages included in BHO plug-in units
In file, certain antiforge function can be simultaneously realized for identifying BHO plug-in units).Then, arranged according to pre-stored BHO blacklists
Table determines whether the scanning result of each BHO plug-in units loaded in the browser is abnormal.Wherein, which can be with
It is stored in advance on Cloud Server, wherein storing the identification information for all BHO plug-in units for being previously determined to be abnormality.Its
In, Cloud Server can also be substituted by other common servers.
Introduce two kinds of possible collocation methods of above-mentioned BHO blacklist lists first below:
In the first collocation method, which is directly according to the different of client feedback by Cloud Server
The identification information of normal BHO plug-in units is configured and newer.In this fashion, the mark of client feedback exception BHO plug-in units
It can be fed back in several ways during information, for example, can by various modes be sent out in the process of running by client
Now exception BHO plug-in units (such as actively judged or judged by some query facilities by user);It alternatively, can also be by user
It is fed back when finding computer operation exception to operator, engineer's on-site maintenance is sent by operator, in the process, if work
Cheng Shi is found that this exception BHO plug-in unit then can be fed back to Cloud Server by abnormal BHO plug-in units by client.It is described herein
Abnormal BHO plug-in units be primarily referred to as the BHO plug-in units for certain abnormality (such as failure etc.) operationally really occur.
In second of collocation method, which is to be inserted by Cloud Server in the BHO according to client feedback
The part load time is configured and newer after determining the identification information of abnormal BHO plug-in units.Specifically, in this collocation method
In, the response time of browser can be automatically transmitted to Cloud Server (its when opening browser every time by each client
In, the response time of browser can directly be read by registration table), judged by Cloud Server by way of statistical analysis
Whether there is the response time substantially exceed normal range (NR) browser, when judging result for be when, further analysis response when
Between beyond normal range (NR) browser in each BHO plug-in units load time.Wherein, each BHO plug-in units in browser
Load time can also directly be obtained by registration table, be that there are problem, cloud clothes for which BHO plug-in unit for the ease of finding out
Business device will usually obtain the load time of BHO plug-in units in all clients, then further by way of statistical analysis come
BHO plug-in units of problems are found out, this plug-in unit is stored in BHO blacklist lists.Due to the purpose of the invention is to
The running environment of browser is optimized, to improve its surfing, therefore, BHO plug-in units of problems described herein
Not only include the operationally real BHO plug-in units for certain abnormality occur above-mentioned, further include some load times
The apparent BHO plug-in units for restraining oneself scope for exceeding user, therefore, second of collocation method is actually mainly from the angle of load time
Spend what is considered, main purpose is substantially to exceed the load time this part BHO plug-in units for restraining oneself scope of user as different
Normal BHO plug-in units screen.
Two kinds of collocation methods above both can be used alone, and can also be used in combination.In addition, match somebody with somebody except above-mentioned two kinds
It puts outside method, other modes that can find out abnormal BHO plug-in units can also be applied to the present invention.
After the collocation method for having introduced BHO blacklist lists, next, being discussed in detail according to the black names of above-mentioned BHO
Single-row table determines the whether abnormal several realization methods of the scanning result of each BHO plug-in units loaded in browser:
In the first realization method, directly it can determine what is loaded in browser according to above-mentioned BHO blacklist lists
Whether the scanning result of each BHO plug-in units is abnormal.It for example, can be by the identification information of each BHO plug-in units loaded in browser
Cloud Server is sent to, after inquiring about BHO blacklist lists by Cloud Server, by sweeping for the BHO plug-in units for belonging to BHO blacklist lists
It retouches result and is determined as exception., it is necessary to identification information by each BHO plug-in units loaded in browser in such processing mode
Cloud Server all is sent to, and needs that Cloud Server is waited to return to query result, thus may be increased due to network reason
Query time.For this purpose, can also the BHO blacklist lists being stored on Cloud Server be downloaded and stored in client sheet in advance
Ground, this operation both can be when client need to inquire about BHO blacklist lists, and sending inquiry to Cloud Server from client please
It asks to trigger, it can also be every default time interval automatic trigger, alternatively, it is black to update BHO every time in Cloud Server
Updated list is actively sent to client after list list.So, client is without will load in browser
The identification information of each BHO plug-in units, which is sent to Cloud Server, directly locally to draw query result, so can be notable
Improve the time required during inquiry next time.
It is not directly to determine to load in browser according to above-mentioned BHO blacklist lists in second of realization method
Each BHO plug-in units scanning result it is whether abnormal, but first according to a BHO white lists list determining in browser plus
Whether each BHO plug-in units carried are normal, for determining normal BHO plug-in units then without inquiring about blacklist list again.The realization
Mode specifically includes following process:First, according to pre-stored BHO white lists list, determine to load in browser each
Whether BHO plug-in units belong to the BHO white list lists.Wherein, which is generally stored inside client local, at this
The identification information for being confirmed as normal BHO plug-in units beforehand through various modes is stored in BHO white list lists, it is therefore, right
In the BHO plug-in units for belonging to the BHO white list lists, directly determine that its scanning result is normal;For being not belonging to BHO white lists row
The BHO plug-in units of table further according to above-mentioned BHO blacklist lists, determine if to belong to above-mentioned BHO blacklist lists, if
It is, it is determined that its scanning result is abnormal.In this implementation, if each BHO plug-in units loaded in browser belong to
White list list, then without inquiring about blacklist list again, and, it is generally the case that white list list is stored in client local,
And blacklist list then may be only stored at cloud server end, thus be possible to directly be looked into client through the above way
Inquiry can draw query result, network transmission and time-consuming problem when thus avoiding being inquired about by Cloud Server, significantly
Improve the efficiency of inquiry.Even if by white list list cannot determine all BHO plug-in units be it is normal, need to also be into one
In the case that step is by blacklist list, also only need further to inquire about the BHO plug-in units for being not belonging to white list list,
Thus transmitted data amount can also be greatly reduced, so as to shorten taking.
Pass through mode presented hereinbefore, it is possible in each BHO plug-in units loaded in browser, filter out abnormal
BHO plug-in units.
After scanning process having been performed in step S130 ', when handled for abnormal BHO plug-in units scanning result, tool
Body can be handled by the one or more in following three kinds of processing modes:
In the first processing mode, state of the scanning result for abnormal BHO plug-in units is arranged to disable.At this place
In reason mode, simply the state of abnormal BHO plug-in units is arranged to disable, be not deleted, therefore, need to make when the later stage
During with the BHO plug-in units, its state can also be re-set as enabling, so as to the function of the application BHO plug-in units.
In second of processing mode, scanning result is unloaded for abnormal BHO plug-in units.In this processing mode
In, directly abnormal BHO plug-in units are permanently deleted, unless reinstalling the BHO plug-in units, this otherwise can not be enabled again and insert
Part.
In specific perform, can determine to perform the first above-mentioned processing mode according to the type of abnormal BHO plug-in units
Or second of processing mode.According to two kinds of collocation methods of BHO blacklist lists described above, abnormal BHO plug-in units
Type can be divided into two major classes, and the first major class is to be practically at the BHO plug-in units of normal condition, merely because its load time mistake
It is long and cause browser response slow, so being just determined as scanning result as abnormal BHO plug-in units.In first major class
BHO plug-in units are mainly characterized in that operating status is normal, and perform behavior be it is legal, specifically can be by monitoring BHO plug-in units
Operating status, and analyze its behavioural characteristic to determine its type.For example, " input method assistant " this BHO plug-in unit may result in
It is slow to open the speed of webpage, therefore, can be set to disable when this plug-in unit need not be used, is visited to improve
It asks speed, only opens it again when using this plug-in unit.Second major class is indeed to be in the BHO plug-in units of abnormality, second
The behavior for being mainly characterized in that operating status abnormal (such as failure occur) or execution of BHO plug-in units in major class is illegal.
Under normal conditions, for the BHO plug-in units in the first above-mentioned major class, the first above-mentioned processing mode can be performed;For upper
BHO plug-in units in the second major class stated can perform second above-mentioned of processing mode.Optionally, in order to direct basis
BHO blacklist lists distinguish the Exception Type of BHO plug-in units, can also while BHO blacklist lists are configured, according to black
The characteristics of each BHO plug-in units in list list is that each BHO plug-in units in list set a type identification, for identifying
It belongs to the first major class or the second major class.
Can be abnormal BHO by scanning result in the third processing mode in addition to above two processing mode
Plug-in unit is prompted to user.That is, in the third processing mode, directly abnormal BHO plug-in units are not handled, but
By the information alert of abnormal BHO plug-in units to user, decided whether to handle and performed which kind of processing by user.By user Lai really
When determining processing mode, the selection of user can be respected fully, is met the needs of users.
Three kinds of above-mentioned processing modes both can be used alone and can also be used in combination.In addition to above-mentioned three kinds of processing modes,
Those skilled in the art can be handled it with flexible Application others processing mode, and this is not limited by the present invention.
In above-mentioned each step, by browser open webpage speed it is excessively slow when, to each BHO wherein loaded
The mode that plug-in unit is scanned can investigate out the BHO plug-in units of influence browser execution speed, and then realize optimization browser fortune
Row environment promotes the purpose of the speed of service.
Fig. 2 shows the structure chart of client 200 provided by the invention, which is used to detect browser execution
Environment.As shown in Fig. 2, the client 200 includes:Test module 210, judgment module 220 and scan module 230.Lower mask
Body introduces the course of work of modules:
Test module 210 be used for test browser in the case where not loading BHO plug-in units first start the time and should
Second startup time of the browser in the case where being loaded with BHO plug-in units.Wherein, the specific work process of test module 210 can
With reference to the corresponding description in step S110 ', details are not described herein again.
Judgment module 220 is used for calculating the difference between above-mentioned the second startup time and the first startup time, and judging should
Whether difference is more than predetermined threshold value.Wherein, the specific work process of judgment module 220 can refer to accordingly retouching in step S120 '
It states, details are not described herein again.
Scan module 230 is suitable for, when the difference is more than predetermined threshold value, distinguishing each BHO plug-in units loaded in browser
It is scanned, and scanning result is handled for abnormal BHO plug-in units.
Wherein, scan module 230 further comprises:Submodule is traveled through, suitable for traveling through registration table, obtains in the browser and adds
The identification information of the quantity of the BHO plug-in units of load and each BHO plug-in units;Determining module, suitable for according to being deposited in advance on Cloud Server
The BHO blacklist lists of storage determine whether the scanning result of each BHO plug-in units loaded in the browser is abnormal.Wherein it is determined that
Submodule can further include:White list determining module, suitable for according to pre-stored BHO white lists list, determining clear
Whether each BHO plug-in units loaded of looking in device belong to the BHO white list lists, are inserted for the BHO for belonging to the BHO white list lists
Part determines that its scanning result is normal;For being not belonging to the BHO plug-in units of the BHO white list lists, transfer at blacklist determining module
Reason;Blacklist determining module, suitable for according to pre-stored BHO blacklist lists, determining to be not belonging to the BHO white list lists
Whether the scanning result of BHO plug-in units is abnormal.Wherein, the specific work process on above-mentioned modules and submodule can refer to
The statement of corresponding portion in embodiment of the method, details are not described herein again.In addition, it is obtained on the specific of above-mentioned BHO blacklist lists
Take mode can also in reference method embodiment relevant portion description.Moreover, in order to be arranged in local search BHO blacklists
Table, the client can also include:Download module, suitable for downloading and depositing the BHO being stored on Cloud Server blacklist lists
Client local is stored up, in order to which next time inquires about.
In addition, scan module 230 is when scanning result is handled as follows for abnormal BHO plug-in units, it can be by as follows
One or more in mode are handled:State of the scanning result for abnormal BHO plug-in units is arranged to disable;Unloading scanning
As a result it is abnormal BHO plug-in units;And scanning result is prompted to user for abnormal BHO plug-in units.
In specific implementation, above-mentioned test module 210, judgment module 220 and scan module 230 can pass through installation
The form of an optimization software in client 200 is realized.
Fig. 3 shows that the optimization software comprising above-mentioned test module 210, judgment module 220 and scan module 230 exists
The interface schematic diagram of starting stage.As shown in figure 3, the optimization software can have the function of a variety of optimizations, wherein, by clicking on boundary
" browser optimization " button of face bottom and the icon of " starting to detect " can trigger above-mentioned each module and work.Fig. 4
Show the optimization software comprising above-mentioned test module 210, judgment module 220 and scan module 230 in end of run rank
The interface schematic diagram of section.As shown in figure 4, three results arrived in interface lower scan:" bubble weather pop-up component ", " good fortune orange
Amusement platform " and " jump fire video and subsidiary advertisement component " be all the embodiment of the present invention description by way of scan it is different
Normal BHO plug-in units.If user, which chooses above-mentioned plug-in unit and clicks on " key acceleration ", can be completed place to these exception BHO plug-in units
Reason.
In addition, those skilled in the art can also carry out various modifications to the structure dividing mode of above-mentioned client 200
And adjustment.Another structure dividing mode of above-mentioned client is given below:
The client includes:
White list determining module, suitable for according to pre-stored BHO white lists list, determining what is loaded in the browser
Whether each BHO plug-in units belong to the BHO white lists list, for belonging to the BHO plug-in units of the BHO white lists list, determine
Its scanning result is normal;For being not belonging to the BHO plug-in units of the BHO white lists list, blacklist determining module is transferred to handle;
Blacklist determining module, suitable for according to the pre-stored BHO blacklist lists, determining to be not belonging to the BHO
Whether the scanning result of the BHO plug-in units of white list list is abnormal, and scanning result is handled for abnormal BHO plug-in units;Tool
Can be the one or more that abnormal BHO plug-in units are handled as follows in mode to scanning result during body processing:Scanning is tied
Fruit is arranged to disable for the state of abnormal BHO plug-in units;Scanning result is unloaded as abnormal BHO plug-in units;And by scanning result
User is prompted to for abnormal BHO plug-in units;
Wherein, the BHO blacklist lists store on the server, and the BHO blacklist lists are by the service
Device is directly configured and newer according to the identification information of the abnormal BHO plug-in units of client feedback;And/or the black names of BHO
Single-row table is that the mark of abnormal BHO plug-in units is being determined according to the BHO plug-in unit load times of client feedback by the server
It is configured after information and newer.
Optionally, which further comprises:Spider module suitable for traveling through registration table, is obtained in the browser and added
The identification information of the quantity of the BHO plug-in units of load and each BHO plug-in units.Optionally, which further comprises:Download mould
Block, suitable for the BHO blacklist lists stored on the server are downloaded and stored in client local.
Optionally, which further comprises:Test module is not loading BHO plug-in units suitable for testing the browser
In the case of first start time and the browser and second start the time in the case where being loaded with BHO plug-in units;Sentence
Whether disconnected module suitable for calculating the difference between the second startup time and the first startup time, judges the difference
More than predetermined threshold value, and when the difference is more than the predetermined threshold value, notify that the white list determining module is handled.Its
In, the test module is suitable for starting browser in a manner of calling extoff parameters, and predetermined webpage is opened by browser, and
The time that browser opens the predetermined webpage is obtained by com interface, starts the time as first;To never call parameter
Mode starts browser, and the predetermined webpage is opened by browser, and by com interface come obtain browser open it is described pre-
Determine the time of webpage, start the time as second.
The present invention also provides a kind of server, which can be used in detecting browser execution environment.Also, it is preferred that
Ground, the server are Cloud Server.Fig. 5 shows the structure diagram of Cloud Server 300, as shown in figure 5, the Cloud Server
300 include:Configuration module 310 and enquiry module 320.
Wherein, configuration module 310 is used for being configured according to the feedback information of client during operation and storing the black names of BHO
Single-row table.
Specifically, configuration module 310 can be directly according to the configuration of the identification information of the abnormal BHO plug-in units of client feedback simultaneously
Update BHO blacklist lists.At this point, the BHO blacklist lists are directly according to the exception of client feedback by configuration module 310
The identification information of BHO plug-in units is configured and newer.In this fashion, the mark letter of client feedback exception BHO plug-in units
It can be fed back in several ways during breath, for example, can by various modes be found in the process of running by client
Abnormal BHO plug-in units (such as actively judged or judged by some query facilities by user);Alternatively, it can also be existed by user
It was found that being fed back during computer operation exception to operator, engineer's on-site maintenance is sent by operator, in the process, if engineering
Teacher is found that this exception BHO plug-in unit can then be fed back to the configuration mould in Cloud Server by abnormal BHO plug-in units by client
Block 310.
In addition, configuration module 310 can also determine abnormal BHO in the BHO plug-in unit load times according to client feedback
It is configured after the identification information of plug-in unit and updates BHO blacklist lists.At this point, the BHO blacklist lists are existed by configuration module 310
It is configured after determining the identification information of abnormal BHO plug-in units according to the BHO plug-in unit load times of client feedback and newer.
Specifically, the response time of browser can be automatically transmitted to Cloud Server when opening browser every time by each client
(wherein, the response time of browser can directly be read by registration table) is being received by the configuration module 310 in Cloud Server
It is by way of statistical analysis to determine whether bright there is the response time to after the browser response time in each client
The aobvious browser beyond normal range (NR), when judging result for when being, the further analysis response time exceeds the browsing of normal range (NR)
The load time of each BHO plug-in units in device.Wherein, the load time of each BHO plug-in units in browser can also directly lead to
Registration table is crossed to obtain, is which BHO plug-in unit there are problem for the ease of finding out, the configuration module 310 in Cloud Server
The load time of the BHO plug-in units in all clients is usually obtained, is then further searched by way of statistical analysis
Go out BHO plug-in units of problems, this plug-in unit is stored in BHO blacklist lists.
Enquiry module 320 is used for receiving the scan request of client transmission, and according to the browsing included in the scan request
The identification information of each BHO plug-in units loaded in device inquires about BHO blacklist lists, and returns to query result to client.Specifically
Ground, when the scan module 230 that enquiry module 320 is mainly used in above-mentioned client 200 performs scanning process, cooperation scanning
Module 230 completes scanning.For example, when each BHO plug-in units loaded during scan module 230 is to browser are scanned respectively,
A scan request can be sent to the enquiry module 320 in Cloud Server, include in the scan request and loaded in browser
Each BHO plug-in units identification information, then, the marks of the BHO plug-in units according to included in scan request of enquiry module 320 letter
It ceases to inquire about the BHO blacklist lists of storage, to judge whether BHO plug-in units it is black be stored in the BHO included in scan request
In list list, and query result is returned to the scan module 230 in client 200, at this point, what enquiry module 320 returned
Whether belong to the judging result of BHO blacklist lists in query result comprising each BHO plug-in units.In above process, by client
The identification information that BHO plug-in units are sent to Cloud Server is held, is then judged by Cloud Server according to BHO blacklist lists each
Whether BHO plug-in units belong to blacklist list, this have the advantage that:The data volume of transmission is less, and therefore, propagation delay time is short,
Result can quickly be obtained.
It please in fact, the scanning for not including any BHO plugin names can also be sent to Cloud Server from client
It asks, then, the information in the BHO blacklist lists of storage is all sent to the client by Cloud Server, which will
Directly in local search and draw query result after the BHO blacklist lists are locally downloading, although so do needs transmit it is big
The data of amount are (i.e.:Whole BHO blacklist lists), still, after client stores the BHO blacklist lists to local,
It can conveniently inquire about next time, it also can be based on upper once in the BHO blacklist lists being locally stored especially under offline condition
Query result is drawn, so as to greatly facilitate user.
Fig. 6 shows the system construction drawing of detection browser execution environment provided by the invention.As shown in fig. 6, the system
Including:At least one client 200 and Cloud Server 300.Wherein, the concrete structure and work of client 200 and Cloud Server 300
It can refer to the description of foregoing embodiments as principle, details are not described herein again.In addition, it is for exemplified by Cloud Server in Fig. 6 by server
It is described, in fact, server provided by the invention can also be the common server in addition to Cloud Server.
In above system, BHO blacklist lists are created by Cloud Server, and Cloud Server and generic services
Device is compared, either can not or all have in terms of data configuration and the speed of data recovery in terms of the reliability of data
The advantage of analogy, for example, after a client feeds back an exception BHO plug-in unit to Cloud Server, Cloud Server can be immediately
BHO blacklist lists are updated according to this feedback, all clients can be in time in subsequent processing after update
Updated BHO blacklist lists are inquired in the process.So when creating BHO blacklists using Cloud Server in the present invention
Have the characteristics that during list it is convenient be simple and efficient, certainly, it will be appreciated to those of skill in the art that the present invention can also apply
Other common servers are realized.
In browser execution environment detection method provided by the invention, client, server and system, when test is to clear
Device is look at when institute after loading BHO plug-in units has been more than predetermined threshold value the extended startup time, illustrates the BHO plug-in units loaded in browser
The startup speed of browser has been seriously affected, at this point, by being scanned to each BHO plug-in units loaded in browser,
And the running environment of browser is optimized for mode that abnormal BHO plug-in units are handled to scanning result.Thus solve because
Some BHO plug-in units impact the running environment of browser, so as to cause the slow-paced problem of startup of browser, obtain
Browser can quickly be started, reduce the advantageous effect of period of reservation of number.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein.
Various general-purpose systems can also be used together with teaching based on this.As described above, required by constructing this kind of system
Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that it can utilize various
Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the specification provided in this place, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each inventive aspect,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor
Shield the present invention claims the more features of feature than being expressly recited in each claim.It is more precisely, such as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim is in itself
Separate embodiments all as the present invention.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.It can be the module or list in embodiment
Member or component be combined into a module or unit or component and can be divided into addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it may be employed any
Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and attached drawing) and so to appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Profit requirement, summary and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included some features rather than other feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
One of meaning mode can use in any combination.
The all parts embodiment of the present invention can be with hardware realization or to be run on one or more processor
Software module realize or realized with combination thereof.It will be understood by those of skill in the art that it can use in practice
Microprocessor or digital signal processor (DSP) realize some or all portions in device according to embodiments of the present invention
The some or all functions of part.The present invention is also implemented as performing a part or complete for method as described herein
The equipment or program of device (for example, computer program and computer program product) in portion.Such program for realizing the present invention
It can may be stored on the computer-readable medium or can have the form of one or more signal.Such signal can be with
It is downloaded from internet website and obtains either providing on carrier signal or providing in the form of any other.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame
Claim.
The invention discloses:
A1, a kind of browser execution environment detection method, including:
According to pre-stored BHO white lists list, whether each BHO plug-in units for determining to load in the browser belong to
The BHO white lists list, wherein, the BHO white lists list is stored in client local;
For belonging to the BHO plug-in units of the BHO white lists list, determine that its scanning result is normal;
For being not belonging to the BHO plug-in units of the BHO white lists list, further according to pre-stored BHO blacklist lists, really
Whether its fixed scanning result is abnormal, and scanning result is handled for abnormal BHO plug-in units;
Wherein, the BHO blacklist lists store on the server, and the BHO blacklist lists are by the service
Device is directly configured and newer according to the identification information of the abnormal BHO plug-in units of client feedback;And/or the black names of BHO
Single-row table is that the mark of abnormal BHO plug-in units is being determined according to the BHO plug-in unit load times of client feedback by the server
It is configured after information and newer.
A2, the method as described in A1, wherein, it is described according to pre-stored BHO white lists list, it determines described clear
Further comprise step before the step of whether each BHO plug-in units loaded of looking in device belong to the BHO white lists list:
Registration table is traveled through, obtains the quantity of the BHO plug-in units loaded in the browser and the mark letter of each BHO plug-in units
Breath.
A3, the method as described in A1, wherein, it is described according to pre-stored BHO blacklist lists, determine its scanning result
Whether before abnormal step, further comprise step:
The BHO blacklist lists stored on the server are downloaded and stored in client local.
A4, the method as described in A1, wherein, it is described processing is carried out for abnormal BHO plug-in units to scanning result to specifically include
One or more in following processing mode:
State of the scanning result for abnormal BHO plug-in units is arranged to disable;
Scanning result is unloaded as abnormal BHO plug-in units;And
Scanning result is prompted to user for abnormal BHO plug-in units.
A5, the method as described in A1, wherein, it is described according to pre-stored BHO white lists list, determine the browser
Before the step of whether each BHO plug-in units of middle loading belong to the BHO white lists list, further comprise step:
Test the browser in the case where not loading BHO plug-in units first startup the time and the browser exist
It is loaded with the second startup time in the case of BHO plug-in units;
The difference between the second startup time and the first startup time is calculated, judges whether the difference is more than
Predetermined threshold value;
When the difference is more than the predetermined threshold value, execution is described according to pre-stored BHO white lists list, determines
The step of whether each BHO plug-in units loaded in the browser belong to the BHO white lists list.
A6, the method as described in A5, wherein, test browser is when first in the case of not loading BHO plug-in units starts
Between specifically include:Start browser in a manner of calling extoff parameters, predetermined webpage is opened by browser, and passes through COM
Interface obtains the time that browser opens the predetermined webpage, as first starts the time;
Test the browser in the case where being loaded with BHO plug-in units second startup the time specifically include:To never call
The mode of parameter starts browser, opens the predetermined webpage by browser, and is opened by com interface to obtain browser
The time of the predetermined webpage starts the time as second.
B7, a kind of client, including:
White list determining module, suitable for according to pre-stored BHO white lists list, determining what is loaded in the browser
Whether each BHO plug-in units belong to the BHO white lists list, for belonging to the BHO plug-in units of the BHO white lists list, determine
Its scanning result is normal;For being not belonging to the BHO plug-in units of the BHO white lists list, blacklist determining module is transferred to handle;
Blacklist determining module, suitable for according to the pre-stored BHO blacklist lists, determining to be not belonging to the BHO
Whether the scanning result of the BHO plug-in units of white list list is abnormal, and scanning result is handled for abnormal BHO plug-in units;
Wherein, the BHO blacklist lists store on the server, and the BHO blacklist lists are by the service
Device is directly configured and newer according to the identification information of the abnormal BHO plug-in units of client feedback;And/or the black names of BHO
Single-row table is that the mark of abnormal BHO plug-in units is being determined according to the BHO plug-in unit load times of client feedback by the server
It is configured after information and newer.
B8, the client as described in B7, wherein, further comprise:Spider module, suitable for traveling through registration table, described in acquisition
The identification information of the quantity of the BHO plug-in units loaded in browser and each BHO plug-in units.
B9, the client as described in B7, wherein, further comprise:Download module, suitable for that will store on the server
BHO blacklist lists are downloaded and stored in client local.
B10, the client as described in B7, wherein, the blacklist determining module is suitable for being abnormal BHO to scanning result
The one or more in mode are handled as follows in plug-in unit:
State of the scanning result for abnormal BHO plug-in units is arranged to disable;
Scanning result is unloaded as abnormal BHO plug-in units;And
Scanning result is prompted to user for abnormal BHO plug-in units.
B11, the client as described in B7, wherein, further comprise:
Test module, suitable for test the browser in the case where not loading BHO plug-in units first start the time and
Second startup time of the browser in the case where being loaded with BHO plug-in units;
Judgment module suitable for calculating the difference between the second startup time and the first startup time, judges institute
It states whether difference is more than predetermined threshold value, and when the difference is more than the predetermined threshold value, notifies the white list determining module
It is handled.
B12, the client as described in B11, wherein, the test module is suitable for starting in a manner of calling extoff parameters
Browser opens predetermined webpage by browser, and by com interface come obtain browser open the predetermined webpage when
Between, start the time as first;Start browser in a manner of never calling parameter, the predetermined webpage opened by browser,
And the time that browser opens the predetermined webpage is obtained by com interface, start the time as second.
C13, a kind of server, including:
Configuration module, suitable for being configured during operation and storing BHO blacklist lists;Wherein, the configuration module is fitted
In directly being configured according to the identification information of the abnormal BHO plug-in units of client feedback and update the BHO blacklist lists;And/or
The configuration module is suitable for determining the identification information of abnormal BHO plug-in units according to the BHO plug-in unit load times of client feedback
After configure and update the BHO blacklist lists;
Enquiry module, suitable for receiving the scan request that client is sent, and according to being included in the scan request
The identification information of each BHO plug-in units loaded in browser is inquired about the BHO blacklist lists, and is returned to the client
Query result.
D14, a kind of browser execution EMS, including as described in the client as described in B7 to B12 is any and C13
Server.