WO2018082176A1 - Procédé de traitement de défaut d'un dispositif de terminal et dispositif de terminal - Google Patents

Procédé de traitement de défaut d'un dispositif de terminal et dispositif de terminal Download PDF

Info

Publication number
WO2018082176A1
WO2018082176A1 PCT/CN2016/112688 CN2016112688W WO2018082176A1 WO 2018082176 A1 WO2018082176 A1 WO 2018082176A1 CN 2016112688 W CN2016112688 W CN 2016112688W WO 2018082176 A1 WO2018082176 A1 WO 2018082176A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
fault
analysis
network server
policy
Prior art date
Application number
PCT/CN2016/112688
Other languages
English (en)
Chinese (zh)
Inventor
严振山
董德远
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201680081200.1A priority Critical patent/CN108604200A/zh
Publication of WO2018082176A1 publication Critical patent/WO2018082176A1/fr

Links

Images

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

Definitions

  • the embodiments of the present invention relate to the field of terminals, and more specifically, to a method and a terminal device for processing a fault of a terminal device.
  • the failure of the terminal device directly affects the user's experience with the terminal device, causing the user to question the product quality of the terminal device.
  • the terminal device fails, the user needs to send a large amount of data generated when the failure occurs to the network server, and the network server analyzes and processes the data.
  • the network server analyzes and processes the data.
  • the network server needs to send the analysis result back to the terminal device. The whole process period is long and the cost is high. The user can only wait for the network server to analyze and process the fault, and cannot handle the fault autonomously. , resulting in inefficient handling of faults.
  • the embodiment of the invention provides a method for processing a fault of a terminal device and a terminal device, which can simplify the process of fault location of the terminal device, shorten the cycle of fault processing, and improve the efficiency of fault processing.
  • the first aspect provides a method for processing a fault of a terminal device, including: acquiring, by a terminal device, a dump file; the terminal device automatically calling a debugging tool to analyze the dump file according to a pre-stored analysis policy, and generating a fault analysis. Reporting, the fault analysis report includes system status information when the terminal device fails; and the terminal device determines a fault solution according to the fault analysis report.
  • the method for processing a fault of a terminal device can automatically generate a fault analysis report by using a pre-stored analysis strategy, and determine a fault solution according to the fault analysis report, and the entire process does not require the participation of professionals, thereby simplifying the process of fault location.
  • the cost of fault processing is reduced, the cycle of fault handling is shortened, and the efficiency of handling faults is improved.
  • the method further includes: the terminal device sends the fault analysis report to a network server; and the terminal device receives the The fault analysis report generates a fault solution.
  • the terminal device may send the generated fault analysis report to the network service.
  • the server generates a fault solution by the network server, which can avoid uploading a large amount of data generated when the fault occurs to the network server, shortening the cycle of processing the fault, and reducing the cost of processing the fault.
  • the terminal device automatically invokes a debugging tool to perform the dump file according to the pre-stored analysis policy.
  • the method further includes: the terminal device acquiring the analysis policy from the network server.
  • the terminal device may receive an analysis policy sent by the network server, and the analysis policy may be updated in real time, so that the analysis process is more accurate.
  • the method further includes: receiving, by the terminal device, update indication information sent by the network server, where the update indication information is used by And the terminal device is instructed to update the analysis policy; the terminal device updates the analysis policy according to the update indication information.
  • the terminal device implements the dynamic update of the analysis policy by obtaining the update indication information from the network server, so that the analysis process of the fault is more intelligent, and the analysis result is more accurate.
  • the terminal device automatically invokes a debugging tool pair according to an analysis policy Before the dump file is analyzed, the method further includes: the terminal device presenting prompt information on the display interface, where the prompt information is used to query whether the user analyzes the fault of the terminal device; the terminal device receives The indication information input by the user, the indication information is used to instruct the user to confirm the analysis of the fault of the terminal device.
  • the terminal device presents the prompt information to the user on the display interface and receives the indication information input by the user, so that the user can perceive the process of the fault processing in real time, thereby improving the user experience.
  • the analysis policy includes a command parameter for extracting the system state information.
  • the analysis policy is a program code or a script file that is composed of the command parameter.
  • the debugging tool is a kernel debugger, and the kernel debugger runs the program code Or the script file automatically analyzes the dump file.
  • the kernel debugger can automatically analyze the dump file in combination with the analysis strategy, which greatly facilitates the ordinary user.
  • a method for processing a fault of a terminal device comprising: receiving, by a network server, a fault analysis report generated by a terminal device automatically invoked by a debugging tool according to a pre-stored analysis policy, where the fault analysis report includes when the terminal device fails System status information; the network server generates a fault solution according to the fault analysis report; the network server sends the fault solution to the terminal device.
  • the method before the network server receives the fault analysis report generated by the terminal device according to the pre-stored analysis policy, the method further includes: the network server reporting the The terminal device sends the analysis policy.
  • the method further includes: the network server sending update indication information to the terminal device, where the update indication information is used Instructing the terminal device to update the analysis policy.
  • the analysis policy includes a command parameter for extracting the system state information.
  • the analysis policy is a program code or a script file that is composed of the command parameter.
  • the debugging tool is a kernel debugger, and the kernel debugger runs the program code Or the script file automatically analyzes the dump file.
  • a terminal device comprising one or more modules for performing the method of the first aspect.
  • a terminal device comprising one or more modules for performing the method of the second aspect.
  • a terminal device including a memory, a processor, the memory is configured to store program code, and the processor is configured to invoke the program code to implement the foregoing first aspect and implementation of the first aspect The method in the way.
  • a terminal device includes a memory, a processor, where the memory is used to store program code, and the processor is configured to invoke the program code to implement the foregoing second aspect and the implementation of the second aspect. The method in the way.
  • a seventh aspect a computer readable medium for storing program code executable by a device of a fault of the processing terminal device, the program code comprising The instructions of the method in each implementation of the first aspect.
  • a computer readable medium for storing program code executable by a device of a fault of the processing terminal device, the program code comprising The instructions of the method in each implementation of the second aspect.
  • FIG. 1 is a structural diagram of a terminal device according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of a method of processing a failure of a terminal device according to an embodiment of the present invention.
  • FIG. 3 is a graphical user interface of a KD debugger in accordance with an embodiment of the present invention.
  • FIG. 4 is another schematic flowchart of a method for processing a fault of a terminal device according to an embodiment of the present invention.
  • FIG. 5 is still another schematic flowchart of a method for processing a fault of a terminal device according to an embodiment of the present invention.
  • FIG. 6 is a schematic block diagram of a terminal device according to an embodiment of the present invention.
  • FIG. 7 is another schematic frame diagram of a terminal device according to an embodiment of the present invention.
  • the terminal device may include, but is not limited to, a personal computer (PC) product, for example, may be a desktop, an all-in-one, a notebook, a handheld (Personal) Digital Assistant, PDA), Tablet, etc.
  • PC personal computer
  • PDA Personal Digital Assistant
  • the terminal device 100 may be any desktop product such as a desktop computer or an all-in-one device.
  • the following uses the terminal device 100 shown in FIG. 1 as an example.
  • the terminal device 100 may include: a display 110, a mouse 120, a physical keyboard 130, and a host 140.
  • the terminal device 100 shown in FIG. 1 can be understood by those skilled in the art.
  • the various components are merely examples and are not limiting, and the terminal device 100 may also include more or fewer components than those shown in FIG. 1, or a combination of certain components, or different component arrangements.
  • the display 110 can be used to display information input by the user or information provided to the user.
  • the user can operate the terminal device 100 according to the information shown by the display 110.
  • the display 110 can use a liquid crystal display (LCD) or an organic light emitting diode ( Organic Light-Emitting Diode, OLED) and other forms are configured.
  • LCD liquid crystal display
  • OLED Organic Light-Emitting Diode
  • the display 110 may be configured as a touch screen, which may collect touch operations on or near the user (eg, the user uses any finger, stylus, etc.) A suitable object is operated on the touch screen) and the corresponding connecting device is driven according to a preset program.
  • the mouse 120 and the physical keyboard 130 are input units of the terminal device 100, and the terminal device 100 can be operated by the mouse 120 and/or the physical keyboard 130.
  • the mouse 120 and the physical keyboard 130 can be wired or wirelessly set.
  • the host 140 is a control center of the terminal device 100, and connects various components of the entire terminal device 100 by using various interfaces and lines.
  • the host 140 mainly includes a motherboard, a central processing unit (CPU), an internal memory, a hard disk, and a graphics card. And sound card and other components.
  • the motherboard is generally a rectangular circuit board on which the main circuit system constituting the terminal device 100 is installed; the CPU is an ultra-large-scale integrated circuit, which is an operation core and a control center of the terminal device 100, and the CPU is stored or executed in the internal memory.
  • the data performs various functions and data processing of the terminal device 100, thereby implementing various services based on the terminal device 100;
  • the main function of the internal memory is for temporarily storing operational data in the CPU and exchanging data with an external storage device such as a hard disk.
  • the hard disk is one of the main storage media of the terminal device 100, and is composed of one or more discs made of aluminum or glass. Most of the hard disks are fixed hard disks and are permanently sealed and fixed in the hard disk drive; the video card is also called
  • the terminal device 100 performs digital-to-analog conversion, and undertakes the task of outputting a display graphic.
  • the graphics card is connected to the motherboard of the terminal device 100, and the digital signal of the terminal device 100 is converted into a simulation.
  • the signal is displayed to the user through the display, and the graphics card also has the function of image display;
  • the card is a kind of hardware for realizing the exchange of sound waves/digital signals in the terminal device 100.
  • the basic function of the sound card is to convert original sound signals from microphones, magnetic tapes, optical disks, etc., and output them to earphones, speakers, amplifiers, tape recorders and the like. .
  • the terminal device 100 may further include a power supply for supplying power to the respective components.
  • the power supply may be connected to the CPU through the power management system to implement functions such as charging, discharging, and power consumption through the power management system.
  • the terminal device 100 may further include a camera, a microphone, an audio device, and the like, which is not limited by the embodiment of the present invention.
  • embodiments of the present invention are applicable to various operating systems, for example, may be a Windows operating system, which is not limited by the embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of a method 200 for processing a fault of a terminal device, which may be performed by the terminal device 100 shown in FIG. 1 according to an embodiment of the present invention.
  • the method 200 shown in FIG. 2 includes:
  • the terminal device acquires a dump file.
  • the terminal device automatically invokes a debugging tool to analyze the dump file according to the pre-stored analysis policy, and generates a fault analysis report, where the fault analysis report includes system status information when the terminal device fails;
  • the terminal device determines a fault solution according to the fault analysis report.
  • the terminal device when a fault occurs, can automatically generate a fault analysis report by using a pre-stored analysis policy, and send the fault analysis report to the network server, thereby obtaining a fault solution that the network server pushes, and the entire process does not need to be performed.
  • the participation of professionals simplifies the process of fault location and improves the efficiency of fault location.
  • the failure of the terminal device may refer to a system crash of the terminal device, for example, a blue screen event occurs in the terminal device.
  • the failure of the terminal device may also be other types of failures, for example, the system of the terminal device is stuck or the like.
  • the dump file may also be referred to as a memory dump file, or may also be referred to as a dump file.
  • the types of the dump files are roughly classified into three types, for example, a full dump file, a kernel dump file, and a small memory dump file (Mini-dump), and the classification of the above dump file. It is not a limitation on the type of the dump file, and the dump file may be another type of dump file, and the embodiment of the present invention is not limited thereto.
  • the full memory dump file captures the state of the entire physical memory in the event of a system crash.
  • This dump file size is the in-memory page file size +1MB file header.
  • the kernel dump file When a new full memory dump file is created, it will overwrite the full memory dump file generated during the last system crash; the kernel dump file only captures the kernel file page file read/write in physical memory when the system crashes. data.
  • the kernel dump file generally includes information such as the currently running process, the thread, and the loaded driver. When a new kernel dump file is created, it also overwrites the kernel dump file that was generated during the last system crash; the small memory dump file records a minimal set of useful information that identifies the cause of the system crash in the event of a system crash.
  • the small memory dump file is typically a 64K dump file, which includes: error checking information and parameters, the processing environment of the crashed processor, crashed process information and kernel environment, information about the crashed thread, and the kernel environment.
  • the kernel mode of the crashed thread calls information such as stack information.
  • the embodiment of the present invention is applicable to any type of dump file generated when a terminal device fails.
  • it may be one of the above three dump files, or may be other than the above three dump file types.
  • Other embodiments of the present invention are not limited thereto.
  • the analysis policy may be a command parameter for extracting system state information when the terminal device fails, for example, may be a program code or a script file composed of a command parameter.
  • Table 1 shows the command parameters and their functions that are commonly used when extracting system status information. As shown in Table 1, the analysis strategy may be a combination of one or more of the command parameters in Table 1.
  • command parameters shown in Table 1 are not exhaustive for the command parameters for extracting the system state information when the terminal device fails.
  • the embodiment of the present invention is only used as an example for extracting the terminal device when the fault occurs.
  • the command parameters of the system state information are described.
  • the command parameters may also be extended. For example, the user may obtain the command parameters from the third party or the user may write the command parameters.
  • the fault analysis report may include system status information when the terminal device fails, where the system status information may be, for example, detailed current abnormal information, related register information, and stack information when the system fails.
  • system status information may be, for example, detailed current abnormal information, related register information, and stack information when the system fails.
  • process information and the thread information, etc. the embodiment of the present invention only takes the above several system state information as an example, but the embodiment of the present invention is not limited thereto.
  • the fault analysis report may further include a fault cause.
  • the debugging tool may be a kernel debugger.
  • it may be a KD debugger.
  • the KD debugger occupies a small memory space, it is a green debugging-free debugging tool, and the KD debugger is based on a command line.
  • the interactive mode design eliminates the need for manual intervention in the process of automatically analyzing the dump file, which greatly facilitates the operation of the ordinary user when the terminal device fails.
  • the KD debugger can be extracted from the WinDbg kernel-mode debugging tool and operated independently.
  • PE Portable Executable, PE files, such as EXE, DLL, OCX, SYS, COM and other commonly used PE files, analyze the minimum dynamic library set required by the KD debugger. These minimum dynamic library sets can be combined into a KD debugger.
  • PE Portable Executable, PE
  • the analysis strategy may be a program code or a script file composed of command parameters, and the program code or script file composed of the command parameters may be in the terminal device.
  • the side is periodically updated or periodically updated by the web server, so when using the KD debugger to analyze the dump file, you can use the KD debugger to run the program code or script file to analyze the dump file to implement the KD debugger.
  • the automatic analysis greatly facilitates ordinary users.
  • the KD debugger may further have a Graphical User Interface (GUI), and FIG. 3 illustrates a graphical user interface of the KD debugger according to an embodiment of the present invention.
  • GUI Graphical User Interface
  • FIG. 3 illustrates a graphical user interface of the KD debugger according to an embodiment of the present invention.
  • the GUI of the KD debugger during the process of dumping files for analysis The interface can display the analysis progress of the dump file, as shown in Figure 3 (a), the current interface shows that the KD debugger has completed the analysis of 80% of the dump file; after the analysis is completed, the GUI interface of the KD debugger can also be displayed.
  • the display interface of the terminal device may automatically pop up the GUI interface of the KD debugger, the GUI interface. It can be used for the user to understand the cause of the last fault, etc., and for the user to choose whether to handle the last fault.
  • the GUI interface setting of the KD debugger can increase the user's perception of the KD debugger analysis process, and the user can solve the fault of the terminal device with one click, which greatly facilitates the common Users have improved the user experience.
  • the method 200 further includes: the terminal device acquiring an analysis policy, where the analysis policy may be an analysis policy pre-stored in the terminal device, or Is an analysis strategy stored in a web server.
  • the analysis policy may be an analysis policy pre-stored in the terminal device, or Is an analysis strategy stored in a web server.
  • the method 200 before the terminal device automatically invokes the debugging tool to analyze the dump file according to the pre-stored analysis policy, the method 200 further includes: the terminal device acquiring the analysis policy.
  • the analysis strategy may be an analysis policy pre-stored in the terminal device or an analysis policy stored in the network server.
  • the analysis policy may be periodically updated.
  • the terminal device may update the analysis policy according to the update indication information sent by the network server.
  • the network server when the terminal device is connected to the network, the network server periodically pushes the update indication information to the terminal device, so that the terminal device updates the analysis policy according to the update indication information, for example, the update indication information may be a system patch.
  • the network server may also be preset according to the network server.
  • the system status information of all historical fault cases in the historical fault case database comprehensively extracts the analysis strategy, and then sends the extracted analysis strategy to the terminal device.
  • the network server can The system state information at the time of the occurrence of all the added fault cases is comprehensively extracted and analyzed.
  • the analysis strategy at this time is the updated analysis strategy.
  • the latest analysis strategy can be obtained in real time through the dynamic update of the analysis strategy, so that the analysis process is more intelligent and the analysis result is more accurate.
  • the method 200 before the step 220, further includes: the terminal device presenting prompt information on the display interface, where the prompt information is used to query whether the user needs to analyze the fault that occurs in the terminal device, where When receiving the prompt information, the user may input indication information according to the prompt information, where the indication information is used to indicate that the user confirms the analysis of the fault that occurs in the terminal device.
  • the terminal device 100 when the terminal device 100 generates a blue screen event, the terminal device 100 presents prompt information on the display 110 for inquiring whether the user needs or not before the terminal device 100 automatically invokes the debugging tool to analyze the dump file according to the analysis policy.
  • the blue screen event is analyzed.
  • the indication information may be input according to the selection key in the prompt information, and the indication information is used to instruct the user to confirm the analysis of the blue screen event.
  • the process in which the terminal device presents the prompt information and the user input the indication information on the display interface may occur before the terminal device acquires the analysis policy, or after the terminal device obtains the analysis policy, the embodiment of the present invention does not Make a limit.
  • the terminal device enhances the user's perception of the fault processing process by presenting the prompt information to the user and receiving the indication information input by the user, thereby improving the user experience.
  • the terminal device analyzes the dump file according to the analysis policy, and generates a fault analysis report.
  • the terminal device can automatically invoke the debugging tool according to the analysis policy.
  • the debugging tool may be a KD debugger.
  • the failure analysis report includes system status information of the terminal device when the failure occurs.
  • the fault analysis report may further include a fault cause of the current fault.
  • the terminal device analyzes and generates a data file when a fault occurs.
  • the fault analysis report avoids the process that the terminal device needs to upload a large amount of data to the network server, which shortens the time for processing the fault and saves the cost.
  • the terminal device determines a failure resolution based on the failure analysis report.
  • the terminal device may determine the fault solution according to the fault analysis report on the terminal device side, and may prevent the user from uploading a large amount of data generated when the fault occurs to the network server.
  • the cycle of processing faults is shortened, and the cost of fault handling is reduced.
  • the terminal device determines the fault solution according to the fault analysis report, and specifically includes: the system state information and/or the fault when the terminal device generates the historical fault case according to the system state information and/or the fault cause in the fault analysis report and the terminal device pre-stored. Reasons are compared to determine the solution to the problem.
  • the terminal device may further send the fault analysis report to the network server, where the network server may determine, according to the system state information and/or the fault cause in the received fault analysis report, the fault that occurs the current fault. Program.
  • the network server determines, according to the fault analysis report, the fault solution, that is, the system status information when the network server generates the system state information and/or the fault cause in the fault analysis report and the historical fault case of the historical fault case database in the network server. Matching with the cause of the historical fault. When the match is successful, the solution to determine the historical fault case of the match is the fault solution of the current fault. When the match fails, the current fault is the newly added fault type. At this time, the background operation and maintenance personnel can determine the fault solution according to the system status information and/or the cause of the failure of the terminal device at the time of the current failure.
  • the terminal device receives the fault solution generated by the network server based on the fault analysis report, and performs the current fault according to the fault solution. deal with.
  • the network server may automatically push the fault solution to the terminal device periodically.
  • the method 200 further includes: the terminal device sends feedback information to the network server, where the feedback information includes current system state information of the terminal device, The cause of the fault and the solution, and match the content of the feedback information with the corresponding content in the historical fault case library. If the matching is successful, the empirical value of the historical fault case when the matching is successful is increased by 1. The higher the empirical value is. The historical failure case indicates that the higher the probability of occurrence of the failure, the more likely it is to predict the failure of the terminal device.
  • the system status information of the terminal equipment that has not failed is first compared with the historical fault case with high experience value, and the complexity of the fault prediction is reduced to achieve the purpose of solving the fault before the fault occurs or pushing the patch to prevent serious catastrophic errors.
  • the match fails the system status information, the cause of the fault, and the solution at the time of the current fault are added to the historical fault case library as a new fault case.
  • the improvement and accumulation of the historical fault case in the historical fault case database is realized, the fault prediction of the subsequent terminal device is facilitated, and the user experience and the user experience are improved. product quality.
  • FIG. 4 is a schematic flowchart of a method 400 for processing a fault of a terminal device according to an embodiment of the present invention. As shown in FIG. 4, the method 400 is described by taking a blue screen event of the terminal device as an example.
  • the failure of the terminal device is a blue screen event and a dump file is generated, and the dump file stores error information when the terminal device fails.
  • the dump file may also be referred to as a memory dump file or a dump file.
  • the type of the dump file may be any one of a full dump file, a kernel dump file, or a small memory dump file.
  • the terminal device can obtain the pre-stored analysis policy from the network server after generating the dump file.
  • the network server may automatically push the update indication information to the terminal device periodically, so that the terminal device updates the analysis policy according to the update indication information.
  • the network server may further update the pre-stored analysis policy according to the update of the historical fault case in the historical fault case library, and send the updated analysis policy to the terminal device.
  • the terminal device may further display prompt information on the display interface to query whether the user analyzes the blue screen event that occurs on the terminal device, and the user inputs according to the corresponding selection key in the prompt information presented by the terminal device.
  • the indication information is used to instruct the user to confirm the analysis of the blue screen event occurring on the terminal device.
  • the terminal device automatically invokes the KD debugger to analyze the dump file according to the analysis policy acquired in 420, and obtains a failure analysis report.
  • the KD debugger has a GUI interface, and may present an analysis progress interface to the user during the analysis of the blue screen event, and may also present the blue screen event solution to the user after the blue screen event analysis is completed. Interface, the user can perceive through the display of the GUI interface The entire blue screen event analysis process increases the user experience.
  • the terminal device sends a failure analysis report to the network server, and the network server determines the failure solution according to the failure analysis report.
  • the network server performs system status information and/or fault reason in the received fault analysis report and system status information and/or historical fault reason of the historical fault case in the historical fault case database.
  • Matching when the matching is successful, the fault solution of the historical fault case that can be successfully matched is the fault solution of the current fault; when the matching fails, the current fault is determined to be a newly added fault case.
  • the background operation and maintenance personnel can determine the fault solution according to the system status information of the terminal device when the current fault occurs.
  • the terminal device receives the fault solution sent by the network server, and solves the fault that occurs in the terminal device according to the fault solution.
  • the network server may periodically push the fault solution to the terminal device.
  • the terminal device after the terminal device successfully solves the fault, the terminal device sends feedback information to the network server, where the feedback information includes current system state information, a fault cause, and a solution of the terminal device, and the feedback information is The content in the history matches the corresponding content in the historical fault case database. If the matching is successful, the empirical value of the historical failure case when the matching is successful is increased by 1. The historical failure case with higher empirical value indicates that the probability of occurrence of the failure is higher.
  • the system state information of the terminal device that has not failed may be compared with the historical fault case with high experience value first, and the complexity of the fault prediction is reduced to achieve the fault before the fault occurs.
  • FIG. 5 is a schematic flowchart of a method 500 for processing a fault of a terminal device according to an embodiment of the present invention.
  • the dump file can be a full dump file (Full dump), and the information in the full dump file is extracted using a KD debugger in combination with an analysis strategy, such as the following command parameters: kb, r, ! Peb,! Teb,! Analyze-v, where the command arguments! Analyze-v is used to obtain detailed current abnormal information, that is, to analyze the cause of the current fault of the terminal device.
  • the terminal device can be based on the command parameters!
  • Analyze-v analyzes the cause of the fault and extracts the information from it.
  • the terminal device performs preliminary diagnosis and analysis; the command parameter kb is used to obtain the current stack information, and the command parameter r is used to obtain all the register information and command parameters!
  • Peb is used to get process environment information, command parameters!
  • the teb is used to obtain the thread environment information, and the terminal device is based on the command parameters!
  • Analysis-v preliminary analysis of the cause of the current failure of the terminal device you can combine the stack information, related register letter, process information and thread information and other related information on the command parameters! Analyze-v analyzes the cause of the fault, and finally generates a fault analysis report.
  • the terminal device can determine the fault solution according to the fault analysis report, or the terminal device sends the fault analysis report to the network server. And obtain the fault solution generated by the network server according to the fault analysis report, so as to solve the problem of the terminal device failure.
  • command parameters of the analysis strategy shown in FIG. 5 are only examples of command parameters in the analysis strategy, rather than the definition of the command parameters of the analysis strategy.
  • the terminal device may periodically update the update indication information automatically sent by the network server to update the analysis policy, that is, update the command parameters of the analysis policy. Therefore, the command parameters in the analysis policy of the embodiment of the present invention are not limited thereto.
  • FIG. 6 is a schematic block diagram of a terminal device 600 according to an embodiment of the present invention. As shown in FIG. 6, the terminal device 600 includes:
  • the obtaining module 610 is configured to obtain a dump file.
  • the processing module 620 is configured to automatically invoke the debugging tool to analyze the dump file according to the pre-stored analysis policy, and generate a fault analysis report, where the fault analysis report includes system state information when the terminal device fails;
  • the determining module 630 is configured to determine a fault solution according to the fault analysis report.
  • the processing module 620 can automatically generate a fault analysis report by using the pre-stored analysis policy, and the determining module 630 determines the fault solution according to the fault analysis report, and the entire process does not require a professional. Participation simplifies the process of fault location and improves the efficiency of fault location.
  • the terminal device 600 further includes:
  • a sending module 640 configured to send the fault analysis report to a network server
  • the receiving module 650 is configured to receive, according to the fault analysis report, sent by the network server The resulting fault solution.
  • the obtaining module 610 is further configured to obtain the analysis policy from the network server.
  • the receiving module 650 is further configured to receive update indication information sent by the network server, where the update indication information is used to instruct the terminal device to update the analysis policy.
  • the processing module 620 is further configured to update the analysis policy according to the update indication information.
  • the dynamic update of the analysis policy by the processing module 620 can obtain the latest analysis strategy in real time, so that the analysis process is more intelligent and the analysis result is more accurate.
  • the terminal device 600 further includes a display module 660, configured to present prompt information, where the prompt information is used to query whether the user analyzes the fault of the terminal device.
  • the receiving module 650 is further configured to receive the indication information input by the user, where the indication information is used to indicate that the user confirms analyzing the fault of the terminal device.
  • the terminal device 600 presents the prompt information to the user through the display module 660 and the receiving module 650 receives the indication information input by the user, which enhances the user's perception of the fault processing process and improves the user experience.
  • the analysis policy includes command parameters for extracting the system status information.
  • the analysis policy may be a program code or a script file composed of the above command parameters.
  • the debugging tool is a kernel debugger
  • the kernel debugger can run the above program code or script file to automatically analyze the memory dump file
  • the kernel debugger is a KD debugger
  • the KD debugger runs program code or script files for automatic analysis of fully dumped files.
  • terminal device 600 may correspond to the terminal device in the embodiment of the present invention, and the above and other operations and/or functions of the respective modules in the terminal device 600 respectively implement the modes in FIG. 2 to FIG.
  • the corresponding processes of the various methods are not described here for brevity.
  • FIG. 7 is a schematic structural diagram of a terminal device 700 according to an embodiment of the present invention.
  • the terminal device 700 includes a memory 710 and a processor 720, the memory 710 and a processor. 720 communicate with one another via internal connection paths to communicate control and/or data signals.
  • the memory 710 is configured to store program code
  • the processor 720 is configured to invoke the program code to implement the methods in the various embodiments of the present invention.
  • the processor 720 may be a central processing unit (CPU), a network processor (NP), or a combination of a CPU and an NP.
  • the processor may further include a hardware chip.
  • the hardware chip may be an Application-Specific Integrated Circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof.
  • ASIC Application-Specific Integrated Circuit
  • PLD Programmable Logic Device
  • An embodiment of the present invention provides a computer readable medium for storing computer program code, the computer program comprising instructions for performing the fault location method of the embodiment of the present invention described above in FIGS. 2 to 5.
  • the readable medium may be a read-only memory (ROM) or a random access memory (RAM), which is not limited in the embodiment of the present invention.
  • terminal device 700 may correspond to the terminal device in the embodiment of the present invention, and the above and other operations and/or functions of the respective components in the terminal device 700 respectively implement the operations in FIGS. 2 to 5
  • the corresponding processes of the various methods are not described here for brevity.
  • the disclosed systems, devices, and methods may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division, and may be implemented in actual implementation.
  • multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product.
  • the technical solution of the present application which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
  • the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

Conformément à des modes de réalisation, la présente invention concerne un procédé pour traiter un défaut de dispositif terminal, et un dispositif terminal. Le procédé comprend les étapes suivantes : un dispositif de terminal obtient un fichier de vidage; le dispositif terminal invoque automatiquement, selon une politique d'analyse pré-memorisé, un outil de débogage pour analyser le fichier de vidage de façon à générer un rapport d'analyse de défaut; le dispositif de terminal détermine une solution de défaut selon le rapport d'analyse de défaut. Lorsqu'un défaut se produit dans un dispositif terminal, les modes de réalisation de la présente invention peuvent générer automatiquement un rapport d'analyse de défaillance à l'aide d'une politique d'analyse pré memorisée, et en fonction du rapport d'analyse de défaut, générer une solution de défaut; sans la participation d'un professionnel dans un processus entier, la présente invention simplifie le processus de positionnement de défaut, raccourcit la période de traitement de défaillance, réduit les coûts de traitement de défaut, et améliore l'efficacité de traitement de défaut.
PCT/CN2016/112688 2016-11-03 2016-12-28 Procédé de traitement de défaut d'un dispositif de terminal et dispositif de terminal WO2018082176A1 (fr)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201680081200.1A CN108604200A (zh) 2016-11-03 2016-12-28 处理终端设备的故障的方法和终端设备

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610956905.5 2016-11-03
CN201610956905 2016-11-03

Publications (1)

Publication Number Publication Date
WO2018082176A1 true WO2018082176A1 (fr) 2018-05-11

Family

ID=62076629

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/112688 WO2018082176A1 (fr) 2016-11-03 2016-12-28 Procédé de traitement de défaut d'un dispositif de terminal et dispositif de terminal

Country Status (2)

Country Link
CN (1) CN108604200A (fr)
WO (1) WO2018082176A1 (fr)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110147294A (zh) * 2019-05-23 2019-08-20 Oppo广东移动通信有限公司 调试信息的获取方法、装置、终端及计算机可读存储介质
CN110719312A (zh) * 2018-07-13 2020-01-21 日立环球生活方案株式会社 动作分析显示系统
CN111372210A (zh) * 2018-12-26 2020-07-03 深圳市帝迈生物技术有限公司 远程传输方法、终端设备、移动终端以及计算机存储介质
CN112363903A (zh) * 2020-11-30 2021-02-12 网银在线(北京)科技有限公司 故障报告生成方法、装置、电子设备和计算机可读介质
CN112433877A (zh) * 2020-12-01 2021-03-02 北京五八信息技术有限公司 应用启动崩溃的检测方法、装置、电子设备及存储介质
CN116302646A (zh) * 2023-02-24 2023-06-23 荣耀终端有限公司 一种故障定位方法、系统、电子设备及存储介质

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110275812A (zh) * 2019-06-20 2019-09-24 国家电网有限公司 故障信息处理的方法及终端设备
CN112242919B (zh) * 2019-07-19 2022-07-29 烽火通信科技股份有限公司 一种故障文件处理方法及系统
CN111291983A (zh) * 2020-01-21 2020-06-16 南方电网科学研究院有限责任公司 一种标准化新能源并网数据分析系统
CN112579335B (zh) * 2020-12-18 2023-04-25 歌尔科技有限公司 智能设备故障处理方法、装置、设备及存储介质
CN113570084B (zh) * 2021-07-29 2023-12-29 重庆允丰科技有限公司 一种基于设备维修生成故障分析报告的方法和系统
CN115237651A (zh) * 2022-07-27 2022-10-25 中汽创智科技有限公司 一种终端设备异常分析方法、装置、电子设备及存储介质
CN115981857B (zh) * 2022-12-23 2023-09-19 摩尔线程智能科技(北京)有限责任公司 故障分析系统

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010148940A1 (fr) * 2009-11-18 2010-12-29 中兴通讯股份有限公司 Procédé et système pour vider des informations concernant une panne
CN101944059A (zh) * 2010-08-20 2011-01-12 北京神州泰岳软件股份有限公司 计算机软件崩溃信息的自动分析方法和装置
CN102768639A (zh) * 2012-06-11 2012-11-07 北京奇虎科技有限公司 操作系统内核级错误定位方法及装置
CN102855160A (zh) * 2012-08-22 2013-01-02 北京奇虎科技有限公司 软件修复方法、装置及系统
CN102866930A (zh) * 2012-08-22 2013-01-09 北京奇虎科技有限公司 蓝屏修复方法、装置及系统
CN103684828A (zh) * 2012-09-18 2014-03-26 亿阳信通股份有限公司 一种电信设备故障的处理方法和装置
CN104699554A (zh) * 2012-08-22 2015-06-10 北京奇虎科技有限公司 软件修复方法、装置及系统
US20150186246A1 (en) * 2013-12-30 2015-07-02 Emc Corporation Including kernel object information in a user dump
CN104932979A (zh) * 2015-07-01 2015-09-23 王沛 一种软件故障查找方法和装置

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010148940A1 (fr) * 2009-11-18 2010-12-29 中兴通讯股份有限公司 Procédé et système pour vider des informations concernant une panne
CN101944059A (zh) * 2010-08-20 2011-01-12 北京神州泰岳软件股份有限公司 计算机软件崩溃信息的自动分析方法和装置
CN102768639A (zh) * 2012-06-11 2012-11-07 北京奇虎科技有限公司 操作系统内核级错误定位方法及装置
CN102855160A (zh) * 2012-08-22 2013-01-02 北京奇虎科技有限公司 软件修复方法、装置及系统
CN102866930A (zh) * 2012-08-22 2013-01-09 北京奇虎科技有限公司 蓝屏修复方法、装置及系统
CN104699554A (zh) * 2012-08-22 2015-06-10 北京奇虎科技有限公司 软件修复方法、装置及系统
CN103684828A (zh) * 2012-09-18 2014-03-26 亿阳信通股份有限公司 一种电信设备故障的处理方法和装置
US20150186246A1 (en) * 2013-12-30 2015-07-02 Emc Corporation Including kernel object information in a user dump
CN104932979A (zh) * 2015-07-01 2015-09-23 王沛 一种软件故障查找方法和装置

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110719312A (zh) * 2018-07-13 2020-01-21 日立环球生活方案株式会社 动作分析显示系统
CN111372210A (zh) * 2018-12-26 2020-07-03 深圳市帝迈生物技术有限公司 远程传输方法、终端设备、移动终端以及计算机存储介质
CN110147294A (zh) * 2019-05-23 2019-08-20 Oppo广东移动通信有限公司 调试信息的获取方法、装置、终端及计算机可读存储介质
CN110147294B (zh) * 2019-05-23 2023-10-03 Oppo广东移动通信有限公司 调试信息的获取方法、装置、终端及计算机可读存储介质
CN112363903A (zh) * 2020-11-30 2021-02-12 网银在线(北京)科技有限公司 故障报告生成方法、装置、电子设备和计算机可读介质
CN112433877A (zh) * 2020-12-01 2021-03-02 北京五八信息技术有限公司 应用启动崩溃的检测方法、装置、电子设备及存储介质
CN112433877B (zh) * 2020-12-01 2024-05-17 北京五八信息技术有限公司 应用启动崩溃的检测方法、装置、电子设备及存储介质
CN116302646A (zh) * 2023-02-24 2023-06-23 荣耀终端有限公司 一种故障定位方法、系统、电子设备及存储介质
CN116302646B (zh) * 2023-02-24 2024-03-29 荣耀终端有限公司 一种故障定位方法、系统、电子设备及存储介质

Also Published As

Publication number Publication date
CN108604200A (zh) 2018-09-28

Similar Documents

Publication Publication Date Title
WO2018082176A1 (fr) Procédé de traitement de défaut d'un dispositif de terminal et dispositif de terminal
US20210334015A1 (en) Providing service address space for diagnostics collection
US11126938B2 (en) Targeted data element detection for crowd sourced projects with machine learning
US20200092180A1 (en) Methods and systems for microservices observability automation
JP7132999B2 (ja) アプリケーションの動作状態を検証する方法および装置
US11762720B2 (en) Information processing apparatus and non-transitory computer-readable storage medium for storing API use history display program
CN111694684B (zh) 存储设备的异常构造方法、装置、电子设备及存储介质
WO2021012565A1 (fr) Procédé et appareil de test de système commercial, dispositif et support d'enregistrement
US11754989B2 (en) Semiconductor equipment management method, electronic device, and non-transitory computer readable storage medium
US10007583B2 (en) Generating a data structure to maintain error and connection information on components and use the data structure to determine an error correction operation
WO2024131366A1 (fr) Procédé et appareil de réparation de grappe
WO2021012554A1 (fr) Procédé et appareil de mise à jour de champ de données dans une chaîne de blocs, support, et dispositif électronique
TW202305589A (zh) 儲存裝置及其操作方法
US8838548B2 (en) Performing automated data integrity verification testing for file systems
US20050235049A1 (en) System and method for monitoring startup processes of remote computers by a local server
US11556542B2 (en) Optionally compressed output from command-line interface
KR101415270B1 (ko) 컴퓨팅 장치에 설치된 애플리케이션을 모니터링하는 네트워크 시스템
RU2671999C1 (ru) Способ и система для диагностики мобильных вычислительных устройств
CN112685045A (zh) 页面源文件的处理方法、装置、电子设备以及存储介质
WO2020222673A1 (fr) Procédé et système permettant de diagnostiquer des dispositifs informatiques mobiles
US20240231989A9 (en) Responsive Error Handling Based on Other Error Reports
US20240005182A1 (en) Streaming Media Processing Method, Device and Electronic Equipment Based on Inference Service
US12038821B2 (en) Alert rule manipulation in sync of temporary configuration change
WO2024066622A1 (fr) Procédé et appareil de test de système en nuage
US20240004748A1 (en) Abnormality Detection Method and Apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16920747

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16920747

Country of ref document: EP

Kind code of ref document: A1