CN110377444A - Fault alarm method, device, electronic equipment and computer readable storage medium - Google Patents

Fault alarm method, device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN110377444A
CN110377444A CN201910562452.1A CN201910562452A CN110377444A CN 110377444 A CN110377444 A CN 110377444A CN 201910562452 A CN201910562452 A CN 201910562452A CN 110377444 A CN110377444 A CN 110377444A
Authority
CN
China
Prior art keywords
fault alarm
screenshot
module
information
application program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910562452.1A
Other languages
Chinese (zh)
Other versions
CN110377444B (en
Inventor
张骏杰
宋忠良
彭瑶
李阳幸子
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing 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 CN201910562452.1A priority Critical patent/CN110377444B/en
Publication of CN110377444A publication Critical patent/CN110377444A/en
Application granted granted Critical
Publication of CN110377444B publication Critical patent/CN110377444B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/0766Error or fault reporting or storing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention relates to a kind of fault alarm method, device, electronic equipment and computer readable storage mediums, this method comprises: detecting whether to receive fault alarm operation;If receiving fault alarm operation, screenshot corresponding with fault alarm operation is obtained, and obtains the historical operation information of application program before the screenshot is shown;It is reported using the screenshot and the historical operation information as failure logging information.Technical solution provided by the invention is in faulty alarm, not only upload interface screenshot, and upload the historical operation information of user together, operation of the user in reporting fault had not only been reduced in this way, but also service provider is facilitated more accurately to find failure and solve the problems, such as.

Description

Fault alarm method, device, electronic equipment and computer readable storage medium
Technical field
The present embodiments relate to fault alarm technical fields, and in particular to a kind of fault alarm method, device, electronics are set Standby and computer readable storage medium.
Background technique
Many clients all have fault alarm function at present.The failure that user will have found in use process, passes through failure Warning function is reported to service provider, finds and solve in time failure convenient for service provider.
But existing fault alarm function is comparatively laborious when in use, and user is needed to carry out a series of operation, user It experiences poor.And since the information content reported is limited after reporting of user failure, prevent service provider is from finding to ask in time The place of topic increases the difficulty that failure solves.
The description of the above-mentioned discovery procedure to problem, is only used to facilitate the understanding of the technical scheme, and does not represent and holds Recognizing above content is the prior art.
Summary of the invention
In order to solve the above-mentioned technical problem or it at least is partially solved above-mentioned technical problem, the embodiment of the invention provides A kind of fault alarm method, device, electronic equipment and computer readable storage medium.
According to the first aspect of the embodiments of the present disclosure, a kind of fault alarm method is provided, comprising:
It detects whether to receive fault alarm operation;
If receiving fault alarm operation, screenshot corresponding with fault alarm operation is obtained, and obtains described cut The historical operation information of application program before figure is shown;
It is reported using the screenshot and the historical operation information as failure logging information.
With reference to first aspect, in a first possible implementation of that first aspect, described to detect whether to receive failure Alarm operation, comprising:
Detect whether that screenshot is saved;
If detecting, screenshot is saved, and fault alarm button is generated in current application program interface;
It detects whether to receive the trigger action to the fault alarm button;
If receiving the trigger action, judgement receives fault alarm operation.
With reference to first aspect, in a second possible implementation of that first aspect, described to detect whether to receive failure Alarm operation, further includes:
It detects whether to receive the trigger action to quick fault alarm button;The quick fault alarm button is to answer It is generated with the arbitrary interface of program;
If receiving the trigger action, judgement receives fault alarm operation.
With reference to first aspect, in first aspect in the third possible implementation, the historical operation information includes: behaviour Make routing information and request response message.
According to the second aspect of an embodiment of the present disclosure, a kind of accident warning device is provided, comprising:
Detection module, for detecting whether receiving fault alarm operation;
Module being obtained, when for receiving fault alarm operation, obtaining screenshot corresponding with fault alarm operation, with And obtain the historical operation information of application program before the screenshot is shown;
Fault alarm module, for being carried out using the screenshot and the historical operation information as failure logging information Report.
In conjunction with second aspect, in second aspect in the first possible implementation, the detection module includes:
First detection sub-module, for detecting whether there is screenshot to be saved;
Second detection sub-module, if generating failure in current application program interface for detecting that screenshot is saved Alarm button;
Third detection sub-module, for detecting whether receiving the trigger action to the fault alarm button;
First decision sub-module, if for receiving the trigger action, judgement receives fault alarm operation.
In conjunction with second aspect, in second of second aspect possible implementation, the detection module further include:
4th detection sub-module, for detecting whether receiving the trigger action to quick fault alarm button;It is described fast Prompt fault alarm button is generated in the arbitrary interface of application program;
Second decision sub-module, if for receiving the trigger action, judgement receives fault alarm operation.
According to the third aspect of an embodiment of the present disclosure, it provides a kind of electronic equipment, including processor, communication interface, deposits Reservoir and communication 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 method and step.
According to a fourth aspect of embodiments of the present disclosure, a kind of computer readable storage medium is provided, the computer can It reads to be stored with fault alarm method program on storage medium, the fault alarm method program is realized above-mentioned when being executed by processor The step of any described fault alarm method.
Compared with the immediate prior art, the embodiment of the present invention first detects whether to receive fault alarm operation, if It receives fault alarm to operate, acquisition screenshot corresponding with fault alarm operation, and before the acquisition screenshot displaying The historical operation information of application program is finally carried out using the screenshot and the historical operation information as failure logging information Report.This programme is in faulty alarm, not only upload interface screenshot, but also the historical operation information of user is uploaded together, this Sample had not only reduced operation of the user in reporting fault, but also service provider is facilitated more accurately to find failure and solve the problems, such as.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be in embodiment or description of the prior art Required attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some realities of the invention Example is applied, it for those of ordinary skill in the art, without any creative labor, can also be attached according to these Figure obtains other attached drawings.
Fig. 1 is a kind of fault alarm method flow chart shown according to an exemplary embodiment;
Fig. 2 is a kind of schematic diagram of a scenario shown according to an exemplary embodiment;
Fig. 3 is shown according to an exemplary embodiment to detect whether to receive fault alarm in the interface of application program The method flow diagram of operation;
Fig. 4 is shown according to an exemplary embodiment to detect whether to receive fault alarm in the interface of application program The another method flow chart of operation;
Fig. 5 is a kind of structural schematic diagram of accident warning device shown according to an exemplary embodiment;
Fig. 6 is the structural schematic diagram of a kind of electronic equipment shown according to an exemplary embodiment.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiments of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people Member's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
The mobile client of each embodiment of the present invention is realized in description with reference to the drawings.In subsequent description, make With the suffix for indicating such as " module ", " component " or " unit " of element only for being conducive to explanation of the invention, There is no specific meanings for body.Therefore, " module " can be used mixedly with " component ".
The executing subject of each step of the disclosure is client, and client can be the client on terminal device.The end End equipment can be such as mobile phone, tablet computer, laptop, palm PC, PAD (Personal Digital Assistant, personal digital assistant), PMP (Portable Media Player, portable multimedia player), navigation dress The fixed terminal of the mobile terminal and such as number TV, desktop computer etc. set etc..
When user's operation or browse certain application program or webpage discovery failure when, using on existing fault alarm method Report failure comparatively laborious, and since the information content reported is limited, prevent service provider is from the place found the problem in time, In view of the above-mentioned problems, one exemplary embodiment of the disclosure shows a kind of fault alarm method, to realize quick reporting fault, with And facilitate service provider more accurately to find failure and solve the problems, such as, as shown in Figure 1, the fault alarm method may include with Lower step:
In step s101, it detects whether to receive fault alarm operation.
By taking certain application program on mobile phone as an example, Fig. 2 is a kind of scene signal shown in one exemplary embodiment of the disclosure Scheme, includes: fault alarm button 1 and Application Program Interface 2 in figure.
When user opens some application program, pass through certain screenshot sides in the Application Program Interface 2 of the application program Formula carries out screenshot, after the completion of screenshot, is saved, will be in current application journey when client has detected screenshot preservation A fault alarm button 1 is generated on sequence interface 2, user can carry out fault alarm operation by clicking the button.
Wherein, screenshot can be by while pressing volume key and power key carries out screenshot, can also be through more fingers It slides screen and carries out screenshot, can also be that other screenshot modes carry out screenshot.
The storing path of screenshot can be the fixed storing path of application program, be also possible to the preservation of user oneself selection Path.The storing path can be read by client simultaneously.
In addition, being only a kind of schematic diagram of the disclosure shown in Fig. 2, the position of fault alarm button 1 can be according to reality in figure Border situation is changed, and is not specifically limited.Fault alarm button 1 can be suspension button, and position can be by manual It is changed.
In the embodiments of the present disclosure, when fault alarm button 1 is triggered, fault alarm operation will be generated.So at this In step, client detects whether to receive fault alarm operation by monitoring system event.
In a possible embodiment of the disclosure, as shown in figure 3, described detect whether to receive fault alarm behaviour Make, specifically include:
S111, detected whether that screenshot is saved.
In the embodiments of the present disclosure, the storing path information of client meeting real-time detection screenshot, path can be using journey The intrinsic storing path of sequence is also possible to other authorized storing paths of the application program.When detect in path have it is new When screenshot, the operation of step S112 is carried out.
If S112, detecting that screenshot is saved, fault alarm button is generated in current application program interface.
In the embodiments of the present disclosure, when client detects that new screenshot is saved in storing path, will work as Fault alarm button 1 is generated in the Application Program Interface that preceding system stops.
S113, it detects whether to receive the trigger action to the fault alarm button.
In the embodiments of the present disclosure, when client detects that new screenshot is saved, understand the application that stop in system Fault alarm button 1 is generated in program interface, client can further detect whether that the triggering to fault alarm button 1 is grasped Make.Wherein, trigger action, which can be clicking operation or double click operation or other, can make fault alarm button 1 carry out The operation of fault alarm.When client detects trigger action of any one of the above to fault alarm button 1, step is carried out The operation of S114.
If S114, receiving the trigger action, judgement receives fault alarm operation.
In the embodiments of the present disclosure, it when client detects trigger action of the user to fault alarm button 1, is judged as Fault alarm operation is received out.
It is, user carries out screenshot after finding failure, picture is then saved, when client has detected that screenshot is saved When, fault alarm button will be generated in the Application Program Interface that current system stops.Above-mentioned fault alarm when the user clicks When button, user will be prompted to confirm and need whether the picture uploaded to is above-mentioned screenshot picture.If user's confirmation is above-mentioned section Figure picture, client will upload the screenshot and courses of action information relevant to screenshot to server.
The position that picture saves can be Default saving path, be also possible to any storing path of user's selection, still Above-mentioned storing path is all that client can be read.
In another possible embodiment of the disclosure, as shown in figure 4, described detect whether to receive fault alarm Operation, specifically includes:
S121, it detects whether to receive the trigger action to quick fault alarm button;The quick fault alarm button It is to be generated in the arbitrary interface of application program.
It can also include: detection application before detecting whether to receive the trigger action to quick fault alarm button It whether include quick fault alarm button in program interface.
In the embodiments of the present disclosure, client has detected whether related to fault alarm in the current interface of application program Quick fault alarm button, by the quick fault alarm button can directly to current page carry out screenshot, then carry out Fault alarm.First screenshot is not needed namely, then judges whether reporting fault, as long as but triggering the quick fault alarm and pressing Button is exactly reporting fault, will be seen that the interface of failure carries out screenshot before reporting fault, that is, first determination will report event Barrier, then carries out shot operation.
Wherein, quick fault alarm button is that application program generates, and user can browse in browser interface in user The Dynamic Interface's Generation quick fault alarm button.It is, quick fault alarm button is that can have at each interface, when with When the interface that family discovery currently browses is wrong, so that it may click directly on the quick fault alarm button reporting fault, facilitate use Family carries out failure and reports.
Quick failure button can be suspension button, and position can be changed manually by user.
When detecting in current application interface to include quick fault alarm button, client will continue to have detected whether pair The trigger action of the button, wherein trigger action, which can be clicking operation or double click operation or other, can make fastly Prompt fault alarm button carries out the operation of fault alarm.When client detects any one of the above to quick fault alarm button Trigger action when, carry out step S122 operation.
If S122, receiving the trigger action, judgement receives fault alarm operation.
When receiving fault alarm operation, in a step 102, screenshot corresponding with fault alarm operation is obtained, And obtain the historical operation information of application program before the screenshot is shown.
As shown in Fig. 2, after client receives fault alarm operation, will be obtained after fault alarm button 1 is triggered Screenshot corresponding with fault alarm operation, while also will acquire before current presentation interface, after opening the application program, use Historical operation information of the family to all operationss of application program.
Wherein, historical operation information includes courses of action information and request response message.
In a possible embodiment of the disclosure, the historical operation of application program before the screenshot is shown is obtained Information specifically includes:
Record the application program and external data call request, response message and the interface to the application program The operation information operated;
It obtains the data call and requests corresponding request response message, and operation corresponding with operation information road Diameter information.
In another possible embodiment of the disclosure, the history behaviour of application program before the screenshot is shown is obtained Make information, further includes:
Request response message and/or courses of action information are stored according to timing in default memory space;
Whether the remaining space for detecting the default memory space is less than preset value;
If the remaining space of the default memory space is less than preset value, according to the request response message and/or operation The request response message and/or operate road that the storage timing of routing information is stored by elder generation into the rear covering default memory space Diameter information.
In the embodiments of the present disclosure, the storage of memory space is not unlimited, there is predetermined value, when more than predetermined value When, it will from the beginning cover, that is, if memory space can store 100 information, when there is the 101st article of information, the 101st bar of letter Breath will cover the 1st article of information, and then the 102nd article of information covers the 2nd article of information, and so on.
Specifically, user, when operating to application program, client records the courses of action of user, successively it is stored in In running memory or elsewhere.
For the record of courses of action, there is the record specification of relevant courses of action, facilitate service provider according to client The courses of action information for holding record restores actual courses of action and goes to reappear failure.Different application programs has different operations Path specification determines corresponding courses of action specification according to specific application program.The disclosure is with the operation of certain application program It is specific as follows for path specification page-card-block-action.
Page is the page, must can uniquely identify current page;
Card is card, must can uniquely identify the card in current page;
Block is block, can uniquely identify the block in current card;
Action is to act, such as input, click, sliding, pulling, the operation of the unique identity user of action palpus energy.
When clicking some block block, the courses of action information to this block is recorded.
Such as: vipHome-guessYouLike-block2-click, wherein vipHome indicates the selected page of vip, GuessYouLike expression guesses that you like card, and block2 indicates that second block, click indicate to click, vipHome- GuessYouLike-block2-click indicates that click the selected page of vip guesses that you like second block of card.
Client upon request platform interface when, the interface called every time and return value are successively stored in running memory.
User's operation routing information and request response message are recorded by table, one label of each editor, Then it is recorded in table one by one, but table is not infinitely to record, and can only record the information of default number of branches, such as Can default record N item, if it exceeds from the beginning N item, then cover, N is set in version by client.Such as memory space can store 100 information, when there is the 101st article of information, the 101st article of information will cover the 1st article of information, and then the 102nd article of information will 2nd article of information covering, and so on.In this case, the sequence for operating or requesting is known for convenience of service provider, record Courses of action information and request response message must have message sequence number.
Requesting response message includes solicited message and response message.
Wherein, solicited message includes the information such as hyperlink request, request type, request message head, request message ontology.
Response message includes the information such as answer code, response message body.
In step s 103, it is reported using the screenshot and the historical operation information as failure logging information.
When the interface screenshot for obtaining application program, and after operation information corresponding with screenshot, client will will be obtained The screenshot and courses of action information and/or request response message taken is uploaded to server.
In another possible embodiment of the disclosure, which is specifically included:
The screenshot and the historical operation information are compressed;
It is reported compressed information as failure logging information.
It is, in order to save space, so that screenshot and information that transmission speed faster, will acquire first are compressed, so After be sent to server.
Based on inventive concept same as mentioned above, in another embodiment of the disclosure, a kind of failure report is also disclosed Alarm device, as shown in figure 5, the accident warning device includes: detection module 101, obtains module 102 and fault alarm module 103.
The detection module 101 is configured as detecting whether to receive fault alarm operation;
When the acquisition module 102 is configured as receiving fault alarm operation, obtain corresponding with fault alarm operation Screenshot, and obtain the historical operation information of application program before the screenshot is shown;
The fault alarm module 103 is configured as using the screenshot and the historical operation information as failure logging information It is reported.
In another embodiment of the present disclosure, the detection module includes: the first detection sub-module, the second detection submodule Block, third detection sub-module and the first decision sub-module.
The first detection module is configured as having detected whether that screenshot is saved;
If second detection module is configured as detecting that screenshot is saved, event is generated in current application program interface Hinder alarm button;
The third detection module is configured as detecting whether to receive the trigger action to the fault alarm button;It is described Quick fault alarm button is generated in the arbitrary interface of application program;
If first decision sub-module is configured as receiving the trigger action, judgement receives fault alarm behaviour Make.
In another embodiment of the present disclosure, the detection module further include: the 4th detection sub-module and second determines son Module.
4th detection sub-module is configured as detecting whether to receive the trigger action to quick fault alarm button;Institute Stating quick fault alarm button is generated in the arbitrary interface of application program.
If second decision sub-module is configured as receiving the trigger action, judgement receives fault alarm behaviour Make.
In another embodiment of the present disclosure, the acquisition module includes: that the first record sub module and first obtain submodule Block.
First record sub module is configured as recording the application program and external data call is requested;
The first acquisition module is configured as obtaining the corresponding request response message of the data call request.
In another embodiment of the present disclosure, the acquisition module further include: the second record sub module and second obtains son Module.
Second record sub module is configured as recording the operation information for operating application program;
Second acquisition submodule is configured as obtaining courses of action information corresponding with the operation information.
In another embodiment of the present disclosure, the acquisition module further include: sub-module stored, the 5th detection sub-module and Implementation sub-module.
The sub-module stored is configured as storing request response message and operation road according to timing in default memory space Diameter information;
Whether the remaining space that the 5th detection sub-module is configured as detecting the default memory space is less than preset value;
If the remaining space that the implementation sub-module is configured as the default memory space is less than preset value, asked according to described The request for asking the storage timing of response message and/or courses of action information to be stored by elder generation into the rear covering default memory space Response message and/or courses of action information.
In another embodiment of the present disclosure, the fault alarm module includes: compression submodule and fault alarm submodule Block.
The compression submodule is configured as compressing the screenshot and the historical operation information;
The fault alarm submodule is configured as reporting compressed information as failure logging information.
In another embodiment of the disclosure, a kind of electronic equipment is additionally provided, as shown in fig. 6, including processor 501, logical Believe interface 502, memory 503 and communication bus 504, wherein processor 501, communication interface 502, memory 503 pass through communication Bus 504 completes mutual communication;
Memory 503, for storing computer program;
Processor 501 when for executing the program stored on memory 503, realizes following steps:
It detects whether to receive fault alarm operation;
If receiving fault alarm operation, screenshot corresponding with fault alarm operation is obtained, and obtains described cut The historical operation information of application program before figure is shown;
It is reported using the screenshot and the historical operation information as failure logging information.
The communication bus 504 that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, abbreviation PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, abbreviation EISA) bus etc..The communication bus 504 can be divided into address bus, data/address bus, Control bus etc..Only to be indicated with a thick line in Fig. 5, it is not intended that an only bus or a seed type convenient for indicating Bus.
Communication interface 502 is for the communication between above-mentioned electronic equipment and other equipment.
Memory 503 may include random access memory (Random Access Memory, abbreviation RAM), can also be with Including nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.Optionally, memory It can also be that at least one is located remotely from the storage device of aforementioned processor.
Above-mentioned processor 501 can be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (Digital Signal Processing, abbreviation DSP), specific integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC), field programmable gate array (Field-Programmable Gate Array, Abbreviation FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.
In another embodiment of the application, a kind of computer readable storage medium is additionally provided, which is characterized in that the meter Fault alarm method program is stored on calculation machine readable storage medium storing program for executing, it is real when the fault alarm method program is executed by processor The step of existing any of the above-described described fault alarm method.
The embodiment of the present invention in specific implementation, can have corresponding technical effect refering to above-mentioned each embodiment.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor, In controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, the techniques described herein can be realized by executing the unit of function described herein.Software generation Code is storable in memory and is executed by processor.Memory can in the processor or portion realizes outside the processor.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, the technical solution of the embodiment of the present invention is substantially The part of the part that contributes to existing technology or the technical solution can embody in the form of software products in other words Come, which is stored in a storage medium, including some instructions are used so that a computer equipment (can To be personal computer, server or the network equipment etc.) execute all or part of each embodiment the method for the present invention Step.And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program The medium of code.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
It should be noted that, in this document, the relational terms of such as " first " and " second " or the like are used merely to one A entity or operation with another entity or operate distinguish, without necessarily requiring or implying these entities or operation it Between there are any actual relationship or orders.
Through the above description of the embodiments, those skilled in the art can be understood that each reality of the present invention Applying method described in example can realize by means of software and necessary general hardware platform, naturally it is also possible to by hardware, But the former is more preferably embodiment in many cases.Based on this understanding, technical solution of the present invention is substantially in other words The part that contributes to existing technology can be embodied in the form of software products, which is stored in one In a storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a client device (can be hand Machine, computer, server, air conditioner or network equipment etc.) execute method or implementation described in each embodiment of the present invention Method described in certain parts of example.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (9)

1. a kind of fault alarm method characterized by comprising
It detects whether to receive fault alarm operation;
If receiving fault alarm operation, screenshot corresponding with fault alarm operation is obtained, and obtain the screenshot exhibition The historical operation information of application program before showing;
It is reported using the screenshot and the historical operation information as failure logging information.
2. a kind of fault alarm method according to claim 1, which is characterized in that described to detect whether to receive failure report Alert operation, comprising:
Detect whether that screenshot is saved;
If detecting, screenshot is saved, and fault alarm button is generated in current application program interface;
It detects whether to receive the trigger action to the fault alarm button;
If receiving the trigger action, judgement receives fault alarm operation.
3. a kind of fault alarm method according to claim 1, which is characterized in that described to detect whether to receive failure report Alert operation, further includes:
It detects whether to receive the trigger action to quick fault alarm button;The quick fault alarm button is using journey What the arbitrary interface of sequence generated;
If receiving the trigger action, judgement receives fault alarm operation.
4. a kind of fault alarm method according to claim 1, which is characterized in that the historical operation information includes: behaviour Make routing information and request response message.
5. a kind of accident warning device characterized by comprising
Detection module, for detecting whether receiving fault alarm operation;
Module being obtained, when for receiving fault alarm operation, obtaining screenshot corresponding with fault alarm operation, and obtain The historical operation information of application program before taking the screenshot to show;
Fault alarm module, for being reported using the screenshot and the historical operation information as failure logging information.
6. a kind of accident warning device according to claim 5, which is characterized in that the detection module includes:
First detection sub-module, for detecting whether there is screenshot to be saved;
Second detection sub-module, if generating fault alarm in current application program interface for detecting that screenshot is saved Button;
Third detection sub-module, for detecting whether receiving the trigger action to the fault alarm button;
First decision sub-module, if for receiving the trigger action, judgement receives fault alarm operation.
7. a kind of accident warning device according to claim 5, which is characterized in that the detection module further include:
4th detection sub-module, for detecting whether receiving the trigger action to quick fault alarm button;The quick event Barrier alarm button is generated in the arbitrary interface of application program;
Second decision sub-module, if for receiving the trigger action, judgement receives fault alarm operation.
8. 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 any fault alarm side claim 1-4 Method step.
9. a kind of computer readable storage medium, which is characterized in that store faulty report on the computer readable storage medium Alarm method program realizes claim 1-4 any failure report when the fault alarm method program is executed by processor The step of alarm method.
CN201910562452.1A 2019-06-26 2019-06-26 Fault alarm method, device, electronic equipment and computer readable storage medium Active CN110377444B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910562452.1A CN110377444B (en) 2019-06-26 2019-06-26 Fault alarm method, device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910562452.1A CN110377444B (en) 2019-06-26 2019-06-26 Fault alarm method, device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110377444A true CN110377444A (en) 2019-10-25
CN110377444B CN110377444B (en) 2023-06-30

Family

ID=68249424

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910562452.1A Active CN110377444B (en) 2019-06-26 2019-06-26 Fault alarm method, device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110377444B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111240878A (en) * 2020-01-08 2020-06-05 北京奇艺世纪科技有限公司 Fault reporting positioning method, electronic equipment and computer readable storage medium
CN113127250A (en) * 2021-04-28 2021-07-16 北京奇艺世纪科技有限公司 Fault reporting method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107247637A (en) * 2017-07-27 2017-10-13 广州云测信息技术有限公司 A kind of APP fault determination methods and device
WO2018203848A2 (en) * 2016-12-23 2018-11-08 Turkcell Teknoloji̇ Araştirma Ve Geli̇şti̇rme Anoni̇m Şi̇rketi̇ A system displaying near real-time quality tendency and generating alarm
CN108924029A (en) * 2018-04-11 2018-11-30 阿里巴巴集团控股有限公司 A kind of method and device that customer service data are sent
CN109376071A (en) * 2018-09-03 2019-02-22 平安普惠企业管理有限公司 Application software exception feedback method, device, computer equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018203848A2 (en) * 2016-12-23 2018-11-08 Turkcell Teknoloji̇ Araştirma Ve Geli̇şti̇rme Anoni̇m Şi̇rketi̇ A system displaying near real-time quality tendency and generating alarm
CN107247637A (en) * 2017-07-27 2017-10-13 广州云测信息技术有限公司 A kind of APP fault determination methods and device
CN108924029A (en) * 2018-04-11 2018-11-30 阿里巴巴集团控股有限公司 A kind of method and device that customer service data are sent
CN109376071A (en) * 2018-09-03 2019-02-22 平安普惠企业管理有限公司 Application software exception feedback method, device, computer equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111240878A (en) * 2020-01-08 2020-06-05 北京奇艺世纪科技有限公司 Fault reporting positioning method, electronic equipment and computer readable storage medium
CN113127250A (en) * 2021-04-28 2021-07-16 北京奇艺世纪科技有限公司 Fault reporting method and device, electronic equipment and storage medium
CN113127250B (en) * 2021-04-28 2023-09-01 北京奇艺世纪科技有限公司 Fault reporting method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110377444B (en) 2023-06-30

Similar Documents

Publication Publication Date Title
US10048804B2 (en) Method for preventing false touches on terminal and terminal
WO2022105269A1 (en) Live broadcast video pushing method and device
US9195372B2 (en) Methods, systems, and computer program products for grouping tabbed portion of a display object based on content relationships and user interaction levels
US8255248B1 (en) Method and computer program product for obtaining reviews of businesses from customers
CN110069463A (en) User behavior processing method, device electronic equipment and storage medium
US20140309760A1 (en) Music playback method, third-party application and device
CN104486422B (en) Information-pushing method and device
CN106610988B (en) Webpage recommendation method and recommendation device
CN110069403A (en) Position method and device, the storage medium, electronic device of crash event
CN104539741A (en) Prompting method and prompting device for account login
CN104348810A (en) Method, device and system for detecting stolen account
CN110377444A (en) Fault alarm method, device, electronic equipment and computer readable storage medium
CN105579976B (en) Webpage automated testing method and device
CN110781408A (en) Information display method and device
CN110633439A (en) Page processing method and system
CN108153891A (en) Active time statistical method of surfing the Internet and device
CN110011895B (en) Conversation method, method for acquiring link information associated with object, and electronic device
CN108574721A (en) A kind of login method, device and server, user terminal, readable storage medium storing program for executing
US10120846B2 (en) System and method for displaying online comments
CN111198797A (en) Operation monitoring method and device and operation analysis method and device
CN109656781A (en) A kind of blog management method, system, medium and electronic equipment
CN106909486B (en) Method, device and system for processing business exception
JP7067657B2 (en) Servers, store-side equipment, management systems, information provision methods and programs
CN110347906A (en) User behavior display method and device, electronic equipment and storage medium
CN107563212A (en) A kind of information processing method, mobile terminal and computer-readable recording medium

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
GR01 Patent grant
GR01 Patent grant