Method and apparatus for debugging cloud native application, and device and storage medium
By receiving debugging requests from the cloud native environment on the local side for program debugging, and using the sidecar service node to process the call requests and return data, the problem of the tedious remote debugging process of cloud native applications is solved, and rapid remote debugging and deployment of cloud native applications are achieved. , improving debugging efficiency.
Patent Information
- Application Number
- PCT/CN2023/140016
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-24
- Filing Date
- 2023-12-19
- Publication Date
- 2024-08-29
AI Technical Summary
In the existing technology, the remote debugging process of cloud native applications is cumbersome, and the workload of development and debugging personnel is heavy, which affects the remote debugging efficiency of cloud native applications. After each debugging, the application needs to be deployed to the cloud native environment for testing to check code modifications. Effect.
By receiving debugging requests from the cloud native environment on the local side for program debugging, and using sidecar service nodes to process and intercept call requests and return data, rapid remote debugging of cloud native applications is achieved, avoiding the need to deploy to cloud native after each debugging. Environmental steps.
It greatly improves the speed of remote debugging of cloud native applications, reduces the workload of development and debugging personnel, enables rapid remote debugging and deployment of faulty cloud native applications, and improves debugging efficiency.
Smart Images

Figure CN2023140016_29082024_PF_FP_ABST
Abstract
Description
A method, device, equipment and storage medium for debugging cloud native applications
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to the Chinese patent application filed with the China Patent Office on February 24, 2023, with application number 202310163815.0, entitled “A debugging method, device, equipment and storage medium for cloud native applications”, the entire contents of which are incorporated by reference into this application. Technical Field
[0003] The embodiments of the present application relate to the field of cloud-native remote debugging technology, and specifically, to a debugging method, apparatus, device, and storage medium for cloud-native applications. Background Art
[0004] Cloud native is a distributed cloud based on distributed deployment and unified operations management. Cloud native applications are designed for cloud native environments. By using cloud native technology, developers no longer need to consider the underlying technical implementation, fully leveraging the elasticity and distributed nature of the cloud platform to achieve rapid deployment, on-demand scaling, and non-stop delivery when developing applications. Remote debugging is required when developing cloud native applications. Existing technologies require local debugging of cloud native applications during remote debugging. After each debugging session, the debugged cloud native application must be deployed to the cloud native environment for testing to verify the effects of the code modifications.
[0005] In the prior art, when debugging cloud native applications, cloud native applications are debugged and deployed multiple times. The debugging process is very cumbersome and the workload of development and debugging personnel is huge, which affects the efficiency of remote debugging of cloud native applications.
[0006] The embodiments of the present application provide a debugging method, apparatus, device, and storage medium for cloud-native applications, aiming to achieve rapid remote debugging of cloud-native applications.
[0007] A first aspect of an embodiment of the present application provides a method for debugging a cloud-native application, the method comprising:
[0008] When the local end receives a debugging request from the remote end cloud native application in the cloud native environment, the local end cloud native application is debugged according to the debugging request to obtain a debugged cloud native application;
[0009] The local end sends a first call request to the sidecar service node corresponding to the cloud native application through the debugged cloud native application to perform a running test on the debugged cloud native application;
[0010] The sidecar service node sends the call request to the called application corresponding to the first call request;
[0011] The sidecar service node receives the return data sent by the called application, processes the return data according to the preset data processing rules, and sends the processed return data to the local end;
[0012] When no error message is generated during the operation of the debugged cloud native application after loading the processed return data, the debugged cloud native application is deployed to the remote end to replace the cloud native application on the remote end.
[0013] In some embodiments, the method further comprises:
[0014] The sidecar service node sends the first call request to the cloud-native application at the remote end; the cloud-native application at the remote end is triggered by the call request and sends a second call request with the same content as the first call request to the sidecar service node;
[0015] The sidecar service node intercepts the second call request;
[0016] The sidecar service node copies the returned data and sends the copied returned data to the cloud-native application at the remote end.
[0017] In some embodiments, the method further comprises:
[0018] When the sidecar service node receives a third call request issued to the remote cloud native application, the sidecar service node sends the third call request to the debugged cloud native application;
[0019] The debugged cloud native application sends the return data corresponding to the third call request to the sidecar service node;
[0020] The sidecar service node sends the return data to the application that makes the third call request;
[0021] When the debugged cloud native application sends return data normally according to the third call request, the debugged cloud native application is deployed to the remote end to replace the cloud native application on the remote end.
[0022] In some embodiments, the method further comprises:
[0023] The sidecar service node sends the third call request to the cloud native application at the remote end;
[0024] The cloud native application at the remote end sends the return data corresponding to the third call request to the sidecar service node;
[0025] The sidecar service node intercepts the returned data.
[0026] In some embodiments, the sidecar service node is pre-deployed in the cloud native environment, and the configuration steps of the sidecar service node in the cloud native environment include:
[0027] Setting the sidecar service node as the proxy service node for the remote cloud native application;
[0028] Set the request interception rules and data processing rules corresponding to the cloud native application on the sidecar service node.
[0029] In some embodiments, setting the sidecar service node as a proxy service node for the remote cloud native application includes:
[0030] Modify the entry address of the remote cloud native application to the address of the sidecar service node;
[0031] Modify the exit address of the remote cloud native application to the address of the sidecar service node.
[0032] In some embodiments, setting the request interception rule and data processing rule corresponding to the cloud native application on the sidecar service node includes:
[0033] The sidecar service node receives the configuration file corresponding to the cloud native application;
[0034] The sidecar service node determines the request interception rules and data processing rules corresponding to the cloud native application based on the configuration file.
[0035] In some embodiments, when a local end receives a debugging request from a remote cloud native application in a cloud native environment, debugging the local cloud native application according to the debugging request to obtain a debugged cloud native application includes:
[0036] The local end locates a fault occurring in the cloud-native application on the remote end according to the error information included in the debugging request;
[0037] In response to the fault, program debugging is performed on the local cloud native application to obtain a debugged cloud native application.
[0038] In some embodiments, the sidecar service node sends the call request to the called application corresponding to the first call request, including:
[0039] The sidecar service node determines the first call request from all received requests according to a preset request interception rule;
[0040] The sidecar service node determines, according to the first call request, a called application corresponding to the first call request;
[0041] The sidecar service node sends the first call request to the called application.
[0042] In some embodiments, the sidecar service node receives the return data sent by the called application, processes the return data according to a preset data processing rule, and sends the processed return data to the local end, including:
[0043] The sidecar service node adjusts the parameters of the returned data according to pre-set data processing rules;
[0044] The processed return data is sent to the local end.
[0045] In some embodiments, deploying the debugged cloud-native application to the remote end includes:
[0046] The local end sends the debugged cloud native application to the remote end in the cloud native environment;
[0047] The remote end replaces the cloud native application on the remote end with the debugged cloud native application.
[0048] In some embodiments, the method further comprises:
[0049] The sidecar service node detects the return data of the called application, and when the return data is error data, determines that the called application has a fault;
[0050] The sidecar service node sends corresponding fault data to the called application.
[0051] A second aspect of an embodiment of the present application provides a debugging device for a cloud-native application, the device comprising:
[0052] A cloud native application debugging module is configured to, when a local end receives a debugging request from a remote cloud native application in a cloud native environment, debug the local cloud native application according to the debugging request to obtain a debugged cloud native application;
[0053] A first call request sending module is used for the local end to send a first call request to the sidecar service node corresponding to the cloud native application through the debugged cloud native application to perform a run test on the debugged cloud native application;
[0054] A first call request forwarding module is used for the sidecar service node to send the call request to the called application corresponding to the first call request;
[0055] A return data forwarding module is used for the sidecar service node to receive the return data sent by the called application, process the return data according to preset data processing rules, and send the processed return data to the local end;
[0056] The cloud native application deployment module is used to deploy the debugged cloud native application to the remote end to replace the cloud native application on the remote end when no error information is generated during the operation of the debugged cloud native application after loading the processed return data.
[0057] In some embodiments, the apparatus further comprises:
[0058] A first call request copy and sending module is used for the sidecar service node to send the first call request to the remote cloud native application;
[0059] A second call request sending module is used for the cloud native application on the remote end to be triggered by the call request and send a second call request with the same content as the first call request to the sidecar service node;
[0060] A second call request interception module is used for the sidecar service node to intercept the second call request;
[0061] The return data copy and sending module is used for the sidecar service node to copy the return data and send the copied return data to the cloud native application at the remote end.
[0062] In some embodiments, the apparatus further comprises:
[0063] A third call request forwarding module is configured to send the third call request to the debugged cloud native application when the sidecar service node receives a third call request issued to the remote cloud native application;
[0064] A return data sending module is used for the debugged cloud native application to send the return data corresponding to the third call request to the sidecar service node;
[0065] A second return data forwarding module is used for the sidecar service node to send the return data to the application that makes the third call request;
[0066] The second cloud-native application deployment module is used to deploy the debugged cloud-native application to the remote end to replace the cloud-native application on the remote end when the debugged cloud-native application normally sends return data according to the third call request.
[0067] In some embodiments, the apparatus further comprises:
[0068] A third call request copy and sending module is used for the sidecar service node to send the third call request to the cloud native application at the remote end;
[0069] A second return data sending module is used for the cloud native application on the remote end to send the return data corresponding to the third call request to the sidecar service node;
[0070] The return data interception module is used by the sidecar service node to intercept the return data.
[0071] In some embodiments, the sidecar service node is pre-deployed in the cloud native environment, and the configuration steps of the sidecar service node in the cloud native environment include:
[0072] Setting the sidecar service node as the proxy service node for the remote cloud native application;
[0073] Set the request interception rules and data processing rules corresponding to the cloud native application on the sidecar service node.
[0074] In some embodiments, setting the sidecar service node as a proxy service node for the remote cloud native application includes:
[0075] Modify the entry address of the remote cloud native application to the address of the sidecar service node;
[0076] Modify the exit address of the remote cloud native application to the address of the sidecar service node.
[0077] In some embodiments, setting the request interception rule and data processing rule corresponding to the cloud native application on the sidecar service node includes:
[0078] The sidecar service node receives the configuration file corresponding to the cloud native application;
[0079] The sidecar service node determines the request interception rules and data processing rules corresponding to the cloud native application based on the configuration file.
[0080] In some embodiments, the cloud-native application debugging module includes:
[0081] a fault locating submodule, configured for the local end to locate a fault occurring in the cloud-native application on the remote end based on the error information included in the debugging request;
[0082] The program debugging submodule is used to debug the local cloud native application according to the fault to obtain a debugged cloud native application.
[0083] In some embodiments, the first call request forwarding module includes:
[0084] A first call request determination submodule is used by the sidecar service node to determine the first call request from all received requests according to a preset request interception rule;
[0085] A called application determination submodule, configured for the sidecar service node to determine a called application corresponding to the first call request according to the first call request;
[0086] The first call request sending submodule is used by the sidecar service node to send the first call request to the called application.
[0087] In some embodiments, the return data forwarding module includes:
[0088] The returned data parameter adjustment submodule is used by the sidecar service node to adjust the parameters of the returned data according to pre-set data processing rules;
[0089] The returned data forwarding submodule is used to send the processed returned data to the local end.
[0090] In some embodiments, the cloud-native application deployment module includes:
[0091] A cloud native application sending submodule, configured for the local end to send the debugged cloud native application to a remote end in the cloud native environment;
[0092] The cloud-native application replacement submodule is used for the remote end to replace the cloud-native application on the remote end with the debugged cloud-native application.
[0093] In some embodiments, the apparatus further comprises:
[0094] A return data analysis module is used by the sidecar service node to detect the return data of the called application, and when the return data is error data, it is determined that the called application has a fault;
[0095] A fault data sending module is used by the sidecar service node to send corresponding fault data to the called application.
[0096] A third aspect of an embodiment of the present application provides a readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps in the method described in the first aspect of the present application are implemented.
[0097] A fourth aspect of an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the method described in the first aspect of the present application are implemented.
[0098] Using the debugging method for cloud-native applications provided in the present application, when the local end receives a debugging request issued by a cloud-native application at a remote end in a cloud-native environment, the cloud-native application at the local end is debugged according to the debugging request to obtain a debugged cloud-native application; the local end sends a first call request to the sidecar service node corresponding to the cloud-native application through the debugged cloud-native application to perform an operation test on the debugged cloud-native application; the sidecar service node sends the call request to the called application corresponding to the first call request; the sidecar service node receives the return data sent by the called application, processes the return data according to preset data processing rules, and sends the processed return data to the local end; when no error information is generated during the operation of the debugged cloud-native application after loading the processed return data, the debugged cloud-native application is deployed to the remote end to replace the cloud-native application at the remote end. In this application, when a fault occurs in the cloud-native application on the remote end, the remote end sends a debugging request to the local end, and the local end debugs the cloud-native application. When testing after the program is debugged, a sidecar service node is set up. The call request and return data of the function to be tested are forwarded through the sidecar service node, and the cloud-native application can be tested on the local end. There is no need to deploy the cloud-native application in the cloud-native environment after each debugging and then test it. After the cloud-native application is debugged on the local end and the test results are normal, the final version of the cloud-native application is deployed to the cloud-native environment, and the debugged cloud-native application is used to replace the original cloud-native application on the remote end, thereby realizing rapid remote debugging of the faulty cloud-native application. BRIEF DESCRIPTION OF THE DRAWINGS
[0099] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0100] FIG1 is a flowchart of a method for debugging a cloud-native application according to an embodiment of the present application;
[0101] FIG2 is a schematic diagram of a calling process proposed in an embodiment of the present application;
[0102] FIG3 is a schematic diagram of a result return process proposed in an embodiment of the present application;
[0103] FIG4 is a schematic diagram of a forward call scenario proposed in an embodiment of the present application;
[0104] FIG5 is a schematic diagram of a reverse call scenario proposed in an embodiment of the present application;
[0105] FIG6 is a schematic diagram of a debugging device for a cloud-native application proposed in an embodiment of the present application. DETAILED DESCRIPTION
[0106] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0107] Referring to Figure 1, which is a flow chart of a method for debugging a cloud-native application according to an embodiment of the present application, the method includes the following steps:
[0108] S11: When the local end receives a debugging request from the cloud-native application at the remote end in the cloud-native environment, the local end performs program debugging on the cloud-native application at the local end according to the debugging request to obtain a debugged cloud-native application.
[0109] In this embodiment, a cloud-native environment is built based on a cloud-native architecture. A cloud-native application is an application developed in a cloud-native environment. The local end is the terminal operated by developers and testers of cloud-native applications, and the remote end is a terminal in the cloud-native environment. The remote and local ends are connected via a network. A debug request is a request sent by the remote end to notify the local end to debug the cloud-native application. Program debugging involves modifying the code of a faulty program in order to repair it. A debugged cloud-native application is a cloud-native application that has had its faults repaired according to the debug request.
[0110] In this embodiment, after a cloud-native application is developed, it is deployed in a cloud-native environment. The cloud-native application is deployed on both the local and remote ends. When the cloud-native application on the remote end fails, some functions cannot be used normally, or data errors occur, the remote end will generate a debugging request for the cloud-native application and send the debugging request to the local end. After receiving the debugging request, the local end debugs the cloud-native application according to the error data that occurs during the operation of the cloud-native application contained in the debugging request. After debugging is completed, the debugged cloud-native application is obtained.
[0111] For example, the account registration function of the cloud-native application on the remote side fails. At this time, the remote side generates a debugging request for the cloud-native application and sends the request to the local side. The debugging request includes a message that the account registration function has failed and also includes relevant data about the failure.
[0112] S12: The local end sends a first call request to the sidecar service node corresponding to the cloud native application through the debugged cloud native application to perform a running test on the debugged cloud native application.
[0113] In this embodiment, the sidecar service node is a network node that runs in sidecar mode. The sidecar mode deploys the components of an application into a separate process or container to provide isolation and encapsulation. This mode also allows applications to be implemented by heterogeneous components and technologies. The sidecar service node can shield the differences between different programming languages and uniformly implement observability, monitoring, logging, configuration, circuit breakers and other functions of microservices. Through the sidecar service node, the functions of cloud-native applications can be expanded, and the requests and return data of cloud-native applications can be intercepted. The first call request is a call request sent by the debugged cloud-native application on the local end to the sidecar service node to another one or more applications in the cloud-native environment.
[0114] In this embodiment, after the local end completes the preliminary debugging of the cloud native application, it is necessary to test the debugged cloud native application to confirm whether the fault has been eliminated. At this time, the first call request is sent to the sidecar service node, and the first call request is forwarded by the sidecar service node. The sidecar service node receives the first call request issued by the debugged cloud native application from the local end.
[0115] For example, after the local cloud-native application is debugged, during the testing phase, a first call request is sent to the sidecar service node. The first call request is used to call some functions on application A in the cloud-native environment.
[0116] S13: The sidecar service node sends the call request to the called application corresponding to the first call request.
[0117] In this embodiment, the sidecar service node determines the first call request among all received requests, further determines the called application corresponding to the first call request, and sends the first call request to the called application.
[0118] For example, the first call request received by the sidecar service node is for application A. The sidecar service node determines that the called application is application A and sends the first call request to application A.
[0119] S14: The sidecar service node receives the return data sent by the called application, processes the return data according to the preset data processing rules, and sends the processed return data to the local end. In this embodiment, the return data is the corresponding data sent by the called application to the sidecar according to the request content of the first call request. Processing the return data means analyzing and checking the return data to see if there is a problem with the return data itself. When there is a problem with the return data itself, the return data is processed. In this embodiment, after receiving the return data sent by the called application, the sidecar service node processes the return data, modifies the parameters of the return data according to the preset data processing rules, and completes the missing parameters, so that the return data can run normally in the debugged cloud native application. Send the processed return data to the local end.
[0120] For example, the first call request issued by the debugged cloud-native application is to request the account data of the user who registered the application. The called application sends the user's account data to the sidecar service node. The service node analyzes the user's account data and finds that some parts of the user's account data are missing. For example, the address is incomplete. The address of the received data is "Nanjing City, XX District", and the standard format is "XX Province, XX City, XX District". At this time, the address is completed to "Jiangsu Province, Nanjing City, XX District".
[0121] S15: When no error message is generated during the operation of the debugged cloud native application after loading the processed return data, the debugged cloud native application is deployed to the remote end to replace the cloud native application on the remote end.
[0122] In this embodiment, the error reporting information is specific information about errors that occur during the running process reported by the application to the system during the running process.
[0123] In this embodiment, when no error information is generated during the operation of the debugged cloud native application after loading and processing the return data, the debugged cloud native application is deployed to the remote end in the cloud native environment, the faulty cloud native application is deleted on the remote end, and the debugged cloud native application is used to replace the original cloud native application, thereby realizing remote debugging of the cloud native application.
[0124] In this embodiment, when the debugged cloud native application loads the processed return data normally and runs normally after loading the processed return data, no error message appears during the operation process, indicating that the debugged cloud native application can normally send requests and receive the corresponding return data of the operation. The operation test shows that the debugged cloud native application runs normally and the fault corresponding to the debugging request has been resolved. After the operation test is completed, the debugged cloud native application is deployed to the remote end and acts as a proxy for the original faulty cloud native application on the remote end. In this embodiment, the requests and return data of the local cloud native application are forwarded by the sidecar service node, which enables debugging of various functions of the cloud native application on the local end. There is no need to deploy the program to the cloud native environment for testing every time after debugging it on the local end, which greatly improves the speed of remote debugging of cloud native applications.
[0125] In another embodiment of the present application, the method further includes:
[0126] S21: The sidecar service node sends the first call request to the remote cloud native application.
[0127] In this embodiment, when the sidecar service node receives the first call request on the local end, in order to avoid generating dirty data on the remote end, the sidecar service node copies the received first call request and sends the first call request to the remote end at the same time. When the remote end receives the first call request, it will record and save the relevant data of the first call request, and have corresponding records of the interaction between the cloud native application and other applications.
[0128] S22: The cloud-native application at the remote end is triggered by the first call request and sends a second call request with the same content as the first call request to the sidecar service node.
[0129] In this embodiment, when the remote end receives a first call request sent by the sidecar service node, the remote end is triggered by the first call request and sends a second call request to the sidecar service node. The content of the second call request is the same as the first call request, except that the first call request is sent by the local end, and the second call request is sent by the remote end. The purpose of sending the second call request is to repeat the steps that should have been executed by the cloud-native application on the remote end on the cloud-native application on the remote end, to ensure that no dirty data is generated on the remote end. For example, when the local end requests user account data from an application on behalf of the remote end, the user's account data will be stored in the database after this operation. However, the operation should have been executed by the remote end, but the function on the remote end fails. The local end executes it instead after debugging the cloud-native application. If the remote end does not issue the same request, then from the remote end's perspective, there is additional user account data in the database, but the remote end has not requested this data, and the account data will be regarded as dirty data. The sidecar service node copies the first call request once and sends it to the remote end. After being triggered, the cloud native application on the remote end sends the same request to the sidecar service node. In this way, the request will be recorded on the remote end. When user account data appears in the database, the data will not be regarded as dirty data, ensuring that the operation of other functions of the cloud native application on the remote end is not affected.
[0130] S23: The sidecar service node intercepts the second call request.
[0131] In this embodiment, the sidecar service node intercepts the second call request and does not forward the second call request to the called application to avoid duplicate requests.
[0132] S24: The sidecar service node copies the returned data and sends the copied returned data to the remote cloud native application.
[0133] In this embodiment, when the sidecar service node receives the return data, it copies the return data and sends it to the remote cloud native application. The remote end will store the return data to avoid the generation of dirty data.
[0134] In this embodiment, the sidecar service node serves as the entry point for debugging cloud-native applications. While receiving requests and responses from the local client, it also copies and sends these requests and responses to the application being debugged, the remote cloud-native application. This allows the remote client to record requests issued by the cloud-native application during debugging, preventing the generation of dirty data. The local and remote clients act as shadows of each other, allowing for flexible switching when debugging an application.
[0135] In another embodiment of the present application, the method further includes:
[0136] S31: When the sidecar service node receives a third call request issued to the remote cloud native application, the sidecar service node sends the third call request to the debugged cloud native application.
[0137] In this embodiment, the third call request is a data call request issued by other applications in the cloud native environment to the debugged cloud native application on the remote end.
[0138] In this embodiment, cloud-native applications will call data from other applications in the cloud-native environment and will also be called by other applications. After debugging the cloud-native application on the local end, when the sidecar service node receives a third call request issued to the cloud-native application on the remote end, the sidecar service node intercepts the data call request issued to the cloud-native application on the remote end according to pre-set rules and sends the data call request to the local end.
[0139] For example, when a function of a cloud-native application on the remote side fails, during program debugging, the sidecar service node is pre-configured to intercept the call request corresponding to the function. When the sidecar service node receives the relevant request for the function issued by the cloud-native application on the remote side, that is, the third call request, the call request is intercepted and sent to the local side, and the debugged cloud-native application on the local side responds to the request.
[0140] S32: The debugged cloud-native application sends the return data corresponding to the third call request to the sidecar service node.
[0141] In this embodiment, when the debugged cloud-native application on the local end receives the third call request sent by the sidecar service node, the return data corresponding to the third call request is sent to the sidecar service node according to the third call request.
[0142] S33: The sidecar service node sends the return data to the application that makes the third call request.
[0143] In this embodiment, after receiving the return data sent by the debugged cloud native application, the sidecar service node sends the return data to the application that made the third call request.
[0144] S34: When the debugged cloud native application sends return data normally according to the third call request, the debugged cloud native application is deployed to the remote end to replace the cloud native application on the remote end. In this embodiment, when the debugged cloud native application can send return data normally according to the third call request, the debugged cloud native application is deployed to the remote end to replace the cloud native application that has failed on the remote end. In this embodiment, when the debugged cloud native application can send return data normally according to the third call request, it means that the faulty function on the cloud native application has been repaired and can receive requests and send data normally, indicating that the debugged cloud native application has been debugged correctly. The correctly debugged cloud native application is deployed to the remote end in the cloud native environment to replace the cloud native application that has failed on the remote end.
[0145] In this embodiment, after debugging the cloud native application on the local end, when other applications in the cloud native environment call the cloud native application on the remote end, the sidecar service node will intercept the call requests issued by other applications to the cloud native application on the remote end, and send the call request to the debugged cloud native application on the local end, test the functions of the debugged cloud native application, and when the test is correct, deploy the debugged cloud native application to the remote end.
[0146] In another embodiment of the present application, the method further includes:
[0147] S41: The sidecar service node sends the third call request to the cloud-native application at the remote end.
[0148] In this embodiment, when the sidecar service node receives the third call request sent by other applications, it also copies the third call request and sends it to the remote cloud native application.
[0149] S42: The cloud-native application at the remote end sends the return data corresponding to the third call request to the sidecar service node.
[0150] In this embodiment, when the remote cloud native application receives the third call request, it sends the return data corresponding to the third call request to the sidecar service node.
[0151] S43: The sidecar service node intercepts the returned data.
[0152] In this embodiment, when the sidecar service node receives the return data sent by the remote cloud native application, it intercepts the return data and does not send the return data to the application that made the call request.
[0153] In this embodiment, when the sidecar service node intercepts the call request sent by other applications in the cloud-native environment to the remote cloud-native application and sends it to the local end, it also sends the call request to the remote cloud-native application and intercepts the return data sent by the remote cloud-native application, so that the remote cloud-native application can record the request and return data, thereby avoiding the generation of dirty data.
[0154] In another embodiment of the present application, the sidecar service node is pre-deployed in the cloud native environment, and the configuration steps of the sidecar service node in the cloud native environment include:
[0155] S51: Setting the sidecar service node as a proxy service node for the remote cloud native application. In this embodiment, the proxy service node is used to transmit data on behalf of the remote cloud native application, and both the ingress and egress requests of the cloud native application will pass through the proxy service node.
[0156] In this embodiment, the specific steps of setting the sidecar service node as the proxy service node of the remote cloud native application are:
[0157] S51-1: Change the entry address of the remote cloud native application to the address of the sidecar service node.
[0158] S51-2: Change the exit address of the cloud native application on the remote end to the address of the sidecar service node.
[0159] In this embodiment, by modifying the access route of the four-layer network protocol (TCP (Transmission Control Protocol, Transmission Control Protocol) / IP (Internet Protocol)) of the remote cloud native application, the addresses of the entry and exit requests of the remote cloud native application are modified to the address of the sidecar service node. At this time, the entry and exit requests of the remote cloud native application will pass through the sidecar service node.
[0160] S52: Request interception rules and data processing rules corresponding to the cloud native application on the sidecar service node.
[0161] In this embodiment, request interception rules are specified based on failures in cloud-native applications. When a function fails, requests related to that function are set as intercepted objects and added to a whitelist. Requests on the whitelist are all requests that need to be intercepted and sent to the local end. The remaining requests can be sent directly to the remote cloud-native application without interception. Data processing rules are rules for processing the parameters of received request data and returned data. When the received data and parameters do not meet the specifications or are missing, the parameters are modified to ensure that the parameters of the received data meet the specifications required by the cloud-native application.
[0162] In this embodiment, each cloud-native application corresponds to a sidecar service node. When configuring the sidecar service node, the node loads the corresponding configuration file, which contains request interception rules and data processing rules when testing cloud-native applications.
[0163] In this embodiment, setting the request interception rules and data processing rules corresponding to the cloud native application on the sidecar service node includes:
[0164] S52-1: The sidecar service node receives the configuration file corresponding to the cloud native application.
[0165] In this embodiment, when configuring the sidecar service node, the corresponding configuration file is loaded into the sidecar service node. The configuration file is determined based on the functions that need to be debugged contained in the call request issued by the cloud-native application on the remote end. In the configuration file, through regular expressions, the relevant parameters of the request to be intercepted are entered in the regular expression, and the configured sidecar service node can intercept the corresponding request according to the regular expression. In addition, data processing rules are written into the configuration file, including rules for modifying abnormal data when abnormal data is detected, and rules for completing missing data.
[0166] S52-2: The sidecar service node determines the request interception rules and data processing rules corresponding to the cloud native application based on the configuration file.
[0167] In this embodiment, after the sidecar service node loads the configuration file, it determines the request interception rules and data processing rules corresponding to the cloud native application based on the configuration file.
[0168] In this embodiment, the sidecar service node loads a configuration file and determines the requests to be intercepted based on the regular expressions in the configuration file. When a request is received, it matches the regular expression, and the request that successfully matches is the request to be intercepted. The data modification rules and missing data completion rules are read from the configuration file.
[0169] For example, if the account registration function in a cloud-native application fails, the configuration file in the sidecar service node will include rules to intercept requests related to the application's registration function, such as requests to display the registration verification code and request permissions for registered users. The data processing rules standardize the format of account registration data and provide rules for completing missing data.
[0170] In this embodiment, when the local end receives a debugging request from the remote cloud-native application, the sidecar service node is configured according to the debugging request, and the requests to be intercepted and the data processing rules are set, thereby ensuring targeted debugging of the fault functions on the cloud-native application.
[0171] In another embodiment of the present application, when the local end receives a debugging request from a remote cloud native application in a cloud native environment, debugging the local cloud native application according to the debugging request to obtain a debugged cloud native application includes:
[0172] S61: The local end locates the fault of the cloud native application on the remote end according to the error information included in the debugging request.
[0173] In this embodiment, the error information is the relevant data reported by the system when a cloud native application fails. The relevant data includes the specific type of failure, the time and number of times the failure occurred, and other fault-related information.
[0174] In this embodiment, after receiving the debugging request, the local end locates the fault of the cloud native application based on the error information included in the debugging request.
[0175] For example, the error message includes information such as "Account registration fails and new user accounts cannot be registered normally." Based on the error message, the local end locates the location of the failure in the cloud-native application as the account registration module, and then modifies and tests the code of the account registration module.
[0176] S62: Debug the local cloud native application for the fault to obtain a debugged cloud native application.
[0177] In this embodiment, after locating the fault of the cloud native application, the local cloud native application is debugged to debug the faulty code and obtain a debugged cloud native application.
[0178] In another embodiment of the present application, the sidecar service node sends the call request to the called application corresponding to the first call request, including:
[0179] S71: The sidecar service node determines the first call request from all received requests according to a preset request interception rule.
[0180] S72: The sidecar service node determines a called application corresponding to the first call request based on the first call request.
[0181] S73: The sidecar service node sends the first call request to the called application.
[0182] In this embodiment, the sidecar service node will receive multiple call requests for cloud-native applications. According to the preset request interception rules, the sidecar service node will match the relevant requests of the failed function from all the received requests through regular expressions, that is, the first call request. According to the first call request, the called application corresponding to the first call request is determined. The first call request contains the name of the called application and the call data. After determining the called application corresponding to the first call request, the first call request is sent to the corresponding called application. In another embodiment of the present application, the sidecar service node receives the return data sent by the called application, processes the return data according to the preset data processing rules, and sends the processed return data to the local end, including:
[0183] S81: The sidecar service node adjusts the parameters of the returned data according to pre-set data processing rules.
[0184] In this embodiment, when the sidecar service node receives the return data, it adjusts the parameters of the return data according to the pre-set data processing rules, completes or simplifies the parameters according to the specified format, deletes redundant data, and adaptively adjusts individual erroneous parameter values, so that the parameters of the return data meet the specifications required by the debugged cloud native application.
[0185] S82: Send the processed return data to the local end.
[0186] In this embodiment, after processing the return data, the sidecar service node sends the processed return data to the local end and loads and runs it in the debugged cloud native application.
[0187] In another embodiment of the present application, deploying the debugged cloud native application to the remote end includes:
[0188] S91: The local end sends the debugged cloud native application to the remote end in the cloud native environment. In this embodiment, after the local end debugs the cloud native application correctly, the debugged cloud native application is sent to the remote end.
[0189] S92: The remote end replaces the cloud native application on the remote end with the debugged cloud native application. In this embodiment, after receiving the debugged cloud native application, the remote end uninstalls the original cloud native application and installs the debugged cloud native application.
[0190] In another embodiment of the present application, the method further includes:
[0191] S101: The sidecar service node detects the return data of the called application. When the return data is erroneous data, it is determined that the called application has a fault.
[0192] S102: The sidecar service node sends corresponding fault data to the called application.
[0193] In this embodiment, when debugging the local cloud-native application, the function of the cloud-native application that reports a fault is tested. When the cloud-native application can issue a request normally, the sidecar service node receives the call request issued by the local end, forwards the request, and obtains the return data from the called application. The sidecar service node performs data detection on the returned data. When it is detected that the data does not correspond to the request, a large number of parameters are missing in the returned data, or there are parameters in the returned data that the sidecar service node cannot read and identify, the returned data is determined to be erroneous data. The request issued by the local cloud-native application is correct, but there is a problem with the returned data, which causes the function of the cloud-native application to fail to operate normally. It is very likely that the called application has a fault, which causes a problem with the returned data. It is determined that the called application has a fault, while the function of the local cloud-native application is not faulty. The sidecar service node sends fault data corresponding to the fault to the called application to remind the called application that the data returned is wrong and a fault may have occurred.
[0194] Further, refer to Figure 2, which is a call flow diagram proposed in an embodiment of the present application. As shown in Figure 2, when debugging the cloud native applications on the local and remote ends through the sidecar service node, the sidecar controller, that is, the sidecar service node, is first deployed, and the corresponding rules are configured in the sidecar service node, including the interception address request method and data processing rules. The sidecar service node is set as the network agent of the debugged application. When the local end sends a call request to the service node, the service node copies the call request and sends it to the debugged application (that is, the cloud native application on the remote end). After the debugged application is triggered, the same call request is also sent to the service node. The service node merges the call requests of the main body and the shadow, which essentially withholds the call request issued by the shadow and only forwards the call request issued by the local end. Among them, the cloud native application on the local end and the debugged cloud native application on the remote end are in a shadow relationship with each other. When calling, position replacement is realized through the sidecar service node, and the request is sent by the local cloud native application instead of the debugged cloud native application on the remote end.
[0195] Refer to Figure 3, which is a schematic diagram of the result return process proposed in an embodiment of the present application. As shown in Figure 3, the called application in the cloud-native environment returns result data to the service node. The service node adjusts the result data based on the configured rules, sends the result data to the local end, and then copies a copy of the result data and sends it to the debugged application on the remote end (that is, the cloud-native application on the remote end).
[0196] Refer to Figure 4, which is a schematic diagram of a forward call scenario proposed in an embodiment of the present application. As shown in Figure 4, in the forward call scenario, in the local environment, that is, the local end, the developer debugs the local cloud native application and sends a call request to the service node through the local end. The service node forwards the call request to application B and application C, and then sends the request to the debugged application on the remote end (that is, the cloud native application on the remote end), and the debugged application sends return data to the service node.
[0197] Refer to Figure 5, which is a schematic diagram of the reverse call scenario proposed in an embodiment of the present application. As shown in Figure 5, in the reverse call scenario, the service node forwards the requests of application B and application C to the local end, and the cloud-native application on the local end returns data to the service node. The service node also sends a request to the debugged application on the remote end (that is, the cloud-native application on the remote end). The debugged application returns the result data to the service node, and the service node sends the return data to application B and application C. The return data of the debugged application is intercepted in the service node and is not forwarded. Only the return data sent by the local end is forwarded.
[0198] Based on the same inventive concept, an embodiment of the present application provides a debugging device for cloud-native applications. Referring to FIG6 , FIG6 is a schematic diagram of a debugging device 600 for cloud-native applications proposed in an embodiment of the present application. As shown in FIG6 , the device includes:
[0199] A cloud native application debugging module 601 is configured to, when a local end receives a debugging request from a remote cloud native application in a cloud native environment, perform program debugging 602 on the local cloud native application according to the debugging request to obtain a debugged cloud native application;
[0200] A first call request sending module 603 is used for the local end to send a first call request to the sidecar service node corresponding to the cloud native application through the debugged cloud native application to perform a running test on the debugged cloud native application;
[0201] A first call request forwarding module 604 is used for the sidecar service node to send the call request to the called application corresponding to the first call request;
[0202] Return data forwarding module 605, used for the sidecar service node to receive the return data sent by the called application, process the return data according to preset data processing rules, and send the processed return data to the local end;
[0203] The cloud native application deployment module 606 is used to deploy the debugged cloud native application to the remote end to replace the cloud native application on the remote end when no error message is generated during the operation of the debugged cloud native application after loading the processed return data.
[0204] In some embodiments, the apparatus further comprises:
[0205] A first call request copy and sending module is used for the sidecar service node to send the first call request to the remote cloud native application;
[0206] A second call request sending module is used for the cloud native application on the remote end to be triggered by the call request and send a second call request with the same content as the first call request to the sidecar service node;
[0207] A second call request interception module is used for the sidecar service node to intercept the second call request;
[0208] The return data copy and sending module is used for the sidecar service node to copy the return data and send the copied return data to the cloud native application at the remote end.
[0209] In some embodiments, the apparatus further comprises:
[0210] A third call request forwarding module is configured to send the third call request to the debugged cloud native application when the sidecar service node receives a third call request issued to the remote cloud native application;
[0211] A return data sending module is used for the debugged cloud native application to send the return data corresponding to the third call request to the sidecar service node;
[0212] A second return data forwarding module is used for the sidecar service node to send the return data to the application that makes the third call request;
[0213] The second cloud-native application deployment module is used to deploy the debugged cloud-native application to the remote end to replace the cloud-native application on the remote end when the debugged cloud-native application normally sends return data according to the third call request.
[0214] In some embodiments, the apparatus further comprises:
[0215] A third call request copy and sending module is used for the sidecar service node to send the third call request to the cloud native application at the remote end;
[0216] A second return data sending module is used for the cloud native application on the remote end to send the return data corresponding to the third call request to the sidecar service node;
[0217] The return data interception module is used by the sidecar service node to intercept the return data.
[0218] In some embodiments, the sidecar service node is pre-deployed in the cloud native environment, and the configuration steps of the sidecar service node in the cloud native environment include:
[0219] Setting the sidecar service node as the proxy service node for the remote cloud native application;
[0220] Set the request interception rules and data processing rules corresponding to the cloud native application on the sidecar service node.
[0221] In some embodiments, setting the sidecar service node as a proxy service node for the remote cloud native application includes:
[0222] Modify the entry address of the remote cloud native application to the address of the sidecar service node;
[0223] Modify the exit address of the remote cloud native application to the address of the sidecar service node.
[0224] In some embodiments, setting the request interception rule and data processing rule corresponding to the cloud native application on the sidecar service node includes:
[0225] The sidecar service node receives the configuration file corresponding to the cloud native application;
[0226] The sidecar service node determines the request interception rules and data processing rules corresponding to the cloud native application based on the configuration file.
[0227] In some embodiments, the cloud-native application debugging module includes:
[0228] a fault locating submodule, configured for the local end to locate a fault occurring in the cloud-native application on the remote end based on the error information included in the debugging request;
[0229] The program debugging submodule is used to debug the local cloud native application according to the fault to obtain a debugged cloud native application.
[0230] In some embodiments, the first call request forwarding module includes:
[0231] A first call request determination submodule is used by the sidecar service node to determine the first call request from all received requests according to a preset request interception rule;
[0232] A called application determination submodule, configured for the sidecar service node to determine a called application corresponding to the first call request according to the first call request;
[0233] The first call request sending submodule is used by the sidecar service node to send the first call request to the called application.
[0234] In some embodiments, the return data forwarding module includes:
[0235] The returned data parameter adjustment submodule is used by the sidecar service node to adjust the parameters of the returned data according to pre-set data processing rules;
[0236] The returned data forwarding submodule is used to send the processed returned data to the local end.
[0237] In some embodiments, the cloud-native application deployment module includes:
[0238] A cloud native application sending submodule, configured for the local end to send the debugged cloud native application to a remote end in the cloud native environment;
[0239] The cloud-native application replacement submodule is used for the remote end to replace the cloud-native application on the remote end with the debugged cloud-native application.
[0240] In some embodiments, the apparatus further comprises:
[0241] A return data analysis module is used by the sidecar service node to detect the return data of the called application, and when the return data is error data, it is determined that the called application has a fault;
[0242] A fault data sending module is used by the sidecar service node to send corresponding fault data to the called application.
[0243] Based on the same inventive concept, another embodiment of the present application provides a readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps in the debugging method of cloud-native applications as described in any of the above embodiments of the present application are implemented.
[0244] Based on the same inventive concept, another embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and runnable on the processor. When the processor executes, the steps in the debugging method of the cloud-native application described in any of the above embodiments of the present application are implemented.
[0245] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0246] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0247] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, devices, or computer program products. Therefore, the embodiments of the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0248] The present application embodiment is described with reference to the flow chart and / or block diagram of the method, terminal device (system), and computer program product according to the embodiment of the present application. It should be understood that each process and / or box in the flow chart and / or block diagram and the combination of the process and / or box in the flow chart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing terminal device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device produce a device for realizing the function specified in one process or multiple processes and / or one box or multiple boxes of the flow chart.
[0249] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0250] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce computer-implemented processing, so that the instructions executed on the computer or other programmable terminal device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0251] Although some embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they are aware of the basic creative concepts. Therefore, the appended claims are intended to be interpreted as including some embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0252] Finally, it should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or terminal device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or terminal device that includes the element.
[0253] The above is a detailed introduction to the debugging method, device, equipment and storage medium of the cloud-native application provided by this application. Specific examples are used in this article to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method of this application and its core ideas. At the same time, for general technical personnel in this field, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on this application.
Claims
1. A method for debugging a cloud native application, characterized in that: The method comprises: When the local end receives a debugging request sent by the cloud native application at the remote end in the cloud native environment, the local end performs program debugging on the cloud native application according to the debugging request to obtain a debugged cloud native application; The local end sends a first call request to the sidecar service node corresponding to the cloud native application through the debugged cloud native application to perform a running test on the debugged cloud native application; The sidecar service node sends the first call request to the called application corresponding to the first call request; The sidecar service node receives the return data sent by the called application, processes the return data according to a preset data processing rule, and sends the processed return data to the debugged cloud native application; When no error message is generated during the operation of the debugged cloud native application after loading the processed return data, the debugged cloud native application is deployed to the remote end to replace the cloud native application on the remote end.
2. The method according to claim 1, characterized in that The method further comprises: The sidecar service node sends the first call request to the cloud native application at the remote end; The cloud native application at the remote end is triggered by the call request and sends a second call request with the same content as the first call request to the sidecar service node; The sidecar service node intercepts the second call request; The sidecar service node copies the returned data and sends the copied returned data to the remote cloud native application.
3. The method according to claim 1, characterized in that The method further comprises: When the sidecar service node receives a third call request issued to the cloud native application at the remote end, the sidecar service node sends the third call request to the debugged cloud native application; The debugged cloud native application sends the return data corresponding to the third call request to the sidecar service node; The sidecar service node sends the returned data to the application that makes the third call request; When the debugged cloud native application normally sends return data according to the third call request, the debugged cloud native application is deployed to the remote end to replace the cloud native application at the remote end.
4. The method according to claim 3, characterized in that The method further comprises: The sidecar service node sends the third call request to the cloud native application at the remote end; The cloud native application at the remote end sends the return data corresponding to the third call request to the sidecar service node; The sidecar service node intercepts the returned data.
5. According to the method of claim 1, the sidecar service node is pre-deployed in the cloud native environment, and the configuration steps of the sidecar service node in the cloud native environment include: Setting the sidecar service node as a proxy service node for the remote cloud native application; The request interception rules and data processing rules corresponding to the cloud native application are set on the sidecar service node.
6. The method according to claim 5, characterized in that The step of setting the sidecar service node as a proxy service node for the cloud native application at the remote end includes: Modify the entry address of the remote cloud native application to the address of the sidecar service node; Modify the export address of the remote cloud native application to the address of the sidecar service node.
7. The method according to claim 5, characterized in that The request interception rule and data processing rule corresponding to the cloud native application are set on the sidecar service node, including: The sidecar service node receives a configuration file corresponding to the cloud native application; The sidecar service node determines the request interception rules and data processing rules corresponding to the cloud native application according to the configuration file.
8. The method according to claim 1, characterized in that When the local end receives a debugging request sent by the cloud native application at the remote end in the cloud native environment, the local end performs program debugging on the cloud native application according to the debugging request to obtain the debugged cloud native application, including: The local end locates a fault occurring in the cloud native application of the remote end according to the error information included in the debugging request; In response to the fault, program debugging is performed on the local cloud native application to obtain a debugged cloud native application.
9. The method according to claim 1, characterized in that: The sidecar service node sends the first call request to a called application corresponding to the first call request, including: The sidecar service node determines the first call request from all received requests according to a preset request interception rule; The sidecar service node determines, according to the first call request, a called application corresponding to the first call request; The sidecar service node sends the first call request to the called application.
10. The method according to claim 1, characterized in that The sidecar service node receives the return data sent by the called application, processes the return data according to a preset data processing rule, and sends the processed return data to the local end, including: The sidecar service node adjusts the parameters of the returned data according to the preset data processing rules to obtain processed returned data; The processed return data is sent to the local end.
11. The method according to claim 1, characterized in that: The deploying the debugged cloud native application to the remote end includes: The local end sends the debugged cloud native application to the remote end in the cloud native environment; The remote end replaces the cloud native application at the remote end with the debugged cloud native application.
12. The method according to claim 1, characterized in that The method further comprises: The sidecar service node detects the return data of the called application, and when the return data is error data, determines that the called application has a fault; The sidecar service node sends corresponding fault data to the called application.
13. A debugging device for a cloud native application, characterized in that: The device comprises: A cloud native application debugging module, for, when a local end receives a debugging request from a remote cloud native application in a cloud native environment, performing program debugging on the local cloud native application according to the debugging request to obtain a debugged cloud native application; A first call request sending module, used for the local end to send a first call request to the sidecar service node corresponding to the cloud native application through the debugged cloud native application, so as to perform a running test on the debugged cloud native application; A first call request forwarding module, used for the sidecar service node to send the call request to the called application corresponding to the first call request; A return data forwarding module is used for the sidecar service node to receive the return data sent by the called application, process the return data according to a preset data processing rule, and send the processed return data to the local end; The cloud native application deployment module is used to deploy the debugged cloud native application to the remote end to replace the cloud native application on the remote end when no error message is generated during the operation of the debugged cloud native application after loading the processed return data.
14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps in the method according to any one of claims 1 to 12 are implemented.
15. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 12 are implemented.
Citation Information
Patent Citations
Test processing method and device, electronic equipment and computer readable storage medium
CN112929230A
Cloud native application testing method and device, equipment and storage medium
CN114064475A
Routing method for service debugging, electronic equipment, medium and program product
CN114205342A
Paas cloud remote debugging method, device and equipment
CN115599677A
Cloud native application debugging method and device, equipment and storage medium
CN115827500A
