WO2018014544A1 - Abnormal signal processing method, abnormal signal processing apparatus, storage medium, and terminal - Google Patents

Abnormal signal processing method, abnormal signal processing apparatus, storage medium, and terminal Download PDF

Info

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
Application number
PCT/CN2017/073463
Other languages
French (fr)
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 平安科技(深圳)有限公司
Publication of WO2018014544A1 publication Critical patent/WO2018014544A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3604Software analysis for verifying properties of programs
    • G06F11/3612Software analysis for verifying properties of programs by runtime analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging 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.

Abstract

Disclosed are an abnormal signal processing method, an abnormal signal processing apparatus, a storage medium and a terminal. The abnormal signal processing method comprises: capturing an abnormal signal (101); when the abnormal signal is captured, recording location information about the currently captured abnormal signal (102); and according to the recorded location information about the abnormal signal, re-triggering the abnormal signal (103). By means of the method, the apparatus, the medium and the terminal, a captured abnormal signal can be captured again.

Description

技术领域  Technical field
[0001] 本发明涉及终端技术领域, 具体涉及一种异常信号处理方法、 异常信号处理装 置、 存储介质及终端。  [0001] 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.
背景技术  Background technique
[0002] 客户端在运行过程中, 可能会因为各种原因而发生崩溃, 解决崩溃问题是移动 应用幵发者日常的工作之一。  [0002] During the running process, the client may crash for various reasons. Solving the crash problem is one of the daily tasks of the mobile application sender.
[0003] 目前, 操作系统中引发客户端崩溃的代码本质上有两类, 一类是 C++语言层面 的异常, 比如野指针、 除零、 内存访问异常等系统底层异常; 另一类是未捕获 异常, 比如 iOS操作系统中最常见的 objective-c的 NSException。 [0003] At present, there are two types of code that cause client-side crashes in the operating system. One is 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.
[0004] 对于上述第一类异常, 可通过信号机制来捕获, 即任何系统异常都会抛出一个 异常信号, 通过设定的 signal函数对异常信号进行捕获。 然而, 该 signal函数在捕 获到异常信号后会"吃掉"该异常信号, 这使得其它有捕获该异常信号需求的工程 师就无法捕获该异常信号了。 [0004] For 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. However, 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.
技术问题  technical problem
[0005] 本发明提供一种异常信号处理方法、 异常信号处理装置、 存储介质及终端, 使 得已被捕获的异常信号能够被再次捕获。  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.
问题的解决方案  Problem solution
技术解决方案  Technical solution
[0006] 本发明一方面提供一种异常信号处理方法, 包括: An aspect of the present invention provides an abnormal signal processing method, including:
[0007] 对异常信号进行捕获; [0007] capturing an abnormal signal;
[0008] 当捕获到异常信号吋, 记录当前捕获到的上述异常信号的位置信息;  [0008] when an abnormal signal 捕获 is captured, recording location information of the currently captured abnormal signal;
[0009] 根据记录的上述异常信号的位置信息再次引发上述异常信号。  [0009] The abnormal signal is again caused based on the recorded position information of the abnormal signal.
[0010] 基于上述第一方面, 在第一种可能的实现方式中, 上述对异常信号进行捕获具 体为: 通过 signal函数或 sigaction函数对异常信号进行捕获; [0010] Based on the above first aspect, in a first possible implementation manner, the foregoing capturing an abnormal signal The body is: capturing the abnormal signal by the signal function or the sigaction function;
[0011] 上述当捕获到异常信号吋, 存储当前捕获到的异常信号的位置信息, 具体为: 当通过 signal函数或 sigaction函数捕获到异常信号吋, 记录当前捕获到的上述异 常信号的位置信息。 [0011] When the abnormal signal is captured, 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.
[0012] 基于上述第一方面, 或者上述第一方面的第一种可能的实现方式, 在第二种可 能的实现方式中, 上述根据记录的上述异常信号的位置信息再次引发上述异常 信号, 具体为:  [0012] Based on the above first aspect, or the first possible implementation manner of the foregoing first aspect, in the second possible implementation manner, the foregoing abnormal information is triggered according to the recorded location information of the abnormal signal, specifically For:
[0013] 根据记录的上述异常信号的位置信息, 调用 raise函数引发上述异常信号。  [0013] According to the recorded position information of the abnormal signal, the raise function is called to trigger the abnormal signal.
[0014] 基于上述第一方面, 或者上述第一方面的第一种可能的实现方式, 在第三种可 能的实现方式中, 当捕获到异常信号之后, 上述方法还包括: [0014] Based on the foregoing first aspect, or the first possible implementation manner of the foregoing first aspect, in a third possible implementation, after the abnormal signal is captured, the method further includes:
[0015] 通过 Utils.Log方法并基于上述异常信号生成崩溃日志。 [0015] A crash log is generated by the Utils.Log method and based on the above abnormal signal.
[0016] 基于本发明第一方面的第三种可能的实现方式, 在第四种可能的实现方式中, 上述通过 Utils.Log方法将上述异常信号记录到崩溃日志中, 之后还包括:  [0016] According to a third possible implementation manner of the first aspect of the present invention, in a fourth possible implementation, the foregoing abnormality signal is recorded in a crash log by using a Utils.Log method, and then includes:
[0017] 上报上述崩溃日志。 [0017] Reporting the above crash log.
[0018] 本发明第二方面提供一种异常信号处理装置, 包括:  [0018] A second aspect of the present invention provides an abnormal signal processing apparatus, including:
[0019] 捕获单元, 用于对异常信号进行捕获; [0019] a capturing unit, configured to capture an abnormal signal;
[0020] 记录单元, 用于当上述捕获单元捕获到异常信号吋, 记录当前捕获到的上述异 常信号的位置信息;  [0020] a recording unit, configured to: when the capturing unit captures an abnormal signal, record position information of the currently captured abnormal signal;
[0021] 激活单元, 用于根据上述记录单元记录的上述异常信号的位置信息再次引发上 述异常信号。  [0021] 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.
[0022] 基于本发明第二方面, 在第一种可能的实现方式中, 上述捕获单元具体用于: 通过 signal函数或 sigaction函数对异常信号进行捕获;  [0022] Based on the second aspect of the present invention, in a first possible implementation, the capturing unit is specifically configured to: capture an abnormal signal by using a signal function or a sigaction function;
[0023] 上述记录单元具体用于: 当上述捕获单元捕获到通过 signal函数或 sigaction函数 捕获到异常信号吋, 记录当前捕获到的上述异常信号的位置信息。 [0023] 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.
[0024] 基于本发明第二方面, 或者本发明第二方面的第一种可能的实现方式, 在第二 种可能的实现方式中, 上述激活单元具体用于: 根据上述记录单元记录的上述 异常信号的位置信息, 调用 raise函数引发上述异常信号。 [0024] Based on the second aspect of the present invention, or the first possible implementation manner of the second aspect of the present invention, in the second possible implementation, 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.
[0025] 基于本发明第二方面, 或者本发明第二方面的第一种可能的实现方式, 在第三 种可能的实现方式中, 上述异常信号处理装置还包括: [0025] based on the second aspect of the invention, or the first possible implementation of the second aspect of the invention, in the third In a possible implementation, the abnormal signal processing device further includes:
[0026] 生成单元, 用于通过 Utils.Log方法并基于上述捕获单元捕获到的异常信号生成 崩溃日志。 [0026] 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.
[0027] 基于本发明第二方面的第三种可能的实现方式, 在第四种可能的实现方式中, 上述异常信号处理装置还包括:  [0027] According to a third possible implementation manner of the second aspect of the present invention, in the fourth possible implementation, the abnormal signal processing apparatus further includes:
[0028] 上报单元, 用于上报上述生成单元生成的上述崩溃日志。 [0028] The reporting unit is configured to report the foregoing crash log generated by the generating unit.
[0029] 本发明第三方面提供一种存储介质, 所述存储介质存储有一个或者一个以上程 序, 所述一个或者一个以上程序可被一个或者一个以上的处理器执行以用于:  [0029] 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:
[0030] 对异常信号进行捕获; [0030] capturing an abnormal signal;
[0031] 当捕获到异常信号吋, 记录当前捕获到的上述异常信号的位置信息;  [0031] when an abnormal signal is captured, recording the location information of the currently captured abnormal signal;
[0032] 根据记录的上述异常信号的位置信息再次引发上述异常信号。  [0032] The abnormal signal is again caused according to the recorded position information of the abnormal signal.
[0033] 基于上述第三方面, 在第一种可能的实现方式中, 上述对异常信号进行捕获为 [0033] Based on the above third aspect, in the first possible implementation manner, the foregoing abnormal signal is captured as
: 通过 signal函数或 sigaction函数对异常信号进行捕获; : Capture the exception signal by the signal function or the sigaction function;
[0034] 上述当捕获到异常信号吋, 存储当前捕获到的异常信号的位置信息为: 当通过 signal函数或 sigaction函数捕获到异常信号吋, 记录当前捕获到的上述异常信号 的位置信息。 [0034] When the abnormal signal is captured, the location information of the currently captured abnormal signal is stored as: 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.
[0035] 基于上述第三方面, 或者上述第三方面的第一种可能的实现方式, 在第二种可 能的实现方式中, 上述根据记录的上述异常信号的位置信息再次引发上述异常 信号为:  [0035] Based on the foregoing third aspect, or the first possible implementation manner of the foregoing third aspect, in the second possible implementation manner, the foregoing abnormal signal is triggered according to the recorded location information of the abnormal signal:
[0036] 根据记录的上述异常信号的位置信息, 调用 raise函数引发上述异常信号。  [0036] According to the recorded position information of the abnormal signal, the raise function is called to trigger the abnormal signal.
[0037] 基于上述第三方面, 或者上述第三方面的第一种可能的实现方式, 在第三种可 能的实现方式中, 当捕获到异常信号之后, 所述一个或者一个以上程序还可被 所述一个或者一个以上的处理器执行以用于: [0037] Based on the foregoing third aspect, or the first possible implementation manner of the foregoing third aspect, in a third possible implementation, after the abnormal signal is captured, the one or more programs may also be The one or more processors are executed to:
[0038] 通过 Utils.Log方法并基于上述异常信号生成崩溃日志。 [0038] A crash log is generated by the Utils.Log method and based on the above abnormal signal.
[0039] 基于本发明第三方面的第三种可能的实现方式, 在第四种可能的实现方式中, 上述通过 Utils.Log方法将上述异常信号记录到崩溃日志中, 所述一个或者一个以 上程序还可被所述一个或者一个以上的处理器执行以用于:  According to a third possible implementation manner of the third aspect of the present invention, in a fourth possible implementation, 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:
[0040] 上报上述崩溃日志。 [0041] 本发明第四方面提供一种终端, 所述终端包括: 至少一个处理器以及存储器; [0040] Reporting the above crash log. [0041] A fourth aspect of the present invention provides a terminal, where the terminal includes: at least one processor and a memory;
[0042] 所述存储器用于存储指令, 所述处理器用于执行所述存储器存储的指令; 其中 , 所述处理器用于: 对异常信号进行捕获; 当捕获到异常信号吋, 记录当前捕 获到的所述异常信号的位置信息; 根据记录的所述异常信号的位置信息再次弓 I 发所述异常信号。 [0042] 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.
[0043] 基于上述第四方面, 在第一种可能的实现方式中, 上述对异常信号进行捕获为 [0043] Based on the above fourth aspect, in a first possible implementation manner, the foregoing abnormal signal is captured as
: 通过 signal函数或 sigaction函数对异常信号进行捕获; : Capture the exception signal by the signal function or the sigaction function;
[0044] 上述当捕获到异常信号吋, 存储当前捕获到的异常信号的位置信息为: 当通过 signal函数或 sigaction函数捕获到异常信号吋, 记录当前捕获到的上述异常信号 的位置信息。 [0044] When the abnormal signal is captured, the location information of the currently captured abnormal signal is stored as: 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.
[0045] 基于上述第四方面, 或者上述第四方面的第一种可能的实现方式, 在第二种可 能的实现方式中, 上述根据记录的上述异常信号的位置信息再次引发上述异常 信号为: 根据记录的上述异常信号的位置信息, 调用 raise函数引发上述异常信号  [0045] Based on the foregoing fourth aspect, or the first possible implementation manner of the foregoing fourth aspect, in a second possible implementation manner, 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.
[0046] 基于上述第四方面, 或者上述第四方面的第一种可能的实现方式, 在第三种可 能的实现方式中, 上述处理器还用于: 当捕获到异常信号之后, 通过 Utils.Log方 法并基于上述异常信号生成崩溃日志。 [0046] Based on the above fourth aspect, or the first possible implementation manner of the foregoing fourth aspect, in a third possible implementation, 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.
[0047] 基于本发明第四方面的第三种可能的实现方式, 在第四种可能的实现方式中, 处理器 301还用于: 在所述通过 Utils.Log方法将所述异常信号记录到崩溃日志中 之后, 上报所述崩溃日志。 [0047] The third possible implementation manner of the fourth aspect of the present invention, in a fourth possible implementation, 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.
发明的有益效果  Advantageous effects of the invention
有益效果  Beneficial effect
[0048] 由上可见, 本发明在捕获到异常信号吋, 记录当前捕获到的异常信号的位置信 息, 之后根据记录的异常信号的位置信息再次引发该异常信号, 从而不影响其 他人对该异常信号的捕获, 使得已被捕获的异常信号能够被再次捕获。  [0048] It can be seen from the above that 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.
对附图的简要说明  Brief description of the drawing
附图说明  DRAWINGS
[0049] 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实施例或 现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的 附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创 造性劳动性的前提下, 还可以根据这些附图获得其他的附图。 [0049] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following will The drawings used in the description of the prior art are briefly introduced. It is obvious that the drawings in the following description are only some embodiments of the present invention, and are not laborious for those skilled in the art. Further drawings can also be obtained from these drawings.
[0050] 图 1为本发明提供的一种异常信号处理方法一个实施例流程示意图;  1 is a schematic flow chart of an embodiment of an abnormal signal processing method according to an embodiment of the present invention;
[0051] 图 2为本发明提供的一种异常信号处理装置一个实施例结构示意图;  2 is a schematic structural diagram of an embodiment of an abnormal signal processing apparatus according to the present invention;
[0052] 图 3为本发明提供的一种终端一个实施例结构示意图;  3 is a schematic structural diagram of an embodiment of a terminal according to the present invention;
[0053] 图 4为本发明提供的一种终端另一个实施例结构示意图。  4 is a schematic structural diagram of another embodiment of a terminal according to the present invention.
本发明的实施方式 Embodiments of the invention
[0054] 为使得本发明的发明目的、 特征、 优点能够更加的明显和易懂, 下面将结合本 发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而非全部实施例。 基于本 发明中的实施例, 本领域普通技术人员在没有做出创造性劳动前提下所获得的 所有其他实施例, 都属于本发明保护的范围。  The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. The described embodiments are only a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
[0055] 实施例一  [0055] Embodiment 1
[0056] 本发明实施例提供一种异常信号处理方法, 请参阅图 1, 本发明实施例中的异 常信号处理方法, 包括:  An embodiment of the present invention provides an abnormal signal processing method. Referring to FIG. 1, the abnormal signal processing method in the embodiment of the present invention includes:
[0057] 步骤 101、 对异常信号进行捕获; [0057] Step 101: Capture an abnormal signal;
[0058] 本发明实施例中提及的异常信号主要是指野指针、 除零、 内存访问异常等系统 底层的异常信号。  [0058] 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.
[0059] 可选的, 通过 signal函数或 sigaction函数对异常信号进行捕获。 下面分别对通过 signal函数或 sigaction函数进行说明:  [0059] Optionally, the abnormal signal is captured by a signal function or a sigaction function. The following description of the signal function or sigaction function:
[0060] 1、 对于 signal函数, 在<81§^1.1 >这个头文件中, 其函数格式如下: [0060] 1. For the signal function, in the header file <81 § ^1.1 >, the function format is as follows:
[0061] signal (参数 1, 参数 2) ; [0061] signal (parameter 1, parameter 2);
[0062] 其中, 参数 1表示待处理的信号, 参数 2表示处理的方式 (例如系统默认操作、 忽略还是捕获) 。  [0062] wherein parameter 1 represents the signal to be processed, and parameter 2 represents the manner of processing (eg, system default operation, ignore or capture).
在本发明实施例中, 通过将上述参数 1设置为待捕获的异常信号 (例如系统底 层的异常信号) , 将参数 2设置为捕获, 以此实现通过 signal函数对异常信号进行 捕获。 In the embodiment of the present invention, by setting 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.
[0064] 2、 sigaction函数的接口头文件及原型如下:  [0064] 2. The interface header file and prototype of the sigaction function are as follows:
[0065] #include <signal.h> [0065] #include <signal.h>
[0066] int sigaction(int signum, const struct sigaction *act, struct sigaction *oldact);  [0066] int sigaction(int signum, const struct sigaction *act, struct sigaction *oldact);
[0067] 其中, signum表示待处理的信号; act表示对待处理的信号的新处理方式; oldact表示对待处理的信号的原处理方式。 [0067] wherein 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.
[0068] 在本发明实施例中, 通过将 signum设置为待捕获的异常信号 (例如系统底层的 异常信号) , 将 act设置为捕获, 即可实现通过 sigaction函数对异常信号进行捕获 In the embodiment of the present invention, 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.
[0069] 当然, 本发明实施例中也可以通过其它方式对异常信号进行捕获, 此处不作限 定。 [0069] Of course, in the embodiment of the present invention, the abnormal signal may be captured by other means, which is not limited herein.
[0070] 步骤 102、 当捕获到异常信号吋, 记录当前捕获到的上述异常信号的位置信息  [0070] Step 102: When an abnormal signal is captured, record the location information of the currently captured abnormal signal.
[0071] 本发明实施例中, 当步骤 101捕获到异常信号吋, 记录当前捕获到的上述异常 信号的位置信息。 由于此吋异常信号多是位于内存中, 因此, 当捕获到异常信 号吋, 上述记录当前捕获到的上述异常信号的位置信息实质上是为记录当前捕 获到的上述异常信号在内存中的位置信息。 In the embodiment of the present invention, when the abnormal signal 捕获 is captured in step 101, 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. .
[0072] 可选的, 只在通过 signal函数或 sigaction函数捕获到异常信号吋, 才记录当前捕 获到的上述异常信号的位置信息。 则步骤 102具体表现为: 当通过 signal函数或 si gaction函数捕获到异常信号吋, 记录当前捕获到的上述异常信号的位置信息。  [0072] Optionally, the location information of the abnormal signal that is currently captured is recorded only after the abnormal signal is captured by the signal function or the sigaction function. 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.
[0073] 步骤 103、 根据记录的上述异常信号的位置信息再次弓 I发上述异常信号;  [0073] Step 103: The first abnormal signal is sent according to the recorded location information of the abnormal signal.
[0074] 本发明实施例中, 根据步骤 102记录的上述异常信号的位置信息激活上述异常 信息, 以便再次引发上述异常信号。  In the embodiment of the present invention, 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.
[0075] 具体地, 可以根据记录的上述异常信号的位置信息, 调用 raise函数引发步骤 10 2记录的异常信号。 下面对 raise函数进行说明:  [0075] Specifically, 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. The following raises the raise function:
[0076] raise函数所需头文件:  [0076] Header file required by the raise function:
[0077] #include<signal.h>  [0077] #include<signal.h>
[0078] #include<sys/types.h> [0079] 函数原型 [0078] #include<sys/types.h> Function prototype
[0080] Int raise(int sig) [0080] Int raise(int sig)
[0081] 其中, sig表示待发送的信号, 本发明实施例中, 通过将 sig设置为捕获到的异 常信号, 即可实现通过 raise函数再次引发捕获到的异常信号。  [0081] Wherein, sig represents a signal to be transmitted. In the embodiment of the present invention, by setting sig to the captured abnormal signal, the captured abnormal signal can be re-initiated by the raise function.
[0082] 进一步, 当捕获到异常信号之后, 基于捕获到的异常信号生成崩溃日志。 具体 地, 可通过 Utils.Log方法并基于步骤 101捕获到的异常信号生成崩溃日志。  [0082] Further, after the abnormal signal is captured, a crash log is generated based on the captured abnormal signal. Specifically, a crash log can be generated by the Utils.Log method and based on the exception signal captured in step 101.
[0083] 进一步, 在生成崩溃日志之后, 上报该崩溃日志, 以便工程人员基于该崩溃日 志进行异常的分析和解决。  [0083] Further, after the crash log is generated, the crash log is reported, so that the engineer performs abnormal analysis and resolution based on the crash log.
[0084] 需要说明的是, 本发明实施例中的异常信号处理方法具体可以由异常信号处理 装置实现, 该异常信号处理装置可以为智能终端 (例如智能手机、 平板电脑等 ) , 具体地, 该异常信号处理装置可以搭载 iOS操作系统、 Andorid操作系统或其 它底层为 imix系统 (或类 imix系统) 的操作系统的智能终端中。  [0084] It should be noted that the 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).
[0085] 由上可见, 本发明在捕获到异常信号吋, 记录当前捕获到的异常信号的位置信 息, 之后根据记录的异常信号的位置信息再次引发该异常信号, 从而不影响其 他人对该异常信号的捕获, 使得已被捕获的异常信号能够被再次捕获。  [0085] It can be seen from the above that 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.
[0086] 需要说明的是, 本领域普通技术人员可以理解实现上述实施例的全部或部分步 骤可以通过硬件来完成, 也可以通过程序来指令相关的硬件完成, 所述的程序 可以存储于一种计算机可读存储介质中, 上述提到的存储介质可以是只读存储 器, 磁盘或光盘等。  [0086] It should be noted that those skilled in the art may understand that all or part of the steps of implementing the foregoing embodiments may be completed by hardware, or may be instructed by a program to perform related hardware, and the program may be stored in a type. In the computer readable storage medium, the above-mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
[0087] 实施例二  [0087] Embodiment 2
[0088] 本发明实施例提供一种异常信号处理装置。 请参阅图 2, 本发明实施例中的异 常信号处理装置 200, 包括:  An embodiment of the present invention provides an abnormal signal processing apparatus. Referring to FIG. 2, the abnormal signal processing apparatus 200 in the embodiment of the present invention includes:
[0089] 捕获单元 201, 用于对异常信号进行捕获; [0089] The capturing unit 201 is configured to capture an abnormal signal;
[0090] 记录单元 202, 用于当捕获单元 201捕获到异常信号吋, 记录当前捕获到的上述 异常信号的位置信息;  [0090] 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;
[0091] 激活单元 203, 用于根据记录单元 202记录的上述异常信号的位置信息再次引发 上述异常信号。  [0091] 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.
[0092] 可选的, 捕获单元 201具体用于: 通过 signal函数或 sigaction函数对异常信号进 行捕获; 记录单元 202具体用于: 当捕获单元 201捕获到通过 signal函数或 sigactio n函数捕获到异常信号吋, 记录当前捕获到的上述异常信号的位置信息。 [0092] Optionally, 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.
[0093] 可选的, 激活单元 203具体用于: 根据记录单元 202记录的上述异常信号的位置 信息, 调用 raise函数引发上述异常信号。  Optionally, 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.
[0094] 可选的, 本发明实施例中的异常信号处理装置还包括:  [0094] Optionally, the abnormal signal processing apparatus in the embodiment of the present invention further includes:
[0095] 生成单元, 用于通过 Utils.Log方法并基于上述捕获单元捕获到的异常信号生成 崩溃日志。  [0095] 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.
[0096] 进一步, 本发明实施例中的异常信号处理装置还包括:  [0096] Further, the abnormal signal processing apparatus in the embodiment of the present invention further includes:
[0097] 上报单元, 用于上报上述生成单元生成的上述崩溃日志。 [0097] The reporting unit is configured to report the foregoing crash log generated by the generating unit.
[0098] 需要说明的是, 本发明实施例中的异常信号处理装置可以为智能终端 (例如智 能手机、 平板电脑等) , 具体地, 该异常信号处理装置可以搭载 iOS操作系统、 Andorid操作系统或其它底层为 unix系统 (或类 unix系统) 的操作系统的智能终端 中。  [0098] It should be noted that 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.). Specifically, 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).
[0099] 应理解, 本发明实施例中的异常信号处理装置的各个功能模块的功能可以根据 上述方法实施例中的方法具体实现, 其具体实现过程可参照上述方法实施例中 的相关描述, 此处不再赘述。  [0099] It should be understood that the functions of the various functional modules of the abnormal signal processing apparatus in the embodiments of the present invention may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the related description in the foregoing method embodiments. I won't go into details here.
[0100] 由上可见, 本发明在捕获到异常信号吋, 记录当前捕获到的异常信号的位置信 息, 之后根据记录的异常信号的位置信息再次引发该异常信号, 从而不影响其 他人对该异常信号的捕获, 使得已被捕获的异常信号能够被再次捕获。  [0100] It can be seen from the above that 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.
[0101] 需要说明的是, 在硬件实现上, 以上捕获单元 201, 记录单元 202, 激活单元 20 3等可以以硬件形式内嵌于或独立于异常信号处理装置中, 也可以以软件形式存 储于异常信号处理装置的存储器中, 以便于处理器调用执行以上各个模块对应 的操作。 该处理器可以为中央处理单元 (CPU) 、 微处理器、 单片机等。  [0101] It should be noted that, in hardware implementation, 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. In the memory of the abnormal signal processing device, 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.
[0102] 实施例三  Embodiment 3
[0103] 为了便于更好地实施本发明实施例中的上述方法实施例, 本发明还提供了用于 配合实施执行上述方法实施例的相关终端。 图 3给出本发明第五实施例提供的终 端的示意性框图。 如图 3所示的该终端可以包括: 一个或多个处理器 301 (图中 仅示出一个) ; 存储器 302。 上述处理器 301和存储器 302通过总线 305连接。 存 储器 302用于存储指令, 处理器 301用于执行存储器 302存储的指令。 其中: [0104] 处理器 301用于: 对异常信号进行捕获; 当捕获到异常信号吋, 记录当前捕获 到的所述异常信号的位置信息; 根据记录的所述异常信号的位置信息再次弓 I发 所述异常信号。 [0103] In order to facilitate the implementation of the foregoing method embodiments in the embodiments of the present invention, the present invention further provides related terminals for implementing the foregoing method embodiments. 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. [0104] 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.
[0105] 可选的, 所述对异常信号进行捕获具体为: 通过 signal函数或 sigaction函数对异 常信号进行捕获; 所述当捕获到异常信号吋, 存储当前捕获到的异常信号的位 置信息为: 当通过 signal函数或 sigaction函数捕获到异常信号吋, 记录当前捕获 到的所述异常信号的位置信息。  [0105] Optionally, 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.
[0106] 可选的, 所述根据记录的所述异常信号的位置信息再次引发所述异常信号, 具 体为: 根据记录的所述异常信号的位置信息, 调用 raise函数引发所述异常信号。  [0106] Optionally, 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.
[0107] 可选的, 处理器 301还用于: 当捕获到异常信号之后, 通过 Utils.Log方法并基 于所述异常信号生成崩溃日志。  [0107] Optionally, 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.
[0108] 可选的, 处理器 301还用于: 在所述通过 Utils.Log方法将所述异常信号记录到 崩溃日志中之后, 上报所述崩溃日志。  [0108] Optionally, 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.
[0109] 应当理解, 在本发明实施例中, 所称处理器 301可以是中央处理单元 (Central Processing Unit, CPU)和 /或图形处理器 (Graphic Processing Unit, GPU) , 也 可以在此基础上结合其他通用处理器、 数字信号处理器(Digital Signal Processor , DSP)、 专用集成电路(Application Specific Integrated Circuit, ASIC)、 现成可编 程门阵列(Field-Programmable Gate Array , FPGA)或者其他可编程逻辑器件、 分 立门或者晶体管逻辑器件、 分立硬件组件等。  [0109] It should be understood that, in the embodiment of the present invention, the so-called 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.
[0110] 具体实现中, 本发明实施例中所描述的处理器 301和存储器 302可执行本发明实 施例提供的异常信号处理方法的方法实施例中所描述的实现方式, 在此不再赘 述。  In the specific implementation, the 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.
[0111] 可选的, 在图 3所示实施例的基础上, 如图 4所示, 该终端还可以包括一个或多 个输入设备 303 (图中仅示出一个) , 一个或多个输出设备 304 (图中仅示出一 个) , 以便通过输入设备 303和输出设备 304实现该终端与用户的交互。 如图 4所 示, 上述输入设备 303、 输出设备 304可通过总线 305与处理器 301、 存储器 302连 接。 [0112] 其中, 输入设备 303可以包括触控板、 指纹采传感器 (用于采集用户的指纹信 息和指纹的方向信息) 、 麦克风、 通信模块 (比如 Wi-Fi模块、 2G/3G/4G网络模 块) 、 物理按键等。 [0111] Optionally, based on the embodiment shown in FIG. 3, as shown in FIG. 4, 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. As shown in FIG. 4, the input device 303 and the output device 304 can be connected to the processor 301 and the memory 302 via the bus 305. [0112] 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.
[0113] 输出设备 304可以包括显示器 (LCD等) 、 扬声器等。 其中, 显示器可用于显 示由用户输入的信息或提供给用户的信息等。 显示器可包括显示面板, 可选的 , 可以采用液晶显示器 (Liquid Crystal Display , LCD)、 有机发光二极管 (Organic Light-Emitting Diode, OLED)等形式来配置显示面板。 进一步的, 上述触控板可 覆盖在显示器上, 当触控板检测到在其上或附近的触摸操作后, 传送给处理器 3 01以确定触摸事件的类型, 随后处理器 301根据触摸事件的类型在显示器上提供 相应的视觉输出。  [0113] The output device 304 can include a display (LCD or the like), a speaker, and the like. Among them, 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. Optionally, the display panel may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. Further, 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.
[0114] 实施例四  [0114] Embodiment 4
[0115] 本发明还提供了一种存储介质, 该存储介质可以是上述实施例中的存储器中所 包含的计算机可读存储介质; 也可以是单独存在, 未装配入终端中的计算机可 读存储介质。 具体地, 该存储介质可以为非暂态计算机可读存储介质。 上述存 储介质存储有一个或者一个以上程序, 所述一个或者一个以上程序可被一个或 者一个以上的处理器执行以用于:  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. In particular, 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:
[0116] 对异常信号进行捕获;  [0116] capturing an abnormal signal;
[0117] 当捕获到异常信号吋, 记录当前捕获到的所述异常信号的位置信息;  [0117] when an abnormal signal 捕获 is captured, recording location information of the currently captured abnormal signal;
[0118] 根据记录的所述异常信号的位置信息再次引发所述异常信号。 [0118] the abnormal signal is re-initiated according to the recorded position information of the abnormal signal.
[0119] 可选的, 所述对异常信号进行捕获具体为: 通过 signal函数或 sigaction函数对异 常信号进行捕获; [0119] Optionally, the capturing the abnormal signal is specifically: capturing an abnormal signal by using a signal function or a sigaction function;
[0120] 所述当捕获到异常信号吋, 存储当前捕获到的异常信号的位置信息, 具体为: 当通过 signal函数或 sigaction函数捕获到异常信号吋, 记录当前捕获到的所述异 常信号的位置信息。  [0120] when the abnormal signal is captured, 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.
[0121] 可选的, 所述根据记录的所述异常信号的位置信息再次引发所述异常信号, 具 体为: 根据记录的所述异常信号的位置信息, 调用 raise函数引发所述异常信号。  [0121] Optionally, 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.
[0122] 可选的, 当捕获到异常信号之后, 所述一个或者一个以上程序还可被所述一个 或者一个以上的处理器执行以用于: [0123] 通过 Utils.Log方法并基于所述异常信号生成崩溃日志。 [0122] Optionally, after the exception signal is captured, 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.
[0124] 可选的, 在所述通过 Utils.Log方法将所述异常信号记录到崩溃日志中之后, 所 述一个或者一个以上程序还可被所述一个或者一个以上的处理器执行以用于: 上报所述崩溃日志。  [0124] Optionally, after the abnormal signal is recorded into the crash log by the Utils.Log method, the one or more programs may be executed by the one or more processors for : Report the crash log.
[0125] 需要说明的是, 在本申请所提供的几个实施例中, 应该理解到, 所揭露的装置 和方法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示 意性的, 例如, 上述单元的划分, 仅仅为一种逻辑功能划分, 实际实现吋可以 有另外的划分方式, 例如多个单元或组件可以结合或者可以集成到另一个系统 , 或一些特征可以忽略, 或不执行。 另一点, 所显示或讨论的相互之间的耦合 或直接耦合或通信连接可以是通过一些接口, 装置或单元的间接耦合或通信连 接, 可以是电性, 机械或其它的形式。  [0125] It should be noted that, in the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, 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. In addition, 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.
[0126] 对于前述的各方法实施例, 为了简便描述, 故将其都表述为一系列的动作组合 , 但是本领域技术人员应该知悉, 本发明并不受所描述的动作顺序的限制, 因 为依据本发明, 某些步骤可以采用其它顺序或者同吋进行。 其次, 本领域技术 人员也应该知悉, 说明书中所描述的实施例均属于优选实施例, 所涉及的动作 和模块并不一定都是本发明所必须的。  [0126] For the foregoing method embodiments, for the sake of brevity, they are all described as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence, because In the present invention, certain steps may be performed in other orders or in the same manner. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0127] 在上述实施例中, 对各个实施例的描述都各有侧重, 某个实施例中没有详述的 部分, 可以参见其它实施例的相关描述。  [0127] In the foregoing embodiments, the descriptions of the various embodiments are different, and the details that are not detailed in an embodiment may be referred to the related descriptions of other embodiments.
[0128] 以上为对本发明所提供的一种异常信号处理方法、 异常信号处理装置、 存储介 质及终端的描述, 对于本领域的一般技术人员, 依据本发明实施例的思想, 在 具体实施方式及应用范围上均会有改变之处, 综上, 本说明书内容不应理解为 对本发明的限制。  [0128] The foregoing is a description of an abnormal signal processing method, an abnormal signal processing device, a storage medium, and a terminal provided by the present invention. For those skilled in the art, according to the embodiments of the present invention, There is a change in the scope of application, and the contents of the present specification should not be construed as limiting the invention.

Claims

权利要求书 Claim
[权利要求 1] 一种异常信号处理方法, 其特征在于, 包括:  [Attach 1] An abnormal signal processing method, comprising:
对异常信号进行捕获;  Capture an abnormal signal;
当捕获到异常信号吋, 记录当前捕获到的所述异常信号的位置信息; 根据记录的所述异常信号的位置信息再次引发所述异常信号。  When the abnormal signal 捕获 is captured, the position information of the currently captured abnormal signal is recorded; the abnormal signal is re-initiated according to the recorded position information of the abnormal signal.
[权利要求 2] 根据权利要求 1所述的方法, 其特征在于, 所述对异常信号进行捕获 为: 通过 signal函数或 sigaction函数对异常信号进行捕获;  [Claim 2] The method according to claim 1, wherein the capturing of the abnormal signal is: capturing an abnormal signal by a signal function or a sigaction function;
所述当捕获到异常信号吋, 存储当前捕获到的异常信号的位置信息为 : 当通过 signal函数或 sigaction函数捕获到异常信号吋, 记录当前捕获 到的所述异常信号的位置信息。  When the abnormal signal is captured, the location information of the currently captured abnormal signal is stored as: 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.
[权利要求 3] 根据权利要求 1或 2所述的方法, 其特征在于, 所述根据记录的所述异 常信号的位置信息再次弓 I发所述异常信号为:  [Claim 3] The method according to claim 1 or 2, wherein the abnormal signal is again sent according to the recorded position information of the abnormal signal:
根据记录的所述异常信号的位置信息, 调用 raise函数弓 |发所述异常信 号。  According to the recorded position information of the abnormal signal, the raise function is called to send the abnormal signal.
[权利要求 4] 根据权利要求 1或 2所述的方法, 其特征在于, 当捕获到异常信号之后 [Claim 4] The method according to claim 1 or 2, wherein after the abnormal signal is captured
, 所述方法还包括: The method further includes:
通过 Utils.Log方法并基于所述异常信号生成崩溃日志。  A crash log is generated by the Utils.Log method and based on the exception signal.
[权利要求 5] 根据权利要求 4所述的方法, 其特征在于, 所述通过 Utils.Log方法将 所述异常信号记录到崩溃日志中, 之后还包括: 上报所述崩溃日志。 [Claim 5] The method according to claim 4, wherein the abnormality signal is recorded in the crash log by the Utils.Log method, and further includes: reporting the crash log.
[权利要求 6] —种异常信号处理装置, 其特征在于, 包括: [Attachment 6] An abnormal signal processing apparatus, comprising:
捕获单元, 用于对异常信号进行捕获;  a capture unit for capturing an abnormal signal;
记录单元, 用于当所述捕获单元捕获到异常信号吋, 记录当前捕获到 的所述异常信号的位置信息;  a recording unit, configured to: when the capturing unit captures an abnormal signal, record location information of the currently captured abnormal signal;
激活单元, 用于根据所述记录单元记录的所述异常信号的位置信息再 次引发所述异常信号。  And an activation unit, configured to re-initiate the abnormality signal according to the location information of the abnormal signal recorded by the recording unit.
[权利要求 7] 根据权利要求 6所述的异常信号处理装置, 其特征在于, [Attachment 7] The abnormal signal processing device according to claim 6, wherein
所述捕获单元用于: 通过 signal函数或 sigaction函数对异常信号进行捕 获; The capturing unit is configured to: capture an abnormal signal by a signal function or a sigaction function Obtain
所述记录单元用于: 当所述捕获单元捕获到通过 signal函数或 sigaction 函数捕获到异常信号吋, 记录当前捕获到的所述异常信号的位置信息 根据权利要求 6或 7所述的异常信号处理装置, 其特征在于, 所述激活单元用于: 根据所述记录单元记录的所述异常信号的位置信 息, 调用 raise函数引发所述异常信号。 The recording unit is configured to: when the capturing unit captures an abnormal signal captured by a signal function or a sigaction function, record position information of the currently captured abnormal signal, according to the abnormal signal processing according to claim 6 or 7. The device is characterized in that: the activation unit is configured to: invoke the raise function to trigger the abnormality signal according to location information of the abnormal signal recorded by the recording unit.
根据权利要求 6或 7所述的异常信号处理装置, 其特征在于, 所述异常 信号处理装置还包括: The abnormal signal processing device according to claim 6 or 7, wherein the abnormal signal processing device further comprises:
生成单元, 用于通过 Utils.Log方法并基于所述捕获单元捕获到的异常 信号生成崩溃日志。 And 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.
根据权利要求 9所述的异常信号处理装置, 其特征在于, 所述异常信 号处理装置还包括: The abnormal signal processing device according to claim 9, wherein the abnormal signal processing device further comprises:
上报单元, 用于上报所述生成单元生成的所述崩溃日志。 The reporting unit is configured to report the crash log generated by the generating unit.
一种存储介质, 其特征在于, 所述存储介质存储有一个或者一个以上 程序, 所述一个或者一个以上程序可被一个或者一个以上的处理器执 行以用于: A storage medium, characterized in that the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors for:
对异常信号进行捕获; Capture an abnormal signal;
当捕获到异常信号吋, 记录当前捕获到的所述异常信号的位置信息; 根据记录的所述异常信号的位置信息再次引发所述异常信号。 When the abnormal signal 捕获 is captured, the position information of the currently captured abnormal signal is recorded; the abnormal signal is re-initiated according to the recorded position information of the abnormal signal.
根据权利要求 11所述的存储介质, 其特征在于, 所述对异常信号进行 捕获为: 通过 signal函数或 sigaction函数对异常信号进行捕获; 所述当捕获到异常信号吋, 存储当前捕获到的异常信号的位置信息为 : 当通过 signal函数或 sigaction函数捕获到异常信号吋, 记录当前捕获 到的所述异常信号的位置信息。 The storage medium according to claim 11, wherein the capturing the abnormal signal is: capturing an abnormal signal by a signal function or a sigaction function; and storing the abnormally captured signal, storing the currently caught abnormality The position information of the signal is: When the abnormal signal is captured by the signal function or the sigaction function, the position information of the abnormal signal currently captured is recorded.
根据权利要求 11或 12所述的存储介质, 其特征在于, 所述根据记录的 所述异常信号的位置信息再次弓 I发所述异常信号为: The storage medium according to claim 11 or 12, wherein the abnormal signal is again sent according to the recorded position information of the abnormal signal:
根据记录的所述异常信号的位置信息, 调用 raise函数弓 |发所述异常信 号。 According to the recorded position information of the abnormal signal, the raise function function is called to send the abnormal letter. number.
根据权利要求 11或 12所述的存储介质, 其特征在于, 当捕获到异常信 号之后, 所述一个或者一个以上程序还可被所述一个或者一个以上的 处理器执行以用于: A storage medium according to claim 11 or 12, wherein, after the abnormal signal is captured, said one or more programs are further executable by said one or more processors for:
通过 Utils.Log方法并基于所述异常信号生成崩溃日志。 . A crash log is generated by the Utils.Log method and based on the exception signal. .
根据权利要求 14所述的存储介质, 其特征在于, 所述通过 Utils.Log方 法将所述异常信号记录到崩溃日志中之后, 所述一个或者一个以上程 序还可被所述一个或者一个以上的处理器执行以用于: The storage medium according to claim 14, wherein said one or more programs are further executable by said one or more programs after said abnormality signal is recorded in a crash log by a Utils.Log method The processor executes to:
上报所述崩溃日志。 Report the crash log.
一种终端, 其特征在于, 所述终端包括至少一个处理器以及存储器; 所述存储器用于存储指令, 所述处理器用于执行所述存储器存储的指 令以实现以下操作: A terminal, wherein the terminal includes at least one processor and a memory; the memory is configured to store an instruction, and the processor is configured to execute the instruction stored by the memory to:
对异常信号进行捕获; Capture an abnormal signal;
当捕获到异常信号吋, 记录当前捕获到的所述异常信号的位置信息; 根据记录的所述异常信号的位置信息再次引发所述异常信号。 When the abnormal signal 捕获 is captured, the position information of the currently captured abnormal signal is recorded; the abnormal signal is re-initiated according to the recorded position information of the abnormal signal.
根据权利要求 16所述的终端, 其特征在于, 所述对异常信号进行捕获 为: 通过 signal函数或 sigaction函数对异常信号进行捕获; The terminal according to claim 16, wherein the capturing of the abnormal signal is: capturing an abnormal signal by a signal function or a sigaction function;
所述当捕获到异常信号吋, 存储当前捕获到的异常信号的位置信息为 : 当通过 signal函数或 sigaction函数捕获到异常信号吋, 记录当前捕获 到的所述异常信号的位置信息。 When the abnormal signal is captured, the location information of the currently captured abnormal signal is stored as: 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.
根据权利要求 16或 17所述的终端, 其特征在于, 所述根据记录的所述 异常信号的位置信息再次弓 I发所述异常信号为: The terminal according to claim 16 or 17, wherein the abnormal signal is again sent according to the recorded position information of the abnormal signal:
根据记录的所述异常信号的位置信息, 调用 raise函数弓 |发所述异常信 号。 According to the recorded position information of the abnormal signal, the raise function is called to send the abnormal signal.
根据权利要求 16或 17所述的终端, 其特征在于, 所述处理器还用于执 行所述存储器存储的指令以实现以下操作: 当捕获到异常信号之后, 通过 Utils.Log方法并基于所述异常信号生成崩溃日志。 The terminal according to claim 16 or 17, wherein the processor is further configured to execute the memory stored instructions to: perform an operation of the Utils.Log method and The exception signal generates a crash log.
根据权利要求 19所述的终端, 其特征在于, 所述处理器还用于执行所 述存储器存储的指令以实现以下操作: 在所述通过 Utils.Log方法将所 述异常信号记录到崩溃日志中之后, 上报所述崩溃日志。 The terminal according to claim 19, wherein the processor is further configured to execute the The instructions stored in the memory are implemented to: report the crash log after the abnormal signal is recorded in the crash log by the Utils.Log method.
PCT/CN2017/073463 2016-07-20 2017-02-14 Abnormal signal processing method, abnormal signal processing apparatus, storage medium, and terminal WO2018014544A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610576606.9 2016-07-20
CN201610576606.9A CN106407103A (en) 2016-07-20 2016-07-20 Abnormal signal processing method and apparatus

Publications (1)

Publication Number Publication Date
WO2018014544A1 true WO2018014544A1 (en) 2018-01-25

Family

ID=58004146

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/073463 WO2018014544A1 (en) 2016-07-20 2017-02-14 Abnormal signal processing method, abnormal signal processing apparatus, storage medium, and terminal

Country Status (2)

Country Link
CN (1) CN106407103A (en)
WO (1) WO2018014544A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
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 (en) * 2002-10-25 2004-04-28 华为技术有限公司 Windows program abnormality capturing and positioning method
CN101060686A (en) * 2007-06-15 2007-10-24 中兴通讯股份有限公司 A method and device for the anomaly diagnosis and error playback in a mobile terminal
CN102184138A (en) * 2011-05-19 2011-09-14 广东威创视讯科技股份有限公司 Method and system for automatically reproducing and positioning software error
CN104461876A (en) * 2014-11-26 2015-03-25 北京航空航天大学 Concurrent program reappearance debugging method based on snapshot sequence running

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008065436A (en) * 2006-09-05 2008-03-21 Nec Corp Failure repair system for personal digital assistant, portable information terminal equipment to be used for the same and method and program
CN105653432B (en) * 2015-12-22 2019-02-15 北京奇虎科技有限公司 A kind for the treatment of method and apparatus of crash data
CN105677550A (en) * 2015-12-29 2016-06-15 广州华多网络科技有限公司 Performance acquisition-analysis method, device and system based on Linux system
CN105700973A (en) * 2016-01-14 2016-06-22 汉柏科技有限公司 Restart method and device for CLI (command line interface) fault
CN105824754B (en) * 2016-03-17 2018-11-13 广州多益网络股份有限公司 The method of the Python exception catchings and upload of client-side program

Patent Citations (6)

* Cited by examiner, † Cited by third party
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 (en) * 2002-10-25 2004-04-28 华为技术有限公司 Windows program abnormality capturing and positioning method
CN101060686A (en) * 2007-06-15 2007-10-24 中兴通讯股份有限公司 A method and device for the anomaly diagnosis and error playback in a mobile terminal
CN102184138A (en) * 2011-05-19 2011-09-14 广东威创视讯科技股份有限公司 Method and system for automatically reproducing and positioning software error
CN104461876A (en) * 2014-11-26 2015-03-25 北京航空航天大学 Concurrent program reappearance debugging method based on snapshot sequence running

Also Published As

Publication number Publication date
CN106407103A (en) 2017-02-15

Similar Documents

Publication Publication Date Title
CN107273130B (en) Method, device and terminal for accelerating interface drawing
WO2017075965A1 (en) Voice information processing method and device
US20140002396A1 (en) Information processing method, information processing apparatus and electronic device
CN111158543A (en) File processing method, electronic equipment, system and storage medium
CN110321047A (en) A kind of display control method and equipment
CN110858483A (en) Intelligent device, voice awakening method, voice awakening device and storage medium
US20190051147A1 (en) Remote control method, apparatus, terminal device, and computer readable storage medium
CN111143167B (en) Alarm merging method, device, equipment and storage medium for multiple platforms
WO2019100898A1 (en) Input operation processing method and processing device, and computer-readable storage medium
CN113791834B (en) Information display apparatus
CN111078523A (en) Log obtaining method and device, storage medium and electronic equipment
CN105630664B (en) Reverse debugging method and device and debugger
CN105005526A (en) Information reminding method and mobile terminal
CN106887228B (en) Robot voice control method and device and robot
WO2018014544A1 (en) Abnormal signal processing method, abnormal signal processing apparatus, storage medium, and terminal
CN108509228A (en) Method, terminal device and the computer readable storage medium of loading page
CN105718109B (en) A kind of the weight processing method and mobile terminal of touching display screen
WO2018045598A1 (en) Electronic device
CN104750375A (en) Interface display method and device
CN111124519A (en) Method and system for optimizing starting speed of android application program based on input response
CN108400901B (en) Application testing method, terminal device and computer readable storage medium
CN114281204B (en) Method, device, equipment and storage medium for touch recognition of resistive touch screen
CN112579369A (en) Multithreading flashing system, method, device, equipment and storage medium
CN107133550A (en) Fingerprint authentication method and device
CN108932142A (en) A kind of picture catching method and terminal

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