WO2018014544A1 - 异常信号处理方法、异常信号处理装置、存储介质及终端 - Google Patents
异常信号处理方法、异常信号处理装置、存储介质及终端 Download PDFInfo
- Publication number
- WO2018014544A1 WO2018014544A1 PCT/CN2017/073463 CN2017073463W WO2018014544A1 WO 2018014544 A1 WO2018014544 A1 WO 2018014544A1 CN 2017073463 W CN2017073463 W CN 2017073463W WO 2018014544 A1 WO2018014544 A1 WO 2018014544A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- abnormal signal
- signal
- captured
- function
- recorded
- 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.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3604—Analysis of software for verifying properties of programs
- G06F11/3612—Analysis of software for verifying properties of programs by runtime analysis
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
Definitions
- the present invention relates to the field of terminal technologies, and in particular, to an abnormal signal processing method, an abnormal signal processing device, a storage medium, and a terminal.
- C++ language-level exceptions such as wild pointers, divide-by-zero, memory access exceptions, and other underlying system exceptions; the other is uncaptured.
- Exceptions such as the most common objective-c NSException in the iOS operating system.
- the first type of abnormality mentioned above it can be captured by a signal mechanism, that is, any abnormality of the system will throw an abnormal signal, and the abnormal signal is captured by the set signal function.
- the signal function "eats" the anomaly signal after the exception signal is captured, which makes it impossible for other engineers who have the need to capture the anomaly signal to capture the anomaly signal.
- the present invention provides an abnormal signal processing method, an abnormal signal processing device, a storage medium, and a terminal, so that an abnormal signal that has been captured can be captured again.
- An aspect of the present invention provides an abnormal signal processing method, including:
- the abnormal signal is again caused based on the recorded position information of the abnormal signal.
- the foregoing capturing an abnormal signal The body is: capturing the abnormal signal by the signal function or the sigaction function;
- the location information of the currently captured abnormal signal is stored, specifically: when the abnormal signal is captured by the signal function or the sigaction function, the position information of the currently captured abnormal signal is recorded.
- the foregoing abnormal information is triggered according to the recorded location information of the abnormal signal, specifically For:
- the raise function is called to trigger the abnormal signal.
- the method further includes:
- a crash log is generated by the Utils.Log method and based on the above abnormal signal.
- the foregoing abnormality signal is recorded in a crash log by using a Utils.Log method, and then includes:
- a second aspect of the present invention provides an abnormal signal processing apparatus, including:
- a capturing unit configured to capture an abnormal signal
- a recording unit configured to: when the capturing unit captures an abnormal signal, record position information of the currently captured abnormal signal;
- the activation unit is configured to re-initiate the abnormal signal according to the location information of the abnormal signal recorded by the recording unit.
- the capturing unit is specifically configured to: capture an abnormal signal by using a signal function or a sigaction function;
- the above recording unit is specifically configured to: when the capturing unit captures an abnormal signal captured by the signal function or the sigaction function, record the position information of the currently captured abnormal signal.
- the activation unit is specifically configured to: the abnormality recorded according to the foregoing recording unit The position information of the signal, call the raise function to trigger the above abnormal signal.
- the abnormal signal processing device further includes:
- a generating unit configured to generate a crash log by using a Utils.Log method and based on the abnormal signal captured by the capturing unit.
- the abnormal signal processing apparatus further includes:
- the reporting unit is configured to report the foregoing crash log generated by the generating unit.
- a third aspect of the invention provides a storage medium storing one or more programs, the one or more programs being executable by one or more processors for:
- the abnormal signal is again caused according to the recorded position information of the abnormal signal.
- the foregoing abnormal signal is captured as
- the location information of the currently captured abnormal signal is stored as:
- the position information of the currently captured abnormal signal is recorded.
- the foregoing abnormal signal is triggered according to the recorded location information of the abnormal signal:
- the raise function is called to trigger the abnormal signal.
- the one or more programs may also be The one or more processors are executed to:
- a crash log is generated by the Utils.Log method and based on the above abnormal signal.
- the foregoing abnormal signal is recorded in a crash log by the Utils.Log method
- the one or more The program can also be executed by the one or more processors for:
- a fourth aspect of the present invention provides a terminal, where the terminal includes: at least one processor and a memory;
- the memory is used to store instructions
- the processor is configured to execute the instructions stored by the memory; wherein the processor is configured to: capture an abnormal signal; when an abnormal signal is captured, record the currently captured The position information of the abnormal signal; the abnormal signal is again sent according to the recorded position information of the abnormal signal.
- the foregoing abnormal signal is captured as
- the location information of the currently captured abnormal signal is stored as:
- the position information of the currently captured abnormal signal is recorded.
- the foregoing abnormal signal is triggered according to the recorded location information of the abnormal signal: According to the recorded position information of the abnormal signal, the raise function is called to trigger the abnormal signal.
- the processor is further configured to: after capturing an abnormal signal, pass Utils.
- the Log method generates a crash log based on the above abnormal signal.
- the processor 301 is further configured to: record the abnormal signal by using the Utils.Log method to After the crash log, the crash log is reported.
- the present invention records the position information of the currently captured abnormal signal after capturing the abnormal signal, and then triggers the abnormal signal again according to the position information of the recorded abnormal signal, without affecting other people to the abnormality.
- the capture of the signal allows the captured anomaly signal to be captured again.
- FIG. 1 is a schematic flow chart of an embodiment of an abnormal signal processing method according to an embodiment of the present invention
- FIG. 2 is a schematic structural diagram of an embodiment of an abnormal signal processing apparatus according to the present invention.
- FIG. 3 is a schematic structural diagram of an embodiment of a terminal according to the present invention.
- FIG. 4 is a schematic structural diagram of another embodiment of a terminal according to the present invention.
- An embodiment of the present invention provides an abnormal signal processing method.
- the abnormal signal processing method in the embodiment of the present invention includes:
- Step 101 Capture an abnormal signal
- the abnormal signals mentioned in the embodiments of the present invention mainly refer to abnormal signals of the bottom layer of the system such as wild pointers, zero division, and memory access abnormalities.
- the abnormal signal is captured by a signal function or a sigaction function.
- parameter 1 represents the signal to be processed
- parameter 2 represents the manner of processing (eg, system default operation, ignore or capture).
- the parameter 1 as an abnormal signal to be captured (for example, an abnormal signal of the bottom layer of the system)
- the parameter 2 is set to capture, thereby implementing the abnormal signal by the signal function. Capture.
- int sigaction (int signum, const struct sigaction *act, struct sigaction *oldact);
- signum represents a signal to be processed
- act represents a new processing mode of the signal to be processed
- oldact represents the original processing mode of the signal to be processed.
- the abnormal signal by setting signum to an abnormal signal to be captured (for example, an abnormal signal of the bottom layer of the system), and setting act to capture, the abnormal signal can be captured by the sigaction function.
- an abnormal signal to be captured for example, an abnormal signal of the bottom layer of the system
- the abnormal signal may be captured by other means, which is not limited herein.
- Step 102 When an abnormal signal is captured, record the location information of the currently captured abnormal signal.
- the position information of the abnormal signal currently captured is recorded. Since the abnormality signal is mostly located in the memory, when the abnormal signal is captured, the position information of the abnormal signal currently captured by the above recording is substantially for recording the position information of the abnormal signal currently captured in the memory. .
- Step 102 is specifically as follows: When an abnormal signal ⁇ is captured by the signal function or the si gaction function, the position information of the abnormal signal currently captured is recorded.
- Step 103 The first abnormal signal is sent according to the recorded location information of the abnormal signal.
- the abnormality information is activated according to the position information of the abnormal signal recorded in step 102, so as to trigger the abnormal signal again.
- the abnormality signal recorded in step 102 may be triggered by calling the raise function according to the recorded position information of the abnormal signal.
- sig represents a signal to be transmitted.
- the captured abnormal signal can be re-initiated by the raise function.
- a crash log is generated based on the captured abnormal signal.
- a crash log can be generated by the Utils.Log method and based on the exception signal captured in step 101.
- the crash log is generated, the crash log is reported, so that the engineer performs abnormal analysis and resolution based on the crash log.
- abnormal signal processing method in the embodiment of the present invention may be specifically implemented by an abnormal signal processing device, which may be an intelligent terminal (eg, a smart phone, a tablet computer, etc.), specifically, the The abnormal signal processing device can be equipped with an iOS operating system, an Andorid operating system, or other intelligent terminal operating under the operating system of an imix system (or an imix-like system).
- an abnormal signal processing device which may be an intelligent terminal (eg, a smart phone, a tablet computer, etc.)
- the abnormal signal processing device can be equipped with an iOS operating system, an Andorid operating system, or other intelligent terminal operating under the operating system of an imix system (or an imix-like system).
- the present invention records the position information of the currently captured abnormal signal after capturing the abnormal signal, and then triggers the abnormal signal again according to the position information of the recorded abnormal signal, without affecting other people to the abnormality.
- the capture of the signal allows the captured anomaly signal to be captured again.
- the above-mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
- an embodiment of the present invention provides an abnormal signal processing apparatus.
- the abnormal signal processing apparatus 200 in the embodiment of the present invention includes:
- the capturing unit 201 is configured to capture an abnormal signal
- the recording unit 202 is configured to: when the capturing unit 201 captures the abnormal signal, record the position information of the currently captured abnormal signal;
- the activation unit 203 is configured to re-initiate the abnormal signal according to the location information of the abnormal signal recorded by the recording unit 202.
- the capturing unit 201 is specifically configured to: enter an abnormal signal by using a signal function or a sigaction function.
- the recording unit 202 is specifically configured to: when the capturing unit 201 captures an abnormal signal captured by the signal function or the sigactio n function, record the position information of the currently captured abnormal signal.
- the activation unit 203 is specifically configured to: invoke the raise function to trigger the abnormal signal according to the location information of the abnormal signal recorded by the recording unit 202.
- the abnormal signal processing apparatus in the embodiment of the present invention further includes:
- a generating unit configured to generate a crash log by using a Utils.Log method and based on the abnormal signal captured by the capturing unit.
- the abnormal signal processing apparatus in the embodiment of the present invention further includes:
- the reporting unit is configured to report the foregoing crash log generated by the generating unit.
- the abnormal signal processing device in the embodiment of the present invention may be an intelligent terminal (such as a smart phone, a tablet computer, etc.).
- the abnormal signal processing device may be equipped with an iOS operating system, an Andorid operating system, or The other underlying operating system is a smart terminal for the operating system of the Unix system (or Unix-like system).
- the present invention captures the abnormal signal ⁇ , records the position information of the currently captured abnormal signal, and then triggers the abnormal signal again according to the position information of the recorded abnormal signal, without affecting other people to the abnormality.
- the capture of the signal allows the captured anomaly signal to be captured again.
- the above capturing unit 201, the recording unit 202, the activation unit 203, and the like may be embedded in or independent of the abnormal signal processing device in hardware, or may be stored in software.
- the processor is called to perform the operations corresponding to the above respective modules.
- the processor can be a central processing unit (CPU), a microprocessor, a microcontroller, or the like.
- FIG. 3 is a schematic block diagram of a terminal provided by a fifth embodiment of the present invention.
- the terminal as shown in FIG. 3 may include: one or more processors 301 (only one shown in the figure); memory 302.
- the above processor 301 and memory 302 are connected by a bus 305.
- Save The memory 302 is used to store instructions, and the processor 301 is used to execute instructions stored in the memory 302.
- the processor 301 is configured to: capture an abnormal signal; when an abnormal signal is captured, record the position information of the currently captured abnormal signal; and re-arrange the position information according to the recorded abnormal signal Send the abnormal signal.
- the capturing the abnormal signal is specifically: capturing an abnormal signal by using a signal function or a sigaction function; and when the abnormal signal is captured, storing the location information of the currently captured abnormal signal is: When the abnormal signal ⁇ is captured by the signal function or the sigaction function, the position information of the currently captured abnormal signal is recorded.
- the abnormality signal is re-initiated according to the recorded location information of the abnormal signal, specifically: calling the raise function to trigger the abnormal signal according to the recorded location information of the abnormal signal.
- the processor 301 is further configured to: after the abnormal signal is captured, generate a crash log by using the Utils.Log method and based on the abnormal signal.
- the processor 301 is further configured to: report the crash log after the abnormal signal is recorded in the crash log by using the Utils.Log method.
- processor 301 may be a central processing unit (CPU) and/or a graphics processing unit (GPU), or may be based thereon. Combined with other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate Arrays (FPGAs), or other programmable logic devices , discrete gates or transistor logic devices, discrete hardware components, etc.
- CPU central processing unit
- GPU graphics processing unit
- DSPs Digital Signal Processors
- ASICs Application Specific Integrated Circuits
- FPGAs Field-Programmable Gate Arrays
- programmable logic devices discrete gates or transistor logic devices, discrete hardware components, etc.
- processor 301 and the memory 302 described in the embodiment of the present invention may be implemented in the method embodiment of the method for processing the abnormal signal according to the embodiment of the present invention, and details are not described herein.
- the terminal may further include one or more input devices 303 (only one shown in the figure), one or more outputs.
- Device 304 (only one shown) is used to effect interaction of the terminal with the user via input device 303 and output device 304.
- the input device 303 and the output device 304 can be connected to the processor 301 and the memory 302 via the bus 305.
- the input device 303 may include a touchpad, a fingerprint sensor (for collecting fingerprint information of the user and direction information of the fingerprint), a microphone, and a communication module (such as a Wi-Fi module, a 2G/3G/4G network module) ), physical buttons, etc.
- the output device 304 can include a display (LCD or the like), a speaker, and the like.
- the display can be used to display information input by the user or information provided to the user, and the like.
- the display may include a display panel.
- the display panel may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
- the touchpad may be overlaid on the display. When the touchpad detects a touch operation on or near the touchpad, the touchpad transmits to the processor 301 to determine the type of the touch event, and then the processor 301 according to the touch event. The type provides the corresponding visual output on the display.
- the present invention further provides a storage medium, which may be a computer readable storage medium included in the memory in the above embodiment; or may be a computer readable storage that is separately present and not assembled in the terminal. medium.
- the storage medium may be a non-transitory computer readable storage medium.
- the above storage medium stores one or more programs, and the one or more programs can be executed by one or more processors for:
- the abnormal signal is re-initiated according to the recorded position information of the abnormal signal.
- the capturing the abnormal signal is specifically: capturing an abnormal signal by using a signal function or a sigaction function;
- the location information of the currently captured abnormal signal is stored, specifically: when the abnormal signal is captured by the signal function or the sigaction function, the location of the currently captured abnormal signal is recorded. information.
- the abnormality signal is re-initiated according to the recorded location information of the abnormal signal, specifically: calling the raise function to trigger the abnormality signal according to the recorded location information of the abnormal signal.
- the one or more programs may be executed by the one or more processors for: [0123] A crash log is generated by the Utils.Log method and based on the abnormality signal.
- the one or more programs may be executed by the one or more processors for : Report the crash log.
- the disclosed apparatus and method may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the above units is only a logical function division, and the actual implementation may have another division manner, for example, multiple units or components may be combined or may be Integration into another system, or some features can be ignored, or not executed.
- 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 electrical, mechanical or otherwise.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Debugging And Monitoring (AREA)
Abstract
一种异常信号处理方法、异常信号处理装置、存储介质及终端,其中,上述异常信号处理方法包括:对异常信号进行捕获(101);当捕获到异常信号时,记录当前捕获到的所述异常信号的位置信息(102);根据记录的所述异常信号的位置信息再次引发所述异常信号(103);上述方法、装置、介质及终端能够使得已被捕获的异常信号能够被再次捕获。
Description
技术领域
[0001] 本发明涉及终端技术领域, 具体涉及一种异常信号处理方法、 异常信号处理装 置、 存储介质及终端。
背景技术
[0002] 客户端在运行过程中, 可能会因为各种原因而发生崩溃, 解决崩溃问题是移动 应用幵发者日常的工作之一。
[0003] 目前, 操作系统中引发客户端崩溃的代码本质上有两类, 一类是 C++语言层面 的异常, 比如野指针、 除零、 内存访问异常等系统底层异常; 另一类是未捕获 异常, 比如 iOS操作系统中最常见的 objective-c的 NSException。
[0004] 对于上述第一类异常, 可通过信号机制来捕获, 即任何系统异常都会抛出一个 异常信号, 通过设定的 signal函数对异常信号进行捕获。 然而, 该 signal函数在捕 获到异常信号后会"吃掉"该异常信号, 这使得其它有捕获该异常信号需求的工程 师就无法捕获该异常信号了。
技术问题
[0005] 本发明提供一种异常信号处理方法、 异常信号处理装置、 存储介质及终端, 使 得已被捕获的异常信号能够被再次捕获。
问题的解决方案
技术解决方案
[0006] 本发明一方面提供一种异常信号处理方法, 包括:
[0007] 对异常信号进行捕获;
[0008] 当捕获到异常信号吋, 记录当前捕获到的上述异常信号的位置信息;
[0009] 根据记录的上述异常信号的位置信息再次引发上述异常信号。
[0010] 基于上述第一方面, 在第一种可能的实现方式中, 上述对异常信号进行捕获具
体为: 通过 signal函数或 sigaction函数对异常信号进行捕获;
[0011] 上述当捕获到异常信号吋, 存储当前捕获到的异常信号的位置信息, 具体为: 当通过 signal函数或 sigaction函数捕获到异常信号吋, 记录当前捕获到的上述异 常信号的位置信息。
[0012] 基于上述第一方面, 或者上述第一方面的第一种可能的实现方式, 在第二种可 能的实现方式中, 上述根据记录的上述异常信号的位置信息再次引发上述异常 信号, 具体为:
[0013] 根据记录的上述异常信号的位置信息, 调用 raise函数引发上述异常信号。
[0014] 基于上述第一方面, 或者上述第一方面的第一种可能的实现方式, 在第三种可 能的实现方式中, 当捕获到异常信号之后, 上述方法还包括:
[0015] 通过 Utils.Log方法并基于上述异常信号生成崩溃日志。
[0016] 基于本发明第一方面的第三种可能的实现方式, 在第四种可能的实现方式中, 上述通过 Utils.Log方法将上述异常信号记录到崩溃日志中, 之后还包括:
[0017] 上报上述崩溃日志。
[0018] 本发明第二方面提供一种异常信号处理装置, 包括:
[0019] 捕获单元, 用于对异常信号进行捕获;
[0020] 记录单元, 用于当上述捕获单元捕获到异常信号吋, 记录当前捕获到的上述异 常信号的位置信息;
[0021] 激活单元, 用于根据上述记录单元记录的上述异常信号的位置信息再次引发上 述异常信号。
[0022] 基于本发明第二方面, 在第一种可能的实现方式中, 上述捕获单元具体用于: 通过 signal函数或 sigaction函数对异常信号进行捕获;
[0023] 上述记录单元具体用于: 当上述捕获单元捕获到通过 signal函数或 sigaction函数 捕获到异常信号吋, 记录当前捕获到的上述异常信号的位置信息。
[0024] 基于本发明第二方面, 或者本发明第二方面的第一种可能的实现方式, 在第二 种可能的实现方式中, 上述激活单元具体用于: 根据上述记录单元记录的上述 异常信号的位置信息, 调用 raise函数引发上述异常信号。
[0025] 基于本发明第二方面, 或者本发明第二方面的第一种可能的实现方式, 在第三
种可能的实现方式中, 上述异常信号处理装置还包括:
[0026] 生成单元, 用于通过 Utils.Log方法并基于上述捕获单元捕获到的异常信号生成 崩溃日志。
[0027] 基于本发明第二方面的第三种可能的实现方式, 在第四种可能的实现方式中, 上述异常信号处理装置还包括:
[0028] 上报单元, 用于上报上述生成单元生成的上述崩溃日志。
[0029] 本发明第三方面提供一种存储介质, 所述存储介质存储有一个或者一个以上程 序, 所述一个或者一个以上程序可被一个或者一个以上的处理器执行以用于:
[0030] 对异常信号进行捕获;
[0031] 当捕获到异常信号吋, 记录当前捕获到的上述异常信号的位置信息;
[0032] 根据记录的上述异常信号的位置信息再次引发上述异常信号。
[0033] 基于上述第三方面, 在第一种可能的实现方式中, 上述对异常信号进行捕获为
: 通过 signal函数或 sigaction函数对异常信号进行捕获;
[0034] 上述当捕获到异常信号吋, 存储当前捕获到的异常信号的位置信息为: 当通过 signal函数或 sigaction函数捕获到异常信号吋, 记录当前捕获到的上述异常信号 的位置信息。
[0035] 基于上述第三方面, 或者上述第三方面的第一种可能的实现方式, 在第二种可 能的实现方式中, 上述根据记录的上述异常信号的位置信息再次引发上述异常 信号为:
[0036] 根据记录的上述异常信号的位置信息, 调用 raise函数引发上述异常信号。
[0037] 基于上述第三方面, 或者上述第三方面的第一种可能的实现方式, 在第三种可 能的实现方式中, 当捕获到异常信号之后, 所述一个或者一个以上程序还可被 所述一个或者一个以上的处理器执行以用于:
[0038] 通过 Utils.Log方法并基于上述异常信号生成崩溃日志。
[0039] 基于本发明第三方面的第三种可能的实现方式, 在第四种可能的实现方式中, 上述通过 Utils.Log方法将上述异常信号记录到崩溃日志中, 所述一个或者一个以 上程序还可被所述一个或者一个以上的处理器执行以用于:
[0040] 上报上述崩溃日志。
[0041] 本发明第四方面提供一种终端, 所述终端包括: 至少一个处理器以及存储器;
[0042] 所述存储器用于存储指令, 所述处理器用于执行所述存储器存储的指令; 其中 , 所述处理器用于: 对异常信号进行捕获; 当捕获到异常信号吋, 记录当前捕 获到的所述异常信号的位置信息; 根据记录的所述异常信号的位置信息再次弓 I 发所述异常信号。
[0043] 基于上述第四方面, 在第一种可能的实现方式中, 上述对异常信号进行捕获为
: 通过 signal函数或 sigaction函数对异常信号进行捕获;
[0044] 上述当捕获到异常信号吋, 存储当前捕获到的异常信号的位置信息为: 当通过 signal函数或 sigaction函数捕获到异常信号吋, 记录当前捕获到的上述异常信号 的位置信息。
[0045] 基于上述第四方面, 或者上述第四方面的第一种可能的实现方式, 在第二种可 能的实现方式中, 上述根据记录的上述异常信号的位置信息再次引发上述异常 信号为: 根据记录的上述异常信号的位置信息, 调用 raise函数引发上述异常信号
[0046] 基于上述第四方面, 或者上述第四方面的第一种可能的实现方式, 在第三种可 能的实现方式中, 上述处理器还用于: 当捕获到异常信号之后, 通过 Utils.Log方 法并基于上述异常信号生成崩溃日志。
[0047] 基于本发明第四方面的第三种可能的实现方式, 在第四种可能的实现方式中, 处理器 301还用于: 在所述通过 Utils.Log方法将所述异常信号记录到崩溃日志中 之后, 上报所述崩溃日志。
发明的有益效果
有益效果
[0048] 由上可见, 本发明在捕获到异常信号吋, 记录当前捕获到的异常信号的位置信 息, 之后根据记录的异常信号的位置信息再次引发该异常信号, 从而不影响其 他人对该异常信号的捕获, 使得已被捕获的异常信号能够被再次捕获。
对附图的简要说明
附图说明
[0049] 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实施例或
现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的 附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创 造性劳动性的前提下, 还可以根据这些附图获得其他的附图。
[0050] 图 1为本发明提供的一种异常信号处理方法一个实施例流程示意图;
[0051] 图 2为本发明提供的一种异常信号处理装置一个实施例结构示意图;
[0052] 图 3为本发明提供的一种终端一个实施例结构示意图;
[0053] 图 4为本发明提供的一种终端另一个实施例结构示意图。
本发明的实施方式
[0054] 为使得本发明的发明目的、 特征、 优点能够更加的明显和易懂, 下面将结合本 发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而非全部实施例。 基于本 发明中的实施例, 本领域普通技术人员在没有做出创造性劳动前提下所获得的 所有其他实施例, 都属于本发明保护的范围。
[0055] 实施例一
[0056] 本发明实施例提供一种异常信号处理方法, 请参阅图 1, 本发明实施例中的异 常信号处理方法, 包括:
[0057] 步骤 101、 对异常信号进行捕获;
[0058] 本发明实施例中提及的异常信号主要是指野指针、 除零、 内存访问异常等系统 底层的异常信号。
[0059] 可选的, 通过 signal函数或 sigaction函数对异常信号进行捕获。 下面分别对通过 signal函数或 sigaction函数进行说明:
[0060] 1、 对于 signal函数, 在<81§^1.1 >这个头文件中, 其函数格式如下:
[0061] signal (参数 1, 参数 2) ;
[0062] 其中, 参数 1表示待处理的信号, 参数 2表示处理的方式 (例如系统默认操作、 忽略还是捕获) 。
在本发明实施例中, 通过将上述参数 1设置为待捕获的异常信号 (例如系统底 层的异常信号) , 将参数 2设置为捕获, 以此实现通过 signal函数对异常信号进行
捕获。
[0064] 2、 sigaction函数的接口头文件及原型如下:
[0065] #include <signal.h>
[0066] int sigaction(int signum, const struct sigaction *act, struct sigaction *oldact);
[0067] 其中, signum表示待处理的信号; act表示对待处理的信号的新处理方式; oldact表示对待处理的信号的原处理方式。
[0068] 在本发明实施例中, 通过将 signum设置为待捕获的异常信号 (例如系统底层的 异常信号) , 将 act设置为捕获, 即可实现通过 sigaction函数对异常信号进行捕获
[0069] 当然, 本发明实施例中也可以通过其它方式对异常信号进行捕获, 此处不作限 定。
[0070] 步骤 102、 当捕获到异常信号吋, 记录当前捕获到的上述异常信号的位置信息
[0071] 本发明实施例中, 当步骤 101捕获到异常信号吋, 记录当前捕获到的上述异常 信号的位置信息。 由于此吋异常信号多是位于内存中, 因此, 当捕获到异常信 号吋, 上述记录当前捕获到的上述异常信号的位置信息实质上是为记录当前捕 获到的上述异常信号在内存中的位置信息。
[0072] 可选的, 只在通过 signal函数或 sigaction函数捕获到异常信号吋, 才记录当前捕 获到的上述异常信号的位置信息。 则步骤 102具体表现为: 当通过 signal函数或 si gaction函数捕获到异常信号吋, 记录当前捕获到的上述异常信号的位置信息。
[0073] 步骤 103、 根据记录的上述异常信号的位置信息再次弓 I发上述异常信号;
[0074] 本发明实施例中, 根据步骤 102记录的上述异常信号的位置信息激活上述异常 信息, 以便再次引发上述异常信号。
[0075] 具体地, 可以根据记录的上述异常信号的位置信息, 调用 raise函数引发步骤 10 2记录的异常信号。 下面对 raise函数进行说明:
[0076] raise函数所需头文件:
[0077] #include<signal.h>
[0078] #include<sys/types.h>
[0079] 函数原型
[0080] Int raise(int sig)
[0081] 其中, sig表示待发送的信号, 本发明实施例中, 通过将 sig设置为捕获到的异 常信号, 即可实现通过 raise函数再次引发捕获到的异常信号。
[0082] 进一步, 当捕获到异常信号之后, 基于捕获到的异常信号生成崩溃日志。 具体 地, 可通过 Utils.Log方法并基于步骤 101捕获到的异常信号生成崩溃日志。
[0083] 进一步, 在生成崩溃日志之后, 上报该崩溃日志, 以便工程人员基于该崩溃日 志进行异常的分析和解决。
[0084] 需要说明的是, 本发明实施例中的异常信号处理方法具体可以由异常信号处理 装置实现, 该异常信号处理装置可以为智能终端 (例如智能手机、 平板电脑等 ) , 具体地, 该异常信号处理装置可以搭载 iOS操作系统、 Andorid操作系统或其 它底层为 imix系统 (或类 imix系统) 的操作系统的智能终端中。
[0085] 由上可见, 本发明在捕获到异常信号吋, 记录当前捕获到的异常信号的位置信 息, 之后根据记录的异常信号的位置信息再次引发该异常信号, 从而不影响其 他人对该异常信号的捕获, 使得已被捕获的异常信号能够被再次捕获。
[0086] 需要说明的是, 本领域普通技术人员可以理解实现上述实施例的全部或部分步 骤可以通过硬件来完成, 也可以通过程序来指令相关的硬件完成, 所述的程序 可以存储于一种计算机可读存储介质中, 上述提到的存储介质可以是只读存储 器, 磁盘或光盘等。
[0087] 实施例二
[0088] 本发明实施例提供一种异常信号处理装置。 请参阅图 2, 本发明实施例中的异 常信号处理装置 200, 包括:
[0089] 捕获单元 201, 用于对异常信号进行捕获;
[0090] 记录单元 202, 用于当捕获单元 201捕获到异常信号吋, 记录当前捕获到的上述 异常信号的位置信息;
[0091] 激活单元 203, 用于根据记录单元 202记录的上述异常信号的位置信息再次引发 上述异常信号。
[0092] 可选的, 捕获单元 201具体用于: 通过 signal函数或 sigaction函数对异常信号进
行捕获; 记录单元 202具体用于: 当捕获单元 201捕获到通过 signal函数或 sigactio n函数捕获到异常信号吋, 记录当前捕获到的上述异常信号的位置信息。
[0093] 可选的, 激活单元 203具体用于: 根据记录单元 202记录的上述异常信号的位置 信息, 调用 raise函数引发上述异常信号。
[0094] 可选的, 本发明实施例中的异常信号处理装置还包括:
[0095] 生成单元, 用于通过 Utils.Log方法并基于上述捕获单元捕获到的异常信号生成 崩溃日志。
[0096] 进一步, 本发明实施例中的异常信号处理装置还包括:
[0097] 上报单元, 用于上报上述生成单元生成的上述崩溃日志。
[0098] 需要说明的是, 本发明实施例中的异常信号处理装置可以为智能终端 (例如智 能手机、 平板电脑等) , 具体地, 该异常信号处理装置可以搭载 iOS操作系统、 Andorid操作系统或其它底层为 unix系统 (或类 unix系统) 的操作系统的智能终端 中。
[0099] 应理解, 本发明实施例中的异常信号处理装置的各个功能模块的功能可以根据 上述方法实施例中的方法具体实现, 其具体实现过程可参照上述方法实施例中 的相关描述, 此处不再赘述。
[0100] 由上可见, 本发明在捕获到异常信号吋, 记录当前捕获到的异常信号的位置信 息, 之后根据记录的异常信号的位置信息再次引发该异常信号, 从而不影响其 他人对该异常信号的捕获, 使得已被捕获的异常信号能够被再次捕获。
[0101] 需要说明的是, 在硬件实现上, 以上捕获单元 201, 记录单元 202, 激活单元 20 3等可以以硬件形式内嵌于或独立于异常信号处理装置中, 也可以以软件形式存 储于异常信号处理装置的存储器中, 以便于处理器调用执行以上各个模块对应 的操作。 该处理器可以为中央处理单元 (CPU) 、 微处理器、 单片机等。
[0102] 实施例三
[0103] 为了便于更好地实施本发明实施例中的上述方法实施例, 本发明还提供了用于 配合实施执行上述方法实施例的相关终端。 图 3给出本发明第五实施例提供的终 端的示意性框图。 如图 3所示的该终端可以包括: 一个或多个处理器 301 (图中 仅示出一个) ; 存储器 302。 上述处理器 301和存储器 302通过总线 305连接。 存
储器 302用于存储指令, 处理器 301用于执行存储器 302存储的指令。 其中: [0104] 处理器 301用于: 对异常信号进行捕获; 当捕获到异常信号吋, 记录当前捕获 到的所述异常信号的位置信息; 根据记录的所述异常信号的位置信息再次弓 I发 所述异常信号。
[0105] 可选的, 所述对异常信号进行捕获具体为: 通过 signal函数或 sigaction函数对异 常信号进行捕获; 所述当捕获到异常信号吋, 存储当前捕获到的异常信号的位 置信息为: 当通过 signal函数或 sigaction函数捕获到异常信号吋, 记录当前捕获 到的所述异常信号的位置信息。
[0106] 可选的, 所述根据记录的所述异常信号的位置信息再次引发所述异常信号, 具 体为: 根据记录的所述异常信号的位置信息, 调用 raise函数引发所述异常信号。
[0107] 可选的, 处理器 301还用于: 当捕获到异常信号之后, 通过 Utils.Log方法并基 于所述异常信号生成崩溃日志。
[0108] 可选的, 处理器 301还用于: 在所述通过 Utils.Log方法将所述异常信号记录到 崩溃日志中之后, 上报所述崩溃日志。
[0109] 应当理解, 在本发明实施例中, 所称处理器 301可以是中央处理单元 (Central Processing Unit, CPU)和 /或图形处理器 (Graphic Processing Unit, GPU) , 也 可以在此基础上结合其他通用处理器、 数字信号处理器(Digital Signal Processor , DSP)、 专用集成电路(Application Specific Integrated Circuit, ASIC)、 现成可编 程门阵列(Field-Programmable Gate Array , FPGA)或者其他可编程逻辑器件、 分 立门或者晶体管逻辑器件、 分立硬件组件等。
[0110] 具体实现中, 本发明实施例中所描述的处理器 301和存储器 302可执行本发明实 施例提供的异常信号处理方法的方法实施例中所描述的实现方式, 在此不再赘 述。
[0111] 可选的, 在图 3所示实施例的基础上, 如图 4所示, 该终端还可以包括一个或多 个输入设备 303 (图中仅示出一个) , 一个或多个输出设备 304 (图中仅示出一 个) , 以便通过输入设备 303和输出设备 304实现该终端与用户的交互。 如图 4所 示, 上述输入设备 303、 输出设备 304可通过总线 305与处理器 301、 存储器 302连 接。
[0112] 其中, 输入设备 303可以包括触控板、 指纹采传感器 (用于采集用户的指纹信 息和指纹的方向信息) 、 麦克风、 通信模块 (比如 Wi-Fi模块、 2G/3G/4G网络模 块) 、 物理按键等。
[0113] 输出设备 304可以包括显示器 (LCD等) 、 扬声器等。 其中, 显示器可用于显 示由用户输入的信息或提供给用户的信息等。 显示器可包括显示面板, 可选的 , 可以采用液晶显示器 (Liquid Crystal Display , LCD)、 有机发光二极管 (Organic Light-Emitting Diode, OLED)等形式来配置显示面板。 进一步的, 上述触控板可 覆盖在显示器上, 当触控板检测到在其上或附近的触摸操作后, 传送给处理器 3 01以确定触摸事件的类型, 随后处理器 301根据触摸事件的类型在显示器上提供 相应的视觉输出。
[0114] 实施例四
[0115] 本发明还提供了一种存储介质, 该存储介质可以是上述实施例中的存储器中所 包含的计算机可读存储介质; 也可以是单独存在, 未装配入终端中的计算机可 读存储介质。 具体地, 该存储介质可以为非暂态计算机可读存储介质。 上述存 储介质存储有一个或者一个以上程序, 所述一个或者一个以上程序可被一个或 者一个以上的处理器执行以用于:
[0116] 对异常信号进行捕获;
[0117] 当捕获到异常信号吋, 记录当前捕获到的所述异常信号的位置信息;
[0118] 根据记录的所述异常信号的位置信息再次引发所述异常信号。
[0119] 可选的, 所述对异常信号进行捕获具体为: 通过 signal函数或 sigaction函数对异 常信号进行捕获;
[0120] 所述当捕获到异常信号吋, 存储当前捕获到的异常信号的位置信息, 具体为: 当通过 signal函数或 sigaction函数捕获到异常信号吋, 记录当前捕获到的所述异 常信号的位置信息。
[0121] 可选的, 所述根据记录的所述异常信号的位置信息再次引发所述异常信号, 具 体为: 根据记录的所述异常信号的位置信息, 调用 raise函数引发所述异常信号。
[0122] 可选的, 当捕获到异常信号之后, 所述一个或者一个以上程序还可被所述一个 或者一个以上的处理器执行以用于:
[0123] 通过 Utils.Log方法并基于所述异常信号生成崩溃日志。
[0124] 可选的, 在所述通过 Utils.Log方法将所述异常信号记录到崩溃日志中之后, 所 述一个或者一个以上程序还可被所述一个或者一个以上的处理器执行以用于: 上报所述崩溃日志。
[0125] 需要说明的是, 在本申请所提供的几个实施例中, 应该理解到, 所揭露的装置 和方法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示 意性的, 例如, 上述单元的划分, 仅仅为一种逻辑功能划分, 实际实现吋可以 有另外的划分方式, 例如多个单元或组件可以结合或者可以集成到另一个系统 , 或一些特征可以忽略, 或不执行。 另一点, 所显示或讨论的相互之间的耦合 或直接耦合或通信连接可以是通过一些接口, 装置或单元的间接耦合或通信连 接, 可以是电性, 机械或其它的形式。
[0126] 对于前述的各方法实施例, 为了简便描述, 故将其都表述为一系列的动作组合 , 但是本领域技术人员应该知悉, 本发明并不受所描述的动作顺序的限制, 因 为依据本发明, 某些步骤可以采用其它顺序或者同吋进行。 其次, 本领域技术 人员也应该知悉, 说明书中所描述的实施例均属于优选实施例, 所涉及的动作 和模块并不一定都是本发明所必须的。
[0127] 在上述实施例中, 对各个实施例的描述都各有侧重, 某个实施例中没有详述的 部分, 可以参见其它实施例的相关描述。
[0128] 以上为对本发明所提供的一种异常信号处理方法、 异常信号处理装置、 存储介 质及终端的描述, 对于本领域的一般技术人员, 依据本发明实施例的思想, 在 具体实施方式及应用范围上均会有改变之处, 综上, 本说明书内容不应理解为 对本发明的限制。
Claims
[权利要求 1] 一种异常信号处理方法, 其特征在于, 包括:
对异常信号进行捕获;
当捕获到异常信号吋, 记录当前捕获到的所述异常信号的位置信息; 根据记录的所述异常信号的位置信息再次引发所述异常信号。
[权利要求 2] 根据权利要求 1所述的方法, 其特征在于, 所述对异常信号进行捕获 为: 通过 signal函数或 sigaction函数对异常信号进行捕获;
所述当捕获到异常信号吋, 存储当前捕获到的异常信号的位置信息为 : 当通过 signal函数或 sigaction函数捕获到异常信号吋, 记录当前捕获 到的所述异常信号的位置信息。
[权利要求 3] 根据权利要求 1或 2所述的方法, 其特征在于, 所述根据记录的所述异 常信号的位置信息再次弓 I发所述异常信号为:
根据记录的所述异常信号的位置信息, 调用 raise函数弓 |发所述异常信 号。
[权利要求 4] 根据权利要求 1或 2所述的方法, 其特征在于, 当捕获到异常信号之后
, 所述方法还包括:
通过 Utils.Log方法并基于所述异常信号生成崩溃日志。
[权利要求 5] 根据权利要求 4所述的方法, 其特征在于, 所述通过 Utils.Log方法将 所述异常信号记录到崩溃日志中, 之后还包括: 上报所述崩溃日志。
[权利要求 6] —种异常信号处理装置, 其特征在于, 包括:
捕获单元, 用于对异常信号进行捕获;
记录单元, 用于当所述捕获单元捕获到异常信号吋, 记录当前捕获到 的所述异常信号的位置信息;
激活单元, 用于根据所述记录单元记录的所述异常信号的位置信息再 次引发所述异常信号。
[权利要求 7] 根据权利要求 6所述的异常信号处理装置, 其特征在于,
所述捕获单元用于: 通过 signal函数或 sigaction函数对异常信号进行捕
获;
所述记录单元用于: 当所述捕获单元捕获到通过 signal函数或 sigaction 函数捕获到异常信号吋, 记录当前捕获到的所述异常信号的位置信息 根据权利要求 6或 7所述的异常信号处理装置, 其特征在于, 所述激活单元用于: 根据所述记录单元记录的所述异常信号的位置信 息, 调用 raise函数引发所述异常信号。
根据权利要求 6或 7所述的异常信号处理装置, 其特征在于, 所述异常 信号处理装置还包括:
生成单元, 用于通过 Utils.Log方法并基于所述捕获单元捕获到的异常 信号生成崩溃日志。
根据权利要求 9所述的异常信号处理装置, 其特征在于, 所述异常信 号处理装置还包括:
上报单元, 用于上报所述生成单元生成的所述崩溃日志。
一种存储介质, 其特征在于, 所述存储介质存储有一个或者一个以上 程序, 所述一个或者一个以上程序可被一个或者一个以上的处理器执 行以用于:
对异常信号进行捕获;
当捕获到异常信号吋, 记录当前捕获到的所述异常信号的位置信息; 根据记录的所述异常信号的位置信息再次引发所述异常信号。
根据权利要求 11所述的存储介质, 其特征在于, 所述对异常信号进行 捕获为: 通过 signal函数或 sigaction函数对异常信号进行捕获; 所述当捕获到异常信号吋, 存储当前捕获到的异常信号的位置信息为 : 当通过 signal函数或 sigaction函数捕获到异常信号吋, 记录当前捕获 到的所述异常信号的位置信息。
根据权利要求 11或 12所述的存储介质, 其特征在于, 所述根据记录的 所述异常信号的位置信息再次弓 I发所述异常信号为:
根据记录的所述异常信号的位置信息, 调用 raise函数弓 |发所述异常信
号。
根据权利要求 11或 12所述的存储介质, 其特征在于, 当捕获到异常信 号之后, 所述一个或者一个以上程序还可被所述一个或者一个以上的 处理器执行以用于:
通过 Utils.Log方法并基于所述异常信号生成崩溃日志。 .
根据权利要求 14所述的存储介质, 其特征在于, 所述通过 Utils.Log方 法将所述异常信号记录到崩溃日志中之后, 所述一个或者一个以上程 序还可被所述一个或者一个以上的处理器执行以用于:
上报所述崩溃日志。
一种终端, 其特征在于, 所述终端包括至少一个处理器以及存储器; 所述存储器用于存储指令, 所述处理器用于执行所述存储器存储的指 令以实现以下操作:
对异常信号进行捕获;
当捕获到异常信号吋, 记录当前捕获到的所述异常信号的位置信息; 根据记录的所述异常信号的位置信息再次引发所述异常信号。
根据权利要求 16所述的终端, 其特征在于, 所述对异常信号进行捕获 为: 通过 signal函数或 sigaction函数对异常信号进行捕获;
所述当捕获到异常信号吋, 存储当前捕获到的异常信号的位置信息为 : 当通过 signal函数或 sigaction函数捕获到异常信号吋, 记录当前捕获 到的所述异常信号的位置信息。
根据权利要求 16或 17所述的终端, 其特征在于, 所述根据记录的所述 异常信号的位置信息再次弓 I发所述异常信号为:
根据记录的所述异常信号的位置信息, 调用 raise函数弓 |发所述异常信 号。
根据权利要求 16或 17所述的终端, 其特征在于, 所述处理器还用于执 行所述存储器存储的指令以实现以下操作: 当捕获到异常信号之后, 通过 Utils.Log方法并基于所述异常信号生成崩溃日志。
根据权利要求 19所述的终端, 其特征在于, 所述处理器还用于执行所
述存储器存储的指令以实现以下操作: 在所述通过 Utils.Log方法将所 述异常信号记录到崩溃日志中之后, 上报所述崩溃日志。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610576606.9A CN106407103A (zh) | 2016-07-20 | 2016-07-20 | 异常信号处理方法及装置 |
| CN201610576606.9 | 2016-07-20 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018014544A1 true WO2018014544A1 (zh) | 2018-01-25 |
Family
ID=58004146
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/073463 Ceased WO2018014544A1 (zh) | 2016-07-20 | 2017-02-14 | 异常信号处理方法、异常信号处理装置、存储介质及终端 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106407103A (zh) |
| WO (1) | WO2018014544A1 (zh) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP0924606A2 (en) * | 1997-12-18 | 1999-06-23 | Sun Microsystems, Inc. | Method and apparatus for deferred throwing of exceptions in C++ |
| US20040078560A1 (en) * | 2002-01-04 | 2004-04-22 | Ali-Reza Adl-Tabatabai | Method for fast exception handling |
| CN1492320A (zh) * | 2002-10-25 | 2004-04-28 | 华为技术有限公司 | Windows程序异常捕获及定位方法 |
| CN101060686A (zh) * | 2007-06-15 | 2007-10-24 | 中兴通讯股份有限公司 | 一种移动终端中异常诊断和错误环境再现的方法及装置 |
| CN102184138A (zh) * | 2011-05-19 | 2011-09-14 | 广东威创视讯科技股份有限公司 | 一种软件错误自动重现和定位的方法及系统 |
| CN104461876A (zh) * | 2014-11-26 | 2015-03-25 | 北京航空航天大学 | 一种基于运行快照序列的并行程序重现调试方法 |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008065436A (ja) * | 2006-09-05 | 2008-03-21 | Nec Corp | 携帯型情報端末機器の不具合改修システム、およびそれに用いる携帯型情報端末機器、方法、プログラム |
| CN105653432B (zh) * | 2015-12-22 | 2019-02-15 | 北京奇虎科技有限公司 | 一种崩溃数据的处理方法和装置 |
| CN105677550A (zh) * | 2015-12-29 | 2016-06-15 | 广州华多网络科技有限公司 | 一种基于Linux系统的性能采集分析的方法、装置及系统 |
| CN105700973A (zh) * | 2016-01-14 | 2016-06-22 | 汉柏科技有限公司 | 一种命令行cli故障重启方法及装置 |
| CN105824754B (zh) * | 2016-03-17 | 2018-11-13 | 广州多益网络股份有限公司 | 客户端程序的Python异常捕获和上传的方法 |
-
2016
- 2016-07-20 CN CN201610576606.9A patent/CN106407103A/zh active Pending
-
2017
- 2017-02-14 WO PCT/CN2017/073463 patent/WO2018014544A1/zh not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP0924606A2 (en) * | 1997-12-18 | 1999-06-23 | Sun Microsystems, Inc. | Method and apparatus for deferred throwing of exceptions in C++ |
| US20040078560A1 (en) * | 2002-01-04 | 2004-04-22 | Ali-Reza Adl-Tabatabai | Method for fast exception handling |
| CN1492320A (zh) * | 2002-10-25 | 2004-04-28 | 华为技术有限公司 | Windows程序异常捕获及定位方法 |
| CN101060686A (zh) * | 2007-06-15 | 2007-10-24 | 中兴通讯股份有限公司 | 一种移动终端中异常诊断和错误环境再现的方法及装置 |
| CN102184138A (zh) * | 2011-05-19 | 2011-09-14 | 广东威创视讯科技股份有限公司 | 一种软件错误自动重现和定位的方法及系统 |
| CN104461876A (zh) * | 2014-11-26 | 2015-03-25 | 北京航空航天大学 | 一种基于运行快照序列的并行程序重现调试方法 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106407103A (zh) | 2017-02-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111552274B (zh) | 汽车诊断方法、装置、设备、系统和诊断连接设备 | |
| CN101291488B (zh) | 一种在移动终端上截取屏幕的方法 | |
| CN111752793A (zh) | 系统异常的监控方法、装置、计算机设备及存储介质 | |
| CN107273130A (zh) | 加速界面绘制的方法、装置和终端 | |
| CN110858483A (zh) | 智能设备、语音唤醒方法、语音唤醒装置及存储介质 | |
| CN108763060A (zh) | Android系统中Native层崩溃溯源方法、装置、存储介质及终端 | |
| WO2017075965A1 (zh) | 语音信息处理方法及装置 | |
| CN109445954B (zh) | 一种定时任务的执行方法、终端设备及存储介质 | |
| CN103440092A (zh) | 一种返回按键的处理方法、系统及移动终端 | |
| CN108170582A (zh) | 系统状态查询方法及装置、计算机可读存储介质 | |
| CN110888731A (zh) | 路由数据采集方法、装置、设备及存储介质 | |
| CN112579369A (zh) | 多线程刷机系统、方法、装置、设备和存储介质 | |
| WO2015184908A1 (zh) | 一种反向调试方法、装置及调试器 | |
| CN108509228B (zh) | 加载页面的方法、终端设备及计算机可读存储介质 | |
| CN106887228B (zh) | 机器人的语音控制方法、装置及机器人 | |
| CN107402762A (zh) | 指纹导航的实现方法及装置 | |
| CN108710477B (zh) | 显示方法、移动终端及存储介质 | |
| WO2018014544A1 (zh) | 异常信号处理方法、异常信号处理装置、存储介质及终端 | |
| CN106598770B (zh) | Android系统中Native层异常上报处理方法及装置 | |
| CN100517177C (zh) | 一种组合式复位系统处理方法及装置 | |
| CN112287850B (zh) | 物品信息识别方法、装置、电子设备和可读存储介质 | |
| CN106527907B (zh) | 一种针对智能终端的截屏处理方法及装置 | |
| CN112825021B (zh) | 系统响应方法和装置、电子设备、计算机可读存储介质 | |
| CN117555463A (zh) | 一种键值响应方法及装置 | |
| CN116022093A (zh) | 一种前雨刮间歇时间设置系统及方法 |
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: 17830193 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 21.05.2019) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 17830193 Country of ref document: EP Kind code of ref document: A1 |