Movatterモバイル変換


[0]ホーム

URL:


CN110109770A - Adjustment method, device, electronic equipment and medium - Google Patents

Adjustment method, device, electronic equipment and medium
Download PDF

Info

Publication number
CN110109770A
CN110109770ACN201910372731.1ACN201910372731ACN110109770ACN 110109770 ACN110109770 ACN 110109770ACN 201910372731 ACN201910372731 ACN 201910372731ACN 110109770 ACN110109770 ACN 110109770A
Authority
CN
China
Prior art keywords
target process
information
debugged
identification information
core dump
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910372731.1A
Other languages
Chinese (zh)
Inventor
方攀
陈岩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp LtdfiledCriticalGuangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910372731.1ApriorityCriticalpatent/CN110109770A/en
Publication of CN110109770ApublicationCriticalpatent/CN110109770A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本申请公开了一种调试方法、装置、电子设备及介质。其中,本申请中,当检测到发生崩溃事件时,调取目标进程的标识信息。并在确定将目标进程的标识信息与预设的待调试名单进行匹配成功后,生成目标进程的core dump信息。通过应用本申请的技术方案,可以在检测到存在目标进程发生崩溃时,首先确定该进程是否为开发人员后期调试需要的进程程序,并在确定后,才允许该目标进程生成core dump信息。进而可以避免相关技术中存在的由于智能终端存储空间不足所导致的,崩溃进程的core dump信息被其他无用core dump信息所覆盖而无法对崩溃进程进行调试的问题。

The present application discloses a debugging method, device, electronic device and medium. Wherein, in this application, when a crash event is detected, the identification information of the target process is retrieved. And after it is determined that the identification information of the target process is successfully matched with the preset list to be debugged, the core dump information of the target process is generated. By applying the technical solution of the present application, when it is detected that the target process crashes, it can be first determined whether the process is a process program required by the developer for later debugging, and after the determination, the target process is allowed to generate core dump information. Further, the problem in the related art that the core dump information of the crashed process is overwritten by other useless core dump information due to insufficient storage space of the intelligent terminal can be avoided, so that the crashed process cannot be debugged.

Description

Translated fromChinese
调试方法、装置、电子设备及介质Debugging method, device, electronic equipment and medium

技术领域technical field

本申请中涉及数据处理技术,尤其是一种调试方法、装置、电子设备及介质。The present application relates to data processing technology, in particular to a debugging method, device, electronic device and medium.

背景技术Background technique

随着通信与社会的发展,智能电子终端已经随着越来越多的人所使用而被广泛的发展。With the development of communication and society, intelligent electronic terminals have been widely used by more and more people.

进一步的,用户会通过智能终端处理格式信息。相应的,智能终端后台在处理用户生成的任务时,通常是启用各个进程来分别对应处理一个任务。其中,智能设备的进程即是智能设备在执行各业务时的一小段程序,是系统分配资源的最小一个单位。当某一个进程发生异常所导致进程崩溃时,系统会生成该进程的core dump信息,其中,core dump信息即为单个进程在内存中的完整静态信息。进一步的,在开发人员后期进行故障查询时,可以通过调取该进程的core dump信息,来对该崩溃进程进行调试。Further, the user will process the format information through the smart terminal. Correspondingly, when the intelligent terminal background processes the tasks generated by the user, each process is usually enabled to process a task correspondingly. Among them, the process of the smart device is a small piece of program when the smart device executes various services, and is the smallest unit of resources allocated by the system. When a process crashes due to an exception, the system will generate the core dump information of the process, where the core dump information is the complete static information of a single process in memory. Further, when the developer performs fault inquiry later, the crashed process can be debugged by calling the core dump information of the process.

然而,由于智能终端的存储空间有限,这也导致当多个进程均发生崩溃时,会生成多个core dump信息。从而出现开发人员需要的特定进程的core dump信息会被其他不重要进程的core dump信息覆盖清除的问题,进而难以得到特定进程的core dump信息。However, due to the limited storage space of the smart terminal, when multiple processes crash, multiple core dumps will be generated. As a result, the core dump information of a specific process required by developers will be overwritten and cleared by the core dump information of other unimportant processes, and it is difficult to obtain the core dump information of a specific process.

发明内容SUMMARY OF THE INVENTION

本申请的实施例提供一种调试方法、装置、电子设备及介质。Embodiments of the present application provide a debugging method, apparatus, electronic device, and medium.

其中,根据本申请实施例的一个方面,提供的一种调试方法,其特征在于,包括:Wherein, according to an aspect of the embodiments of the present application, a debugging method is provided, characterized in that it includes:

当检测到发生崩溃事件时,调取目标进程的标识信息,所述崩溃事件为所述目标进程发生崩溃的事件;When a crash event is detected, the identification information of the target process is called, and the crash event is an event in which the target process crashes;

将所述目标进程的标识信息与预设的待调试名单进行匹配;matching the identification information of the target process with a preset list to be debugged;

当所述标识信息与所述待调试名单匹配成功后,生成所述目标进程的core dump信息。After the identification information is successfully matched with the to-be-debugged list, the core dump information of the target process is generated.

可选地,在基于本申请上述方法的另一个实施例中,所述当所述标识信息与所述待调试名单匹配成功后,生成所述目标进程的core dump信息,包括:Optionally, in another embodiment based on the above method of the present application, after the identification information is successfully matched with the to-be-debugged list, the core dump information of the target process is generated, including:

当所述标识信息与所述待调试名单匹配成功后,开启所述目标进程的生成功能,所述生成功能用于生成core dump信息;After the identification information is successfully matched with the to-be-debugged list, the generation function of the target process is enabled, and the generation function is used to generate core dump information;

生成所述目标进程的core dump信息。Generate core dump information of the target process.

可选地,在基于本申请上述方法的另一个实施例中,所述生成所述目标进程的core dump信息,包括:Optionally, in another embodiment based on the above method of the present application, the generating the core dump information of the target process includes:

当所述标识信息与所述待调试名单匹配成功后,设置所述目标进程的ulimit属性信息;After the identification information is successfully matched with the to-be-debugged list, set the ulimit attribute information of the target process;

当检测到所述目标进程的ulimit属性信息被设置为RLIM_INFITY时,生成所述目标进程的core dump信息。When it is detected that the ulimit attribute information of the target process is set to RLIM_INFITY, the core dump information of the target process is generated.

可选地,在基于本申请上述方法的另一个实施例中,在所述设置所述目标进程的ulimit属性信息之前,还包括:Optionally, in another embodiment based on the above method of the present application, before the setting of the ulimit attribute information of the target process, the method further includes:

建立第一属性以及第二属性,所述第一属性用于标记是否检测所述崩溃事件,所述第二属性用于存储所述待调试名单;establishing a first attribute and a second attribute, the first attribute is used to mark whether the crash event is detected, and the second attribute is used to store the to-be-debugged list;

基于所述第一属性以及第二属性,将所述目标进程的标识信息与预设的待调试名单进行匹配。Based on the first attribute and the second attribute, the identification information of the target process is matched with a preset list to be debugged.

可选地,在基于本申请上述方法的另一个实施例中,当所述标识信息与所述待调试名单匹配成功后,开启所述目标进程的生成功能,包括:Optionally, in another embodiment based on the above method of the present application, after the identification information is successfully matched with the to-be-debugged list, enabling the generation function of the target process includes:

将所述目标进程的ulimit属性信息设置为RLIM_INFITY;Set the ulimit attribute information of the target process to RLIM_INFITY;

当所述标识信息与所述待调试名单匹配成功后,开启所述目标进程的生成功能。After the identification information is successfully matched with the to-be-debugged list, the generation function of the target process is enabled.

可选地,在基于本申请上述方法的另一个实施例中,在所述将所述目标进程的ulimit属性信息设置为RLIM_INFITY之后,还包括:Optionally, in another embodiment based on the above method of the present application, after the ulimit attribute information of the target process is set to RLIM_INFITY, the method further includes:

当所述标识信息与所述待调试名单匹配成功后,开启信号处理函数的所述生成功能;After the identification information is successfully matched with the to-be-debugged list, the generating function of the signal processing function is enabled;

利用所述信号处理函数,生成所述目标进程的core dump信息。Using the signal processing function, the core dump information of the target process is generated.

可选地,在基于本申请上述方法的另一个实施例中,在所述生成所述目标进程的core dump信息之后,还包括:Optionally, in another embodiment based on the above method of the present application, after generating the core dump information of the target process, the method further includes:

当确定所述目标进程不在所述待调试名单中时,将基于所述目标进程生成的coredump信息进行清除。When it is determined that the target process is not in the to-be-debugged list, it will be cleared based on the coredump information generated by the target process.

根据本申请实施例的另一个方面,提供的一种调试装置,包括:According to another aspect of the embodiments of the present application, a debugging device is provided, including:

检测模块,被配置为当检测到发生崩溃事件时,调取目标进程的标识信息,所述崩溃事件为所述目标进程发生崩溃的事件;a detection module, configured to call identification information of a target process when a crash event is detected, where the crash event is an event in which the target process crashes;

匹配模块,被配置为将所述目标进程的标识信息与预设的待调试名单进行匹配;a matching module, configured to match the identification information of the target process with a preset list to be debugged;

生成模块,被配置为当所述标识信息与所述待调试名单匹配成功后,生成所述目标进程的core dump信息。The generating module is configured to generate core dump information of the target process after the identification information is successfully matched with the to-be-debugged list.

根据本申请实施例的又一个方面,提供的一种电子设备,包括:According to yet another aspect of the embodiments of the present application, an electronic device is provided, comprising:

存储器,用于存储可执行指令;以及memory for storing executable instructions; and

显示器,用于与所述存储器显示以执行所述可执行指令从而完成上述任一所述调试方法的操作。The display is used for displaying with the memory to execute the executable instructions so as to complete the operation of any one of the above-mentioned debugging methods.

根据本申请实施例的还一个方面,提供的一种计算机可读存储介质,用于存储计算机可读取的指令,所述指令被执行时执行上述任一所述调试方法的操作。According to yet another aspect of the embodiments of the present application, a computer-readable storage medium is provided, which is used for storing computer-readable instructions, and when the instructions are executed, the operations of any one of the above-mentioned debugging methods are performed.

本申请中,当检测到发生崩溃事件时,调取目标进程的标识信息。并在确定将目标进程的标识信息与预设的待调试名单进行匹配成功后,生成目标进程的core dump信息。通过应用本申请的技术方案,可以在检测到存在目标进程发生崩溃时,首先确定该进程是否为开发人员后期调试需要的进程程序,并在确定后,才允许该目标进程生成core dump信息。进而可以避免相关技术中存在的由于智能终端存储空间不足所导致的,崩溃进程的core dump信息被其他无用core dump信息所覆盖而无法对崩溃进程进行调试的问题。In this application, when a crash event is detected, the identification information of the target process is retrieved. And after it is determined that the identification information of the target process is successfully matched with the preset list to be debugged, the core dump information of the target process is generated. By applying the technical solution of the present application, when it is detected that the target process has crashed, it can be first determined whether the process is a process program required by the developer for later debugging, and after the determination, the target process is allowed to generate core dump information. Further, the problem in the related art that the core dump information of the crashed process is overwritten by other useless core dump information due to insufficient storage space of the intelligent terminal, and the crashed process cannot be debugged can be avoided.

下面通过附图和实施例,对本申请的技术方案做进一步的详细描述。The technical solutions of the present application will be described in further detail below through the accompanying drawings and embodiments.

附图说明Description of drawings

构成说明书的一部分的附图描述了本申请的实施例,并且连同描述一起用于解释本申请的原理。The accompanying drawings, which form a part of the specification, illustrate embodiments of the application and together with the description serve to explain the principles of the application.

参照附图,根据下面的详细描述,可以更加清楚地理解本申请,其中:The present application may be more clearly understood from the following detailed description with reference to the accompanying drawings, wherein:

图1为本申请调试方法的系统架构示意图;1 is a schematic diagram of the system architecture of the debugging method of the application;

图2为本申请调试方法另一个实施例的流程图;FIG. 2 is a flowchart of another embodiment of the debugging method of the present application;

图3为本申请调试方法的一个流程图;Fig. 3 is a flow chart of the debugging method of the application;

图4为本申请调试方法再一个实施例的流程图;FIG. 4 is a flowchart of another embodiment of the debugging method of the present application;

图5为本申请调试方法的又一个流程图;Fig. 5 is another flowchart of the debugging method of the present application;

图6为本申请调试方法的又一个流程图Fig. 6 is another flowchart of the debugging method of the present application

图7为本申请调试装置的结构示意图;7 is a schematic structural diagram of the debugging device of the application;

图8为本申请显示电子设备结构示意图。FIG. 8 is a schematic diagram showing the structure of an electronic device according to the present application.

具体实施方式Detailed ways

现在将参照附图来详细描述本申请的各种示例性实施例。应注意到:除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对布置、数字表达式和数值不限制本申请的范围。Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present application unless specifically stated otherwise.

同时,应当明白,为了便于描述,附图中所示出的各个部分的尺寸并不是按照实际的比例关系绘制的。Meanwhile, it should be understood that, for the convenience of description, the dimensions of the various parts shown in the drawings are not drawn according to the actual proportional relationship.

以下对至少一个示例性实施例的描述实际上仅仅是说明性的,不作为对本申请及其应用或使用的任何限制。The following description of at least one exemplary embodiment is merely illustrative in nature and is not intended to limit the application or its application or uses in any way.

对于相关领域普通技术人员已知的技术、方法和设备可能不作详细讨论,但在适当情况下,所述技术、方法和设备应当被视为说明书的一部分。Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, such techniques, methods, and apparatus should be considered part of the specification.

应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。It should be noted that like numerals and letters refer to like items in the following figures, so once an item is defined in one figure, it does not require further discussion in subsequent figures.

需要说明,本申请实施例中所有方向性指示(诸如上、下、左、右、前、后……)仅用于解释在某一特定姿态(如附图所示)下各部件之间的相对位置关系、运动情况等,如果该特定姿态发生改变时,则该方向性指示也相应地随之改变。It should be noted that all directional indications (such as up, down, left, right, front, back...) in the embodiments of the present application are only used to explain the relationship between various components under a certain posture (as shown in the accompanying drawings). The relative positional relationship, the movement situation, etc., if the specific posture changes, the directional indication also changes accordingly.

另外,在本申请中如涉及“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, descriptions such as "first", "second", etc. in this application are only for descriptive purposes, and should not be construed as indicating or implying their relative importance or implicitly indicating the number of indicated technical features. Thus, a feature delimited with "first", "second" may expressly or implicitly include at least one of that feature. In the description of the present application, "plurality" means at least two, such as two, three, etc., unless expressly and specifically defined otherwise.

在本申请中,除非另有明确的规定和限定,术语“连接”、“固定”等应做广义理解,例如,“固定”可以是固定连接,也可以是可拆卸连接,或成一体;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通或两个元件的相互作用关系,除非另有明确的限定。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本申请中的具体含义。In this application, unless otherwise expressly specified and limited, the terms "connected", "fixed" and the like should be understood in a broad sense, for example, "fixed" may be a fixed connection, a detachable connection, or an integrated; It can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be an internal communication between two elements or an interaction relationship between the two elements, unless otherwise explicitly defined. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to specific situations.

另外,本申请各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本申请要求的保护范围之内。In addition, the technical solutions between the various embodiments of the present application can be combined with each other, but must be based on the realization by those of ordinary skill in the art. When the combination of technical solutions is contradictory or cannot be realized, it should be considered that the combination of technical solutions does not exist and is not within the scope of protection claimed in this application.

下面结合图1至图6来描述根据本申请示例性实施方式的用于进行调试方法。需要注意的是,下述应用场景仅是为了便于理解本申请的精神和原理而示出,本申请的实施方式在此方面不受任何限制。相反,本申请的实施方式可以应用于适用的任何场景。The method for debugging according to an exemplary embodiment of the present application will be described below with reference to FIGS. 1 to 6 . It should be noted that the following application scenarios are only shown to facilitate understanding of the spirit and principles of the present application, and the embodiments of the present application are not limited in this respect. Rather, the embodiments of the present application can be applied to any scenario where applicable.

本申请还提出一种调试方法、装置、目标终端及介质。The present application also provides a debugging method, device, target terminal and medium.

图1示意性地示出了根据本申请实施方式的一种调试方法的流程示意图。如图1所示,该方法包括:FIG. 1 schematically shows a schematic flowchart of a debugging method according to an embodiment of the present application. As shown in Figure 1, the method includes:

S101,当检测到发生崩溃事件时,调取目标进程的标识信息,崩溃事件为目标进程发生崩溃的事件。S101, when a crash event is detected, the identification information of the target process is retrieved, and the crash event is an event in which the target process crashes.

首先需要说明的是,本申请中,不对检测崩溃事件的设备做具体限定,例如,本申请可以由智能设备获取用户生成的启动指令,也可以由服务器获取用户生成的启动指令。First of all, it should be noted that this application does not specifically limit the device for detecting a crash event. For example, in this application, a smart device may obtain a user-generated activation instruction, or a server may obtain a user-generated activation instruction.

另外,本申请中,不对智能设备做具体限定,即智能设备可以为任意的智能设备,例如,手机,电子笔记本,PDA等等。In addition, in this application, the smart device is not specifically limited, that is, the smart device can be any smart device, for example, a mobile phone, an electronic notebook, a PDA, and so on.

以智能设备为例,本申请中,可以首先在智能设备检测到发生崩溃事件时,调取目标进程的标识信息。需要说明的是,本申请中目标进程可以为处理任意业务的进程程序。Taking a smart device as an example, in the present application, the identification information of the target process may be retrieved first when the smart device detects a crash event. It should be noted that the target process in this application may be a process program that processes any business.

其中,当目标进程程序发生异常故障时,该进程便有可能发生crash。进一步的,crash即为程序发生异常时导致的进程崩溃事件。通常在某进程发生crash时,进程会收到以下几种信号:SIGQUIT,SIQILL,SIGTARP,SIGABRT,SIGBUS,SIGFPE。更进一步的,在进程发生crash时,系统会产生基于该进程的Tombstone文件。其中,tombstone文件中只会记录该进程的简要信息,包括发生问题时候各个寄存器值以及附近memory里的信息,还记录了该进程栈里面各帧的简要信息。Among them, when the target process program fails abnormally, the process may crash. Further, crash is a process crash event caused by a program exception. Usually when a process crashes, the process will receive the following signals: SIGQUIT, SIQILL, SIGTARP, SIGABRT, SIGBUS, SIGFPE. Further, when a process crashes, the system will generate a tombstone file based on the process. Among them, only the brief information of the process is recorded in the tombstone file, including the value of each register when the problem occurs and the information in the nearby memory, and the brief information of each frame in the process stack is also recorded.

可选的,本申请中不对标识信息做具体限定,即标识信息可以为该目标进程的名称信息。也可以为该目标进程所处理业务的业务名称信息。标识信息的具体变化并不会影响本申请的保护范围。Optionally, the identification information is not specifically limited in this application, that is, the identification information may be the name information of the target process. It can also be the business name information of the business handled by the target process. The specific change of the identification information will not affect the protection scope of this application.

S102,将目标进程的标识信息与预设的待调试名单进行匹配。S102: Match the identification information of the target process with a preset list to be debugged.

可选的,本申请中在调取目标进程的标识信息之后,可以进一步的将该目标进程的标识信息与预设的待调试名单中的各进程标识信息进行匹配。以确定该目标进程是否存在于待调试名单中。Optionally, after calling the identification information of the target process in this application, the identification information of the target process may be further matched with the identification information of each process in the preset list to be debugged. To determine whether the target process exists in the to-be-debugged list.

进一步的,在用户开启core dump属性的时候,在智能设备中,任何进程发生crash时,都会自动生成该进程的core dump信息。然而当崩溃进程过多时,则会产生大量的coredump信息。这也可能出现用户想要的特定进程的core dump信息被其他不重要core dump信息所覆盖的弊端。因此,本申请中可以在检测到目标进程发生崩溃事件时,可以不直接生成该进程的core dump信息,而是首先将目标进程的标识信息与预设的待调试名单进行匹配。Further, when the user enables the core dump attribute, in the smart device, when any process crashes, the core dump information of the process will be automatically generated. However, when there are too many crash processes, a lot of coredump information will be generated. This may also have the disadvantage that the core dump information of a specific process that the user wants is overwritten by other unimportant core dump information. Therefore, in the present application, when a crash event of the target process is detected, the core dump information of the process may not be directly generated, but the identification information of the target process is firstly matched with the preset list to be debugged.

可以理解的,本申请中的待调试名单即为开发人员需要的想要抓取core dump信息的进程名单。通过设置待调试名单,可以针对性的选取开发人员需要的进程产生的coredump信息。It can be understood that the to-be-debugged list in this application is the list of processes that developers want to capture core dump information. By setting the list to be debugged, the coredump information generated by the process required by the developer can be selected in a targeted manner.

S103,当标识信息与待调试名单匹配成功后,生成目标进程的core dump信息。S103, after the identification information is successfully matched with the list to be debugged, the core dump information of the target process is generated.

可选的,本申请中,只有在确定将发生崩溃后的目标进程的标识信息与待调试名单进行匹配成功后,才允许系统生成目标进程的core dump信息。从而避免了大量多余coredump信息占用系统内存的弊端。Optionally, in this application, only after it is determined that the identification information of the target process after the crash is successfully matched with the list to be debugged, the system is allowed to generate core dump information of the target process. This avoids the disadvantage that a large amount of redundant coredump information occupies the system memory.

本申请中,当检测到发生崩溃事件时,调取目标进程的标识信息。并在确定将目标进程的标识信息与预设的待调试名单进行匹配成功后,生成目标进程的core dump信息。通过应用本申请的技术方案,可以在检测到存在目标进程发生崩溃时,首先确定该进程是否为开发人员后期调试需要的进程程序,并在确定后,才允许该目标进程生成core dump信息。进而可以避免相关技术中存在的由于智能终端存储空间不足所导致的,崩溃进程的core dump信息被其他无用core dump信息所覆盖而无法对崩溃进程进行调试的问题。In this application, when a crash event is detected, the identification information of the target process is retrieved. And after it is determined that the identification information of the target process is successfully matched with the preset list to be debugged, the core dump information of the target process is generated. By applying the technical solution of the present application, when it is detected that the target process has crashed, it can be first determined whether the process is a process program required by the developer for later debugging, and after the determination, the target process is allowed to generate core dump information. Further, the problem in the related art that the core dump information of the crashed process is overwritten by other useless core dump information due to insufficient storage space of the intelligent terminal, and the crashed process cannot be debugged can be avoided.

进一步可选的,在本申请的一种实施方式中,在S103(当标识信息与待调试名单匹配成功后,生成目标进程的core dump信息)中,还包括一种具体的实施方式,如图2所示,包括:Further optionally, in an implementation manner of the present application, in S103 (when the identification information and the list to be debugged are successfully matched, the core dump information of the target process is generated), a specific implementation manner is also included, as shown in FIG. 2, including:

S201,当检测到发生崩溃事件时,调取目标进程的标识信息。S201, when a crash event is detected, the identification information of the target process is retrieved.

S202,将目标进程的标识信息与预设的待调试名单进行匹配。S202: Match the identification information of the target process with a preset list to be debugged.

S203,当标识信息与待调试名单匹配成功后,开启目标进程的生成功能,生成功能用于生成core dump信息。S203, after the identification information is successfully matched with the list to be debugged, the generation function of the target process is enabled, and the generation function is used to generate core dump information.

可选的,本申请中在确定将目标进程的标识信息与预设的待调试名单进行匹配成功后,可以开启基于该目标进程的,用于生成core dump信息的生成功能。Optionally, in this application, after it is determined that the identification information of the target process is successfully matched with the preset list to be debugged, the generation function for generating core dump information based on the target process may be enabled.

S204,设置目标进程的ulimit属性信息。S204, set the ulimit attribute information of the target process.

可选的,在安卓平台上,本申请可以首先基于Linux user space实现本申请所提及的调试方法,即在Linux user space中,本申请可以开始设置目标进程的ulimit属性信息。Optionally, on the Android platform, the present application may first implement the debugging method mentioned in the present application based on the Linux user space, that is, in the Linux user space, the present application may start to set the ulimit attribute information of the target process.

其中需要说明的是,在设置目标进程的ulimit属性信息之前,还可以通过以下方式将目标进程的标识信息与预设的待调试名单进行匹配:It should be noted that before setting the ulimit attribute information of the target process, the identification information of the target process can also be matched with the preset list to be debugged in the following ways:

建立第一属性以及第二属性,第一属性用于标记是否检测崩溃事件,第二属性用于存储待调试名单;establishing a first attribute and a second attribute, the first attribute is used to mark whether to detect a crash event, and the second attribute is used to store the list to be debugged;

可选的,本申请可以首先建立一个第一属性P1,该属性P1可以用于标识当前是否需要开始检测崩溃事件。也就是说,当开发人员需要获取特定进程的core dump信息时,即可以将该属性值设置为TRUE。以使在智能设备开机的时候在init里监听第一属性值为TRUE时,确定当前需要检测崩溃事件,并可以创建一个用于保存要产生core dump信息的coredump文件。用于存储目标进程生成的各个core dump信息。Optionally, the present application may first establish a first attribute P1, and the attribute P1 may be used to identify whether it is currently necessary to start detecting a crash event. That is to say, when developers need to obtain core dump information of a specific process, they can set this property value to TRUE. So that when the first attribute value is TRUE in init when the smart device is powered on, it is determined that the current crash event needs to be detected, and a coredump file for saving the core dump information to be generated can be created. Used to store each core dump information generated by the target process.

进一步可选的,本申请还可以建立一个第二属性P2,该属性P2可以用于存储待调试名单。也就是说,当开发人员需要获取特定进程的core dump信息时,既可以将每一个发生崩溃事件的进程与该待调试名单进行匹配对比。从而根据匹配结果选择是否允许生成core dump信息。Further optionally, the present application can also establish a second attribute P2, and the attribute P2 can be used to store the list to be debugged. That is to say, when developers need to obtain core dump information of a specific process, they can match and compare each process with a crash event with the to-be-debugged list. Thus, according to the matching result, you can choose whether to allow the generation of core dump information.

需要说明的是,本申请中不对第二属性的存储位置做具体限定,例如第二属性P2可以存储于proc文件系统中,第二属性P2也可以存储于sysfc文件系统中。It should be noted that this application does not specifically limit the storage location of the second attribute. For example, the second attribute P2 may be stored in the proc file system, and the second attribute P2 may also be stored in the sysfc file system.

基于第一属性以及第二属性,将目标进程的标识信息与预设的待调试名单进行匹配。Based on the first attribute and the second attribute, the identification information of the target process is matched with the preset list to be debugged.

进一步的,本申请可以基于上述提及的第一属性P1以及第二属性P2,目标进程的标识信息与预设的待调试名单进行匹配。并当标识信息与待调试名单匹配成功后,生成目标进程的core dump信息。Further, based on the first attribute P1 and the second attribute P2 mentioned above, the present application may match the identification information of the target process with the preset list to be debugged. And when the identification information is successfully matched with the list to be debugged, the core dump information of the target process is generated.

S205,当检测到目标进程的ulimit属性信息被设置为RLIM_INFITY时,生成目标进程的core dump信息。S205, when it is detected that the ulimit attribute information of the target process is set to RLIM_INFITY, the core dump information of the target process is generated.

可选的,在一种可能的实施方式中,本申请可以在该目标进程启动时,将目标进程的ulimit属性信息设置为RLIM_INFITY。通过设置目标进程的ulimit属性,可以将内核所能支持的资源上限最大化的提供给该目标进程。进而保证该目标进程生成core dump信息的大小不会受到限制。ulimit属性可以直接影响进程的执行状况。其有两个最重要的概念:soft limit和hard limit。soft limit是指内核所能支持的资源上限。比如对于RLIMIT_NOFILE(一个进程能打开的最大文件数,内核默认是1024),soft limit最大也只能达到1024。对于RLIM_CORE(core文件的大小,内核不做限制),soft limit最大能是unlimited。hard limit在资源中只是作为soft limit的上限。当你设置hard limit后,你以后设置的soft limit只能小于hard limit。要说明的是,hard limit只针对非特权进程,也就是进程的有效用户ID(effective user ID)不是0的进程。具有特权级别的进程(具有属性CAP_SYS_RESOURCE),soft limit则只有内核上限。Optionally, in a possible implementation manner, the present application may set the ulimit attribute information of the target process to RLIM_INFITY when the target process is started. By setting the ulimit attribute of the target process, the upper limit of resources supported by the kernel can be maximized to the target process. This ensures that the size of the core dump information generated by the target process will not be limited. The ulimit attribute can directly affect the execution status of the process. It has two most important concepts: soft limit and hard limit. The soft limit refers to the upper limit of resources that the kernel can support. For example, for RLIMIT_NOFILE (the maximum number of files a process can open, the kernel defaults to 1024), the maximum soft limit can only reach 1024. For RLIM_CORE (the size of the core file, the kernel does not limit it), the maximum soft limit can be unlimited. The hard limit is only the upper limit of the soft limit in the resource. After you set the hard limit, the soft limit you set in the future can only be smaller than the hard limit. It should be noted that the hard limit is only for unprivileged processes, that is, processes whose effective user ID (effective user ID) is not 0. For a process with a privileged level (with the attribute CAP_SYS_RESOURCE), the soft limit is only the upper limit of the kernel.

进一步的,本申请中当确定目标进程的ulimit属性信息被设置为RLIM_INFITY时,则判定目标进程可以开始生成core dump信息,进一步的,允许生成目标进程的core dump信息。Further, in the present application, when it is determined that the ulimit attribute information of the target process is set to RLIM_INFITY, it is determined that the target process can start to generate core dump information, and further, it is allowed to generate core dump information of the target process.

在本申请一种可能的实施方式,如图3所示,为智能设备在Linux user space中实现调试方法的流程图。由图3可以看出,S2061中,本申请首先需要设定第一属性和第二属性,其中,第一属性用于标识当前是否需要开始检测崩溃事件,第二属性用于存储待调试名单。当手机重启或开机时,当基于第一属性检测到属性值为TRUE时,则在S2062中开启监测智能设备是否发生有崩溃事件。并在S2063检测到目标进程发生崩溃事件时,在S2064判断目标进程是否能与第二属性中的待调试名单相匹配。如匹配成功,进入S2065,将目标进程的ulimit属性设置为RLIM_INFITY,并进一步的生成进程A的core dump信息。如匹配不成功,进入S2066,禁止将目标进程的ulimit属性设置为RLIM_INFITY,从而也就不会生成目标进程的core dump信息。In a possible implementation manner of the present application, as shown in FIG. 3 , it is a flowchart of a method for implementing debugging in Linux user space for a smart device. As can be seen from FIG. 3 , in S2061 , the application first needs to set a first attribute and a second attribute, wherein the first attribute is used to identify whether it is currently necessary to start detecting a crash event, and the second attribute is used to store the list to be debugged. When the mobile phone is restarted or powered on, and when the attribute value is TRUE based on the first attribute detection, in S2062, monitoring whether the smart device has a crash event is enabled. And when it is detected in S2063 that a crash event occurs in the target process, it is determined in S2064 whether the target process can match the list to be debugged in the second attribute. If the match is successful, go to S2065, set the ulimit attribute of the target process to RLIM_INFITY, and further generate the core dump information of process A. If the match is unsuccessful, go to S2066, it is forbidden to set the ulimit attribute of the target process to RLIM_INFITY, so that the core dump information of the target process will not be generated.

本申请中,当检测到发生崩溃事件时,调取目标进程的标识信息。并在确定将目标进程的标识信息与预设的待调试名单进行匹配成功后,将目标进程的ulimit属性设置为RLIM_INFITY,进而生成目标进程的core dump信息。通过应用本申请的技术方案,可以在检测到存在目标进程发生崩溃时,首先确定该进程是否为开发人员后期调试需要的进程程序,并在确定后,将目标进程的ulimit属性进行修改以允许该目标进程生成core dump信息的大小不受限制。进而可以避免相关技术中存在的由于智能终端存储空间不足所导致的,需要的进程的core dump信息被其他无用core dump信息所覆盖清除的问题。In this application, when a crash event is detected, the identification information of the target process is retrieved. And after it is determined that the identification information of the target process is successfully matched with the preset list to be debugged, the ulimit attribute of the target process is set to RLIM_INFITY, and then the core dump information of the target process is generated. By applying the technical solution of the present application, when it is detected that the target process has crashed, it can be first determined whether the process is a process program required by the developer for later debugging, and after the determination, the ulimit attribute of the target process can be modified to allow the The size of the core dump information generated by the target process is not limited. Further, the problem in the related art that the core dump information of the required process is overwritten and cleared by other useless core dump information caused by insufficient storage space of the intelligent terminal can be avoided.

进一步可选的,在本申请的一种实施方式中,在S103(当标识信息与待调试名单匹配成功后,生成目标进程的core dump信息)中,还包括一种具体的实施方式,如图4所示,包括:Further optionally, in an implementation manner of the present application, in S103 (when the identification information and the list to be debugged are successfully matched, the core dump information of the target process is generated), a specific implementation manner is also included, as shown in FIG. 4, including:

S301,当检测到发生崩溃事件时,调取目标进程的标识信息。S301, when a crash event is detected, the identification information of the target process is retrieved.

S302,将目标进程的ulimit属性信息设置为RLIM_INFITY。S302, set the ulimit attribute information of the target process to RLIM_INFITY.

可选的,在安卓平台上,本申请还可以基于Linux kernel space实现本申请所提及的调试方法,即在Linux kernel space中,本申请可以将目标进程的ulimit属性信息设置为RLIM_INFITY。Optionally, on the Android platform, the present application can also implement the debugging method mentioned in the present application based on the Linux kernel space, that is, in the Linux kernel space, the present application can set the ulimit attribute information of the target process as RLIM_INFITY.

可选的,本申请也可以首先建立一个第一属性P1,该属性P1可以用于标识当前是否需要开始检测崩溃事件。也就是说,当开发人员需要获取特定进程的core dump信息时,即可以将该属性值设置为TRUE。以使在智能设备开机的时候在init里监听第一属性值为TRUE时,确定当前需要检测崩溃事件,并可以创建一个用于保存要产生core dump信息的core dump文件。用于存储目标进程生成的各个core dump信息。同样的,本申请还可以建立一个第二属性P2,该属性P2可以用于存储待调试名单。Optionally, the present application may first establish a first attribute P1, and the attribute P1 may be used to identify whether it is currently necessary to start detecting a crash event. That is to say, when developers need to obtain core dump information of a specific process, they can set this property value to TRUE. So that when the first attribute value is TRUE in init when the smart device is turned on, it is determined that the current crash event needs to be detected, and a core dump file for saving the core dump information to be generated can be created. Used to store each core dump information generated by the target process. Similarly, the present application can also establish a second attribute P2, and the attribute P2 can be used to store the list to be debugged.

S303,将目标进程的标识信息与预设的待调试名单进行匹配。S303: Match the identification information of the target process with a preset list to be debugged.

S304,当标识信息与待调试名单匹配成功后,开启信号处理函数的所述生成功能。S304, after the identification information is successfully matched with the list to be debugged, the generating function of the signal processing function is enabled.

本申请中,可以在Linux系统中的内核的信号处理函数的流程里增加一个匹配目标进程标识信息的操作。例如,以信号处理函数为do_coredump函数为例,本申请可以将目标进程的标识信息与存储于sysfs文件系统中的待调试名单进行匹配。并在确定该标识信息存在于待调试名单中时,才会开启do_coredump函数中生成core dump信息的流程,进而生成该目标进程的core dump信息。可以理解的,由于在智能设备中,生成core dump信息的途径必然依靠于信号处理函数,则在禁止信号处理函数中生成core dump信息的流程时,也必然无法生成core dump信息。In the present application, an operation of matching the identification information of the target process may be added to the flow of the signal processing function of the kernel in the Linux system. For example, taking the signal processing function as the do_coredump function as an example, the present application can match the identification information of the target process with the to-be-debugged list stored in the sysfs file system. When it is determined that the identification information exists in the list to be debugged, the process of generating core dump information in the do_coredump function will be started, and then the core dump information of the target process will be generated. It is understandable that since in smart devices, the way to generate core dump information must depend on the signal processing function, when the process of generating core dump information in the signal processing function is prohibited, core dump information must not be generated.

S305,利用信号处理函数,生成目标进程的core dump信息。S305, use the signal processing function to generate core dump information of the target process.

可选的,本申请中可以在开启信号处理函数中生成core dump信息的流程后,便可以进一步的利用该利用信号处理函数,生成该目标进程的core dump信息。Optionally, in the present application, after the process of generating core dump information in the signal processing function can be enabled, the signal processing function can be further utilized to generate core dump information of the target process.

在本申请一种可能的实施方式,如图5所示,为智能设备在Linux kernel space中实现调试方法的流程图。由图5可以看出,S3061中,本申请同样需要首先设定第一属性和第二属性,其中,第一属性用于标识当前是否需要开始检测崩溃事件,第二属性用于存储待调试名单。当手机重启或开机时,当基于第一属性检测到属性值为TRUE时,则在S3062,开启监测智能设备是否发生有崩溃事件。并在S3063中检测到目标进程发生崩溃事件时,S3064判断目标进程是否能与第二属性中的待调试名单相匹配。如匹配成功,则进入S3065,利用信号处理函数将生成目标进程的core dump信息流程开始启用,并进一步的生成目标进程的core dump信息。如匹配不成功,则进入S3066,禁止启用信号处理函数将目标进程的coredump信息流程,从而不会生成目标进程的core dump信息。In a possible implementation manner of the present application, as shown in FIG. 5 , it is a flowchart of a method for implementing debugging in Linux kernel space for a smart device. As can be seen from Figure 5, in S3061, the application also needs to first set the first attribute and the second attribute, wherein the first attribute is used to identify whether it is currently necessary to start detecting crash events, and the second attribute is used to store the list to be debugged. . When the mobile phone is restarted or powered on, and when the attribute value is TRUE based on the first attribute detection, in S3062, the monitoring of whether a crash event occurs in the smart device is started. And when a crash event of the target process is detected in S3063, S3064 determines whether the target process can match the list to be debugged in the second attribute. If the match is successful, enter S3065, use the signal processing function to start the process of generating the core dump information of the target process, and further generate the core dump information of the target process. If the match is unsuccessful, go to S3066, prohibit enabling the signal processing function to flow the coredump information of the target process, so that the coredump information of the target process will not be generated.

本申请中,当检测到发生崩溃事件时,调取目标进程的标识信息。并在确定将目标进程的标识信息与预设的待调试名单进行匹配成功后,将目标进程的ulimit属性设置为RLIM_INFITY,进而生成目标进程的core dump信息。通过应用本申请的技术方案,可以在检测到存在目标进程发生崩溃时,首先确定该进程是否为开发人员后期调试需要的进程程序,并在确定后,将目标进程的ulimit属性进行修改以允许该目标进程生成core dump信息的大小不受限制。进而可以避免相关技术中存在的由于智能终端存储空间不足所导致的,需要的进程的core dump信息被其他无用core dump信息所覆盖清除的问题。In this application, when a crash event is detected, the identification information of the target process is retrieved. And after it is determined that the identification information of the target process is successfully matched with the preset list to be debugged, the ulimit attribute of the target process is set to RLIM_INFITY, and then the core dump information of the target process is generated. By applying the technical solution of the present application, when it is detected that the target process has crashed, it can be first determined whether the process is a process program required by the developer for later debugging, and after the determination, the ulimit attribute of the target process can be modified to allow the The size of the core dump information generated by the target process is not limited. Further, the problem in the related art that the core dump information of the required process is overwritten and cleared by other useless core dump information caused by insufficient storage space of the intelligent terminal can be avoided.

本申请中,当检测到发生崩溃事件时,调取目标进程的标识信息。并在确定将目标进程的标识信息与预设的待调试名单进行匹配成功后,允许利用信号处理函数生成目标进程的core dump信息。通过应用本申请的技术方案,可以在检测到存在目标进程发生崩溃时,首先确定该进程是否为开发人员后期调试需要的进程程序,并在确定后,开启信号处理函数的生成core dump信息的功能。进而可以避免相关技术中存在的由于智能终端存储空间不足所导致的,需要的进程的core dump信息被其他无用core dump信息所覆盖清除的问题。In this application, when a crash event is detected, the identification information of the target process is retrieved. And after it is determined that the identification information of the target process is successfully matched with the preset list to be debugged, the signal processing function is allowed to generate core dump information of the target process. By applying the technical solution of the present application, when it is detected that the target process has crashed, it can be first determined whether the process is a process program required by the developer for later debugging, and after the determination, the function of generating core dump information of the signal processing function can be enabled . Further, the problem in the related art that the core dump information of the required process is overwritten and cleared by other useless core dump information caused by insufficient storage space of the intelligent terminal can be avoided.

进一步可选的,在本申请的一种实施方式中,在S103(当标识信息与待调试名单匹配成功后,生成目标进程的core dump信息)之后,还包括一种具体的实施方式,如图6所示,包括:Further optionally, in an embodiment of the present application, after S103 (when the identification information is successfully matched with the list to be debugged, the core dump information of the target process is generated), a specific implementation is also included, as shown in FIG. 6, including:

S401,当检测到发生崩溃事件时,调取目标进程的标识信息。S401, when a crash event is detected, the identification information of the target process is retrieved.

S402,将目标进程的标识信息与预设的待调试名单进行匹配。S402: Match the identification information of the target process with a preset list to be debugged.

S403,当标识信息与待调试名单匹配成功后,生成目标进程的core dump信息。S403, after the identification information is successfully matched with the list to be debugged, the core dump information of the target process is generated.

S404,当确定目标进程不在待调试名单中时,将基于目标进程生成的core dump信息进行清除。S404, when it is determined that the target process is not in the list to be debugged, the core dump information generated based on the target process is cleared.

可选的,本申请中当检测到目标进程发生崩溃事件后,可以基于目标进程的标识信息与预设的待调试名单进行匹配的结果,选择生成目标进程的core dump信息之后。为了进一步的节省智能设备的存储资源,当智能设备检测到该目标进程从待调试名单中清除之后,则可以判定该目标进程并不在开发人员需要调试的进程范围之内。进一步的,将智能设备中所有基于该目标进程生成的core dump信息进行清除。以节省智能设备的内存资源。为其他进程的调试减小负荷。Optionally, in the present application, when a crash event of the target process is detected, the core dump information of the target process may be selected based on the result of matching the identification information of the target process with the preset list to be debugged. In order to further save the storage resources of the smart device, when the smart device detects that the target process is cleared from the to-be-debugged list, it can be determined that the target process is not within the scope of the process that the developer needs to debug. Further, clear all core dump information generated based on the target process in the smart device. To save memory resources of smart devices. Reduce the load for debugging other processes.

本申请中,当检测到发生崩溃事件时,调取目标进程的标识信息。并在确定将目标进程的标识信息与预设的待调试名单进行匹配成功后,生成目标进程的core dump信息,再当确定目标进程不在待调试名单中时,将基于目标进程生成的core dump信息进行清除。通过应用本申请的技术方案,可以在确定目标进程为开发人员后期调试需要的进程程序定后,允许该目标进程生成core dump信息,并在确定该目标进程不在待调试名单后,将基于该目标进程生成core dump信息进行清除。进而可以避免相关技术中存在的由于智能终端存储过多core dump信息所导致的,关键core dump信息被覆盖而无法对崩溃进程进行调试的问题。In this application, when a crash event is detected, the identification information of the target process is retrieved. And after it is determined that the identification information of the target process is successfully matched with the preset list to be debugged, the core dump information of the target process is generated, and when it is determined that the target process is not in the list to be debugged, it will be based on the core dump information generated by the target process. to clear. By applying the technical solution of the present application, it is possible to allow the target process to generate core dump information after it is determined that the target process is the process program required by the developer for later debugging, and after it is determined that the target process is not in the to-be-debugged list, based on the target process The process generates core dump information for clearing. Further, the problem in the related art that the key core dump information is overwritten and the crash process cannot be debugged due to the smart terminal storing too much core dump information can be avoided.

在本申请的另外一种实施方式中,如图7所示,本申请还提供一种调试装置,该装置包括检测模块501,匹配模块502,生成模块503,其中,In another implementation manner of the present application, as shown in FIG. 7 , the present application further provides a debugging device, the device includes a detection module 501 , a matching module 502 , and a generation module 503 , wherein,

检测模块501,被配置为当检测到发生崩溃事件时,调取目标进程的标识信息,所述崩溃事件为所述目标进程发生崩溃的事件;The detection module 501 is configured to call identification information of a target process when a crash event is detected, where the crash event is an event in which the target process crashes;

匹配模块502,被配置为将所述目标进程的标识信息与预设的待调试名单进行匹配;The matching module 502 is configured to match the identification information of the target process with a preset list to be debugged;

生成模块503,被配置为当所述标识信息与所述待调试名单匹配成功后,生成所述目标进程的core dump信息。The generating module 503 is configured to generate core dump information of the target process after the identification information is successfully matched with the to-be-debugged list.

本申请中,当检测到发生崩溃事件时,调取目标进程的标识信息。并在确定将目标进程的标识信息与预设的待调试名单进行匹配成功后,生成目标进程的core dump信息。通过应用本申请的技术方案,可以在检测到存在目标进程发生崩溃时,首先确定该进程是否为开发人员后期调试需要的进程程序,并在确定后,才允许该目标进程生成core dump信息。进而可以避免相关技术中存在的由于智能终端存储空间不足所导致的,崩溃进程的core dump信息被其他无用core dump信息所覆盖而无法对崩溃进程进行调试的问题。In this application, when a crash event is detected, the identification information of the target process is retrieved. And after it is determined that the identification information of the target process is successfully matched with the preset list to be debugged, the core dump information of the target process is generated. By applying the technical solution of the present application, when it is detected that the target process has crashed, it can be first determined whether the process is a process program required by the developer for later debugging, and after the determination, the target process is allowed to generate core dump information. Further, the problem in the related art that the core dump information of the crashed process is overwritten by other useless core dump information due to insufficient storage space of the intelligent terminal, and the crashed process cannot be debugged can be avoided.

可选的,在本申请的另一种实施方式中,生成模块503还包括:开启单元,生成单元,其中:Optionally, in another implementation manner of the present application, the generating module 503 further includes: an opening unit, a generating unit, wherein:

开启单元,被配置为当所述标识信息与所述待调试名单匹配成功后,开启所述目标进程的生成功能,所述生成功能用于生成core dump信息;an enabling unit, configured to enable the generation function of the target process after the identification information is successfully matched with the list to be debugged, where the generation function is used to generate core dump information;

开启单元,被配置为生成所述目标进程的core dump信息。The startup unit is configured to generate core dump information of the target process.

在本申请的另一种实施方式中,生成模块503还包括:设置单元,其中:In another embodiment of the present application, the generating module 503 further includes: a setting unit, wherein:

设置单元,被配置为当所述标识信息与所述待调试名单匹配成功后,设置所述目标进程的ulimit属性信息;a setting unit, configured to set the ulimit attribute information of the target process after the identification information is successfully matched with the to-be-debugged list;

生成单元,被配置为当检测到所述目标进程的ulimit属性信息被设置为RLIM_INFITY时,生成所述目标进程的core dump信息。The generating unit is configured to generate core dump information of the target process when detecting that the ulimit attribute information of the target process is set to RLIM_INFITY.

在本申请的另一种实施方式中,生成模块503还包括:建立单元,匹配单元,其中:In another embodiment of the present application, the generating module 503 further includes: a establishing unit and a matching unit, wherein:

建立单元,被配置为建立第一属性以及第二属性,所述第一属性用于标记是否检测所述崩溃事件,所述第二属性用于存储所述待调试名单;an establishment unit, configured to establish a first attribute and a second attribute, the first attribute is used to mark whether to detect the crash event, and the second attribute is used to store the to-be-debugged list;

匹配单元,被配置为基于所述第一属性以及第二属性,将所述目标进程的标识信息与预设的待调试名单进行匹配。The matching unit is configured to match the identification information of the target process with a preset list to be debugged based on the first attribute and the second attribute.

在本申请的另一种实施方式中,生成模块503还包括:开启单元,其中:In another embodiment of the present application, the generating module 503 further includes: an opening unit, wherein:

设置单元,被配置为将所述目标进程的ulimit属性信息设置为RLIM_INFITY;a setting unit, configured to set the ulimit attribute information of the target process to RLIM_INFITY;

开启单元,被配置为当所述标识信息与所述待调试名单匹配成功后,开启所述目标进程的生成功能。an enabling unit, configured to enable the generation function of the target process after the identification information is successfully matched with the to-be-debugged list.

在本申请的另一种实施方式中,生成模块503还包括:In another embodiment of the present application, the generating module 503 further includes:

开启单元,被配置为当所述标识信息与所述待调试名单匹配成功后,开启信号处理函数的所述生成功能;an enabling unit, configured to enable the generating function of the signal processing function after the identification information is successfully matched with the to-be-debugged list;

生成单元,被配置为利用所述信号处理函数,生成所述目标进程的core dump信息。The generating unit is configured to use the signal processing function to generate core dump information of the target process.

在本申请的另一种实施方式中,还包括,确定模块504:In another embodiment of the present application, it further includes a determining module 504:

确定模块504,被配置为当确定所述目标进程不在所述待调试名单中时,将基于所述目标进程生成的core dump信息进行清除。The determining module 504 is configured to clear the core dump information generated based on the target process when it is determined that the target process is not in the to-be-debugged list.

图8是根据一示例性实施例示出的一种电子设备的逻辑结构框图。例如,电子设备600可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 8 is a block diagram of a logical structure of an electronic device according to an exemplary embodiment. For example, electronic device 600 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, and the like.

参照图8,电子设备600可以包括以下一个或多个组件:处理器601和存储器602。Referring to FIG. 8 , an electronic device 600 may include one or more of the following components: a processor 601 and a memory 602 .

处理器601可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器601可以采用DSP(Digital Signal Processing,数字信号处理)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。处理器601也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central ProcessingUnit,中央处理器);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器601可以在集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器601还可以包括AI(Artificial Intelligence,人工智能)处理器,该AI处理器用于处理有关机器学习的计算操作。The processor 601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 601 may adopt at least one hardware form among DSP (Digital Signal Processing, digital signal processing), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, programmable logic array) accomplish. The processor 601 may also include a main processor and a coprocessor. The main processor is a processor used to process data in a wake-up state, also called a CPU (Central Processing Unit, central processing unit); A low-power processor for processing data in a standby state. In some embodiments, the processor 601 may be integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used for rendering and drawing the content that needs to be displayed on the display screen. In some embodiments, the processor 601 may further include an AI (Artificial Intelligence, artificial intelligence) processor, where the AI processor is used to process computing operations related to machine learning.

存储器602可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器602还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器602中的非暂态的计算机可读存储介质用于存储至少一个指令,该至少一个指令用于被处理器601所执行以实现本申请中方法实施例提供的互动特效标定方法。Memory 602 may include one or more computer-readable storage media, which may be non-transitory. Memory 602 may also include high-speed random access memory, as well as non-volatile memory, such as one or more disk storage devices, flash storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 602 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 601 to implement the interactive special effects provided by the method embodiments in this application. Calibration method.

在一些实施例中,电子设备600还可选包括有:外围设备接口603和至少一个外围设备。处理器601、存储器602和外围设备接口603之间可以通过总线或信号线相连。各个外围设备可以通过总线、信号线或电路板与外围设备接口603相连。具体地,外围设备包括:射频电路604、触摸显示屏605、摄像头606、音频电路607、定位组件608和电源609中的至少一种。In some embodiments, the electronic device 600 may also optionally include: a peripheral device interface 603 and at least one peripheral device. The processor 601, the memory 602 and the peripheral device interface 603 may be connected through a bus or a signal line. Each peripheral device can be connected to the peripheral device interface 603 through a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 604 , a touch display screen 605 , a camera 606 , an audio circuit 607 , a positioning component 608 and a power supply 609 .

外围设备接口603可被用于将I/O(Input/Output,输入/输出)相关的至少一个外围设备连接到处理器601和存储器602。在一些实施例中,处理器601、存储器602和外围设备接口603被集成在同一芯片或电路板上;在一些其他实施例中,处理器601、存储器602和外围设备接口603中的任意一个或两个可以在单独的芯片或电路板上实现,本实施例对此不加以限定。The peripheral device interface 603 may be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 601 and the memory 602 . In some embodiments, processor 601, memory 602, and peripherals interface 603 are integrated on the same chip or circuit board; in some other embodiments, any one of processor 601, memory 602, and peripherals interface 603 or The two can be implemented on a separate chip or circuit board, which is not limited in this embodiment.

射频电路604用于接收和发射RF(Radio Frequency,射频)信号,也称电磁信号。射频电路604通过电磁信号与通信网络以及其他通信设备进行通信。射频电路604将电信号转换为电磁信号进行发送,或者,将接收到的电磁信号转换为电信号。可选地,射频电路604包括:天线系统、RF收发器、一个或多个放大器、调谐器、振荡器、数字信号处理器、编解码芯片组、用户身份模块卡等等。射频电路604可以通过至少一种无线通信协议来与其它终端进行通信。该无线通信协议包括但不限于:城域网、各代移动通信网络(2G、3G、4G及5G)、无线局域网和/或WiFi(Wireless Fidelity,无线保真)网络。在一些实施例中,射频电路604还可以包括NFC(Near Field Communication,近距离无线通信)有关的电路,本申请对此不加以限定。The radio frequency circuit 604 is used for receiving and transmitting RF (Radio Frequency, radio frequency) signals, also called electromagnetic signals. The radio frequency circuit 604 communicates with the communication network and other communication devices via electromagnetic signals. The radio frequency circuit 604 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 604 includes an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and the like. The radio frequency circuit 604 may communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to: metropolitan area network, mobile communication networks of various generations (2G, 3G, 4G and 5G), wireless local area network and/or WiFi (Wireless Fidelity, wireless fidelity) network. In some embodiments, the radio frequency circuit 604 may further include a circuit related to NFC (Near Field Communication, short-range wireless communication), which is not limited in this application.

显示屏605用于显示UI(User Interface,用户界面)。该UI可以包括图形、文本、图标、视频及其它们的任意组合。当显示屏605是触摸显示屏时,显示屏605还具有采集在显示屏605的表面或表面上方的触摸信号的能力。该触摸信号可以作为控制信号输入至处理器601进行处理。此时,显示屏605还可以用于提供虚拟按钮和/或虚拟键盘,也称软按钮和/或软键盘。在一些实施例中,显示屏605可以为一个,设置电子设备600的前面板;在另一些实施例中,显示屏605可以为至少两个,分别设置在电子设备600的不同表面或呈折叠设计;在再一些实施例中,显示屏605可以是柔性显示屏,设置在电子设备600的弯曲表面上或折叠面上。甚至,显示屏605还可以设置成非矩形的不规则图形,也即异形屏。显示屏605可以采用LCD(Liquid Crystal Display,液晶显示屏)、OLED(Organic Light-Emitting Diode,有机发光二极管)等材质制备。The display screen 605 is used to display a UI (User Interface). The UI can include graphics, text, icons, video, and any combination thereof. When the display screen 605 is a touch display screen, the display screen 605 also has the ability to acquire touch signals on or above the surface of the display screen 605 . The touch signal may be input to the processor 601 as a control signal for processing. At this time, the display screen 605 may also be used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards. In some embodiments, there may be one display screen 605, which is provided on the front panel of the electronic device 600; in other embodiments, there may be at least two display screens 605, which are respectively provided on different surfaces of the electronic device 600 or in a folded design. ; In still other embodiments, the display screen 605 may be a flexible display screen, disposed on a curved surface or a folding surface of the electronic device 600 . Even, the display screen 605 can also be set as a non-rectangular irregular figure, that is, a special-shaped screen. The display screen 605 can be made of materials such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, organic light emitting diode).

摄像头组件606用于采集图像或视频。可选地,摄像头组件606包括前置摄像头和后置摄像头。通常,前置摄像头设置在终端的前面板,后置摄像头设置在终端的背面。在一些实施例中,后置摄像头为至少两个,分别为主摄像头、景深摄像头、广角摄像头、长焦摄像头中的任意一种,以实现主摄像头和景深摄像头融合实现背景虚化功能、主摄像头和广角摄像头融合实现全景拍摄以及VR(Virtual Reality,虚拟现实)拍摄功能或者其它融合拍摄功能。在一些实施例中,摄像头组件606还可以包括闪光灯。闪光灯可以是单色温闪光灯,也可以是双色温闪光灯。双色温闪光灯是指暖光闪光灯和冷光闪光灯的组合,可以用于不同色温下的光线补偿。The camera assembly 606 is used to capture images or video. Optionally, the camera assembly 606 includes a front camera and a rear camera. Usually, the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth-of-field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth-of-field camera to realize the background blur function, the main camera It is integrated with the wide-angle camera to achieve panoramic shooting and VR (Virtual Reality, virtual reality) shooting functions or other integrated shooting functions. In some embodiments, camera assembly 606 may also include a flash. The flash can be a single color temperature flash or a dual color temperature flash. Dual color temperature flash refers to the combination of warm light flash and cold light flash, which can be used for light compensation under different color temperatures.

音频电路607可以包括麦克风和扬声器。麦克风用于采集用户及环境的声波,并将声波转换为电信号输入至处理器601进行处理,或者输入至射频电路604以实现语音通信。出于立体声采集或降噪的目的,麦克风可以为多个,分别设置在电子设备600的不同部位。麦克风还可以是阵列麦克风或全向采集型麦克风。扬声器则用于将来自处理器601或射频电路604的电信号转换为声波。扬声器可以是传统的薄膜扬声器,也可以是压电陶瓷扬声器。当扬声器是压电陶瓷扬声器时,不仅可以将电信号转换为人类可听见的声波,也可以将电信号转换为人类听不见的声波以进行测距等用途。在一些实施例中,音频电路607还可以包括耳机插孔。Audio circuitry 607 may include a microphone and speakers. The microphone is used to collect the sound waves of the user and the environment, convert the sound waves into electrical signals and input them to the processor 601 for processing, or to the radio frequency circuit 604 to realize voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively disposed in different parts of the electronic device 600 . The microphone may also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert the electrical signal from the processor 601 or the radio frequency circuit 604 into sound waves. The loudspeaker can be a traditional thin-film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert electrical signals into sound waves audible to humans, but also convert electrical signals into sound waves inaudible to humans for distance measurement and other purposes. In some embodiments, the audio circuit 607 may also include a headphone jack.

定位组件608用于定位电子设备600的当前地理位置,以实现导航或LBS(LocationBased Service,基于位置的服务)。定位组件608可以是基于美国的GPS(GlobalPositioning System,全球定位系统)、中国的北斗系统、俄罗斯的格雷纳斯系统或欧盟的伽利略系统的定位组件。The positioning component 608 is used to locate the current geographic location of the electronic device 600 to implement navigation or LBS (Location Based Service, location-based service). The positioning component 608 may be a positioning component based on the GPS (Global Positioning System, global positioning system) of the United States, the Beidou system of China, the Grenas system of Russia, or the Galileo system of the European Union.

电源609用于为电子设备600中的各个组件进行供电。电源609可以是交流电、直流电、一次性电池或可充电电池。当电源609包括可充电电池时,该可充电电池可以支持有线充电或无线充电。该可充电电池还可以用于支持快充技术。Power supply 609 is used to power various components in electronic device 600 . The power source 609 may be alternating current, direct current, disposable batteries or rechargeable batteries. When the power source 609 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.

在一些实施例中,电子设备600还包括有一个或多个传感器610。该一个或多个传感器610包括但不限于:加速度传感器611、陀螺仪传感器612、压力传感器613、指纹传感器614、光学传感器615以及接近传感器616。In some embodiments, the electronic device 600 also includes one or more sensors 610 . The one or more sensors 610 include, but are not limited to, an acceleration sensor 611 , a gyro sensor 612 , a pressure sensor 613 , a fingerprint sensor 614 , an optical sensor 615 and a proximity sensor 616 .

加速度传感器611可以检测以电子设备600建立的坐标系的三个坐标轴上的加速度大小。比如,加速度传感器611可以用于检测重力加速度在三个坐标轴上的分量。处理器601可以根据加速度传感器611采集的重力加速度信号,控制触摸显示屏605以横向视图或纵向视图进行用户界面的显示。加速度传感器611还可以用于游戏或者用户的运动数据的采集。The acceleration sensor 611 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the electronic device 600 . For example, the acceleration sensor 611 can be used to detect the components of the gravitational acceleration on the three coordinate axes. The processor 601 can control the touch display screen 605 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 611 . The acceleration sensor 611 can also be used for game or user movement data collection.

陀螺仪传感器612可以检测电子设备600的机体方向及转动角度,陀螺仪传感器612可以与加速度传感器611协同采集用户对电子设备600的3D动作。处理器601根据陀螺仪传感器612采集的数据,可以实现如下功能:动作感应(比如根据用户的倾斜操作来改变UI)、拍摄时的图像稳定、游戏控制以及惯性导航。The gyroscope sensor 612 can detect the body direction and rotation angle of the electronic device 600 , and the gyroscope sensor 612 can cooperate with the acceleration sensor 611 to collect 3D actions of the user on the electronic device 600 . The processor 601 can implement the following functions according to the data collected by the gyro sensor 612 : motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.

压力传感器613可以设置在电子设备600的侧边框和/或触摸显示屏605的下层。当压力传感器613设置在电子设备600的侧边框时,可以检测用户对电子设备600的握持信号,由处理器601根据压力传感器613采集的握持信号进行左右手识别或快捷操作。当压力传感器613设置在触摸显示屏605的下层时,由处理器601根据用户对触摸显示屏605的压力操作,实现对UI界面上的可操作性控件进行控制。可操作性控件包括按钮控件、滚动条控件、图标控件、菜单控件中的至少一种。The pressure sensor 613 may be disposed on the side frame of the electronic device 600 and/or the lower layer of the touch display screen 605 . When the pressure sensor 613 is disposed on the side frame of the electronic device 600 , the user's holding signal of the electronic device 600 can be detected, and the processor 601 can perform left and right hand identification or quick operation according to the holding signal collected by the pressure sensor 613 . When the pressure sensor 613 is disposed on the lower layer of the touch display screen 605 , the processor 601 controls the operability controls on the UI interface according to the user's pressure operation on the touch display screen 605 . The operability controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.

指纹传感器614用于采集用户的指纹,由处理器601根据指纹传感器614采集到的指纹识别用户的身份,或者,由指纹传感器614根据采集到的指纹识别用户的身份。在识别出用户的身份为可信身份时,由处理器601授权该用户执行相关的敏感操作,该敏感操作包括解锁屏幕、查看加密信息、下载软件、支付及更改设置等。指纹传感器614可以被设置电子设备600的正面、背面或侧面。当电子设备600上设置有物理按键或厂商Logo时,指纹传感器614可以与物理按键或厂商Logo集成在一起。The fingerprint sensor 614 is used to collect the user's fingerprint, and the processor 601 identifies the user's identity according to the fingerprint collected by the fingerprint sensor 614, or the fingerprint sensor 614 identifies the user's identity according to the collected fingerprint. When the user's identity is identified as a trusted identity, the processor 601 authorizes the user to perform relevant sensitive operations, including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings. The fingerprint sensor 614 may be provided on the front, back, or side of the electronic device 600 . When the electronic device 600 is provided with physical buttons or a manufacturer's logo, the fingerprint sensor 614 can be integrated with the physical buttons or the manufacturer's logo.

光学传感器615用于采集环境光强度。在一个实施例中,处理器601可以根据光学传感器615采集的环境光强度,控制触摸显示屏605的显示亮度。具体地,当环境光强度较高时,调高触摸显示屏605的显示亮度;当环境光强度较低时,调低触摸显示屏605的显示亮度。在另一个实施例中,处理器601还可以根据光学传感器615采集的环境光强度,动态调整摄像头组件606的拍摄参数。Optical sensor 615 is used to collect ambient light intensity. In one embodiment, the processor 601 may control the display brightness of the touch display screen 605 according to the ambient light intensity collected by the optical sensor 615 . Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 605 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 605 is decreased. In another embodiment, the processor 601 may also dynamically adjust the shooting parameters of the camera assembly 606 according to the ambient light intensity collected by the optical sensor 615 .

接近传感器616,也称距离传感器,通常设置在电子设备600的前面板。接近传感器616用于采集用户与电子设备600的正面之间的距离。在一个实施例中,当接近传感器616检测到用户与电子设备600的正面之间的距离逐渐变小时,由处理器601控制触摸显示屏605从亮屏状态切换为息屏状态;当接近传感器616检测到用户与电子设备600的正面之间的距离逐渐变大时,由处理器601控制触摸显示屏605从息屏状态切换为亮屏状态。Proximity sensor 616 , also referred to as a distance sensor, is typically provided on the front panel of electronic device 600 . Proximity sensor 616 is used to collect the distance between the user and the front of electronic device 600 . In one embodiment, when the proximity sensor 616 detects that the distance between the user and the front of the electronic device 600 is gradually decreasing, the processor 601 controls the touch display screen 605 to switch from the bright screen state to the off screen state; when the proximity sensor 616 When it is detected that the distance between the user and the front of the electronic device 600 gradually increases, the processor 601 controls the touch display screen 605 to switch from the off-screen state to the bright-screen state.

本领域技术人员可以理解,图8中示出的结构并不构成对电子设备600的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。Those skilled in the art can understand that the structure shown in FIG. 8 does not constitute a limitation on the electronic device 600, and may include more or less components than the one shown, or combine some components, or adopt different component arrangements.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器604,上述指令可由电子设备600的处理器620执行以完成上述视频播放方法,该方法包括:当检测到发生崩溃事件时,调取目标进程的标识信息,所述崩溃事件为所述目标进程发生崩溃的事件;将所述目标进程的标识信息与预设的待调试名单进行匹配;当所述标识信息与所述待调试名单匹配成功后,生成所述目标进程的core dump信息。可选地,上述指令还可以由电子设备600的处理器620执行以完成上述示例性实施例中所涉及的其他步骤。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as a memory 604 including instructions, is also provided, and the above-mentioned instructions can be executed by the processor 620 of the electronic device 600 to complete the above-mentioned video playback method, the The method includes: when a crash event is detected, fetching identification information of a target process, where the crash event is an event in which the target process crashes; and matching the identification information of the target process with a preset list to be debugged ; When the identification information is successfully matched with the to-be-debugged list, the core dump information of the target process is generated. Optionally, the above-mentioned instructions may also be executed by the processor 620 of the electronic device 600 to complete other steps involved in the above-mentioned exemplary embodiments. For example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

在示例性实施例中,还提供了一种应用程序/计算机程序产品,包括一条或多条指令,该一条或多条指令可以由电子设备600的处理器620执行,以完成上述标定方法,该方法包括:当检测到发生崩溃事件时,调取目标进程的标识信息,所述崩溃事件为所述目标进程发生崩溃的事件;将所述目标进程的标识信息与预设的待调试名单进行匹配;当所述标识信息与所述待调试名单匹配成功后,生成所述目标进程的core dump信息。可选地,上述指令还可以由电子设备600的处理器620执行以完成上述示例性实施例中所涉及的其他步骤。In an exemplary embodiment, an application/computer program product is also provided, comprising one or more instructions, the one or more instructions can be executed by the processor 620 of the electronic device 600 to complete the above calibration method, the The method includes: when a crash event is detected, fetching identification information of a target process, where the crash event is an event in which the target process crashes; and matching the identification information of the target process with a preset list to be debugged ; When the identification information is successfully matched with the to-be-debugged list, the core dump information of the target process is generated. Optionally, the above-mentioned instructions may also be executed by the processor 620 of the electronic device 600 to complete other steps involved in the above-mentioned exemplary embodiments.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本申请的其它实施方案。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本申请的真正范围和精神由下面的权利要求指出。Other embodiments of the present application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of this application that follow the general principles of this application and include common knowledge or conventional techniques in the technical field not disclosed in this application . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the application being indicated by the following claims.

应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求来限制。It is to be understood that the present application is not limited to the precise structures described above and illustrated in the accompanying drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

CN201910372731.1A2019-05-062019-05-06Adjustment method, device, electronic equipment and mediumPendingCN110109770A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201910372731.1ACN110109770A (en)2019-05-062019-05-06Adjustment method, device, electronic equipment and medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910372731.1ACN110109770A (en)2019-05-062019-05-06Adjustment method, device, electronic equipment and medium

Publications (1)

Publication NumberPublication Date
CN110109770Atrue CN110109770A (en)2019-08-09

Family

ID=67488351

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910372731.1APendingCN110109770A (en)2019-05-062019-05-06Adjustment method, device, electronic equipment and medium

Country Status (1)

CountryLink
CN (1)CN110109770A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111563000A (en)*2020-04-282020-08-21深圳震有科技股份有限公司File generation method, intelligent terminal and storage medium
CN112333233A (en)*2020-09-232021-02-05北京达佳互联信息技术有限公司Event information reporting method and device, electronic equipment and storage medium
CN113312262A (en)*2021-03-232021-08-27统信软件技术有限公司Program debugging method, computing device and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2000066929A (en)*1998-08-182000-03-03Nec CorpCore file management system and its method
US20050050389A1 (en)*2003-08-252005-03-03Chaurasia Rajesh KumarMethod of and apparatus for cross-platform core dumping during dynamic binary translation
JP2005301570A (en)*2004-04-092005-10-27Nippon Telegr & Teleph Corp <Ntt> Process dump method, apparatus, and program
JP2012084069A (en)*2010-10-142012-04-26Hitachi LtdComputer system and failure information collection method
TW201227264A (en)*2010-12-272012-07-01IbmMethod for recording and preventing crash in an appliance
CN108170552A (en)*2018-01-052018-06-15武汉斗鱼网络科技有限公司A kind of method, apparatus and equipment for capturing Dump files
CN108763060A (en)*2018-04-272018-11-06广州华多网络科技有限公司Native layers of collapse source tracing method, device, storage medium and terminal in android system
CN109656743A (en)*2018-12-282019-04-19杭州迪普科技股份有限公司A kind of core file management method and device, equipment, medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2000066929A (en)*1998-08-182000-03-03Nec CorpCore file management system and its method
US20050050389A1 (en)*2003-08-252005-03-03Chaurasia Rajesh KumarMethod of and apparatus for cross-platform core dumping during dynamic binary translation
JP2005301570A (en)*2004-04-092005-10-27Nippon Telegr & Teleph Corp <Ntt> Process dump method, apparatus, and program
JP2012084069A (en)*2010-10-142012-04-26Hitachi LtdComputer system and failure information collection method
TW201227264A (en)*2010-12-272012-07-01IbmMethod for recording and preventing crash in an appliance
CN108170552A (en)*2018-01-052018-06-15武汉斗鱼网络科技有限公司A kind of method, apparatus and equipment for capturing Dump files
CN108763060A (en)*2018-04-272018-11-06广州华多网络科技有限公司Native layers of collapse source tracing method, device, storage medium and terminal in android system
CN109656743A (en)*2018-12-282019-04-19杭州迪普科技股份有限公司A kind of core file management method and device, equipment, medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ROBERT LOVE: "LINUX系统编程", 东南大学出版社*
彭闻宇等: "Linux应用程序调试技术的研究", 《微计算机信息》, no. 29, 20 October 2006 (2006-10-20)*

Cited By (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111563000A (en)*2020-04-282020-08-21深圳震有科技股份有限公司File generation method, intelligent terminal and storage medium
CN111563000B (en)*2020-04-282023-08-18深圳市震有软件科技有限公司File generation method, intelligent terminal and storage medium
CN112333233A (en)*2020-09-232021-02-05北京达佳互联信息技术有限公司Event information reporting method and device, electronic equipment and storage medium
CN112333233B (en)*2020-09-232023-11-24北京达佳互联信息技术有限公司Event information reporting method and device, electronic equipment and storage medium
CN113312262A (en)*2021-03-232021-08-27统信软件技术有限公司Program debugging method, computing device and storage medium
CN113312262B (en)*2021-03-232024-05-31统信软件技术有限公司Program debugging method, computing device and storage medium

Similar Documents

PublicationPublication DateTitle
CN110308956B (en)Application interface display method and device and mobile terminal
CN110532170B (en) Method, device, electronic equipment and medium for building test environment
CN110347520A (en)Method, apparatus, electronic equipment and the medium of message distribution
CN111191224B (en)Countermeasure method and device for virtual machine detection and computer readable storage medium
CN110046018A (en)Show method, apparatus, electronic equipment and the medium of message
CN108897659B (en)Method, device and storage medium for modifying log level
CN110007981B (en)Method and device for starting application program, electronic equipment and medium
CN111897465B (en)Popup display method, device, equipment and storage medium
CN111881423B (en) Restricting function use authorization methods, devices, and systems
CN110049525A (en)Method for connecting network, device, electronic equipment and medium
CN108717365A (en)The method and apparatus for executing function in the application
CN111159604A (en)Picture resource loading method and device
CN110147380A (en)Data-updating method, device, server and storage medium
CN111191227B (en)Method and device for preventing malicious code from executing
CN110109770A (en)Adjustment method, device, electronic equipment and medium
US11720219B2 (en)Method, apparatus and device for displaying lyric, and storage medium
CN113836426A (en) A method, device and electronic device for information push
CN111752719A (en) Method and Device for Detecting Caton
CN113051485A (en)Group searching method, device, terminal and storage medium
CN109107163B (en)Analog key detection method and device, computer equipment and storage medium
CN111523876A (en) Payment method display method, device, system and storage medium
CN114168120B (en) Data acquisition method, device, computer equipment and storage medium
CN112181915A (en)Method, device, terminal and storage medium for executing service
CN110781032A (en)Data transmission method, device, electronic equipment and medium
CN110825465A (en)Log data processing method and device, electronic equipment and storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20190809

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp