CN110442468A - Collapse diagnostic message collection method, system and electronic equipment - Google Patents

Collapse diagnostic message collection method, system and electronic equipment Download PDF

Info

Publication number
CN110442468A
CN110442468A CN201910650872.5A CN201910650872A CN110442468A CN 110442468 A CN110442468 A CN 110442468A CN 201910650872 A CN201910650872 A CN 201910650872A CN 110442468 A CN110442468 A CN 110442468A
Authority
CN
China
Prior art keywords
collapse
information
management module
processing module
preset kind
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
Application number
CN201910650872.5A
Other languages
Chinese (zh)
Inventor
孙学伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201910650872.5A priority Critical patent/CN110442468A/en
Publication of CN110442468A publication Critical patent/CN110442468A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0766Error or fault reporting or storing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/079Root cause analysis, i.e. error or fault diagnosis

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the present invention provides a kind of collapse diagnostic message collection method, when detecting that specified application is collapsed, obtains the collapse description information of the collapse of generation, which is used as wait diagnose collapse;Based on above-mentioned collapse description information, determine wait diagnose whether collapse is preset kind collapse;If so, will be during specified application is run in program information collected, default type program information corresponding with preset kind collapse is determined as the collapse diagnostic message of collapse to be diagnosed.In the above method, the acquisition default type program information corresponding with preset kind collapse during specified application operation, when preset kind, which collapses, to be occurred, it can be using the default type program information of collection as collapse diagnostic message, it is analyzed for developer, it since collapse diagnostic message is collapsed for above-mentioned preset kind and collects, validity is higher for the middle universal diagnostic information collected compared with the prior art, and the fix-rate of preset kind collapse can be improved.

Description

Collapse diagnostic message collection method, system and electronic equipment
Technical field
The present invention relates to fault diagnosis technology field, more particularly to a kind of collapse diagnostic message collection method, system and Electronic equipment.
Background technique
In system program or the operational process of application program, often because a variety of causes causes program to collapse Burst, for example, using setup error, system is leaky, program is infected or operation error etc. is all likely to result in program Collapse.When collapsing generation, it would be desirable to collect and can assist in the collapse diagnostic message for solving crash issue, analyze above-mentioned collapse Diagnostic message is to solve crash issue.
Existing collapse diagnostic system can collect some conventional collapse diagnostic messages, even if being different crash issue, Its collapse diagnostic message collected all is same type, such as collecting device essential information, thread-data and running log Deng.Existing collapse diagnostic system the problem is that, the collapse diagnostic message being collected into is fixed type.But it is practical When the different crash issues of middle solution, required collapse diagnostic message is usually different, so existing collapse diagnostic system In the conventional collapse diagnostic message being collected into, there are many not being effective information, it cannot assist to solve crash issue.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of collapse diagnostic message collection method, system and electronic equipment, with It realizes and is directed to different crash issues, obtain the default collapse diagnostic message of specified crash issue.Specific technical solution is as follows:
In a first aspect, being applied to collapse diagnosis letter the embodiment of the invention provides a kind of collapse diagnostic message collection method Collection system is ceased, the system comprises collapse management module and at least one collapse processing module, each collapse handles mould Block corresponds to a kind of preset kind collapse, the collapse processing module, for adopting during specified application operation Collect the default type program information of the specified application, the default type program information and collapse processing module institute The corresponding preset kind collapse is corresponding, comprising:
The collapse management module obtains collapsing for the collapse of generation when detecting that specified application is collapsed Routed description information, the collapse is as wait diagnose collapse;
By information exchange between the collapse management module and the collapse processing module, based on collapse description letter Breath determines described wait diagnose whether collapse is preset kind collapse;
If so, the collapse processing module sends default kind of the class method collected to the collapse management module Information;
The default type program information is determined as the collapse diagnosis of the collapse to be diagnosed by the collapse management module Information.
In one embodiment, the collapse is uploaded to server the method also includes: the collapse management module to retouch State information and the collapse diagnostic message.
In one embodiment, pass through information exchange, base between the collapse management module and the collapse processing module In the collapse description information, determine described wait diagnose whether collapse is preset kind collapse, comprising:
The collapse management module is based on the collapse description information, determines whether described wait diagnose collapse be preset kind Collapse;Or
The collapse processing module is after receiving the collapse description information that the collapse management module is sent, base In the collapse description information, determine described wait diagnose whether collapse is preset kind collapse corresponding to itself.
In one embodiment, in the collapse processing module after receiving the collapse description information, it is based on institute It states collapse description information, determines described wait diagnose after whether collapse be preset kind collapse corresponding to itself, further includes:
If it is not, returning to the collapse management module, to indicate described wait diagnose collapse be not described default corresponding to itself The recognition result of type collapse;
The collapse management module is after receiving the recognition result, if there is also the not sent collapse description letters The collapse processing module of breath then sends the collapse description information to next collapse processing module.
In one embodiment, it is based on the collapse description information in the collapse management module, determined described wait diagnose Whether collapse is after preset kind collapses;
The collapse processing module sends the default type program information collected, packet to the collapse management module It includes:
The collapse management module determine it is described collapse into preset kind collapse wait diagnose when, to the default class The corresponding collapse processing module of type collapse sends information reporting instruction;
The collapse processing module sends the default type program information collected to the collapse management module.
In one embodiment, the default type program information includes at least one of following information:
User's operation information;
The page shows information;
The system execution information of the callback method executive condition of expression system.
In one embodiment, the collapse description information is crash stack information.
Second aspect, the embodiment of the invention provides a kind of collapse diagnostic message collection systems, comprising:
Management module and at least one collapse processing module are collapsed, each collapse processing module corresponds to a kind of default class Type collapse, in which:
The collapse management module is collapsed for when detecting that specified application is collapsed, obtaining the described of generation Routed collapse description information, the collapse is as wait diagnose collapse;
By information exchange between the collapse management module and the collapse processing module, based on collapse description letter Breath determines described wait diagnose whether collapse is preset kind collapse;
The collapse processing module is also used to during the specified application is run, and is acquired described specify and is answered With the default type program information of program, the default type program information with it is described pre- corresponding to the collapse processing module If type collapse is corresponding;And determine it is described collapse into the preset kind collapse corresponding to itself wait diagnose when, to The collapse management module sends the default type program information collected;
The collapse management module is also used to receive the default kind of class method letter corresponding with preset kind collapse Breath, the collapse diagnostic message as the collapse to be diagnosed.
In one embodiment, the collapse management module, be also used to upload to server the collapse description information with The collapse diagnostic message.
In one embodiment, the collapse management module, described in determining based on the collapse description information Wait diagnose whether collapse is preset kind collapse, and determine it is described collapse into preset kind collapse wait diagnose when, to institute It states the corresponding collapse processing module of preset kind collapse and sends information reporting instruction;
The collapse processing module, specifically for managing mould to the collapse after receiving the information reporting instruction Block sends the default type program information collected.
In one embodiment, the collapse management module, specifically for being collapsed to described in collapse processing module transmission Routed description information;
The collapse processing module, specifically for being retouched based on the collapse after receiving the collapse description information It states information, determines described wait diagnose whether collapse is preset kind collapse corresponding to itself, and described collapsed wait diagnose determining When bursting as preset kind collapse corresponding to itself, to the collapse management module transmission default type collected Program information, and it is described when diagnosing collapse not for the preset kind collapse corresponding to itself determining, and Xiang Suoshu collapses Management module of bursting returns collapses not wait diagnose for the recognition result of the preset kind collapse corresponding to itself described in expression;
The collapse management module, specifically for after receiving the recognition result, if there is also not sent described The collapse processing module of description information is collapsed, then sends the collapse description letter to next collapse processing module Breath.
In one embodiment, the default type program information includes at least one of following information:
User's operation information;
The page shows information;
The system execution information of the callback method executive condition of expression system.
In one embodiment, the collapse description information is crash stack information.
The third aspect, the embodiment of the present invention provide a kind of electronic equipment, including processor, communication interface, memory and logical Believe bus, wherein processor, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes any of the above-described collapse diagnostic message Collection method step.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage Dielectric memory contains computer program, and the computer program realizes any of the above-described collapse diagnosis when being executed by processor Formation gathering method step.
5th aspect, the embodiment of the invention also provides a kind of computer program products comprising instruction, when it is being calculated When being run on machine, so that computer executes any of the above-described collapse diagnostic message collection method step.
Collapse diagnostic message collection method, system and electronic equipment provided in an embodiment of the present invention, collapse management module exist When detecting that specified application is collapsed, the collapse description information of the collapse of generation is obtained, which is used as collapses wait diagnose It bursts;Based on above-mentioned collapse description information, determine wait diagnose whether collapse is preset kind collapse;If so, collapse processing module Default type program information collected is sent to collapse management module, collapse management module determines default type program information For the collapse diagnostic message of collapse to be diagnosed.In the above method, acquisition and default class during specified application operation Type collapses corresponding default type program information, when preset kind, which collapses, to be occurred, default kind of class method of collection can be believed Breath is analyzed as collapse diagnostic message for developer, since collapse diagnostic message is to collapse and receive for above-mentioned preset kind Collection, validity is higher for the middle universal diagnostic information collected compared with the prior art, and preset kind collapse can be improved Fix-rate.
Certainly, implement any of the products of the present invention or method it is not absolutely required at the same reach all the above excellent Point.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described.
Fig. 1 is a kind of flow chart for collapsing diagnostic message collection method provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram for collapsing diagnostic message collection system provided in an embodiment of the present invention;
Fig. 3 is the method flow diagram provided in an embodiment of the present invention for being applied to collapse diagnostic message collection system;
Fig. 4 is another method flow diagram provided in an embodiment of the present invention for being applied to collapse diagnostic message collection system;
Fig. 5 is a kind of schematic diagram for collapsing diagnostic message collection system provided in an embodiment of the present invention;
Fig. 6 is a kind of electronic equipment structural schematic diagram provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description.
The embodiment of the invention provides a kind of collapse diagnostic message collection methods, are applied to collapse diagnostic message and collect system System, the system include collapse management module (CrashHandler) and at least one collapse processing module (CrashProcessor), each collapse processing module corresponds to a kind of preset kind collapse, and collapse processing module is used for specified During application program is run, the default type program information of specified application is acquired, type program information is preset and collapses The collapse of preset kind corresponding to processing module of bursting is corresponding.As shown in Figure 1, including the following steps:
Step 101, collapse management module obtain collapsing for the collapse of generation when detecting that specified application is collapsed Routed description information, the collapse are used as wait diagnose collapse.
In this step, when specified application is collapsed, the collapse of the available generation of management module is collapsed Collapse description information.Specifically, collapse description information can be crash stack information, crash stack information describes the specific feelings of collapse Condition, may include collapse time of origin, collapse occurs in the visitor where specified application code which row, specified application Family end mark or user account, system version number etc..The collapse occurred is used as wait diagnose collapse.
By information exchange between step 102, collapse management module and collapse processing module, it is based on collapse description information, It determines wait diagnose whether collapse is preset kind collapse.
In this step, can judge above-mentioned collapse to be diagnosed is what kind of based on the collapse description information of acquisition Collapse, and can determine wait diagnose whether collapse is preset kind collapse.
Specifically, can be collapse management module is based on collapse description information, determine wait diagnose whether collapse is default class Type collapse, alternatively, collapse processing module is retouched after receiving the collapse description information that collapse management module is sent based on collapse It states information, determines wait diagnose whether collapse is preset kind collapse corresponding to itself.
Step 103, if so, collapse processing module is to collapsing, management module transmission is collected to preset kind of a class method letter Breath.
In this step, it is based on collapse description information if it is collapse management module, determines and collapses into default class wait diagnose Type collapse then collapses management module to preset kind and collapses corresponding collapse processing module transmission information reporting instruction, so that collapsing Processing module of bursting sends default type program information collected to collapse management module.
Another situation, the collapse description information that collapse management module will acquire are sent to one of collapse processing mould Block is determined and is collapsed wait diagnose the preset kind collapsed into corresponding to itself if the collapse processing module is based on collapse description information It bursts, then actively sends default type program information collected to collapse management module.
Wherein, one of following information can be included at least by presetting type program information:
User's operation information;
The page shows information;
The system execution information of the callback method executive condition of expression system.
The problem of above-mentioned each information can correspond to one designated program is caused to be collapsed, in other words, for it is each The knotty problem for causing designated program to be collapsed known collects the corresponding information of collapse caused by the knotty problem.Such as: page View extremely caused collapse in face can collect the page and show information;The extremely caused collapse of Fragment, can collect user In the information of the detailed executive condition of the operation information and expression Fragment system readjustment of current page;Alternatively, database Abnormal caused collapse can collect the more detailed loggings such as database opening, closing;Collapse caused by Insufficient disk space, can be with User is collected to the service condition information etc. of disk.
The above-mentioned default type program information that step 104, collapse management module will receive, is determined as collapse to be diagnosed Collapse diagnostic message.
In this step, the default type program information that collapse management module can will receive, is determined as collapsing wait diagnose Routed collapse diagnostic message is determining after the collapse diagnostic message for diagnosing collapse, and collapse description letter can be uploaded to server Breath and the collapse diagnostic message.Specifically, can will directly collapse description information and collapse diagnostic message by collapse management module It is uploaded to server, alternatively, collapse diagnostic message and crash stack information can also be spliced, spliced information is uploaded to clothes Business device, this step is without limitation.
Collapse diagnostic message collection method provided in an embodiment of the present invention, can be applied to client, apply journey specified Default type program information corresponding with preset kind collapse is acquired during sort run, when preset kind, which collapses, to be occurred, It can be analyzed for developer, using the default type program information of collection as collapse diagnostic message due to collapsing diagnostic message Be for above-mentioned preset kind collapse and collects, compared with the prior art in collection universal diagnostic information for validity more The fix-rate of preset kind collapse can be improved in height.
Based on the same inventive concept, the embodiment of the invention provides a kind of collapse diagnostic message collection system, schematic diagrames As shown in Figure 2, comprising:
Management module 20 and at least one collapse processing module 21 are collapsed, each collapse processing module 21 is corresponding a kind of default Type collapse, in which:
Management module 20 is collapsed, the collapse for when detecting that specified application is collapsed, obtaining generation is collapsed Routed description information, the collapse are used as wait diagnose collapse.
In the present embodiment, collapse description information can be crash stack information, and crash stack information describes the specific of collapse Situation may include that collapse time of origin, collapse occur where specified application code which row, specified application Client identification or user account, system version number etc..The collapse occurred is used as wait diagnose collapse.
It collapses and is determined by information exchange based on collapse description information between management module 20 and collapse processing module 21 Wait diagnose whether collapse is preset kind collapse.
Processing module 21 is collapsed, is also used to acquire the pre- of specified application during specified application is run If type program information, it is corresponding with preset kind collapse corresponding to collapse processing module to preset type program information;And Determine collapse into the preset kind collapse corresponding to itself wait diagnose when, send default kind collected to collapse management module Class method information.
Specifically, default type program information includes at least one of following information:
User's operation information;
The page shows information;
The system execution information of the callback method executive condition of expression system.
Above- mentioned information are consistent with the information in step 103, and and will not be described here in detail.
Collapse management module 20, be also used to receive corresponding with preset kind collapse default type program information, as to Diagnose the collapse diagnostic message of collapse.
With reference to the accompanying drawing, the above system provided through the invention collects collapse diagnostic message with specific embodiment Method is described in detail.In the present embodiment, as shown in Figure 3, comprising:
Step 301, collapse management module 20 obtain the collapse of generation when detecting that specified application is collapsed Description information is collapsed, which is used as wait diagnose collapse.
In this step, collapse description information may include that collapse type, collapse time of origin, collapse occur to answer specified With the position of program code and version number of specified application etc..
Step 302, collapse management module 20 are based on collapse description information, determine whether wait diagnose collapse be that preset kind collapses It bursts.
In this step, the previously known collapse diagnostic message for needing to collect which collapse of collapse management module 20, when obtaining After getting collapse description information, it can be determined that collapse whether the corresponding collapse of description information is to preset collapse to be collected out Collapse corresponding to diagnostic message.
Step 303 determines after diagnosing and collapsing into preset kind collapse in collapse management module 20, collapses to preset kind Corresponding collapse processing module 21 sends information reporting instruction.
In this step, it collapses the collapse that previously known each collapse processing module 21 is collected in management module 20 and diagnoses letter The corresponding collapse type of breath.Corresponding collapse processing module 21 can be collapsed to preset kind and sends information reporting instruction, made It reports the information of themselves capture.
Step 304, collapse processing module 21 are adopted after receiving information reporting instruction to the collapse transmission of management module 20 The default type program information of collection.
Step 305, collapse management module 20 upload collapse description information and collapse diagnostic message to server.
In the above-described embodiments, the collapse direct upload information of management module 20 is utilized, it can be ensured that upload collapse in real time and examine Disconnected information.
In another embodiment, it can be determined by collapse processing module 21 wait diagnose whether collapse is corresponding to itself Preset kind collapse.As shown in Figure 4, comprising:
Step 401, collapse management module 20 obtain the collapse of generation when detecting that specified application is collapsed Description information is collapsed, which is used as wait diagnose collapse.
In this step, if database causes collapse to occur extremely, collapse management module 20 obtains database exception Description information.
Step 402, collapse management module 20 send collapse description information to collapse processing module 21.
In this step, the description information for the above-mentioned database exception that collapse management module 20 will acquire, is sent to it In a collapse processing module 21.
Step 403, collapse processing module 21 are after receiving collapse description information, based on collapse description information, judgement Wait diagnose whether collapse is preset kind collapse corresponding to itself.
In this step, if presetting the collapse that the collapse processing module 21 collects the extremely caused collapse of page view Diagnostic message judges whether to be the extremely caused collapse of page view after then the collapse processing module 21 reads description information.It is aobvious So be it is no, enter step 406:
It, should if presetting the collapse diagnostic message that the collapse processing module 21 collects the extremely caused collapse of database After collapsing the reading description information of processing module 21, judge whether to be the extremely caused collapse of database.Obviously be it is yes, enter step 404:
Step 404, collapse processing module 21 send default type program information collected to collapse management module 20.
In this step, collapse processing module 21 sends the journey for the database exception that itself is acquired to collapse management module 20 Sequence information.
Step 405, collapse management module 20 upload collapse description information and collapse diagnostic message to server.
In this step, after collapsing the program information that management module 20 receives database exception, which is determined as The collapse diagnostic message of the extremely caused collapse of database, is sent to server together with above-mentioned collapse description information, for opening Hair personnel analysis.It is uploaded using collapse management module 20, it can be ensured that upload in real time.
Step 406 indicates not collapsing wait diagnose collapse for the preset kind corresponding to itself to the collapse return of management module 20 Routed recognition result.
In this step, collapse processing module 21 is returned to collapse management module 20 indicates that not collecting database extremely causes Collapse collapse diagnostic message result or return be not the extremely caused collapse of page view result.
Step 407, collapse management module 20 are after receiving recognition result, if there is also not sent collapse description informations Collapse processing module, then to next collapse processing module 21 send collapse description information.
In this step, collapse management module 20 receives the collapse of the backward next not sent collapse description information of result The description information of the transmission database exception of processing module 21.
It is found that determination is collapsed wait diagnose either collapse management module 20 is based on collapse description information in above-described embodiment Whether be preset kind collapse, be also possible to collapse processing module 21 and determine that implementation is flexible if bursting.
In another embodiment of the present invention, above system can also include the collapse management module 22 in original system, knot Structure schematic diagram is as shown in Figure 5.In the present embodiment, collapse management module 20 is receiving the default of the collapse transmission of processing module 21 After type program information, collapse description information and collapse diagnostic message can be sent to the collapse management module in original system 22, server is uploaded to by the collapse management module 22 in original system.The advantages of this mode uploads does not need additional Back-office support.
The embodiment of the invention also provides a kind of electronic equipment, as shown in fig. 6, including processor 61, communication interface 62, depositing Reservoir 63 and communication bus 64, wherein processor 61, communication interface 62, memory 63 are completed each other by communication bus 64 Communication,
Memory 63, for storing computer program;
Processor 61 when for executing the program stored on memory 63, realizes following steps:
Management module is collapsed when detecting that specified application is collapsed, and obtains the collapse description letter of the collapse of generation Breath, collapse is as wait diagnose collapse;
It collapses and follow-up is determined based on collapse description information by information exchange between management module and collapse processing module Whether disconnected collapse is preset kind collapse;
If so, collapse processing module sends default type program information collected to collapse management module;
Management module is collapsed by default type program information, is determined as the collapse diagnostic message of collapse to be diagnosed.
In one embodiment, method further include: collapse management module uploads collapse description information and collapse to server Diagnostic message.
In one embodiment, it collapses between management module and collapse processing module through information exchange, is retouched based on collapse Information is stated, is determined wait diagnose whether collapse is preset kind collapse, comprising:
It collapses management module and is based on collapse description information, determine wait diagnose whether collapse is preset kind collapse;Or
Collapse processing module is after receiving the collapse description information that collapse management module is sent, based on collapse description letter Breath is determined wait diagnose whether collapse is preset kind collapse corresponding to itself.
In one embodiment, in collapse processing module after receiving collapse description information, based on collapse description letter Breath is determined wait diagnose after whether collapse be preset kind collapse corresponding to itself, further includes:
If it is not, returning to the knowledge for indicating not collapse for the preset kind corresponding to itself wait diagnose collapse to collapse management module Other result;
Management module is collapsed after receiving recognition result, if there is also the collapse processing of not sent collapse description information Module then sends collapse description information to next collapse processing module.
In one embodiment, it is based on collapse description information in collapse management module, determines whether wait diagnose collapse be pre- If after type collapse;
It collapses processing module and sends default type program information collected to collapse management module, comprising:
Collapse management module collapses corresponding collapse to preset kind when determination collapses into preset kind collapse wait diagnose Processing module sends information reporting instruction;
It collapses processing module and sends default type program information collected to collapse management module.
In one embodiment, it presets type program information and includes at least one of following information:
User's operation information;
The page shows information;
The system execution information of the callback method executive condition of expression system.
In one embodiment, collapse description information is crash stack information.
The communication bus that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc..For just It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned electronic equipment and other equipment.
Memory may include random access memory (Random Access Memory, RAM), also may include non-easy The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processing, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete Door or transistor logic, discrete hardware components.
In another embodiment provided by the invention, a kind of computer readable storage medium is additionally provided, which can It reads to be stored with computer program in storage medium, the computer program realizes any of the above-described collapse diagnosis when being executed by processor The step of formation gathering method.
In another embodiment provided by the invention, a kind of computer program product comprising instruction is additionally provided, when it When running on computers, so that computer executes any collapse diagnostic message collection method in above-described embodiment.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or It partly generates according to process or function described in the embodiment of the present invention.The computer can be general purpose computer, dedicated meter Calculation machine, computer network or other programmable devices.The computer instruction can store in computer readable storage medium In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center User's line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or Data center is transmitted.The computer readable storage medium can be any usable medium that computer can access or It is comprising data storage devices such as one or more usable mediums integrated server, data centers.The usable medium can be with It is magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk Solid State Disk (SSD)) etc..
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system, For device, electronic equipment, computer readable storage medium, computer program product embodiments, due to its side of being substantially similar to Method embodiment, so being described relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (14)

1. a kind of collapse diagnostic message collection method, which is characterized in that be applied to collapse diagnostic message collection system, the system Including collapse management module and at least one collapse processing module, each collapse processing module corresponds to a kind of preset kind and collapses It bursts, the collapse processing module, for acquiring the default of the specified application during specified application operation Type program information, the default type program information collapse phase with the preset kind corresponding to the collapse processing module It is corresponding;The described method includes:
The collapse management module when detecting that specified application is collapsed, retouch by the collapse for obtaining the collapse of generation Information is stated, the collapse is as wait diagnose collapse;
By information exchange between the collapse management module and the collapse processing module, it is based on the collapse description information, It determines described wait diagnose whether collapse is preset kind collapse;
If so, the collapse processing module sends the default kind of class method letter collected to the collapse management module Breath;
The default type program information is determined as the collapse diagnosis letter of the collapse to be diagnosed by the collapse management module Breath.
2. the method according to claim 1, wherein further include:
The collapse management module uploads the collapse description information and the collapse diagnostic message to server.
3. the method according to claim 1, wherein the collapse management module and the collapse processing module it Between by information exchange, be based on the collapse description information, determine described wait diagnose whether collapse is preset kind collapse, packet It includes:
The collapse management module is based on the collapse description information, determines whether described wait diagnose collapse be that preset kind collapses It bursts;Or
The collapse processing module is based on institute after receiving the collapse description information that the collapse management module is sent It states collapse description information, determines described wait diagnose whether collapse is preset kind collapse corresponding to itself.
4. according to the method described in claim 3, it is characterized in that, the collapse processing module receive it is described collapse retouch After stating information, it is based on the collapse description information, is determined described wait diagnose whether collapse is preset kind corresponding to itself After collapse, further includes:
It is collapsed not wait diagnose for the preset kind corresponding to itself if it is not, being returned to the collapse management module and indicating described The recognition result of collapse;
The collapse management module is after receiving the recognition result, if there is also the not sent collapse description informations The collapse processing module then sends the collapse description information to next collapse processing module.
5. according to the method described in claim 3, it is characterized in that, being based on collapse description letter in the collapse management module Breath determines described wait diagnose whether collapse is after preset kind collapses;The collapse processing module manages mould to the collapse Block sends the default type program information collected, comprising:
The collapse management module determine it is described collapse into preset kind collapse wait diagnose when, Xiang Suoshu preset kind collapses The corresponding collapse processing module of bursting sends information reporting instruction;
The collapse processing module sends the default type program information collected to the collapse management module.
6. the method according to claim 1, wherein the default type program information includes at least following information One of:
User's operation information;
The page shows information;
The system execution information of the callback method executive condition of expression system.
7. method according to claim 1-6, which is characterized in that the collapse description information is crash stack letter Breath.
8. a kind of collapse diagnostic message collection system, which is characterized in that the system comprises: collapse management module and at least one Processing module is collapsed, each collapse processing module corresponds to a kind of preset kind collapse, in which:
The collapse management module, for when detecting that specified application is collapsed, obtaining the collapse of generation Description information is collapsed, the collapse is as wait diagnose collapse;
By information exchange between the collapse management module and the collapse processing module, it is based on the collapse description information, It determines described wait diagnose whether collapse is preset kind collapse;
The collapse processing module is also used to during the specified application is run, and is acquired described specified using journey The default class corresponding to the default type program information of sequence, the default type program information and the collapse processing module Type collapse is corresponding;And determine it is described collapse into the preset kind collapse corresponding to itself wait diagnose when, Xiang Suoshu It collapses management module and sends the default type program information collected;
The collapse management module is also used to receive the default type program information corresponding with preset kind collapse, Collapse diagnostic message as the collapse to be diagnosed.
9. system according to claim 8, which is characterized in that the collapse management module is also used to upload to server The collapse description information and the collapse diagnostic message.
10. system according to claim 8, which is characterized in that the collapse management module, specifically for being collapsed based on described Burst description information, determine it is described wait diagnose whether collapse is preset kind collapse, and determine it is described wait diagnose collapse into it is described When preset kind collapses, the corresponding collapse processing module of Xiang Suoshu preset kind collapse sends information reporting instruction;
The collapse processing module, specifically for being sent out to the collapse management module after receiving the information reporting instruction Send the default type program information collected.
11. system according to claim 8, which is characterized in that the collapse management module is specifically used for the collapse Processing module sends the collapse description information;
The collapse processing module, specifically for being believed after receiving the collapse description information based on collapse description Breath, determines described wait diagnose whether collapse is preset kind collapse corresponding to itself, and described collapses into wait diagnose determining When the preset kind corresponding to itself collapses, default kind of the class method collected is sent to the collapse management module Information, and it is described when diagnosing collapse not for the preset kind collapse corresponding to itself determining, to collapse pipe Reason module returns collapses not wait diagnose for the recognition result of the preset kind collapse corresponding to itself described in expression;
The collapse management module, specifically for after receiving the recognition result, if there is also the not sent collapses The collapse processing module of description information then sends the collapse description information to next collapse processing module.
12. according to the described in any item systems of claim 8-11, which is characterized in that the default type program information at least wraps Include one of following information:
User's operation information;
The page shows information;
The system execution information of the callback method executive condition of expression system.
13. according to the described in any item systems of claim 8-11, which is characterized in that the collapse description information is crash stack letter Breath.
14. a kind of electronic equipment, which is characterized in that including processor, communication interface, memory and communication bus, wherein processing Device, communication interface, memory complete mutual communication by communication bus;
Memory, for storing computer program;
Processor when for executing the program stored on memory, realizes method and step as claimed in claim 1 to 7.
CN201910650872.5A 2019-07-18 2019-07-18 Collapse diagnostic message collection method, system and electronic equipment Pending CN110442468A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910650872.5A CN110442468A (en) 2019-07-18 2019-07-18 Collapse diagnostic message collection method, system and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910650872.5A CN110442468A (en) 2019-07-18 2019-07-18 Collapse diagnostic message collection method, system and electronic equipment

Publications (1)

Publication Number Publication Date
CN110442468A true CN110442468A (en) 2019-11-12

Family

ID=68430863

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910650872.5A Pending CN110442468A (en) 2019-07-18 2019-07-18 Collapse diagnostic message collection method, system and electronic equipment

Country Status (1)

Country Link
CN (1) CN110442468A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111382077A (en) * 2020-03-13 2020-07-07 北京奇艺世纪科技有限公司 Application program crash reason positioning method and device, electronic equipment and storage medium
CN112116997A (en) * 2020-08-20 2020-12-22 北京奇艺世纪科技有限公司 Method, device and system for remote diagnosis, electronic equipment and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100218052A1 (en) * 2009-02-23 2010-08-26 International Business Machines Corporation Apparatus and method to generate and collect diagnostic data
CN103544071A (en) * 2012-07-17 2014-01-29 阿里巴巴集团控股有限公司 Processing method, device and system of collapse information
CN105404576A (en) * 2015-12-02 2016-03-16 小米科技有限责任公司 Anomaly information acquisition method and apparatus
CN106528409A (en) * 2016-10-20 2017-03-22 腾讯音乐娱乐(深圳)有限公司 Application crash problem finding method and device
CN107861830A (en) * 2017-12-01 2018-03-30 深圳乐信软件技术有限公司 Detection method, device, storage medium and the mobile terminal of application crash
CN108132852A (en) * 2018-01-08 2018-06-08 有米科技股份有限公司 Collapse method, apparatus, computer equipment and storage medium that exception information is collected

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100218052A1 (en) * 2009-02-23 2010-08-26 International Business Machines Corporation Apparatus and method to generate and collect diagnostic data
CN103544071A (en) * 2012-07-17 2014-01-29 阿里巴巴集团控股有限公司 Processing method, device and system of collapse information
CN105404576A (en) * 2015-12-02 2016-03-16 小米科技有限责任公司 Anomaly information acquisition method and apparatus
CN106528409A (en) * 2016-10-20 2017-03-22 腾讯音乐娱乐(深圳)有限公司 Application crash problem finding method and device
CN107861830A (en) * 2017-12-01 2018-03-30 深圳乐信软件技术有限公司 Detection method, device, storage medium and the mobile terminal of application crash
CN108132852A (en) * 2018-01-08 2018-06-08 有米科技股份有限公司 Collapse method, apparatus, computer equipment and storage medium that exception information is collected

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111382077A (en) * 2020-03-13 2020-07-07 北京奇艺世纪科技有限公司 Application program crash reason positioning method and device, electronic equipment and storage medium
CN111382077B (en) * 2020-03-13 2023-09-01 北京奇艺世纪科技有限公司 Application program crash reason positioning method and device, electronic equipment and storage medium
CN112116997A (en) * 2020-08-20 2020-12-22 北京奇艺世纪科技有限公司 Method, device and system for remote diagnosis, electronic equipment and computer readable storage medium
CN112116997B (en) * 2020-08-20 2023-08-15 北京奇艺世纪科技有限公司 Remote diagnosis method, device and system, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN107729210B (en) Distributed service cluster abnormity diagnosis method and device
CN106104636B (en) Automobile detection system using network-based computing infrastructure
CN106462702B (en) Method and system for acquiring and analyzing electronic forensic data in a distributed computer infrastructure
US7634682B2 (en) Method and system for monitoring network health
CN106874187B (en) Code coverage rate collection method and device
CN108829560A (en) Data monitoring method, device, computer equipment and storage medium
CN112148887A (en) Equipment fault diagnosis method and device, storage medium and electronic equipment
US6772376B1 (en) System and method for reporting detected errors in a computer system
CN101119237A (en) Network card testing method
US20110093954A1 (en) Apparatus and method for remotely diagnosing security vulnerabilities
CN109976959A (en) A kind of portable device and method for server failure detection
CN110769175B (en) Intelligent analysis system, method and device
CN110784374A (en) Method, device, equipment and system for monitoring operation state of service system
CN110442468A (en) Collapse diagnostic message collection method, system and electronic equipment
CN107104838A (en) A kind of information processing method, server and terminal
CN114363151A (en) Fault detection method and device, electronic equipment and storage medium
CN108400885A (en) A kind of service availability detection method, device and electronic equipment
CN110430070A (en) A kind of service state analysis method, device, server, data analysis equipment and medium
US8385213B2 (en) Error identification in a computer-based network
CN108804914A (en) A kind of method and device of anomaly data detection
CN109165147A (en) Log print control program, device, system, back-end server and headend equipment
JP2014523671A (en) Assessing the overall performance of interactive application services
CN108306939A (en) A kind of data processing method, device and forwarding unit
KR102405879B1 (en) Method and apparatus for analyzing interoperability
JP5093431B2 (en) Simulator system, evaluation method, and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20191112

RJ01 Rejection of invention patent application after publication