The safety detection method of browser, device and electronic equipment
Technical field
The present invention relates to field of computer technology, more particularly to a kind of safety detection method of browser, device and electricity
Sub- equipment.
Background technology
With the popularization of the Internet, the threat on network is more and more, to the injury of the electronic equipments such as computer increasingly
Greatly.In existing safety detection scheme, generally using third party's safety detection instrument to the application program in system or system
(such as browser application program) carries out safety detection.If being not installed with third party's safety detection instrument in system, cannot be right
Application program in system or system carries out safety detection.
Because browser is the important tool of access the Internet, so the safety detection of browser is particularly important, but by
Third party's safety detection instrument detects to browser, needs additionally to install third party's safety detection instrument in system, takes
System resource.
And, third party's safety detection instrument and the various browsers of non-compatible, when safety detection is carried out to browser, hold
Easily cause the problem of browser collapse.
The content of the invention
In view of the safety detection method of above-mentioned existing browser needs, by third party's safety detection instrument, to take system
Resource, and easily cause the problem of browser collapse, it is proposed that the present invention overcomes the problems referred to above or extremely to provide one kind
Secure browser detection method, device and the electronic equipment for partially solving the above problems.
According to one aspect of the present invention, there is provided a kind of safety detection method of browser, including:
The operation information of browser is obtained, judges whether the operation corresponding to the operation information meets the browser of setting
Safety detection condition;
If meeting, the information of the safety detection state of browser set in the browser is obtained;
Judge every safety detection operation of the browser that the information of the safety detection state is indicated whether in closing
State;
It is open mode by the safety detection operation setting being closed, to be used in the safety inspection of open mode
Survey operation carries out safety detection to the browser.
Alternatively, the operation information for obtaining browser, judges whether the operation corresponding to the operation information meets
The secure browser testing conditions of setting, including:
The operation information of browser is obtained, whether the current operation that browser is judged according to the operation information is initial peace
The operation of dress browser, the operation that browser is configured, the operation that browser is upgraded, net purchase operation, payment behaviour
At least one in work.
Alternatively, the operation upgraded to browser includes carrying out browser the operation of overall upgrading, or, to clear
The operation that the plug-in unit look in device is upgraded.
Alternatively, the information of the safety detection state for obtaining browser set in the browser, including:
The information of set every safety detection operation is obtained, wherein, the packet of every safety detection operation
Include:Title, position, current state and version information that safety detection is operated.
Alternatively, when the positional information in the information of safety detection operation indicates safety detection operation to depend on the
When the safety detection of tripartite's safety detection instrument is operated, the information of the safety detection operation also includes:Third party's safety detection
The information of instrument.
Alternatively, the safety detection operation of the browser that the information of the safety detection state is indicated includes:The first kind is grasped
Make and the second generic operation;First generic operation includes that network address safety detection is operated and/or file security detection operation, described the
Two generic operations include that net purchase safety detection is operated and/or safety of payment detection operation;
Wherein, the net purchase safety detection operation and/or safety of payment detection operation is carried for third party's safety detection instrument
For operation, the corresponding relation of be stored with the browser second generic operation and third party's safety detection instrument.
Alternatively, the safety detection operation of the browser for indicating when the information of the safety detection state is the second generic operation
When, it is described to include the safety detection operation setting being closed for open mode:
Judge whether third party's safety detection instrument is installed in the system that the browser is located;
If being provided with third party's safety detection instrument in the system that the browser is located, will be closed
Safety detection operation setting be open mode.
Alternatively, if being provided with third party's safety detection instrument in the system at browser place, will be in
The safety detection operation setting of closed mode includes for open mode:
If being provided with third party's safety detection instrument in the system that the browser is located, the third party is judged
Whether safety detection operation corresponding with second generic operation in safety detection instrument is in open mode;
Beat when safety detection operation corresponding with second generic operation in third party's safety detection instrument is in
Then it is open mode by the safety detection operation setting being closed during open state.
Alternatively, safety detection behaviour corresponding with second generic operation in third party's safety detection instrument is judged
Make whether to be in open mode, including:
Obtain the information of the safety detection state of third party's safety detection instrument;
According to the information of the safety detection state for obtaining, judge in third party's safety detection instrument with described the
Whether the corresponding safety detection operation of two generic operations is in open mode.
Alternatively, safety detection corresponding with second generic operation in third party's safety detection instrument is judged
Whether after open mode, methods described also includes for operation:
If safety detection operation corresponding with second generic operation in third party's safety detection instrument is in pass
Closed state, then be open mode by the safety detection operation setting in the third party's safety detection instrument being closed
Afterwards, it is open mode by the Equations of The Second Kind operation setting being closed in the browser.
According to a further aspect in the invention, there is provided a kind of safety detection device of browser, including:
Conditional judgment module, for obtaining the operation information of browser, judges that the operation corresponding to the operation information is
The no secure browser testing conditions for meeting setting;
Data obtaining module, if the secure browser detector bar for meeting setting for the operation corresponding to the operation information
Part, then obtain the information of the safety detection state of browser set in the browser;
Condition judgment module, for judging every safety detection of the browser that the information of the safety detection state is indicated
Whether operation is closed;
State setting module, the safety detection operation setting for being closed is open mode, so that use
Safety detection is carried out to the browser in the safety detection operation of open mode.
Alternatively, the conditional judgment module obtains the operation information of browser, is judged to browse according to the operation information
The current operation of device be whether browser is initially installed operation, browser is configured operation, browser is risen
At least one in operation, net purchase operation, the delivery operation of level.
Alternatively, the operation upgraded to browser includes carrying out browser the operation of overall upgrading, or, to clear
The operation that the plug-in unit look in device is upgraded.
Alternatively, described information acquisition module is in the safety detection for obtaining the browser set by the browser plug-in part
During the information of state, the information of set every safety detection operation is obtained, wherein, the letter of every safety detection operation
Breath includes:Title, position, current state and version information that safety detection is operated.
Alternatively, when the positional information in the information of safety detection operation indicates safety detection operation to depend on the
When the safety detection of tripartite's safety detection instrument is operated, the information of the safety detection operation also includes:Third party's safety detection
The information of instrument.
Alternatively, the safety detection operation of the browser that the information of the safety detection state is indicated includes:The first kind is grasped
Make and the second generic operation;First generic operation includes that network address safety detection is operated and/or file security detection operation, described the
Two generic operations include that net purchase safety detection is operated and/or safety of payment detection operation;
Wherein, the net purchase safety detection operation and/or safety of payment detection operation is carried for third party's safety detection instrument
For operation, the corresponding relation of be stored with the browser second generic operation and third party's safety detection instrument.
Alternatively, the safety detection operation of the browser for indicating when the information of the safety detection state is the second generic operation
When, the state setting module, including:
Third party's detection module, for whether being provided with third party's safety in the system for judging the browser place
Detection instrument;
State handover module, if being provided with third party's safety detection work in the system being located for the browser
Tool, then be open mode by the safety detection operation setting being closed, to be used in the safety detection of open mode
Operation carries out safety detection to the browser.
Alternatively, if being provided with third party's safety detection instrument, the shape in the system at browser place
State handover module includes:
Third party's condition judgment module, if be provided with the third party in the system being located for the browser examining safely
Whether survey instrument, then judge safety detection operation corresponding with second generic operation in third party's safety detection instrument
In open mode;
Performing module is set, for when peace corresponding with second generic operation in third party's safety detection instrument
Then it is open mode by the safety detection operation setting being closed, to use when full inspection survey operation is in open mode
Safety detection operation in open mode carries out safety detection to the browser.
Alternatively, third party's condition judgment module, including:
Third party's data obtaining module, for obtaining the letter of the safety detection state of third party's safety detection instrument
Breath;According to obtain the safety detection state information, judge in third party's safety detection instrument with the Equations of The Second Kind
Whether the corresponding safety detection operation of operation is in open mode.
Alternatively, described device also includes:
Third party's state setting module, for judging third party's safety detection in third party's condition judgment module
Whether safety detection operation corresponding with second generic operation in instrument is after open mode, if third party peace
Safety detection operation corresponding with second generic operation in full inspection survey instrument is closed, then will be closed
Third party's safety detection instrument in the safety detection operation setting be open mode after, will be in the browser
The Equations of The Second Kind operation setting of closed mode is open mode.
According to a further aspect in the invention, there is provided a kind of electronic equipment, including described any device.
In the safety detection scheme of existing browser, needs are pacified by third party's safety detection instrument to browser
Full inspection is surveyed, so safety detection result is limited by third party's safety detection instrument, for example, third party's safety detection instrument is not
A certain important safety detection function is provided, or, a certain safety detection function not enabled in third party's safety detection instrument,
So that browser risk when the Internet is accessed.And the safety detection scheme of browser of the invention, in browser
The safety detection state of browser is provided with, the information of safety detection state indicates every safety detection operation, without the need for the 3rd
Square safety detection instrument can carry out safety detection to the operation of browser itself.By the present invention, arrange each in browser
Item safety detection operation so that browser itself has safety detection function, solves the safety detection side of existing browser
Method needs the problem for carrying out safety detection operation to browser by third party's safety detection instrument, saves accounting for for system resource
With, meanwhile, safety detection is carried out to browser by the safety detection operation arranged in browser, with third party's safety detection work
Tool carries out safety detection and compares to browser, improves the stability that browser normally runs.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of description, and in order to allow the above and other objects of the present invention, feature and advantage can
Become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of the drawings
By the detailed description for reading hereafter preferred implementation, various other advantages and benefit is common for this area
Technical staff will be clear from understanding.Accompanying drawing is only used for illustrating the purpose of preferred implementation, and is not considered as to the present invention
Restriction.And in whole accompanying drawing, it is denoted by the same reference numerals identical part.In the accompanying drawings:
Fig. 1 is a kind of safety detection method flow chart of according to embodiments of the present invention one browser;
Fig. 2 is a kind of safety detection method flow chart of according to embodiments of the present invention two browser;
Fig. 3 be embodiment illustrated in fig. 2 system in when third party's safety detection instrument is installed, the safety of browser is examined
Survey the flow chart that operation is configured;
Fig. 4 is a kind of safety detection device structure chart of according to embodiments of the present invention three browser;
Fig. 5 is a kind of safety detection device structure chart of according to embodiments of the present invention four browser;
Fig. 6 be embodiment illustrated in fig. 5 safety detection device in when third party's safety detection instrument is installed, safety detection
The structure chart of the state handover module of device.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure and should not be by embodiments set forth here
Limited.On the contrary, there is provided these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure
Complete conveys to those skilled in the art.
Embodiment one
A kind of safety detection method of browser disclosed in the embodiment of the present invention is discussed in detail.
With reference to Fig. 1, a kind of safety detection method flow chart of browser of the embodiment of the present invention one is shown.
Step 100, obtains the operation information of browser, judges whether the operation corresponding to the operation information meets setting
Secure browser testing conditions.
The operation information of the browser can be to be operated the information for being produced to browser, such as:Startup is browsed
Device can produce the operation information of browser startup;Upgrading browser can produce operation information of browser upgrading etc..Correspondingly, it is clear
The corresponding operation of operation information that device of looking at starts is to start browser;The corresponding operation of operation information of browser upgrading is upgrading
Browser.
The operation information of browser is obtained, whether the current operation that browser is judged according to the operation information is initial peace
The operation of dress browser, the operation that browser is configured, the operation that browser is upgraded, net purchase operation, payment behaviour
At least one in work.
The secure browser testing conditions of i.e. described setting can be including the above-mentioned initial operation for installing browser, to browsing
At least one in operation that device is configured, operation, net purchase operation, the delivery operation upgraded to browser.
When judging that the operation corresponding to the operation information meets the secure browser testing conditions of setting, execution step
102;When judging that the operation corresponding to the operation information is unsatisfactory for the secure browser testing conditions for setting, terminate this stream
Journey.
Step 102, obtains the information of the safety detection state of browser set in the browser.
One or more safety detection functions can be provided with the browser, the safety detection function is examined by safety
Survey operation to realize, and safety detection operation includes respective safety detection operation information.It is set in the browser
The information of safety detection state of browser can be embodied by safety detection operation information.
Whether step 104, judge every safety detection operation of the browser that the information of the safety detection state is indicated
It is closed.If being closed, execution step 106;If being in open mode, terminate this flow process.
The information of the safety detection state can indicate the state of every safety detection operation of browser, wherein, bag
Include the opening and closed mode of safety detection operation.
For example, the information of certain safety detection state is 0011, and it can indicate that the state of certain safety detection operation 00 is 11.
If setting state 11 is closed mode, the safety detection operation 00 that the information 0011 of safety detection state is indicated is in closing shape
State.
Step 106, is open mode by the safety detection operation setting being closed, to be used in open mode
Safety detection operation safety detection is carried out to the browser.
Again for example, above-mentioned safety detection operation 00 is closed, and can be by 00 setting state of safety detection operation
00, the safety detection operation 00 that will be closed is set to open mode.
Safety detection operation 00 in open mode can carry out correspondingly safety detection operation to browser.
In sum, the safety detection method of browser according to embodiments of the present invention, is provided with browser in browser
Safety detection state, the information of safety detection state indicates every safety detection operation, without the need for third party's safety detection work
Tool can carry out safety detection to the operation of browser itself.By the present embodiment, every safety detection is set in browser
Operation so that browser itself has safety detection function, solve existing browser safety detection method need by
Third party's safety detection instrument carries out the problem of safety detection operation to browser, saves the occupancy of system resource, meanwhile, lead to
Cross the safety detection operation arranged in browser carries out safety detection to browser, with third party's safety detection instrument to browser
Carry out safety detection to compare, improve the stability that browser normally runs.
Embodiment two
A kind of safety detection method of browser disclosed in the embodiment of the present invention is discussed in detail.
Browser in the embodiment of the present invention may be located at mobile terminal, the i.e. embodiment of the present invention and can also be characterized as one kind
The safety detection method of the browser of mobile terminal, meanwhile, following third party's safety detection instruments are also correspondingly situated at the movement
Terminal.
In addition to positioned at mobile terminal, the technical scheme in the embodiment of the present invention can be applied in desktop terminal, the present invention
Embodiment realizes that environment is not restricted to this technical scheme.
With reference to Fig. 2, a kind of safety detection method flow chart of browser of the embodiment of the present invention two is shown.
Step 200, browser obtains the operation information of browser, judges whether the operation corresponding to the operation information is full
The secure browser testing conditions of foot setting.
The operation information of the browser can be to be operated the information for being produced to browser, such as:Startup is browsed
Device can produce the operation information of browser startup;Upgrading browser can produce operation information of browser upgrading etc..Correspondingly, it is clear
The corresponding operation of operation information that device of looking at starts is to start browser;The corresponding operation of operation information of browser upgrading is upgrading
Browser.
When judging that the operation corresponding to the operation information meets the secure browser testing conditions of setting, execution step
202;When judging that the operation corresponding to the operation information is unsatisfactory for the secure browser testing conditions for setting, terminate this stream
Journey.
Preferably, the step 200 can be:
The operation information of browser is obtained, whether the current operation that browser is judged according to the operation information is initial peace
The operation of dress browser, the operation that browser is configured, the operation that browser is upgraded, net purchase operation, payment behaviour
At least one in work.
The secure browser testing conditions of i.e. described setting can be including the above-mentioned initial operation for installing browser, to browsing
At least one in operation that device is configured, operation, net purchase operation, the delivery operation upgraded to browser.
Preferably, the operation upgraded to browser can include carrying out browser the operation of overall upgrading,
Or, the operation that the plug-in unit in browser is upgraded.
Step 202, browser obtains the information of the safety detection state of browser set in the browser.
One or more safety detection functions can be provided with the browser, the safety detection function is examined by safety
Survey operation to realize, and safety detection operation includes respective safety detection operation information.It is set in the browser
The information of safety detection state of browser can be embodied by safety detection operation information.
Preferably, the step 202 can be:
The information of set every safety detection operation is obtained, wherein, the information of every safety detection operation can
To include:Title, position, current state and version information that safety detection is operated.
For example, the entitled network address safety detection operation of certain safety detection operation, it can be to the network address of browser access
Safety detection operation is carried out, it correspond to certain plug-in unit U, plug-in unit U is stored in the installation folder C of browser, i.e. network address peace
Full inspection surveys the installation folder C of the position for browser of operation, and, the current state of network address safety detection operation is open shape
State, the state of correspondence plug-in unit U can be 00, if the current state of network address safety detection operation is closed mode, correspondence plug-in unit U's
State can be 01, and the version information of the network address safety detection operation is 002 version.
Preferably, when the positional information in the information of safety detection operation indicates safety detection operation to depend on the
When the safety detection of tripartite's safety detection instrument is operated, the information of the safety detection operation also includes:Third party's safety detection
The information of instrument.Such as, the title of third party's safety detection instrument, position, recalls information etc..
If the positional information of the safety detection operation is the path of the third party's safety detection instrument independently of browser
Information, then can determine safety detection operation to depend on the 3rd according to the positional information in the information of safety detection operation
The safety detection operation of square safety detection instrument.
Preferably, the safety detection operation of the browser that the information of the safety detection state is indicated can include:First
Generic operation and the second generic operation;First generic operation can include the operation of network address safety detection and/or file security detection behaviour
Make, second generic operation can include the operation of net purchase safety detection and/or safety of payment detection operation.
That is, the first generic operation can include the operation of network address safety detection and file security detection operation, or, first kind behaviour
It can be a kind of operation in the operation of network address safety detection and file security detection operation to make.Second generic operation can include net purchase
Safety detection is operated and safety of payment detection operation, or the second generic operation can include that net purchase safety detection operates or pay peace
A kind of operation that full inspection is surveyed in operation.
Wherein, the net purchase safety detection operation and/or safety of payment detection operation can be third party's safety detection work
The operation that tool is provided, be stored with second generic operation and the corresponding relation of third party's safety detection instrument in the browser.
That is, described net purchase safety detection operation and safety of payment detection operation can be provided for third party's safety detection instrument
Operation, or, a kind of operation in net purchase safety detection operation or safety of payment detection operation can be pacified for third party
Full inspection surveys the operation that instrument is provided.
Step 204, browser judges every safety detection behaviour of the browser that the information of the safety detection state is indicated
Whether it is closed.If being closed, execution step 206;If being in open mode, terminate this flow process.
The information of the safety detection state can indicate the state of every safety detection operation of browser, wherein, bag
Include the opening and closed mode of safety detection operation.
For example, the information of certain safety detection state is 0011, and it can indicate that the state that network address safety detection is operated is pass
Closed state.
The safety detection operation setting being closed is open mode by step 206, browser, to be used in beating
The safety detection operation of open state carries out safety detection to the browser.
Preferably, the safety detection operation of the browser for indicating when the information of the safety detection state is the second generic operation
When, in the step 206 by the safety detection operation setting being closed be open mode, can include step 61 and step
Rapid 62:
Step 61, judges whether be provided with third party's safety detection instrument in the system that the browser is located.If
Have, then execution step 62;If nothing, can point out according to actual needs to install or download installation third party's safety detection
Instrument.
For example, the safety detection operation of the browser that the information of the safety detection state is indicated is net purchase safety detection behaviour
When making, judge whether third party safety detection instrument security guard is installed in the system that browser is located.
Step 62, if being provided with third party's safety detection instrument in the system at browser place, will be in
The safety detection operation setting of closed mode is open mode.
Again for example, if being provided with third party's safety detection instrument security guard in the system at browser place,
It is then open mode by the net purchase safety detection operation setting being closed.
Preferably, the step 62 can also include step, as shown in Figure 3:
Step 621, if being provided with third party's safety detection instrument in the system at browser place, judges institute
Safety detection operation corresponding with second generic operation in third party's safety detection instrument is stated whether in open mode.If
In open mode, then execution step 622;If being closed, execution step 623.
For example, the net purchase compensation operation in the security guard is corresponding with the operation of net purchase safety detection, then judge described
Net purchase compensates whether operation is in open mode.
Preferably, in the step 621, judge relative with second generic operation in third party's safety detection instrument
Whether the safety detection operation answered can include in open mode:
Step 6211, obtains the information of the safety detection state of third party's safety detection instrument.
For example, the information of the safety detection state of the security guard is obtained, every safety in security guard can be included
The information of the state of detection operation.
Step 6212, according to the information of the safety detection state for obtaining, judges third party's safety detection instrument
In corresponding with second generic operation safety detection operation whether be in open mode.
The information of the safety detection state of the security guard can indicate that every safety detection operation is in security guard
It is no in open mode.For example, the information of the safety detection state of the security guard is 10101000, and it can indicate safety
Net purchase in bodyguard is compensated operation and is in open mode.
Step 622, when safety detection corresponding with second generic operation in third party's safety detection instrument is grasped
Then it is open mode by the safety detection operation setting being closed when making to be in open mode.
If the net purchase in the security guard is compensated operation and is in open mode, can be by the net purchase being closed
Safety detection operation setting is open mode.
Preferably, after the step 621, also comprise the following steps:
Step 623, if safety detection behaviour corresponding with second generic operation in third party's safety detection instrument
It is closed, then is by the safety detection operation setting in the third party's safety detection instrument being closed
It is open mode by the Equations of The Second Kind operation setting being closed in the browser after open mode.
For example, it is closed if operation is compensated in the net purchase in security guard, net purchase can be compensated operation setting
After for open mode, then it is open mode by net purchase safety detection operation setting.
In sum, the safety detection method of browser according to embodiments of the present invention, is provided with browser in browser
Safety detection state, the information of safety detection state indicates every safety detection operation, without the need for third party's safety detection work
Tool can carry out safety detection to the operation of browser itself.By the present embodiment, every safety detection is set in browser
Operation so that browser itself has safety detection function, solve existing browser safety detection method need by
Third party's safety detection instrument carries out the problem of safety detection operation to browser, saves the occupancy of system resource, meanwhile, lead to
Cross the safety detection operation arranged in browser carries out safety detection to browser, with third party's safety detection instrument to browser
Carry out safety detection to compare, improve the stability that browser normally runs.
Embodiment three
A kind of safety detection device of browser disclosed in the embodiment of the present invention is discussed in detail.
With reference to Fig. 4, a kind of safety detection device structure chart of browser of the embodiment of the present invention three is shown.
Described device can include:Conditional judgment module 300, data obtaining module 302, condition judgment module 304, with
And, state setting module 306.
The relation between the function of each module and each module is discussed in detail separately below.
Conditional judgment module 300, for obtaining the operation information of browser, judges the operation corresponding to the operation information
Whether secure browser testing conditions of satisfaction setting.
Data obtaining module 302, if the secure browser inspection for meeting setting for the operation corresponding to the operation information
Survey condition, then obtain the information of the safety detection state of browser set in the browser.
Condition judgment module 304, for judging the items safety of the browser that the information of the safety detection state is indicated
Whether detection operation is closed.
State setting module 306, the safety detection operation setting for being closed is open mode, to use
Safety detection operation in open mode carries out safety detection to the browser.
In sum, the safety detection method of browser according to embodiments of the present invention, is provided with browser in browser
Safety detection state, the information of safety detection state indicates every safety detection operation, without the need for third party's safety detection work
Tool can carry out safety detection to the operation of browser itself.By the present embodiment, every safety detection is set in browser
Operation so that browser itself has safety detection function, solve existing browser safety detection method need by
Third party's safety detection instrument carries out the problem of safety detection operation to browser, saves the occupancy of system resource, meanwhile, lead to
Cross the safety detection operation arranged in browser carries out safety detection to browser, with third party's safety detection instrument to browser
Carry out safety detection to compare, improve the stability that browser normally runs.
Example IV
A kind of safety detection device of browser disclosed in the embodiment of the present invention is discussed in detail.
With reference to Fig. 5, a kind of safety detection device structure chart of browser of the embodiment of the present invention four is shown.
Described device can include:Conditional judgment module 400, data obtaining module 402, condition judgment module 404, state
Setup module 406, and, third party's state setting module 408.
Wherein, the state setting module 406 can include:
Third party's detection module 61, state handover module 62.Wherein, the state handover module 62 can include:
Third party's condition judgment module 621, arranges performing module 622.Wherein, third party's condition judgment module 621
Can include:Third party's data obtaining module 6211.
The relation between the function of each module and each module is discussed in detail separately below.
Conditional judgment module 400, for obtaining the operation information of browser, judges the operation corresponding to the operation information
Whether secure browser testing conditions of satisfaction setting.
Preferably, the conditional judgment module 400 obtains the operation information of browser, judges clear according to the operation information
Look at device current operation be whether browser is initially installed operation, browser is configured operation, browser is carried out
At least one in operation, net purchase operation, the delivery operation of upgrading.
Wherein, the operation upgraded to browser can include carrying out browser the operation of overall upgrading, or, it is right
The operation that plug-in unit in browser is upgraded.
Data obtaining module 402, if the secure browser inspection for meeting setting for the operation corresponding to the operation information
Survey condition, then obtain the information of the safety detection state of browser set in the browser.
Preferably, described information acquisition module 402 is in the safety for obtaining the browser set by the browser plug-in part
During the information of detection state, the information of set every safety detection operation can be obtained, wherein, every safety detection
The information of operation includes:Title, position, current state and version information that safety detection is operated.
Wherein, when the positional information in the information of safety detection operation indicates safety detection operation to depend on the 3rd
When the safety detection of square safety detection instrument is operated, the information of the safety detection operation also includes:Third party's safety detection work
The information of tool.
Preferably, the safety detection operation of the browser that the information of the safety detection state is indicated includes:The first kind is grasped
Make and the second generic operation;First generic operation includes that network address safety detection is operated and/or file security detection operation, described the
Two generic operations include that net purchase safety detection is operated and/or safety of payment detection operation.
That is, the first generic operation can include the operation of network address safety detection and file security detection operation, or, first kind behaviour
It can be a kind of operation in the operation of network address safety detection and file security detection operation to make.Second generic operation can include net purchase
Safety detection is operated and safety of payment detection operation, or the second generic operation can include that net purchase safety detection operates or pay peace
A kind of operation that full inspection is surveyed in operation.
Wherein, the net purchase safety detection operation and/or safety of payment detection operation is carried for third party's safety detection instrument
For operation, the corresponding relation of be stored with the browser second generic operation and third party's safety detection instrument.
That is, described net purchase safety detection operation and safety of payment detection operation can be provided for third party's safety detection instrument
Operation, or, a kind of operation in net purchase safety detection operation or safety of payment detection operation can be pacified for third party
Full inspection surveys the operation that instrument is provided.
Condition judgment module 404, for judging the items safety of the browser that the information of the safety detection state is indicated
Whether detection operation is closed.
State setting module 406, the safety detection operation setting for being closed is open mode, to use
Safety detection operation in open mode carries out safety detection to the browser.
Preferably, the safety detection operation of the browser for indicating when the information of the safety detection state is the second generic operation
When, the state setting module 406 can include following modules:
Third party's detection module 61, for whether being provided with third party's peace in the system for judging the browser place
Full inspection surveys instrument.
State handover module 62, if being provided with third party's safety detection work in the system being located for the browser
Tool, then be open mode by the safety detection operation setting being closed, to be used in the safety detection of open mode
Operation carries out safety detection to the browser.
Preferably, if being provided with third party's safety detection instrument, the shape in the system at browser place
State handover module 62 can be with following modules, as shown in Figure 6:
Third party's condition judgment module 621, if being provided with third party's peace in the system being located for the browser
Full inspection surveys instrument, then judge safety detection operation corresponding with second generic operation in third party's safety detection instrument
Whether open mode is in.
Preferably, third party's condition judgment module 621, can include:
Third party's data obtaining module 6211, for obtaining the safety detection state of third party's safety detection instrument
Information;According to the information of the safety detection state for obtaining, judge in third party's safety detection instrument with described second
Whether the corresponding safety detection operation of generic operation is in open mode.
Performing module 622 is set, for when corresponding with second generic operation in third party's safety detection instrument
Safety detection operation in open mode when, then by the safety detection operation setting being closed be open mode, with
Be used in the safety detection operation of open mode carries out safety detection to the browser.
Third party's state setting module 408, for judging third party's peace in third party's condition judgment module 621
Corresponding with second generic operation in full inspection survey instrument safety detection operation whether after open mode, if described the
Safety detection operation corresponding with second generic operation in tripartite's safety detection instrument is closed, then will be in pass
The safety detection operation setting in third party's safety detection instrument of closed state is after open mode, by the browser
In the Equations of The Second Kind operation setting that is closed be open mode.
Additionally, the embodiment of the present invention additionally provides a kind of electronic equipment, above-described embodiment three is provided with the electronic equipment
In browser safety detection device, or, be provided with the electronic equipment in above-described embodiment four to the dress of embodiment three
Putting has carried out one or more after various optimizations optimization safety detection device.The electronic equipment is used to realize that preceding method is implemented
The safety detection method of the browser in example, and with the beneficial effect of corresponding embodiment of the method, will not be described here.
In sum, the safety detection method of browser according to embodiments of the present invention, is provided with browser in browser
Safety detection state, the information of safety detection state indicates every safety detection operation, without the need for third party's safety detection work
Tool can carry out safety detection to the operation of browser itself.By the embodiment of the present invention, every safety is set in browser
Detection operation so that browser itself has safety detection function, solves the safety detection method needs of existing browser
The problem of safety detection operation is carried out to browser by third party's safety detection instrument, the occupancy of system resource is saved, together
When, safety detection is carried out to browser by the safety detection operation arranged in browser, with third party's safety detection instrument pair
Browser carries out safety detection and compares, and improves the stability that browser normally runs.
Provided herein the safety detection scheme of browser not with any certain computer, virtual system or miscellaneous equipment
It is intrinsic related.Various general-purpose systems can also be used together based on teaching in this.As described above, construction has this
Structure required by the system of scheme of the invention is obvious.Additionally, the present invention is also not for any certain programmed language.Should
When clear, it is possible to use various programming languages realize the content of invention described herein, and language-specific is done above
Description be in order to disclose the present invention preferred forms.
In description mentioned herein, a large amount of details are illustrated.It is to be appreciated, however, that the enforcement of the present invention
Example can be put into practice in the case of without these details.In some instances, known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help understand one or more in each inventive aspect, exist
Above in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together into single enforcement sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor
The more features of feature that the application claims ratio of shield is expressly recited in each claim.More precisely, such as right
As claim reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool
Thus claims of body embodiment are expressly incorporated in the specific embodiment, wherein each claim conduct itself
The separate embodiments of the present invention.
Those skilled in the art are appreciated that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment
Unit or component are combined into a module or unit or component, and can be divided in addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit is excluded each other, can adopt any
Combine to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Profit is required, summary and accompanying drawing) disclosed in each feature can it is identical by offers, be equal to or the alternative features of similar purpose carry out generation
Replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments
In included some features rather than further 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 detail in the claims, embodiment required for protection one of arbitrarily
Can in any combination mode using.
The present invention all parts embodiment can be realized with hardware, or with one or more processor operation
Software module realize, or with combinations thereof realization.It will be understood by those of skill in the art that can use in practice
Microprocessor or digital signal processor (DSP) are come in the safety detection scheme for realizing browser according to embodiments of the present invention
Some or all parts some or all functions.The present invention is also implemented as performing side as described herein
Some or all equipment of method or program of device (for example, computer program and computer program).It is such
Realizing the program of the present invention can store on a computer-readable medium, or can have the shape of one or more signal
Formula.Such signal can be downloaded from internet website and obtained, or be provided on carrier signal, or with any other shape
Formula is provided.
It should be noted that above-described embodiment the present invention will be described rather than limits the invention, and ability
Field technique personnel can design without departing from the scope of the appended claims alternative embodiment.In the claims,
Any reference markss between bracket should not be configured to limitations on claims.Word "comprising" is not excluded the presence of not
Element listed in the claims or step.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can come real by means of the hardware for including some different elements and by means of properly programmed computer
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 be run after fame
Claim.
The embodiment of the invention discloses A1, a kind of safety detection method of browser, including:
The operation information of browser is obtained, judges whether the operation corresponding to the operation information meets the browser of setting
Safety detection condition;
If meeting, the information of the safety detection state of browser set in the browser is obtained;
Judge every safety detection operation of the browser that the information of the safety detection state is indicated whether in closing
State;
It is open mode by the safety detection operation setting being closed, to be used in the safety inspection of open mode
Survey operation carries out safety detection to the browser.
A2, the method according to A1, wherein, the operation information for obtaining browser judges the operation information institute
It is corresponding to operate the secure browser testing conditions for whether meeting setting, including:
The operation information of browser is obtained, whether the current operation that browser is judged according to the operation information is initial peace
The operation of dress browser, the operation that browser is configured, the operation that browser is upgraded, net purchase operation, payment behaviour
At least one in work.
A3, the method according to A2, wherein, the operation upgraded to browser includes carrying out overall liter to browser
The operation of level, or, the operation that the plug-in unit in browser is upgraded.
A4, the method according to A1, wherein, the safety detection for obtaining browser set in the browser
The information of state, including:
The information of set every safety detection operation is obtained, wherein, the packet of every safety detection operation
Include:Title, position, current state and version information that safety detection is operated.
A5, the method according to A4, wherein, when the positional information in the information of safety detection operation indicates safety
When detection operation is the safety detection operation for depending on third party's safety detection instrument, the information of the safety detection operation is also wrapped
Include:The information of third party's safety detection instrument.
A6, the method according to A1 to A5 is arbitrary, wherein, the browser of the information instruction of the safety detection state
Safety detection operation includes:First generic operation and the second generic operation;First generic operation include network address safety detection operation and/
Or file security detection operation, second generic operation is operated including net purchase safety detection and/or safety of payment detects operation;
Wherein, the net purchase safety detection operation and/or safety of payment detection operation is carried for third party's safety detection instrument
For operation, the corresponding relation of be stored with the browser second generic operation and third party's safety detection instrument.
A7, the method according to A6, wherein, when the safety inspection of the browser that the information of the safety detection state is indicated
It is described to include the safety detection operation setting being closed for open mode when survey operation is the second generic operation:
Judge whether third party's safety detection instrument is installed in the system that the browser is located;
If being provided with third party's safety detection instrument in the system that the browser is located, will be closed
Safety detection operation setting be open mode.
A8, the method according to A7, wherein, if being provided with third party's safety in the system at browser place
Detection instrument, then include the safety detection operation setting being closed for open mode:
If being provided with third party's safety detection instrument in the system that the browser is located, the third party is judged
Whether safety detection operation corresponding with second generic operation in safety detection instrument is in open mode;
Beat when safety detection operation corresponding with second generic operation in third party's safety detection instrument is in
Then it is open mode by the safety detection operation setting being closed during open state.
A9, the method according to A8, wherein, judge in third party's safety detection instrument with second generic operation
Whether corresponding safety detection operation is in open mode, including:
Obtain the information of the safety detection state of third party's safety detection instrument;
According to the information of the safety detection state for obtaining, judge in third party's safety detection instrument with described the
Whether the corresponding safety detection operation of two generic operations is in open mode.
A10, the method according to A9, wherein, with the Equations of The Second Kind in third party's safety detection instrument is judged
Whether after open mode, methods described also includes the corresponding safety detection operation of operation:
If safety detection operation corresponding with second generic operation in third party's safety detection instrument is in pass
Closed state, then be open mode by the safety detection operation setting in the third party's safety detection instrument being closed
Afterwards, it is open mode by the Equations of The Second Kind operation setting being closed in the browser.
The embodiment of the invention also discloses B11, a kind of safety detection device of browser, including:
Conditional judgment module, for obtaining the operation information of browser, judges that the operation corresponding to the operation information is
The no secure browser testing conditions for meeting setting;
Data obtaining module, if the secure browser detector bar for meeting setting for the operation corresponding to the operation information
Part, then obtain the information of the safety detection state of browser set in the browser;
Condition judgment module, for judging every safety detection of the browser that the information of the safety detection state is indicated
Whether operation is closed;
State setting module, the safety detection operation setting for being closed is open mode, so that use
Safety detection is carried out to the browser in the safety detection operation of open mode.
B12, the device according to B11, wherein, the conditional judgment module obtains the operation information of browser, according to
The operation information judges whether the current operation of browser is initially to install the operation of browser, browser is configured
At least one in operation, operation, net purchase operation, the delivery operation upgraded to browser.
B13, the device according to B12, wherein, the operation upgraded to browser includes carrying out entirety to browser
The operation of upgrading, or, the operation that the plug-in unit in browser is upgraded.
B14, the device according to B11, wherein, described information acquisition module is being obtained set by the browser plug-in part
During the information of the safety detection state of the browser put, the information of set every safety detection operation is obtained, wherein, it is described
The information of every safety detection operation includes:Title, position, current state and version information that safety detection is operated.
B15, the device according to B14, wherein, when the positional information in the information of safety detection operation indicates peace
When the safety detection that full inspection surveys operation to depend on third party's safety detection instrument is operated, the information of the safety detection operation is also
Including:The information of third party's safety detection instrument.
B16, according to the arbitrary described devices of B11 to B14, wherein, what the information of the safety detection state was indicated browses
The safety detection operation of device includes:First generic operation and the second generic operation;First generic operation is grasped including network address safety detection
Make and/or file security detection operation, second generic operation includes that net purchase safety detection is operated and/or safety of payment detection behaviour
Make;
Wherein, the net purchase safety detection operation and/or safety of payment detection operation is carried for third party's safety detection instrument
For operation, the corresponding relation of be stored with the browser second generic operation and third party's safety detection instrument.
B17, the device according to B16, wherein, when the safety of the browser that the information of the safety detection state is indicated
When detection operation is the second generic operation, the state setting module, including:
Third party's detection module, for whether being provided with third party's safety in the system for judging the browser place
Detection instrument;
State handover module, if being provided with third party's safety detection work in the system being located for the browser
Tool, then be open mode by the safety detection operation setting being closed, to be used in the safety detection of open mode
Operation carries out safety detection to the browser.
B18, the device according to B17, wherein, if being provided with third party's peace in the system at browser place
Full inspection surveys instrument, then the state handover module includes:
Third party's condition judgment module, if be provided with the third party in the system being located for the browser examining safely
Whether survey instrument, then judge safety detection operation corresponding with second generic operation in third party's safety detection instrument
In open mode;
Performing module is set, for when peace corresponding with second generic operation in third party's safety detection instrument
Then it is open mode by the safety detection operation setting being closed, to use when full inspection survey operation is in open mode
Safety detection operation in open mode carries out safety detection to the browser.
B19, the device according to B18, wherein, third party's condition judgment module, including:
Third party's data obtaining module, for obtaining the letter of the safety detection state of third party's safety detection instrument
Breath;According to obtain the safety detection state information, judge in third party's safety detection instrument with the Equations of The Second Kind
Whether the corresponding safety detection operation of operation is in open mode.
B20, the device according to B19, wherein, described device also includes:
Third party's state setting module, for judging third party's safety detection in third party's condition judgment module
Whether safety detection operation corresponding with second generic operation in instrument is after open mode, if third party peace
Safety detection operation corresponding with second generic operation in full inspection survey instrument is closed, then will be closed
Third party's safety detection instrument in the safety detection operation setting be open mode after, will be in the browser
The Equations of The Second Kind operation setting of closed mode is open mode.
The embodiment of the invention also discloses C21, a kind of electronic equipment, including any device described in B11 to B20.