System configuration and software process deployment method

By using AutoIt scripts and automated deployment tools, the fully automated and standardized deployment of the centralized control system in the intelligent construction of coal mines has been achieved, solving the problems of cumbersome operation, scattered configuration, and inability to deploy multiple units at the same time, thus improving deployment efficiency and standardization.

CN121879784APending Publication Date: 2026-04-17ZHENGZHOU HENGDA INTELLIGENT CONTROL TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
ZHENGZHOU HENGDA INTELLIGENT CONTROL TECHNOLOGY CO LTD
Filing Date
2025-12-15
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

In the construction of intelligent coal mines, existing technologies result in cumbersome operation, scattered configuration, lack of standardization, and inability to deploy multiple units simultaneously, leading to low deployment efficiency.

Method used

The AutoIt scripting language is used to write automated installation scripts, which are combined with automated deployment tools to form a unified configuration file and deployment package, enabling fully automated and standardized deployment from bare metal to production environment, including automated management of software installation and system configuration.

Benefits of technology

It enables single-process, batch automated deployment of centralized control software systems, solving the cumbersome problems of multi-interface decentralized operation and manual operation of each machine, and improving deployment efficiency and standardization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121879784A_ABST
    Figure CN121879784A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of network deployment, and particularly discloses a system configuration and software process deployment method. According to the method, through unified configuration and standardized configuration template centralized management, a software installation package, an installation script, a configuration file and an automatic deployment tool are packaged to form a deployment package, and through a deployment medium, when the deployment package is manually copied to a proper position of a target host, the deployment is completed. The centralized control software system can be automatically deployed on the target host by using a one-key deployment function, the deployment process is single-process automation, manual operation is avoided, and the problems of scattered configuration, tedious operation and low efficiency of an existing deployment method can be effectively solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of network deployment technology, specifically relating to a system configuration and software process deployment method. Background Technology

[0002] The construction of intelligent coal mines is inseparable from computer software. Deploying a centralized control system requires installing specific centralized control software and auxiliary software, as well as configuring the operating system. Currently, there are several solutions for the automated deployment of operating system installation and subsequent software configuration, such as: PXE network deployment technology, based on the DHCP / TFTP protocol pre-boot environment, supports booting installation images over the network. Its typical deployment process is: client PXE boot -> DHCP server assigns IP -> obtains boot file -> loads OS installer; however, this technology relies on network infrastructure (DHCP / TFTP server), has complex configuration, does not support offline deployment scenarios, and is unencrypted, posing a high security risk.

[0003] Windows ADK deployment technology provides a set of Windows system deployment tools to accomplish deployment tasks; however, this technology only supports the Windows platform, has no built-in software deployment framework, lacks cross-platform support, and PowerShell / DISM commands are complex with a steep learning curve.

[0004] The hybrid PXE+ADK solution combines PXE network booting and ADK deployment tools, using Windows Deployment Services (WDS). However, this technical architecture is complex and requires collaboration between the AD domain, WDS, and MDT. There is no unified configuration management interface, it is limited to the Windows ecosystem, and the initial configuration takes an average of 8+ hours.

[0005] At the same time, the above technologies also have some common problems: 1. Cumbersome operation: The process of installing software and configuring the system requires multiple manual interactions, and the number of operations and steps are relatively cumbersome; 2. Dispersed configuration: The operating system requires manual configuration of network, firewall, power, etc., and the operation of these settings is relatively scattered, making the configuration operation inconvenient; 3. Inconsistent and unstandardized system operating environments: Due to differences in knowledge and operating habits, different personnel may deploy systems with different configurations, which may lead to problems in system operation; 4. Low efficiency: When deploying a centralized control system, the software needs to be installed on the computer host. Since it requires human interaction, the software installation work must be carried out on a machine-by-machine basis. When we need to deploy in batches, the efficiency of the deployment work is relatively low, and it is impossible to deploy multiple machines at the same time. Summary of the Invention

[0006] To address the shortcomings and problems of current system deployment settings, such as cumbersome operation, scattered configuration, lack of standardization, and inability to deploy multiple machines simultaneously, this invention provides an end-to-end system configuration and software process-oriented deployment method, realizing fully automated and standardized deployment from bare metal to production environment.

[0007] This invention provides a system configuration and software process-oriented deployment method, comprising the following steps: Step 1: Write an automatic installation script for the full software installation package, including the central control software and auxiliary software; the script can identify the window names of the software installation package during the installation process; Step 2: Package the software installation package from Step 1 and the written script program into a software package; Step 3: Use automated deployment tools to save the software to be installed and the operating system configurations to form a configuration file; Step 4: Export the configuration files, software packages, and deployment tools to the storage medium as a deployment package using an automated deployment tool; Step 5: Connect the storage medium to the host to be deployed, copy the contents exported in Step 4 to the appropriate file path on the host to be deployed, and then run the automated deployment tool to complete the deployment.

[0008] The above-described system configuration and software deployment process uses the AutoIt scripting language to write automated installation scripts in step one.

[0009] The above-mentioned system configuration and software process deployment method, the packaging method in step two is as follows: First, name the software installation package and the corresponding script program with the same name, then store the software installation package and the script program in their respective folders, and then store the folders corresponding to the software installation package and the script program in one folder.

[0010] In the above-described system configuration and software deployment process, the software installation package mentioned in step two is any one of the formats exe, msi, zip, rar, or 7z; the script program is in exe format.

[0011] The above-mentioned system configuration and software process deployment method, specifically step three, is as follows: use an automated deployment tool to configure the software to be installed and the system configuration items to be set, and save the configuration as a configuration file after the configuration is completed; the configuration file records the name of the software installation package to be installed and the name and content of the operating system configuration to be performed.

[0012] The above-mentioned system configuration and software process deployment method, step four of which involves exporting the software package, configuration file, and automated deployment tool together in a folder according to the specified hierarchical relationship, and then saving the folder to the specified file path on the storage medium.

[0013] The above-described system configuration and software process deployment method, in step five, running the automated deployment tool, uses the one-click deployment function of the automated deployment tool. The program installs the specified software according to the configuration file and automatically sets the specified system configuration, thereby completing the automated deployment of the centralized control software system.

[0014] The above-described system configuration and software process-oriented deployment method is characterized in that: the automated deployment tool includes: The software installation package management module is used to manage all software installation packages used during the deployment process; The configuration file management module is used to generate and manage configuration files. The one-click deployment module is used to automatically install the corresponding software according to the information in the configuration file, and then set the corresponding operating system configuration to complete the deployment process.

[0015] The above-described system configuration and software process deployment method includes a software installation package management module that involves adding, deleting, and querying installation packages and installation scripts.

[0016] The above system configuration and software deployment process involves adding files by using a script to call the FileCopy or FileInstall function to copy the installation package to the Packages folder in the tool directory; deleting files by using a script to call the FileDelete function to remove files; and querying files by using the FileFindFirstFile and FileFindNextFile functions to traverse the Packages directory.

[0017] The above-described system configuration and software deployment process uses an INI configuration file, which includes a [Software] section (listing installation package paths) and an [OSConfig] section. The configuration file management module uses AutoIt's INI file processing function to generate and manage configuration files, including an installation package selection unit, an operating system configuration setting unit, a configuration file addition unit, and a configuration file deletion unit. The installation package selection unit obtains a list from the software installation package management module through a GUI drop-down menu. After the user selects a package, the script writes the path to the INI file. The operating system configuration settings unit provides input boxes for users to input parameters, which are then verified by the script and written to the INI file. The configuration file adds a new unit that calls IniWriteSection to create a new file; The configuration file deletion unit uses FileDelete to remove files.

[0018] The above-described system configuration and software deployment process involves a one-click deployment module that reads the [Software] section of the configuration file in a loop, executes the installation script by calling the RunWait function for each installation package path, and performs operating system configuration settings by reading the [OSConfig] section and using AutoIt system functions.

[0019] Compared with existing technologies, the beneficial effects of this invention are as follows: This invention centrally manages standardized configuration templates through unified configuration. Software installation packages, installation scripts, configuration files, and automated deployment tools are packaged into a deployment package. When the deployment package is manually copied to a suitable location on the target host via a deployment medium, the one-click deployment function can automatically deploy the centralized control software system on the target host, eliminating the need for manual operation during the deployment process. It enables single-process, batch automated deployment, effectively solving the pain points of existing technologies that require multiple interfaces for decentralized operation, reliance on deployment personnel experience, manual operation on each machine, and cumbersome multiple manual interactions. Attached Figure Description

[0020] Figure 1 This is an architecture diagram of the centralized control software system deployment tool of the present invention; Figure 2 This is a diagram of the storage architecture of the deployment package for the centralized control software system of this invention; Figure 3 This is a flowchart illustrating the deployment process of this invention. Detailed Implementation

[0021] The present invention will be further described below with reference to the accompanying drawings and specific embodiments.

[0022] Example 1: This example provides a system configuration and software process-oriented deployment method, which includes the following: Step 1: Write corresponding automatic installation scripts for the full software installation package, including the central control software and auxiliary software. Specifically, the automatic installation scripts are written using the AutoIt scripting language. They can be customized for each different software installation package. The installation scripts can identify the window names of the software installation package during the installation process. By identifying the windows and window controls and using simulated input from the mouse and keyboard, the machine can simulate manual operation and achieve the purpose of automating the software installation.

[0023] Step 2: Package the software installation package and the written script program from Step 1 into a software package. The packaging process begins by naming the installation package and the corresponding script program with the same name to facilitate program retrieval. Then, the installation package and the script program are stored in their respective folders, and finally, the two folders are stored in one folder. This completes the software package packaging process.

[0024] The software packages contained in the software package are generally in exe, msi, zip, rar, or 7z format, while the script program is generally in exe format.

[0025] Step 3: Use an automated deployment tool to save the software to be installed and the operating system configurations to form a configuration file. The configuration process uses an automated deployment tool to configure the software to be installed and the system configuration items to be set. After the configuration is completed, it is saved as a configuration file. The configuration file records the names of the software installation packages to be installed and the names and contents of the operating system configurations to be set. In subsequent automated deployments, the corresponding installation packages are installed and the corresponding operating system configuration items are set according to this configuration file.

[0026] As an example: Figure 1 As shown, the automated deployment tool uses AutoIt scripts and includes: a software installation package management module, a configuration file management module, and a human-computer interaction interface. Specifically: The software installation package management module is responsible for managing all software installation packages used during the deployment process. It includes functions for adding installation packages and installation scripts, deleting installation packages and installation scripts, and querying installation packages and installation scripts.

[0027] The added functionality involves the script calling the FileCopy or FileInstall function to copy the installation package to the "Packages" folder in the tool's directory.

[0028] The deletion function involves the script calling the FileDelete function to remove files.

[0029] The query function uses the FileFindFirstFile and FileFindNextFile functions to traverse the "Packages" directory.

[0030] The configuration file management module is responsible for generating and managing configuration files. It utilizes AutoIt's INI file processing capabilities (such as IniWrite and IniRead) to generate and manage configuration files. The configuration files are in INI format and include a [Software] section (listing installation package paths) and a [OSConfig] section (such as system timeout settings); they also include installation package selection, operating system configuration settings, configuration file addition, and configuration file deletion units.

[0031] The installation package selection unit retrieves a list from the software installation package management module via a GUI drop-down menu. After the user selects a package, the script writes the path to the INI file.

[0032] The operating system configuration settings unit provides input boxes (such as text boxes), user input parameters (such as registry key values), and script verification before writing them to the INI file.

[0033] The configuration file add / delete unit calls IniWriteSection to create a new file when adding one, and uses FileDelete to remove one when deleting another.

[0034] The configuration file management module is responsible for automatically installing the corresponding software according to the information in the configuration file, then setting the corresponding operating system configuration to complete the deployment process.

[0035] The software installation function reads the [Software] section of the configuration file in a loop. For each installation package path, it calls the RunWait function to execute the installation script (e.g., RunWait("Packages\software.exe / S"), where / S indicates silent installation).

[0036] The operating system configuration settings function reads the [OSConfig] section and uses AutoIt system functions (such as RegWrite to modify the registry and RunWait to execute system commands) to apply settings, such as setting environment variables.

[0037] The human-computer interface (HCI) is responsible for responding to user actions or performing corresponding functions. The interface is divided into a main interface, a software installation package management interface, and a configuration file management interface. The main interface contains buttons for "Package Management", "Configuration Management", and "One-Click Deployment". Clicking these buttons will take you to a sub-interface.

[0038] The software installation package management interface includes a file browsing dialog box and a list control; The configuration file management interface includes combo boxes and input controls; Event handling for UI events is bound via the GUICtrlSetOnEvent function.

[0039] Step 4: Export the configuration files, software packages, and deployment tools to the storage medium as a deployment package using the automated deployment tool. The export process involves storing the software packages, configuration files, and automated deployment tools together in a folder according to the specified hierarchical relationship, and saving this folder to the specified file path on the storage medium. The storage structure of the deployment package is as follows Figure 2 As shown, the deployment package includes software packages, configuration files, and automated deployment tools, integrating software installation and system configuration to achieve one-click deployment. Therefore, when packaging the deployment package, the installation package, installation script, configuration files, and automated deployment tools need to be packaged and exported together. The installation package, in this example, uses the time-series control software, which is the software I want to deploy. Other auxiliary software refers to the tools used during computer operation or debugging.

[0040] Storage media can be hard drives, USB flash drives, etc.; for ease of use, USB flash drives are generally chosen.

[0041] Step 5: Physically connect the storage medium to the host to be deployed. Copy the content exported in Step 4 to the appropriate file path on the host to be deployed, and then run the automated deployment tool to complete the deployment. The process utilizes the one-click deployment function of the automated deployment tool. The program automatically installs the specified software and configures the specified system settings according to the configuration file, thereby completing the automated deployment of the centralized control software system. The program execution steps are as follows: Figure 3 As shown, specifically: (1) Read the configuration file to obtain the software installation package to be installed, the corresponding automated installation script, the operating system configuration items to be set, and the configuration content; (2) The script calls the automated installation script to install the corresponding software; (3) The script executes the corresponding operating system configuration modification.

[0042] At this point, the one-click deployment is complete and the system is ready to run.

[0043] This method achieves single-process, batch automated deployment through unified configuration and standardized configuration templates for centralized management. It effectively solves the pain points of existing technologies that require multiple interfaces for decentralized operation, manual operation by experienced deployment personnel on each machine, and cumbersome manual interaction.

[0044] The above description is only a preferred embodiment of the present invention and does not limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A system configuration and software flow deployment method, characterized by: Includes the following steps: Step 1: Write an automatic installation script for the full software installation package, including the central control software and auxiliary software; the script can identify the window names of the software installation package during the installation process. Step 2: Package the software installation package from Step 1 and the written script program into a software package; Step 3: Use automated deployment tools to save the software to be installed and the operating system configurations to form a configuration file; Step 4: Export the configuration files, software packages, and deployment tools to the storage medium as a deployment package using an automated deployment tool; Step 5: Connect the storage medium to the host to be deployed, copy the contents exported in Step 4 to the appropriate file path on the host to be deployed, and then run the automated deployment tool to complete the deployment.

2. The system configuration and software flow deployment method of claim 1, wherein: In step one, the AutoIt scripting language is used to write an automated installation script.

3. The system configuration and software flow deployment method of claim 1, wherein: The packaging method in step two is as follows: First, name the software installation package and the corresponding script program with the same name. Then, store the software installation package and the script program in their respective folders. Finally, store the folders corresponding to the software installation package and the script program in one folder.

4. The system configuration and software process deployment method according to claim 1, characterized in that: Step 3 involves the following steps: using an automated deployment tool to configure the software to be installed and the system configuration items to be set, and saving the configuration as a configuration file after completion; the configuration file records the names of the software installation packages to be installed and the names and contents of the operating system configurations to be performed.

5. The system configuration and software flow deployment method of claim 1, wherein: Step four, the export process, involves storing the software packages, configuration files, and automated deployment tools together in a folder according to a defined hierarchical relationship, and then saving this folder to a specified file path on the storage medium.

6. The system configuration and software flow deployment method of claim 1, wherein: Step five involves running the automated deployment tool, which uses the tool's one-click deployment function. The program installs the specified software according to the configuration file and automatically sets the specified system configuration, thereby completing the automated deployment of the centralized control software system.

7. The system configuration and software flow deployment method of claim 1, wherein: The automated deployment tools include: The software installation package management module is used to manage all software installation packages used during the deployment process; The configuration file management module is used to generate and manage configuration files. The one-click deployment module is used to automatically install the corresponding software according to the information in the configuration file, and then set the corresponding operating system configuration to complete the deployment process.

8. The system configuration and software flow deployment method of claim 7, wherein: The software installation package management module involves adding, deleting, and querying installation packages and installation scripts.

9. The system configuration and software flow deployment method of claim 7, wherein: The configuration file uses the INI format and includes a [Software] section (listing the installation package paths) and a [OSConfig] section; The configuration file management module uses AutoIt's INI file processing function to generate and manage configuration files, including an installation package selection unit, an operating system configuration setting unit, a configuration file addition unit, and a configuration file deletion unit. The installation package selection unit obtains a list from the software installation package management module through a GUI drop-down menu. After the user selects a package, the script writes the path to the INI file. The operating system configuration settings unit provides input boxes for users to input parameters, which are then verified by the script and written to the INI file. The configuration file adds a new unit that calls IniWriteSection to create a new file; The configuration file deletion unit uses FileDelete to remove files.

10. The system configuration and software flow deployment method of claim 7, wherein: The one-click deployment module reads the [Software] section of the configuration file in a loop, and for each installation package path, calls the RunWait function to execute the installation script to achieve software installation; it reads the [OSConfig] section and uses AutoIt system functions to apply settings to achieve operating system configuration settings.