Inspection personalized arrangement method and system based on ansible

By using an Ansible-based personalized inspection orchestration system, the problems of high barriers to entry for visual orchestration, real-time monitoring, and user operation in inspection systems have been solved. This system enables flexible and reliable adaptation of inspection operations, improving the adaptability of enterprise host inspection scenarios and enhancing the user experience.

CN120994267APending Publication Date: 2025-11-21FUJIAN FUJITSU COMM SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511011584.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-22
Publication Date
2025-11-21

AI Technical Summary

Technical Problem

Existing inspection systems suffer from insufficient visualization of inspection item arrangement, weak real-time monitoring capabilities, high operational barriers for end users, and a lack of automated arrangement capabilities tailored to business scenarios. This forces developers to invest significant effort in script modifications, impacting platform promotion and user adoption efficiency.

Method used

The inspection personalization orchestration system based on Ansible is adopted, which includes an inspection item configuration module, an inspection template combination module, an inspection task management module, an Ansible execution engine, and a database storage unit. It provides a graphical interface and an XXL-JOB scheduling center, supports visual orchestration, flexible task scheduling, and result storage, and ensures task stability by combining Ansible's idempotent execution mechanism.

Benefits of technology

It enables flexible combination and adaptation of inspection items, reduces adaptation costs, improves user experience and operational efficiency, ensures the flexibility, versatility and reliability of inspection operations, and adapts to various personalized scenarios without restarting the service.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120994267A_ABST
    Figure CN120994267A_ABST
Patent Text Reader

Abstract

The invention discloses an ansible-based inspection personalized arrangement method and system, and the system comprises an inspection item configuration module which is used for configuring a script and an instruction used by each inspection item in a host inspection scene; the inspection template combination module is used for arranging a plurality of inspection items into reusable inspection templates according to scenes; the inspection task management module is used for quoting an inspection template and selecting a group of hosts to formulate a specific inspection task; the Ansible execution engine is used for executing an inspection item script involved in the inspection task to a formulated host and collecting an execution result; and the database storage unit is used for storing the execution result collected by the Ansible execution engine. According to the invention, the flexibility and universality of the inspection script in different inspection operation scenes are improved, and the reliability and timeliness of the inspection operation are ensured at the same time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of IT operations and maintenance monitoring, and in particular to a personalized inspection orchestration method and system based on Ansible. Background Technology

[0002] In the process of enterprise development, automated host inspection and self-service have become core functional requirements. Current mainstream operating systems (such as Elastic-Job, XXL-Job, etc.) have made significant progress in scheduling engines and basic frameworks, possessing mature functions such as sharded execution, elastic scaling, high-availability architecture, multi-trigger strategies, failure retry mechanisms, and task alerts, providing basic technical support for automated operation and maintenance.

[0003] Existing inspection systems have significant shortcomings in key user experience dimensions: 1) Insufficient visualization of inspection item orchestration and a lack of intuitive process design tools; 2) Weak real-time monitoring capabilities, failing to meet the immediate feedback needs of maintenance operations; 3) High operational threshold for end users and a lack of user-friendly interfaces; 4) Lack of automated orchestration capabilities tailored to business scenarios, requiring developers to invest significant effort in script modifications. These deficiencies result in a contradiction between "strong functionality and poor usability" in the practical application of automated inspection systems, impacting platform promotion and user adoption efficiency. Summary of the Invention

[0004] The purpose of this invention is to provide a personalized inspection scheduling method and system based on Ansible, which enables the visual scheduling and monitoring of host inspection operations through Ansible.

[0005] The technical solution adopted in this invention is: A personalized inspection orchestration system based on Ansible includes the following modules: The inspection item configuration module is used to configure the scripts and instructions used for each inspection item in the host inspection scenario. The inspection template combination module is used to arrange multiple inspection items into reusable inspection templates according to scenarios. The inspection task management module is used to reference inspection templates and select a group of hosts to create specific inspection tasks. The Ansible execution engine is used to send the inspection item scripts involved in the inspection task to a designated host for script execution and collect the execution results. Database storage unit, used to store the execution results collected by the Ansible execution engine; Furthermore, the inspection template combination module provides a graphical interface, allowing users to dynamically generate personalized inspection templates by freely combining inspection items.

[0006] Specifically, visual orchestration improves the efficiency of inspection item combinations, allows for dynamic adjustments without restarting the service, shortens adaptation time, and adapts to various personalized scenarios.

[0007] Furthermore, it also includes the XXL-JOB scheduling center, which, in conjunction with the inspection task management module, enables the periodic or immediate issuance of inspection tasks.

[0008] Specifically, it supports periodic scheduled tasks and immediate manual task triggering via XXL-JOB, accommodating complex execution cycle requirements. Ansible's idempotent execution mechanism ensures task stability, while the XXL-JOB retry strategy reduces task failure rates.

[0009] A personalized inspection orchestration method based on Ansible includes the following steps: Step 1: Configure the scripts and instructions used for each inspection item in the host inspection scenario through the inspection item configuration module; Step 2: Arrange multiple inspection items into reusable inspection templates according to scenarios using the inspection template combination module; Step 3: The inspection task management module references an inspection template, selects a group of hosts to create a specific inspection task, and sends it to the Ansible execution engine. Step 4: The Ansible execution engine sends the inspection item scripts involved in the inspection task to the designated host for script execution and collects the execution results. Step 5: The execution results collected by the Ansible execution engine are stored in the database storage unit; Furthermore, step 2 provides a graphical interface, allowing users to dynamically generate personalized inspection templates by freely combining inspection items.

[0010] Furthermore, in step 3, the inspection task management module works with the XXL-JOB scheduling center to periodically issue inspection tasks or issue them immediately.

[0011] Furthermore, in step 5, the database storage unit generates a visual icon based on the execution result.

[0012] The present invention adopts the above technical solution and has the following advantages compared with the prior art: 1) Reduced adaptation cost: Inspection items can be freely combined and arranged for different host inspection scenarios. This solves the adaptation problem between different host inspection scenarios of different enterprises. 2) Improved flexibility: Users can dynamically add or remove inspection items according to their own needs without secondary development and adjustment.

[0013] This invention not only solves the problem of adapting inspection items to different inspection scenarios, but also brings many conveniences and technological breakthroughs in practical applications. This invention improves the flexibility and versatility of inspection scripts under different inspection operation scenarios, while ensuring the reliability and timeliness of inspection operations. This invention enables perfect adaptation to any enterprise host inspection scenario, improving overall operational efficiency and user experience. Attached Figure Description

[0014] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments; Figure 1 This is a schematic diagram of the process architecture of a personalized inspection orchestration method based on Ansible according to the present invention. Detailed Implementation

[0015] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.

[0016] like Figure 1 As shown, this invention discloses a personalized inspection orchestration system based on Ansible, comprising the following modules: The inspection item configuration module is used to configure the scripts and instructions used for each inspection item in the host inspection scenario. The inspection template combination module is used to arrange multiple inspection items into reusable inspection templates according to scenarios. The inspection task management module is used to reference inspection templates and select a group of hosts to create specific inspection tasks. The Ansible execution engine is used to send the inspection item scripts involved in the inspection task to a designated host for script execution and collect the execution results. Database storage unit, used to store the execution results collected by the Ansible execution engine; Furthermore, the inspection template combination module provides a graphical interface, allowing users to dynamically generate personalized inspection templates by freely combining inspection items.

[0017] Specifically, visual orchestration improves the efficiency of inspection item combinations, allows for dynamic adjustments without restarting the service, shortens adaptation time, and adapts to various personalized scenarios.

[0018] Furthermore, it also includes the XXL-JOB scheduling center, which, in conjunction with the inspection task management module, enables the periodic or immediate issuance of inspection tasks.

[0019] Specifically, it supports periodic scheduled tasks and immediate manual task triggering via XXL-JOB, accommodating complex execution cycle requirements. Ansible's idempotent execution mechanism ensures task stability, while the XXL-JOB retry strategy reduces task failure rates.

[0020] A personalized inspection orchestration method based on Ansible includes the following steps: Step 1: Configure the scripts and instructions used for each inspection item in the host inspection scenario through the inspection item configuration module; Step 2: Arrange multiple inspection items into reusable inspection templates according to scenarios using the inspection template combination module; Step 3: The inspection task management module references an inspection template, selects a group of hosts to create a specific inspection task, and sends it to the Ansible execution engine. Step 4: The Ansible execution engine sends the inspection item scripts involved in the inspection task to the designated host for script execution and collects the execution results. Step 5: The execution results collected by the Ansible execution engine are stored in the database storage unit; Furthermore, step 2 provides a graphical interface, allowing users to dynamically generate personalized inspection templates by freely combining inspection items.

[0021] Furthermore, in step 3, the inspection task management module works with the XXL-JOB scheduling center to periodically issue inspection tasks or issue them immediately.

[0022] Furthermore, in step 5, the database storage unit generates a visual icon based on the execution result.

[0023] The present invention adopts the above technical solution and has the following advantages compared with the prior art: 1) Reduced adaptation cost: Inspection items can be freely combined and arranged for different host inspection scenarios. This solves the adaptation problem between different host inspection scenarios of different enterprises. 2) Improved flexibility: Users can dynamically add or remove inspection items according to their own needs without secondary development and adjustment.

[0024] This invention not only solves the problem of adapting inspection items to different inspection scenarios, but also brings many conveniences and technological breakthroughs in practical applications. This invention improves the flexibility and versatility of inspection scripts under different inspection operation scenarios, while ensuring the reliability and timeliness of inspection operations. This invention enables perfect adaptation to any enterprise host inspection scenario, improving overall operational efficiency and user experience.

[0025] Obviously, the described embodiments are only a part of the embodiments of this application, not all of them. Without conflict, the embodiments and features in the embodiments of this application can be combined with each other. The components of the embodiments of this application described and illustrated herein can generally be arranged and designed in various different configurations. Therefore, the detailed description of the embodiments of this application is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

Claims

1. A personalized inspection scheduling system based on Ansible, characterized in that: It includes the following modules: The inspection item configuration module is used to configure the scripts and instructions used for each inspection item in the host inspection scenario. The inspection template combination module is used to arrange multiple inspection items into reusable inspection templates according to scenarios. The inspection task management module is used to reference inspection templates and select a group of hosts to create specific inspection tasks. The Ansible execution engine is used to send the inspection item scripts involved in the inspection task to a designated host for script execution and collect the execution results. The database storage unit is used to store the execution results collected by the Ansible execution engine.

2. The Ansible-based personalized inspection scheduling system according to claim 1, characterized in that: The inspection template combination module provides a graphical interface, allowing users to dynamically generate personalized inspection templates by freely combining inspection items.

3. The Ansible-based personalized inspection scheduling system according to claim 1, characterized in that: It also includes the XXL-JOB scheduling center, which, in conjunction with the inspection task management module, enables the periodic or immediate issuance of inspection tasks.

4. A personalized inspection orchestration method based on Ansible. According to claim 1, the Ansible-based personalized inspection orchestration system is characterized by the following steps: Step 1: Configure the scripts and instructions used for each inspection item in the host inspection scenario through the inspection item configuration module; Step 2: Arrange multiple inspection items into reusable inspection templates according to scenarios using the inspection template combination module; Step 3: The inspection task management module references an inspection template, selects a group of hosts to create a specific inspection task, and sends it to the Ansible execution engine. Step 4: The Ansible execution engine sends the inspection item scripts involved in the inspection task to the designated host for script execution and collects the execution results. Step 5: The execution results collected by the Ansible execution engine are stored in the database storage unit.

5. The Ansible-based personalized inspection orchestration method according to claim 4, characterized in that: Step 2 provides a graphical interface, allowing users to dynamically generate personalized inspection templates by freely combining inspection items.

6. The Ansible-based personalized inspection orchestration method according to claim 4, characterized in that: In step 3, the inspection task management module works with the XXL-JOB scheduling center to periodically issue inspection tasks or issue them immediately.

7. The Ansible-based personalized inspection orchestration method according to claim 4, characterized in that: In step 5, the database storage unit generates a visual icon based on the execution result.