Information processing method and device, equipment, storage medium and program product

CN119621556APending Publication Date: 2025-03-14CCB FINTECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411668806.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-21
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

The existing joint debugging methods lack automation and intelligent support, rely on manual operations, the process is durable and cumbersome, and are prone to human errors. They can only verify interface connectivity and cannot verify whether there are abnormalities in the business process.

Method used

By responding to the target joint task, the target rule information is obtained from the preset verification rule database, the test case is generated, and the target preset interface is sent to the target preset interface, the business simulation operation is performed, the interface response results are obtained, and the test results are generated, so as to realize automatic verification of interface connectivity and business processes.

Benefits of technology

It reduces manual operation and intervention, reduces test errors caused by human factors, improves test efficiency and accuracy of results, and can automatically verify interface connectivity and business process abnormalities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119621556A_ABST
    Figure CN119621556A_ABST
Patent Text Reader

Abstract

The invention discloses an information processing method and device, equipment, a storage medium and a program product, and belongs to the technical field of data processing. The method comprises the steps that in response to a target joint debugging task, target rule information is obtained from a preset verification rule database, the target rule information comprises test configuration information, and the test configuration information comprises interface information of multiple preset interfaces and service logic information; generating a test case according to the test configuration information; the test case is sent to a target preset interface so that the multiple preset interfaces can execute service simulation operation based on the test case, and the target preset interface is a starting interface corresponding to the service logic information; obtaining an interface response result of each preset interface; and generating a test result of the target joint debugging task based on the interface response result of each preset interface. According to the embodiment of the invention, joint debugging can be automatically carried out, and the interface connectivity and the business process can be verified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of data processing technology, and in particular, relates to an information processing method, device, equipment, storage medium and program product. Background Art

[0002] In the process of software development and testing, joint debugging is an important link, which involves the coordination and cooperation between multiple modules or systems.

[0003] The current joint debugging method is often that the tester uses a script to configure parameters and execute operations on the server in advance through specific commands, and then verifies whether the network connectivity is passed based on the results returned after execution. The above joint debugging method lacks automation and intelligent support and often relies on manual operations. Each joint debugging requires the deployment of scripts and commands on the corresponding server in advance. Not only is the process repetitive and cumbersome, but it is also prone to errors due to human factors. In addition, the current joint debugging method can only achieve the purpose of verifying the connectivity of the interface in advance, and cannot verify whether there are abnormalities in the business process. Summary of the invention

[0004] The embodiments of the present application provide an information processing method, apparatus, device and computer storage medium, which can automatically perform joint debugging to verify interface connectivity and business processes.

[0005] In a first aspect, an embodiment of the present application provides an information processing method, including:

[0006] In response to the target joint debugging task, target rule information is obtained from a preset verification rule database, where the target rule information includes test configuration information, and the test configuration information includes interface information of multiple preset interfaces and business logic information;

[0007] Generate test cases based on test configuration information;

[0008] Sending the test case to a target preset interface, so that multiple preset interfaces perform business simulation operations based on the test case, wherein the target preset interface is a starting interface corresponding to the business logic information;

[0009] Get the interface response results of each preset interface;

[0010] Generate the test results of the target joint debugging task based on the interface response results of each preset interface.

[0011] In a possible implementation, based on the interface response results of each preset interface, the test result of the target joint debugging task is generated, including:

[0012] For each preset interface, verify the interface response result of the preset interface according to the preset assertion logic to obtain the verification result of the preset interface;

[0013] When the interface response result of the preset interface fails to pass the verification, abnormal information is added to the verification result of the preset interface;

[0014] Based on the verification results of each preset interface, the test results of the target joint debugging task are generated.

[0015] In a possible implementation, when the interface response result of the preset interface fails to pass the verification, after adding the abnormal information to the verification result of the preset interface, the method further includes:

[0016] Write the verification results of each preset interface into the preset thread-safe dynamic array;

[0017] Based on the verification results of each preset interface, the test results of the target joint debugging task are generated, including:

[0018] Traverse the verification results of each preset interface in the thread-safe dynamic array to generate the test results of the target joint debugging task.

[0019] In a possible implementation, the target rule information further includes basic information of organizations corresponding to a plurality of preset interfaces, the basic information of organizations including an Internet Protocol (IP) address; the interface information includes port information of each preset interface;

[0020] Send the test case to the corresponding target preset interface, including:

[0021] Send the test case to the target preset interface according to the IP address and port information corresponding to the target preset interface.

[0022] In a possible implementation, based on the interface response results of each preset interface, the test result of the target joint debugging task is generated, including:

[0023] Based on the interface response results of each preset interface and the preset visualization strategy, the visualization test results of the target joint debugging task are generated.

[0024] In a possible implementation, in response to the target joint debugging task, before obtaining target rule information from a preset verification rule database, the method further includes:

[0025] In response to the update of the target rule information in the verification rule database, a target joint debugging task is generated.

[0026] In a second aspect, an embodiment of the present application provides an information processing device, including:

[0027] An acquisition module, configured to acquire target rule information from a preset verification rule database in response to a target joint debugging task, wherein the target rule information includes test configuration information, and the test configuration information includes interface information of multiple preset interfaces and business logic information;

[0028] A generation module, used to generate test cases according to test configuration information;

[0029] A sending module, used to send the test case to a target preset interface, so that multiple preset interfaces perform business simulation operations based on the test case, wherein the target preset interface is a starting interface corresponding to the business logic information;

[0030] The acquisition module is also used to obtain the interface response results of each preset interface;

[0031] The generation module is also used to generate the test results of the target joint debugging task based on the interface response results of each preset interface.

[0032] In a third aspect, an embodiment of the present application provides an information processing device, the device comprising:

[0033] A processor and a memory storing computer program instructions; when the processor executes the computer program instructions, any one of the above information processing methods is implemented.

[0034] In a fourth aspect, an embodiment of the present application provides a computer storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, any one of the above-mentioned information processing methods is implemented.

[0035] In a fifth aspect, an embodiment of the present application provides a computer program product. When instructions in the computer program product are executed by a processor of an electronic device, the electronic device is enabled to perform any one of the above-mentioned information processing methods.

[0036] The information processing method, device, equipment and computer storage medium of the embodiment of the present application can obtain target rule information from a preset verification rule database in response to a target joint debugging task, and the target rule information includes test configuration information, and the test configuration information includes interface information and business logic information of multiple preset interfaces. Generate a test case according to the test configuration information. In this way, the automatic writing of the test case can be realized according to the target rule information. The test case is generated according to the test configuration information, and the test configuration information includes business logic information, which can not only be used to verify the connectivity of the interface, but also to verify whether there is an abnormality in the business process. Subsequently, the test case can be sent to the target preset interface for multiple preset interfaces to perform business simulation operations based on the test case. Among them, the target preset interface is the starting interface corresponding to the business logic information. Then, the interface response results of each preset interface can be obtained. Based on the interface response results of each preset interface, the test result of the target joint debugging task is generated. In this way, the test process can be automatically executed to verify the connectivity of the interface and the business process. In this way, manual operation and intervention can be reduced, and test errors caused by human factors can be reduced, thereby improving the efficiency of the test and the accuracy of the test results. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0038] Figure 1 It is a flowchart of an information processing method provided by an embodiment of the present application;

[0039] Figure 2 is a structural diagram of an information processing device provided by another embodiment of the present application;

[0040] Figure 3 It is a structural diagram of an information processing device provided by yet another embodiment of the present application. DETAILED DESCRIPTION

[0041] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0042] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0043] It should be noted that the acquisition, storage, use and processing of data in the embodiments of the present application are in compliance with the relevant provisions of national laws and regulations.

[0044] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.

[0045] As described in the background technology, the current joint debugging method is often that testers use scripts, such as shell scripts, to configure parameters and execute operations on the server in advance through specific commands (such as curl commands), and then verify whether the network connectivity is passed based on the results returned after execution.

[0046] The above joint debugging methods lack automation and intelligent support and often rely on manual operations. Each joint debugging requires the deployment of scripts and commands on the corresponding servers in advance. Not only is the process repetitive and cumbersome, but it is also prone to errors due to human factors. In addition, the current joint debugging methods can generally only target the connectivity of a single interface with its upstream and downstream interfaces, and cannot verify whether there are any abnormalities in the business process.

[0047] In order to solve the problems of the prior art, the embodiments of the present application provide an information processing method, apparatus, device and computer storage medium.

[0048] The information processing method provided in the embodiment of the present application, the device executing the method may be an information processing device, or a partial module in the information processing device for executing the information processing method. In the embodiment of the present application, the information processing method provided in the embodiment of the present application is described in detail by taking the information processing device executing the information processing method as an example.

[0049] Exemplarily, the method of the embodiment of the present application can be implemented based on the Java programming language, using SpringBoot multithreading and other technical points. After obtaining the verification rules from the verification rule database, each verification can be packaged as a verification task and submitted to the thread pool for execution. The thread pool can execute the verification task asynchronously. In one example, CountDownLatch can be used to wait for all threads to complete. In one example, a thread-safe dynamic array, such as Vector, can also be used to record the verification results.

[0050] Exemplarily, the verification rule database of the embodiment of the present application may use a relational database management system (MySQL) to store verification-related rule information.

[0051] Exemplarily, in an embodiment of the present application, the information processing device may send an HTTP request (HTTPRequest) via the Hypertext Transfer Protocol (HTTP) using a client programming toolkit (HttpClient).

[0052] Exemplarily, in an embodiment of the present application, a tool such as EasyExcel can be used to generate a test report based on the recorded verification results.

[0053] In one example, before executing the information processing method, an information processing device may be constructed. As an example, the information processing device may include a configuration management module, a test execution module, an assertion and verification module, and a report generation module.

[0054] Exemplarily, the configuration management module can be used to perform database design and configuration reading. Database design can include designing a database table for storing verification rule information. Configuration reading can include developing a database access layer to read the verification rule information from the database and provide it to the test execution module for use.

[0055] Exemplarily, the test execution module can be used to perform operations such as test case writing, request sending, and response processing. Among them, test case writing can include writing test cases according to information provided by the configuration management module. Request sending can include using HttpClient to send HTTP requests to a third-party interface. Response processing can receive the response result of the third-party interface and call the assertion and verification module for verification.

[0056] Exemplarily, the assertion and verification module can be used to perform assertion operations and exception handling. The assertion operation can include writing assertion logic to verify the response result of the interface. Exception handling can include capturing and processing exceptions in the request process according to the verification result and recording exception information.

[0057] Exemplarily, the report generation module can be used to perform data collection and report generation. The data collection can include collecting all verification results during the test process and counting the test results of each interface. The report generation can include using a report generation tool to generate a result display report.

[0058] In one example, the construction of the information processing device may include environment construction, database configuration, project creation, module development, integration testing, and deployment and operation steps. Among them, environment construction may include installing a Java Development Kit (JDK) and necessary development tools. Database configuration may include designing and creating database tables and storing verification rule information. Project creation may include creating a new Java project using a Java development tool and importing the required dependent libraries. Module development may include developing each module one by one according to the module division in the design document. Integration testing may include performing integration testing after completing the development of all modules to ensure that each module can work properly. Deployment and operation may include deploying the tool to the server and performing operation testing to ensure that actual needs can be met.

[0059] In this way, the constructed information processing device can be used as an automated joint debugging tool to automatically execute the test process. Automated testing reduces the manual operation and intervention of testers, which not only significantly improves the test efficiency, but also allows the test team to devote more energy to more complex or more valuable test tasks. In addition, the automated joint debugging tool can execute a large number of test cases, covering more test scenarios, thereby discovering more potential problems. Since the execution process of automated testing is consistent, it can also ensure the stability and repeatability of the test results, which helps to reduce test errors caused by human factors.

[0060] The following will continue to introduce the information processing method provided in the embodiments of the present application in conjunction with the accompanying drawings.

[0061] Figure 1 FIG. 1 is a flow chart showing an information processing method provided by an embodiment of the present application. Figure 1 As shown, the method may include the following steps S110 to S150.

[0062] S110, in response to the target joint debugging task, obtaining target rule information from a preset verification rule database, the target rule information including test configuration information, the test configuration information including interface information of multiple preset interfaces and business logic information.

[0063] In step S110, the target joint debugging task may include an interface joint debugging task corresponding to at least one target business. The above-mentioned multiple preset interfaces may include interfaces involved in executing the target business. The interface information may include interface document information and interface test configuration. Exemplarily, the interface document information may include information such as request method, request parameters, response format, etc. The interface test configuration may include information related to the test configuration such as the ports and interfaces to be tested and whether statistical abnormalities are present. The business logic information may include business scenarios, preconditions, postconditions, relevant information of the preset interface in the business process, etc.

[0064] S120, generating a test case according to the test configuration information.

[0065] In step S120, there may be one or more test cases. For example, test cases may be written for different target services respectively. For example, for the same target service, multiple test cases may be written according to service scenarios.

[0066] S130, sending the test case to a target preset interface, so that multiple preset interfaces perform business simulation operations based on the test case, wherein the target preset interface is a starting interface corresponding to the business logic information.

[0067] In step S130, the plurality of preset interfaces may include interfaces involved in executing the target task. After the test case is sent to the starting interface of the target task, each preset interface may execute the test according to the preset timing and business logic, and generate an interface response result.

[0068] S140, obtaining the interface response result of each preset interface.

[0069] S150, generating a test result of the target joint debugging task based on the interface response results of each preset interface.

[0070] The information processing method of the embodiment of the present application can obtain target rule information from a preset verification rule database in response to a target joint debugging task, and the target rule information includes test configuration information, and the test configuration information includes interface information of multiple preset interfaces and business logic information. Generate a test case according to the test configuration information. In this way, the automatic writing of the test case can be realized according to the target rule information. The test case is generated according to the test configuration information, and the test configuration information includes business logic information, which can not only be used to verify the connectivity of the interface, but also to verify whether there is an abnormality in the business process. Subsequently, the test case can be sent to the target preset interface for multiple preset interfaces to perform business simulation operations based on the test case. Among them, the target preset interface is the starting interface corresponding to the business logic information. Then, the interface response results of each preset interface can be obtained. Based on the interface response results of each preset interface, the test result of the target joint debugging task is generated. In this way, the test process can be automatically executed to verify the connectivity of the interface and the business process. In this way, manual operation and intervention can be reduced, and test errors caused by human factors can be reduced, thereby improving the efficiency of the test and the accuracy of the test results.

[0071] In one embodiment, based on the interface response results of each preset interface, the test results of the target joint debugging task are generated, which may specifically include:

[0072] For each preset interface, the interface response result of the preset interface is verified according to the preset assertion logic to obtain the verification result of the preset interface.

[0073] When the interface response result of the preset interface fails to pass the verification, abnormal information is added to the verification result of the preset interface.

[0074] Based on the verification results of each preset interface, the test results of the target joint debugging task are generated.

[0075] In the above implementation, the assertion logic may include verification logic for verifying the status code, response body content, etc. of the interface response result.

[0076] According to the above implementation, the verification process can be automatically executed for the interface response results of each preset interface. In this way, the efficiency and reliability of the test can be improved. According to the above implementation, when the interface response result of the preset interface fails to pass the verification, abnormal information can be automatically added to the verification result. In this way, not only can the abnormality of the interface when executing the business process be quickly located, but also a traceable record can be provided for the test work.

[0077] In one embodiment, when the interface response result of the preset interface fails to pass the verification, after adding the abnormal information to the verification result of the preset interface, the method may further include:

[0078] Write the verification results of each preset interface into the preset thread-safe dynamic array.

[0079] Based on the verification results of each preset interface, the test results of the target joint debugging task are generated, which can include:

[0080] Traverse the verification results of each preset interface in the thread-safe dynamic array to generate the test results of the target joint debugging task.

[0081] In the above implementation, the thread-safe dynamic array may include Vector. According to the above implementation, the verification results of each preset interface are written into a preset thread-safe dynamic array, which can support multiple threads to access simultaneously without causing data inconsistency. Then, the verification results of each preset interface in the thread-safe dynamic array are traversed to generate the test results of the target joint debugging task. In this way, data consistency can be guaranteed in a multi-threaded environment, thereby improving the accuracy of the test results.

[0082] In one embodiment, the target rule information further includes basic information of organizations corresponding to a plurality of preset interfaces, the basic information of organizations including IP addresses, and the interface information including port information of each preset interface.

[0083] Send the test case to the corresponding target preset interface, which may include:

[0084] Send the test case to the target preset interface according to the IP address and port information corresponding to the target preset interface.

[0085] In one example, the basic information of an organization may also include an organization number and its name, which is not only helpful for addressing, but also helpful for promptly feeding back corresponding interface test results to each organization.

[0086] According to the above implementation, by configuring the mechanism information and the port information of each preset interface in the target rule information, it is helpful to communicate with each interface quickly and accurately to perform operations such as sending test cases and obtaining interface response results. In this way, the test time can be further saved and the test efficiency can be improved.

[0087] In one embodiment, based on the interface response results of each preset interface, the test results of the target joint debugging task are generated, which may specifically include:

[0088] Based on the interface response results of each preset interface and the preset visualization strategy, the visualization test results of the target joint debugging task are generated.

[0089] In the above embodiment, the visualization strategy can be selected according to actual needs and is not limited here. Exemplarily, the visualization test results may include statistical charts, tables, etc. For example, EasyExcel can be used to generate a traffic light display report.

[0090] According to the above implementation, based on the interface response results of each preset interface and the preset visualization strategy, the visualization test results of the target joint debugging task are generated, which can more intuitively show the performance of each preset interface in the business process. This is conducive to developers and testers to quickly understand and analyze the test results.

[0091] In one embodiment, in response to the target joint debugging task, before obtaining target rule information from a preset verification rule database, the method may further include:

[0092] In response to the test instruction sent by the user equipment, a target joint debugging task is generated.

[0093] In this way, interface joint debugging tests can be performed according to the needs of testers or developers, thereby improving the flexibility of joint debugging.

[0094] In one embodiment, in response to the target joint debugging task, before obtaining target rule information from a preset verification rule database, the method further includes:

[0095] In response to the update of the target rule information in the verification rule database, a target joint debugging task is generated.

[0096] In the above implementation, the target rule information may include interface information and business logic information. The interface information may include interface document information and interface test configuration. The update of the target rule information may include the update of the target rule information in the verification rule database by the tester, and may also include the update of the interface document information and business logic information of the organization by the developers of each organization. Exemplarily, the interface document information and business logic information of the preset interface of each organization may be monitored, and when an update occurs, the interface document information and business logic information of the corresponding preset interface in the verification rule database are synchronously updated. Exemplarily, a database synchronization tool may also be used to automatically synchronize the interface document information and business logic information of the preset interface of each organization in the verification rule database.

[0097] According to the above implementation, after the code or test configuration of the interface is changed, regression testing can be quickly performed to determine whether the change will introduce new problems. This is conducive to timely discovery and resolution of problems and ensuring the normal operation of business processes.

[0098] Based on the information processing method provided in the above embodiments, the present application also provides a specific implementation of the information processing device. Please refer to the following embodiments.

[0099] See first Figure 2 The information processing device 200 provided in the embodiment of the present application includes an acquisition module 201, a first generation module 202 and a sending module 203.

[0100] The acquisition module 201 is used to obtain target rule information from a preset verification rule database in response to a target joint debugging task, where the target rule information includes test configuration information, and the test configuration information includes interface information of multiple preset interfaces and business logic information.

[0101] The first generating module 202 is used to generate a test case according to the test configuration information.

[0102] The sending module 203 is used to send the test case to the target preset interface, so that multiple preset interfaces perform business simulation operations based on the test case, wherein the target preset interface is the starting interface corresponding to the business logic information.

[0103] The acquisition module 201 is further used to acquire the interface response result of each preset interface.

[0104] The first generating module 202 is further used to generate a test result of the target joint debugging task based on the interface response results of each preset interface.

[0105] The information processing device of the embodiment of the present application can obtain target rule information from a preset verification rule database in response to a target joint debugging task, and the target rule information includes test configuration information, and the test configuration information includes interface information of multiple preset interfaces and business logic information. Generate a test case according to the test configuration information. In this way, the automatic writing of the test case can be realized according to the target rule information. The test case is generated according to the test configuration information, and the test configuration information includes business logic information, which can not only be used to verify the connectivity of the interface, but also to verify whether there is an abnormality in the business process. Subsequently, the test case can be sent to the target preset interface for multiple preset interfaces to perform business simulation operations based on the test case. Among them, the target preset interface is the starting interface corresponding to the business logic information. Then, the interface response results of each preset interface can be obtained. Based on the interface response results of each preset interface, the test result of the target joint debugging task is generated. In this way, the test process can be automatically executed to verify the connectivity of the interface and the business process. In this way, manual operation and intervention can be reduced, and test errors caused by human factors can be reduced, thereby improving the efficiency of the test and the accuracy of the test results.

[0106] In one embodiment, the first generating module is used to generate the test result of the target joint debugging task based on the interface response results of each preset interface, which may specifically include:

[0107] The verification submodule is used to verify the interface response result of the preset interface according to the preset assertion logic for each preset interface, and obtain the verification result of the preset interface.

[0108] Add a submodule to add exception information to the verification result of the preset interface when the interface response result of the preset interface fails to pass the verification.

[0109] The generation submodule is used to generate the test results of the target joint debugging task based on the verification results of each preset interface.

[0110] In one embodiment, the apparatus further comprises:

[0111] The writing module is used to write the verification results of each preset interface into a preset thread-safe dynamic array after adding abnormal information to the verification result of the preset interface when the interface response result of the preset interface fails to pass the verification.

[0112] The generated submodule can be used specifically for:

[0113] Traverse the verification results of each preset interface in the thread-safe dynamic array to generate the test results of the target joint debugging task.

[0114] In one embodiment, the target rule information may further include basic organization information corresponding to a plurality of preset interfaces, and the basic organization information may include an IP address. The interface information may include port information of each preset interface.

[0115] The sending module is used to send test cases to the corresponding target preset interface, which can be used for:

[0116] Send the test case to the target preset interface according to the IP address and port information corresponding to the target preset interface.

[0117] In one embodiment, the first generating module is used to generate the test result of the target joint debugging task based on the interface response results of each preset interface, which may specifically include:

[0118] The generation submodule is used to generate the visual test results of the target joint debugging task based on the interface response results of each preset interface and the preset visualization strategy.

[0119] In one embodiment, the apparatus may further include:

[0120] The second generating module is used to generate a target joint debugging task in response to an update of the target rule information in the verification rule database before acquiring the target rule information from the preset verification rule database in response to the target joint debugging task.

[0121] Each module of the information processing device provided in the embodiment of the present application can realize Figure 1 The functions of each step of the information processing method are provided, and the corresponding technical effects can be achieved. For the sake of concise description, they will not be repeated here.

[0122] Figure 3 A schematic diagram of the hardware structure of an information processing device provided in an embodiment of the present application is shown.

[0123] The information processing device may include a processor 301 and a memory 302 storing computer program instructions.

[0124] Specifically, the processor 301 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0125] The memory 302 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 302 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 302 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 302 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 302 is a non-volatile solid-state memory.

[0126] The memory may include read-only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical or other physical / tangible memory storage devices. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present disclosure.

[0127] The processor 301 implements any one of the information processing methods in the above embodiments by reading and executing computer program instructions stored in the memory 302 .

[0128] In one example, the information processing device may further include a communication interface 303 and a bus 310. Figure 3 As shown, the processor 301, the memory 302, and the communication interface 303 are connected via a bus 310 and communicate with each other.

[0129] The communication interface 303 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0130] Bus 310 includes hardware, software or both, and the parts of information processing equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 310 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.

[0131] The information processing device can execute the information processing method in the embodiment of the present application, thereby realizing the combination Figure 1 and Figure 2 The information processing method and device described herein. The information processing method in the above embodiments can be implemented by providing a computer storage medium in the present application embodiment. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the information processing methods in the above embodiments is implemented.

[0132] An embodiment of the present application also provides a computer program product, including a computer program, which implements any one of the information processing methods in the above embodiments when the computer program is processed and executed.

[0133] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0134] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0135] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0136] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart 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, or other programmable information processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable information processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.

[0137] The above are only specific implementation methods of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

Claims

1. An information processing method, characterized in that: include: In response to the target joint debugging task, target rule information is obtained from a preset verification rule database, where the target rule information includes test configuration information, and the test configuration information includes interface information of multiple preset interfaces and business logic information; Generate a test case according to the test configuration information; Sending the test case to a target preset interface, so that the multiple preset interfaces perform business simulation operations based on the test case, wherein the target preset interface is a starting interface corresponding to the business logic information; Get the interface response results of each preset interface; Based on the interface response results of the preset interfaces, the test results of the target joint debugging task are generated.

2. The information processing method according to claim 1, characterized in that: The generating the test result of the target joint debugging task based on the interface response results of each preset interface includes: For each of the preset interfaces, verify the interface response result of the preset interface according to the preset assertion logic to obtain the verification result of the preset interface; When the interface response result of the preset interface fails to pass the verification, adding abnormal information to the verification result of the preset interface; Based on the verification results of each preset interface, the test results of the target joint debugging task are generated.

3. The information processing method according to claim 2, characterized in that: In the case where the interface response result of the preset interface fails to pass the verification, after adding the abnormal information to the verification result of the preset interface, the method further includes: Writing the verification results of each preset interface into a preset thread-safe dynamic array; The test result of the target joint debugging task is generated based on the verification results of each preset interface, including: The verification results of each preset interface in the thread-safe dynamic array are traversed to generate the test results of the target joint debugging task.

4. The information processing method according to claim 1, characterized in that: The target rule information also includes basic information of organizations corresponding to the multiple preset interfaces, and the basic information of organizations includes an Internet Protocol IP address; The interface information includes port information of each preset interface; The sending the test case to the corresponding target preset interface includes: According to the IP address and port information corresponding to the target preset interface, the test case is sent to the target preset interface.

5. The information processing method according to any one of claims 1 to 4, characterized in that: The generating the test result of the target joint debugging task based on the interface response results of each preset interface includes: Based on the interface response results of the preset interfaces and the preset visualization strategy, a visualization test result of the target joint debugging task is generated.

6. The information processing method according to any one of claims 1 to 4, characterized in that: Before obtaining target rule information from a preset verification rule database in response to the target joint debugging task, the method further includes: In response to the update of the target rule information in the verification rule database, the target joint debugging task is generated.

7. An information processing device, characterized in that: include: An acquisition module, configured to acquire target rule information from a preset verification rule database in response to a target joint debugging task, wherein the target rule information includes test configuration information, and the test configuration information includes interface information of multiple preset interfaces and business logic information; A generation module, used to generate a test case according to the test configuration information; A sending module, used to send the test case to a target preset interface, so that the multiple preset interfaces perform business simulation operations based on the test case, wherein the target preset interface is a starting interface corresponding to the business logic information; The acquisition module is also used to obtain the interface response results of each preset interface; The generation module is also used to generate the test results of the target joint debugging task based on the interface response results of each preset interface.

8. An information processing device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the information processing method according to any one of claims 1 to 6 is implemented.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the information processing method according to any one of claims 1 to 6 is implemented.

10. A computer program product, characterized in that When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device is enabled to execute the information processing method as described in any one of claims 1 to 6.