CN103595765B - The processing method of the abnormal closedown of browser, system, browser and server - Google Patents
The processing method of the abnormal closedown of browser, system, browser and server Download PDFInfo
- Publication number
- CN103595765B CN103595765B CN201310499970.6A CN201310499970A CN103595765B CN 103595765 B CN103595765 B CN 103595765B CN 201310499970 A CN201310499970 A CN 201310499970A CN 103595765 B CN103595765 B CN 103595765B
- Authority
- CN
- China
- Prior art keywords
- information
- browser
- assembly
- abnormal
- 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
- 230000002159 abnormal effect Effects 0.000 title claims abstract description 393
- 238000003672 processing method Methods 0.000 title claims abstract description 26
- 238000000034 method Methods 0.000 claims abstract description 95
- 230000002265 prevention Effects 0.000 claims abstract description 85
- 230000008569 process Effects 0.000 claims description 30
- 230000005540 biological transmission Effects 0.000 claims description 16
- 238000012545 processing Methods 0.000 claims description 13
- 230000009471 action Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 230000007613 environmental effect Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000000977 initiatory effect Effects 0.000 description 3
- 241000700605 Viruses Species 0.000 description 2
- 238000013459 approach Methods 0.000 description 2
- 230000000712 assembly Effects 0.000 description 2
- 238000000429 assembly Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000008439 repair process Effects 0.000 description 2
- GNFTZDOKVXKIBK-UHFFFAOYSA-N 3-(2-methoxyethoxy)benzohydrazide Chemical compound COCCOC1=CC=CC(C(=O)NN)=C1 GNFTZDOKVXKIBK-UHFFFAOYSA-N 0.000 description 1
- FGUUSXIOTUKUDN-IBGZPJMESA-N C1(=CC=CC=C1)N1C2=C(NC([C@H](C1)NC=1OC(=NN=1)C1=CC=CC=C1)=O)C=CC=C2 Chemical compound C1(=CC=CC=C1)N1C2=C(NC([C@H](C1)NC=1OC(=NN=1)C1=CC=CC=C1)=O)C=CC=C2 FGUUSXIOTUKUDN-IBGZPJMESA-N 0.000 description 1
- YTAHJIFKAKIKAV-XNMGPUDCSA-N [(1R)-3-morpholin-4-yl-1-phenylpropyl] N-[(3S)-2-oxo-5-phenyl-1,3-dihydro-1,4-benzodiazepin-3-yl]carbamate Chemical compound O=C1[C@H](N=C(C2=C(N1)C=CC=C2)C1=CC=CC=C1)NC(O[C@H](CCN1CCOCC1)C1=CC=CC=C1)=O YTAHJIFKAKIKAV-XNMGPUDCSA-N 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001035 drying Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000002347 injection Methods 0.000 description 1
- 239000007924 injection Substances 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 239000000243 solution Substances 0.000 description 1
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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses the processing method of the abnormal closedown of a kind of browser, system, browser and server, to solve the abnormal problem closed of browser.Wherein method includes: receive the restarting information of the browser uploaded when browser side is restarted after abnormal closedown, according to the formerly abnormal closing information of the browser of restarting information inquiry server sidelights record;Abnormal closing information includes module information and the running environment information thereof that exception throw closes;If the module information that server side is closed according to exception throw and running environment information thereof, judge to be caused the abnormal number of times closed of same type to exceed predetermined threshold value under identical running environment by same assembly, then generate to stop according to the information of assembly and load instruction, prevention loading instruction is issued to browser side, and browser side is for according to stoping loading instruction to stop charging assembly.The present invention will not cause again abnormal closedown after browser is restarted the most by the same token, fundamentally solves the abnormal problem closed of browser.
Description
Technical field
The present invention relates to browser technology field, be specifically related to the abnormal process side closed of a kind of browser
Abnormal processing system, a kind of browser and a kind of server closed of method, a kind of browser.
Background technology
Along with becoming increasingly popular of the Internet, routine work and amusement that people are a lot of are all carried out on network,
Web browser is this work of people and amusement provides convenient way.Web browser refers to permissible
File in display web page server or archives economy, and make user soft with the one of these file interactions
Part.It is used for showing word, image and other information in WWW or LAN etc., this
A little words or image, can be the hyperlink connecting other network address, can be rapid by web browser user
And browse various information easily.
But, during using web browser to browse webpage, carry out webpage loading, usually due to
Various reasons makes web browser reaction become very slow, or causes web browser to lose response,
Cause the abnormal closedown of browser eventually, and then possible related whole system all cannot be carried out other operation.Lead
Cause the abnormal reason closed of browser a lot, third party's plug-in unit is installed the most in a browser, due to the 3rd
The compatibility of side plug and browser software is not to arise that problem causes the exception of browser to be closed very well
Close;Or owing to third-party fail-safe software makes browser occur in that abnormal closedown;Or browser
The assembly of self or module (such as GPU(Graphic Processing Unit, graphic process unit) add
Speed assembly) cause browser to occur in that abnormal closedown.
Processing method when closing for browser is abnormal at present is mainly: at browser, abnormal closedown occurs
Time obtain abnormal closing information, and exception closing information is uploaded onto the server, then restarts clear
Look at device.
But, during exception closing information is only uploaded onto the server by said method, therefore at browser
Still be likely to be due to same reason after restarting and cause again abnormal closedown, i.e. said method cannot
Fundamentally solve the abnormal problem closed of browser.
Summary of the invention
In view of the above problems, it is proposed that the present invention is to provide one to overcome the problems referred to above or at least partly
The abnormal processing method closed of a kind of browser that ground solves the problems referred to above is different with corresponding a kind of browser
The normally off processing system closed, and a kind of browser and corresponding a kind of server.
According to one aspect of the present invention, it is provided that the abnormal processing method closed of a kind of browser, including:
Receive the restarting information of the described browser uploaded when browser side is restarted after abnormal closedown, foundation
The formerly abnormal closing information of the described browser of described restarting information inquiry server sidelights record;Described different
Often closing information includes module information and the running environment information thereof that exception throw closes;
If the module information that server side is closed according to described exception throw and running environment information thereof, it is determined that
The abnormal number of times closed of same type is caused to exceed predetermined threshold value under identical running environment by same assembly,
Then stop according to the information generation of described assembly and load instruction, and stop loading instruction to be issued to clear by described
Looking at device side, described browser side is for loading instruction and stop according to described the prevention and load described assembly.
Alternatively, the described information according to described assembly generates and stops the step loading instruction to include:
Judge that described assembly is whether as non-critical component according to the information of described assembly;
The most then generate to stop and load instruction.
Alternatively, described method also includes:
When judging described assembly as key component according to the information of described assembly, generate prompting version updating
Instruction;
The instruction of described prompting version updating is issued to browser side, and described browser side is additionally operable to foundation
The instruction of described prompting version updating loads described assembly, and shows the prompting letter that described component version updates
Breath.
Alternatively, described method also includes:
When judging described assembly as dangerous assembly according to the information of described assembly, generate blacklist write
Instruction;
Described blacklist write instruction is issued to browser side, and described browser side is additionally operable to according to described
Blacklist write instruction stops the described assembly of loading, and by the blacklist of described assembly write browser side.
Alternatively, described method also includes:
When judging described assembly as dangerous assembly according to the information of described assembly, described assembly is write
The blacklist of server side, described browser side is additionally operable to stop and loads described assembly.
Alternatively, the described information according to described assembly judges that described assembly is whether as the step of non-critical component
Suddenly include:
Search the information that whether there is described assembly in the unstable assembly list being pre-configured with;
If existing, it is determined that described assembly is non-critical component;
If not existing, it is determined that described assembly is key component.
Alternatively, the abnormal closedown of described browser includes by Flash, third party's security component or browser
Intraware is third party software, hierarchical service provides program LSP, plug-in unit, extension, graphic process unit
Any one or more exceptions caused during GPU accelerates are closed.
Alternatively, described method also includes:
Receive and record the abnormal closing information of the described browser that browser side is uploaded when abnormal closedown.
Alternatively, the module information that described exception throw is closed includes: the title of described assembly, described group
The version of part and the MD5 value of described assembly;The running environment information of the assembly that described exception throw is closed
Including: browser kernel version when operating system version during described assembly operating and described assembly operating
This.
Alternatively, described abnormal closing information also includes, the abnormal type closed and anomaly parameter value,
The described abnormal type closed includes access violation EXCEPTION_ACCESS_VIOLATION, institute
State anomaly parameter value and include memory address side-play amount.
Alternatively, the described abnormal type closed also includes: except zero error, internal memory exhaust and debug
Breakpoint.
Alternatively, described restarting information includes the version information of described browser kernel and described browser
The facility information at place;The formerly abnormal closing information of the described browser of described server sidelights record is,
With the facility information of the version information of described browser kernel and described browser place match
The most abnormal closing information.
According to a further aspect in the invention, it is provided that the abnormal processing method closed of a kind of browser, including:
When restarting after the abnormal closedown of browser, the restarting information of described browser is uploaded onto the server
Side;
Receive the prevention loading instruction that server side issues;The described prevention loads instruction for described server side
The instruction generated according to the information of assembly, described assembly is to cause same type different under identical running environment
The normally off number of times closed exceedes the assembly of predetermined threshold value, described causes same type different under identical running environment
The formerly abnormal closing information of the described browser that the normally off number of times closed is recorded from described server sidelights obtains,
Described abnormal closing information includes module information and the running environment information thereof that exception throw closes;Described
The most abnormal closing information is obtained according to the inquiry of described restarting information by described server side;
The instruction prevention described assembly of loading is loaded according to described the prevention.
Alternatively, described prevention loads instruction is that described server side is being sentenced according to the information of described assembly
The prevention that fixed described assembly generates when being non-critical component loads instruction.
Alternatively, described method also includes:
Receive server side issue, judging that described assembly is as key component according to the information of described assembly
The instruction of the prompting version updating of Shi Shengcheng, loads described group according to the instruction of described prompting version updating
Part, and show the information that described component version updates.
Alternatively, described method also includes:
Receive server side issue, judging that described assembly is as dangerous group according to the information of described assembly
The blacklist write instruction generated during part, stops according to described blacklist write instruction and loads described assembly,
And by the blacklist of described assembly write browser side.
Alternatively, described method also includes:
When the abnormal closedown of browser, upload onto the server side by the abnormal closing information of described browser.
Alternatively, before the step of side that restarting information is uploaded onto the server, also include:
Load pop-up and display whether to enter the information of safe mode;
After user confirms to enter safe mode, perform the step of the described side that restarting information uploaded onto the server
Suddenly.
Alternatively, the module information that described exception throw is closed includes: the title of described assembly, described group
The version of part and the MD5 value of described assembly;The running environment information of the assembly that described exception throw is closed
Including: browser kernel version when operating system version during described assembly operating and described assembly operating
This.
Alternatively, described restarting information includes the version information of described browser kernel and described browser
The facility information at place;The formerly abnormal closing information of the described browser of described server sidelights record is,
With the facility information of the version information of described browser kernel and described browser place match
The most abnormal closing information.
According to a further aspect in the invention, it is provided that a kind of server, including:
Receive enquiry module, be suitable to receive upload when browser side is restarted after abnormal closedown described in browse
The restarting information of device, according to described browser the most different of described restarting information inquiry server sidelights record
Often closing information;Described abnormal closing information includes module information and the running environment thereof that exception throw closes
Information;
First generation module, be suitable to the module information closed according to described exception throw in server side and
Running environment information, it is determined that caused the abnormal closedown of same type under identical running environment by same assembly
When number of times exceedes predetermined threshold value, generate according to the information of described assembly and stop loading instruction;
First issues module, is suitable to stop loading instruction to be issued to browser side, described browser by described
Side is for stoping loading instruction prevention to load described assembly according to described.
Alternatively, described first generation module is further adapted for:
Judge that described assembly is whether as non-critical component according to the information of described assembly;The most then generate resistance
Only load instruction.
Alternatively, described server also includes:
Second generation module, is suitable to judging that described assembly is as key component according to the information of described assembly
Time, generate the instruction of prompting version updating;
Second issues module, is suitable to the instruction of described prompting version updating is issued to browser side, described
Browser side is additionally operable to load described assembly according to the instruction of described prompting version updating, and shows described group
The information of part version updating.
Alternatively, described server also includes:
3rd generation module, is suitable to judging that described assembly is as dangerous assembly according to the information of described assembly
Time, generate blacklist write instruction;
3rd issues module, is suitable to described blacklist write instruction is issued to browser side, described in browse
Device side is additionally operable to stop according to described blacklist write instruction load described assembly, and is write by described assembly
The blacklist of browser side.
Alternatively, described server also includes:
Writing module, is suitable to when judging described assembly as dangerous assembly according to the information of described assembly,
By the blacklist of described assembly write server side, described browser side is additionally operable to stop and loads described group
Part.
Alternatively, described first generation module is further adapted for:
Search the information that whether there is described assembly in the unstable assembly list being pre-configured with;
If existing, it is determined that described assembly is non-critical component;
If not existing, it is determined that described assembly is key component.
Alternatively, the abnormal closedown of described browser includes by Flash, third party's security component or browser
Intraware is third party software, hierarchical service provides program LSP, plug-in unit, extension, graphic process unit
Any one or more exceptions caused during GPU accelerates are closed.
Alternatively, described server also includes:
Receiving record module, be suitable to receive and record browser side upload when abnormal closedown described in browse
The abnormal closing information of device.
Alternatively, the module information that described exception throw is closed includes: the title of described assembly, described group
The version of part and the MD5 value of described assembly;The running environment information of the assembly that described exception throw is closed
Including: browser kernel version when operating system version during described assembly operating and described assembly operating
This.
Alternatively, described abnormal closing information also includes, the abnormal type closed and anomaly parameter value,
The described abnormal type closed includes access violation EXCEPTION_ACCESS_VIOLATION, institute
State anomaly parameter value and include memory address side-play amount.
Alternatively, the described abnormal type closed also includes: except zero error, internal memory exhaust and debug
Breakpoint.
Alternatively, described restarting information includes the version information of described browser kernel and described browser
The facility information at place;The formerly abnormal closing information of the described browser of described server sidelights record is,
With the facility information of the version information of described browser kernel and described browser place match
The most abnormal closing information.
According to a further aspect in the invention, it is provided that a kind of browser, including:
Transmission module on first, when being suitable to restart after the abnormal closedown of browser, by restarting of described browser
Information uploads onto the server side;
First receiver module, is suitable to receive the prevention loading instruction that server side issues;The described prevention loads
The instruction that instruction generates according to the information of assembly for described server side, described assembly is at identical operation ring
The abnormal number of times closed of same type is caused to exceed the assembly of predetermined threshold value under border, described at identical operation ring
Cause under border the described browser that the abnormal number of times closed of same type records from described server sidelights
First abnormal closing information obtains, described abnormal closing information include module information that exception throw closes and
Running environment information;Described formerly abnormal closing information is looked into according to described restarting information by described server side
Ask and obtain;
Stop module, be suitable to stop loading instruction prevention to load described assembly according to described.
Alternatively, described prevention loads instruction is that described server side is being sentenced according to the information of described assembly
The prevention that fixed described assembly generates when being non-critical component loads instruction.
Alternatively, described browser also includes:
Second receiver module, is suitable to that reception server side issues, in the information judgement according to described assembly
The instruction of the prompting version updating generated when described assembly is key component;
Loaded and displayed module, is suitable to load described assembly according to the instruction of described prompting version updating, and shows
Show the information that described component version updates.
Alternatively, described browser also includes:
3rd receiver module, is suitable to that reception server side issues, in the information judgement according to described assembly
The blacklist write instruction generated when described assembly is dangerous assembly;
Stop writing module, be suitable to stop according to described blacklist write instruction load described assembly, and will
The blacklist of described assembly write browser side.
Alternatively, described browser also includes:
Transmission module on second, is suitable to, when the abnormal closedown of browser, the exception of described browser be closed letter
Cease the side that uploads onto the server.
Alternatively, described browser also includes:
Pop-up display module, is suitable to transmission module on first and restarting information is uploaded onto the server before side,
Load pop-up and display whether to enter the information of safe mode;
And after user confirms to enter safe mode, call transmission module on described first.
Alternatively, the module information that described exception throw is closed includes: the title of described assembly, described group
The version of part and the MD5 value of described assembly;The running environment information of the assembly that described exception throw is closed
Including: browser kernel version when operating system version during described assembly operating and described assembly operating
This.
Alternatively, described restarting information includes the version information of described browser kernel and described browser
The facility information at place;The formerly abnormal closing information of the described browser of described server sidelights record is,
With the facility information of the version information of described browser kernel and described browser place match
The most abnormal closing information.
According to a further aspect in the invention, it is provided that the abnormal processing system closed of a kind of browser, including
Server as above and as mentioned above browser.
In the present invention, when restarting after the abnormal closedown of browser, first read browser sidelights and record formerly
Abnormal closing information;Then in the module information closed according to exception throw and running environment information thereof, sentence
The fixed number of times being caused same type extremely to close under identical running environment by same assembly exceedes default threshold
During value, the information of assembly is sent to server side;Finally receive that server side issues, according to assembly
Information generate prevention load instruction, and according to stop load instruction stop charging assembly.By performing
Aforesaid operations, caused same class under identical running environment can stop loading when browser is restarted before
The abnormal number of times closed of type exceedes the assembly of predetermined threshold value, thus after browser is restarted will not again due to
Same reason causes again abnormal closedown, fundamentally solves the abnormal problem closed of browser.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the skill of the present invention
Art means, and can being practiced according to the content of description, and in order to allow, the present invention's is above and other
Objects, features and advantages can become apparent, below especially exemplified by the detailed description of the invention of the present invention.
Accompanying drawing explanation
By reading the detailed description of hereafter preferred implementation, various other advantage and benefit for this
Field those of ordinary skill will be clear from understanding.Accompanying drawing is only used for illustrating the purpose of preferred implementation,
And it is not considered as limitation of the present invention.And in whole accompanying drawing, be denoted by the same reference numerals
Identical parts.In the accompanying drawings:
Fig. 1 shows that the abnormal processing method closed of a kind of browser is real
Execute the flow chart of steps of example 1;
Fig. 2 shows that the abnormal processing method closed of a kind of browser is real
Execute the flow chart of steps of example 2;
Fig. 3 shows that the abnormal processing method closed of a kind of browser is real
Execute the flow chart of steps of example 3;
Fig. 4 shows the processing scheme schematic diagram that server side is closed for the exception that different reasons cause;
Fig. 5 shows the structured flowchart of a kind of browser embodiment 1;
Fig. 6 shows the structured flowchart of a kind of server example 1;
Fig. 7 shows that the abnormal processing method closed of a kind of browser is real
Execute the flow chart of steps of example 4;
Fig. 8 shows that the abnormal processing method closed of a kind of browser is real
Execute the flow chart of steps of example 5;
Fig. 9 shows that the abnormal processing method closed of a kind of browser is real
Execute the flow chart of steps of example 6;
Figure 10 shows the structured flowchart of a kind of server example 2;
Figure 11 shows the structured flowchart of a kind of browser embodiment 2.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although accompanying drawing shows
The exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure and not
Should be limited by embodiments set forth here.On the contrary, it is provided that these embodiments are able to more thoroughly
Understand the disclosure, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
With reference to Fig. 1, it is shown that the abnormal processing method closed of browser according to an embodiment of the invention
The flow chart of steps of embodiment 1, specifically may comprise steps of:
Step 101, when restarting after the abnormal closedown of browser, reads described browser sidelights and records formerly
Abnormal closing information.
In the embodiment of the present invention, can be with recording exceptional closing information in browser side, in the abnormal pass of browser
When restarting after closing, first can read the formerly abnormal closing information of browser sidelights record.Wherein, browse
The reboot operation of device can be manually to be restarted by user, it is also possible to after closing for browser is abnormal automatically
Restart;The formerly abnormal closing information of browser sidelights record can be formerly to record from browser establishment
All abnormal closing informations, it is also possible to for the abnormal closing information of record in preset time period formerly, basis
This is not any limitation as by inventive embodiments.
Step 102, if the module information closed according to described exception throw and running environment information thereof, sentences
The fixed number of times being caused same type extremely to close under identical running environment by same assembly exceedes default threshold
Value, then send the information of described assembly to server side.
In implementing, abnormal closing information can include module information and the fortune thereof that exception throw closes
Row environmental information.After the formerly abnormal closing information reading browser sidelights record, if foundation exists
The module information of the exception throw closedown that the most abnormal closing information includes and running environment information thereof, it is determined that
The abnormal number of times closed of same type is caused to exceed predetermined threshold value under identical running environment by same assembly,
Then it is believed that this assembly still may affect the operation of browser after browser is restarted, cause browser
Abnormal closedown, now can send the information of described assembly to server side, by server side for this
The information of assembly is analyzed, thus draws corresponding processing scheme.
Step 103, receives the prevention loading that information that server side issues, according to described assembly generates
Instruction, stops loading instruction prevention to load described assembly according to described.
Server side is after receiving the information of the assembly that browser side is uploaded, by the letter to this assembly
Breath is analyzed generating prevention and loads instruction and be issued to browser side, then reception is taken by browser side
The prevention that information that business device side issues, according to described assembly generates loads instruction, and browser side will afterwards
The instruction prevention described assembly of loading is loaded according to described the prevention.
The embodiment of the present invention 1 was drawn can stop loading when browser is restarted before under identical running environment
Send out the abnormal number of times closed of same type and exceed the assembly of predetermined threshold value, thus after browser is restarted not
Abnormal closedown can be caused again the most by the same token, fundamentally solve the abnormal closedown of browser
Problem.
With reference to Fig. 2, it is shown that the abnormal process closed of a kind of browser
The flow chart of steps of embodiment of the method 2, specifically may include steps of:
Step 201, when the abnormal closedown of browser, at the external file of browser side and/or at browser
Recording exceptional closing information in the registration table of side.
In actual applications, cause the abnormal reason closed of browser a lot, clear in the embodiment of the present invention
The abnormal closedown of device of looking at can include by Flash(Flash it being that a kind of animation is created with application development in one
The authoring software of body), third party's security component or browser intraware be third party software, LSP
During (Layered Service Provider, hierarchical service provides program), plug-in unit, extension, GPU accelerate
Any one or more exceptions that cause close.It is, of course, also possible to include by other reasons cause different
The normally off closing, this is not any limitation as by the embodiment of the present invention.
In implementing, can be at the external file of browser side or in the registration table of browser side
Recording exceptional closing information, it is also possible in external file in browser side and the registration table of browser side all
Recording exceptional closing information, certainly can also at other location records exception closing informations of browser side,
This is not any limitation as by the embodiment of the present invention.
Wherein, abnormal closing information can include that module information that exception throw closes and running environment thereof are believed
Breath.The module information that described exception throw is closed may include that the title of described assembly, described assembly
The MD5 value of version and described assembly;The running environment information of the assembly that described exception throw is closed is permissible
Including: browser kernel version when operating system version during described assembly operating and described assembly operating
This.Wherein, operating system version can be windows95, windows2000, windows ME,
Windows XP, windows2003, windows vista, windows7, Linux, Unix, etc.
Deng;Browser kernel version can be IE7, IE8 etc..
It should be noted that described abnormal closing information can also include, the abnormal type closed and different
Often parameter value, wherein, the abnormal type closed can include access violation
EXCEPTION_ACCESS_VIOLATION, exhaust and debugging breakpoints except zero error, internal memory,
Etc..When the abnormal type closed is access violation, anomaly parameter value can include that memory address offsets
Amount.Access violation refers to there occurs the skew of memory address when loading certain assembly, i.e. calls in internal memory
In code components offset on memory address.Browser program has a lot of assembly, as called one
During individual plug-in unit, it is necessary first to read in internal memory, i.e. with CPU(Central Processing Unit, in
Central processor) remove to call in internal memory, and occur abnormal when calling in internal memory, as overflowed, then in showing
Deposit the skew on address.
Such as, a kind of abnormal closing information may include that the entitled superfine product of assembly that exception throw closes
Five, version be 4.0.0.950, MD5 value be x, operating system version during this assembly operating is
Windows XP, browser kernel version is IE7, and the type that this exception is closed is
EXCEPTION_ACCESS_VIOLATION, anomaly parameter value (i.e. memory address side-play amount) is
20。
Step 202, when restarting after the abnormal closedown of browser, loads pop-up and displays whether to enter safe mould
The information of formula.
Safe mode is a kind of special pattern in Windows operating system, the most permissible
Easily some mistakes of repair system, play a multiplier effect.The operation principle of safe mode is
In the case of being not loaded with third party device driver, start computer, make computer operate in system minimum modulus
Formula, thus can detect and repair the mistake of computer system easily so that may cause operation system
The assembly of system exception will not be loaded startup.
The safe mode of Windows operating system is applied in browser by the embodiment of the present invention, clear
The abnormal assembly closed of browser may be caused to stop it to add for some when restarting after the abnormal closedown of device of looking at
Carry and start, thus avoid browser the most extremely to close.
A kind of preferred exemplary specifically applied as the present invention, when restarting after the abnormal closedown of browser, can
Display whether to enter the information of safe mode with loading pop-up, pop-up can arrange "Yes" and "No"
Two buttons select for user.When user select confirm enter safe mode (i.e. clicking on "Yes") it
After, i.e. can perform follow-up step 203;(i.e. click on if user does not select to enter safe mode
"No"), the most do not perform subsequent step, restart browser in the conventional mode.
Certainly, the embodiment of the present invention can also use alternate manner show above-mentioned information, and also
Can not show above-mentioned information, i.e. browser is abnormal close after restart time, browser automatically into
Safe mode, and perform step 203.
Step 203, reads the formerly abnormal closing information of described browser sidelights record.
Describe in step 201 browser is abnormal close time, the external file in browser side and/
Or in the registration table of browser side recording exceptional closing information.If only at the external file of browser side
In have recorded abnormal closing information, then this step 203 reads from said external file formerly abnormal closing
Close information;If only have recorded abnormal closing information, then this step 203 in the registration table of browser side
In from above-mentioned registration table, read formerly abnormal closing information;If the external file in browser side and clear
Look at and the registration table of device side all have recorded abnormal closing information, then can be from said external in this step 203
Any one in file and registration table reads formerly abnormal closing information.
Wherein, the formerly abnormal closing information of browser sidelights record can be formerly to remember from browser establishment
The all abnormal closing information of record, it is also possible to close letter for the exception of record in preset time period formerly
Breath, this is not any limitation as by the embodiment of the present invention.
Step 204, if the module information closed according to described exception throw and running environment information thereof, sentences
The fixed number of times being caused same type extremely to close under identical running environment by same assembly exceedes default threshold
Value, then send the information of described assembly to server side.
After reading the formerly abnormal closing information of described browser sidelights record, to these abnormal closing informations
It is analyzed, if the module information closed according to described exception throw and running environment information thereof, it is determined that
The abnormal number of times closed of same type is caused to exceed predetermined threshold value under identical running environment by same assembly
(such as 3 times), then this assembly is possible to cause the abnormal assembly closed of browser, and therefore browser is wanted
The information of this assembly is sent to server side, then can be judged what this assembly carried out by server side
Plant and process.
Such as, if the module information closed according to exception throw in formerly abnormal closing information and operation thereof
Environmental information, it is determined that abnormal closing information be " the entitled superfine product five of the assembly of exception throw closedown,
Version be 4.0.0.950, MD5 value be x, operating system version during this assembly operating is windows XP,
Browser kernel version is IE7 " this abnormal number of times closed exceed predetermined threshold value, then by assembly
Information " component Name be superfine product five, version be 4.0.0.950, MD5 value be x " send to server
Side.
Certainly, if abnormal closing information also including the abnormal type closed and anomaly parameter value, then
The module information to close according to exception throw in formerly abnormal closing information and running environment information thereof, different
The normally off type closed and anomaly parameter value judge.Such as judge that abnormal closing information is as " causing different
The entitled superfine product of the normally off assembly closed five, version are 4.0.0.950, MD5 value for x, and this assembly is transported
Operating system version during row is windows XP, and browser kernel version is IE7, this abnormal closedown
Type is EXCEPTION_ACCESS_VIOLATION, anomaly parameter value (memory address side-play amount)
Be 20 " this abnormal number of times closed exceed predetermined threshold value, then by the information of assembly, " component Name is
Superfine product five, version be 4.0.0.950, MD5 value be x " send to server side.
Step 205, receives the prevention loading that information that server side issues, according to described assembly generates
Instruction, stops loading instruction prevention to load described assembly according to described.
Server side, can be for this assembly after receiving the information of the assembly that browser side sends
Information is analyzed, and is issued to browser side according to the corresponding instruction of information generation of described assembly.Right
The embodiment that analysis in server side, the detailed process of generation instruction will describe from server side below
In be introduced, the embodiment of the present invention is no longer discussed in detail at this.
If server side is according to the information of described assembly, (i.e. " component Name is that superfine product five, version are
4.0.0.950, MD5 value is x ") judge that generation as non-critical component, is then stoped and loads by described assembly
Instructing and be issued to browser side, it is that described server side is according to described that the most described prevention loads instruction
The information of assembly judges that described assembly loads instruction as the prevention generated during non-critical component.Browser side exists
After receiving above-mentioned prevention loading instruction, instruction can be loaded according to this prevention and stop described group of loading
Part, i.e. stop load above-mentioned entitled superfine product five, version be 4.0.0.950, MD5 value be the group of x
Part.
Step 206, receives that server side issues, at the information described assembly of judgement according to described assembly
The instruction of the prompting version updating for generating during key component, adds according to the instruction of described prompting version updating
Carry described assembly, and show the information that described component version updates.
If server side is according to the information of described assembly, (i.e. " component Name is that superfine product five, version are
4.0.0.950, MD5 value is x ") judge that generation as key component, is then pointed out version more by described assembly
New instruction is also issued to browser side, i.e. browser side is that server side issues, according to institute by receiving
The information stating assembly judges the instruction as the prompting version updating generated during key component of the described assembly.Browse
Device side, can be according to the finger of this prompting version updating after receiving the instruction of above-mentioned prompting version updating
Order loads described assembly, i.e. loads above-mentioned entitled superfine product five, version is 4.0.0.950, MD5 value
For the assembly of x, and showing the information that described component version updates, user can believe according to this prompting
Breath updates the version of described assembly.
In implementing, the information that described component version updates can be for described in prompting customer upgrade
The information of component version, or, the version of described assembly is changed to the information of stable release by prompting user;
Can by a browser with yellow prompting bar in the way of display reminding information, or, in a browser to carry
Show the mode display reminding information of message box.This is not any limitation as by the embodiment of the present invention.
Step 207, receives that server side issues, at the information described assembly of judgement according to described assembly
For the blacklist write instruction generated during dangerous assembly, stop according to described blacklist write instruction and load
Described assembly, and by the blacklist of described assembly write browser side.
If server side is according to the information of described assembly, (i.e. " component Name is that superfine product five, version are
4.0.0.950, MD5 value is x ") judge that generation blacklist as dangerous assembly, is then write by described assembly
Enter instruction and be issued to that reception server side is issued by browser side, i.e. browser side, according to described
The information of assembly judges that described assembly is as the blacklist write instruction generated during dangerous assembly.Browser side
After receiving above-mentioned blacklist write instruction, can stop according to this blacklist write instruction and load institute
State assembly, i.e. stop load above-mentioned entitled superfine product five, version be 4.0.0.950, MD5 value be x
Assembly, and by this assembly write browser side blacklist.
It should be noted that step 205, step 206 and step 207 are not offered as in the order described above
Performing, actually these 3 steps are the step performed side by side.
When the embodiment of the present invention 2 is restarted after the abnormal closedown of browser, can use with display reminding information
Family can choose whether to enter safe mode, can perform follow-up place after confirming to enter safe mode
Reason process.And server side can generate different instructions, browser according to the information of different assemblies
The different instruction that side then issues according to server side performs corresponding operation, thus restarts at browser
Abnormal closedown will not be caused again afterwards the most by the same token, fundamentally solve browser abnormal
The problem closed.
Above-described embodiment 1 and embodiment 2 are for the abnormal processing method closed of browser from browser side
The description carried out, is described from server side below by embodiment 3.
With reference to Fig. 3, it is shown that the abnormal process closed of a kind of browser
The flow chart of steps of embodiment of the method 3, specifically may comprise steps of:
Step 301, receives the information of the assembly that browser side is uploaded.
Wherein, described assembly is to cause the abnormal number of times closed of same type to exceed under identical running environment
The a certain assembly of predetermined threshold value, the described number of times causing the abnormal closedown of same type under identical running environment
Obtaining from the formerly abnormal closing information of described browser sidelights record, described abnormal closing information includes causing
The abnormal module information closed and running environment information thereof;Described formerly abnormal closing information browses described
Read when restarting after the abnormal closedown of device.
Step 302, generates according to the information of described assembly and stops loading instruction.
Server side, can be for this assembly after receiving the information of the assembly that browser side sends
Information is analyzed, and is issued to browser side according to the corresponding instruction of information generation of described assembly.
In one preferred embodiment of the invention, step 302 specifically can include following sub-step:
According to the information of described assembly, sub-step S21, judges that described assembly is whether as non-critical component;If
It is then to generate and stop loading instruction.
If server side judges that described assembly as non-critical component, then illustrates that browser side can stop and adds
Carrying this assembly, now generation is stoped loading instruction by server side.
In implementing, can be in advance in the unstable assembly list of server side configuration, this instability group
Part list can whether key configures according to assembly, the most detailed herein for concrete configuration process
State.This instability assembly list can include the title of assembly, the version of assembly, the MD5 of assembly
The information such as value.In one preferred embodiment of the invention, the decision process of above-mentioned sub-step S21 can
Think: the information that whether there is described assembly in the unstable assembly list that lookup is pre-configured with (i.e. receives
To the information of assembly uploaded of browser side);If existing, it is determined that described assembly is non-critical component;
If not existing, it is determined that described assembly is key component.
Step 303, stops loading instruction to be issued to browser side by described, and described browser side is used for depending on
The instruction prevention described assembly of loading is loaded according to described the prevention.
In one preferred embodiment of the invention, the abnormal processing method closed of described browser is all right
Comprise the following steps:
Step 304, when judging described assembly as key component according to the information of described assembly, generation carries
Show the instruction of version updating.
If server side judges that described assembly (i.e. utilizes the judgement of above-mentioned sub-step S21 as key component
Process judges that described assembly is as key component), then explanation browser side can not stop this assembly of loading, this
Time server side will generate prompting version updating instruction.
Step 305, is issued to browser side, described browser side by the instruction of described prompting version updating
It is additionally operable to load described assembly according to the instruction of described prompting version updating, and shows described component version more
New information.
Step 306, when judging described assembly as dangerous assembly according to the information of described assembly, generates
Blacklist write instruction.
If server side judges that described assembly as dangerous assembly, then illustrates that browser side can stop and adds
Carrying this assembly, and this assembly is unsafe, now server side will generate blacklist write instruction.
In implementing, can in advance server side configure dangerous assembly list, this dangerous group
Whether part list can exist the situation such as wooden horse, virus according to assembly configures, herein for concrete
Configuration process no longer describes in detail.This instability assembly list can also include the version of the title of assembly, assembly
This, the information such as the MD5 value of assembly.In one preferred embodiment of the invention, above-mentioned to dangerous
The decision process of assembly can be: searches in the dangerous assembly list being pre-configured with whether have described group
The information (information of the assembly that the browser side i.e. received is uploaded) of part;If existing, it is determined that described
Assembly is dangerous assembly;If not existing, it is determined that described assembly is security component.
Step 307, is issued to browser side by described blacklist write instruction, and described browser side is also used
Load described assembly in stoping according to described blacklist write instruction, and described assembly is write browser side
Blacklist.
It should be noted that step 302, step 304 and step 306 are not offered as in the order described above
Performing, actually these 3 steps are the step performed side by side.
In one preferred embodiment of the invention, in server side according to the information judgement of described assembly
When described assembly is dangerous assembly, it is also possible to by the blacklist of this assembly write server side, now take
Business device side can not perform above-mentioned steps 306 and step 307, only need to notify that this assembly of browser side is not for
Security component, browser side is additionally operable to stop and loads this assembly.Certainly, in this case, clothes
Business device side still can perform above-mentioned steps 306 and step 307, and the embodiment of the present invention is to this most in addition
Limit.
In actual applications, cause the abnormal reason closed of browser a lot, clear in the embodiment of the present invention
The abnormal closedown of device of looking at can include that by Flash, third party's security component or browser intraware be the 3rd
Any one or more exceptions caused during side's software, LSP, plug-in unit, extension, GPU accelerate are closed
Close.
Fig. 4 is the processing scheme schematic diagram that server side is closed for the exception that different reasons cause.First
Entering safe mode, when being caused abnormal closedown by Flash, server side generates prompting version updating
Instruction (renewal of Flash stable release);When being the 3rd by third party's security component or browser intraware
When side's software causes abnormal closedown, server side generates to stop and loads instruction (the anti-note of third party's fail-safe software
Enter);When being caused abnormal closedown by LSP, server side generates to stop and loads instruction (the anti-injection of LSP);
When being caused abnormal closedown by plug-in unit, server side generates blacklist write instruction or is write by described assembly
Enter the blacklist (plug-in unit blacklist) of server side;When being caused abnormal closedown by extension, server side
Generate blacklist write instruction or the blacklist (extension blacklist) by described assembly write server side;
When being accelerated to cause abnormal closedown by GPU, the generation prevention of server side loads instruction, and (GPU accelerates to prohibit
With).
Above-described embodiment 1 and embodiment 2 are to be described from browser side, and embodiment 3 is from server
Side is described.Below, it is described from the entirety processing method closed abnormal to browser, the method
Specifically may comprise steps of:
Step a, browser side is when abnormal closedown, at the external file of browser side and/or at browser
Recording exceptional closing information in the registration table of side;
Step b, when browser side is restarted after abnormal closedown, loads pop-up and displays whether to enter safe mould
The information of formula;
When user confirms to enter safe mode, perform step c.
Step c, the formerly abnormal closing information of described browser sidelights record is read in browser side;
Step d, if the module information closed according to described exception throw of browser side and running environment letter thereof
Breath, it is determined that caused the abnormal number of times closed of same type to exceed pre-under identical running environment by same assembly
If threshold value, then the information of described assembly is sent to server side;
Step e, server side joint receives the information of the assembly that browser side is uploaded;
Step f, server side generates to stop according to the information of described assembly and loads instruction, and by described resistance
Only load instruction and be issued to browser side;
Step g, browser side joint receives the resistance that information that server side issues, according to described assembly generates
Only load instruction, load the instruction prevention described assembly of loading according to described the prevention;
Step h, server side when judging described assembly as key component according to the information of described assembly,
Generate the instruction of prompting version updating, and the instruction of described prompting version updating is issued to browser side;
Step i, browser side joint receive server side issue, according to described assembly information judge institute
State the instruction of the prompting version updating generated when assembly is key component, according to described prompting version updating
Instruction loads described assembly, and shows the information that described component version updates;
Step j, server side when judging described assembly as dangerous assembly according to the information of described assembly,
Generate blacklist write instruction, and described blacklist write instruction is issued to browser side;
In one preferred embodiment of the invention, judge according to the information of described assembly when server side
When described assembly is dangerous assembly, it is also possible to by the blacklist of this assembly write server side, now take
Described blacklist write instruction can not be issued to browser side by business device side, only need to notify that browser side should
Assembly is dangerous assembly, and browser side is additionally operable to stop and loads this assembly.Certainly, in this feelings
Under condition, described blacklist write instruction still can be issued to browser side by server side, and the present invention is real
Execute example this is not any limitation as.
Step k, browser side joint receive server side issue, according to described assembly information judge institute
State the blacklist write instruction generated when assembly is dangerous assembly, hinder according to described blacklist write instruction
Only load described assembly, and by the blacklist of described assembly write browser side.
For aforementioned approaches method embodiment, in order to be briefly described, therefore it is all expressed as a series of action
Combination, but those skilled in the art should know, and the embodiment of the present invention is not suitable by described action
The restriction of sequence, because according to the embodiment of the present invention, some step can use other orders or enter simultaneously
OK.Secondly, those skilled in the art also should know, embodiment described in this description belongs to excellent
Select embodiment, necessary to the involved action not necessarily embodiment of the present invention.
With reference to Fig. 5, it is shown that the knot of a kind of browser embodiment 1
Structure block diagram, described browser and server communication, described browser can include such as lower module:
Logging modle 501, be suitable to browser is abnormal close time, the external file in browser side and/
Or in the registration table of browser side recording exceptional closing information;
Pop-up display module 502, is suitable to read described browser sidelights at described read module and records formerly
Before abnormal closing information, load pop-up and display whether to enter the information of safe mode;
And after user confirms to enter safe mode, call described read module.
Read module 503, when being suitable to restart after the abnormal closedown of browser, reads described browser sidelights
The formerly abnormal closing information of record;Described abnormal closing information include module information that exception throw closes and
Its running environment information;
Sending module 504, is suitable in the module information closed according to described exception throw and running environment thereof
Information, it is determined that caused the abnormal number of times closed of same type to exceed under identical running environment by same assembly
During predetermined threshold value, the information of described assembly is sent to server side;
First receiver module 505, is suitable to receive information life that server side issues, according to described assembly
The prevention become loads instruction;
In one preferred embodiment of the invention, described prevention loads instruction is that described server side exists
Judge that described assembly loads instruction as the prevention generated during non-critical component according to the information of described assembly.
Stop module 506, be suitable to stop loading instruction prevention to load described assembly according to described.
Second receiver module 507, is suitable to that reception server side issues, in the information according to described assembly
Judge the instruction as the prompting version updating generated during key component of the described assembly;
Loaded and displayed module 508, is suitable to load described assembly according to the instruction of described prompting version updating,
And show the information that described component version updates.
3rd receiver module 509, is suitable to that reception server side issues, in the information according to described assembly
Judge that described assembly is as the blacklist write instruction generated during dangerous assembly;
Stop writing module 510, be suitable to stop according to described blacklist write instruction load described assembly,
And by the blacklist of described assembly write browser side.
In one preferred embodiment of the invention, described browser abnormal close include by Flash, the
Tripartite's security component or browser intraware are third party software, hierarchical service provide program LSP, insert
Any one or more exceptions caused during part, extension, graphic process unit GPU are accelerated are closed.
The module information that described exception throw is closed includes: the title of described assembly, the version of described assembly
MD5 value with described assembly;The running environment information of the assembly that described exception throw is closed includes: institute
Browser kernel version when operating system version when stating assembly operating and described assembly operating.At this
In bright a kind of preferred embodiment, described abnormal closing information also includes, the abnormal type closed and different
Often parameter value, the described abnormal type closed includes access violation
EXCEPTION_ACCESS_VIOLATION, exhaust and debugging breakpoints except zero error, internal memory.
When the abnormal type closed is access violation, described anomaly parameter value includes memory address side-play amount.
For above-mentioned browser embodiment 1, due to itself and embodiment of the method basic simlarity, so
Describe is fairly simple, and relevant part sees the part of embodiment of the method shown in Fig. 1, Fig. 2 and Fig. 3
Illustrate.
With reference to Fig. 6, it is shown that the knot of a kind of server example 1
Structure block diagram, described server and browser communication, described server can include such as lower module:
Receiver module 601, is suitable to receive the information of the assembly that browser side is uploaded;
First generation module 602, is suitable to generate according to the information of described assembly to stop load instruction;
First issues module 603, is suitable to stop loading instruction to be issued to browser side by described, described clear
Look at device side for loading the instruction prevention described assembly of loading according to described the prevention;
Second generation module 604, is suitable to judging that described assembly is as crucial group according to the information of described assembly
During part, generate the instruction of prompting version updating;
Second issues module 605, is suitable to the instruction of described prompting version updating is issued to browser side,
Described browser side is additionally operable to load described assembly according to the instruction of described prompting version updating, and shows institute
State the information that component version updates;
3rd generation module 606, is suitable to judging that described assembly is as dangerous according to the information of described assembly
During assembly, generate blacklist write instruction;
3rd issues module 607, is suitable to described blacklist write instruction is issued to browser side, described
Browser side is additionally operable to stop according to described blacklist write instruction load described assembly, and by described assembly
The blacklist of write browser side;
Writing module 608, is suitable to judging that described assembly is as dangerous assembly according to the information of described assembly
Time, by the blacklist of described assembly write server side, described browser side is additionally operable to stop loading described
Assembly.
In one preferred embodiment of the invention, described assembly is same for causing under identical running environment
The abnormal number of times closed of type exceedes a certain assembly of predetermined threshold value, described initiation under identical running environment
The formerly abnormal closing information that the abnormal number of times closed of same type is recorded from described browser sidelights obtains, institute
State module information and running environment information thereof that abnormal closing information includes that exception throw closes;Described formerly
Abnormal closing information reads when restarting after the abnormal closedown of described browser.
In one preferred embodiment of the invention, described first generation module is further adapted for: according to described group
The information of part judges that described assembly is whether as non-critical component;The most then generate to stop and load instruction.Institute
State the first generation module to be further adapted for: search in the unstable assembly list being pre-configured with whether have described group
The information of part;If existing, it is determined that described assembly is non-critical component;If not existing, it is determined that described
Assembly is key component.
For above-mentioned server example 1, due to itself and embodiment of the method basic simlarity, so
Describe is fairly simple, and relevant part sees the part of embodiment of the method shown in Fig. 1, Fig. 2 and Fig. 3
Illustrate.
Present invention also offers the abnormal processing system closed of a kind of browser, specifically can include browsing
Device and server, wherein, describe with reference to the embodiment 1 shown in above-mentioned Fig. 5 for browser
Part illustrates;Server is described with reference to the server example 1 shown in above-mentioned Fig. 6
Part illustrate.
In the present invention, when restarting after the abnormal closedown of browser, first read browser sidelights and record formerly
Abnormal closing information;Then in the module information closed according to exception throw and running environment information thereof, sentence
The fixed number of times being caused same type extremely to close under identical running environment by same assembly exceedes default threshold
During value, the information of assembly is sent to server side;Finally receive that server side issues, according to assembly
Information generate prevention load instruction, and according to stop load instruction stop charging assembly.The present invention can
Under identical running environment, the abnormal closedown of same type was caused to stop loading when browser is restarted before
Number of times exceed the assembly of predetermined threshold value, thus will not the most by the same token after browser is restarted
Cause again abnormal closedown, fundamentally solve the abnormal problem closed of browser.
In each embodiment above-mentioned, formerly abnormal closing information record is in browser side, for abnormal closedown
The judgement of number of times is performed by browser.In the present invention, formerly abnormal closing information can also record at server
Side, judgement exception being closed to number of times can also be performed by server, below, by each reality following
Execute example the formerly abnormal closing information record situation in server side is described.
With reference to Fig. 7, it is shown that the abnormal processing method closed of browser according to an embodiment of the invention
The flow chart of steps of embodiment 4, specifically may comprise steps of:
Step 701, restarting of the described browser that reception browser side is uploaded when restarting after abnormal closedown
Information, closes letter according to the formerly abnormal of described browser of described restarting information inquiry server sidelights record
Breath.
In the embodiment of the present invention, when browser side is restarted after abnormal closedown, can be by described browser
Restarting information uploads onto the server side, and server side joint receives restarting of the described browser uploaded browser side
Information, then can be according to described browser the most different of described restarting information inquiry server sidelights record
Often closing information.
Wherein, wherein, the reboot operation of browser can be manually to be restarted by user, it is also possible to for clear
Automatically restart after the abnormal closedown of device of looking at;The formerly abnormal closing information of server sidelights record can be from clothes
Business device has created all abnormal closing information formerly recorded, it is also possible to for remembering in preset time period formerly
The abnormal closing information of record, this is not any limitation as by the embodiment of the present invention.
Step 702, if the module information closed according to described exception throw of server side and running environment thereof
Information, it is determined that caused the abnormal number of times closed of same type to exceed under identical running environment by same assembly
Predetermined threshold value, then generate according to the information of described assembly and stop loading instruction.
In implementing, abnormal closing information can include module information and the fortune thereof that exception throw closes
Row environmental information.At the formerly abnormal closing information inquiring server sidelights record according to described restarting information
Afterwards, if the module information closed according to the exception throw that formerly abnormal closing information includes and fortune thereof
Row environmental information, it is determined that caused the secondary of the abnormal closedown of same type under identical running environment by same assembly
Number exceedes predetermined threshold value, then it is believed that this assembly still may affect browser after browser is restarted
Run, cause the abnormal closedown of browser, now the information of described assembly can be analyzed, and foundation
The information of described assembly generates to stop and loads instruction.
Step 703, stops loading instruction to be issued to browser side by described, and described browser side is used for depending on
The instruction prevention described assembly of loading is loaded according to described the prevention.
The embodiment of the present invention 4 was drawn can stop loading when browser is restarted before under identical running environment
Send out the abnormal number of times closed of same type and exceed the assembly of predetermined threshold value, thus after browser is restarted not
Abnormal closedown can be caused again the most by the same token, fundamentally solve the abnormal closedown of browser
Problem.
With reference to Fig. 8, it is shown that the abnormal processing method closed of browser according to an embodiment of the invention
The flow chart of steps of embodiment 5, specifically may comprise steps of:
Step 801, receives and records the exception of the described browser that browser side is uploaded when abnormal closedown
Closing information.
In actual applications, cause the abnormal reason closed of browser a lot, clear in the embodiment of the present invention
The abnormal closedown of device of looking at can include by Flash(Flash it being that a kind of animation is created with application development in one
The authoring software of body), third party's security component or browser intraware be third party software, LSP
During (Layered Service Provider, hierarchical service provides program), plug-in unit, extension, GPU accelerate
Any one or more exceptions that cause close.It is, of course, also possible to include by other reasons cause different
The normally off closing, this is not any limitation as by the embodiment of the present invention.
In browser side during abnormal closedown, side of abnormal closing information can being uploaded onto the server, server
After side joint receives described abnormal closing information, interpretation of records can be carried out, use for subsequent query.
For example, it is possible to the external file in server side or recording exceptional closedown in the registration table of server side
Information, it is also possible in external file in server side and the registration table of server side, all recording exceptional is closed
Information, certainly can also be in other location records exception closing informations of server side, the embodiment of the present invention
This is not any limitation as.
Wherein, abnormal closing information can include that module information that exception throw closes and running environment thereof are believed
Breath.The module information that described exception throw is closed may include that the title of described assembly, described assembly
The MD5 value of version and described assembly;The running environment information of the assembly that described exception throw is closed is permissible
Including: browser kernel version when operating system version during described assembly operating and described assembly operating
This.Wherein, operating system version can be windows95, windows2000, windows ME,
Windows XP, windows2003, windows vista, windows7, Linux, Unix, etc.
Deng;Browser kernel version can be IE7, IE8 etc..
It should be noted that described abnormal closing information can also include, the abnormal type closed and different
Often parameter value, wherein, the abnormal type closed can include access violation
EXCEPTION_ACCESS_VIOLATION, exhaust and debugging breakpoints except zero error, internal memory,
Etc..When the abnormal type closed is access violation, anomaly parameter value can include that memory address offsets
Amount.Access violation refers to there occurs the skew of memory address when loading certain assembly, i.e. calls in internal memory
In code components offset on memory address.Browser program has a lot of assembly, as called one
During individual plug-in unit, it is necessary first to read in internal memory, i.e. with CPU(Central Processing Unit, in
Central processor) remove to call in internal memory, and occur abnormal when calling in internal memory, as overflowed, then in showing
Deposit the skew on address.
Such as, a kind of abnormal closing information may include that the entitled superfine product of assembly that exception throw closes
Five, version be 4.0.0.950, MD5 value be x, operating system version during this assembly operating is
Windows XP, browser kernel version is IE7, and the type that this exception is closed is
EXCEPTION_ACCESS_VIOLATION, anomaly parameter value (i.e. memory address side-play amount) is
20。
Step 802, restarting of the described browser that reception browser side is uploaded when restarting after abnormal closedown
Information, closes letter according to the formerly abnormal of described browser of described restarting information inquiry server sidelights record
Breath.
When browser side is restarted after abnormal closedown, the restarting information of described browser can be uploaded to browsing
Device side.Server side can receive the restarting information of the described browser that browser side is uploaded, and according to institute
State the formerly abnormal closing information of the described browser of restarting information inquiry server sidelights record.
Describing in step 801 can be in the external file of server side or the registration in server side
Recording exceptional closing information in table, it is also possible to the external file in server side and the registration table of server side
In equal recording exceptional closing informations.If only have recorded abnormal closedown in the external file of server side to believe
Breath, then read formerly abnormal closing information from said external file in this step 802;If only at clothes
The registration table of business device side have recorded abnormal closing information, then this step 802 is read from above-mentioned registration table
It is taken at the most abnormal closing information;If in the registration table of the external file in server side and browser side all
Have recorded abnormal closing information, then can appointing from said external file and registration table in this step 802
Anticipate one and read formerly abnormal closing information.
In one implements, described restarting information can include the version information of described browser kernel
The facility information (such as device id etc.) at (such as IE7, IE8 etc.) and described browser place,
Server side, can be by the version of browser kernel when recording the abnormal closing information that browser side is uploaded
Information and the facility information at browser place, match record with abnormal closing information.Therefore, foundation
The formerly abnormal closing information of the described browser of the described server sidelights record of described restarting information inquiry
For, match with the facility information of the version information of described browser kernel and described browser place
Formerly abnormal closing information.
Step 803, if the module information closed according to described exception throw of server side and running environment thereof
Information, it is determined that caused the abnormal number of times closed of same type to exceed under identical running environment by same assembly
Predetermined threshold value, then generate according to the information of described assembly and stop loading instruction, and described prevention loading referred to
Order is issued to browser side, and described browser side is used for stoping loading instruction to stop loading described according to described
Assembly.
Server side inquire server sidelights record described browser formerly abnormal closing information it
After, these abnormal closing informations are analyzed, if the module information closed according to described exception throw
And running environment information, it is determined that under identical running environment, caused the abnormal pass of same type by same assembly
The number of times closed exceedes predetermined threshold value, then this assembly is possible to cause the abnormal assembly closed of browser, therefore
Then server side can generate according to the information of described assembly to stop and load instruction, and loaded described the prevention
Instruction is issued to browser side, and described browser side loads institute for loading to instruct to stop according to described prevention
State assembly.
In one preferred embodiment of the invention, step 803 specifically can include following sub-step:
According to the information of described assembly, sub-step S31, judges that described assembly is whether as non-critical component;If
It is then to generate and stop loading instruction.
If server side judges that described assembly as non-critical component, then illustrates that browser side can stop and adds
Carrying this assembly, now generation is stoped loading instruction by server side.
In implementing, can be in advance in the unstable assembly list of server side configuration, this instability group
Part list can whether key configures according to assembly, the most detailed herein for concrete configuration process
State.This instability assembly list can include the title of assembly, the version of assembly, the MD5 of assembly
The information such as value.In one preferred embodiment of the invention, the decision process of above-mentioned sub-step S31 can
Think: search the information that whether there is described assembly in the unstable assembly list being pre-configured with;If existing,
Then determine that described assembly is non-critical component;If not existing, it is determined that described assembly is key component.
Such as, if the module information closed according to exception throw in formerly abnormal closing information and operation thereof
Environmental information, it is determined that abnormal closing information be " the entitled superfine product five of the assembly of exception throw closedown,
Version be 4.0.0.950, MD5 value be x, operating system version during this assembly operating is windows XP,
Browser kernel version is IE7 " this abnormal number of times closed exceed predetermined threshold value, and according to institute
The information stating assembly judges that described assembly, then can be according to the information " assembly of this assembly as non-critical component
Entitled superfine product five, version be 4.0.0.950, MD5 value be x " generate stop load instruction.
Certainly, if abnormal closing information also including the abnormal type closed and anomaly parameter value, then
The module information to close according to exception throw in formerly abnormal closing information and running environment information thereof, different
The normally off type closed and anomaly parameter value judge.Such as judge that abnormal closing information is as " causing different
The entitled superfine product of the normally off assembly closed five, version are 4.0.0.950, MD5 value for x, and this assembly is transported
Operating system version during row is windows XP, and browser kernel version is IE7, this abnormal closedown
Type is EXCEPTION_ACCESS_VIOLATION, anomaly parameter value (memory address side-play amount)
Be 20 " this abnormal number of times closed exceed predetermined threshold value, and judge according to the information of described assembly
Described assembly is non-critical component, then can generate according to the information of this assembly and stop loading instruction.
Browser side, after receiving above-mentioned prevention and loading instruction, can load instruction resistance according to this prevention
Only loading described assembly, i.e. stoping loading above-mentioned entitled superfine product five, version is 4.0.0.950, MD5
Value is the assembly of x.
Step 804, when judging described assembly as key component according to the information of described assembly, generation carries
Show the instruction of version updating.
If server side judges that described assembly (i.e. utilizes the judgement of above-mentioned sub-step S31 as key component
Process judges that described assembly is as key component), such as according to the information of described assembly, " component Name is pole
Product five, version be 4.0.0.950, MD5 value be x " judge that described assembly as key component, then illustrates
Browser side can not stop this assembly of loading, and now server side will generate the instruction of prompting version updating.
Step 805, is issued to browser side, described browser side by the instruction of described prompting version updating
It is additionally operable to load described assembly according to the instruction of described prompting version updating, and shows described component version more
New information.
The instruction of the prompting version updating generated is issued to browser side, browser side by server side
Load described assembly according to the instruction of this prompting version updating, i.e. load above-mentioned entitled superfine product five, edition
This be 4.0.0.950, MD5 value be the assembly of x, and show the information that described component version updates,
User can update the version of described assembly according to this information.
Step 806, when judging described assembly as dangerous assembly according to the information of described assembly, generates
Blacklist write instruction.
If server side judge described assembly as dangerous assembly, such as according to the information of described assembly
" component Name be superfine product five, version be 4.0.0.950, MD5 value be x " judge that described assembly is not as
Security component, then explanation browser side can stop this assembly of loading, and this assembly is unsafe,
Now server side will generate blacklist write instruction.
In implementing, can in advance server side configure dangerous assembly list, this dangerous group
Whether part list can exist the situation such as wooden horse, virus according to assembly configures, herein for concrete
Configuration process no longer describes in detail.This instability assembly list can also include the version of the title of assembly, assembly
This, the information such as the MD5 value of assembly.In one preferred embodiment of the invention, above-mentioned to dangerous
The decision process of assembly can be: searches in the dangerous assembly list being pre-configured with whether have described group
The information of part;If existing, it is determined that described assembly is dangerous assembly;If not existing, it is determined that described
Assembly is security component.
Step 807, is issued to browser side by described blacklist write instruction, and described browser side is also used
Load described assembly in stoping according to described blacklist write instruction, and described assembly is write browser side
Blacklist.
Described blacklist write instruction is issued to browser side by server side, and browser side can be according to this
Blacklist write instruction stops the described assembly of loading, i.e. stops and loads above-mentioned entitled superfine product five, version
It is the assembly of x for 4.0.0.950, MD5 value, and by the blacklist of this assembly write browser side.
It should be noted that step 803, step 804 and step 806 are not offered as in the order described above
Performing, actually these 3 steps are the step performed side by side.
In one preferred embodiment of the invention, in server side according to the information judgement of described assembly
When described assembly is dangerous assembly, it is also possible to by the blacklist of this assembly write server side, now take
Business device side can not perform above-mentioned steps 806 and step 807, only need to notify that this assembly of browser side is not for
Security component, browser side is additionally operable to stop and loads this assembly.Certainly, in this case, clothes
Business device side still can perform above-mentioned steps 806 and step 807, and the embodiment of the present invention is to this most in addition
Limit.
Above-described embodiment 4 and embodiment 5 are to enter from the abnormal processing method closed of server side pin browser
The description of row, is described from browser side below by embodiment 6.
With reference to Fig. 9, it is shown that the abnormal process closed of a kind of browser
The flow chart of steps of embodiment of the method 6, specifically may comprise steps of:
Step 901, when the abnormal closedown of browser, is uploaded to the abnormal closing information of described browser
Server side.
Wherein, described abnormal closing information can include module information that exception throw closes and run ring
Environment information.
Step 902, when restarting after the abnormal closedown of browser, loads pop-up and displays whether to enter safe mould
The information of formula.
In embodiments of the present invention, browser is abnormal close after restart time, pop-up can be loaded show and be
The information of no entrance safe mode, pop-up can be arranged "Yes" and two buttons of "No" for
User selects.After user selects to confirm to enter safe mode (i.e. clicking on "Yes"), i.e. can hold
The step 903 that row is follow-up;If user does not select to enter safe mode (i.e. clicking on "No"), the most not
Perform subsequent step, restart browser in the conventional mode.
Certainly, the embodiment of the present invention can also use alternate manner show above-mentioned information, and also
Can not show above-mentioned information, i.e. browser is abnormal close after restart time, browser automatically into
Safe mode, and perform step 903.
Step 903, upload onto the server side by the restarting information of described browser.
Wherein, described restarting information can include described browser kernel version information and described in browse
The facility information at device place.
Step 904, receives the prevention loading instruction that server side issues.
The described prevention loads the instruction that instruction generates according to the information of assembly for described server side, described group
Part is the assembly causing the abnormal number of times closed of same type to exceed predetermined threshold value under identical running environment,
The described number of times causing the abnormal closedown of same type under identical running environment is recorded from described server sidelights
The formerly abnormal closing information of described browser obtain;Described formerly abnormal closing information is by described service
Device side obtains according to the inquiry of described restarting information, described browser the most different of described server sidelights record
Often closing information can be, with setting of the version information of described browser kernel and described browser place
The formerly abnormal closing information of standby information match.
Step 905, loads the instruction prevention described assembly of loading according to described the prevention.
Described prevention loads instruction, and described server side judges institute in the information according to described assembly
State the prevention generated when assembly is non-critical component and load instruction.
Step 906, receives that server side issues, at the information described assembly of judgement according to described assembly
The instruction of the prompting version updating for generating during key component, adds according to the instruction of described prompting version updating
Carry described assembly, and show the information that described component version updates.
In implementing, the information that described component version updates can be for described in prompting customer upgrade
The information of component version, or, the version of described assembly is changed to the information of stable release by prompting user;
Can by a browser with yellow prompting bar in the way of display reminding information, or, in a browser to carry
Show the mode display reminding information of message box.This is not any limitation as by the embodiment of the present invention.
Step 907, receives that server side issues, at the information described assembly of judgement according to described assembly
For the blacklist write instruction generated during dangerous assembly, stop according to described blacklist write instruction and load
Described assembly, and by the blacklist of described assembly write browser side.
It should be noted that step 904, step 906 and step 907 are not offered as in the order described above
Performing, actually these 3 steps are the step performed side by side.
When the embodiment of the present invention 6 is restarted after the abnormal closedown of browser, can use with display reminding information
Family can choose whether to enter safe mode, can perform follow-up place after confirming to enter safe mode
Reason process.And server side can generate different instructions, browser according to the information of different assemblies
The different instruction that side then issues according to server side performs corresponding operation, thus restarts at browser
Abnormal closedown will not be caused again afterwards the most by the same token, fundamentally solve browser abnormal
The problem closed.
Above-described embodiment 4 and embodiment 5 are to be described from server side, and embodiment 6 is from browser
Side is described.Below, it is described from the entirety processing method closed abnormal to browser, the method
Specifically may comprise steps of:
Step A, the abnormal closing information of described browser, when abnormal closedown, is uploaded to by browser side
Server side;
Step B, the described browser that browser side is uploaded is received and recorded to server side joint when abnormal closedown
Abnormal closing information;
Step C, when browser side is restarted after abnormal closedown, loads pop-up and displays whether to enter safe mould
The information of formula;
When user confirms to enter safe mode, perform follow-up step D.
Step D, the restarting information of described browser is uploaded onto the server side by browser side;
Step E, server side joint receives the described browser uploaded when browser side is restarted after abnormal closedown
Restarting information, according to described browser formerly abnormal of described restarting information inquiry server sidelights record
Closing information;
Step F, if the module information closed according to described exception throw of server side and running environment letter thereof
Breath, it is determined that caused the abnormal number of times closed of same type to exceed pre-under identical running environment by same assembly
If threshold value, then generate according to the information of described assembly and stop loading instruction, and described the prevention is loaded instruction
It is issued to browser side;
Step G, the prevention that browser side joint receipts server side issues loads instruction, and according to described prevention
Load instruction and stop the described assembly of loading;
Step H, server side when judging described assembly as key component according to the information of described assembly,
Generate the instruction of prompting version updating, and the instruction of described prompting version updating is issued to browser side;
Step I, browser side joint receive server side issue, according to described assembly information judge institute
State the instruction of the prompting version updating generated when assembly is key component, according to described prompting version updating
Instruction loads described assembly, and shows the information that described component version updates;
Step J, server side when judging described assembly as dangerous assembly according to the information of described assembly,
Generate blacklist write instruction, and described blacklist write instruction is issued to browser side;
In one preferred embodiment of the invention, in server side according to the information judgement of described assembly
When described assembly is dangerous assembly, it is also possible to by the blacklist of this assembly write server side, now take
Described blacklist write instruction can not be issued to browser side by business device side, only need to notify that browser side should
Assembly is dangerous assembly, and browser side is additionally operable to stop and loads this assembly.Certainly, in this feelings
Under condition, described blacklist write instruction still can be issued to browser side by server side, and the present invention is real
Execute example this is not any limitation as.
Step K, browser side joint receive server side issue, according to described assembly information judge institute
State the blacklist write instruction generated when assembly is dangerous assembly, hinder according to described blacklist write instruction
Only load described assembly, and by the blacklist of described assembly write browser side.
For aforementioned approaches method embodiment, in order to be briefly described, therefore it is all expressed as a series of action
Combination, but those skilled in the art should know, and the embodiment of the present invention is not suitable by described action
The restriction of sequence, because according to the embodiment of the present invention, some step can use other orders or enter simultaneously
OK.Secondly, those skilled in the art also should know, embodiment described in this description belongs to excellent
Select embodiment, necessary to the involved action not necessarily embodiment of the present invention.
With reference to Figure 10, it is shown that the knot of a kind of server example 2
Structure block diagram, described server and browser communication, described server can include such as lower module:
Receiving record module 1001, is suitable to receive and record described in browser side uploads when abnormal closedown
The abnormal closing information of browser.
Receive enquiry module 1002, be suitable to receive and upload when browser side is restarted after abnormal closedown described in
The restarting information of browser, according to described restarting information inquiry server sidelights record described browser
The most abnormal closing information;
In one preferred embodiment of the invention, described restarting information includes the version of described browser kernel
This information and the facility information at described browser place;The described browser of described server sidelights record
Formerly abnormal closing information is, with the version information of described browser kernel and described browser place
The formerly abnormal closing information that facility information matches.
First generation module 1003, is suitable to the module information closed in server side according to described exception throw
And running environment information, it is determined that under identical running environment, caused the abnormal pass of same type by same assembly
When the number of times closed exceedes predetermined threshold value, generate according to the information of described assembly and stop loading instruction;
First issues module 1004, is suitable to stop loading instruction to be issued to browser side by described, described clear
Look at device side for loading the instruction prevention described assembly of loading according to described the prevention;
Second generation module 1005, is suitable to judging that described assembly is as crucial group according to the information of described assembly
During part, generate the instruction of prompting version updating;
Second issues module 1006, is suitable to the instruction of described prompting version updating is issued to browser side,
Described browser side is additionally operable to load described assembly according to the instruction of described prompting version updating, and shows institute
State the information that component version updates;
3rd generation module 1007, is suitable to judging that described assembly is as dangerous according to the information of described assembly
During assembly, generate blacklist write instruction;
3rd issues module 1008, is suitable to described blacklist write instruction is issued to browser side, described
Browser side is additionally operable to stop according to described blacklist write instruction load described assembly, and by described assembly
The blacklist of write browser side.
Writing module 1009, is suitable to judging that described assembly is as dangerous assembly according to the information of described assembly
Time, by the blacklist of described assembly write server side, described browser side is additionally operable to stop loading described
Assembly.
In one preferred embodiment of the invention, described first generation module is further adapted for: according to described group
The information of part judges that described assembly is whether as non-critical component;The most then generate to stop and load instruction.Institute
State the first generation module to be further adapted for: search in the unstable assembly list being pre-configured with whether have described group
The information of part;If existing, it is determined that described assembly is non-critical component;If not existing, it is determined that described
Assembly is key component.
In one preferred embodiment of the invention, described browser abnormal close can include by Flash,
Third party's security component or browser intraware are third party software, hierarchical service provides program LSP,
Any one or more exceptions caused during plug-in unit, extension, graphic process unit GPU are accelerated are closed.
Described abnormal closing information can include module information and the running environment letter thereof that exception throw closes
Breath.The module information that described exception throw is closed may include that the title of described assembly, described assembly
The MD5 value of version and described assembly;The running environment information of the assembly that described exception throw is closed is permissible
Including: browser kernel version when operating system version during described assembly operating and described assembly operating
This.Described abnormal closing information can also include, the abnormal type closed and anomaly parameter value, described
The abnormal type closed can include access violation EXCEPTION_ACCESS_VIOLATION, remove
Zero error, internal memory exhaust and debugging breakpoints;When the abnormal type closed is access violation, described
Anomaly parameter value can include memory address side-play amount.
For above-mentioned server example 2, due to itself and embodiment of the method basic simlarity, so
Describe is fairly simple, and relevant part sees the part of embodiment of the method shown in Fig. 7, Fig. 8 and Fig. 9
Illustrate.
With reference to Figure 11, it is shown that the knot of a kind of browser embodiment 2
Structure block diagram, described browser and server communication, described browser can include such as lower module:
Transmission module 1101 on second, are suitable to, when the abnormal closedown of browser, the exception of described browser be closed
The information of closing uploads onto the server side;
Pop-up display module 1102, be suitable to transmission module on first restarting information is uploaded onto the server side it
Before, load pop-up and display whether to enter the information of safe mode;
And after user confirms to enter safe mode, call transmission module on described first.
Transmission module 1103 on first, when being suitable to restart after the abnormal closedown of browser, by described browser
Restarting information uploads onto the server side;
First receiver module 1104, is suitable to receive the prevention loading instruction that server side issues;
Stop module 1105, be suitable to stop loading instruction prevention to load described assembly according to described;
Second receiver module 1106, is suitable to that reception server side issues, in the information according to described assembly
Judge the instruction as the prompting version updating generated during key component of the described assembly;
Loaded and displayed module 1107, is suitable to load described assembly according to the instruction of described prompting version updating,
And show the information that described component version updates;
3rd receiver module 1108, is suitable to that reception server side issues, in the information according to described assembly
Judge that described assembly is as the blacklist write instruction generated during dangerous assembly;
Stop writing module 1109, be suitable to stop according to described blacklist write instruction load described assembly,
And by the blacklist of described assembly write browser side.
In one preferred embodiment of the invention, in described restarting information can include described browser
The version information of core and the facility information at described browser place;It is described clear that described server sidelights are recorded
The formerly abnormal closing information of device look at can be, with the version information of described browser kernel and described clear
The formerly abnormal closing information that the facility information at device place of looking at matches.
The described prevention loads the instruction that instruction generates according to the information of assembly for described server side, is specially
Described server side generates when judging described assembly as non-critical component according to the information of described assembly
Stop and load instruction.Described assembly is to cause the abnormal number of times closed of same type under identical running environment
Exceed the assembly of predetermined threshold value, the described number of times causing the abnormal closedown of same type under identical running environment
Obtain from the formerly abnormal closing information of the described browser of described server sidelights record, described abnormal closedown
Information includes module information and the running environment information thereof that exception throw closes;Described formerly abnormal closedown is believed
Cease and obtained according to the inquiry of described restarting information by described server side.
For above-mentioned browser embodiment 2, due to itself and embodiment of the method basic simlarity, so
Describe is fairly simple, and relevant part sees the part of embodiment of the method shown in Fig. 7, Fig. 8 and Fig. 9
Illustrate.
Present invention also offers the abnormal processing system closed of a kind of browser, specifically can include browsing
Device and server, wherein, describe with reference to the server implementation shown in above-mentioned Figure 10 for server
The part of example 2 illustrates;Describe with reference to the browser shown in above-mentioned Figure 11 real for browser
The part executing example 2 illustrates.
In the present invention, when restarting after the abnormal closedown of browser, first read browser sidelights and record formerly
Abnormal closing information;Then in the module information closed according to exception throw and running environment information thereof, sentence
The fixed number of times being caused same type extremely to close under identical running environment by same assembly exceedes default threshold
During value, the information of assembly is sent to server side;Finally receive that server side issues, according to assembly
Information generate prevention load instruction, and according to stop load instruction stop charging assembly.The present invention can
Under identical running environment, the abnormal closedown of same type was caused to stop loading when browser is restarted before
Number of times exceed the assembly of predetermined threshold value, thus will not the most by the same token after browser is restarted
Cause again abnormal closedown, fundamentally solve the abnormal problem closed of browser.
Algorithm and display be not solid with any certain computer, virtual system or miscellaneous equipment provided herein
Have relevant.Various general-purpose systems can also be used together with based on teaching in this.As described above,
Construct the structure required by this kind of system to be apparent from.Additionally, the present invention is also not for any specific
Programming language.It is understood that, it is possible to use various programming languages realize the content of invention described herein,
And the description done language-specific above is the preferred forms in order to disclose the present invention.
In description mentioned herein, illustrate a large amount of detail.It is to be appreciated, however, that this
Inventive embodiment can be put into practice in the case of not having these details.In some instances, not
It is shown specifically known method, structure and technology, in order to do not obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help understand in each inventive aspect one
Or multiple, above in the description of the exemplary embodiment of the present invention, each feature of the present invention is sometimes
It is grouped together in single embodiment, figure or descriptions thereof.But, should be by the disclosure
Method be construed to reflect an intention that i.e. the present invention for required protection require ratio in each claim
The middle more feature of feature be expressly recited.More precisely, as the following claims reflect
As, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows
Claims of detailed description of the invention are thus expressly incorporated in this detailed description of the invention, the most each right
Requirement itself is all as the independent embodiment of the present invention.
Those skilled in the art are appreciated that and can carry out the module in the equipment in embodiment certainly
Change adaptively and they are arranged in one or more equipment different from this embodiment.Permissible
Module in embodiment or unit or assembly are combined into a module or unit or assembly, and in addition may be used
To put them into multiple submodule or subelement or sub-component.Except such feature and/or process or
Outside at least some in unit excludes each other, can use any combination that (this specification is included companion
With claim, summary and accompanying drawing) disclosed in all features and so disclosed any method or
All processes of person's equipment or unit are combined.Unless expressly stated otherwise, this specification (includes companion
With claim, summary and accompanying drawing) disclosed in each feature can by provide identical, equivalent or phase
Replace like the alternative features of purpose.
Although additionally, it will be appreciated by those of skill in the art that embodiments more described herein include it
Some feature included in its embodiment rather than further feature, but the group of the feature of different embodiment
Close and mean to be within the scope of the present invention and formed different embodiments.Such as, in following power
In profit claim, one of arbitrarily can mode making in any combination of embodiment required for protection
With.
The all parts embodiment of the present invention can realize with hardware, or to process at one or more
The software module run on device realizes, or realizes with combinations thereof.Those skilled in the art should
Understand, microprocessor or digital signal processor (DSP) can be used in practice to realize basis
In abnormal processing method, system, server and the browser closed of the browser of the embodiment of the present invention one
The some or all functions of a little or whole parts.The present invention is also implemented as performing institute here
Part or all equipment of the method described or device program (such as, computer program and meter
Calculation machine program product).The program of such present invention of realization can store on a computer-readable medium,
Or can be to have the form of one or more signal.Such signal can be upper and lower from internet website
Load obtains, or provides on carrier signal, or provides with any other form.
The present invention will be described rather than limits the invention to it should be noted above-described embodiment,
And those skilled in the art can design replacement without departing from the scope of the appended claims
Embodiment.In the claims, any reference marks that should not will be located between bracket is configured to right
The restriction required.Word " comprises " and does not excludes the presence of the element or step not arranged in the claims.Position
Word "a" or "an" before element does not excludes the presence of multiple such element.The present invention can
With by means of including the hardware of some different elements and realizing by means of properly programmed computer.
If in the unit claim listing equipment for drying, several in these devices can be by same
Individual hardware branch specifically embodies.Word first, second and third use do not indicate that any order.
Can be title by these word explanations.
The invention discloses A1, the abnormal processing method closed of a kind of browser, including:
Receive the restarting information of the described browser uploaded when browser side is restarted after abnormal closedown, foundation
The formerly abnormal closing information of the described browser of described restarting information inquiry server sidelights record;Described different
Often closing information includes module information and the running environment information thereof that exception throw closes;
If the module information that server side is closed according to described exception throw and running environment information thereof, it is determined that
The abnormal number of times closed of same type is caused to exceed predetermined threshold value under identical running environment by same assembly,
Then stop according to the information generation of described assembly and load instruction, and stop loading instruction to be issued to clear by described
Looking at device side, described browser side is for loading instruction and stop according to described the prevention and load described assembly.
A2, method as described in A1, it is characterised in that the described information according to described assembly generates resistance
The step only loading instruction includes:
Judge that described assembly is whether as non-critical component according to the information of described assembly;
The most then generate to stop and load instruction.
A3, method as described in A1 or A2, it is characterised in that also include:
When judging described assembly as key component according to the information of described assembly, generate prompting version updating
Instruction;
The instruction of described prompting version updating is issued to browser side, and described browser side is additionally operable to foundation
The instruction of described prompting version updating loads described assembly, and shows the prompting letter that described component version updates
Breath.
A4, method as described in A1 or A2 or A3, it is characterised in that also include:
When judging described assembly as dangerous assembly according to the information of described assembly, generate blacklist write
Instruction;
Described blacklist write instruction is issued to browser side, and described browser side is additionally operable to according to described
Blacklist write instruction stops the described assembly of loading, and by the blacklist of described assembly write browser side.
A5, method as described in A1, it is characterised in that also include:
When judging described assembly as dangerous assembly according to the information of described assembly, described assembly is write
The blacklist of server side, described browser side is additionally operable to stop and loads described assembly.
A6, method as described in A2, it is characterised in that the described information according to described assembly judges institute
State the step whether assembly is non-critical component to include:
Search the information that whether there is described assembly in the unstable assembly list being pre-configured with;
If existing, it is determined that described assembly is non-critical component;
If not existing, it is determined that described assembly is key component.
A7, method as described in A1, it is characterised in that described browser is abnormal close include by Flash,
Third party's security component or browser intraware are third party software, hierarchical service provides program LSP,
Any one or more exceptions caused during plug-in unit, extension, graphic process unit GPU are accelerated are closed.
A8, method as described in A1, it is characterised in that also include:
Receive and record the abnormal closing information of the described browser that browser side is uploaded when abnormal closedown.
A9, method as described in A1, it is characterised in that the module information bag that described exception throw is closed
Include: the MD5 value of the title of described assembly, the version of described assembly and described assembly;Described initiation is different
The running environment information of the normally off assembly closed includes: operating system version during described assembly operating and described
Browser kernel version during assembly operating.
A10, method as described in A1 or A9, it is characterised in that described abnormal closing information also includes,
The abnormal type closed and anomaly parameter value, the described abnormal type closed includes access violation
EXCEPTION_ACCESS_VIOLATION, described anomaly parameter value includes memory address side-play amount.
A11, method as described in A10, it is characterised in that the described abnormal type closed also includes:
Except zero error, internal memory exhaust and debugging breakpoints.
A12, method as described in A1, it is characterised in that described restarting information includes described browser
The version information of kernel and the facility information at described browser place;It is described that described server sidelights are recorded
The formerly abnormal closing information of browser is, with the version information of described browser kernel and described in browse
The formerly abnormal closing information that the facility information at device place matches.
The invention also discloses B13, the abnormal processing method closed of a kind of browser, including:
When restarting after the abnormal closedown of browser, the restarting information of described browser is uploaded onto the server
Side;
Receive the prevention loading instruction that server side issues;The described prevention loads instruction for described server side
The instruction generated according to the information of assembly, described assembly is to cause same type different under identical running environment
The normally off number of times closed exceedes the assembly of predetermined threshold value, described causes same type different under identical running environment
The formerly abnormal closing information of the described browser that the normally off number of times closed is recorded from described server sidelights obtains,
Described abnormal closing information includes module information and the running environment information thereof that exception throw closes;Described
The most abnormal closing information is obtained according to the inquiry of described restarting information by described server side;
The instruction prevention described assembly of loading is loaded according to described the prevention.
B14, method as described in B13, it is characterised in that described prevention loads instruction and is, described clothes
The prevention that business device side generates when judging described assembly as non-critical component according to the information of described assembly adds
Carry instruction.
B15, method as described in B13 or B14, it is characterised in that also include:
Receive server side issue, judging that described assembly is as key component according to the information of described assembly
The instruction of the prompting version updating of Shi Shengcheng, loads described group according to the instruction of described prompting version updating
Part, and show the information that described component version updates.
16, the method as described in B13 or B14 or B15, it is characterised in that also include:
Receive server side issue, judging that described assembly is as dangerous group according to the information of described assembly
The blacklist write instruction generated during part, stops according to described blacklist write instruction and loads described assembly,
And by the blacklist of described assembly write browser side.
B17, method as described in B13, it is characterised in that also include:
When the abnormal closedown of browser, upload onto the server side by the abnormal closing information of described browser.
B18, method as described in B13, it is characterised in that in side that restarting information is uploaded onto the server
Step before, also include:
Load pop-up and display whether to enter the information of safe mode;
After user confirms to enter safe mode, perform the step of the described side that restarting information uploaded onto the server
Suddenly.
B19, method as described in B13, it is characterised in that the module information that described exception throw is closed
Including: the MD5 value of the title of described assembly, the version of described assembly and described assembly;Described initiation
The running environment information of the abnormal assembly closed includes: operating system version during described assembly operating and institute
State browser kernel version during assembly operating.
B20, method as described in B13, it is characterised in that described restarting information includes described browser
The version information of kernel and the facility information at described browser place;It is described that described server sidelights are recorded
The formerly abnormal closing information of browser is, with the version information of described browser kernel and described in browse
The formerly abnormal closing information that the facility information at device place matches.
The invention also discloses C21, a kind of server, including:
Receive enquiry module, be suitable to receive upload when browser side is restarted after abnormal closedown described in browse
The restarting information of device, according to described browser the most different of described restarting information inquiry server sidelights record
Often closing information;Described abnormal closing information includes module information and the running environment thereof that exception throw closes
Information;
First generation module, be suitable to the module information closed according to described exception throw in server side and
Running environment information, it is determined that caused the abnormal closedown of same type under identical running environment by same assembly
When number of times exceedes predetermined threshold value, generate according to the information of described assembly and stop loading instruction;
First issues module, is suitable to stop loading instruction to be issued to browser side, described browser by described
Side is for stoping loading instruction prevention to load described assembly according to described.
C22, server as described in C21, it is characterised in that described first generation module is further adapted for:
Judge that described assembly is whether as non-critical component according to the information of described assembly;The most then generate resistance
Only load instruction.
C23, server as described in C21 or C22, it is characterised in that also include:
Second generation module, is suitable to judging that described assembly is as key component according to the information of described assembly
Time, generate the instruction of prompting version updating;
Second issues module, is suitable to the instruction of described prompting version updating is issued to browser side, described
Browser side is additionally operable to load described assembly according to the instruction of described prompting version updating, and shows described group
The information of part version updating.
C24, server as described in C21 or C22 or C23, it is characterised in that also include:
3rd generation module, is suitable to judging that described assembly is as dangerous assembly according to the information of described assembly
Time, generate blacklist write instruction;
3rd issues module, is suitable to described blacklist write instruction is issued to browser side, described in browse
Device side is additionally operable to stop according to described blacklist write instruction load described assembly, and is write by described assembly
The blacklist of browser side.
C25, server as described in C21, it is characterised in that also include:
Writing module, is suitable to when judging described assembly as dangerous assembly according to the information of described assembly,
By the blacklist of described assembly write server side, described browser side is additionally operable to stop and loads described group
Part.
C26, server as described in C22, it is characterised in that described first generation module is further adapted for:
Search the information that whether there is described assembly in the unstable assembly list being pre-configured with;
If existing, it is determined that described assembly is non-critical component;
If not existing, it is determined that described assembly is key component.
C27, server as described in C21, it is characterised in that described browser is abnormal close include by
Flash, third party's security component or browser intraware are third party software, hierarchical service provides program
Any one or more exceptions caused during LSP, plug-in unit, extension, graphic process unit GPU are accelerated are closed
Close.
C28, server as described in C21, it is characterised in that also include:
Receiving record module, be suitable to receive and record browser side upload when abnormal closedown described in browse
The abnormal closing information of device.
C29, server as described in C21, it is characterised in that the assembly letter that described exception throw is closed
Breath includes: the MD5 value of the title of described assembly, the version of described assembly and described assembly;Described draw
The running environment information sending out the abnormal assembly closed includes: operating system version during described assembly operating and
Browser kernel version during described assembly operating.
C30, server as described in C21 or C29, it is characterised in that described abnormal closing information is also
Including, the abnormal type closed and anomaly parameter value, the described abnormal type closed includes access violation
EXCEPTION_ACCESS_VIOLATION, described anomaly parameter value includes memory address side-play amount.
C31, server as described in C30, it is characterised in that the described abnormal type closed also includes:
Except zero error, internal memory exhaust and debugging breakpoints.
C32, server as described in C21, it is characterised in that described restarting information include described in browse
The version information of device kernel and the facility information at described browser place;The institute of described server sidelights record
The formerly abnormal closing information stating browser is, with the version information of described browser kernel and described clear
The formerly abnormal closing information that the facility information at device place of looking at matches.
The invention also discloses D33, a kind of browser, including:
Transmission module on first, when being suitable to restart after the abnormal closedown of browser, by restarting of described browser
Information uploads onto the server side;
First receiver module, is suitable to receive the prevention loading instruction that server side issues;The described prevention loads
The instruction that instruction generates according to the information of assembly for described server side, described assembly is at identical operation ring
The abnormal number of times closed of same type is caused to exceed the assembly of predetermined threshold value under border, described at identical operation ring
Cause under border the described browser that the abnormal number of times closed of same type records from described server sidelights
First abnormal closing information obtains, described abnormal closing information include module information that exception throw closes and
Running environment information;Described formerly abnormal closing information is looked into according to described restarting information by described server side
Ask and obtain;
Stop module, be suitable to stop loading instruction prevention to load described assembly according to described.
D34, browser as described in D33, it is characterised in that described prevention loads instruction and is, described
The prevention that server side generates when judging described assembly as non-critical component according to the information of described assembly
Load instruction.
D35, browser as described in D33 or D34, it is characterised in that also include:
Second receiver module, is suitable to that reception server side issues, in the information judgement according to described assembly
The instruction of the prompting version updating generated when described assembly is key component;
Loaded and displayed module, is suitable to load described assembly according to the instruction of described prompting version updating, and shows
Show the information that described component version updates.
D36, browser as described in D33 or D34 or D35, it is characterised in that also include:
3rd receiver module, is suitable to that reception server side issues, in the information judgement according to described assembly
The blacklist write instruction generated when described assembly is dangerous assembly;
Stop writing module, be suitable to stop according to described blacklist write instruction load described assembly, and will
The blacklist of described assembly write browser side.
D37, browser as described in D33, it is characterised in that also include:
Transmission module on second, is suitable to, when the abnormal closedown of browser, the exception of described browser be closed letter
Cease the side that uploads onto the server.
D38, browser as described in D33, it is characterised in that also include:
Pop-up display module, is suitable to transmission module on first and restarting information is uploaded onto the server before side,
Load pop-up and display whether to enter the information of safe mode;
And after user confirms to enter safe mode, call transmission module on described first.
D39, browser as described in D33, it is characterised in that the assembly letter that described exception throw is closed
Breath includes: the MD5 value of the title of described assembly, the version of described assembly and described assembly;Described draw
The running environment information sending out the abnormal assembly closed includes: operating system version during described assembly operating and
Browser kernel version during described assembly operating.
D40, browser as described in D33, it is characterised in that described restarting information include described in browse
The version information of device kernel and the facility information at described browser place;The institute of described server sidelights record
The formerly abnormal closing information stating browser is, with the version information of described browser kernel and described clear
The formerly abnormal closing information that the facility information at device place of looking at matches.
The invention also discloses E41, the abnormal processing system closed of a kind of browser, want including such as right
Seek in C21 to C32 the server described in any one and as claim D33 to D40 appoints
Anticipate a described browser.
Claims (39)
1. the abnormal processing method closed of browser, including:
Receive the restarting information of the described browser uploaded when browser side is restarted after abnormal closedown, foundation
The formerly abnormal closing information of the described browser of described restarting information inquiry server sidelights record;Described different
Often closing information includes module information and the running environment information thereof that exception throw closes;Described restarting information
It is when the abnormal closedown of browser is restarted, described browser loads pop-up and display whether to enter safe mode
Display information, and upload when user confirms to enter after safe mode;
If the module information that server side is closed according to described exception throw and running environment information thereof, it is determined that
The abnormal number of times closed of same type is caused to exceed predetermined threshold value under identical running environment by same assembly,
Then stop according to the information generation of described assembly and load instruction, and stop loading instruction to be issued to clear by described
Looking at device side, described browser side is for loading instruction and stop according to described the prevention and load described assembly.
2. the method for claim 1, it is characterised in that the described information according to described assembly
Generate and stop the step loading instruction to include:
Judge that described assembly is whether as non-critical component according to the information of described assembly;
The most then generate to stop and load instruction.
3. method as claimed in claim 1 or 2, it is characterised in that also include:
When judging described assembly as key component according to the information of described assembly, generate prompting version updating
Instruction;
The instruction of described prompting version updating is issued to browser side, and described browser side is additionally operable to foundation
The instruction of described prompting version updating loads described assembly, and shows the prompting letter that described component version updates
Breath.
4. the method for claim 1, it is characterised in that also include:
When judging described assembly as dangerous assembly according to the information of described assembly, generate blacklist write
Instruction;
Described blacklist write instruction is issued to browser side, and described browser side is additionally operable to according to described
Blacklist write instruction stops the described assembly of loading, and by the blacklist of described assembly write browser side.
5. the method for claim 1, it is characterised in that also include:
When judging described assembly as dangerous assembly according to the information of described assembly, described assembly is write
The blacklist of server side, described browser side is additionally operable to stop and loads described assembly.
6. method as claimed in claim 2, it is characterised in that the described information according to described assembly
Judge that the described assembly step whether as non-critical component includes:
Search the information that whether there is described assembly in the unstable assembly list being pre-configured with;
If existing, it is determined that described assembly is non-critical component;
If not existing, it is determined that described assembly is key component.
7. the method for claim 1, it is characterised in that the abnormal closedown of described browser includes
By Flash, third party's security component or browser intraware be third party software, hierarchical service provide
Program LSP, plug-in unit, extension, graphic process unit GPU accelerate in any one or more cause
Abnormal closedown.
8. the method for claim 1, it is characterised in that also include:
Receive and record the abnormal closing information of the described browser that browser side is uploaded when abnormal closedown.
9. the method for claim 1, it is characterised in that the assembly that described exception throw is closed
Information includes: the MD5 value of the title of described assembly, the version of described assembly and described assembly;Described
The running environment information of the assembly that exception throw is closed includes: operating system version during described assembly operating
With browser kernel version during described assembly operating.
10. the method as described in claim 1 or 9, it is characterised in that described abnormal closing information is also
Including, the abnormal type closed and anomaly parameter value, the described abnormal type closed includes access violation
EXCEPTION_ACCESS_VIOLATION, described anomaly parameter value includes memory address side-play amount.
11. methods as claimed in claim 10, it is characterised in that the described abnormal type closed is also
Including: except zero error, internal memory exhaust and debugging breakpoints.
12. the method for claim 1, it is characterised in that described restarting information includes described clear
Look at the version information of device kernel and the facility information at described browser place;Described server sidelights record
The formerly abnormal closing information of described browser is, with the version information of described browser kernel and described
The formerly abnormal closing information that the facility information at browser place matches.
13. 1 kinds of abnormal processing methods closed of browser, including:
When restarting after the abnormal closedown of browser, the restarting information of described browser is uploaded onto the server
Side;Before the step of side that restarting information is uploaded onto the server, also include: load pop-up and display whether
Enter the display information of safe mode;When user confirms to enter after safe mode, perform described to restart letter
Cease the step of the side that uploads onto the server;
Receive the prevention loading instruction that server side issues;The described prevention loads instruction for described server side
The instruction generated according to the information of assembly, described assembly is to cause same type different under identical running environment
The normally off number of times closed exceedes the assembly of predetermined threshold value, described causes same type different under identical running environment
The formerly abnormal closing information of the described browser that the normally off number of times closed is recorded from described server sidelights obtains,
Described abnormal closing information includes module information and the running environment information thereof that exception throw closes;Described
The most abnormal closing information is obtained according to the inquiry of described restarting information by described server side;
The instruction prevention described assembly of loading is loaded according to described the prevention.
14. methods as claimed in claim 13, it is characterised in that described prevention loads instruction and is,
Described server side generates when judging described assembly as non-critical component according to the information of described assembly
Stop and load instruction.
15. methods as described in claim 13 or 14, it is characterised in that also include:
Receive server side issue, judging that described assembly is as key component according to the information of described assembly
The instruction of the prompting version updating of Shi Shengcheng, loads described group according to the instruction of described prompting version updating
Part, and show the information that described component version updates.
16. methods as claimed in claim 13, it is characterised in that also include:
Receive server side issue, judging that described assembly is as dangerous group according to the information of described assembly
The blacklist write instruction generated during part, stops according to described blacklist write instruction and loads described assembly,
And by the blacklist of described assembly write browser side.
17. methods as claimed in claim 13, it is characterised in that also include:
When the abnormal closedown of browser, upload onto the server side by the abnormal closing information of described browser.
18. methods as claimed in claim 13, it is characterised in that the group that described exception throw is closed
Part information includes: the MD5 value of the title of described assembly, the version of described assembly and described assembly;Institute
The running environment information stating the assembly that exception throw is closed includes: operating system version during described assembly operating
Browser kernel version when this and described assembly operating.
19. methods as claimed in claim 13, it is characterised in that described restarting information includes described
The version information of browser kernel and the facility information at described browser place;Described server sidelights are recorded
The formerly abnormal closing information of described browser be, with version information and the institute of described browser kernel
State the formerly abnormal closing information that the facility information at browser place matches.
20. 1 kinds of servers, including:
Receive enquiry module, be suitable to receive upload when browser side is restarted after abnormal closedown described in browse
The restarting information of device, according to described browser the most different of described restarting information inquiry server sidelights record
Often closing information;Described abnormal closing information includes module information and the running environment thereof that exception throw closes
Information;Described restarting information is when the abnormal closedown of browser is restarted, described browser load pop-up and show
Show the display information whether entering safe mode, and upload after user confirms to enter safe mode;
First generation module, be suitable to the module information closed according to described exception throw in server side and
Running environment information, it is determined that caused the abnormal closedown of same type under identical running environment by same assembly
When number of times exceedes predetermined threshold value, generate according to the information of described assembly and stop loading instruction;
First issues module, is suitable to stop loading instruction to be issued to browser side, described browser by described
Side is for stoping loading instruction prevention to load described assembly according to described.
21. servers as claimed in claim 20, it is characterised in that described first generation module is also
Be suitable to:
Judge that described assembly is whether as non-critical component according to the information of described assembly;The most then generate resistance
Only load instruction.
22. servers as described in claim 20 or 21, it is characterised in that also include:
Second generation module, is suitable to judging that described assembly is as key component according to the information of described assembly
Time, generate the instruction of prompting version updating;
Second issues module, is suitable to the instruction of described prompting version updating is issued to browser side, described
Browser side is additionally operable to load described assembly according to the instruction of described prompting version updating, and shows described group
The information of part version updating.
23. servers as claimed in claim 20, it is characterised in that also include:
3rd generation module, is suitable to judging that described assembly is as dangerous assembly according to the information of described assembly
Time, generate blacklist write instruction;
3rd issues module, is suitable to described blacklist write instruction is issued to browser side, described in browse
Device side is additionally operable to stop according to described blacklist write instruction load described assembly, and is write by described assembly
The blacklist of browser side.
24. servers as claimed in claim 20, it is characterised in that also include:
Writing module, is suitable to when judging described assembly as dangerous assembly according to the information of described assembly,
By the blacklist of described assembly write server side, described browser side is additionally operable to stop and loads described group
Part.
25. servers as claimed in claim 21, it is characterised in that described first generation module is also
Be suitable to:
Search the information that whether there is described assembly in the unstable assembly list being pre-configured with;
If existing, it is determined that described assembly is non-critical component;
If not existing, it is determined that described assembly is key component.
26. servers as claimed in claim 20, it is characterised in that described browser is abnormal closes
Including being third party software, hierarchical service by Flash, third party's security component or browser intraware
Offer program LSP, plug-in unit, extension, graphic process unit GPU accelerate in any one or more draw
The exception risen is closed.
27. server as claimed in claim 20, it is characterised in that also include:
Receiving record module, be suitable to receive and record browser side upload when abnormal closedown described in browse
The abnormal closing information of device.
28. servers as claimed in claim 20, it is characterised in that described exception throw is closed
Module information includes: the MD5 value of the title of described assembly, the version of described assembly and described assembly;
The running environment information of the assembly that described exception throw is closed includes: operating system during described assembly operating
Browser kernel version when version and described assembly operating.
29. servers as described in claim 20 or 28, it is characterised in that described abnormal closedown is believed
Breath also includes, the abnormal type closed and anomaly parameter value, and the described abnormal type closed includes accessing
Fault EXCEPTION_ACCESS_VIOLATION, described anomaly parameter value includes that memory address is inclined
Shifting amount.
30. servers as claimed in claim 29, it is characterised in that the described abnormal type closed
Also include: except zero error, internal memory exhaust and debugging breakpoints.
31. servers as claimed in claim 20, it is characterised in that described restarting information includes institute
State version information and the facility information at described browser place of browser kernel;Described server sidelights
The formerly abnormal closing information of the described browser of record is, with the version information of described browser kernel and
The formerly abnormal closing information that the facility information at described browser place matches.
32. 1 kinds of browsers, including:
Transmission module on first, when being suitable to restart after the abnormal closedown of browser, by restarting of described browser
Information uploads onto the server side;
First receiver module, is suitable to receive the prevention loading instruction that server side issues;The described prevention loads
The instruction that instruction generates according to the information of assembly for described server side, described assembly is at identical operation ring
The abnormal number of times closed of same type is caused to exceed the assembly of predetermined threshold value under border, described at identical operation ring
Cause under border the described browser that the abnormal number of times closed of same type records from described server sidelights
First abnormal closing information obtains, described abnormal closing information include module information that exception throw closes and
Running environment information;Described formerly abnormal closing information is looked into according to described restarting information by described server side
Ask and obtain;
Stop module, be suitable to stop loading instruction prevention to load described assembly according to described;
Described browser also includes:
Pop-up display module, is suitable to transmission module on first and restarting information is uploaded onto the server before side,
Load pop-up and display whether to enter the display information of safe mode;
And after user confirms to enter safe mode, call transmission module on described first.
33. browsers as claimed in claim 32, it is characterised in that described prevention loads instruction and is,
Described server side generates when judging described assembly as non-critical component according to the information of described assembly
Stop and load instruction.
34. browsers as described in claim 32 or 33, it is characterised in that also include:
Second receiver module, is suitable to that reception server side issues, in the information judgement according to described assembly
The instruction of the prompting version updating generated when described assembly is key component;
Loaded and displayed module, is suitable to load described assembly according to the instruction of described prompting version updating, and shows
Show the information that described component version updates.
35. browsers as claimed in claim 32, it is characterised in that also include:
3rd receiver module, is suitable to that reception server side issues, in the information judgement according to described assembly
The blacklist write instruction generated when described assembly is dangerous assembly;
Stop writing module, be suitable to stop according to described blacklist write instruction load described assembly, and will
The blacklist of described assembly write browser side.
36. browsers as claimed in claim 32, it is characterised in that also include:
Transmission module on second, is suitable to, when the abnormal closedown of browser, the exception of described browser be closed letter
Cease the side that uploads onto the server.
37. browsers as claimed in claim 32, it is characterised in that described exception throw is closed
Module information includes: the MD5 value of the title of described assembly, the version of described assembly and described assembly;
The running environment information of the assembly that described exception throw is closed includes: operating system during described assembly operating
Browser kernel version when version and described assembly operating.
38. browsers as claimed in claim 32, it is characterised in that described restarting information includes institute
State version information and the facility information at described browser place of browser kernel;Described server sidelights
The formerly abnormal closing information of the described browser of record is, with the version information of described browser kernel and
The formerly abnormal closing information that the facility information at described browser place matches.
39. 1 kinds of abnormal processing systems closed of browser, including as any in claim 20 to 31
One described server and as described in any one in claim 32 to 38 browser.
Priority Applications (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 |
Applications Claiming Priority (1)
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 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610823023.1A Division CN106453509B (en) | 2013-10-22 | 2013-10-22 | Processing method that browser is closed extremely, system, browser and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103595765A CN103595765A (en) | 2014-02-19 |
CN103595765B true CN103595765B (en) | 2016-11-09 |
Family
ID=50085745
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610823023.1A Expired - Fee Related 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 Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610823023.1A Expired - Fee Related CN106453509B (en) | 2013-10-22 | 2013-10-22 | Processing method that browser is closed extremely, 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 (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101551753A (en) * | 2009-04-08 | 2009-10-07 | 腾讯科技(北京)有限公司 | Device for controlling loading of plug-in and method |
CN101573712A (en) * | 2006-12-29 | 2009-11-04 | 微软公司 | Automatic vulnerability detection and response |
CN102722439A (en) * | 2012-06-01 | 2012-10-10 | 奇智软件(北京)有限公司 | Method, device and system for improving running stability of FLASH assembly |
CN102722559A (en) * | 2012-05-31 | 2012-10-10 | 奇智软件(北京)有限公司 | Method, device and system for controlling processes of abnormal pages |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4343578B2 (en) * | 2003-05-08 | 2009-10-14 | 株式会社日立製作所 | Storage operation management system |
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 |
CN102081709B (en) * | 2009-12-01 | 2017-05-24 | 联想(北京)有限公司 | Method and device for disabling browser plug-in and terminal |
CN103034495A (en) * | 2012-12-12 | 2013-04-10 | 北京奇虎科技有限公司 | Browser capable of isolating plug-in in webpage and webpage plug-in isolating method |
CN103078945B (en) * | 2013-01-07 | 2015-11-25 | 北京奇虎科技有限公司 | To the method and system that browser crash data processes |
CN103268442B (en) * | 2013-05-14 | 2015-12-23 | 北京奇虎科技有限公司 | A kind of method and apparatus realizing secure access video website |
-
2013
- 2013-10-22 CN CN201610823023.1A patent/CN106453509B/en not_active Expired - Fee Related
- 2013-10-22 CN CN201310499970.6A patent/CN103595765B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101573712A (en) * | 2006-12-29 | 2009-11-04 | 微软公司 | Automatic vulnerability detection and response |
CN101551753A (en) * | 2009-04-08 | 2009-10-07 | 腾讯科技(北京)有限公司 | Device for controlling loading of plug-in and method |
CN102722559A (en) * | 2012-05-31 | 2012-10-10 | 奇智软件(北京)有限公司 | Method, device and system for controlling processes of abnormal pages |
CN102722439A (en) * | 2012-06-01 | 2012-10-10 | 奇智软件(北京)有限公司 | Method, device and system for improving running stability of FLASH assembly |
Also Published As
Publication number | Publication date |
---|---|
CN106453509B (en) | 2019-06-04 |
CN103595765A (en) | 2014-02-19 |
CN106453509A (en) | 2017-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103595765B (en) | The processing method of the abnormal closedown of browser, system, browser and server | |
CN103595708B (en) | The browser processing method of closing, system, browser and server extremely | |
US10169034B2 (en) | Verification of backward compatibility of software components | |
CN106462476B (en) | By the compatible extension point for allowing to extend of the Function Extension of application to another application | |
KR102341154B1 (en) | High-speed application for installation on mobile devices for permitting remote configuration of such mobile devices | |
US8402319B2 (en) | Method and system to extract a navigation model for analysis of a web application | |
US20130104114A1 (en) | Update Application User Interfaces on Client Devices | |
US9325717B1 (en) | Web-store restriction of external libraries | |
JP2013545172A (en) | Device and method for providing a software program adapted to a computer system downloaded by a user | |
Heap | Ansible: from beginner to pro | |
CN103617055B (en) | A kind of method, apparatus and browser for starting application program in a browser | |
WO2018026585A1 (en) | Retain locally deleted content at storage service | |
CN109445770B (en) | Error code processing method, device, medium and equipment | |
KR101814897B1 (en) | Method and system for protecting file | |
US20090138621A1 (en) | System and method for delegating a dependent business object | |
Chen et al. | Service encapsulation for middleware management interfaces | |
CN113657077B (en) | Document variable chapter online compiling method and readable storage medium | |
CN102859512A (en) | Remotable project | |
CN114996955A (en) | Target range environment construction method and device for cloud-originated chaotic engineering experiment | |
US11366658B1 (en) | Seamless lifecycle stability for extensible software features | |
CN108052335A (en) | Data managing method, device, computing device and storage medium | |
CN114461909A (en) | Information processing method, information processing apparatus, electronic device, and storage medium | |
Phan | Ionic cookbook | |
Friesel | PhantomJS Cookbook | |
Mahmoud | Developing Middleware in Java EE 8: Build robust middleware solutions using the latest technologies and trends |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220718 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 |