CN104199749A - Crash information processing method and crash information processing device - Google Patents
Crash information processing method and crash information processing device Download PDFInfo
- Publication number
- CN104199749A CN104199749A CN201410474794.5A CN201410474794A CN104199749A CN 104199749 A CN104199749 A CN 104199749A CN 201410474794 A CN201410474794 A CN 201410474794A CN 104199749 A CN104199749 A CN 104199749A
- Authority
- CN
- China
- Prior art keywords
- collapse
- mark
- crash info
- crash
- module
- 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.)
- Pending
Links
Abstract
The invention discloses a crash information processing method. The method includes: enabling a crash application program to collect crash information when crash occurs at a client end; analyzing the crash information and extracting a unique crash tab capable of identifying the crash information; matching the crash tab with matching tabs stored in a server; if matching fails, reporting the crash information corresponding to the crash tab to the server; if matching succeeds, stopping reporting the crash information corresponding to the crash tab. By adoption of the crash information processing method, client end crash analysis efficiency can be improved, and waste of crash analysis resources can be avoided.
Description
Technical field
The present invention relates to the data processing field of computing machine, more in particular to a kind of disposal route and device of crash info.
Background technology
Internet client, in operational process, occurs abnormal and cannot normally carry out or exit time, will cause client collapse if run into the reason such as program execution error.Internet client program has collapse to report program at present, namely when there is collapse in client, have collapse collection procedure and collect the collapse dump file (dump file is the memory mirror of process) occurring, then be transferred to server, by special developer, take dump file and analyze.But, existing this processing mode can cause repeat to collapse dump file repeat to report problem, make server need repeated storage and analysis, cause the reduction of collapse analysis efficiency and the waste that resource is analyzed in collapse.
Summary of the invention
In order to improve client collapse analysis efficiency and to avoid collapse to analyze the waste of resource, embodiment of the present invention provides a kind of disposal route and device of crash info.
On the one hand, embodiment of the present invention provides a kind of disposal route of crash info, and described method comprises:
When collapse occurs client, collapse application program and collect crash info;
To described crash info analyze and extract can unique identification described in the collapse mark of crash info;
Described collapse mark is mated with the matched indicia of having stored in server;
If it fails to match, by the corresponding described crashing information report of described collapse mark to described server;
If the match is successful, end the described crash info that reports described collapse mark affiliated.
Accordingly, embodiment of the present invention provides a kind for the treatment of apparatus of crash info, and described device comprises:
Collapse generation module, for collecting crash info when collapse occurs client;
Collapse mark module, for analyzing and extract the collapse mark collapsing described in can unique identification to described crash info;
Collapse matching module, mates for the matched indicia that described collapse mark has been stored with server;
Collapse reporting module, for described when it fails to match by the corresponding described crashing information report of described collapse mark to described server.
Implement various embodiment of the present invention and can improve client the collapse efficiency of analyzing and the waste of avoiding collapse analysis resource.
Accompanying drawing explanation
Fig. 1 is according to the process flow diagram of the disposal route of a kind of crash info of embodiment of the present invention;
Fig. 2 is according to the Organization Chart of the treating apparatus of a kind of crash info of embodiment of the present invention;
Fig. 3 shows the block diagram of the collapse mark module 200 shown in Fig. 2;
Fig. 4 shows the block diagram of the collapse matching module 300 shown in Fig. 2;
Fig. 5 shows the block diagram of the collapse reporting module 400 shown in Fig. 2.
Embodiment
Below in conjunction with the drawings and specific embodiments, be described in detail to various aspects of the present invention.Wherein, well-known module, unit and connection each other thereof, link, communication or operation do not illustrate or do not elaborate.And described feature, framework or function can combinations by any way in one or more embodiments.It will be appreciated by those skilled in the art that following various embodiments are only for illustrating, but not for limiting the scope of the invention.Can also easily understand, the module in each embodiment described herein and shown in the drawings or unit or processing mode can combine and design by various different configurations.
Fig. 1 is according to the process flow diagram of the disposal route of a kind of crash info of embodiment of the present invention, said method comprising the steps of:
Step S1 collapses application program and collects crash info when collapse occurs client, and wherein, crash info includes but not limited to, for example, and dump file;
Step S2, to described crash info analyze and extract can unique identification described in the collapse mark of crash info;
Step S3, mates described collapse mark with the matched indicia of having stored in server;
Step S31, judges that whether described coupling is successful;
Step S311, if the match is successful, ends to report the corresponding described crash info of described collapse mark.
Step S312, if it fails to match, by the corresponding described crashing information report of described collapse mark to described server; Described described crash info analysis is comprised: the stack information that extracts described crash info.
Wherein, the collapse mark that described extraction is collapsed described in can unique identification comprises: according to the described stack information extracting, calculate to generate described can unique identification described in the collapse mark of crash info, more specifically, can be the cryptographic hash according to predetermined layer calculates in described stack information.For example: by the mode that adopts the api interface application program (ReadProcessMemory) of WINDOW to read collapse file, collect crash info, then internally deposit into line search and the complete stack frame (address corresponding to esp of the structure ExceptionContext the inside storage that the start address of search is windows with recalling; End address is the address of stackbase in register teb the inside storage), then the hash value that calculates first 5 layers of storehouse is as the mark that can unique identification collapses dump file, for follow-up matching treatment.It should be noted that, it will be appreciated by those skilled in the art that above-mentioned is one embodiment of the present invention, and embodiment of the present invention is not limited to calculate hash values according to first 5 layers of storehouse, and according to actual needs, described predetermined layer can be for first 3 layers, 10 layers, storehouse etc.
Described described collapse mark mated and referred to the matched indicia of having stored in server: the numerical value of the described matched indicia of having stored in the numerical value of described cryptographic hash and described server is compared, if both numerical value unanimously, the match is successful; If both numerical value is inconsistent, it fails to match.
In addition, described method also comprises: if described, it fails to match, and described server is stored as matched indicia by described collapse mark, thereby the matched indicia in server can be constantly updated, avoid collapsing repeated storage and the analysis of file, improve the analysis efficiency of collapse file.
Fig. 2 is according to the Organization Chart of the treating apparatus of a kind of crash info of embodiment of the present invention, and referring to Fig. 2, described device comprises:
Collapse generation module 100, for collecting crash info when collapse occurs client; Wherein, server receives crash info, and crash info is dump file.
Collapse mark module 200, for analyzing and extract the collapse mark collapsing described in can unique identification to described crash info; Server is analyzed and is recalled collapse file and complete stack frame, and extracting can uniquely identified stack information in complete stack frame.
Collapse matching module 300, mates for the matched indicia that described collapse mark has been stored with server;
Collapse reporting module 400, for described when it fails to match by the corresponding described crashing information report of described collapse mark to described server.
Fig. 3 shows the block diagram of the collapse mark module 200 shown in Fig. 2, and referring to Fig. 3, described collapse mark module 200 comprises:
Collapse labeled analysis module 210, for extracting the stack information of described crash info; And
Collapse mark generation module 220, for according to the described stack information extracting, calculate generate described can unique identification described in the collapse mark of crash info.
Wherein, described in can unique identification described in described collapse mark generation module 220, the collapse mark of crash info comprises: according to the cryptographic hash that in described stack information, predetermined layer calculates.For example: by the mode that adopts the api interface application program (ReadProcessMemory) of WINDOW to read collapse file, collect crash info, then internally deposit into line search and the complete stack frame (address corresponding to esp of the structure ExceptionContext the inside storage that the start address of search is windows with recalling; End address is the address of stackbase in register teb the inside storage), then the hash value that calculates first 5 layers of storehouse is as the mark that can unique identification collapses dump file, for follow-up matching treatment.
Fig. 4 shows the block diagram of the collapse matching module 300 shown in Fig. 2, and referring to Fig. 4, described collapse matching module 300 comprises:
Collapse match comparison module 310, compares for the numerical value of described matched indicia that the numerical value of described cryptographic hash and described server have been stored, if both numerical value unanimously, the match is successful; If both numerical value is inconsistent, it fails to match.
Collapse coupling memory module 320, for storing described collapse mark when it fails to match described; And when described when the match is successful, mean that described collapse mark stored, this collapse file and problem had reported, and no longer stored this collapse mark, thereby avoided collapsing repeated storage and the analysis of file.
Fig. 5 shows the block diagram of the collapse reporting module 400 shown in Fig. 2, and referring to Fig. 5, described collapse reporting module 400 comprises:
Collapse reports processing module 410, for by the described crashing information report of described collapse coupling memory module 300 storages to described server, only will not have the crash info that the match is successful He reported to report.
Collapse reports update module 420, for described collapse being mated to the described collapse flag update of memory module 300, it is described matched indicia, thereby the matched indicia in server can be constantly updated, avoid collapsing repeated storage and the analysis of file, improve the analysis efficiency of collapse file.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode of software combined with hardware platform, can certainly all by hardware, implement.Understanding based on such, what technical scheme of the present invention contributed to background technology can embody with the form of software product in whole or in part, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, smart mobile phone or the network equipment etc.) carry out the method described in some part of each embodiment of the present invention or embodiment.
The term using in instructions of the present invention and wording, just to illustrating, are not meaned to form to limit.It will be appreciated by those skilled in the art that under the prerequisite of ultimate principle that does not depart from disclosed embodiment, to each details in above-mentioned embodiment, can carry out various variations.Therefore, scope of the present invention only determined by claim, and in the claims, except as otherwise noted, all terms should be understood by the most wide in range rational meaning.
Claims (11)
1. a disposal route for crash info, is characterized in that, described method comprises:
When collapse occurs client, collapse application program and collect crash info;
To described crash info analyze and extract can unique identification described in the collapse mark of crash info;
Described collapse mark is mated with the matched indicia of having stored in server;
If it fails to match, by the corresponding described crashing information report of described collapse mark to described server;
If the match is successful, end to report the corresponding described crash info of described collapse mark.
2. the method for claim 1, is characterized in that, described described crash info analysis is comprised:
Extract the stack information of described crash info.
3. method as claimed in claim 2, is characterized in that, the collapse mark that described extraction is collapsed described in can unique identification comprises:
According to the described stack information extracting, calculate generate described can unique identification described in the collapse mark of crash info.
4. method as claimed in claim 3, is characterized in that, described calculating generate can unique identification described in the collapse mark of crash info comprise:
According to the cryptographic hash that in described stack information, predetermined layer calculates.
5. method as claimed in claim 4, is characterized in that, described described collapse mark is mated and comprised with the matched indicia of having stored in server:
The numerical value of the described matched indicia of having stored in the numerical value of described cryptographic hash and described server is compared.
6. the method for claim 1, is characterized in that, described method also comprises:
If described, it fails to match, and described server is stored as matched indicia by described collapse mark.
7. a treating apparatus for crash info, is characterized in that, described device comprises:
Collapse generation module, for collecting crash info when collapse occurs client;
Collapse mark module, for analyzing and extract the collapse mark collapsing described in can unique identification to described crash info;
Collapse matching module, mates for the matched indicia that described collapse mark has been stored with server;
Collapse reporting module, for described when it fails to match by the corresponding described crashing information report of described collapse mark to described server.
8. device as claimed in claim 7, is characterized in that, described collapse mark module comprises:
Collapse labeled analysis module, for extracting the stack information of described crash info; And
Collapse mark generation module, for according to the described stack information extracting, calculate generate described can unique identification described in the collapse mark of crash info.
9. device as claimed in claim 8, is characterized in that, described can unique identification described in the collapse mark of crash info comprise:
According to the cryptographic hash that in described stack information, predetermined layer calculates.
10. device as claimed in claim 9, is characterized in that, described collapse matching module comprises:
Collapse match comparison module, compares for the numerical value of described matched indicia that the numerical value of described cryptographic hash and described server have been stored; And
Collapse coupling memory module, for storing described collapse mark when it fails to match described.
11. equipment as claimed in claim 10, is characterized in that, described collapse reporting module comprises:
Collapse reports processing module, for described crashing information report that described collapse coupling memory module is stored to described server; And
Collapse reports update module, for described collapse being mated to the described collapse flag update of memory module, is described matched indicia.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410474794.5A CN104199749A (en) | 2014-09-17 | 2014-09-17 | Crash information processing method and crash information processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410474794.5A CN104199749A (en) | 2014-09-17 | 2014-09-17 | Crash information processing method and crash information processing device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104199749A true CN104199749A (en) | 2014-12-10 |
Family
ID=52085046
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410474794.5A Pending CN104199749A (en) | 2014-09-17 | 2014-09-17 | Crash information processing method and crash information processing device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104199749A (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105653432A (en) * | 2015-12-22 | 2016-06-08 | 北京奇虎科技有限公司 | Processing method and device of crash data |
CN105827606A (en) * | 2016-03-29 | 2016-08-03 | 乐视控股(北京)有限公司 | Terminal corrupted data processing method and device, and terminal |
CN105915365A (en) * | 2015-12-25 | 2016-08-31 | 乐视致新电子科技(天津)有限公司 | Method, server and client for controlling reporting of crash data |
CN106201757A (en) * | 2016-07-12 | 2016-12-07 | 网易(杭州)网络有限公司 | A kind of abnormality eliminating method and device |
CN106354577A (en) * | 2016-08-22 | 2017-01-25 | 上海亿账通互联网科技有限公司 | Crash information storage method and system |
CN107247667A (en) * | 2017-06-02 | 2017-10-13 | 上海金大师网络科技有限公司 | Automate dump analysis systems and method |
CN107305522A (en) * | 2016-04-21 | 2017-10-31 | 富士通株式会社 | The apparatus and method detected for the repetition collapse to application program |
CN107544856A (en) * | 2016-06-23 | 2018-01-05 | 腾讯科技(深圳)有限公司 | Information-pushing method and device |
CN108052431A (en) * | 2017-12-08 | 2018-05-18 | 北京奇虎科技有限公司 | Terminal program exception closing information processing method, device, terminal |
CN108052406A (en) * | 2017-12-08 | 2018-05-18 | 北京奇虎科技有限公司 | Terminal program exception closing information processing method, device, terminal |
CN108334515A (en) * | 2017-01-20 | 2018-07-27 | 阿里巴巴集团控股有限公司 | The method, apparatus and system of stack address in file are collapsed in a kind of processing |
CN111061583A (en) * | 2019-11-15 | 2020-04-24 | 腾讯科技(深圳)有限公司 | Crash information processing method, device, equipment and medium |
CN112437152A (en) * | 2020-11-20 | 2021-03-02 | 北京百度网讯科技有限公司 | Crash processing method and device, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030212757A1 (en) * | 2002-04-26 | 2003-11-13 | Canon Kabushiki Kaisha | Communication apparatus and communication control method in the apparatus |
CN101114253A (en) * | 2006-07-26 | 2008-01-30 | 腾讯科技(深圳)有限公司 | Program crashing information report method and system thereof |
CN101741630A (en) * | 2008-11-07 | 2010-06-16 | 英业达股份有限公司 | Error reporting system and method thereof |
CN102752744A (en) * | 2011-04-19 | 2012-10-24 | 腾讯科技(深圳)有限公司 | Problem solving method and device for mobile terminal |
CN103220173A (en) * | 2013-04-09 | 2013-07-24 | 北京搜狐新媒体信息技术有限公司 | Alarm monitoring method and alarm monitoring system |
CN103593264A (en) * | 2013-11-28 | 2014-02-19 | 中国南方电网有限责任公司超高压输电公司南宁局 | System and method for remote wide area network disaster recovery backup |
-
2014
- 2014-09-17 CN CN201410474794.5A patent/CN104199749A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030212757A1 (en) * | 2002-04-26 | 2003-11-13 | Canon Kabushiki Kaisha | Communication apparatus and communication control method in the apparatus |
CN101114253A (en) * | 2006-07-26 | 2008-01-30 | 腾讯科技(深圳)有限公司 | Program crashing information report method and system thereof |
CN101741630A (en) * | 2008-11-07 | 2010-06-16 | 英业达股份有限公司 | Error reporting system and method thereof |
CN102752744A (en) * | 2011-04-19 | 2012-10-24 | 腾讯科技(深圳)有限公司 | Problem solving method and device for mobile terminal |
CN103220173A (en) * | 2013-04-09 | 2013-07-24 | 北京搜狐新媒体信息技术有限公司 | Alarm monitoring method and alarm monitoring system |
CN103593264A (en) * | 2013-11-28 | 2014-02-19 | 中国南方电网有限责任公司超高压输电公司南宁局 | System and method for remote wide area network disaster recovery backup |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105653432B (en) * | 2015-12-22 | 2019-02-15 | 北京奇虎科技有限公司 | A kind for the treatment of method and apparatus of crash data |
CN105653432A (en) * | 2015-12-22 | 2016-06-08 | 北京奇虎科技有限公司 | Processing method and device of crash data |
CN105915365A (en) * | 2015-12-25 | 2016-08-31 | 乐视致新电子科技(天津)有限公司 | Method, server and client for controlling reporting of crash data |
CN105827606A (en) * | 2016-03-29 | 2016-08-03 | 乐视控股(北京)有限公司 | Terminal corrupted data processing method and device, and terminal |
CN107305522A (en) * | 2016-04-21 | 2017-10-31 | 富士通株式会社 | The apparatus and method detected for the repetition collapse to application program |
CN107544856B (en) * | 2016-06-23 | 2019-06-07 | 腾讯科技(深圳)有限公司 | Information-pushing method and device |
CN107544856A (en) * | 2016-06-23 | 2018-01-05 | 腾讯科技(深圳)有限公司 | Information-pushing method and device |
CN106201757A (en) * | 2016-07-12 | 2016-12-07 | 网易(杭州)网络有限公司 | A kind of abnormality eliminating method and device |
CN106354577A (en) * | 2016-08-22 | 2017-01-25 | 上海亿账通互联网科技有限公司 | Crash information storage method and system |
CN108334515A (en) * | 2017-01-20 | 2018-07-27 | 阿里巴巴集团控股有限公司 | The method, apparatus and system of stack address in file are collapsed in a kind of processing |
CN108334515B (en) * | 2017-01-20 | 2022-07-15 | 阿里巴巴集团控股有限公司 | Method, device and system for processing stack address in crash file |
CN107247667A (en) * | 2017-06-02 | 2017-10-13 | 上海金大师网络科技有限公司 | Automate dump analysis systems and method |
CN108052406A (en) * | 2017-12-08 | 2018-05-18 | 北京奇虎科技有限公司 | Terminal program exception closing information processing method, device, terminal |
CN108052431A (en) * | 2017-12-08 | 2018-05-18 | 北京奇虎科技有限公司 | Terminal program exception closing information processing method, device, terminal |
CN111061583A (en) * | 2019-11-15 | 2020-04-24 | 腾讯科技(深圳)有限公司 | Crash information processing method, device, equipment and medium |
CN112437152A (en) * | 2020-11-20 | 2021-03-02 | 北京百度网讯科技有限公司 | Crash processing method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104199749A (en) | Crash information processing method and crash information processing device | |
AU2019232799A1 (en) | Service processing method and apparatus | |
EP2854053A1 (en) | Defect prediction method and device | |
CN106897072A (en) | Traffic engineered call method, device and electronic equipment | |
CN110689084B (en) | Abnormal user identification method and device | |
CN110096263A (en) | Web front end code automatic generation method and device | |
CN104915359A (en) | Theme label recommending method and device | |
CN106096926B (en) | Event processing method, device, electronic device and storage medium | |
CN106202126A (en) | A kind of data analysing method for logistics monitoring and device | |
CN113095509A (en) | Updating method and device of online machine learning model | |
CN105335142A (en) | Method and device for identifying performance bottleneck of transaction in transaction processing system | |
CN110162518B (en) | Data grouping method, device, electronic equipment and storage medium | |
KR101724302B1 (en) | Patent Dispute Forecasting Apparatus and Method Thereof | |
CN109670153A (en) | A kind of determination method, apparatus, storage medium and the terminal of similar model | |
CN104506636A (en) | Method and device for synchronizing data | |
CN107798086A (en) | Server info update method, device, system and electronic equipment | |
CN108768742B (en) | Network construction method and device, electronic equipment and storage medium | |
CN112541765A (en) | Method and apparatus for detecting suspicious transactions | |
CN111160410A (en) | Object detection method and device | |
US20220207388A1 (en) | Automatically generating conditional instructions for resolving predicted system issues using machine learning techniques | |
CN111782684B (en) | Distribution network electronic handover information matching method and device | |
CN103489051A (en) | Method for checking and normalizing customer information in multiple information systems of fund company | |
CN112084408A (en) | List data screening method and device, computer equipment and storage medium | |
CN104965853A (en) | Method and system for recommending aggregation application, method and device for aggregating various recommendation resources | |
US20140047129A1 (en) | Method, apparatus, and computer program product for interfacing with an unidentified health information technology system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20141210 |
|
RJ01 | Rejection of invention patent application after publication |