CN103019872A - Method and device for repairing browser - Google Patents

Method and device for repairing browser Download PDF

Info

Publication number
CN103019872A
CN103019872A CN2012103909479A CN201210390947A CN103019872A CN 103019872 A CN103019872 A CN 103019872A CN 2012103909479 A CN2012103909479 A CN 2012103909479A CN 201210390947 A CN201210390947 A CN 201210390947A CN 103019872 A CN103019872 A CN 103019872A
Authority
CN
China
Prior art keywords
browser
plug
scanning
webpage
calling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012103909479A
Other languages
Chinese (zh)
Other versions
CN103019872B (en
Inventor
赵龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qizhi Business Consulting Co ltd
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201210390947.9A priority Critical patent/CN103019872B/en
Publication of CN103019872A publication Critical patent/CN103019872A/en
Application granted granted Critical
Publication of CN103019872B publication Critical patent/CN103019872B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method and a device for repairing a browser. The device comprises a determining module, a failure judging module and a repairing module, wherein the determining module is suitable for determining that the browser cannot normally open a webpage; the failure judging module is suitable for calling a scanning plug-in allocated in the browser or the scanning plug-in allocated in a virus killing tool to scan abnormity of the webpage by calling an interface, so as to judge whether the reason that the webpage cannot be normally opened is the failure of the plug-in of the browser or not; the repairing module is suitable for repairing the plug-in of the browser when the judging result of the failure judging module is yes; and the determining module is also suitable for determining whether the other network client applications except the browser are normally used or not before the failure judging module scans the abnormity of the webpage. By the method and the device, the problem of the webpage opening abnormity caused by reasons except viruses can be effectively solved, and manual operation of a user is not required, so that the searching identification efficiency of webpage abnormity reasons is improved, and the using experience of the user is also improved.

Description

Browser repairing method and device
Technical Field
The invention relates to the technical field of computers, in particular to a browser repairing method and device.
Background
A web browser is software that displays files on a web server or archive system and allows a user to interact with the files. It is used to display text, images and other information in the world wide web or local area network. Through the web browser, the user can browse various information quickly and easily.
However, in the process of browsing web pages by using a web browser, sometimes a web page may not be opened, which may cause a user to be unable to browse information on the internet, but client software tools such as QQ and MSN may be able to surf the internet. This may be a virus, but it is more likely that the browser may not open the web page due to a DNS (Domain Name System) configuration problem, or a browser component or IE component failure, or some plug-in failure of the browser, or an invalid proxy setting of the browser, etc. There are various reasons why web pages cannot be opened, especially when they are not caused by viruses, and even the current antivirus or scanning tools cannot solve such problems.
Therefore, how to discriminate the abnormal reasons of the webpage which can not be opened, especially the non-virus reasons, and further process the abnormal reasons in time becomes a problem to be solved at present.
Disclosure of Invention
In view of the above-mentioned problem that the conventional method and apparatus for repairing a browser cannot effectively identify and timely process the abnormal reasons of a web page that cannot be opened, especially the non-virus reasons, the present invention is proposed to overcome the above-mentioned problems or at least partially solve the above-mentioned problems.
According to an aspect of the present invention, there is provided a browser repairing method, including: determining that a browser cannot normally open a webpage; calling a scanning plug-in arranged in a browser or a scanning plug-in arranged in a virus searching and killing tool through a calling interface to carry out webpage abnormal scanning, and judging whether the reason causing the webpage to be opened normally is the plug-in fault of the browser or not; if so, performing plug-in repair on the browser; before the step of calling the scanning plug-in set in the browser or the scanning plug-in set in the virus killing tool through the calling interface to perform webpage exception scanning, determining that other network client applications except the browser are normally used.
Optionally, the browser repairing method further includes: and if the reason causing the webpage to be incapable of being normally opened is judged not to be the plug-in fault of the browser, performing system repair on the browser according to the reason.
Optionally, the step of calling a scanning plug-in set in the browser or a scanning plug-in set in a virus searching and killing tool through a calling interface to perform abnormal scanning on the web page, and determining whether the cause of the abnormal opening of the web page is a plug-in fault of the browser includes: calling a scanning plug-in arranged in a browser or a scanning plug-in arranged in a virus searching and killing tool through a calling interface; calling a browser process to open a set webpage through a scanning plug-in, and judging whether the set webpage can be normally opened or not; if the webpage cannot be normally opened and the network connection is normal, judging whether the set webpage can be opened by using a plug-in mode without loading; if the set webpage can be opened in a plug-in-free mode, determining that the reason causing the webpage to be incapable of being opened normally is plug-in faults of the browser; otherwise, determining that the reason for the webpage being unable to be opened normally is not the plug-in failure of the browser.
Optionally, the step of calling a scanning plug-in set in the browser through a calling interface to perform abnormal web page scanning includes: the browser directly calls the loaded scanning plug-in unit to carry out webpage exception scanning through a calling interface; or, the step of calling a scanning plug-in arranged in the virus searching and killing tool to perform webpage exception scanning by calling the interface comprises the following steps: the browser calls a scanning plug-in the virus searching and killing tool to perform webpage exception scanning through a calling interface; or the browser provides a prompt for the user to use the scanning plug-in the virus searching and killing tool to perform webpage exception scanning, and calls the scanning plug-in the virus searching and killing tool to perform webpage exception scanning through the calling interface after receiving the positive information returned by the user.
According to another aspect of the present invention, there is provided a browser repairing apparatus including: the determining module is suitable for determining that the browser cannot normally open the webpage; the fault judgment module is suitable for calling a scanning plug-in arranged in a browser or a scanning plug-in arranged in a virus searching and killing tool through a calling interface to carry out abnormal scanning on the webpage and judging whether the reason causing the webpage to be incapable of being normally opened is the plug-in fault of the browser; the repairing module is suitable for repairing the plug-in of the browser if the judgment result of the fault judging module is positive; the determining module is further adapted to determine that other network client applications except the browser are normally used before the fault judging module calls a scanning plug-in set in the browser or a scanning plug-in set in a virus searching and killing tool to perform abnormal scanning on a webpage through a calling interface.
Optionally, the repairing module is further adapted to perform system repair on the browser for the reason if the failure determining module determines that the reason causing the webpage to be opened normally is not a plug-in failure of the browser.
Optionally, the fault judgment module is adapted to call a scanning plug-in set in a browser or a scanning plug-in set in a virus searching and killing tool through a call interface; calling a browser process to open a set webpage through a scanning plug-in, and judging whether the set webpage can be normally opened or not; if the webpage cannot be normally opened and the network connection is normal, judging whether the set webpage can be opened by using a plug-in mode without loading; if the set webpage can be opened in a plug-in-free mode, determining that the reason causing the webpage to be incapable of being opened normally is plug-in faults of the browser; otherwise, determining that the reason for the webpage being unable to be opened normally is not the plug-in failure of the browser.
Optionally, when the fault judgment module calls a scanning plug-in set in the browser through the calling interface to perform abnormal web page scanning, the browser directly calls the loaded scanning plug-in of the browser through the calling interface to perform abnormal web page scanning; when the fault judgment module calls a scanning plug-in unit arranged in the virus searching and killing tool through the calling interface to perform webpage exception scanning, the browser calls the scanning plug-in unit in the virus searching and killing tool through the calling interface to perform webpage exception scanning; or the browser provides a prompt for the user to use the scanning plug-in the virus searching and killing tool to perform webpage exception scanning, and calls the scanning plug-in the virus searching and killing tool to perform webpage exception scanning through the calling interface after receiving the positive information returned by the user.
According to the browser repairing scheme, when the browser cannot normally open the webpage, whether the reason causing the webpage to be normally opened is a plug-in fault is determined by calling a scanning plug-in arranged in the browser or calling a scanning plug-in a virus checking and killing tool outside the browser, and if the reason is the plug-in fault, corresponding plug-in repairing is carried out. Compared with the prior art, when the webpage cannot be normally opened, the virus searching and killing tool can only be manually used for searching and killing the virus, and the existing scheme that the webpage cannot be opened cannot be solved by means of virus searching and killing, so that the problem of webpage opening abnormity caused by non-virus reasons can be effectively solved, manual operation of a user is not needed, the efficiency of searching and identifying the webpage abnormity reasons is improved, and the user experience is also improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating steps of a browser repairing method according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of a browser repairing method according to a second embodiment of the present invention;
FIG. 3 is a flowchart illustrating steps of a method for repairing a browser according to a third embodiment of the present invention;
fig. 4 is a block diagram of a browser recovery apparatus according to a fourth embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example one
Referring to fig. 1, a flowchart illustrating steps of a browser repairing method according to a first embodiment of the present invention is shown.
The browser repairing method of the embodiment comprises the following steps:
step S102: and determining that the browser cannot normally open the webpage.
Step S104: calling a scanning plug-in arranged in a browser or a scanning plug-in arranged in a virus searching and killing tool through a calling interface to carry out webpage abnormal scanning, judging whether the reason causing the webpage to be incapable of being normally opened is the plug-in fault of the browser or not, and if yes, executing the step S106; if not, go to step S108.
The scanning plug-in is used for webpage exception scanning of non-virus reasons, wherein the scanning plug-in is used for scanning the browser plug-in to determine whether the browser plug-in is a fault functional module or unit. The browser or the virus searching and killing tool in the related technology is not provided with such plug-ins, so that the webpage abnormity caused by non-virus reasons, especially the webpage abnormity caused by the fault reason of the browser plug-in, cannot be checked and processed.
Step S106: and determining that the reason causing the webpage to be incapable of being opened normally is the plug-in fault of the browser, repairing the plug-in of the browser, and ending the processing flow.
For example, when the browser has too many plug-ins, which may cause the browser to be abnormal, the plug-in modification of the browser mainly includes cleaning up the plug-ins of the browser.
Step S108: and determining that the reason causing the webpage to be incapable of being opened normally is not the plug-in fault of the browser, performing abnormal scanning on other webpages, determining the reason of the webpage abnormality, performing corresponding processing, and ending the processing flow.
For example, the reason why the web page cannot be opened normally may also be an HTTP protocol configuration problem, or an IE cache file problem, or other problems, and corresponding processing may be performed.
According to the browser repairing scheme, when the browser cannot normally open the webpage, whether the reason causing the webpage to be normally opened is a plug-in fault is determined by calling the scanning plug-in arranged in the browser or calling the scanning plug-in a virus checking and killing tool outside the browser, and if the reason is the plug-in fault, corresponding plug-in repairing is carried out. Compared with the prior art, when the webpage cannot be normally opened, the virus searching and killing tool can only be manually used for searching and killing the virus, and the existing scheme that the webpage cannot be opened cannot be solved by means of virus searching and killing, so that the problem of webpage opening abnormity caused by non-virus reasons can be effectively solved, manual operation of a user is not needed, the efficiency of searching and identifying the webpage abnormity reasons is improved, and the user experience is also improved.
Example two
Referring to fig. 2, a flowchart illustrating steps of a browser repairing method according to a second embodiment of the present invention is shown.
The browser repairing method of the embodiment comprises the following steps:
step S202: the browser determines that the web page cannot be opened normally.
Step S204: the browser determines that the other web client application is in normal use.
That is, other web client applications than the browser can normally use the web to perform corresponding functions.
The browser can simulate and call other network clients in the background, and then the network clients can be normally used; or the browser calls brief functions of other network clients in the background to determine whether the network clients can be normally used; or, the user operates other network clients and reports the operation result to the browser, or the browser obtains the operation results of other network clients in a proper mode and determines whether the network clients can be normally used. But not limited thereto, in practical use, those skilled in the art may adopt any appropriate manner to enable the browser to know whether other network clients can be normally used, and the present invention is not limited thereto.
In addition, the step is optional, and in practical application, the step can be skipped, and when the webpage cannot be normally opened, the scanning plug-in is called to carry out webpage abnormal scanning. But whether the network connection has a fault can be determined firstly by using the steps, then the subsequent processing is carried out, if the network connection has the fault, the network connection is directly repaired, and by adopting the method, the abnormal scanning efficiency of the webpage can be improved, and the fault checking and processing speed can be improved.
Step S206: and the browser calls the scanning plug-in arranged in the browser or the scanning plug-in arranged in the virus searching and killing tool through the calling interface.
Preferably, when the browser is provided with the scanning plug-in, the scanning plug-in may be loaded and run together with the running of the browser, and then the browser may directly call the loaded scanning plug-in itself through the call interface to perform the web page exception scanning. The scanning plug-in is arranged in the browser, so that the calling is convenient, and the abnormal scanning speed and efficiency of the webpage are improved.
Preferably, when the virus searching and killing tool is provided with the scanning plug-in, the browser can call the scanning plug-in the virus searching and killing tool to perform webpage exception scanning by calling the interface; or the browser provides a prompt for the user to use the scanning plug-in the virus searching and killing tool to perform webpage exception scanning, and calls the scanning plug-in the virus searching and killing tool to perform webpage exception scanning through a calling interface after receiving the positive information returned by the user. The scanning plug-in is arranged in the virus checking and killing tool, so that the operation burden of a browser is reduced, and in practical application, the scanning plug-in can be combined with other virus checking and killing functions of the virus checking and killing tool for use, so that the abnormal reasons of the webpage can be comprehensively screened.
Step S208: a scanning plug-in the browser or the virus searching and killing tool calls a browser process to open a set webpage, whether the set webpage can be normally opened is judged, and if the set webpage cannot be normally opened, the step S210 is executed; and if the webpage can be normally opened, returning to the browser to retry opening the webpage.
According to the method, a webpage address can be selected as a webpage address of a set webpage when needed according to certain rules, such as random selection rules, sequential selection rules and the like, and the webpage address is connected to try to open a corresponding webpage, so that whether the webpage can be normally opened or not is judged.
Step S210: if the set webpage cannot be normally opened by the scanning plug-in and the network connection is determined to be normal, the set webpage is opened by using a no-loading plug-in mode, whether the set webpage can be opened by using the no-loading plug-in mode or not is judged, if yes, the reason that the webpage cannot be normally opened is determined to be the plug-in fault of the browser, and step S212 is executed; if not, it is determined that the reason for the failure of the normal opening of the web page is not the failure of the plug-in of the browser, and step S214 is executed.
Step S212: and scanning the plug-in unit to determine that the reason for the abnormal opening of the webpage is the plug-in unit fault of the browser, repairing the plug-in unit of the browser, and ending the process.
Step S214: the browser further determines the reason why the webpage cannot be normally opened by using other tools, and performs system repair on the browser according to the determined reason to finish the process.
For example, repairing the IE system may include repairing registry settings associated with the IE, and/or re-registering components of the IE, and so forth.
It should be noted that, in the present embodiment, a separate scanning plug-in is taken as an example to perform the web page exception scanning, but it should be understood by those skilled in the art that, in practical applications, the scanning plug-in may be used in combination with other tools, for example, a network connection checking tool, a virus scanning tool, and the like. For example, a network connection check tool may be used to perform network connection detection; if the network connection is determined to be normal, screening the browser plug-in faults by using the scanning plug-in; and if the browser plug-in has no fault, then using a virus scanning tool to scan viruses and the like. Of course, without limitation, one skilled in the art may combine the various tools in any suitable manner according to actual needs.
Through this embodiment, can carry out comprehensive screening and processing to the unable reason of normally opening the webpage of browser, can effectively solve the webpage and open unusual problem, improve the unusual reason of webpage and seek recognition efficiency, promote user and use experience.
EXAMPLE III
Referring to fig. 3, a flowchart illustrating steps of a browser repairing method according to a third embodiment of the present invention is shown.
In this embodiment, a browser calls 360 a scanning plug-in antivirus software to perform browser plug-in fault scanning, which is taken as an example to describe the browser repair of the present invention.
The browser repairing method of the embodiment comprises the following steps:
step S302: a scanning plug-in is set in 360 the antivirus software.
In this embodiment, the scanning plug-in for scanning the browser plug-in fault is in the form of a dynamic link library DLL.
When the antivirus software is installed, a directory is preset, the directory comprises all DLL of the scanning plug-ins in the antivirus software, and the written DLL of the scanning plug-ins for scanning the faults of the browser plug-ins is put into the directory. On one hand, a DLL of a scanning plug-in used for browser plug-in fault scanning is placed in a antivirus directory, and the plug-in can be started and loaded during antivirus software scanning; on the other hand, the antivirus software can provide an external calling interface, so that the plug-in can be called by a third-party application other than the antivirus software, such as a browser.
Step S304: and the browser determines that the webpage cannot be normally opened, calls 360 a scanning plug-in unit set in the antivirus software through a calling interface, and performs abnormal scanning on the webpage so as to determine whether the reason for the webpage being unable to be normally opened is the plug-in unit fault of the browser.
The browser and the 360 antivirus software are both provided with calling interfaces, so that calling and interaction between the browser and the 360 antivirus software are realized.
Step S306: the scanning plug-in used for the browser plug-in fault scanning calls a browser process and tries to open a set webpage in the background.
When the scanning plug-in of the 360 antivirus software scans the abnormal web page, the IE process is opened in the background 360rp. The preset web pages to be opened can be randomly acquired from some common web pages stored in a preset list, such as 100 web addresses selected from the home page of hao.360. cn.
Step S308: the scanning plug-in judges whether the set webpage can be normally opened or not, if so, the webpage which cannot be normally opened in the previous time is considered to be temporarily abnormal, and the scanning plug-in returns to the browser to re-open the webpage to be opened; if not, step S310 is executed.
Step S310: the scanning plug-in judges whether a return value for setting the webpage opening failure is received in a set time period, if not, the step S312 is executed; if yes, go to step S314.
If the scanning plug-in can open the set webpage, the webpage is considered to be temporarily abnormal, and the webpage is still normally opened; if the scanning plug-in cannot open the set webpage, acquiring a failed return value, and if the return value is not received within a predetermined time period, for example, 20 seconds, the 360-degree antivirus software background considers that the networking is unsuccessful and the webpage cannot be opened, and then step S312 is executed.
Step S312: 360 the antivirus software detects the network connection, judges whether the network connection is normal, if so, executes step S314; and if not, processing the network connection abnormity.
The processing of the network connection exception includes prompting the user for the network connection exception, or attempting to reconnect the network, or checking the network connection configuration, etc.
For example, detecting the TCP protocol connection of the user, if it can be detected that the TCP protocol connection is normal, proving that the instant messaging software such as QQ can be accessed, at this time, step S314 needs to be executed.
Step S314: the scanning plug-in tries to open the set webpage by using a no-loading plug-in mode, whether the set webpage can be opened by using the no-loading plug-in mode is judged, and if yes, the step S316 is executed; if not, go to step S318.
Step S316: and scanning the plug-in unit to determine that the reason for the abnormal opening of the webpage is the plug-in unit fault of the browser, repairing the plug-in unit of the browser, and ending the process.
If the IE browser is not bad and the plug-in of the IE browser is bad, so that the randomly selected webpage cannot be normally opened, the webpage is started in a non-loading plug-in mode after a certain time, for example, after the 20-second overtime, and if the webpage is opened and the plug-in of the IE browser is described to be in fault, a corresponding repair tool, such as the plug-in repair tool of the IE browser in the 360 guard repair tool, can be called to repair the plug-in.
Step S318: and scanning the plug-in to determine that the reason causing the webpage to be incapable of being opened normally is not the plug-in fault of the browser, using other tools to check the webpage abnormal reason and carry out corresponding processing, and ending the process.
There are various situations when a web page cannot be opened, including a browser plug-in failure, a browser failure, an HTTP protocol configuration failure, and the like. At this time, other functions of the antivirus software may be called 360, or other tools may be called to check the reason why the browser cannot open the web page normally, so as to perform corresponding processing.
For example, calling 360 the computer outpatient service function module in the antivirus software to determine the reason of the abnormal webpage opening, and further processing the reason according to the problem solving function module, such as repairing the network, using the system default DNS, checking the HTTP protocol, cleaning the IE cache file, re-registering the important component of the ID, and the like, to perform system repair.
Through this embodiment, make the browser call multiple functions in the antivirus software carry out comprehensive screening and processing to the reason that can't open the webpage normally, make full use of the resource outside the browser, not only can open the unusual reason to the webpage and carry out professional detection and restoration, expanded browser function moreover, in addition, browser itself does not set up scanning plug-in, has alleviateed browser and has realized the burden, has improved the operating efficiency of browser.
Example four
Referring to fig. 4, a block diagram of a browser repairing apparatus according to a fourth embodiment of the present invention is shown.
The browser repairing device of the embodiment comprises: a determining module 402, adapted to determine that a browser cannot normally open a web page; the fault judgment module 404 is adapted to call a scanning plug-in set in the browser or a scanning plug-in set in a virus searching and killing tool through a call interface to perform abnormal scanning of a webpage, and judge whether a reason causing the webpage to be unable to be normally opened is a plug-in fault of the browser; and the repairing module 406 is adapted to repair the plug-in to the browser if the determination result of the fault determining module 404 is yes.
Preferably, the repairing module 406 is further adapted to perform system repair on the browser for the reason if the failure determining module 404 determines that the reason causing the webpage to be unable to be opened normally is not a plug-in failure of the browser.
Preferably, the failure determining module 404 is adapted to call a scanning plug-in set in a browser or a scanning plug-in set in a virus searching and killing tool through a call interface; calling a browser process to open a set webpage through a scanning plug-in, and judging whether the set webpage can be normally opened or not; if the webpage cannot be normally opened and the network connection is normal, judging whether the set webpage can be opened by using a plug-in mode without loading; if the set webpage can be opened in a plug-in-free mode, determining that the reason causing the webpage to be incapable of being opened normally is plug-in faults of the browser; otherwise, determining that the reason for the webpage being unable to be opened normally is not the plug-in failure of the browser.
Preferably, the determining module 402 is further adapted to determine that the other web client applications except the browser are normally used before the failure determining module 404 calls the scanning plug-in set in the browser or the scanning plug-in set in the virus searching and killing tool through the call interface.
Preferably, when the fault determining module 404 calls a scanning plug-in set in the browser through the call interface to perform abnormal web page scanning, the browser directly calls the loaded scanning plug-in of the browser through the call interface to perform abnormal web page scanning; when the fault judgment module 404 calls a scanning plug-in unit arranged in the virus searching and killing tool through the calling interface to perform webpage exception scanning, the browser calls the scanning plug-in unit in the virus searching and killing tool through the calling interface to perform webpage exception scanning; or the browser provides a prompt for the user to use the scanning plug-in the virus searching and killing tool to perform webpage exception scanning, and calls the scanning plug-in the virus searching and killing tool to perform webpage exception scanning through the calling interface after receiving the positive information returned by the user.
The browser repairing apparatus of this embodiment may be disposed in a browser or a virus killing tool or other suitable third-party application, and is configured to implement the corresponding browser repairing method in the foregoing method embodiments, and has the beneficial effects of the corresponding method embodiments, which are not described herein again.
The browser remediation scheme provided herein is not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with the teachings herein. The structure required to construct a system incorporating aspects of the present invention will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in a browser repair scheme according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (8)

1. A browser repairing method includes:
determining that a browser cannot normally open a webpage;
calling a scanning plug-in arranged in the browser or a scanning plug-in arranged in a virus searching and killing tool through a calling interface to carry out webpage abnormal scanning, and judging whether the reason causing the webpage to be incapable of being normally opened is the plug-in fault of the browser;
if so, performing plug-in repair on the browser;
before the step of calling the scanning plug-in set in the browser or the scanning plug-in set in the virus searching and killing tool through the calling interface to perform webpage exception scanning, the method further includes:
determining that other web client applications than the browser are in normal use.
2. The method of claim 1, wherein the method further comprises:
and if the reason causing the webpage to be incapable of being normally opened is judged not to be the plug-in fault of the browser, performing system repair on the browser according to the reason.
3. The method according to claim 1 or 2, wherein the step of calling the scanning plug-in arranged in the browser or the scanning plug-in arranged in the virus searching and killing tool through the calling interface to perform abnormal web page scanning and judging whether the reason for causing the abnormal opening of the web page is the plug-in fault of the browser comprises the following steps:
calling a scanning plug-in arranged in the browser or a scanning plug-in arranged in the virus searching and killing tool through the calling interface;
calling a browser process to open a set webpage through the scanning plug-in, and judging whether the set webpage can be normally opened or not;
if the webpage cannot be normally opened and the network connection is normal, judging whether the set webpage can be opened by using a plug-in mode without loading;
if the set webpage can be opened by using the plug-in-no-loading mode, determining that the reason for the webpage being unable to be opened normally is plug-in failure of the browser; otherwise, determining that the reason for causing the webpage to be incapable of being opened normally is not the plug-in fault of the browser.
4. The method of claim 1, wherein,
the step of calling the scanning plug-in set in the browser to perform the webpage exception scanning by calling the interface comprises the following steps: the browser directly calls the loaded scanning plug-in to carry out webpage exception scanning through the calling interface;
or,
the step of calling the scanning plug-in set in the virus searching and killing tool to carry out webpage exception scanning by calling the interface comprises the following steps: the browser calls the scanning plug-in the virus searching and killing tool through the calling interface to carry out webpage exception scanning; or the browser provides a prompt for a user to use the scanning plug-in the virus searching and killing tool to perform webpage exception scanning, and calls the scanning plug-in the virus searching and killing tool to perform webpage exception scanning through a calling interface after receiving the positive information returned by the user.
5. A browser repairing apparatus comprising:
the determining module is suitable for determining that the browser cannot normally open the webpage;
the fault judgment module is suitable for calling a scanning plug-in arranged in the browser or a scanning plug-in arranged in a virus searching and killing tool through a calling interface to carry out webpage abnormal scanning, and judging whether the reason causing the webpage to be incapable of being normally opened is the plug-in fault of the browser;
the repair module is suitable for repairing the plug-in of the browser if the judgment result of the fault judgment module is positive;
the determining module is further adapted to determine that other network client applications except the browser are normally used before the fault determining module calls a scanning plug-in set in the browser or a scanning plug-in set in a virus searching and killing tool to perform abnormal web page scanning through a calling interface.
6. The apparatus according to claim 5, wherein the repair module is further adapted to perform system repair on the browser for the reason if the failure determination module determines that the reason causing the webpage to be unable to be opened normally is not a plug-in failure of the browser.
7. The apparatus according to claim 5 or 6, wherein the failure determination module is adapted to call a scanning plug-in provided in the browser or a scanning plug-in provided in the virus searching and killing tool through the call interface; calling a browser process to open a set webpage through the scanning plug-in, and judging whether the set webpage can be normally opened or not; if the webpage cannot be normally opened and the network connection is normal, judging whether the set webpage can be opened by using a plug-in mode without loading; if the set webpage can be opened by using the plug-in-no-loading mode, determining that the reason for the webpage being unable to be opened normally is plug-in failure of the browser; otherwise, determining that the reason for causing the webpage to be incapable of being opened normally is not the plug-in fault of the browser.
8. The apparatus of claim 5, wherein,
when the fault judgment module calls a scanning plug-in unit arranged in the browser through a calling interface to perform abnormal webpage scanning, the browser directly calls the loaded scanning plug-in unit of the browser through the calling interface to perform abnormal webpage scanning;
when the fault judgment module calls a scanning plug-in unit arranged in a virus searching and killing tool through a calling interface to perform webpage exception scanning, the browser calls the scanning plug-in unit in the virus searching and killing tool through the calling interface to perform webpage exception scanning; or enabling the browser to provide a prompt for a user to use the scanning plug-in the virus searching and killing tool to perform webpage exception scanning, and after receiving the positive information returned by the user, calling the scanning plug-in the virus searching and killing tool through a calling interface to perform webpage exception scanning.
CN201210390947.9A 2012-10-15 2012-10-15 Browser restorative procedure and device Active CN103019872B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210390947.9A CN103019872B (en) 2012-10-15 2012-10-15 Browser restorative procedure and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210390947.9A CN103019872B (en) 2012-10-15 2012-10-15 Browser restorative procedure and device

Publications (2)

Publication Number Publication Date
CN103019872A true CN103019872A (en) 2013-04-03
CN103019872B CN103019872B (en) 2015-09-09

Family

ID=47968502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210390947.9A Active CN103019872B (en) 2012-10-15 2012-10-15 Browser restorative procedure and device

Country Status (1)

Country Link
CN (1) CN103019872B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999555A (en) * 2012-10-15 2013-03-27 北京奇虎科技有限公司 Webpage exception handling method and device
CN103810428A (en) * 2014-02-24 2014-05-21 珠海市君天电子科技有限公司 Method and device for detecting macro virus
CN104361076A (en) * 2014-11-12 2015-02-18 腾讯科技(成都)有限公司 Method and device for processing abnormality of browser
CN104899108A (en) * 2014-12-26 2015-09-09 北京奇虎科技有限公司 Browser restoring method and browser restoring system
CN105302654A (en) * 2014-07-25 2016-02-03 腾讯科技(深圳)有限公司 Method and apparatus for recovering browser kernel
CN106790895A (en) * 2015-11-25 2017-05-31 北京搜狗科技发展有限公司 A kind of fault handling method and device
CN106919573A (en) * 2015-12-24 2017-07-04 北京奇虎科技有限公司 A kind of method and apparatus for restarting browser

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020166051A1 (en) * 2001-05-03 2002-11-07 Marvin Moser Method, system, and apparatus for encrypting a web browser script
CN101159000A (en) * 2007-10-17 2008-04-09 深圳市迅雷网络技术有限公司 Web page safety information detecting system and method
CN101808093A (en) * 2010-03-15 2010-08-18 北京安天电子设备有限公司 System and method for automatically detecting WEB security
CN102375951A (en) * 2011-10-18 2012-03-14 北龙中网(北京)科技有限责任公司 Webpage security detection method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020166051A1 (en) * 2001-05-03 2002-11-07 Marvin Moser Method, system, and apparatus for encrypting a web browser script
CN101159000A (en) * 2007-10-17 2008-04-09 深圳市迅雷网络技术有限公司 Web page safety information detecting system and method
CN101808093A (en) * 2010-03-15 2010-08-18 北京安天电子设备有限公司 System and method for automatically detecting WEB security
CN102375951A (en) * 2011-10-18 2012-03-14 北龙中网(北京)科技有限责任公司 Webpage security detection method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
冯雪坪等: "基于BHO技术的恶意网页行为检测方法", 《广西大学学报:自然科学版》, vol. 36, no. 01, 30 October 2011 (2011-10-30), pages 122 - 126 *
夏敏捷等: "网络安全评估系统中浏览器脆弱性扫描的研究", 《中原工学院学报》, vol. 21, no. 06, 25 December 2010 (2010-12-25) *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999555A (en) * 2012-10-15 2013-03-27 北京奇虎科技有限公司 Webpage exception handling method and device
CN103810428A (en) * 2014-02-24 2014-05-21 珠海市君天电子科技有限公司 Method and device for detecting macro virus
CN103810428B (en) * 2014-02-24 2017-05-24 珠海市君天电子科技有限公司 Method and device for detecting macro virus
US10237285B2 (en) 2014-02-24 2019-03-19 Zhuhai Juntian Electronic Technology Co., Ltd. Method and apparatus for detecting macro viruses
CN105302654A (en) * 2014-07-25 2016-02-03 腾讯科技(深圳)有限公司 Method and apparatus for recovering browser kernel
CN105302654B (en) * 2014-07-25 2019-10-08 腾讯科技(深圳)有限公司 A kind of method and apparatus for repairing browser kernel
CN104361076A (en) * 2014-11-12 2015-02-18 腾讯科技(成都)有限公司 Method and device for processing abnormality of browser
CN104899108A (en) * 2014-12-26 2015-09-09 北京奇虎科技有限公司 Browser restoring method and browser restoring system
CN106790895A (en) * 2015-11-25 2017-05-31 北京搜狗科技发展有限公司 A kind of fault handling method and device
CN106790895B (en) * 2015-11-25 2020-07-24 北京搜狗科技发展有限公司 Fault processing method and device
CN106919573A (en) * 2015-12-24 2017-07-04 北京奇虎科技有限公司 A kind of method and apparatus for restarting browser

Also Published As

Publication number Publication date
CN103019872B (en) 2015-09-09

Similar Documents

Publication Publication Date Title
CN103019872B (en) Browser restorative procedure and device
US9306968B2 (en) Systems and methods for risk rating and pro-actively detecting malicious online ads
CN101382979B (en) Method and apparatus for preventing web page attacks
CN102916937B (en) A kind of method, device and client device tackling web page attacks
CN103001801B (en) Network restoration method and apparatus
US9223977B2 (en) Detection of DOM-based cross-site scripting vulnerabilities
CN103023699B (en) A kind of network restoration method and system
CN102999555A (en) Webpage exception handling method and device
CN105631341B (en) Blind detection method and device for vulnerability
CN105610812B (en) Method and device for preventing webpage from being hijacked
WO2014101589A1 (en) Method, server and system for rating reputation of web site
CN103117893B (en) A kind of monitoring method of network access behavior, device and a kind of client device
CN103152218A (en) Method and device for inspecting and restoring computer network state
JP5782193B2 (en) Malware risk scanner
CN104461546A (en) Application based computing device optimizing method and device
CN106302712B (en) Handle the method and device of web data
CN105515882B (en) Website security detection method and device
CN106790077B (en) Method and device for detecting DNS full-flow hijacking risk
CN105100065B (en) Webshell attack detection methods, device and gateway based on cloud
CN102929732B (en) Method and device for calling file by application program and client-side equipment
CN104052630B (en) The method and system of verifying is executed to website
CN102929733B (en) Method and device for processing error files and client-side equipment
CN105516053B (en) Website security detection method and device
CN106203121B (en) Kernel address prevents malicious modification method, apparatus and terminal
US20180020012A1 (en) Malware analysis system, malware analysis method, and malware analysis program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee after: Beijing Qizhi Business Consulting Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240115

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Beijing Qizhi Business Consulting Co.,Ltd.