CN106453509B - Processing method that browser is closed extremely, system, browser and server - Google Patents
Processing method that browser is closed extremely, system, browser and server Download PDFInfo
- Publication number
- CN106453509B CN106453509B CN201610823023.1A CN201610823023A CN106453509B CN 106453509 B CN106453509 B CN 106453509B CN 201610823023 A CN201610823023 A CN 201610823023A CN 106453509 B CN106453509 B CN 106453509B
- Authority
- CN
- China
- Prior art keywords
- component
- browser
- information
- version
- instruction
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/51—Discovery or management thereof, e.g. service location protocol [SLP] or web services
Abstract
The invention discloses a kind of processing methods that browser is closed extremely, system, browser and server, to solve the problems, such as that browser is closed extremely.Wherein method includes: to receive the restarting information for the browser that browser side is uploaded when restarting after closing extremely, the first abnormal closing information of the browser according to restarting information query service device sidelights record;Abnormal closing information includes causing the module information closed extremely and its running environment information;If module information and its running environment information that server side is closed extremely according to initiation, determine that causing the number that same type is closed extremely under identical running environment by same component is more than preset threshold, it is then generated according to the information of component and prevents load instruction, load instruction will be prevented to be issued to browser side, browser side is used for foundation and load instruction is prevented to prevent charging assembly.The present invention will not lead to abnormal closing again by the same token again after browser is restarted, and fundamentally solve the problems, such as that browser is closed extremely.
Description
Present patent application be the applying date be on October 22nd, 2013, application No. is 201310499970.6, it is entitled
The divisional application of the Chinese invention patent application of " processing method that browser is closed extremely, system, browser and server ".
Technical field
The present invention relates to browser technology fields, and in particular to a kind of processing method that browser is closed extremely, a kind of clear
Processing system, a kind of browser and a kind of server that device of looking at is closed extremely.
Background technique
With becoming increasingly popular for internet, many routine works of people and amusement carry out all on network, web page browsing
Device provides convenient way for this work and amusement of people.Web browser, which refers to, can show web page server or shelves
File in case system, and allow a kind of software of user and these file interactions.It is used to be shown in WWW or local area
Text, image and other information in network etc., these texts or image can be the hyperlink for connecting other network address, pass through
Web browser user can browse various information rapidly and easily.
But during using web browser browsing webpage, progress webpage load, usually make for various reasons
Obtaining web browser reaction becomes very slow, or web browser is caused to lose response, eventually leads to browser and closes extremely, into
And possible related whole system can not all carry out other operations.There are many reason of causing browser to be closed extremely, such as clear
It lookes at and third side plug is installed in device, since the compatibility of third side plug and browser software is not that will go wrong to lead very well
The abnormal of browser is caused to close;Or since third-party security software makes browser abnormal closing occur;It is either clear
It lookes at the component of device itself or module (such as GPU (Graphic Processing Unit, graphics processor) acceleration component) is led
Browser is caused abnormal closing occur.
Processing method when closing extremely for browser at present is mainly: obtaining when browser is abnormal closing different
Normal closing information, and abnormal closing information uploaded onto the server, then restart browser.
But the above method is only during abnormal closing information is uploaded onto the server, therefore restarts in browser
It still may lead to abnormal closing again by the same token later, i.e., it is different can not fundamentally to solve browser for the above method
The problem of often closing.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind
Processing method and a kind of corresponding processing system that browser is closed extremely that a kind of browser of problem is closed extremely are stated, and
A kind of browser and a kind of corresponding server.
According to one aspect of the present invention, a kind of processing method that browser is closed extremely is provided, comprising:
The restarting information for receiving the browser that browser side is uploaded when restarting after closing extremely is restarted according to described in
The first abnormal closing information of the browser of Gopher sidelights record;The exception closing information includes that initiation is different
The module information and its running environment information often closed;
If server side determines according to the module information and its running environment information for causing and closing extremely by same group
It is more than preset threshold that part causes the number that same type is closed extremely under identical running environment, then the information according to the component
It generates and prevents load instruction, and prevention load instruction is issued to browser side, the browser side is used for according to described in
Load instruction is prevented to prevent to load the component.
Optionally, the information according to the component generates the step of preventing load instruction and includes:
Information according to the component determines whether the component is non-critical component;
Load instruction is prevented if so, generating.
Optionally, the method also includes:
When the information according to the component determines the component for key component, the instruction of prompt version updating is generated;
The instruction of the prompt version updating is issued to browser side, the browser side is also used to according to the prompt
The instruction of version updating loads the component, and shows the prompt information that the component version updates.
Optionally, the method also includes:
When the information according to the component determines the component for uneasy whole assembly, blacklist write instruction is generated;
The blacklist write instruction is issued to browser side, the browser side is also used to write according to the blacklist
Enter instruction to prevent to load the component, and the component is written to the blacklist of browser side.
Optionally, the method also includes:
When the information according to the component determines the component for uneasy whole assembly, by the component write service device side
Blacklist, the browser side is also used to prevent to load the component.
Optionally, the information according to the component determines that the step of whether component is non-critical component includes:
Search the information that whether there is the component in preconfigured unstable component list;
If it exists, it is determined that the component is non-critical component;
If it does not exist, it is determined that the component is key component.
Optionally, it includes being by Flash, third party's security component or browser internal component that the browser is closed extremely
Third party software, hierarchical service provide program LSP, plug-in unit, extension, graphics processor GPU accelerate in it is any one or more
Caused abnormal closing.
Optionally, the method also includes:
Receive and record the abnormal closing information for the browser that browser side is uploaded when closing extremely.
Optionally, it is described cause the module information closed extremely include: the title of the component, the version of the component and
The MD5 value of the component;Operation when the running environment information for causing the component closed extremely includes: the assembly operating
Browser kernel version when system version and the assembly operating.
Optionally, the abnormal closing information further includes the type closed extremely and anomaly parameter value, the abnormal pass
The type closed includes access violation EXCEPTION_ACCESS_VIOLATION, and the anomaly parameter value includes memory address offset
Amount.
Optionally, the type closed extremely further include: except zero error, memory exhaust and debugging breakpoints.
Optionally, the restarting information includes the version information of the browser kernel and setting where the browser
Standby information;The first abnormal closing information of the browser of the server side record is the version with the browser kernel
The first abnormal closing information that facility information where this information and the browser matches.
According to another aspect of the present invention, a kind of processing method that browser is closed extremely is provided, comprising:
When restarting after browser is closed extremely, the restarting information of the browser is uploaded to server side;
Receive the prevention load instruction that server side issues;The prevention load instruction is the server side according to component
The instruction that generates of information, the component is that cause the number closed extremely of same type under identical running environment be more than default
The component of threshold value, it is described to cause what the number that same type is closed extremely was recorded from the server side under identical running environment
The first abnormal closing information of the browser obtains, the exception closing information include cause the module information closed extremely and
Its running environment information;The first abnormal closing information, which is inquired by the server side according to the restarting information, to be obtained;
Instruction is loaded according to the prevention to prevent to load the component.
Optionally, the prevention load instruction is that the server side determines described group in the information according to the component
The prevention load instruction that part generates when being non-critical component.
Optionally, the method also includes:
Receive it is that server side issues, in the information according to the component determine the component to generate when key component
The instruction for prompting version updating, the instruction according to the prompt version updating loads the component, and shows the component version
The prompt information of update.
Optionally, the method also includes:
Receive server side the issues, generation when the information according to the component determines the component for uneasy whole assembly
Blacklist write instruction, prevent to load the component according to the blacklist write instruction, and the component is written and is browsed
The blacklist of device side.
Optionally, the method also includes:
When browser is closed extremely, the abnormal closing information of the browser is uploaded to server side.
Optionally, before the step of restarting information is uploaded to server side, further includes:
Load pop-up shows the prompt information for whether entering safe mode;
After user's confirmation enters safe mode, described the step of restarting information is uploaded to server side is executed.
Optionally, it is described cause the module information closed extremely include: the title of the component, the version of the component and
The MD5 value of the component;Operation when the running environment information for causing the component closed extremely includes: the assembly operating
Browser kernel version when system version and the assembly operating.
Optionally, the restarting information includes the version information of the browser kernel and setting where the browser
Standby information;The first abnormal closing information of the browser of the server side record is the version with the browser kernel
The first abnormal closing information that facility information where this information and the browser matches.
According to another aspect of the present invention, a kind of server is provided, comprising:
Enquiry module is received, suitable for receiving restarting for the browser uploaded when browser side is restarted after closing extremely
Information, the first abnormal closing information of the browser according to restarting information query service device sidelights record;The exception
Closing information includes causing the module information closed extremely and its running environment information;
First generation module, suitable for causing the module information and its running environment closed extremely according to described in server side
Information, when determining that causing the number that same type is closed extremely under identical running environment by same component is more than preset threshold,
Information according to the component, which generates, prevents load instruction;
First issues module, suitable for prevention load instruction is issued to browser side, the browser side be used for according to
Instruction is loaded according to the prevention to prevent to load the component.
Optionally, first generation module is further adapted for:
Information according to the component determines whether the component is non-critical component;Load is prevented to refer to if so, generating
It enables.
Optionally, the server further include:
Second generation module, suitable for when the information according to the component determines the component for key component, generation is mentioned
Show the instruction of version updating;
Second issues module, suitable for the instruction of the prompt version updating is issued to browser side, the browser side
It is also used to load the component according to the instruction of the prompt version updating, and shows the prompt letter that the component version updates
Breath.
Optionally, the server further include:
Third generation module, suitable for generating when the information according to the component determines the component for uneasy whole assembly
Blacklist write instruction;
Third issues module, and suitable for the blacklist write instruction is issued to browser side, the browser side is also used
In preventing to load the component according to the blacklist write instruction, and by the blacklist of component write-in browser side.
Optionally, the server further include:
Writing module, suitable for when the information according to the component determines the component for uneasy whole assembly, by described group
The blacklist of part write service device side, the browser side are also used to prevent to load the component.
Optionally, first generation module is further adapted for:
Search the information that whether there is the component in preconfigured unstable component list;
If it exists, it is determined that the component is non-critical component;
If it does not exist, it is determined that the component is key component.
Optionally, it includes being by Flash, third party's security component or browser internal component that the browser is closed extremely
Third party software, hierarchical service provide program LSP, plug-in unit, extension, graphics processor GPU accelerate in it is any one or more
Caused abnormal closing.
Optionally, the server further include:
Logging modle is received, suitable for receiving and recording the exception for the browser that browser side is uploaded when closing extremely
Closing information.
Optionally, it is described cause the module information closed extremely include: the title of the component, the version of the component and
The MD5 value of the component;Operation when the running environment information for causing the component closed extremely includes: the assembly operating
Browser kernel version when system version and the assembly operating.
Optionally, the abnormal closing information further includes the type closed extremely and anomaly parameter value, the abnormal pass
The type closed includes access violation EXCEPTION_ACCESS_VIOLATION, and the anomaly parameter value includes memory address offset
Amount.
Optionally, the type closed extremely further include: except zero error, memory exhaust and debugging breakpoints.
Optionally, the restarting information includes the version information of the browser kernel and setting where the browser
Standby information;The first abnormal closing information of the browser of the server side record is the version with the browser kernel
The first abnormal closing information that facility information where this information and the browser matches.
According to another aspect of the present invention, a kind of browser is provided, comprising:
First uploading module, suitable for when restarting after browser is closed extremely, the restarting information of the browser is uploaded
To server side;
First receiving module, the prevention load instruction issued suitable for receiving server side;The prevention load instruction is institute
The instruction that server side is generated according to the information of component is stated, the component is to cause same type exception under identical running environment
The number of closing is more than the component of preset threshold, it is described cause under identical running environment the number closed extremely of same type from
The first abnormal closing information of the browser of the server side record obtains, and the exception closing information is different including causing
The module information and its running environment information often closed;The first abnormal closing information is by the server side according to described heavy
Information inquiry is opened to obtain;
Module is prevented, is suitable for preventing to load the component according to prevention load instruction.
Optionally, the prevention load instruction is that the server side determines described group in the information according to the component
The prevention load instruction that part generates when being non-critical component.
Optionally, the browser further include:
Second receiving module, suitable for receive it is that server side issues, determine the component in the information according to the component
For the instruction of the prompt version updating generated when key component;
Loaded and displayed module suitable for loading the component according to the instruction of the prompt version updating, and shows described group
The prompt information of part version updating.
Optionally, the browser further include:
Third receiving module, suitable for receive it is that server side issues, determine the component in the information according to the component
For the blacklist write instruction generated when uneasy whole assembly;
Writing module is prevented, is suitable for preventing to load according to the blacklist write instruction component, and by the component
The blacklist of browser side is written.
Optionally, the browser further include:
Second uploading module is suitable for being uploaded to the abnormal closing information of the browser when browser is closed extremely
Server side.
Optionally, the browser further include:
Pop-up display module, suitable for loading pop-up before restarting information is uploaded to server side by the first uploading module
Whether display enters the prompt information of safe mode;
And after user's confirmation enters safe mode, call first uploading module.
Optionally, it is described cause the module information closed extremely include: the title of the component, the version of the component and
The MD5 value of the component;Operation when the running environment information for causing the component closed extremely includes: the assembly operating
Browser kernel version when system version and the assembly operating.
Optionally, the restarting information includes the version information of the browser kernel and setting where the browser
Standby information;The first abnormal closing information of the browser of the server side record is the version with the browser kernel
The first abnormal closing information that facility information where this information and the browser matches.
According to another aspect of the present invention, a kind of processing system that browser is closed extremely is provided, including as described above
Server and browser as described above.
In the present invention, when restarting after browser is closed extremely, the first exception of reading browser sidelights record first is closed
Information;Then according to the module information and its running environment information closed extremely is caused, determine by same component in identical fortune
When the number that initiation same type is closed extremely under row environment is more than preset threshold, the information of component is sent to server side;
The prevention load instruction of information generation that server side issues, according to component is finally received, and instructs resistance according to preventing to load
Only charging assembly.By executing aforesaid operations, can prevent to draw under identical running environment before load when browser is restarted
The number that hair same type is closed extremely is more than the component of preset threshold, thus will not be again due to same after browser is restarted
The reason of lead to abnormal closing again, fundamentally solve the problems, such as that browser is closed extremely.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the processing method embodiment 1 that a kind of browser according to an embodiment of the invention is closed extremely
Flow chart of steps;
Fig. 2 shows a kind of processing method embodiments 2 that browser is closed extremely according to an embodiment of the invention
Flow chart of steps;
Fig. 3 shows the processing method embodiment 3 that a kind of browser according to an embodiment of the invention is closed extremely
Flow chart of steps;
Fig. 4 shows server side for the processing scheme schematic diagram closed extremely caused by different reasons;
Fig. 5 shows a kind of structural block diagram of browser embodiment 1 according to an embodiment of the invention;
Fig. 6 shows a kind of structural block diagram of server example 1 according to an embodiment of the invention;
Fig. 7 shows the processing method embodiment 4 that a kind of browser according to an embodiment of the invention is closed extremely
Flow chart of steps;
Fig. 8 shows the processing method embodiment 5 that a kind of browser according to an embodiment of the invention is closed extremely
Flow chart of steps;
Fig. 9 shows the processing method embodiment 6 that a kind of browser according to an embodiment of the invention is closed extremely
Flow chart of steps;
Figure 10 shows a kind of structural block diagram of server example 2 according to an embodiment of the invention;
Figure 11 shows a kind of structural block diagram of browser embodiment 2 according to an embodiment of the invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
Referring to Fig.1, the processing method embodiment 1 that browser according to an embodiment of the invention is closed extremely is shown
Flow chart of steps can specifically include following steps:
Step 101, when restarting after browser is closed extremely, the first abnormal closing letter of the browser sidelights record is read
Breath.
In the embodiment of the present invention, abnormal closing information can recorde in browser side, restart after browser is closed extremely
When, the first abnormal closing information of browser sidelights record can be read first.Wherein, the reboot operation of browser can be to pass through
User is restarted manually, or browser is restarted automatically after closing extremely;First abnormal close of browser sidelights record is believed
Breath can be all abnormal closing informations formerly recorded from browser creation, or note in first preset time period
The abnormal closing information of record, the embodiment of the present invention to this and it is without restriction.
Step 102, if determining according to the module information and its running environment information for causing and closing extremely by same group
It is more than preset threshold that part causes the number that same type is closed extremely under identical running environment, then sends out the information of the component
It send to server side.
In the concrete realization, abnormal closing information may include causing the module information closed extremely and its running environment letter
Breath.After reading the first abnormal closing information of browser sidelights record, if according to including in first abnormal closing information
The initiation module information and its running environment information closed extremely, judgement causes under identical running environment together by same component
The number that one type is closed extremely be more than preset threshold, it may be considered that the component still may be influenced after browser is restarted it is clear
Look at device operation, cause browser extremely close, the information of the component can be sent to server side at this time, by server
Side is analyzed for the information of the component, to obtain corresponding processing scheme.
Step 103, the prevention load instruction of information generation that server side issues, according to the component, foundation are received
The prevention load instruction prevents to load the component.
Server side is divided after receiving the information of component of browser side upload by the information to the component
Analysing can be generated prevention load instruction and is issued to browser side, then browser side will receive server side issues, foundation institute
The prevention load instruction that the information of component generates is stated, browser side will load instruction according to the prevention and prevent described in load later
Component.
The embodiment of the present invention 1 can prevent to cause same class under identical running environment before load when browser is restarted
The number that type is closed extremely is more than the component of preset threshold, to will not lead by the same token again after browser is restarted
Abnormal closing again is caused, fundamentally solves the problems, such as that browser is closed extremely.
Referring to Fig. 2, shows the processing method that a kind of browser according to an embodiment of the invention is closed extremely and implement
The step flow chart of example 2, can specifically include following steps:
Step 201, when browser is closed extremely, in the external file of browser side and/or registration in browser side
Recording exceptional closing information in table.
In practical applications, there are many reason of causing browser to be closed extremely, and the browser in the embodiment of the present invention is abnormal
Closing may include by Flash (Flash is a kind of creation of animation and the authoring software of application development), third party
Security component or browser internal component are third party software, (Layered Service Provider, hierarchical service mention LSP
For program), plug-in unit, extension, GPU accelerate in it is any one or more caused by abnormal close.It is, of course, also possible to include by it
Closed extremely caused by his reason, the embodiment of the present invention to this and it is without restriction.
It in the concrete realization, can the external file in browser side or the recording exceptional in the registration table of browser side
Closing information, can also in the external file of browser side and the registration table of browser side equal recording exceptional closing information, when
So can also in the other positions recording exceptional closing information of browser side, the embodiment of the present invention to this and it is without restriction.
Wherein, abnormal closing information may include causing the module information closed extremely and its running environment information.It is described
Cause the MD5 that the module information closed extremely may include: the title of the component, the version of the component and the component
Value;Operating system version when the running environment information for causing the component closed extremely may include: the assembly operating
With the browser kernel version when assembly operating.Wherein, operating system version can be windows 95, windows
2000, windows ME, windows XP, windows 2003, windows vista, 7 windows, Linux, Unix, etc.
Deng;Browser kernel version can be IE7, IE8 etc..
It should be noted that the exception closing information can also include the type and anomaly parameter value closed extremely,
Wherein, the type closed extremely may include access violation EXCEPTION_ACCESS_VIOLATION, except zero error, memory consume
Most and debugging breakpoints, etc..When the type closed extremely is access violation, anomaly parameter value may include memory address
Offset.Access violation refers to the offset that memory address has occurred when loading some component, that is, calls in the code into memory
Component shifts on memory address.There are many components in browser program, when such as calling a plug-in unit, it is necessary first to by it
Memory is read in, i.e., goes to call in memory with CPU (Central Processing Unit, central processing unit), and when calling in memory
There is exception, such as overflows, then can show the offset on memory address.
For example, a kind of exception closing information may include: the entitled superfine product five for causing the component closed extremely, version
It is x for 4.0.0.950, MD5 value, the operating system version when assembly operating is windows XP, and browser kernel version is
IE7, the type closed extremely are EXCEPTION_ACCESS_VIOLATION, anomaly parameter value (i.e. memory address offset)
It is 20.
Step 202, when restarting after browser is closed extremely, load pop-up shows that the prompt for whether entering safe mode is believed
Breath.
Safe mode is one of Windows operating system special pattern, can easily be repaired in the secure mode
Some mistakes of system, play a multiplier effect.The working principle of safe mode is to be not loaded with third party device driving
Start computer in the case where program, computer is made to operate in system minimal mode, detect with thus can be convenient and repairs calculating
The mistake of machine system allows to that the component of operating system exception is caused not to be loaded starting.
The safe mode of Windows operating system is applied in browser by the embodiment of the present invention, closes extremely in browser
When restarting after closing for it is certain may cause the component that browser is closed extremely prevent its load start, to avoid browser again
Secondary abnormal closing.
Bullet can be loaded when restarting after browser is closed extremely as a kind of preferable example of concrete application of the present invention
Window shows the prompt information for whether entering safe mode, and two buttons of "Yes" and "No" can be set in pop-up for user's choosing
It selects.After user selects confirmation to enter safe mode (i.e. click "Yes"), it can execute subsequent step 203;If with
Family does not select to enter safe mode (i.e. click "No"), then does not execute subsequent step, restart browser in the conventional mode.
Certainly, above-mentioned prompt information can also be shown using other way in the embodiment of the present invention, and can not also shown
Show above-mentioned prompt information, i.e., when restarting after browser is closed extremely, browser executes step automatically into safe mode
203。
Step 203, the first abnormal closing information of the browser sidelights record is read.
It is described in step 201 when browser is closed extremely, in the external file of browser side and/or in browser
Recording exceptional closing information in the registration table of side.If only having recorded abnormal closing information in the external file of browser side,
Formerly abnormal closing information is then read in the step 203 from said external file;If only in the registration table of browser side
Abnormal closing information is had recorded, then reads formerly abnormal closing information in the step 203 from above-mentioned registration table;If browsing
Have recorded abnormal closing information in the external file of device side and the registration table of browser side, then it can be from upper in the step 203
Any one stated in external file and registration table reads formerly abnormal closing information.
Wherein, the first abnormal closing information of browser sidelights record can be all for what is formerly recorded from browser creation
Abnormal closing information, or the abnormal closing information recorded in first preset time period, the embodiment of the present invention to this simultaneously
It is without restriction.
Step 204, if determining according to the module information and its running environment information for causing and closing extremely by same group
It is more than preset threshold that part causes the number that same type is closed extremely under identical running environment, then sends out the information of the component
It send to server side.
After reading the first abnormal closing information of the browser sidelights record, these exception closing informations are divided
Analysis, if determined by same component according to the module information and its running environment information for causing and closing extremely in identical fortune
Causing the number that same type is closed extremely under row environment is more than preset threshold (such as 3 times), then the component is clear to may cause
The component that device of looking at is closed extremely, therefore the information of the component is sent to server side by browser, it then can be by server
Side determines which kind of processing is carried out to the component.
For example, if according to the module information closed extremely and its running environment letter is caused in first abnormal closing information
Breath determines that abnormal closing information is " to cause entitled superfine product five, version 4.0.0.950, MD5 of the component closed extremely
Value is x, and the operating system version when assembly operating is windows XP, and browser kernel version is that this of IE7 " closes extremely
The number closed is more than preset threshold, then by the information of component, " component Name is superfine product five, version 4.0.0.950, MD5 value
Server side is sent to for x ".
Certainly, if in abnormal closing information further including the type closed extremely and anomaly parameter value, according to
The type and exception for first causing the module information closed extremely and its running environment information in exception closing information, closing extremely
Parameter value is determined.Such as determine that abnormal closing information is " to cause entitled superfine product five, the version of the component closed extremely
It is x for 4.0.0.950, MD5 value, the operating system version when assembly operating is windows XP, and browser kernel version is
IE7, the type closed extremely are EXCEPTION_ACCESS_VIOLATION, and anomaly parameter value (memory address offset) is
20 " this number closed extremely is more than preset threshold, then by the information of component, " component Name is superfine product five, version is
4.0.0.950, MD5 value is that x " is sent to server side.
Step 205, the prevention load instruction of information generation that server side issues, according to the component, foundation are received
The prevention load instruction prevents to load the component.
Server side can carry out after receiving the information of component of browser side transmission for the information of the component
Analysis, and generate corresponding instruction according to the information of the component and be issued to browser side.Analysis, generation for server side
The detailed process of instruction will be introduced from the embodiment that server side describes below, and the embodiment of the present invention is no longer detailed herein
It is thin to discuss.
If server side according to the component information (i.e. " and component Name be superfine product five, version 4.0.0.950,
MD5 value is x ") determine that the component is non-critical component, then it will generate and prevent load from instructing and be issued to browser side, is i.e. institute
Stating prevention load instruction is, the server side is raw when the information according to the component determines the component for non-critical component
At prevention load instruction.Browser side can load according to the prevention and instruct after receiving above-mentioned prevention load instruction
It prevents to load the component, that is, prevents the component for loading above-mentioned entitled superfine product five, version 4.0.0.950, MD5 value is x.
Step 206, receive it is that server side issues, determine that the component is key component in the information according to the component
The instruction of the prompt version updating of Shi Shengcheng, the instruction according to the prompt version updating load the component, and described in display
The prompt information that component version updates.
If server side according to the component information (i.e. " and component Name be superfine product five, version 4.0.0.950,
MD5 value is x ") determine that the component is key component, then it will generate the instruction of prompt version updating and be issued to browser side,
I.e. browser side will receive that server side issues, raw when the information according to the component determines the component for key component
At prompt version updating instruction.It browser side, can be according to this after the instruction for receiving above-mentioned prompt version updating
It prompts the instruction of version updating to load the component, that is, loads above-mentioned entitled superfine product five, version 4.0.0.950, MD5 value
For the component of x, and show the prompt information that the component version updates, user can update the component according to the prompt information
Version.
In the concrete realization, the prompt information that the component version updates can be component version described in prompt customer upgrade
Information, alternatively, the version of the component is changed to the information of stable release by prompt user;It can be in a browser with yellow
The mode display reminding information for prompting item, alternatively, the display reminding information in a manner of prompting message frame in a browser.The present invention
Embodiment to this and it is without restriction.
Step 207, receive it is that server side issues, determine that the component is dangerous group in the information according to the component
The blacklist write instruction generated when part prevents to load the component according to the blacklist write instruction, and by the component
The blacklist of browser side is written.
If server side according to the component information (i.e. " and component Name be superfine product five, version 4.0.0.950,
MD5 value is x ") determine that the component is uneasy whole assembly, then it will generate blacklist write instruction and be issued to browser side, i.e.,
Browser side will receive that server side issues, raw when the information according to the component determines the component for uneasy whole assembly
At blacklist write instruction.Browser side can be write after receiving above-mentioned blacklist write instruction according to the blacklist
Enter instruction to prevent to load the component, that is, preventing the above-mentioned entitled superfine product five of load, version 4.0.0.950, MD5 value is x
Component, and by the component write-in browser side blacklist.
It should be noted that step 205, step 206 and step 207 are not offered as executing in the order described above, actually
3 steps are the step of execution side by side.
In the embodiment of the present invention 2 when restarting after browser is closed extremely, it can be can choose with display reminding information, user
Whether enter safe mode, subsequent treatment process can be executed after confirmation enters safe mode.And server side can
Different instructions is generated with the information according to different components, the different instruction that browser side is then issued according to server side executes
Corresponding operation, so that abnormal closing again will not be caused by the same token again after browser is restarted, from root
Solve the problems, such as that browser is closed extremely on this.
Above-described embodiment 1 and embodiment 2 are retouched from browser side for what the processing method that browser is closed extremely carried out
It states, is described below by embodiment 3 from server side.
Referring to Fig. 3, shows the processing method that a kind of browser according to an embodiment of the invention is closed extremely and implement
The step flow chart of example 3, can specifically include following steps:
Step 301, the information for the component that browser side uploads is received.
Wherein, it is more than preset threshold that the component, which is the number that initiation same type is closed extremely under identical running environment,
A certain component, it is described to cause what the number closed extremely of same type was recorded from the browser sidelights under identical running environment
Formerly exception closing information obtains, and the exception closing information includes causing the module information closed extremely and its running environment letter
Breath;First abnormal closing information reading when restarting after the browser is closed extremely.
Step 302, it is generated according to the information of the component and prevents load instruction.
Server side can carry out after receiving the information of component of browser side transmission for the information of the component
Analysis, and generate corresponding instruction according to the information of the component and be issued to browser side.
In one preferred embodiment of the invention, step 302 can specifically include following sub-step:
Sub-step S21, the information according to the component determine whether the component is non-critical component;If so, generating
Prevent load instruction.
If server side determines that the component is non-critical component, illustrate that browser side can prevent to load the group
Part, server side, which will generate, at this time prevents load instruction.
In the concrete realization, unstable component list can be configured in server side in advance, which can
With according to component, whether key is configured, no longer it is described in detail herein for specific configuration process.In the unstable component list
It may include the information such as the title, the version of component, the MD5 value of component of component.In one preferred embodiment of the invention, on
The decision process for stating sub-step S21 can be with are as follows: searches in preconfigured unstable component list with the presence or absence of the component
Information (information for the component that the browser side received uploads);If it exists, it is determined that the component is non-critical component;If
It is not present, it is determined that the component is key component.
Step 303, prevention load instruction is issued to browser side, the browser side is used for according to the prevention
Load instruction prevents to load the component.
In one preferred embodiment of the invention, the processing method that the browser is closed extremely can also include following
Step:
Step 304, when the information according to the component determines the component for key component, prompt version updating is generated
Instruction.
If server side determines that the component (is determined using the decision process of above-mentioned sub-step S21 for key component
The component is key component), then illustrate that browser side cannot prevent to load the component, server side will generate and prompt version at this time
The instruction of this update.
Step 305, the instruction of the prompt version updating is issued to browser side, the browser side is also used to foundation
The instruction of the prompt version updating loads the component, and shows the prompt information that the component version updates.
Step 306, when the information according to the component determines the component for uneasy whole assembly, blacklist write-in is generated
Instruction.
If server side determines that the component is uneasy whole assembly, illustrate that browser side can prevent to load the group
Part, and the component be it is unsafe, at this time server side will generate blacklist write instruction.
In the concrete realization, uneasy whole assembly list can be configured in server side in advance, which can
To be configured according to component with the presence or absence of situations such as wooden horse, virus, no longer it is described in detail herein for specific configuration process.This is not
Stablizing in component list also may include the information such as the title, the version of component, the MD5 value of component of component.Of the invention one
In kind of preferred embodiment, it is above-mentioned can be with to the decision process of uneasy whole assembly are as follows: search preconfigured uneasy whole assembly list
In with the presence or absence of the component information (information for the component that the browser side that receives uploads);If it exists, it is determined that institute
Component is stated as uneasy whole assembly;If it does not exist, it is determined that the component is security component.
Step 307, the blacklist write instruction is issued to browser side, the browser side is also used to according to described in
Blacklist write instruction prevents to load the component, and the component is written to the blacklist of browser side.
It should be noted that step 302, step 304 and step 306 are not offered as executing in the order described above, actually
3 steps are the step of execution side by side.
In one preferred embodiment of the invention, determine that the component is according to the information of the component in server side
, can also be by the blacklist of the component write service device side when uneasy whole assembly, server side can not execute above-mentioned step at this time
Rapid 306 and step 307, it need to only notify the browser side component for uneasy whole assembly, browser side is also used to prevent to load
The component.Certainly, in this case, server side still can execute above-mentioned steps 306 and step 307, and the present invention is implemented
Example to this and it is without restriction.
In practical applications, there are many reason of causing browser to be closed extremely, and the browser in the embodiment of the present invention is abnormal
Closing may include by Flash, third party's security component or browser internal component be third party software, LSP, plug-in unit, extension,
Any one or more caused abnormal closings in GPU acceleration.
Fig. 4 is server side for the processing scheme schematic diagram closed extremely caused by different reasons.Initially enter safety
Mode, when causing abnormal close by Flash, (Flash stable release is more for the instruction of server side generation prompt version updating
Newly);When being that third party software causes abnormal close by third party's security component or browser internal component, server side is generated
Prevent load instruction (the anti-injection of third party's security software);When causing abnormal close by LSP, server side, which generates, prevents load
It instructs (the anti-injection of LSP);When causing abnormal close by plug-in unit, server side generates blacklist write instruction or by described group
The blacklist (plug-in unit blacklist) of part write service device side;When causing abnormal close by extension, server side generates blacklist
Write instruction or by the blacklist of the component write service device side (extension blacklist);When by GPU acceleration cause abnormal pass
When closing, server side, which generates, prevents load instruction (GPU accelerates disabling).
Above-described embodiment 1 and embodiment 2 are described from browser side, and embodiment 3 is described from server side.
In the following, the processing method that browser is closed extremely is described from entirety, this method can specifically include following steps:
Step a, browser side when closing extremely, in the external file of browser side and/or registration in browser side
Recording exceptional closing information in table;
Step b, when restarting after closing extremely, load pop-up shows that the prompt for whether entering safe mode is believed for browser side
Breath;
When user's confirmation enters safe mode, step c is executed.
The first abnormal closing information of the browser sidelights record is read in step c, browser side;
Step d, if the module information and its running environment information closed extremely are caused according to described in browser side, determine by
It is more than preset threshold that same component causes the number that same type is closed extremely under identical running environment, then by the component
Information is sent to server side;
Step e, server side receive the information for the component that browser side uploads;
Step f, server side generates according to the information of the component and prevents load instruction, and the prevention is loaded and is instructed
It is issued to browser side;
Step g, the prevention load that browser flanks information generation that receipts server side issues, according to the component refer to
It enables, loads instruction according to the prevention and prevent to load the component;
Step h, server side generate prompt version when the information according to the component determines the component for key component
The instruction of this update, and the instruction of the prompt version updating is issued to browser side;
Step i, browser flank receive it is that server side issues, determine that the component is to close in the information according to the component
The instruction of the prompt version updating generated when key asembly, the instruction according to the prompt version updating loads the component, and shows
Show the prompt information that the component version updates;
Step j, server side generate black name when the information according to the component determines the component for uneasy whole assembly
Single write instruction, and the blacklist write instruction is issued to browser side;
In one preferred embodiment of the invention, when server side determines that the component is according to the information of the component
, can also be by the blacklist of the component write service device side when uneasy whole assembly, server side can not be by the black name at this time
Single write instruction is issued to browser side, need to only notify the browser side component for uneasy whole assembly, browser side is also used
The component is loaded in prevention.Certainly, in this case, the blacklist write instruction still can be issued to by server side
Browser side, the embodiment of the present invention to this and it is without restriction.
Step k, browser flank receive it is that server side issues, determine that the component is not in the information according to the component
The blacklist write instruction generated when security component prevents to load the component according to the blacklist write instruction, and by institute
State the blacklist of component write-in browser side.
For aforementioned approaches method embodiment, for simple description, therefore, it is stated as a series of action combinations, still
Those skilled in the art should understand that embodiment of that present invention are not limited by the describe sequence of actions, because according to this hair
Bright embodiment, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know that,
The embodiments described in the specification are all preferred embodiments, and the related movement not necessarily embodiment of the present invention must
Must.
Referring to Fig. 5, a kind of structural block diagram of browser embodiment 1 according to an embodiment of the invention is shown, it is described
Browser and server communication, the browser may include following module:
Logging modle 501 is suitable for when browser is closed extremely, in the external file of browser side and/or in browser
Recording exceptional closing information in the registration table of side;
Pop-up display module 502, suitable for reading the first abnormal closing of the browser sidelights record in the read module
Before information, load pop-up shows the prompt information for whether entering safe mode;
And after user's confirmation enters safe mode, call the read module.
Read module 503, suitable for when restarting after browser is closed extremely, reading the first different of the browser sidelights record
Normal closing information;The exception closing information includes causing the module information closed extremely and its running environment information;
Sending module 504 determines suitable for causing the module information and its running environment information closed extremely according to described
When causing number that same type is closed extremely under identical running environment by same component and being more than preset threshold, by the component
Information be sent to server side;
First receiving module 505, the prevention suitable for receiving information generation that server side issues, according to the component add
Carry instruction;
In one preferred embodiment of the invention, the prevention load instruction is that the server side is according to described in
The information of component determines the component for the prevention load instruction generated when non-critical component.
Module 506 is prevented, is suitable for preventing to load the component according to prevention load instruction.
Second receiving module 507, suitable for receive server side issue, according to the component information determine described group
The instruction for the prompt version updating that part generates when being key component;
Loaded and displayed module 508, suitable for loading the component according to the instruction of the prompt version updating, and described in display
The prompt information that component version updates.
Third receiving module 509, suitable for receive server side issue, according to the component information determine described group
The blacklist write instruction that part generates when being uneasy whole assembly;
Writing module 510 is prevented, is suitable for preventing to load the component according to the blacklist write instruction, and by described group
The blacklist of part write-in browser side.
In one preferred embodiment of the invention, it includes by Flash, third party's secure group that the browser is closed extremely
Part or browser internal component are third party software, hierarchical service provides program LSP, plug-in unit, extension, graphics processor GPU add
Any one or more caused abnormal closings in speed.
The module information closed extremely of causing includes: the title of the component, the version of the component and described group
The MD5 value of part;Operating system version when the running environment information for causing the component closed extremely includes: the assembly operating
Browser kernel version when sheet and the assembly operating.In one preferred embodiment of the invention, abnormal close is believed
Breath further includes the type closed extremely and anomaly parameter value, and the type closed extremely includes access violation
EXCEPTION_ACCESS_VIOLATION, it exhausts and debugging breakpoints except zero error, memory.When the type closed extremely is
When access violation, the anomaly parameter value includes memory address offset.
For above-mentioned browser embodiment 1, since it is basically similar to the method embodiment, so the comparison of description is simple
Single, the part of shown embodiment of the method illustrates referring to figure 1, figure 2 and figure 3 in place of correlation.
Referring to Fig. 6, a kind of structural block diagram of server example 1 according to an embodiment of the invention is shown, it is described
Server is communicated with browser, and the server may include following module:
Receiving module 601, suitable for receiving the information for the component that browser side uploads;
First generation module 602 generates suitable for the information according to the component and prevents load instruction;
First issues module 603, and suitable for prevention load instruction is issued to browser side, the browser side is used for
Instruction is loaded according to the prevention to prevent to load the component;
Second generation module 604, suitable for generating when the information according to the component determines the component for key component
Prompt the instruction of version updating;
Second issues module 605, suitable for the instruction of the prompt version updating is issued to browser side, the browser
Side is also used to load the component according to the instruction of the prompt version updating, and shows the prompt letter that the component version updates
Breath;
Third generation module 606, it is raw suitable for when the information according to the component determines the component for uneasy whole assembly
At blacklist write instruction;
Third issues module 607, and suitable for the blacklist write instruction is issued to browser side, the browser side is also
For preventing to load the component according to the blacklist write instruction, and the component is written to the blacklist of browser side;
Writing module 608 will be described suitable for when the information according to the component determines the component for uneasy whole assembly
The blacklist of component write service device side, the browser side are also used to prevent to load the component.
In one preferred embodiment of the invention, the component is to cause same type exception under identical running environment
The number of closing is more than a certain component of preset threshold, time for causing same type under identical running environment and closing extremely
The first abnormal closing information that number is recorded from the browser sidelights obtains, and the exception closing information includes causing to close extremely
Module information and its running environment information;First abnormal closing information reading when restarting after the browser is closed extremely
It takes.
In one preferred embodiment of the invention, first generation module is further adapted for: the information according to the component
Determine whether the component is non-critical component;Load instruction is prevented if so, generating.First generation module is further adapted for:
Search the information that whether there is the component in preconfigured unstable component list;If it exists, it is determined that the component is
Non-critical component;If it does not exist, it is determined that the component is key component.
For above-mentioned server example 1, since it is basically similar to the method embodiment, so the comparison of description is simple
Single, the part of shown embodiment of the method illustrates referring to figure 1, figure 2 and figure 3 in place of correlation.
The present invention also provides a kind of processing systems that browser is closed extremely, can specifically include browser and service
Device, wherein illustrate for the description of browser referring to the part of above-mentioned embodiment 1 shown in fig. 5;For retouching for server
State the part explanation referring to above-mentioned server example 1 shown in fig. 6.
In the present invention, when restarting after browser is closed extremely, the first exception of reading browser sidelights record first is closed
Information;Then according to the module information and its running environment information closed extremely is caused, determine by same component in identical fortune
When the number that initiation same type is closed extremely under row environment is more than preset threshold, the information of component is sent to server side;
The prevention load instruction of information generation that server side issues, according to component is finally received, and instructs resistance according to preventing to load
Only charging assembly.It is different that the present invention causes same type before can preventing to load when browser is restarted under identical running environment
The number often closed is more than the component of preset threshold, to will not cause by the same token again again after browser is restarted
Secondary abnormal closing, fundamentally solves the problems, such as that browser is closed extremely.
In above-mentioned each embodiment, formerly exception closing information is recorded in browser side, closes sentencing for number for abnormal
It is disconnected to be executed by browser.Formerly exception closing information also can recorde in server side in the present invention, close number for abnormal
Judgement can also be executed by server, in the following, being recorded in service to first abnormal closing information by following each embodiment
The case where device side, is described.
Referring to Fig. 7, the processing method embodiment 4 that browser according to an embodiment of the invention is closed extremely is shown
Flow chart of steps can specifically include following steps:
Step 701, the restarting information for the browser that browser side is uploaded when restarting after closing extremely, foundation are received
The first abnormal closing information of the browser of the restarting information query service device sidelights record.
In the embodiment of the present invention, browser side, can be by the restarting information of the browser when restarting after closing extremely
It is uploaded to server side, server side receives the restarting information for the browser that browser side uploads, then can be according to institute
State the first abnormal closing information of the browser of restarting information query service device sidelights record.
Wherein, wherein the reboot operation of browser can be to be restarted manually by user, or browser closes extremely
It is restarted automatically after closing;The first abnormal closing information of server side record can be the institute that formerly records from creating server
There is abnormal closing information, or the abnormal closing information recorded in first preset time period, the embodiment of the present invention is to this
And it is without restriction.
Step 702, if server side determines according to the module information and its running environment information for causing and closing extremely
Causing the number that same type is closed extremely under identical running environment by same component is more than preset threshold, then according to described group
The information of part, which generates, prevents load instruction.
In the concrete realization, abnormal closing information may include causing the module information closed extremely and its running environment letter
Breath.After inquiring the first abnormal closing information of server side record according to the restarting information, if according to formerly different
The module information and its running environment information that the initiation for including in normal closing information is closed extremely, determine by same component identical
Causing the number that same type is closed extremely under running environment is more than preset threshold, it may be considered that the component is restarted in browser
The operation of browser still may be influenced afterwards, browser is caused to be closed extremely, the information of the component can be divided at this time
Analysis, and generated according to the information of the component and prevent load instruction.
Step 703, prevention load instruction is issued to browser side, the browser side is used for according to the prevention
Load instruction prevents to load the component.
The embodiment of the present invention 4 can prevent to cause same class under identical running environment before load when browser is restarted
The number that type is closed extremely is more than the component of preset threshold, to will not lead by the same token again after browser is restarted
Abnormal closing again is caused, fundamentally solves the problems, such as that browser is closed extremely.
Referring to Fig. 8, the processing method embodiment 5 that browser according to an embodiment of the invention is closed extremely is shown
Flow chart of steps can specifically include following steps:
Step 801, receive and record the abnormal closing information for the browser that browser side is uploaded when closing extremely.
In practical applications, there are many reason of causing browser to be closed extremely, and the browser in the embodiment of the present invention is abnormal
Closing may include by Flash (Flash is a kind of creation of animation and the authoring software of application development), third party
Security component or browser internal component are third party software, (Layered Service Provider, hierarchical service mention LSP
For program), plug-in unit, extension, GPU accelerate in it is any one or more caused by abnormal close.It is, of course, also possible to include by it
Closed extremely caused by his reason, the embodiment of the present invention to this and it is without restriction.
When browser side is closed extremely, abnormal closing information can be uploaded onto the server side, and server side receives
After the exception closing information, interpretation of records can be carried out, for subsequent query use.For example, can be in server side
External file or the recording exceptional closing information in the registration table of server side, can also server side external file and
Equal recording exceptional closing information in the registration table of server side can also close certainly in the other positions recording exceptional of server side
Close information, the embodiment of the present invention to this and it is without restriction.
Wherein, abnormal closing information may include causing the module information closed extremely and its running environment information.It is described
Cause the MD5 that the module information closed extremely may include: the title of the component, the version of the component and the component
Value;Operating system version when the running environment information for causing the component closed extremely may include: the assembly operating
With the browser kernel version when assembly operating.Wherein, operating system version can be windows 95, windows
2000, windows ME, windows XP, windows 2003, windows vista, 7 windows, Linux, Unix, etc.
Deng;Browser kernel version can be IE7, IE8 etc..
It should be noted that the exception closing information can also include the type and anomaly parameter value closed extremely,
Wherein, the type closed extremely may include access violation EXCEPTION_ACCESS_VIOLATION, except zero error, memory consume
Most and debugging breakpoints, etc..When the type closed extremely is access violation, anomaly parameter value may include memory address
Offset.Access violation refers to the offset that memory address has occurred when loading some component, that is, calls in the code into memory
Component shifts on memory address.There are many components in browser program, when such as calling a plug-in unit, it is necessary first to by it
Memory is read in, i.e., goes to call in memory with CPU (Central Processing Unit, central processing unit), and when calling in memory
There is exception, such as overflows, then can show the offset on memory address.
For example, a kind of exception closing information may include: the entitled superfine product five for causing the component closed extremely, version
It is x for 4.0.0.950, MD5 value, the operating system version when assembly operating is windows XP, and browser kernel version is
IE7, the type closed extremely are EXCEPTION_ACCESS_VIOLATION, anomaly parameter value (i.e. memory address offset)
It is 20.
Step 802, the restarting information for the browser that browser side is uploaded when restarting after closing extremely, foundation are received
The first abnormal closing information of the browser of the restarting information query service device sidelights record.
Browser side can upload the restarting information of the browser to browser side when restarting after closing extremely.Clothes
Business device side can receive the restarting information of the browser of browser side upload, and according to the restarting information query service device
The first abnormal closing information of the browser of sidelights record.
Describing in step 801 can record in the external file in server side or the registration table in server side
Abnormal closing information can also close letter by equal recording exceptional in the external file of server side and the registration table of server side
Breath.If only having recorded abnormal closing information in the external file of server side, from said external file in the step 802
It is middle to read formerly abnormal closing information;If only having recorded abnormal closing information in the registration table of server side, the step
Formerly abnormal closing information is read in 802 from above-mentioned registration table;If external file and browser side in server side
Abnormal closing information is had recorded in registration table, then it can be from any in said external file and registration table in the step 802
One is read formerly abnormal closing information.
In one kind in the specific implementation, the restarting information may include the browser kernel version information (such as
IE7, IE8 etc.) and the browser where facility information (such as device id etc.), server side record browser side on
It, can be by the facility information where the version information and browser of browser kernel, with exception when the abnormal closing information of biography
Closing information matches record.Therefore, according to the browser of the server side record of restarting information inquiry
First exception closing information is, with the facility information phase where the version information and the browser of the browser kernel
The first abnormal closing information matched.
Step 803, if server side determines according to the module information and its running environment information for causing and closing extremely
Causing the number that same type is closed extremely under identical running environment by same component is more than preset threshold, then according to described group
The information of part, which generates, prevents load instruction, and prevention load instruction is issued to browser side, and the browser side is used for
Instruction is loaded according to the prevention to prevent to load the component.
Server side is after inquiring the first abnormal closing information of the browser of server side record, to these
Abnormal closing information is analyzed, if determined according to the module information and its running environment information for causing and closing extremely
Causing number that same type is closed extremely under identical running environment by same component is more than preset threshold, then the component be can
The component that browser can be caused to close extremely, therefore then server side can prevent load from referring to according to the generation of the information of the component
It enables, and prevention load instruction is issued to browser side, the browser side is used to load instruction resistance according to the prevention
Only load the component.
In one preferred embodiment of the invention, step 803 can specifically include following sub-step:
Sub-step S31, the information according to the component determine whether the component is non-critical component;If so, generating
Prevent load instruction.
If server side determines that the component is non-critical component, illustrate that browser side can prevent to load the group
Part, server side, which will generate, at this time prevents load instruction.
In the concrete realization, unstable component list can be configured in server side in advance, which can
With according to component, whether key is configured, no longer it is described in detail herein for specific configuration process.In the unstable component list
It may include the information such as the title, the version of component, the MD5 value of component of component.In one preferred embodiment of the invention, on
The decision process for stating sub-step S31 can be with are as follows: searches in preconfigured unstable component list with the presence or absence of the component
Information;If it exists, it is determined that the component is non-critical component;If it does not exist, it is determined that the component is key component.
For example, if according to the module information closed extremely and its running environment letter is caused in first abnormal closing information
Breath determines that abnormal closing information is " to cause entitled superfine product five, version 4.0.0.950, MD5 of the component closed extremely
Value is x, and the operating system version when assembly operating is windows XP, and browser kernel version is that this of IE7 " closes extremely
The number closed is more than preset threshold, and determines that the component is non-critical component according to the information of the component, then can be according to
It is generated according to the information " component Name is superfine product five, version 4.0.0.950, MD5 value is x " of the component and prevents load instruction.
Certainly, if in abnormal closing information further including the type closed extremely and anomaly parameter value, according to
The type and exception for first causing the module information closed extremely and its running environment information in exception closing information, closing extremely
Parameter value is determined.Such as determine that abnormal closing information is " to cause entitled superfine product five, the version of the component closed extremely
It is x for 4.0.0.950, MD5 value, the operating system version when assembly operating is windows XP, and browser kernel version is
IE7, the type closed extremely are EXCEPTION_ACCESS_VIOLATION, and anomaly parameter value (memory address offset) is
20 " this number closed extremely is more than preset threshold, and determines that the component is non-pass according to the information of the component
Key asembly can then generate according to the information of the component and prevent load instruction.
Browser side can load instruction according to the prevention and prevent load institute after receiving above-mentioned prevention load instruction
Component is stated, that is, prevents the component for loading above-mentioned entitled superfine product five, version 4.0.0.950, MD5 value is x.
Step 804, when the information according to the component determines the component for key component, prompt version updating is generated
Instruction.
If server side determines that the component (is determined using the decision process of above-mentioned sub-step S31 for key component
The component is key component), such as " component Name is superfine product five, version is according to the information of the component
4.0.0.950, MD5 value is that x " determines that the component is key component, then illustrates that browser side cannot prevent to load the component, this
When server side will generate prompt version updating instruction.
Step 805, the instruction of the prompt version updating is issued to browser side, the browser side is also used to foundation
The instruction of the prompt version updating loads the component, and shows the prompt information that the component version updates.
The instruction of the prompt version updating of generation is issued to browser side by server side, and browser side can be mentioned according to this
Show that the instruction of version updating loads the component, that is, loads above-mentioned entitled superfine product five, version 4.0.0.950, MD5 value is
The component of x, and show the prompt information that the component version updates, user can update the component according to the prompt information
Version.
Step 806, when the information according to the component determines the component for uneasy whole assembly, blacklist write-in is generated
Instruction.
If server side determines that the component is uneasy whole assembly, such as according to the information " component Name of the component
It is that x " determines that the component is uneasy whole assembly for superfine product five, version 4.0.0.950, MD5 value, then illustrates that browser side can
With prevent load the component, and the component be it is unsafe, at this time server side will generate blacklist write instruction.
In the concrete realization, uneasy whole assembly list can be configured in server side in advance, which can
To be configured according to component with the presence or absence of situations such as wooden horse, virus, no longer it is described in detail herein for specific configuration process.This is not
Stablizing in component list also may include the information such as the title, the version of component, the MD5 value of component of component.Of the invention one
In kind of preferred embodiment, it is above-mentioned can be with to the decision process of uneasy whole assembly are as follows: search preconfigured uneasy whole assembly list
In whether there is the component information;If it exists, it is determined that the component is uneasy whole assembly;If it does not exist, it is determined that institute
Stating component is security component.
Step 807, the blacklist write instruction is issued to browser side, the browser side is also used to according to described in
Blacklist write instruction prevents to load the component, and the component is written to the blacklist of browser side.
The blacklist write instruction is issued to browser side by server side, and browser side can be write according to the blacklist
Enter instruction to prevent to load the component, that is, preventing the above-mentioned entitled superfine product five of load, version 4.0.0.950, MD5 value is x
Component, and by the component write-in browser side blacklist.
It should be noted that step 803, step 804 and step 806 are not offered as executing in the order described above, actually
3 steps are the step of execution side by side.
In one preferred embodiment of the invention, determine that the component is according to the information of the component in server side
, can also be by the blacklist of the component write service device side when uneasy whole assembly, server side can not execute above-mentioned step at this time
Rapid 806 and step 807, it need to only notify the browser side component for uneasy whole assembly, browser side is also used to prevent to load
The component.Certainly, in this case, server side still can execute above-mentioned steps 806 and step 807, and the present invention is implemented
Example to this and it is without restriction.
Above-described embodiment 4 and embodiment 5 are the descriptions that the processing method closed extremely from server side needle browser carries out,
It is described below by embodiment 6 from browser side.
Referring to Fig. 9, shows the processing method that a kind of browser according to an embodiment of the invention is closed extremely and implement
The step flow chart of example 6, can specifically include following steps:
Step 901, when browser is closed extremely, the abnormal closing information of the browser is uploaded to server side.
Wherein, the abnormal closing information may include causing the module information closed extremely and its running environment information.
Step 902, when restarting after browser is closed extremely, load pop-up shows that the prompt for whether entering safe mode is believed
Breath.
In embodiments of the present invention, when restarting after browser is closed extremely, pop-up can be loaded and show whether enter peace
Two buttons of "Yes" and "No" can be set for selection by the user in pop-up in the prompt information of syntype.When user selects to confirm
Into after safe mode (i.e. click "Yes"), it can execute subsequent step 903;If user does not select to enter safety
Mode (i.e. click "No"), then do not execute subsequent step, restart browser in the conventional mode.
Certainly, above-mentioned prompt information can also be shown using other way in the embodiment of the present invention, and can not also shown
Show above-mentioned prompt information, i.e., when restarting after browser is closed extremely, browser executes step automatically into safe mode
903。
Step 903, the restarting information of the browser is uploaded to server side.
Wherein, where the restarting information may include the version information and the browser of the browser kernel
Facility information.
Step 904, the prevention load instruction that server side issues is received.
The instruction for preventing load instruction from generating for the server side according to the information of component, the component are in phase
It is more than the component of preset threshold with the number that initiation same type is closed extremely under running environment, it is described under identical running environment
The first abnormal closing information for causing the browser that the number that same type is closed extremely is recorded from the server side obtains
?;The first abnormal closing information, which is inquired by the server side according to the restarting information, to be obtained, the server sidelights
The first abnormal closing information of the browser of record can be version information and the browsing with the browser kernel
The first abnormal closing information that facility information where device matches.
Step 905, instruction is loaded according to the prevention to prevent to load the component.
The prevention load instruction can be that the server side determines that the component is in the information according to the component
The prevention load instruction generated when non-critical component.
Step 906, receive it is that server side issues, determine that the component is key component in the information according to the component
The instruction of the prompt version updating of Shi Shengcheng, the instruction according to the prompt version updating load the component, and described in display
The prompt information that component version updates.
In the concrete realization, the prompt information that the component version updates can be component version described in prompt customer upgrade
Information, alternatively, the version of the component is changed to the information of stable release by prompt user;It can be in a browser with yellow
The mode display reminding information for prompting item, alternatively, the display reminding information in a manner of prompting message frame in a browser.The present invention
Embodiment to this and it is without restriction.
Step 907, receive it is that server side issues, determine that the component is dangerous group in the information according to the component
The blacklist write instruction generated when part prevents to load the component according to the blacklist write instruction, and by the component
The blacklist of browser side is written.
It should be noted that step 904, step 906 and step 907 are not offered as executing in the order described above, actually
3 steps are the step of execution side by side.
In the embodiment of the present invention 6 when restarting after browser is closed extremely, it can be can choose with display reminding information, user
Whether enter safe mode, subsequent treatment process can be executed after confirmation enters safe mode.And server side can
Different instructions is generated with the information according to different components, the different instruction that browser side is then issued according to server side executes
Corresponding operation, so that abnormal closing again will not be caused by the same token again after browser is restarted, from root
Solve the problems, such as that browser is closed extremely on this.
Above-described embodiment 4 and embodiment 5 are described from server side, and embodiment 6 is described from browser side.
In the following, the processing method that browser is closed extremely is described from entirety, this method can specifically include following steps:
The abnormal closing information of the browser is uploaded to server side when closing extremely by step A, browser side;
Step B, server side receive and record the abnormal of the browser that browser side is uploaded when closing extremely and close
Close information;
Step C, when restarting after closing extremely, load pop-up shows that the prompt for whether entering safe mode is believed for browser side
Breath;
When user's confirmation enters safe mode, subsequent step D is executed.
The restarting information of the browser is uploaded to server side by step D, browser side;
Step E, the browser that server side reception browser side is uploaded when restarting after closing extremely restart letter
Breath, the first abnormal closing information of the browser according to restarting information query service device sidelights record;
Step F, if server side causes the module information and its running environment information closed extremely according to described, determine by
It is more than preset threshold that same component causes the number that same type is closed extremely under identical running environment, then according to the component
Information generate prevent load instruction, and by preventions load instruct be issued to browser side;
Step G, browser, which flanks, receives the prevention load instruction that server side issues, and loads instruction resistance according to the prevention
Only load the component;
Step H, server side generate prompt version when the information according to the component determines the component for key component
The instruction of this update, and the instruction of the prompt version updating is issued to browser side;
Step I, browser flank receive it is that server side issues, determine that the component is to close in the information according to the component
The instruction of the prompt version updating generated when key asembly, the instruction according to the prompt version updating loads the component, and shows
Show the prompt information that the component version updates;
Step J, server side generate black name when the information according to the component determines the component for uneasy whole assembly
Single write instruction, and the blacklist write instruction is issued to browser side;
In one preferred embodiment of the invention, determine that the component is according to the information of the component in server side
, can also be by the blacklist of the component write service device side when uneasy whole assembly, server side can not be by the black name at this time
Single write instruction is issued to browser side, need to only notify the browser side component for uneasy whole assembly, browser side is also used
The component is loaded in prevention.Certainly, in this case, the blacklist write instruction still can be issued to by server side
Browser side, the embodiment of the present invention to this and it is without restriction.
Step K, browser flank receive it is that server side issues, determine that the component is not in the information according to the component
The blacklist write instruction generated when security component prevents to load the component according to the blacklist write instruction, and by institute
State the blacklist of component write-in browser side.
For aforementioned approaches method embodiment, for simple description, therefore, it is stated as a series of action combinations, still
Those skilled in the art should understand that embodiment of that present invention are not limited by the describe sequence of actions, because according to this hair
Bright embodiment, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know that,
The embodiments described in the specification are all preferred embodiments, and the related movement not necessarily embodiment of the present invention must
Must.
Referring to Fig.1 0, a kind of structural block diagram of server example 2 according to an embodiment of the invention is shown, it is described
Server is communicated with browser, and the server may include following module:
Logging modle 1001 is received, the browser uploaded suitable for receiving and recording browser side when closing extremely
Abnormal closing information.
Enquiry module 1002 is received, suitable for receiving the browser uploaded when browser side is restarted after closing extremely
Restarting information, the first abnormal closing information of the browser according to restarting information query service device sidelights record;
In one preferred embodiment of the invention, the restarting information include the version information of the browser kernel with
And the facility information where the browser;The first abnormal closing information of the browser of server side record is,
Believe with first abnormal close that the facility information where the version information and the browser of the browser kernel matches
Breath.
First generation module 1003, suitable for causing the module information and its operation closed extremely according to described in server side
Environmental information determines that causing the number that same type is closed extremely under identical running environment by same component is more than preset threshold
When, the information according to the component, which generates, prevents load instruction;
First issues module 1004, and suitable for prevention load instruction is issued to browser side, the browser side is used
It prevents to load the component in loading instruction according to the prevention;
Second generation module 1005, it is raw suitable for when the information according to the component determines the component for key component
At the instruction of prompt version updating;
Second issues module 1006, suitable for the instruction of the prompt version updating is issued to browser side, the browsing
Device side is also used to load the component according to the instruction of the prompt version updating, and shows the prompt that the component version updates
Information;
Third generation module 1007, suitable for when the information according to the component determines the component for uneasy whole assembly,
Generate blacklist write instruction;
Third issues module 1008, suitable for the blacklist write instruction is issued to browser side, the browser side
It is also used to prevent to load the component according to the blacklist write instruction, and the component is written to the black name of browser side
It is single.
Writing module 1009, suitable for when the information according to the component determines the component for uneasy whole assembly, by institute
The blacklist of component write service device side is stated, the browser side is also used to prevent to load the component.
In one preferred embodiment of the invention, first generation module is further adapted for: the information according to the component
Determine whether the component is non-critical component;Load instruction is prevented if so, generating.First generation module is further adapted for:
Search the information that whether there is the component in preconfigured unstable component list;If it exists, it is determined that the component is
Non-critical component;If it does not exist, it is determined that the component is key component.
In one preferred embodiment of the invention, it may include being pacified by Flash, third party that the browser is closed extremely
Whole assembly or browser internal component are third party software, hierarchical service provides program LSP, plug-in unit, extension, graphics processor
Any one or more caused abnormal closings in GPU acceleration.
The exception closing information may include causing the module information closed extremely and its running environment information.It is described to draw
Send out the MD5 value that the module information closed extremely may include: the title of the component, the version of the component and the component;
Operating system version and institute when the running environment information for causing the component closed extremely may include: the assembly operating
State browser kernel version when assembly operating.The exception closing information can also include the type closed extremely and different
Normal parameter value, the type closed extremely may include access violation EXCEPTION_ACCESS_VIOLATION, except zero is wrong
Accidentally, memory exhausts and debugging breakpoints;When the type closed extremely is access violation, the anomaly parameter value may include
Memory address offset.
For above-mentioned server example 2, since it is basically similar to the method embodiment, so the comparison of description is simple
Single, related place illustrates referring to the part of embodiment of the method shown in Fig. 7, Fig. 8 and Fig. 9.
Referring to Fig.1 1, a kind of structural block diagram of browser embodiment 2 according to an embodiment of the invention is shown, it is described
Browser and server communication, the browser may include following module:
Second uploading module 1101 is suitable for when browser is closed extremely, will be on the abnormal closing information of the browser
Reach server side;
Pop-up display module 1102, suitable for loading before restarting information is uploaded to server side by the first uploading module
Pop-up shows the prompt information for whether entering safe mode;
And after user's confirmation enters safe mode, call first uploading module.
First uploading module 1103, when suitable for restarting after browser extremely closing, by the restarting information of the browser
It is uploaded to server side;
First receiving module 1104, the prevention load instruction issued suitable for receiving server side;
Module 1105 is prevented, is suitable for preventing to load the component according to prevention load instruction;
Second receiving module 1106, suitable for receive server side issue, according to the component information determine described in
The instruction for the prompt version updating that component generates when being key component;
Loaded and displayed module 1107 suitable for loading the component according to the instruction of the prompt version updating, and shows institute
State the prompt information of component version update;
Third receiving module 1108, suitable for receive server side issue, according to the component information determine described in
The blacklist write instruction that component generates when being uneasy whole assembly;
Writing module 1109 is prevented, is suitable for preventing to load the component according to the blacklist write instruction, and will be described
The blacklist of component write-in browser side.
In one preferred embodiment of the invention, the restarting information may include the version letter of the browser kernel
Facility information where breath and the browser;The first abnormal closing information of the browser of the server side record
It can be the first exception to match with the facility information where the version information and the browser of the browser kernel
Closing information.
The instruction for preventing load instruction from generating for the server side according to the information of component, the specially described service
The prevention load that device side determines the component in the information according to the component to generate when non-critical component instructs.The component
It is described in identical operation to cause the component that the number that same type is closed extremely is more than preset threshold under identical running environment
Cause the first abnormal closing for the browser that the number that same type is closed extremely is recorded from the server side under environment
Information acquisition, the exception closing information includes causing the module information closed extremely and its running environment information;It is described first
Abnormal closing information is inquired according to the restarting information by the server side and is obtained.
For above-mentioned browser embodiment 2, since it is basically similar to the method embodiment, so the comparison of description is simple
Single, related place illustrates referring to the part of embodiment of the method shown in Fig. 7, Fig. 8 and Fig. 9.
The present invention also provides a kind of processing systems that browser is closed extremely, can specifically include browser and service
Device, wherein illustrate for the description of server referring to the part of above-mentioned server example 2 shown in Fig. 10;For clear
Look at device description browser embodiment 2 referring to shown in above-mentioned Figure 11 part explanation.
In the present invention, when restarting after browser is closed extremely, the first exception of reading browser sidelights record first is closed
Information;Then according to the module information and its running environment information closed extremely is caused, determine by same component in identical fortune
When the number that initiation same type is closed extremely under row environment is more than preset threshold, the information of component is sent to server side;
The prevention load instruction of information generation that server side issues, according to component is finally received, and instructs resistance according to preventing to load
Only charging assembly.It is different that the present invention causes same type before can preventing to load when browser is restarted under identical running environment
The number often closed is more than the component of preset threshold, to will not cause by the same token again again after browser is restarted
Secondary abnormal closing, fundamentally solves the problems, such as that browser is closed extremely.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein.
Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system
Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various
Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect
Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself
All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment
Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any
Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed
All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
Meaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors
Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice
Microprocessor or digital signal processor (DSP) realize processing side that browser according to an embodiment of the present invention is closed extremely
The some or all functions of some or all components in method, system, server and browser.The present invention can also realize
It is some or all device or device programs for executing method as described herein (for example, computer program
And computer program product).It is such to realize that program of the invention can store on a computer-readable medium, or can have
There is the form of one or more signal.Such signal can be downloaded from an internet website to obtain, or in carrier signal
Upper offer, or be provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability
Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch
To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame
Claim.
Claims (35)
1. a kind of processing method that browser is closed extremely, comprising:
The restarting information for receiving the browser that browser side is uploaded when restarting after closing extremely, according to the restarting information
The first abnormal closing information of the browser of query service device sidelights record;The exception closing information includes causing abnormal close
The module information and its running environment information closed;
If server side is existed according to the module information and its running environment information for causing and closing extremely, judgement by same component
Causing the number that same type is closed extremely under identical running environment is more than preset threshold, then generates according to the information of the component
Load instruction is prevented, and prevention load instruction is issued to browser side, the browser side is used for according to the prevention
Load instruction prevents to load the component;
The method also includes: when the information according to the component determines the component for key component, generate prompt version
The instruction of update;The instruction of the prompt version updating is issued to browser side, the browser side is also used to according to described in
It prompts the instruction of version updating to load the component, and shows the prompt information that the component version updates.
2. the method as described in claim 1, which is characterized in that the information according to the component, which generates, prevents load instruction
The step of include:
Information according to the component determines whether the component is non-critical component;
Load instruction is prevented if so, generating.
3. method according to claim 1 or 2, which is characterized in that further include:
When the information according to the component determines the component for uneasy whole assembly, blacklist write instruction is generated;
The blacklist write instruction is issued to browser side, the browser side, which is also used to be written according to the blacklist, to be referred to
It enables and prevents to load the component, and the component is written to the blacklist of browser side.
4. the method as described in claim 1, which is characterized in that further include:
When the information according to the component determines the component for uneasy whole assembly, by the black of the component write service device side
List, the browser side are also used to prevent to load the component.
5. method according to claim 2, which is characterized in that whether the information according to the component determines the component
Include: for the step of non-critical component
Search the information that whether there is the component in preconfigured unstable component list;
If it exists, it is determined that the component is non-critical component;
If it does not exist, it is determined that the component is key component.
6. the method as described in claim 1, which is characterized in that it includes being pacified by Flash, third party that the browser is closed extremely
Whole assembly or browser internal component are third party software, hierarchical service provides program LSP, plug-in unit, extension, graphics processor
Any one or more caused abnormal closings in GPU acceleration.
7. the method as described in claim 1, which is characterized in that further include:
Receive and record the abnormal closing information for the browser that browser side is uploaded when closing extremely.
8. the method as described in claim 1, which is characterized in that the module information closed extremely that causes includes: described group
The MD5 value of the title of part, the version of the component and the component;The running environment information for causing the component closed extremely
Browser kernel version when operating system version and assembly operating when including: the assembly operating.
9. method as claimed in claim 1 or 8, which is characterized in that the exception closing information further includes the class closed extremely
Type and anomaly parameter value, the type closed extremely include access violation EXCEPTION_ACCESS_VIOLATION, institute
Stating anomaly parameter value includes memory address offset.
10. method as claimed in claim 9, which is characterized in that the type closed extremely further include: except zero error, interior
It deposits and exhausts and debugging breakpoints.
11. the method as described in claim 1, which is characterized in that the restarting information includes the version of the browser kernel
Facility information where information and the browser;First abnormal close of the browser of the server side record is believed
Breath is the first abnormal pass to match with the facility information where the version information and the browser of the browser kernel
Close information.
12. a kind of processing method that browser is closed extremely, comprising:
When restarting after browser is closed extremely, the restarting information of the browser is uploaded to server side;
Receive the prevention load instruction that server side issues;The letter that load instruction is prevented for the server side according to component
The instruction generated is ceased, the component is that the number that initiation same type is closed extremely under identical running environment is more than preset threshold
Component, the number closed extremely of same type that causes under identical running environment is from described in server side record
The first abnormal closing information of browser obtains, and the exception closing information includes causing the module information and its fortune closed extremely
Row environmental information;The first abnormal closing information, which is inquired by the server side according to the restarting information, to be obtained;
Instruction is loaded according to the prevention to prevent to load the component;
The method also includes: receive it is that server side issues, determine that the component is key in the information according to the component
The instruction of the prompt version updating generated when component, the instruction according to the prompt version updating loads the component, and shows
The prompt information that the component version updates.
13. method as claimed in claim 12, which is characterized in that prevention load instruction is, the server side according to
The prevention load for determining the component according to the information of the component to generate when non-critical component instructs.
14. method as described in claim 12 or 13, which is characterized in that further include:
Receive it is that server side issues, in the information according to the component determine that the component is black for what is generated when uneasy whole assembly
List write instruction prevents to load the component according to the blacklist write instruction, and browser side is written in the component
Blacklist.
15. method as claimed in claim 12, which is characterized in that further include:
When browser is closed extremely, the abnormal closing information of the browser is uploaded to server side.
16. method as claimed in claim 12, which is characterized in that the module information closed extremely that causes includes: described
The MD5 value of the title of component, the version of the component and the component;The running environment letter for causing the component closed extremely
Browser kernel version when operating system version and assembly operating when breath includes: the assembly operating.
17. method as claimed in claim 12, which is characterized in that the restarting information includes the version of the browser kernel
Facility information where information and the browser;First abnormal close of the browser of the server side record is believed
Breath is the first abnormal pass to match with the facility information where the version information and the browser of the browser kernel
Close information.
18. a kind of server, comprising:
Enquiry module is received, the browser uploaded when restarting after closing extremely suitable for reception browser side restarts letter
Breath, the first abnormal closing information of the browser according to restarting information query service device sidelights record;The abnormal pass
Closing information includes causing the module information closed extremely and its running environment information;
First generation module, suitable for causing the module information closed extremely and its running environment letter according to described in server side
Breath, when determining that causing the number that same type is closed extremely under identical running environment by same component is more than preset threshold, according to
It is generated according to the information of the component and prevents load instruction;
First issues module, and suitable for prevention load instruction is issued to browser side, the browser side is used for according to institute
Prevention load instruction is stated to prevent to load the component;
The server further include:
Second generation module, suitable for generating prompt version when the information according to the component determines the component for key component
The instruction of this update;
Second issues module, and suitable for the instruction of the prompt version updating is issued to browser side, the browser side is also used
The component is loaded in the instruction according to the prompt version updating, and shows the prompt information that the component version updates.
19. server as claimed in claim 18, which is characterized in that first generation module is further adapted for:
Information according to the component determines whether the component is non-critical component;Load instruction is prevented if so, generating.
20. the server as described in claim 18 or 19, which is characterized in that further include:
Third generation module, suitable for generating black name when the information according to the component determines the component for uneasy whole assembly
Single write instruction;
Third issues module, suitable for the blacklist write instruction is issued to browser side, the browser side be also used to according to
It prevents to load the component according to the blacklist write instruction, and the component is written to the blacklist of browser side.
21. server as claimed in claim 18, which is characterized in that further include:
Writing module, suitable for when the information according to the component determines the component for uneasy whole assembly, the component is write
Enter the blacklist of server side, the browser side is also used to prevent to load the component.
22. server as claimed in claim 19, which is characterized in that first generation module is further adapted for:
Search the information that whether there is the component in preconfigured unstable component list;
If it exists, it is determined that the component is non-critical component;
If it does not exist, it is determined that the component is key component.
23. server as claimed in claim 18, which is characterized in that it includes by Flash, third that the browser is closed extremely
Square security component or browser internal component are third party software, hierarchical service provides program LSP, plug-in unit, extension, graphics process
Any one or more caused abnormal closings in device GPU acceleration.
24. server as claimed in claim 18, which is characterized in that further include:
Logging modle is received, is closed suitable for receiving and recording the abnormal of the browser that browser side is uploaded when closing extremely
Information.
25. server as claimed in claim 18, which is characterized in that the module information closed extremely that causes includes: institute
State the MD5 value of the title of component, the version of the component and the component;The running environment for causing the component closed extremely
Browser kernel version when operating system version and assembly operating when information includes: the assembly operating.
26. the server as described in claim 18 or 25, which is characterized in that the exception closing information further includes, abnormal to close
The type and anomaly parameter value closed, the type closed extremely include access violation EXCEPTION_ACCESS_
VIOLATION, the anomaly parameter value include memory address offset.
27. server as claimed in claim 26, which is characterized in that the type closed extremely further include: except zero error,
Memory exhausts and debugging breakpoints.
28. server as claimed in claim 18, which is characterized in that the restarting information includes the version of the browser kernel
Facility information where this information and the browser;The first abnormal closing of the browser of the server side record
Information is the first exception to match with the facility information where the version information and the browser of the browser kernel
Closing information.
29. a kind of browser, comprising:
First uploading module, suitable for when restarting after browser is closed extremely, the restarting information of the browser is uploaded to clothes
Business device side;
First receiving module, the prevention load instruction issued suitable for receiving server side;The prevention load instruction is the clothes
The instruction that the information of device side foundation component of being engaged in generates, the component are to cause same type closing extremely under identical running environment
Number be more than preset threshold component, the number closed extremely of same type that causes under identical running environment is from described
The first abnormal closing information of the browser of server side record obtains, and the exception closing information includes causing abnormal close
The module information and its running environment information closed;The first abnormal closing information restarts letter according to described in as the server side
Breath inquiry obtains;
Module is prevented, is suitable for preventing to load the component according to prevention load instruction;
The browser further include:
Second receiving module, suitable for receive it is that server side issues, determine that the component is to close in the information according to the component
The instruction of the prompt version updating generated when key asembly;
Loaded and displayed module suitable for loading the component according to the instruction of the prompt version updating, and shows the component version
The prompt information of this update.
30. browser as claimed in claim 29, which is characterized in that the prevention load instruction is that the server side exists
Information according to the component determines the component for the prevention load instruction generated when non-critical component.
31. the browser as described in claim 29 or 30, which is characterized in that further include:
Third receiving module, suitable for receive it is that server side issues, determine that the component is not in the information according to the component
The blacklist write instruction generated when security component;
Writing module is prevented, is suitable for preventing to load the component according to the blacklist write instruction, and the component is written
The blacklist of browser side.
32. browser as claimed in claim 29, which is characterized in that further include:
Second uploading module is suitable for that the abnormal closing information of the browser is uploaded to service when browser is closed extremely
Device side.
33. browser as claimed in claim 29, which is characterized in that the module information closed extremely that causes includes: institute
State the MD5 value of the title of component, the version of the component and the component;The running environment for causing the component closed extremely
Browser kernel version when operating system version and assembly operating when information includes: the assembly operating.
34. browser as claimed in claim 29, which is characterized in that the restarting information includes the version of the browser kernel
Facility information where this information and the browser;The first abnormal closing of the browser of the server side record
Information is the first exception to match with the facility information where the version information and the browser of the browser kernel
Closing information.
35. a kind of processing system that browser is closed extremely, including the service as described in any one of claim 18 to 28
Device and the browser as described in any one of claim 29 to 34.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610823023.1A CN106453509B (en) | 2013-10-22 | 2013-10-22 | Processing method that browser is closed extremely, system, browser and server |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310499970.6A CN103595765B (en) | 2013-10-22 | 2013-10-22 | The processing method of the abnormal closedown of browser, system, browser and server |
CN201610823023.1A CN106453509B (en) | 2013-10-22 | 2013-10-22 | Processing method that browser is closed extremely, system, browser and server |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310499970.6A Division CN103595765B (en) | 2013-10-22 | 2013-10-22 | The processing method of the abnormal closedown of browser, system, browser and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106453509A CN106453509A (en) | 2017-02-22 |
CN106453509B true CN106453509B (en) | 2019-06-04 |
Family
ID=50085745
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610823023.1A Active CN106453509B (en) | 2013-10-22 | 2013-10-22 | Processing method that browser is closed extremely, system, browser and server |
CN201310499970.6A Active CN103595765B (en) | 2013-10-22 | 2013-10-22 | The processing method of the abnormal closedown of browser, system, browser and server |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310499970.6A Active CN103595765B (en) | 2013-10-22 | 2013-10-22 | The processing method of the abnormal closedown of browser, system, browser and server |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN106453509B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106919500A (en) * | 2015-12-24 | 2017-07-04 | 北京奇虎科技有限公司 | It is a kind of to position the method and apparatus that browser occurs abnormal root |
CN106919573A (en) * | 2015-12-24 | 2017-07-04 | 北京奇虎科技有限公司 | A kind of method and apparatus for restarting browser |
CN105930247B (en) * | 2016-04-14 | 2018-09-04 | 北京小米移动软件有限公司 | Processing method, device and the mobile terminal of system reboot problem |
CN106326025A (en) * | 2016-08-23 | 2017-01-11 | 乐视控股(北京)有限公司 | Method and device for processing abnormality of browser |
CN106528079A (en) * | 2016-09-23 | 2017-03-22 | 北京五八信息技术有限公司 | Method and device for monitoring running state of React Native code |
CN107783795B (en) * | 2017-07-26 | 2021-05-28 | 深圳壹账通智能科技有限公司 | Application program starting method and device, computer equipment and storage medium |
CN107908961B (en) * | 2017-10-26 | 2021-10-19 | 深信服科技股份有限公司 | Malicious webpage detection method, equipment and storage medium based on virtualization |
CN109901950A (en) * | 2019-03-01 | 2019-06-18 | 山东浪潮商用系统有限公司 | A kind of method and device for evading application crash |
CN112749059A (en) * | 2021-01-13 | 2021-05-04 | 叮当快药科技集团有限公司 | Front-end abnormity monitoring method, device and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102081709A (en) * | 2009-12-01 | 2011-06-01 | 联想(北京)有限公司 | Method and device for disabling browser plug-in and terminal |
CN102722559A (en) * | 2012-05-31 | 2012-10-10 | 奇智软件(北京)有限公司 | Method, device and system for controlling processes of abnormal pages |
CN103034495A (en) * | 2012-12-12 | 2013-04-10 | 北京奇虎科技有限公司 | Browser capable of isolating plug-in in webpage and webpage plug-in isolating method |
CN103078945A (en) * | 2013-01-07 | 2013-05-01 | 北京奇虎科技有限公司 | Method and system for processing browser crash data |
CN103268442A (en) * | 2013-05-14 | 2013-08-28 | 北京奇虎科技有限公司 | Method and device for achieving safe access of video websites |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4343578B2 (en) * | 2003-05-08 | 2009-10-14 | 株式会社日立製作所 | Storage operation management system |
US8453245B2 (en) * | 2006-12-29 | 2013-05-28 | Microsoft Corporation | Automatic vulnerability detection and response |
EP2144421A1 (en) * | 2008-07-08 | 2010-01-13 | Gemplus | Method for managing an access from a remote device to data accessible from a local device and corresponding system |
CN101551753B (en) * | 2009-04-08 | 2012-04-25 | 腾讯科技(北京)有限公司 | Device for controlling loading of plug-in and method |
CN102722439B (en) * | 2012-06-01 | 2015-07-08 | 北京奇虎科技有限公司 | Method, device and system for improving running stability of FLASH assembly |
-
2013
- 2013-10-22 CN CN201610823023.1A patent/CN106453509B/en active Active
- 2013-10-22 CN CN201310499970.6A patent/CN103595765B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102081709A (en) * | 2009-12-01 | 2011-06-01 | 联想(北京)有限公司 | Method and device for disabling browser plug-in and terminal |
CN102722559A (en) * | 2012-05-31 | 2012-10-10 | 奇智软件(北京)有限公司 | Method, device and system for controlling processes of abnormal pages |
CN103034495A (en) * | 2012-12-12 | 2013-04-10 | 北京奇虎科技有限公司 | Browser capable of isolating plug-in in webpage and webpage plug-in isolating method |
CN103078945A (en) * | 2013-01-07 | 2013-05-01 | 北京奇虎科技有限公司 | Method and system for processing browser crash data |
CN103268442A (en) * | 2013-05-14 | 2013-08-28 | 北京奇虎科技有限公司 | Method and device for achieving safe access of video websites |
Also Published As
Publication number | Publication date |
---|---|
CN103595765B (en) | 2016-11-09 |
CN103595765A (en) | 2014-02-19 |
CN106453509A (en) | 2017-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106453509B (en) | Processing method that browser is closed extremely, system, browser and server | |
CN103595708B (en) | The browser processing method of closing, system, browser and server extremely | |
Li et al. | Here's what I did: Sharing and reusing web activity with ActionShot | |
CN106415480B (en) | High-speed application for installation on a mobile device for enabling remote configuration of the mobile device | |
CN104102643B (en) | A kind of method and apparatus for carrying out page snapshot | |
Rossel | Continuous Integration, Delivery, and Deployment: Reliable and faster software releases with automating builds, tests, and deployment | |
KR20200052957A (en) | Security control method and computer system | |
CN103117893B (en) | A kind of monitoring method of network access behavior, device and a kind of client device | |
Dauzon et al. | Django: web development with Python | |
JP2013545172A (en) | Device and method for providing a software program adapted to a computer system downloaded by a user | |
CN104050417A (en) | Method and device for detecting software states at mobile terminal | |
CN108234480A (en) | Intrusion detection method and device | |
JP2017522639A5 (en) | ||
CN104699554B (en) | Software repair, apparatus and system | |
CN106693366B (en) | Method and device for verifying operation validity and method and device for reinforcing installation package | |
CN114996955A (en) | Target range environment construction method and device for cloud-originated chaotic engineering experiment | |
CN105590058B (en) | The detection method and device of virtual machine escape | |
Coutermarsh | Heroku Cookbook | |
US11354081B2 (en) | Information processing apparatus with concealed information | |
Hallé et al. | Exhaustive exploration of ajax web applications with selective jumping | |
Gilmore | Easy Laravel 5 | |
Friesel | PhantomJS Cookbook | |
CN105740108B (en) | A method of passing through network diagnosis computer | |
Nutile | Laravel 5. x cookbook | |
Shepard et al. | PowerShell: Automating Administrative Tasks |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220714 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: Qizhi software (Beijing) Co.,Ltd. |
|
TR01 | Transfer of patent right |