Movatterモバイル変換


[0]ホーム

URL:


CN114528201A - Abnormal code positioning method, device, equipment and medium - Google Patents

Abnormal code positioning method, device, equipment and medium
Download PDF

Info

Publication number
CN114528201A
CN114528201ACN202111354968.0ACN202111354968ACN114528201ACN 114528201 ACN114528201 ACN 114528201ACN 202111354968 ACN202111354968 ACN 202111354968ACN 114528201 ACN114528201 ACN 114528201A
Authority
CN
China
Prior art keywords
code
abnormal
exception
interface
code segment
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
CN202111354968.0A
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.)
Ping An Bank Co Ltd
Original Assignee
Ping An Bank Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Bank Co LtdfiledCriticalPing An Bank Co Ltd
Priority to CN202111354968.0ApriorityCriticalpatent/CN114528201A/en
Publication of CN114528201ApublicationCriticalpatent/CN114528201A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

The application belongs to the technical field of computers, and particularly relates to an abnormal code positioning method, an abnormal code positioning device, computer equipment and a computer readable storage medium, wherein the abnormal code positioning method comprises the following steps: when receiving the abnormal information returned by the tested interface in the test process, determining the interface address of the tested interface; based on the abnormal information and the interface address, remotely inquiring a log file of the tested interface from the tested server to obtain abnormal stack information corresponding to the abnormal information; determining an abnormal code relation chain of the abnormal code segment according to the abnormal stack information; and determining the content of the abnormal code from the abnormal code segment and the associated code segment according to the abnormal code relation chain. By applying the technical scheme provided by the embodiment of the application, the content of the abnormal code is determined in time, and the efficiency of positioning the abnormal code is improved.

Description

Translated fromChinese
异常代码定位方法、装置、设备及介质Abnormal code location method, device, equipment and medium

技术领域technical field

本发明属于计算机技术领域,特别涉及一种异常代码定位方法、异常代码 定位装置、计算机设备及计算机可读存储介质。The present invention belongs to the field of computer technology, and particularly relates to a method for locating abnormal codes, a device for locating abnormal codes, computer equipment and a computer-readable storage medium.

背景技术Background technique

随着互联网的发展,对应用程序的功能和要求越来越高,当应用程序为用 户提供服务运行时或者系统在运行测试时时常会发生异常问题。虽然,现有异 常检测方案能够从测试结果或者执行日志中确定出存在异常部分,例如,通过 检测应用程序的日志文件,确定出应用程序中存在异常的服务或者存在异常的 功能。但是,当存在异常的服务或者存在异常的功能实现过程较为复杂时,确 定出存在异常部分并不能够对造成该异常的脚本片段进行追根溯源,也即无法 及时确定导致该异常的代码片段。With the development of the Internet, the functions and requirements of application programs are getting higher and higher, and abnormal problems often occur when the application program provides services for users or when the system is running tests. Although, existing anomaly detection solutions can determine the existence of anomalous parts from test results or execution logs, for example, by detecting the log files of the application program, it is determined that there are abnormal services or functions in the application program. However, when there is an abnormal service or the implementation process of the abnormal function is complicated, it is not possible to trace the source of the script fragment causing the exception after determining the abnormal part, that is, the code fragment that causes the exception cannot be determined in time.

发明内容SUMMARY OF THE INVENTION

本申请的目的在于提供一种异常代码定位方法、异常代码定位装置、计算 机设备及计算机可读存储介质,以解决现有技术中存在的异常代码定位方式法 及时确定导致异常的代码片段的问题。The purpose of this application is to provide a kind of abnormal code locating method, abnormal code locating device, computer equipment and computer readable storage medium, to solve the problem of the abnormal code locating method that exists in the prior art to determine the problem of code fragment that causes abnormal in time.

本申请实施例的第一方面提供了一种异常代码定位方法,包括:A first aspect of the embodiments of the present application provides a method for locating abnormal codes, including:

当接收到被测接口在测试过程中返回的异常信息时,确定所述被测接口的 接口地址;所述被测接口为被测服务器的接口;When receiving the abnormal information that the interface under test returns in the test process, determine the interface address of the interface under test; The interface under test is the interface of the server under test;

基于所述异常信息与所述接口地址,从所述被测服务器中远程查询所述被 测接口的日志文件,得到与所述异常信息对应的异常堆栈信息;Based on the abnormal information and the interface address, from the server under test, the log file of the interface under test is remotely inquired, and the abnormal stack information corresponding to the abnormal information is obtained;

根据所述异常堆栈信息确定异常代码段的异常代码关系链,其中,所述异 常代码关系链用于描述所述异常代码段与关联代码段之间的关联范围;Determine the abnormal code relationship chain of the abnormal code segment according to the abnormal stack information, wherein, the abnormal code relationship chain is used to describe the association scope between the abnormal code segment and the associated code segment;

按照所述异常代码关系链,从所述异常代码段与所述关联代码段中确定出 异常代码内容。According to the abnormal code relationship chain, the abnormal code content is determined from the abnormal code segment and the associated code segment.

本申请实施例的第二方面提供了一种异常代码定位装置,包括:A second aspect of the embodiments of the present application provides a device for locating abnormal codes, including:

确定模块,用于当接收到被测接口在测试过程中返回的异常信息时,确定 所述被测接口的接口地址;所述被测接口为被测服务器的接口;Determine the module, for when receiving the abnormal information that the interface under test returns in the test process, determine the interface address of the interface under test; The interface under test is the interface of the server under test;

查询模块,用于基于所述异常信息与所述接口地址,从所述被测服务器中 远程查询所述被测接口的日志文件,得到与所述异常信息对应的异常堆栈信息;A query module, for remotely querying the log file of the tested interface from the tested server based on the abnormal information and the interface address, to obtain the abnormal stack information corresponding to the abnormal information;

关系模块,用于根据所述异常堆栈信息确定异常代码段的异常代码关系链, 所述异常代码关系链用于描述所述异常代码段与关联代码段之间的关联范围;A relationship module, configured to determine an exception code relationship chain of the exception code segment according to the exception stack information, where the exception code relationship chain is used to describe the associated range between the exception code segment and the associated code segment;

异常模块,用于按照所述异常代码关系链,从所述异常代码段与所述关联 代码段中确定出异常代码内容。The exception module is configured to determine the exception code content from the exception code segment and the associated code segment according to the exception code relationship chain.

本申请实施例的第三方面提供了一种计算机设备,包括存储器、处理器以 及存储在所述存储器中并可在计算机设备上运行的计算机程序,所述处理器执 行所述计算机程序时实现第一方案提供的异常代码定位方法的各步骤。A third aspect of the embodiments of the present application provides a computer device, including a memory, a processor, and a computer program stored in the memory and running on the computer device, the processor implementing the first computer program when the processor executes the computer program. Each step of a method for locating an exception code provided by a solution.

本申请实施例的第四方面提供了一种计算机可读存储介质,所述计算机可 读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现第一方案 提供的异常代码定位方法的各步骤。A fourth aspect of the embodiments of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, implements the method for locating the abnormal code provided by the first solution. each step.

实施本申请实施例提供的一种异常代码定位方法、异常代码定位装置、计 算机设备及计算机可读存储介质具有以下有益效果:Implementing a kind of abnormal code locating method, abnormal code locating device, computer equipment and computer-readable storage medium provided by the embodiment of the present application has the following beneficial effects:

本申请实施例提供的一种异常代码定位方法、异常代码定位装置、计算机 设备及计算机可读存储介质,通过接收到被测接口在测试过程中返回的异常信 息时,确定被测接口的接口地址;因为被测接口为被测服务器的接口,所以基 于异常信息与接口地址,能够从被测服务器中远程查询被测接口的日志文件, 得到与异常信息对应的异常堆栈信息;又因为根据异常堆栈信息确定异常代码 段的异常代码关系链,而异常代码关系链用于描述异常代码段与关联代码段之 间的关联范围;分析异常代码段与关联代码段之间的继承与调用关系,所以按 照异常代码关系链,从异常代码段与关联代码段中确定出异常代码内容。提高 了定位异常代码的效率。An abnormal code locating method, abnormal code locating device, computer equipment, and computer-readable storage medium provided by the embodiments of the present application determine the interface address of the tested interface by receiving the abnormal information returned by the tested interface during the testing process. ;Because the interface under test is the interface of the server under test, based on the exception information and interface address, the log file of the interface under test can be remotely queried from the server under test, and the exception stack information corresponding to the exception information can be obtained; The information determines the exception code relationship chain of the exception code segment, and the exception code relationship chain is used to describe the association scope between the exception code segment and the associated code segment; analyze the inheritance and calling relationship between the exception code segment and the associated code segment, so according to The abnormal code relationship chain determines the content of the abnormal code from the abnormal code segment and the associated code segment. The efficiency of locating abnormal code is improved.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技 术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅 仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳 动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only for the present invention. In some embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without any creative effort.

图1为本申请实施例提供的一种异常代码定位方法的实现流程图;Fig. 1 is the realization flow chart of a kind of abnormal code locating method that the embodiment of this application provides;

图2为本申请实施例提供的一种异常代码定位装置的结构框图;2 is a structural block diagram of a device for locating abnormal codes according to an embodiment of the present application;

图3为本申请实施例提供的一种计算机设备的结构框图。FIG. 3 is a structural block diagram of a computer device according to an embodiment of the present application.

具体实施方式Detailed ways

为了使本发明所要解决的技术问题、技术方案及有益效果更加清楚明白, 以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描 述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not intended to limit the present invention.

本实施例提供的一种异常代码定位方法,执行主体为服务器集群中用于对 异常代码进行定位的目标服务器。这里,服务器集群可以是由多个服务器组成 的服务器集群,基于该服务器集群构建分布式系统,令构建分布式系统所需的 各组件能够被配置到服务器集群中的各服务器中,被配置有分布式系统组件的 服务器,也可以被称为组件服务器。服务器集群中的各服务器之间能够进行数 据共享或数据同步。在此基础上,向该服务器集群中的任一服务器配置目标脚 本文件,由该目标脚本文件描述本实施例提供的异常代码定位方法,使得该配 置有目标脚本文件的服务器能够通过执行该目标脚本文件,进而执行异常代码 定位方法中的各个步骤。或者,通过对服务器集群配置新的服务器,向该新的 服务器配置目标脚本文件,由该目标脚本文件描述本实施例提供的异常代码定 位方法,使得该新的服务器能够通过执行该目标脚本文件,进而执行异常代码 定位方法中的各个步骤。In the method for locating abnormal codes provided in this embodiment, the execution body is a target server in a server cluster for locating abnormal codes. Here, the server cluster may be a server cluster composed of multiple servers, and a distributed system is constructed based on the server cluster, so that each component required for constructing a distributed system can be configured into each server in the server cluster, and is configured with a distributed system. A server for system components, also known as a component server. Data sharing or data synchronization can be performed between servers in a server cluster. On this basis, a target script file is configured to any server in the server cluster, and the target script file describes the abnormal code location method provided by this embodiment, so that the server configured with the target script file can execute the target script file by executing the target script file. file, and then execute each step in the exception code locating method. Alternatively, by configuring a new server for the server cluster, and configuring a target script file for the new server, the target script file describes the abnormal code locating method provided by this embodiment, so that the new server can execute the target script file, Then, each step in the method for locating the abnormal code is executed.

在实现时,服务器集群中用于对异常代码进行定位的目标服务器,当接收 到被测接口在测试过程中返回的异常信息时,目标服务器确定被测接口的接口 地址。因为被测接口为被测服务器的接口,所以目标服务器基于异常信息与接 口地址,远程查询所述被测接口的日志文件,目标服务器得到与异常信息对应 的异常堆栈信息;又因为目标服务器根据异常堆栈信息确定异常代码段的异常 代码关系链,而异常代码关系链用于描述异常代码段与关联代码段之间的关联 范围;目标服务器能够分析异常代码段与管理代码段之间的继承与调用关系, 所以目标服务器能够按照异常代码关系链,从异常代码段与关联代码段中确定 出异常代码内容。提高了定位异常代码的效率。In the implementation, the target server in the server cluster is used to locate the abnormal code. When receiving the abnormal information returned by the tested interface during the testing process, the target server determines the interface address of the tested interface. Because the interface under test is the interface of the server under test, the target server remotely queries the log file of the interface under test based on the exception information and the interface address, and the target server obtains the exception stack information corresponding to the exception information; The stack information determines the exception code relationship chain of the exception code segment, and the exception code relationship chain is used to describe the association scope between the exception code segment and the associated code segment; the target server can analyze the inheritance and call between the exception code segment and the management code segment. Therefore, the target server can determine the content of the abnormal code from the abnormal code segment and the associated code segment according to the abnormal code relationship chain. Improves the efficiency of locating abnormal code.

参照图1所示,图1示出了本申请实施例提供的一种异常代码定位方法的 实现流程图。一种异常代码定位方法包括:Referring to Fig. 1, Fig. 1 shows a flowchart of an implementation of a method for locating an exception code provided by an embodiment of the present application. An exception code locating method includes:

S11:当接收到被测接口在测试过程中返回的异常信息时,确定所述被测接 口的接口地址;所述被测接口为被测服务器的接口。S11: When receiving the abnormal information returned by the tested interface during the test, determine the interface address of the tested interface; the tested interface is the interface of the tested server.

在步骤S11中,在对被测服务器进行接口测试时,目标服务器通常会接收 到被测服务器接口的返回的信息,而得到的返回的信息能表征是否返回了预期 的结果。目标服务器是实施本方案的服务器,而被测服务器是存储异常代码脚 本文件的另一个服务器。返回的信息是指接口在被调用时会返回接口相应的接 口调用状况。根据接口调用状况的不同以及预设规则,生成接口返回的信息。 在终端请求调用接口过程中,目标服务器所接收到的接口返回信息根据预设规 则中的设定划分正常状况与异常状况,即通过数值或者文字信息来表示接口所 代表的调用状况的正常与异常。例如,假设接口返回值正常情况下应返回1, 但实际情况是终端获取到的接口返回值为0或-1,那么此时被测接口的返回的 信息即为异常的信息,而该异常信息表明被测的接口无法正常运行,出现了异 常运行状况。根据接口去实现不同的功能。接口实际上也就是后台一个具体的 功能。接口测试就是接口的实现过程,接口测试去验证这个接口的实现是否正 确。In step S11, when an interface test is performed on the server under test, the target server usually receives the returned information from the interface of the server under test, and the returned information can represent whether the expected result is returned. The target server is the server that implements the solution, and the server under test is another server that stores the exception code script file. The returned information means that the interface will return the corresponding interface calling status of the interface when it is called. The information returned by the interface is generated according to the different calling conditions of the interface and the preset rules. In the process of the terminal requesting to call the interface, the interface return information received by the target server is divided into normal conditions and abnormal conditions according to the settings in the preset rules, that is, the normal and abnormal conditions of the calling conditions represented by the interface are represented by numerical values or text information. . For example, assuming that the return value of the interface should return 1 under normal circumstances, but the actual situation is that the return value of the interface obtained by the terminal is 0 or -1, then the returned information of the tested interface is the abnormal information, and the abnormal information Indicates that the interface under test cannot operate normally, and an abnormal operating condition occurs. Implement different functions according to the interface. The interface is actually a specific function in the background. Interface testing is the implementation process of the interface, and the interface test verifies whether the implementation of the interface is correct.

异常信息是指调用接口的异常返回值的信息。异常信息包括异常码、异常 时间和异常类型,其中,异常时间指返回被测接口的具体时间。异常类型是指 预先设定好的异常报错信息,包括消息提示,异常码等。接口地址是指提供被 测接口的系统所部署的被测服务器地址。确定接口地址是为了登录被测服务器 的地址查找到异常信息对应的日志文件。Exception information refers to the information of the abnormal return value of the calling interface. Exception information includes exception code, exception time, and exception type, where exception time refers to the specific time when the interface under test is returned. The exception type refers to the pre-set exception error message, including message prompts, exception codes, etc. The interface address refers to the address of the server under test deployed by the system that provides the interface under test. Determining the interface address is to log in the address of the server under test to find the log file corresponding to the abnormal information.

作为本申请实施例的一种实现方式,步骤S11包括:As an implementation manner of the embodiment of the present application, step S11 includes:

向被测服务器发送用于调用被测接口的请求,以接收所述被测服务器根据 所述请求返回的测试信息;Send a request for invoking the interface under test to the server under test to receive the test information returned by the server under test according to the request;

当所述测试信息中存在预先设置的异常信息时,确定所述被测接口的接口 地址。When there is preset abnormal information in the test information, the interface address of the tested interface is determined.

具体地,当进行被测服务器的接口测试时,通过目标服务器向被测服务器 发送调用被测接口的请求,被测服务器接收到目标服务器的请求,被测服务器 对请求进行处理并向目标服务器返回测试信息。返回的测试信息Specifically, when performing the interface test of the server under test, the target server sends a request to call the interface under test to the server under test, the server under test receives the request from the target server, and the server under test processes the request and returns to the target server. Test information. Test information returned

作为一个示例,在被测服务器预先设置当调用接口成功或失败时会返回测 试信息,当测试信息为预先设置的异常信息时,代码可能出现了异常,需要登 录被测服务器的接口地址找到异常代码并对异常代码进行改正、修订。As an example, it is preset in the server under test that the test information will be returned when the calling interface succeeds or fails. When the test information is the preset exception information, the code may be abnormal. You need to log in to the interface address of the server under test to find the exception code. Correct and revise abnormal codes.

S12:基于所述异常信息与所述接口地址,从所述被测服务器中远程查询所 述被测接口的日志文件,得到与所述异常信息对应的异常堆栈信息。S12: Based on the exception information and the interface address, remotely query the log file of the tested interface from the tested server to obtain exception stack information corresponding to the exception information.

在步骤S12中,日志文件是指记录操作系统或其他软件运行中发生的事件 的文件。在软件中添加程序日志可以跟踪软件代码运行时的轨迹,反映软件的 历史运行情况,使得开发人员和测试人员可以借助日志文件来排查代码存在错 误或异常的问题。远程查询日志文件可以通过获取到的登录权限,远程登录被 测服务器的接口地址,使用命令获取到保存日志文件的目录从而获取日志文件 的内容。登录被测服务器地址的权限方式可以采用SSH方式或者根据IP地址和 密码远程连接登录被测服务器,从而来查询日志文件。可以通过将日志文件的 内容可以打印在控制台上,也可以通过后台文件查看日志文件的内容。日志文 件中包括异常信息,也包括用于记录事件被写入日志的日期和时间的时间信息、 事件类型、应用程序的状态信息等。In step S12, the log file refers to a file that records events that occur during the operation of the operating system or other software. Adding program logs to the software can track the running track of the software code and reflect the historical running status of the software, so that developers and testers can use log files to troubleshoot errors or exceptions in the code. To query log files remotely, you can remotely log in to the interface address of the server under test through the obtained login authority, and use commands to obtain the directory where the log files are stored to obtain the contents of the log files. The permission mode of logging in to the address of the server under test can be SSH or by remotely connecting to the server under test according to the IP address and password, so as to query the log file. You can print the contents of the log file to the console, or view the contents of the log file through a background file. The log file includes exception information, as well as time information for recording the date and time when the event was written to the log, event type, application status information, and so on.

异常堆栈信息是日志文件中提示出错的报错信息集合。异常堆栈信息包括 异常信息和异常代码段的文件路径,其中异常代码段的文件路径包括异常代码 段的包名、异常代码段的类名、异常代码段的方法名和异常代码段的行数。当 日志文件上的异常时间和异常类型与接口返回的异常时间和异常类型相同时, 找到相应的报错信息,由报错信息组成异常堆栈信息。Exception stack information is a collection of error messages in the log file indicating errors. The exception stack information includes the exception information and the file path of the exception code segment, wherein the file path of the exception code segment includes the package name of the exception code segment, the class name of the exception code segment, the method name of the exception code segment and the line number of the exception code segment. When the exception time and exception type on the log file are the same as the exception time and exception type returned by the interface, the corresponding error message is found, and the exception stack information is composed of the error message.

作为本申请实施例的一种实现方式,步骤S12包括:As an implementation manner of the embodiment of the present application, step S12 includes:

获取所述被测服务器的登录权限;Obtain the login authority of the server under test;

基于所述登录权限登录所述接口地址,并查询所述被测接口对应的日志文 件;Log in to the interface address based on the login authority, and query the log file corresponding to the tested interface;

根据所述异常信息在所述日志文件上进行定位,得到与所述异常信息对应 的异常堆栈信息。Positioning is performed on the log file according to the exception information to obtain exception stack information corresponding to the exception information.

具体地,获取被测服务器的登录权限可以采用SSH方式或者输入IP地址和 密码的方式,登录被测服务器的接口地址,并使用命令查询到日志文件所在的 位置并查看日志文件。根据异常信息在日志文件进行定位实际上根据异常信息 中的异常时间和异常类型去查找日志文件内容的对应的异常堆栈信息。例如, 返回的异常信息中消息提示为“系统清算中,请稍后再试”,根据“系统清算 中,请稍后再试”检索日志文件的内容,找到日志文件中包含消息提示的内容。 以此为示例,按照返回的异常信息的异常码、异常时间和异常类型找到所有异 常堆栈信息。Specifically, to obtain the login authority of the server under test, you can use SSH or enter the IP address and password to log in to the interface address of the server under test, and use commands to query the location of the log file and view the log file. Positioning in the log file according to the exception information actually searches for the corresponding exception stack information of the log file content according to the exception time and exception type in the exception information. For example, in the returned exception information, the message prompt is "System clearing, please try again later", search the content of the log file according to "System clearing, please try again later", and find the content that contains the message prompt in the log file. Taking this as an example, find all the exception stack information according to the exception code, exception time and exception type of the returned exception information.

S13:根据所述异常堆栈信息确定异常代码段的异常代码关系链,其中,所 述异常代码关系链用于描述所述异常代码段与关联代码段之间的关联范围。S13: Determine an exception code relationship chain of the exception code segment according to the exception stack information, wherein the exception code relationship chain is used to describe the association range between the exception code segment and the associated code segment.

在步骤S13中,因为异常堆栈信息包括异常代码段的文件路径,而异常代 码段的文件路径包括异常代码段的包名、异常代码段的类名、异常代码段的方 法名和异常代码段的行数。根据异常堆栈信息中异常代码段的文件路径,可以 从源代码中找到异常代码段相应的位置从而找到异常代码段的内容。异常代码 关系链能够基于报错的异常代码段的内容追根溯源查找到与异常代码段存在调 用与继承关系的关联代码段,从局部到整体,找到底层异常代码内容。In step S13, because the exception stack information includes the file path of the exception code segment, and the file path of the exception code segment includes the package name of the exception code segment, the class name of the exception code segment, the method name of the exception code segment, and the line of the exception code segment number. According to the file path of the exception code segment in the exception stack information, the corresponding position of the exception code segment can be found from the source code to find the content of the exception code segment. The exception code relationship chain can trace the source of the exception code segment that reports the error to find the associated code segment that has a calling and inheritance relationship with the exception code segment, and find the underlying exception code content from the part to the whole.

异常代码关系链是指异常代码段与关联代码段之间的关联范围。异常代码 关系链包括异常代码段与关联代码段之间方法的调用关系和类的继承关系。一 般异常代码段中的子类继承其他代码的父类,异常代码段也会调用其他代码的 方法,这里的关联代码段就是被异常代码段继承的父类和调用的方法的代码。 确定异常代码关系链就是要找到异常代码段的所有类的继承关系和方法调用关 系。其中,方法的调用关系为在代码编写过程中通常通过调用方法来执行新的 方法。类是一种数据类型,包括方法和属性。一个类可以包括多个方法。类的 继承关系为子类只能调用父类的属性和方法,父类不能调用子类。而且子类可 以添加父类中没有的方法和属性。The exception code relationship chain refers to the association scope between the exception code segment and the associated code segment. The exception code relationship chain includes the method invocation relationship and the class inheritance relationship between the exception code segment and the associated code segment. Generally, the subclass in the exception code segment inherits the parent class of other codes, and the exception code segment also calls the methods of other codes. The associated code segment here is the code of the parent class inherited by the exception code segment and the method called. To determine the exception code relationship chain is to find the inheritance relationship and method call relationship of all classes in the exception code segment. Among them, the calling relationship of the method is that the new method is usually executed by calling the method during the code writing process. A class is a data type that includes methods and properties. A class can contain multiple methods. The inheritance relationship of the class is that the subclass can only call the properties and methods of the superclass, and the superclass cannot call the subclass. And subclasses can add methods and properties that are not available in the superclass.

因为异常代码段中存在类的继承关系,从异常代码段中整理出异常代码段 的类的继承关系。又因为一个类可能调用多个方法,在整理关联代码中类的继 承关系后,对调用类下的方法调用关系进行整理。例如,异常代码段中调用了 父类的属性,但是调用了子类的方法,那么最终得到的异常代码是子类而不是 父类。异常代码段中存在多个方法之间的调用关系。确定异常代码关系链可以 通过获取异常代码段与关联代码段的方法名来实现。也可以根据异常代码段或 关联代码段的方法在异常代码段或关联代码段中的位置关系来确定调用关系。 例如,位于关联代码段前一行的方法被后一行的关联代码段的方法调用。Because the class inheritance relationship exists in the exception code segment, the class inheritance relationship of the exception code segment is sorted out from the exception code segment. And because a class may call multiple methods, after sorting out the inheritance relationship of the classes in the associated code, sort out the method calling relationship under the calling class. For example, if the property of the parent class is called in the exception code segment, but the method of the child class is called, the final exception code is the child class instead of the parent class. There is a calling relationship between multiple methods in the exception code segment. Determining the exception code relationship chain can be achieved by obtaining the method name of the exception code segment and the associated code segment. The calling relationship can also be determined according to the positional relationship of the method of the exception code segment or the associated code segment in the exception code segment or the associated code segment. For example, a method on the previous line of the associated code segment is called by a method on the next line of the associated code segment.

作为本申请实施例的一种实现方式,步骤S13包括:As an implementation manner of the embodiment of the present application, step S13 includes:

基于所述异常堆栈信息中异常代码段的行数,在源代码中定位异常代码段; 其中,所述异常代码段为所述异常代码段的行数指示的源代码行中的代码;Based on the number of lines of the abnormal code segment in the exception stack information, locate the abnormal code segment in the source code; wherein, the abnormal code segment is the code in the source code line indicated by the number of lines of the abnormal code segment;

提取所述异常代码段的类名与方法名,从所述源代码中定位关联代码段;Extract the class name and method name of the exception code segment, and locate the associated code segment from the source code;

根据所述异常代码段与所述关联代码段确定异常代码关系链。An exception code relationship chain is determined according to the exception code segment and the associated code segment.

具体地,关联代码段为异常代码段继承的类或者调用方法的相关代码。提 取异常代码段的类名和方法名,可以顺理出异常代码段的类的继承关系和方法 的调用关系。并根据异常代码段继承的类名和调用的方法名从源代码中找到关 联代码段。并用同样的方法对关联代码段也顺理关联代码段的类的继承关系和 方法的调用关系,最终可以确定异常代码关系链。Specifically, the associated code segment is the class inherited by the exception code segment or the related code of the calling method. By extracting the class name and method name of the exception code segment, the class inheritance relationship and the method calling relationship of the exception code segment can be sorted out. And find the associated code segment from the source code according to the class name inherited by the exception code segment and the method name called. In the same way, the class inheritance relationship and the method calling relationship of the associated code segment are also rationalized, and finally the abnormal code relationship chain can be determined.

作为实施例的一种实现方式,上述步骤基于所述异常堆栈信息中异常代码 段的行数,在源代码中定位异常代码段,包括:As a kind of implementation of the embodiment, above-mentioned steps are based on the row number of the abnormal code segment in the described abnormal stack information, and locate the abnormal code segment in the source code, including:

基于所述异常堆栈信息中异常代码段的行数从所述源代码中确定至少一行 代码的代码行数;Determine the number of lines of code of at least one line of code from the source code based on the number of lines of the exception code segment in the exception stack information;

在所述至少一行代码的代码行数中进行定位,将代码行数与所述异常代码 段的行数一致的代码行中的代码作为所述异常代码段。Positioning is performed in the number of lines of code of the at least one line of code, and the code in the line of code whose number of lines of code is the same as the number of lines of the abnormal code segment is used as the abnormal code segment.

具体地,因为异常堆栈信息中存在异常代码段的行数,所以根据异常代码 段行数在源代码中确定代码行数,又因为源代码的代码行数对应有代码内容, 所以根据异常代码段的行数可以从源代码中确定出异常代码段的具体代码内 容。在源代码中定位异常代码段还可以根据异常堆栈信息中异常代码段的包类 与异常代码段的方法名等从源代码中确定异常代码段的内容。Specifically, because there is the number of lines of the exception code segment in the exception stack information, the number of lines of code is determined in the source code according to the number of lines of the exception code segment, and because the number of lines of code in the source code corresponds to the code content, the number of lines of code in the source code is determined according to the number of lines of the exception code segment. The specific code content of the exception code segment can be determined from the source code. Locating the exception code segment in the source code can also determine the content of the exception code segment from the source code according to the package class of the exception code segment and the method name of the exception code segment in the exception stack information.

S14:按照所述异常代码关系链,从所述异常代码段与所述关联代码段中确 定出异常代码内容。S14: According to the abnormal code relationship chain, determine the abnormal code content from the abnormal code segment and the associated code segment.

在步骤S14中,确定了异常代码段与关联代码段之间的异常代码关系链是 根据源代码中的异常代码段找到关联代码段,并根据异常代码关系链中可以找 到最终得到的导致异常的异常代码内容是不调用其他方法的最底层的代码。由 于接收到接口在测试过程返回的异常信息时,通过本实施例的方法定位到异常 代码内容,进而对异常代码内容进行分析,因此,无需在对源代码进行海量分 析,只需要整理出异常代码段的异常代码关系链就可以实时定位发生异常的代 码,定位异常代码的效率较高。In step S14, it is determined that the abnormal code relationship chain between the abnormal code segment and the associated code segment is to find the associated code segment according to the abnormal code segment in the source code, and according to the abnormal code relationship chain, the finally obtained abnormal code segment can be found. Exception code content is the lowest-level code that does not call other methods. Since the exception information returned by the interface during the testing process is received, the content of the exception code is located by the method of this embodiment, and then the content of the exception code is analyzed. Therefore, it is not necessary to perform mass analysis on the source code, and it is only necessary to sort out the exception code. The abnormal code relationship chain of the segment can locate the abnormal code in real time, and the efficiency of locating the abnormal code is high.

通过接收到被测接口在测试过程中返回的异常信息时,确定被测接口的接 口地址;因为被测接口为被测服务器的接口;所以基于异常信息与接口地址, 能够从被测服务器中远程查询被测接口的日志文件,得到与异常信息对应的异 常堆栈信息;又因为根据异常堆栈信息确定异常代码段的异常代码关系链,而 异常代码关系链用于描述异常代码段与关联代码段之间的关联范围;分析异常 代码段与关联代码段之间的继承与调用关系,所以按照异常代码关系链,从异 常代码段与关联代码段中确定出异常代码内容。提高了定位异常代码的效率。The interface address of the interface under test is determined by receiving the abnormal information returned by the interface under test during the test process; because the interface under test is the interface of the server under test; therefore, based on the exception information and interface address, it can be remotely detected from the server under test. Query the log file of the interface under test to obtain the exception stack information corresponding to the exception information; and because the exception code relationship chain of the exception code segment is determined according to the exception stack information, and the exception code relationship chain is used to describe the relationship between the exception code segment and the associated code segment. The range of association between the exception code segment and the associated code segment is analyzed; therefore, according to the exception code relationship chain, the content of the exception code is determined from the exception code segment and the associated code segment. Improves the efficiency of locating abnormal code.

作为本申请实施例的一种实现方式,步骤S14包括:As an implementation manner of the embodiment of the present application, step S14 includes:

按照所述异常代码关系链,从所述异常代码段与所述关联代码段中确定无 调用关系的代码段作为底层代码段;According to the abnormal code relationship chain, determine the code segment without calling relationship from the abnormal code segment and the associated code segment as the underlying code segment;

将所述底层代码段的内容与所述底层代码段的行数作为异常代码内容。The content of the underlying code segment and the number of lines of the underlying code segment are used as abnormal code content.

具体地,异常代码关系链是根据报错的异常代码段找到与异常代码段相关 联的关联代码段,从异常代码段与关联代码段中整理出调用与继承关系。而最 终要找到异常代码内容需要从异常代码关系链中找到最底层不被调用的代码 段,并且将底层代码段的内容与行数作为异常代码内容,查看异常代码内容是 否存在异常。Specifically, the exception code relationship chain is to find the associated code segment associated with the exception code segment according to the exception code segment reported in the error, and sort out the calling and inheritance relationship from the exception code segment and the associated code segment. In the end, to find the content of the exception code, it is necessary to find the code segment at the lowest level that is not called from the exception code relationship chain, and use the content and number of lines of the underlying code segment as the content of the exception code to check whether there is an exception in the content of the exception code.

作为本申请实施例的一种实现方式,在步骤S14之后还可以包括:As an implementation manner of the embodiment of the present application, after step S14, it may further include:

根据所述异常代码内容生成异常通知,并将所述异常通知进行推送。Generate an exception notification according to the exception code content, and push the exception notification.

具体地,将异常代码内容作为通知消息推送给开发人员,开发人员根据对 异常代码进行修改。当确定异常代码内容后,可以基于异常代码内容生成异常 通知,以便基于异常通知对开发人员进行通知。其中,在生成异常通知时,可 以根据异常代码内容的原批注生成,也可以将异常代码内容整理成语言文字进 行推送。Specifically, the content of the exception code is pushed to the developer as a notification message, and the developer modifies the exception code according to it. After the content of the exception code is determined, an exception notification can be generated based on the content of the exception code, so as to notify the developer based on the exception notification. Among them, when generating an exception notification, it can be generated according to the original annotation of the content of the exception code, or the content of the exception code can be sorted into language and text for push.

相应于上面的方法实施例,本发明实施例还提供了一种异常代码定位装置, 如图2所示,该装置30可以包括以下模块:Corresponding to the above method embodiments, the embodiments of the present invention further provide an abnormal code location device. As shown in FIG. 2 , thedevice 30 may include the following modules:

确定模块31,用于当接收到被测接口在测试过程中返回的异常信息时,确 定所述被测接口的接口地址;所述被测接口为被测服务器的接口;Determiningmodule 31 is used to determine the interface address of the tested interface when receiving the abnormal information that the tested interface returns in the test process; the tested interface is the interface of the tested server;

查询模块32,用于基于所述异常信息与所述接口地址,从所述被测服务器 中远程查询所述被测接口的日志文件,得到与所述异常信息对应的异常堆栈信 息;Query module 32 is used to remotely query the log file of the tested interface from the tested server based on the abnormal information and the interface address, to obtain the abnormal stack information corresponding to the abnormal information;

关系模块33,用于根据所述异常堆栈信息确定异常代码段的异常代码关系 链,所述异常代码关系链用于描述所述异常代码段与关联代码段之间的关联范 围;Therelationship module 33 is used to determine the abnormal code relationship chain of the abnormal code segment according to the abnormal stack information, and the abnormal code relationship chain is used to describe the association scope between the abnormal code segment and the associated code segment;

异常模块34,用于按照所述异常代码关系链,从所述异常代码段与所述关 联代码段中确定出异常代码内容。Theexception module 34 is configured to determine the content of the exception code from the exception code segment and the associated code segment according to the exception code relationship chain.

应当理解的是,图2示出的异常代码定位装置的结构框图中,各模块用于 执行图1对应的实施例中的各步骤,而对于图1对应的实施例中的各步骤已在 上述实施例中进行详细解释,具体请参阅图1所对应的实施例中的相关描述, 此处不再赘述。It should be understood that, in the structural block diagram of the abnormal code locating apparatus shown in FIG. 2 , each module is used to execute each step in the embodiment corresponding to FIG. 1 , and each step in the embodiment corresponding to FIG. 1 has been described above. Detailed explanation is given in the embodiment, and for details, please refer to the relevant description in the embodiment corresponding to FIG. 1 , and details are not repeated here.

图3是本申请一实施例提供的一种计算机设备的结构框图。如图3所示, 该实施例的计算机设备40包括:处理器41、存储器42以及存储在所述存储器 42中并可在所述处理器41上运行的计算机程序43,例如异常代码定位方法的 程序。处理器41执行所述计算机程序43时实现上述各个异常代码定位方法各 实施例中的步骤,例如图1所示的S11至S14。或者,所述处理器41执行所述 计算机程序43时实现上述图2对应的实施例中各模块的功能,例如,图2所示 的模块31至34的功能,具体请参阅图2对应的实施例中的相关描述,此处不 赘述。FIG. 3 is a structural block diagram of a computer device provided by an embodiment of the present application. As shown in FIG. 3 , thecomputer device 40 of this embodiment includes: aprocessor 41, amemory 42, and acomputer program 43 stored in thememory 42 and executable on theprocessor 41, such as a method for locating an exception code. program. When theprocessor 41 executes thecomputer program 43, it implements the steps in the various embodiments of the above-mentioned abnormal code locating methods, such as S11 to S14 shown in Fig. 1 . Alternatively, when theprocessor 41 executes thecomputer program 43, the functions of the modules in the embodiment corresponding to FIG. 2 are implemented, for example, the functions of themodules 31 to 34 shown in FIG. 2, please refer to the implementation corresponding to FIG. 2 for details. The relevant descriptions in the examples will not be repeated here.

示例性的,所述计算机程序43可以被分割成一个或多个模块,所述一个或 者多个模块被存储在所述存储器42中,并由所述处理器41执行,以完成本申 请。所述一个或多个模块可以是能够完成特定功能的一系列计算机程序指令段, 该指令段用于描述所述计算机程序43在所述计算机设备40中的执行过程。Exemplarily, thecomputer program 43 may be divided into one or more modules, and the one or more modules are stored in thememory 42 and executed by theprocessor 41 to complete the present application. The one or more modules may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of thecomputer program 43 in thecomputer device 40 .

转台设备可包括,但不仅限于,处理器41、存储器42。本领域技术人员可 以理解,图3仅仅是计算机设备40的示例,并不构成对计算机设备40的限定, 可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例 如所述转台设备还可以包括输入输出设备、网络接入设备、总线等。The turntable device may include, but is not limited to, aprocessor 41 and amemory 42 . Those skilled in the art can understand that FIG. 3 is only an example of thecomputer device 40 , and does not constitute a limitation on thecomputer device 40 , and may include more or less components than shown, or combine some components, or different components For example, the turntable device may further include an input and output device, a network access device, a bus, and the like.

所称处理器41可以是中央处理单元(Central Processing Unit,CPU), 还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、 专用集成电路(Application Specific Integrated Circuit,ASIC)、现成 可编程门阵列(Field-12Programmable Gate Array,FPGA)或者其他可编程 逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是 微处理器或者该处理器也可以是任何常规的处理器等。The so-calledprocessor 41 may be a central processing unit (Central Processing Unit, CPU), and may also be other general-purpose processors, digital signal processors (Digital Signal Processors, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Off-the-shelf Programmable Gate Array (Field-12 Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.

所述存储器42可以是所述计算机设备40的内部存储单元,例如计算机设 备40的硬盘或内存。所述存储器42也可以是所述计算机设备40的外部存储设 备,例如所述计算机设备40上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(SecureDigital,SD)卡,闪存卡(Flash Card)等。 进一步地,所述存储器42还可以既包括所述计算机设备40的内部存储单元也 包括外部存储设备。所述存储器42用于存储所述计算机程序以及所述转台设备 所需的其他程序和数据。所述存储器42还可以用于暂时地存储已经输出或者将 要输出的数据。Thememory 42 may be an internal storage unit of thecomputer device 40, such as a hard disk or a memory of thecomputer device 40. Thememory 42 may also be an external storage device of thecomputer device 40, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card equipped on thecomputer device 40 , Flash card (Flash Card) and so on. Further, thememory 42 may also include both an internal storage unit of thecomputer device 40 and an external storage device. Thememory 42 is used to store the computer program and other programs and data required by the turntable apparatus. Thememory 42 may also be used to temporarily store data that has been output or is to be output.

在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程 序,计算机程序被处理器执行时实现上述实施例中异常代码定位方法。In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the method for locating the abnormal code in the above-mentioned embodiment is implemented.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程, 是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于 一计算机可读存储介质中,该计算机程序在执行时,可包括如上述各方法的实 施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数 据库或其它计算机可读存储介质的任何引用,均可包括非易失性和/或易失性存 储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可 编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可 包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM 以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、 双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink) DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线 动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer When the program is executed, it may include the flow of the embodiments of the above-mentioned methods. Wherein, any reference to memory, storage, database or other computer-readable storage medium used in the various embodiments provided in this application may include non-volatile and/or volatile memory. Nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Road (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM) and so on.

以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照 前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其 依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特 征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申 请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the above-mentioned embodiments, those of ordinary skill in the art should understand that: it can still be used for the above-mentioned implementations. The technical solutions described in the examples are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions in the embodiments of the application, and should be included in the within the scope of protection of this application.

Claims (10)

CN202111354968.0A2021-11-162021-11-16Abnormal code positioning method, device, equipment and mediumPendingCN114528201A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202111354968.0ACN114528201A (en)2021-11-162021-11-16Abnormal code positioning method, device, equipment and medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202111354968.0ACN114528201A (en)2021-11-162021-11-16Abnormal code positioning method, device, equipment and medium

Publications (1)

Publication NumberPublication Date
CN114528201Atrue CN114528201A (en)2022-05-24

Family

ID=81619061

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202111354968.0APendingCN114528201A (en)2021-11-162021-11-16Abnormal code positioning method, device, equipment and medium

Country Status (1)

CountryLink
CN (1)CN114528201A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114880247A (en)*2022-07-042022-08-09成都行远捷科技有限公司BUG analysis method based on log guidance system under distributed condition
CN115185833A (en)*2022-06-252022-10-14平安银行股份有限公司Abnormal code processing method and device, computer equipment and storage medium
CN116126735A (en)*2023-04-132023-05-16紫光同芯微电子有限公司Code exception handling method, device, equipment and storage medium
CN119621549A (en)*2024-11-122025-03-14湖南数据产业集团有限公司 System abnormality positioning notification method, device, computer equipment, and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106294134A (en)*2016-07-292017-01-04腾讯科技(深圳)有限公司The collapse localization method of code and device
CN111752819A (en)*2019-03-292020-10-09广州市百果园信息技术有限公司 An abnormality monitoring method, apparatus, system, device and storage medium
CN112416705A (en)*2020-11-112021-02-26北京五八信息技术有限公司Abnormal information processing method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106294134A (en)*2016-07-292017-01-04腾讯科技(深圳)有限公司The collapse localization method of code and device
CN111752819A (en)*2019-03-292020-10-09广州市百果园信息技术有限公司 An abnormality monitoring method, apparatus, system, device and storage medium
CN112416705A (en)*2020-11-112021-02-26北京五八信息技术有限公司Abnormal information processing method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN115185833A (en)*2022-06-252022-10-14平安银行股份有限公司Abnormal code processing method and device, computer equipment and storage medium
CN114880247A (en)*2022-07-042022-08-09成都行远捷科技有限公司BUG analysis method based on log guidance system under distributed condition
CN116126735A (en)*2023-04-132023-05-16紫光同芯微电子有限公司Code exception handling method, device, equipment and storage medium
CN116126735B (en)*2023-04-132023-08-15紫光同芯微电子有限公司Code exception handling method, device, equipment and storage medium
CN119621549A (en)*2024-11-122025-03-14湖南数据产业集团有限公司 System abnormality positioning notification method, device, computer equipment, and storage medium

Similar Documents

PublicationPublication DateTitle
CN114528201A (en)Abnormal code positioning method, device, equipment and medium
CN108459962B (en)Code normalization detection method and device, terminal equipment and storage medium
US9880832B2 (en)Software patch evaluator
US7861120B2 (en)Method and apparatus for runtime error handling
CN110704297B (en)Code review method, device, computer equipment and storage medium
US11422917B2 (en)Deriving software application dependency trees for white-box testing
CN111538651B (en) Interface testing method, device, server and storage medium
CN110287102A (en) Core data detection and processing method, device, computer equipment and storage medium
CN110879781B (en)Program debugging method, device, electronic equipment and computer readable storage medium
CN114936136A (en)Business process monitoring method and device, computer equipment and storage medium
US11573780B2 (en)Automated generation of status chains for software updates
US9354962B1 (en)Memory dump file collection and analysis using analysis server and cloud knowledge base
CN114500249A (en)Root cause positioning method and device
Wen et al.LLM-Based Misconfiguration Detection for AWS Serverless Computing
CN117938405B (en) CDN service orchestration method, device, equipment and storage medium in a multi-cloud environment
CN118916262A (en)Fault analysis method, device, apparatus, storage medium and program product
CN113626108B (en)Webpack auxiliary configuration method, device, equipment and storage medium
CN112925667B (en)Method, device and equipment for preventing SDK from crashing and readable storage medium
CN115686933A (en)Server-free workflow function exception retry method and device
CN109165127B (en)Problem interface positioning method and device and electronic equipment
CN113722229A (en)Software testing method and device, electronic equipment and storage medium
CN114253846B (en)Automatic test abnormality positioning method, device, equipment and readable storage medium
CN112579858A (en)Data crawling method and device
CN110262968A (en)Promote method, system, medium and the electronic equipment of application failure location efficiency
CN115640236B (en) A script quality detection method and computing device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination

[8]ページ先頭

©2009-2025 Movatter.jp