Method for realizing one-key start and stop application inspection in functional automation inspection system

By introducing scheduling modules and API calls into the functional automation inspection system, one-click start and stop application inspection is achieved, the problems of complexity and inefficiency of the existing system are solved, the inspection efficiency and accuracy are improved, and the application system is ensured. Stable operation.

CN119090486APending Publication Date: 2024-12-06HEFEI LIDONG SOFTWARE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411176970.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-26
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

The existing functional automated inspection system has complex components and many modules, and the work of starting application inspection is cumbersome and inefficient, which is prone to human errors and difficult to master, especially for non-professional users.

Method used

The scheduling module is introduced into the functional automation inspection system, providing one-click start and stop application inspection functions, completing events through API calls and subscription function test jobs, realizing automated start and stop inspections, and simplifying user operations.

Benefits of technology

It greatly reduces the complexity of inspection operations, improves efficiency, reduces manual intervention, improves the accuracy and reliability of application inspections, and can quickly arrange regular or irregular inspections, promptly detect and deal with potential problems, and ensure the application system. normal use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119090486A_ABST
    Figure CN119090486A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of one-key start-stop application inspection, and discloses a method for realizing one-key start-stop application inspection in a function automation inspection system, and the method comprises the following components: the function automation inspection system which comprises a scheduling module and defines a plurality of application inspections; according to the method for starting or stopping application inspection in a one-button mode, the complexity of inspection operation is greatly reduced, and the inspection efficiency is improved. The user can easily carry out application inspection without complex configuration and operation; according to the invention, manual intervention is reduced, human factors are reduced, and the accuracy and reliability of application inspection are also improved; according to the invention, the user can rapidly arrange regular or irregular function inspection, and the possibility of operation faults of the function automation inspection system is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of one-key start-stop application inspection, and in particular to a method for implementing one-key start-stop application inspection in a functional automation inspection system. Background Art

[0002] In the current software system life cycle, the diversity of the operating environment, such as different server performance, unstable network environment, network traffic and bandwidth limitations, and changes in system shared resources, may affect the stable operation of the system. These factors may cause system failures. Therefore, it is necessary to perform functional tests regularly or irregularly to detect the system operation status and promptly discover and repair potential problems.

[0003] However, in actual applications, most existing functional automated inspection systems often have complex components, numerous modules, and many items that need to be configured, making it extremely cumbersome to start an inspection of an application. Users can only rely on the operation manual to start and stop the inspection items one by one, which is inefficient and prone to human errors. For non-professional users, these operations are too complicated and difficult to master and implement in real time.

[0004] Therefore, those skilled in the art provide a method for implementing one-key start and stop application inspection in a functional automation inspection system to solve the problems raised in the above background technology. Summary of the invention

[0005] In order to solve the problem that most of the functional automated inspection systems proposed in the above background technology often have complex components, numerous modules, and many items that need to be configured, it is extremely cumbersome to start the inspection of an application. Users can only rely on the operation manual to start and stop the inspection items one by one, which is inefficient and prone to human errors. For non-professional users, these operations are too complicated and difficult to master and implement in real time. This application provides a method for realizing one-key start and stop application inspection in a functional automated inspection system.

[0006] The present application provides a method for realizing one-key start-stop application inspection in a functional automation inspection system, which adopts the following technical solution: the method includes the following components:

[0007] Functional automated inspection system: It includes a scheduling module and defines several application inspections; the functional automated inspection system is connected to the software system functional test automation workstation;

[0008] Application inspection: The inspection of an application in the functional automation inspection system consists of several functional modules, each of which corresponds to a functional test job in a software system functional test workstation. The application inspection of the functional automation inspection system can specify a fixed time as the inspection interval, such as 15 minutes.

[0009] Functional test job: Functional test job is defined in the software system functional test automation workstation;

[0010] Start-Stop Control: Users can select an app, which includes start and stop buttons;

[0011] Scheduling module: The functional automated inspection system includes a scheduling module, which is responsible for starting and stopping inspection operations.

[0012] Preferably, the startup inspection includes:

[0013] Step 1. Open the function automation inspection system, select an application, and click Start. The function automation inspection system will set the application to the inspection state.

[0014] Step 2. After the scheduling module detects that a certain application has entered the inspection state, it calls the API of the software system functional test workstation to trigger all functional test jobs contained in the application;

[0015] Step 3. The scheduling module subscribes to the functional test job completion event, ends the current round of application inspection after all functional test jobs are completed, and generates the current round inspection report;

[0016] Step 4. The scheduling module calculates the next round of inspection time of the application according to the inspection interval of the application;

[0017] Step 5. When the scheduled time is reached, the scheduling module calls the API of the software system function test workstation again to trigger the function test job;

[0018] Repeat steps 3 to 5.

[0019] Preferably, the stopping of inspection includes:

[0020] Step 1. After the user clicks Stop, the scheduling module sets the application inspection to the Stop state;

[0021] Step 2. The scheduling module calls the API of the software system functional test workstation to stop the functional test job according to the status of the functional test job in the application;

[0022] Step 3: The scheduling module subscribes to the functional test job completion event and generates an inspection report for the current round of application inspection after all functional test jobs are completed.

[0023] Preferably, the startup protection includes:

[0024] Step 1. If the inspection status of an application is in the starting state, the system rejects the new start command and prompts an error.

[0025] Preferably, the stop protection includes:

[0026] Step 1. If the inspection status of an application is in the stopped state, the system rejects the new stop command and prompts an error.

[0027] In summary, this application includes the following beneficial technical effects:

[0028] 1. The present invention greatly reduces the complexity of inspection operation and improves inspection efficiency by realizing a one-click method of starting or stopping application inspection. Users can easily perform application inspection without complicated configuration and operation.

[0029] 2. The present invention reduces manual intervention, reduces human factors, and improves the accuracy and reliability of application inspections.

[0030] 3. The present invention enables users to quickly arrange regular or irregular functional inspections, reducing the possibility of operational failures in the functional automated inspection system.

[0031] 4. The present invention enables users to quickly start functional inspections, so that potential problems of the application system can be discovered and handled in a timely manner, thereby ensuring the normal use of the application system.

[0032] 5. The present invention enables the user to quickly stop the functional inspection, so that the user can arrange the operation of the inspection system more calmly when facing an emergency. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 It is a schematic diagram of the main functional components of a method for realizing one-key start and stop application inspection in a function automation inspection system in an embodiment of the present application;

[0034] Figure 2 This is a flow chart of a method for implementing one-key start and stop application inspection in a function automation inspection system in an embodiment of the present application (I);

[0035] Figure 3 This is a flow chart (II) of a method for implementing one-key start and stop application inspection in a functional automation inspection system in an embodiment of the present application. DETAILED DESCRIPTION

[0036] The following will be combined with the attached Figure 1-3The technical solution of the present invention is described clearly and completely. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0037] The present application embodiment discloses a method for realizing one-key start and stop application inspection in a function automation inspection system, referring to Figure 1-3 , the method includes the following components:

[0038] Functional automated inspection system: It includes a scheduling module and defines several application inspections; the functional automated inspection system is connected to the software system functional test automation workstation;

[0039] Application inspection: The inspection of an application in the functional automation inspection system consists of several functional modules, each of which corresponds to a functional test job in a software system functional test workstation. The application inspection of the functional automation inspection system can specify a fixed time as the inspection interval, such as 15 minutes.

[0040] Functional test job: Functional test job is defined in the software system functional test automation workstation;

[0041] Start-Stop Control: Users can select an app, which includes start and stop buttons;

[0042] Scheduling module: The functional automated inspection system includes a scheduling module, which is responsible for starting and stopping inspection operations.

[0043] In this application, the startup inspection includes:

[0044] Step 1. Open the function automation inspection system, select an application, and click Start. The function automation inspection system will set the application to the inspection state.

[0045] Step 2. After the scheduling module detects that a certain application has entered the inspection state, it calls the API of the software system functional test workstation to trigger all functional test jobs contained in the application;

[0046] Step 3. The scheduling module subscribes to the functional test job completion event, ends the current round of application inspection after all functional test jobs are completed, and generates the current round inspection report;

[0047] Step 4. The scheduling module calculates the next round of inspection time of the application according to the inspection interval of the application;

[0048] Step 5. When the scheduled time is reached, the scheduling module calls the API of the software system function test workstation again to trigger the function test job;

[0049] Repeat steps 3 to 5.

[0050] In this application, stopping inspection includes:

[0051] Step 1. After the user clicks Stop, the scheduling module sets the application inspection to the Stop state;

[0052] Step 2. The scheduling module calls the API of the software system functional test workstation to stop the functional test job according to the status of the functional test job in the application;

[0053] Step 3: The scheduling module subscribes to the functional test job completion event and generates an inspection report for the current round of application inspection after all functional test jobs are completed.

[0054] In this application, startup protection includes:

[0055] Step 1. If the inspection status of an application is in the starting state, the system rejects the new start command and prompts an error.

[0056] In this application, stopping protection includes:

[0057] Step 1. If the inspection status of an application is in the stopped state, the system rejects the new stop command and prompts an error.

[0058] The implementation principle of a method for realizing one-key start and stop of application inspection in a functional automated inspection system in an embodiment of the present application is as follows: the method greatly simplifies the operation of starting or stopping each inspection item by sorting out the relationship between each module in the functional inspection system. With one click, the user can start or stop the application inspection of the inspection system, which improves the inspection efficiency and enables the user to efficiently control the application inspection in the functional automated inspection system when facing system upgrades and network cuts. It more effectively ensures the stable operation of the inspection system. The fully automated solution can start and stop the inspection of a certain application with one click.

[0059] The innovative points to be protected by the present invention are:

[0060] 1. The application inspection function of one-click start and stop is realized in the functional automated inspection system.

[0061] 2. Integration of functional automated inspection system and software system automated testing.

[0062] 3. The functional automated inspection system determines the status of the functional test job by subscribing to the event of the functional test job completion.

[0063] Finally, a few points should be explained: First, in the description of this application, it should be noted that, unless otherwise specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, which may refer to mechanical connection or electrical connection, or internal communication between two components, or direct connection. "upper", "lower", "left", "right", etc. are only used to indicate relative positional relationships. When the absolute position of the object being described changes, the relative positional relationship may change;

[0064] Secondly: In the drawings of the embodiments disclosed in the present invention, only the structures involved in the embodiments disclosed in the present invention are involved, and other structures can refer to the usual design. In the absence of conflict, the same embodiment and different embodiments of the present invention can be combined with each other.

Claims

1. A method for realizing one-key start and stop application inspection in a function automation inspection system, characterized in that: The approach includes the following components: Functional automated inspection system: It includes a scheduling module and defines several application inspections; the functional automated inspection system is connected to the software system functional test automation workstation; Application inspection: The inspection of an application in the functional automation inspection system consists of several functional modules, each of which corresponds to a functional test job in a software system functional test workstation. The application inspection of the functional automation inspection system can specify a fixed time as the inspection interval, such as 15 minutes. Functional test job: Functional test job is defined in the software system functional test automation workstation; Start-Stop Control: Users can select an app, which includes start and stop buttons; Scheduling module: The functional automated inspection system includes a scheduling module that is responsible for starting and stopping inspection operations.

2. The method for implementing one-button start-stop application inspection in a function automation inspection system according to claim 1, characterized in that: The startup inspection includes: Step 1. Open the automated inspection system, select an application, and click Start. The automated inspection system will set the application to inspection status. Step 2. After the scheduling module detects that an application has entered the inspection state, it calls the API of the software system functional test workstation to trigger all functional test jobs included in the application; Step 3. The scheduling module subscribes to the functional test job completion event, ends the current round of application inspection after all functional test jobs are completed, and generates a current round inspection report; Step 4. The scheduling module calculates the next inspection time of the application based on the inspection interval of the application; Step 5. When the scheduled time is reached, the scheduling module calls the API of the software system functional test workstation again to trigger the functional test job; Repeat steps 3 to 5.

3. The method for implementing one-button start-stop application inspection in a function automation inspection system according to claim 1, characterized in that: The stopping inspection includes: Step 1. After the user clicks Stop, the scheduling module sets the application inspection to the Stop state; Step 2. The scheduling module calls the API of the software system functional test workstation to stop the functional test job based on the status of the functional test job in the application; Step 3. The scheduling module subscribes to the functional test job completion event and generates an inspection report for the current round of application inspection after all functional test jobs are completed.

4. The method for implementing one-button start-stop application inspection in a function automation inspection system according to claim 1, characterized in that: The startup protection includes: Step 1. If the inspection status of an application is in the starting state, the system rejects the new start command and prompts an error.

5. The method for implementing one-button start-stop application inspection in a function automation inspection system according to claim 1, characterized in that: The stop protection includes: Step 1. If the inspection status of an application is stopped, the system rejects the new stop command and prompts an error.