Traffic tracking method and device, data processing method and device, equipment and storage medium
The traffic data of openresty software is obtained through kernel and user-mode probes, and correlation processing is performed. This solves the intrusive problem of openresty software traffic tracking in the existing technology and achieves non-intrusive traffic tracking and accurate data acquisition.
Patent Information
- Application Number
- CN202410911203.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-10-01
AI Technical Summary
The existing technology requires modification of the business code when performing traffic tracking on openresty software, resulting in intrusive problems.
Obtain the kernel traffic data of the openresty software through the kernel probe, obtain the user-mode traffic data based on the user-mode probe, and perform correlation processing to obtain the target traffic data between the starting point and the end point of the call request to achieve non-intrusive traffic tracking. .
Without changing the business code of the openresty software, the traffic data can be accurately obtained and the traffic tracking of the openresty software can be carried out non-invasively, which improves the tracking efficiency and accuracy.
Smart Images

Figure CN118740700A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to technical fields such as computer communication, the Internet, and data processing in the computer field, and in particular to a traffic tracking method, a data processing method, an apparatus, a device, and a storage medium. Background Art
[0002] Openresty is a high-performance web platform based on nginx (a web server / reverse proxy server and email proxy server) and lua (a scripting language), which integrates a large number of sophisticated lua libraries, third-party modules and most dependencies. Openresty is used to easily build dynamic web applications, web services and dynamic gateways that can handle ultra-high concurrency and high scalability.
[0003] At present, traffic tracking is usually performed on software written based on openresty (i.e., openresty software) through skywalking (an application performance monitoring and distributed tracing system) software. Specifically, the software development kit (SDK) of skywalking software is introduced into the business code of openresty software, and traffic tracking of openresty software is performed through the SDK of skywalking software. However, the above method of tracking traffic of openresty software has the problem of being invasive to the business code of openresty software. Summary of the invention
[0004] The present disclosure provides a traffic tracking method, data processing method, device, equipment and storage medium for non-invasively tracking the traffic of openresty software.
[0005] According to a first aspect of the present disclosure, a traffic tracing method is provided, which is applied to openresty software. The traffic tracing method includes:
[0006] Respond to the call request for the openresty software, obtain the kernel traffic data of the openresty software based on the kernel probe, and obtain the user-state traffic data of the openresty software based on the user-state probe;
[0007] Correlation processing is performed on the kernel traffic data and the user state traffic data to obtain traffic data after correlation processing;
[0008] Based on the traffic data after correlation processing, the target traffic data between the traffic tracking start point and the traffic tracking end point corresponding to the call request is obtained. The traffic tracking start point is the moment when the call request is received, and the traffic tracking end point is the moment when the network data is written to the call request.
[0009] According to a second aspect of the present disclosure, there is provided a data processing method, comprising:
[0010] Obtain target traffic data for the openresty software, where the target traffic data is obtained using the traffic tracking method described in the first aspect of the present disclosure;
[0011] Analyze the target traffic data to obtain the dependencies of the openresty software interface on the downstream application programming interface API and / or database table.
[0012] According to a third aspect of the present disclosure, a traffic tracking device is provided, which is applied to openresty software. The traffic tracking device includes:
[0013] A first acquisition unit is used to respond to a call request for the openresty software, acquire kernel traffic data of the openresty software based on a kernel probe, and acquire user-state traffic data of the openresty software based on a user-state probe;
[0014] The correlation processing unit is used to perform correlation processing on the kernel flow data and the user state flow data to obtain the flow data after correlation processing;
[0015] The second acquisition unit is used to obtain the target traffic data between the traffic tracking start point and the traffic tracking end point corresponding to the call request based on the traffic data after association processing, the traffic tracking start point is the moment when the call request is received, and the traffic tracking end point is the moment when the network data is written to the call request.
[0016] According to a fourth aspect of the present disclosure, there is provided a data processing device, comprising:
[0017] An acquisition unit, used to acquire target traffic data for the openresty software, where the target traffic data is acquired using the traffic tracking method as described in the first aspect of the present disclosure;
[0018] The processing unit is used to analyze the target traffic data and obtain the dependency of the interface of the openresty software on the downstream application programming interface API and / or database table.
[0019] According to the fifth aspect of the present disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the traffic tracking method described in the first aspect or execute the data processing method described in the second aspect.
[0020] According to a sixth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the traffic tracking method described in the first aspect or the data processing method described in the second aspect.
[0021] According to the seventh aspect of the present disclosure, a computer program product is provided, comprising: a computer program, the computer program being stored in a readable storage medium, at least one processor of an electronic device being able to read the computer program from the readable storage medium, the at least one processor executing the computer program so that the electronic device executes the traffic tracking method described in the first aspect or executes the data processing method described in the second aspect.
[0022] The technology disclosed in the present invention solves the problem of traffic tracking of openresty software and the intrusiveness to the business code of openresty software. The kernel traffic data of openresty software is obtained based on kernel probes, and the user-state traffic data of openresty software is obtained based on user-state probes. The kernel traffic data and user-state traffic data can be obtained non-invasively without changing the business code of openresty software; thus, the kernel traffic data and user-state traffic data are associated with each other to obtain the associated traffic data, and the target traffic data between the traffic tracking start point and the traffic tracking end point corresponding to the call request is obtained based on the associated traffic data. On the basis of accurately obtaining the target traffic data, the traffic tracking of openresty software is realized non-invasively.
[0023] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.
[0025] Figure 1 It is a schematic diagram of an application scenario to which the traffic tracking method disclosed in the present invention is applicable;
[0026] Figure 2 is a schematic diagram according to a first embodiment of the present disclosure;
[0027] Figure 3 is a schematic diagram according to a second embodiment of the present disclosure;
[0028] Figure 4 is a schematic diagram according to a third embodiment of the present disclosure;
[0029] Figure 5 is a schematic diagram according to a fourth embodiment of the present disclosure;
[0030] Figure 6 is a schematic diagram according to a fifth embodiment of the present disclosure;
[0031] Figure 7 is a schematic diagram according to a sixth embodiment of the present disclosure;
[0032] Figure 8 FIG. 8 is a schematic block diagram of an example electronic device 800 that may be used to implement embodiments of the present disclosure. DETAILED DESCRIPTION
[0033] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0034] The present invention discloses a traffic tracking method, a data processing method, an apparatus, a device and a storage medium, which are applied to the technical fields of computer communication, the Internet and data processing in the computer field, so as to achieve the purpose of traffic tracking of openresty software without being intrusive to the code of openresty software.
[0035] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0036] First, some technical terms involved in this disclosure are explained:
[0037] The extended Berkeley Packet Filter (eBPF) provides a kernel packet filtering mechanism. It provides a virtual machine in the kernel. The user state passes the filtering rules to the kernel in the form of virtual machine instructions, and the kernel filters the packets according to these instructions. eBPF technology is a kernel programmable technology that provides and supports a rich variety of kernel probe types in a software-defined manner. Through the probe mechanism, it collects the running information of programs in the kernel state or user state without modifying the kernel and application code. This method is a non-invasive change.
[0038] At present, traffic tracking based on openresty software is usually performed through skywalking software. Specifically, the SDK of skywalking software is introduced into the business code of openresty software, and traffic tracking of openresty software is performed through the SDK of skywalking software. Since it is necessary to introduce the SDK of skywalking software into the business code of openresty software, that is, it is necessary to modify the existing business code of openresty software, therefore, there is a problem of intrusion into the business code of openresty software when tracking traffic of openresty software through the above method.
[0039] In order to solve the above problems, the present invention obtains the kernel flow data of the openresty software based on the kernel probe, and obtains the user-state flow data of the openresty software based on the user-state probe, thereby obtaining the target flow data corresponding to the call request for the openresty software according to the kernel flow data and the user-state flow data. The target flow data can be obtained non-invasively without changing the business code of the openresty software, thereby realizing non-invasive flow tracking of the openresty software.
[0040] The traffic tracking method provided by the present disclosure can be applied to the distributed traffic tracking tool within the network disk.
[0041] Figure 1It is a schematic diagram of an application scenario applicable to the traffic tracking method of the present disclosure. The application scenario may include: a server cluster 11 and a client 12. Among them, the server cluster 11 includes multiple servers 111 and a memory 112, and the client 12 may be a tablet computer, a mobile phone, a laptop computer, a desktop computer, a smart home appliance, etc. The server 111 responds to a call request for openresty software from the client 12, obtains the kernel flow data of the openresty software based on the kernel probe, obtains the user state flow data of the openresty software based on the user state probe, and obtains the target flow data corresponding to the call request for the openresty software according to the kernel flow data and the user state flow data. Among them, the relevant data generated when obtaining the target flow data is stored in the memory 112. The dependency of the interface of the openresty software on the downstream application programming interface (Application Programming Interface, API) and / or the database table can be obtained based on the target flow data. In addition, in the process of obtaining the target flow data, the server 111 and the client 12 communicate through a wireless network or a wired network.
[0042] The following specific embodiments are used to describe in detail the technical solution of the present invention and how the technical solution of the present invention solves the above-mentioned technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present invention will be described below in conjunction with the accompanying drawings.
[0043] Figure 2 Schematic diagram of the first embodiment of the present disclosure. Figure 2 As shown, the traffic tracking method provided in the first embodiment of the present disclosure can be applied to an electronic device, which can be a server or a server cluster. The traffic tracking method provided in the first embodiment of the present disclosure includes:
[0044] S201. In response to a call request for openresty software, kernel traffic data of the openresty software is obtained based on a kernel probe, and user-state traffic data of the openresty software is obtained based on a user-state probe.
[0045] In the disclosed embodiment, the call request for the openresty software is triggered by the client, and the call request can also be understood as a network connection from the client to the openresty software triggered by the client. The kernel probe is, for example, a probe inserted in the target kernel function of linux (an operating system) based on the kprobe (a debugging tool for dynamic plugging and monitoring of kernel code execution) function of eBPF. The user-state probe is, for example, a probe inserted in the target function of the openresty software based on the uprobe (a debugging tool for dynamic plugging and monitoring of user-state programs) function of eBPF. The kernel traffic data, for example, includes the first kernel socket address newly created when the call request is received, the second kernel socket address corresponding to the writing of network data, and the first data content written. The user-state traffic data, for example, includes the first file descriptor (filedescriptor, fd) value and the first log identifier (log number) corresponding to the openresty software when writing network data, the fourth kernel socket address corresponding to the first fd value, the second fd value corresponding to the openresty software when reading network data, and the second log identifier and the fifth kernel socket address corresponding to the second fd value. Among them, the first fd value, the first log identifier, the second fd value and the second log identifier are all integer values.
[0046] In this step, the electronic device executing the embodiment of the method responds to the call request for the openresty software, obtains the kernel flow data of the openresty software based on the kernel probe, and obtains the user-state flow data of the openresty software based on the user-state probe. For specific information on how to obtain the kernel flow data of the openresty software based on the kernel probe, and how to obtain the user-state flow data of the openresty software based on the user-state probe, please refer to the subsequent embodiments, which will not be repeated here.
[0047] S202: Correlation processing is performed on the kernel traffic data and the user-mode traffic data to obtain traffic data after correlation processing.
[0048] In this step, after obtaining the kernel traffic data and user-state traffic data of the openresty software, the kernel traffic data and the user-state traffic data can be associated to obtain the traffic data after the associated processing. For example, the kernel traffic data and the user-state traffic data can be associated by the kernel socket address in the kernel traffic data and the user-state traffic data to obtain the traffic data after the associated processing. For specific information on how to associate the kernel traffic data and the user-state traffic data, please refer to the subsequent embodiments, which will not be repeated here.
[0049] S203. Based on the traffic data after association processing, the target traffic data between the traffic tracking start point and the traffic tracking end point corresponding to the call request is obtained. The traffic tracking start point is the moment when the call request is received, and the traffic tracking end point is the moment when the network data is written to the call request.
[0050] Exemplarily, the moment when the call request is received can be used as the starting point of a traffic trace (i.e., the traffic trace starting point), and the moment when the openresty software writes network data to the call request can be used as the end point of this traffic trace (i.e., the traffic trace ending point). The traffic data after the association processing includes, for example, the target log identifier of the user state corresponding to when reading network data from the call request for the openresty software. The target log identifier is an integer, and the target log identifier can be used as the tracking identifier (traceID) of a traffic trace. Thus, the target traffic data whose log identifier is equal to the traceID in the traffic data after the association processing can be collected. For specific information on how to obtain the target traffic data between the traffic trace starting point and the traffic trace ending point corresponding to the call request, please refer to the subsequent embodiments, which will not be repeated here.
[0051] In the disclosed embodiment, kernel traffic data of openresty software is obtained based on kernel probes, and user-state traffic data of openresty software is obtained based on user-state probes. Thus, kernel traffic data and user-state traffic data can be obtained non-invasively without modifying the business code of openresty software. Thus, the kernel traffic data and user-state traffic data are correlated to obtain correlated traffic data. Based on the correlated traffic data, target traffic data between the traffic tracking start point and the traffic tracking end point corresponding to the call request is obtained. On the basis of accurately obtaining the target traffic data, non-invasive traffic tracking of openresty software is achieved.
[0052] Figure 3 FIG. 1 is a schematic diagram of a second embodiment of the present disclosure. Based on the above embodiment, the present disclosure further describes the flow tracking method. Figure 3 As shown, the traffic tracking method provided by the second embodiment of the present disclosure may include:
[0053] Considering that the kernel traffic data includes the first kernel socket address newly created when receiving the call request, the second kernel socket address corresponding to writing network data and the first data content written, and the third kernel socket address corresponding to reading network data and the second data content read, and the user-state traffic data includes the first fd value and the first log identifier corresponding to the openresty software when writing network data, the fourth kernel socket address corresponding to the first fd value, the second fd value and the second log identifier corresponding to the openresty software when reading network data, and the fifth kernel socket address corresponding to the second fd value, therefore, Figure 2 The step S201 may further include the following two steps S301 and S302:
[0054] S301. In response to a call request for openresty software, a first kernel socket address is obtained through a first kernel probe in a kernel accept network connection function; a second kernel socket address and a first data content are obtained through a second kernel probe in a kernel write function, wherein the second kernel socket address includes the first kernel socket address; a third kernel socket address and a second data content are obtained through a third kernel probe in a kernel read function, wherein the third kernel socket address includes the first kernel socket address.
[0055] For example, kernel probes can be inserted into the entry and exit points of the inet_accept function (i.e., kernel accepting network connection function), inet_sendmsg function (i.e., kernel write function) and inet_recvmsg (i.e., kernel read function) of Linux based on the kprobe function of eBPF. The kernel probes are used to parse the parameters of the above kernel functions to obtain the kernel traffic data of the openresty software. Specifically, when a call request for openresty software is received, the first kernel socket address created when the call request is received can be obtained through the first kernel probe in the inet_accept function; the second kernel socket address corresponding to writing network data and the first data content written can be obtained through the second kernel probe in the inet_sendmsg function, wherein the second kernel socket address includes the first kernel socket address for writing network data to the call request and other kernel socket addresses for writing network data to the downstream interface, and the first data content is binary data content; the third kernel socket address corresponding to reading network data and the second data content read can be obtained through the third kernel probe in inet_recvmsg, wherein the third kernel socket address includes the first kernel socket address for reading network data from the call request and other kernel socket addresses for reading network data from the downstream interface, and the second data content is binary data content.
[0056] S302. Obtain a first fd value, a first log identifier, and a fourth kernel socket address through a first user-state probe in a user-state write function, wherein the fourth kernel socket address includes the first kernel socket address; obtain a second fd value, a second log identifier, and a fifth kernel socket address through a second user-state probe in a user-state read function, wherein the fifth kernel socket address includes the first kernel socket address.
[0057] In this step, user-mode probes can be inserted into the entry points of the user-mode write function and the user-mode read function of the openresty software based on the uprobe function of eBPF. The user-mode probes are used to parse the parameters of the user-mode write function and the user-mode read function to obtain the user-mode traffic data of the openresty software.
[0058] Optionally, the user-mode write function includes the ngx_unix_send function, the ngx_writev_chain function, and the ngx_linux_sendfile_chain function in the openresty software; the user-mode read function includes the ngx_unix_recv function and the ngx_readv_chain function in the openresty software.
[0059] Exemplarily, user-mode probes can be inserted into the entry points of the ngx_unix_send function, ngx_writev_chain function, ngx_linux_sendfile_chain function, ngx_unix_recv function, and ngx_readv_chain function based on the uprobe function of eBPF. The parameters of the above user-mode functions are parsed by the user-mode probes to obtain the nginx connection parameter (ngx_connection_t) structure information passed in when the openresty software calls the above user-mode function and the task structure (task_struct) information corresponding to the operating system thread at this time. By parsing the ngx_connection_t structure information, the first fd value and the first log identifier corresponding to the openresty software when writing network data and the second fd value and the second log identifier corresponding to the openresty software when reading network data can be obtained; by parsing the task_struct structure information, the fourth kernel socket address corresponding to the first fd value and the fifth kernel socket address corresponding to the second fd value can be obtained. The first fd value, the first log identifier, the second fd value and the second log identifier are all integer values, and one fd value corresponds to one kernel socket address.
[0060] It should be noted that the embodiment of the present disclosure does not limit the order of obtaining kernel traffic data and user-mode traffic data. Figure 3In the figure, obtaining kernel traffic data first is taken as an example.
[0061] In the disclosed embodiment, Figure 2 The step S202 may further include the following three steps S303 to S305:
[0062] S303: Correlate the kernel flow data and the user state flow data according to the second kernel socket address and the fourth kernel socket address to obtain the first flow data corresponding to when the openresty software writes the network data, wherein the first flow data includes the second kernel socket address, the first data content and the first log identifier.
[0063] Exemplarily, the kernel flow data and the user-state flow data can be associated through the kernel socket address. Specifically, the kernel flow data and the user-state flow data with the same kernel socket address in the second kernel socket address and the fourth kernel socket address are associated to obtain the first flow data corresponding to the openresty software writing network data, the first flow data including the second kernel socket address, the first data content and the first log identifier, wherein the second kernel socket address can be understood as the kernel socket address that is the same as the fourth kernel socket address.
[0064] S304: According to the third kernel socket address and the fifth kernel socket address, the kernel flow data and the user state flow data are associated and processed to obtain the second flow data corresponding to the openresty software reading the network data, wherein the second flow data includes the third kernel socket address, the second data content and the second log identifier.
[0065] Exemplarily, the kernel traffic data and user-state traffic data with the same kernel socket address in the third kernel socket address and the fifth kernel socket address can be associated and processed to obtain the second traffic data corresponding to the openresty software reading the network data, and the second traffic data includes the third kernel socket address, the second data content and the second log identifier, wherein the third kernel socket address can be understood as the kernel socket address that is the same as the fifth kernel socket address.
[0066] It should be noted that the embodiment of the present disclosure does not limit the order in which steps S303 and S304 are executed.
[0067] S305: Obtain associated traffic data according to the first kernel socket address, the first traffic data, and the second traffic data.
[0068] In this step, after obtaining the first flow data and the second flow data, the flow data after the association processing can be obtained, and the flow data after the association processing includes the first kernel socket address, the first flow data and the second flow data.
[0069] In the disclosed embodiment, Figure 2 The step S203 may further include the following step S306:
[0070] S306, based on the target log identifier, the first log identifier, and the second log identifier corresponding to the call request when reading network data, obtain the target traffic data between the traffic tracking start point and the traffic tracking end point corresponding to the call request. The target traffic data includes the target log identifier, the first kernel socket address corresponding to the target log identifier, the write network operation information, and the read network operation information.
[0071] The write network operation information includes a second kernel socket address and a first data content corresponding to a first log identifier identical to the target log identifier, and the read network operation information includes a third kernel socket address and a second data content corresponding to a second log identifier identical to the target log identifier.
[0072] It can be understood that when a call request for the openresty software is received, the network data is first read from the call request, and a target log identifier will be assigned accordingly. Assuming that for the call request, the four downstream interfaces of the openresty software need to be called, each downstream interface corresponds to one write network data and one read network data, and finally one write network data corresponds to one write network data when the network data is written to the call request. It can be determined that the call request corresponds to 5 read network data and 5 write network data. These 5 read network data and 5 write network data all correspond to the same target log identifier, that is, the target traffic data between the traffic tracking start point and the traffic tracking end point corresponding to the call request corresponds to the same target log identifier.
[0073] In this step, exemplarily, after obtaining the traffic data after the association processing, based on the target log identifier, the first log identifier and the second log identifier corresponding to the call request when reading the network data, the traffic data whose log identifier is equal to the target log identifier in the first log identifier and the second log identifier between the traffic tracking start point and the traffic tracking end point corresponding to the call request can be obtained. The target traffic data obtained includes the target log identifier of the current traffic tracking, the first kernel socket address corresponding to the call request received by the current traffic tracking, the write network operation information and the read network operation information. Among them, the write network operation information includes the second kernel socket address and the first data content corresponding to the first log identifier that is the same as the target log identifier, and the read network operation information includes the third kernel socket address and the second data content corresponding to the second log identifier that is the same as the target log identifier.
[0074] S307: Combine and process the data contents with the same kernel socket address in the target traffic data to obtain the target traffic tracking data corresponding to the call request.
[0075] It can be understood that for a call request to the openresty software, the network data is read first and then written, then the kernel socket address for reading the network data and the kernel socket address for writing the network data are the same. In this step, after obtaining the target traffic data between the traffic tracking start point and the traffic tracking end point corresponding to the call request, the data content with the same kernel socket address in the target traffic data can be combined and processed to obtain the target traffic tracking data corresponding to the call request. The target traffic tracking data includes the target log identifier of the current traffic tracking, the first kernel socket address corresponding to the call request received by the current traffic tracking, and multiple target request data. Among them, each target request data includes a second kernel socket address and a first data content and a second data content corresponding to the second kernel socket address, wherein the second kernel socket address can be understood as a kernel socket address that is the same as the third kernel socket address.
[0076] In an example, suppose a call request for openresty software needs to call 4 downstream interfaces of openresty software. First, read network data from the call request, and the corresponding kernel socket address is represented by socket1; then each downstream interface corresponds to one write network data and one read network data, and the kernel socket addresses corresponding to the four read and write network data are represented by socket2, socket3, socket4 and socket5; finally, when writing network data to the call request, it corresponds to one write network data, and the corresponding kernel socket address is socket1, then it can be determined that the call request corresponds to 5 read network data and 5 write network data. Combine the data content with the same kernel socket address in the 5 read network data and the 5 write network data to obtain the complete target traffic tracking data corresponding to the call request. The target traffic tracking data includes the target log identifier of the current traffic tracking, the socket1 corresponding to the call request received by the current traffic tracking, and 5 target request data, thereby completing a complete traffic tracking. Among them, each target request data includes the kernel socket address and the binary data content read and written corresponding to the kernel socket address. Specifically, the five target request data include socket1, the binary data content read and written corresponding to socket1, socket2, the binary data content read and written corresponding to socket2, socket3, the binary data content read and written corresponding to socket3, socket4, the binary data content read and written corresponding to socket4, and socket5, the binary data content read and written corresponding to socket5. It can be understood that the target request data including socket1 and the binary data content read and written corresponding to socket1 in the five target request data is the request data corresponding to the call request for the openresty software, and the other target request data in the five target request data is the request data corresponding to the call request to access the downstream interface.
[0077] In another example, assuming that the electronic device executing the embodiment of the present method receives 1000 call requests for the openresty software, where each call request corresponds to 5 write network data and 5 read network data, then 10,000 read and write network data can be obtained. For each call request, according to the log identifier corresponding to each read network data and write network data, the target traffic data between the traffic tracking start point and the traffic tracking end point corresponding to each call request can be obtained, and the target traffic data includes 5 write network operation information and 5 read network operation information; the data content with the same kernel socket address in the target traffic data is combined and processed to obtain the target traffic tracking data corresponding to each call request, and the target traffic tracking data includes 5 target request data. Thus, 5000 target request data corresponding to 1000 call requests can be obtained.
[0078] In the disclosed embodiment, a first kernel socket address is obtained through a first kernel probe in a kernel accept network connection function, a second kernel socket address and a first data content are obtained through a second kernel probe in a kernel write function, and a third kernel socket address and a second data content are obtained through a third kernel probe in a kernel read function; a first fd value, a first log identifier, and a fourth kernel socket address are obtained through a first user-state probe in a user-state write function, and a second fd value, a second log identifier, and a fifth kernel socket address are obtained through a second user-state probe in a user-state read function, that is, kernel traffic data of openresty software is obtained based on different kernel probes, and based on different user The state probe obtains the user-state traffic data of the openresty software. It can non-invasively obtain the kernel traffic data and user-state traffic data without changing the business code of the openresty software; the kernel traffic data and the user-state traffic data are correlated based on the kernel socket address to obtain the correlated traffic data; based on the log identifier, the target traffic data between the traffic tracking start point and the traffic tracking end point corresponding to the call request is obtained; the data content with the same kernel socket address in the target traffic data is combined and processed to obtain the complete target traffic tracking data corresponding to the call request, thereby realizing non-invasive traffic tracking of the openresty software.
[0079] Based on the above embodiments, Figure 4 is a schematic diagram according to the third embodiment of the present disclosure. Figure 4 As shown, the data processing method provided by the third embodiment of the present disclosure includes:
[0080] S401. Obtain target traffic data for openresty software. The target traffic data is obtained by using a traffic tracking method in any of the above method embodiments.
[0081] In this step, the traffic tracking method in any of the above method embodiments may be used to obtain target traffic data for the openresty software.
[0082] S402: Analyze the target traffic data to obtain the dependency of the openresty software interface on the downstream API and / or database table.
[0083] For example, Figure 5 is a schematic diagram according to a fourth embodiment of the present disclosure, Figure 5 As shown, in the application scenario of the target traffic data provided by the fourth embodiment of the present disclosure, when a call request for the business interface a of the openresty software is received, the target traffic data corresponding to the business interface a is obtained, the target traffic data is analyzed, and the data content with the same kernel socket address in the target traffic data is combined and processed to obtain the target traffic tracking data corresponding to the business interface a. The target traffic tracking data includes, for example, the target log identifier of the current traffic tracking, the first kernel socket address corresponding to the call request received by the current traffic tracking, and multiple target request data. Therefore, the service interface a for the downstream API (i.e. Figure 5 API1, API2, and API3) and the database (i.e. Figure 5 Dependencies of DB1) tables in.
[0084] In the embodiments of the present disclosure, the target traffic data for the openresty software is obtained by using the traffic tracking method as in any of the above-mentioned method embodiments, and the traffic of the openresty software can be tracked non-invasively to accurately obtain the target traffic data; by analyzing the target traffic data, the dependency of the interface of the openresty software on the downstream API and / or database table can be accurately obtained, thereby helping to improve development efficiency.
[0085] The following are embodiments of the device disclosed herein, which can be used to execute the method embodiments disclosed herein. For details not disclosed in the device embodiments disclosed herein, please refer to the method embodiments disclosed herein.
[0086] Figure 6 is a schematic diagram according to the fifth embodiment of the present disclosure. The flow tracking device 600 provided in the fifth embodiment of the present disclosure is applied to the openresty software. Figure 6 As shown, the flow tracking device 600 provided in the fifth embodiment of the present disclosure includes: a first acquisition unit 601, an association processing unit 602, and a second acquisition unit 603. Among them:
[0087] The first acquisition unit 601 is used to respond to a call request for the openresty software, acquire kernel traffic data of the openresty software based on a kernel probe, and acquire user-state traffic data of the openresty software based on a user-state probe.
[0088] The correlation processing unit 602 is used to perform correlation processing on the kernel traffic data and the user state traffic data to obtain the traffic data after correlation processing.
[0089] The second acquisition unit 603 is used to obtain the target traffic data between the traffic tracking start point and the traffic tracking end point corresponding to the call request based on the traffic data after association processing. The traffic tracking start point is the moment when the call request is received, and the traffic tracking end point is the moment when the network data is written to the call request.
[0090] In some embodiments, the kernel traffic data includes a first kernel socket address newly created when a call request is received, a second kernel socket address corresponding to when writing network data and a first data content written, and a third kernel socket address corresponding to when reading network data and a second data content read; the first acquisition unit 601 includes: a first acquisition module (not shown in the figure), which is used to acquire the first kernel socket address through the first kernel probe in the kernel accept network connection function; a second acquisition module (not shown in the figure), which is used to acquire the second kernel socket address and the first data content through the second kernel probe in the kernel write function, and the second kernel socket address includes the first kernel socket address; a third acquisition module (not shown in the figure), which is used to acquire the third kernel socket address and the second data content through the third kernel probe in the kernel read function, and the third kernel socket address includes the first kernel socket address.
[0091] In some embodiments, the user-state traffic data includes the first file descriptor fd value and the first log identifier corresponding to when the openresty software writes network data, the fourth kernel socket address corresponding to the first fd value, the second fd value and the second log identifier corresponding to when the openresty software reads network data, and the fifth kernel socket address corresponding to the second fd value. The first acquisition unit 601 includes: a fourth acquisition module (not shown in the figure), which is used to obtain the first fd value, the first log identifier and the fourth kernel socket address through the first user-state probe in the user-state write function, and the fourth kernel socket address includes the first kernel socket address; a fifth acquisition module (not shown in the figure), which is used to obtain the second fd value, the second log identifier and the fifth kernel socket address through the second user-state probe in the user-state read function, and the fifth kernel socket address includes the first kernel socket address.
[0092] In some embodiments, the user-mode write function includes the ngx_unix_send function, the ngx_writev_chain function, and the ngx_linux_sendfile_chain function in the openresty software; the user-mode read function includes the ngx_unix_recv function and the ngx_readv_chain function in the openresty software.
[0093] In some embodiments, the association processing unit 602 includes: a first processing module (not shown in the figure), which is used to associate the kernel traffic data and the user-state traffic data according to the second kernel socket address and the fourth kernel socket address, and obtain the first traffic data corresponding to the openresty software when writing network data, and the first traffic data includes the second kernel socket address, the first data content and the first log identifier; a second processing module (not shown in the figure), which is used to associate the kernel traffic data and the user-state traffic data according to the third kernel socket address and the fifth kernel socket address, and obtain the second traffic data corresponding to the openresty software when reading network data, and the second traffic data includes the third kernel socket address, the second data content and the second log identifier; a third processing module (not shown in the figure), which is used to obtain the traffic data after association processing according to the first kernel socket address, the first traffic data and the second traffic data.
[0094] In some embodiments, the second acquisition unit 603 includes: an acquisition module (not shown in the figure), which is used to acquire the target traffic data between the traffic tracking start point and the traffic tracking end point corresponding to the call request based on the target log identifier, the first log identifier and the second log identifier corresponding to the call request when reading network data, the target traffic data includes the target log identifier, the first kernel socket address corresponding to the target log identifier, write network operation information and read network operation information, the write network operation information includes the second kernel socket address and the first data content corresponding to the first log identifier that is the same as the target log identifier, and the read network operation information includes the third kernel socket address and the second data content corresponding to the second log identifier that is the same as the target log identifier.
[0095] In some embodiments, the second acquisition unit 603 also includes: a processing module (not shown in the figure), which is used to combine and process the data content with the same kernel socket address in the target traffic data after acquiring the target traffic data, so as to obtain the target traffic tracking data corresponding to the call request.
[0096] Figure 6 The provided traffic tracking device can execute the steps in the method embodiment corresponding to the above-mentioned traffic tracking method. Its implementation principle and technical effects are similar and will not be repeated here.
[0097] Figure 7 is a schematic diagram according to the sixth embodiment of the present disclosure. Figure 7 As shown, the data processing device 700 provided in the sixth embodiment of the present disclosure includes: an acquisition unit 701 and a processing unit 702. Among them:
[0098] An acquisition unit 701 is used to acquire target traffic data for the openresty software, where the target traffic data is acquired by using a traffic tracking method in any of the above method embodiments;
[0099] The processing unit 702 is used to analyze the target traffic data and obtain the dependency of the interface of the openresty software on the downstream application programming interface API and / or database table.
[0100] Figure 7 The provided data device can execute the steps in the method embodiment corresponding to the above-mentioned data processing method. Its implementation principle and technical effects are similar and will not be repeated here.
[0101] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the solution provided by any of the above embodiments.
[0102] According to an embodiment of the present disclosure, the present disclosure further provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to execute a solution provided by any of the above embodiments.
[0103] According to an embodiment of the present disclosure, the present disclosure also provides a computer program product, which includes: a computer program, the computer program is stored in a readable storage medium, at least one processor of an electronic device can read the computer program from the readable storage medium, and at least one processor executes the computer program so that the electronic device executes the solution provided by any of the above embodiments.
[0104] Figure 88 is a schematic block diagram of an example electronic device 800 that can be used to implement an embodiment of the present disclosure. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0105] like Figure 8 As shown, the electronic device 800 includes a computing unit 801, which can store data stored in a read-only memory (ROM) ( Figure 8 A computer program in ROM 802 is loaded from storage unit 808 to random access memory (RAM) ( Figure 8 The computer programs in the RAM 803 are used to perform various appropriate actions and processes. The RAM 803 may also store various programs and data required for the operation of the electronic device 800. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. The input / output (I / O) interface ( Figure 8 The I / O interface 805 is also connected to the bus 804 .
[0106] Multiple components in the electronic device 800 are connected to the I / O interface 805, including: an input unit 806, such as a keyboard, a mouse, etc.; an output unit 807, such as various types of displays, speakers, etc.; a storage unit 808, such as a disk, an optical disk, etc.; and a communication unit 809, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 809 allows the electronic device 800 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0107] The computing unit 801 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSP), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 801 performs the various methods and processes described above, such as the traffic tracing method. For example, in some embodiments, the traffic tracing method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 800 via the ROM 802 and / or the communication unit 809. When the computer program is loaded into the RAM 803 and executed by the computing unit 801, one or more steps of the traffic tracing method described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to execute the traffic tracing method in any other appropriate manner (eg, by means of firmware).
[0108] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard parts (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0109] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0110] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0111] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0112] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: Local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
[0113] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server of a distributed system, or a server combined with a blockchain.
[0114] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0115] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, fusions, sub-fusions and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure should be included in the protection scope of the present disclosure.
Claims
1. A traffic tracking method, applied to openresty software, the traffic tracking method include: In response to a call request for the openresty software, kernel traffic data of the openresty software is obtained based on a kernel probe, and user-state traffic data of the openresty software is obtained based on a user-state probe; Performing correlation processing on the kernel traffic data and the user state traffic data to obtain traffic data after correlation processing; Based on the traffic data after the association processing, the target traffic data between the traffic tracking starting point and the traffic tracking ending point corresponding to the call request is obtained, the traffic tracking starting point is the moment when the call request is received, and the traffic tracking ending point is the moment when the network data is written to the call request.
2. The flow tracking method according to claim 1, in, The kernel traffic data includes a first kernel socket address newly created when the call request is received, a second kernel socket address corresponding to writing network data and the first data content written, and a third kernel socket address corresponding to reading network data and the second data content read; The obtaining of kernel flow data of the openresty software based on a kernel probe includes: Acquire the first kernel socket address through a first kernel probe in a kernel accept network connection function; Acquire the second kernel socket address and the first data content through a second kernel probe in the kernel write function, wherein the second kernel socket address includes the first kernel socket address; The third kernel socket address and the second data content are acquired through a third kernel probe in a kernel read function, wherein the third kernel socket address includes the first kernel socket address.
3. The flow tracking method according to claim 2, in, The user-state traffic data includes a first file descriptor fd value and a first log identifier corresponding to when the openresty software writes network data, a fourth kernel socket address corresponding to the first fd value, a second fd value and a second log identifier corresponding to when the openresty software reads network data, and a fifth kernel socket address corresponding to the second fd value. The user-state traffic data of the openresty software is obtained based on a user-state probe, including: Acquire the first fd value, the first log identifier, and the fourth kernel socket address through a first user-state probe in a user-state write function, wherein the fourth kernel socket address includes the first kernel socket address; The second fd value, the second log identifier and the fifth kernel socket address are acquired through a second user-state probe in a user-state read function, and the fifth kernel socket address includes the first kernel socket address.
4. The flow tracking method according to claim 3, in, The user-state write function includes the ngx_unix_send function, the ngx_writev_chain function and the ngx_linux_sendfile_chain function in the openresty software; the user-state read function includes the ngx_unix_recv function and the ngx_readv_chain function in the openresty software.
5. The flow tracking method according to claim 3, in, The correlating process of the kernel traffic data and the user state traffic data to obtain the traffic data after the correlating process includes: According to the second kernel socket address and the fourth kernel socket address, the kernel flow data and the user state flow data are associated with each other to obtain first flow data corresponding to when the openresty software writes network data, wherein the first flow data includes the second kernel socket address, the first data content and the first log identifier; According to the third kernel socket address and the fifth kernel socket address, the kernel flow data and the user state flow data are associated with each other to obtain second flow data corresponding to when the openresty software reads network data, wherein the second flow data includes the third kernel socket address, the second data content and the second log identifier; According to the first kernel socket address, the first traffic data and the second traffic data, the traffic data after association processing is obtained.
6. The flow tracking method according to claim 3, in, The acquiring, based on the associated processed traffic data, target traffic data between the traffic tracking start point and the traffic tracking end point corresponding to the call request, comprises: Based on the target log identifier, the first log identifier and the second log identifier corresponding to when reading network data from the call request, the target traffic data between the traffic tracking start point and the traffic tracking end point corresponding to the call request is obtained, the target traffic data includes the target log identifier, the first kernel socket address corresponding to the target log identifier, write network operation information and read network operation information, the write network operation information includes the second kernel socket address and the first data content corresponding to the first log identifier that is the same as the target log identifier, and the read network operation information includes the third kernel socket address and the second data content corresponding to the second log identifier that is the same as the target log identifier.
7. The flow tracking method according to any one of claims 1 to 6, in, After obtaining the target flow data, the method further includes: The data contents with the same kernel socket address in the target traffic data are combined and processed to obtain the target traffic tracking data corresponding to the call request.
8. A data processing method, include: Obtain target traffic data for openresty software, wherein the target traffic data is obtained by using the traffic tracking method according to any one of claims 1 to 7; The target traffic data is analyzed to obtain the dependency of the interface of the openresty software on the downstream application programming interface API and / or database table.
9. A flow tracking device, applied to openresty software, the flow tracking device include: A first acquisition unit is used to respond to a call request for the openresty software, acquire kernel traffic data of the openresty software based on a kernel probe, and acquire user-state traffic data of the openresty software based on a user-state probe; An association processing unit, used for performing association processing on the kernel traffic data and the user state traffic data to obtain traffic data after association processing; The second acquisition unit is used to obtain the target traffic data between the traffic tracking start point and the traffic tracking end point corresponding to the call request based on the traffic data after the association processing, wherein the traffic tracking start point is the moment when the call request is received, and the traffic tracking end point is the moment when the network data is written to the call request.
10. The flow tracking device according to claim 9, in, The kernel traffic data includes a first kernel socket address newly created when the call request is received, a second kernel socket address corresponding to writing network data and the first data content written, and a third kernel socket address corresponding to reading network data and the second data content read; The first acquiring unit includes: A first acquisition module, configured to acquire the first kernel socket address through a first kernel probe in a kernel network connection acceptance function; a second acquisition module, configured to acquire the second kernel socket address and the first data content through a second kernel probe in a kernel write function, wherein the second kernel socket address includes the first kernel socket address; The third acquisition module is used to acquire the third kernel socket address and the second data content through a third kernel probe in the kernel read function, wherein the third kernel socket address includes the first kernel socket address.
11. The flow tracking device according to claim 10, in, The user-mode traffic data includes a first file descriptor fd value and a first log identifier corresponding to when the openresty software writes network data, a fourth kernel socket address corresponding to the first fd value, a second fd value and a second log identifier corresponding to when the openresty software reads network data, and a fifth kernel socket address corresponding to the second fd value, and the first acquisition unit includes: a fourth acquisition module, configured to acquire the first fd value, the first log identifier, and the fourth kernel socket address through a first user-state probe in a user-state write function, wherein the fourth kernel socket address includes the first kernel socket address; The fifth acquisition module is used to acquire the second fd value, the second log identifier and the fifth kernel socket address through the second user-state probe in the user-state read function, and the fifth kernel socket address includes the first kernel socket address.
12. The flow tracking device according to claim 11, in, The user-state write function includes the ngx_unix_send function, the ngx_writev_chain function and the ngx_linux_sendfile_chain function in the openresty software; the user-state read function includes the ngx_unix_recv function and the ngx_readv_chain function in the openresty software.
13. The flow tracking device according to claim 11, in, The association processing unit comprises: A first processing module, configured to associate the kernel flow data with the user state flow data according to the second kernel socket address and the fourth kernel socket address, to obtain first flow data corresponding to when the openresty software writes network data, wherein the first flow data includes the second kernel socket address, the first data content and the first log identifier; A second processing module, configured to associate the kernel flow data with the user state flow data according to the third kernel socket address and the fifth kernel socket address, to obtain second flow data corresponding to when the openresty software reads network data, wherein the second flow data includes the third kernel socket address, the second data content and the second log identifier; The third processing module is used to obtain the associated processed traffic data according to the first kernel socket address, the first traffic data and the second traffic data.
14. The flow tracking device according to claim 11, in, The second acquiring unit includes: An acquisition module is used to acquire the target traffic data between the traffic tracking start point and the traffic tracking end point corresponding to the call request based on the target log identifier corresponding to the call request when reading network data, the first log identifier and the second log identifier, the target traffic data including the target log identifier, the first kernel socket address corresponding to the target log identifier, write network operation information and read network operation information, the write network operation information including the second kernel socket address and the first data content corresponding to the first log identifier that is the same as the target log identifier, and the read network operation information including the third kernel socket address and the second data content corresponding to the second log identifier that is the same as the target log identifier.
15. The flow tracking device according to any one of claims 9 to 14, in, The second acquiring unit further includes: The processing module is used to combine and process the data content with the same kernel socket address in the target traffic data after acquiring the target traffic data, so as to obtain the target traffic tracking data corresponding to the call request.
16. A data processing device, include: An acquisition unit, used to acquire target traffic data for openresty software, wherein the target traffic data is acquired by using the traffic tracking method according to any one of claims 1 to 7; The processing unit is used to analyze the target traffic data and obtain the dependency of the interface of the openresty software on the downstream application programming interface API and / or database table.
17. An electronic device, include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 8.
18. A non-transitory computer-readable storage medium storing computer instructions, in, The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 8.
19. A computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 8.
Citation Information
Cited By
Fault analysis method and device, medium and program product
CN120704936A
Fault analysis methods, equipment, media and program products
CN120704936B
