CN115113890A - Automatic deployment method, system, equipment and medium of terminal software - Google Patents

Automatic deployment method, system, equipment and medium of terminal software Download PDF

Info

Publication number
CN115113890A
CN115113890A CN202210867614.4A CN202210867614A CN115113890A CN 115113890 A CN115113890 A CN 115113890A CN 202210867614 A CN202210867614 A CN 202210867614A CN 115113890 A CN115113890 A CN 115113890A
Authority
CN
China
Prior art keywords
software
script
deployment
installation
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210867614.4A
Other languages
Chinese (zh)
Inventor
黄江怀
曾河山
刘朝兴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Hordor Architecture & Engineering Design Group Co ltd
Original Assignee
Xiamen Hordor Architecture & Engineering Design Group Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiamen Hordor Architecture & Engineering Design Group Co ltd filed Critical Xiamen Hordor Architecture & Engineering Design Group Co ltd
Priority to CN202210867614.4A priority Critical patent/CN115113890A/en
Publication of CN115113890A publication Critical patent/CN115113890A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method, a system, equipment and a medium for automatically deploying terminal software, wherein the method comprises the following steps: if the software installation package has a silent installation and deployment mode, calling the silent installation parameters of the installation package to complete automatic software deployment, otherwise, entering S200; if the software installation package has the recording installation step, writing a BAT script and performing software automatic deployment through the BAT script, otherwise, entering S300; compiling an AutoIt3 script, and simulating mouse and keyboard operation by using the AutoIt3 script to complete automatic deployment; after the script is compiled, the software installation package, the installation script and the configuration file are stored in a centralized manner, and the path, the script and the installation sequence of the software installation package are configured in the configuration file; the method can automatically deploy a plurality of terminals at the same time, and greatly improves the efficiency of automatic deployment of terminal software in batches.

Description

Automatic deployment method, system, equipment and medium of terminal software
Technical Field
The invention relates to the field of software automatic deployment, in particular to a method, a system, equipment and a medium for automatic deployment of terminal software.
Background
With the rapid development of the internet, the requirements of users on the terminal software are increased synchronously, so that the updating iteration speed of the terminal software is faster and faster, the types of applications are more and more, and the frequency of application deployment is higher and more.
The terminal software may need to be repeatedly deployed to a plurality of terminal computers in a short time. The manual operation to complete the program deployment requires a large number of repetitive operations, which consumes a large amount of time. In order to reduce the consumption of manpower and material resources, the internet industry provides a plurality of methods for automatically deploying terminal software. The automatic deployment of the application aims to simplify the configuration of the deployment, and repetitive actions are replaced by programs, so that only an administrator needs to input key information. However, due to the diversity of terminal software and the complexity of the environment on which the application program runs, the existing automatic deployment method is only suitable for a single application and has no requirement on the environment on which the terminal software runs. Therefore, the automatic deployment of terminal software that can be applied to complex environments becomes a problem to be solved in the industry at present. Therefore, the applicant proposes a method, a system, a device and a medium for automatic deployment of terminal software.
Disclosure of Invention
Technical scheme (I)
In view of this, an object of the present invention is to provide a method, a system, a device and a medium for automatically deploying terminal software, so as to solve or at least partially solve the problem in the prior art that it is difficult to automatically deploy terminal software with complex operation.
According to one aspect of the invention, a method for automatically deploying terminal software is provided, and the method comprises the following steps:
s100, if the software installation package has a silent installation and deployment mode, calling the silent installation parameters of the installation package to complete automatic software deployment, otherwise, entering S200;
s200, if the software installation package has the recording installation step, writing a BAT script and performing software automatic deployment through the BAT script, otherwise, entering S300;
s300, compiling an AutoIt3 script, and simulating mouse and keyboard operation by using the AutoIt3 script to complete automatic deployment;
s400, after the script writing is completed, the software installation package, the installation script and the configuration file are stored in a centralized mode, and the software installation package path, the script and the installation sequence are configured in the configuration file.
According to another aspect of the present invention, an automated deployment system of terminal software is provided, the system comprising:
the silence installation module: a software installation package for automated deployment of quiescable installations;
BAT script module: the software installation package is used for automatically deploying software installation packages with recording installation steps through BAT scripts;
AutoIt3 script module: the software automation deployment is completed by simulating mouse and keyboard operations through an AutoIt3 script;
a storage configuration module: the method is used for storing the software installation package, the installation script and the configuration file in a centralized manner, and configuring the path, the script and the installation sequence of the software installation package in the configuration file.
According to a further aspect of the present invention, an automated deployment device of terminal software is proposed, comprising a processor, a memory and a computer program stored in the memory, the computer program being executable by the processor to implement a method for automated deployment of terminal software.
According to a final aspect of the present invention, a computer-readable storage medium is provided, which includes a stored computer program, wherein when the computer program runs, a device in which the computer-readable storage medium is located is controlled to execute a method for automated deployment of terminal software.
According to the above scheme, the invention has the following beneficial effects compared with the prior art:
the invention discloses a method, a system, equipment and a medium for automatically deploying terminal software. After the selection is finished, the program calls the command line to execute by using the BAT script according to the instruction, and in the process, the AU3 script can be used for calling the AutoIt3.exe execution script according to the actual requirement. An administrator can automatically deploy a plurality of terminals at the same time, and the efficiency of batch automatic deployment of terminal software is greatly improved. The whole process is automatically completed, the terminal software application program required to be installed by each terminal computer can be installed on the terminal computer, and the respective configuration is automatically changed according to the actual situation, so that the deployment of the terminal software is completed. Therefore, the actual complex deployment behavior can be simplified by combining the script technology and the program, all the replaceable and repetitive work can be completed by replacing the program, the unattended terminal software deployment process is achieved, and the aim that the terminal software deployment can be more efficient, accurate and convenient is finally achieved.
Drawings
Other features, objects and advantages of the invention will become more apparent from a reading of the following detailed description of non-limiting embodiments thereof with reference to the attached drawings in which:
FIG. 1 is a flowchart illustrating an embodiment of a method for automated deployment of terminal software according to the present invention;
fig. 2 is a schematic flowchart of S200 in an embodiment of a method for automatically deploying terminal software according to the present invention;
fig. 3 is a schematic flowchart of S300 in an embodiment of a method for automatically deploying terminal software according to the present invention;
FIG. 4 is a flowchart illustrating a method for automated deployment of terminal software according to another embodiment of the present invention;
fig. 5 is a schematic flow chart of S500 of another embodiment of the method for automatically deploying terminal software according to the present invention;
FIG. 6 is a schematic diagram of a software deployment framework of S500 according to another embodiment of the method for automatically deploying terminal software;
FIG. 7 is a schematic diagram of an embodiment of an automated deployment system of terminal software according to the present invention;
FIG. 8 is a system interface diagram of an embodiment of an automated deployment system for terminal software according to the present invention;
FIG. 9 is a schematic diagram of another embodiment of the automated deployment system of terminal software according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
Examples
The invention provides a method, a system, equipment and a medium for automatically deploying terminal software, which are used for solving or at least partially solving the defect that the terminal software running complicatedly is difficult to automatically deploy in the prior art.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating an embodiment of an automated deployment method of terminal software according to the present invention. It should be noted that the method of the present invention is not limited to the flow sequence shown in fig. 1 if the results are substantially the same. As shown in fig. 1, the method comprises the steps of:
s100, if the software installation package has a silent installation and deployment mode, calling the silent installation parameters of the installation package to complete automatic software deployment, otherwise, entering S200;
s200, if the software installation package has the recording installation step, writing a BAT script and performing software automatic deployment through the BAT script, otherwise, entering S300;
s300, compiling an AutoIt3 script, and simulating mouse and keyboard operation by using the AutoIt3 script to complete automatic deployment;
s400, after the script writing is completed, the software installation package, the installation script and the configuration file are stored in a centralized mode, and the software installation package path, the script and the installation sequence are configured in the configuration file.
Further, the automatic installation and deployment comprise a database, a plug-in or a development tool and the like referenced by the terminal software application program.
Further, based on the content of the foregoing embodiments, before the software automation deployment, the method further includes: the load of the terminal computer is obtained.
Specifically, the load of the target computer can be monitored in real time before the software is automatically deployed, and the running state of the terminal computer is monitored in real time in the deployment process of the terminal software application program, so that a user can maintain the terminal computer in time, the workload of operation and maintenance personnel can be greatly reduced, and the working efficiency is improved.
Further, the load may include CPU utilization, memory occupancy, and the like.
Further, if the load of the terminal computer is judged and known to reach the preset threshold value, alarm information is sent out.
Further, after the load of the terminal computer is obtained, whether the load of the terminal computer reaches a preset threshold value is judged.
Further, the alarm information can be realized by calling a mail service to send a mail, calling a certain software with a message sending function to send a message, and the like.
It should be noted that, by monitoring and alarming the load of the terminal computer, the embodiment of the present invention can maintain the terminal computer more timely, thereby greatly reducing the workload of operation and maintenance personnel and improving the working efficiency.
Further, if the load of the terminal computer is judged and known to reach a preset threshold value in the automatic deployment process, alarm information is sent out.
Further, the configuration file may carry a target application program to be deployed, an acquisition path of an installation package of each terminal software application program, configuration information of each terminal software application program, and information of an operating environment required by each terminal software application program.
Further, before the software automatic deployment, detecting whether the terminal computer meets the terminal environment required by the software; if not, acquiring the installation package of the operating environment, and installing the operating environment on the terminal computer according to the installation package of the operating environment. And if so, acquiring a software installation package, an installation script and a configuration file, installing the terminal software application program on the terminal computer according to the installation package of the terminal software application program, and configuring the installed terminal software application program according to the configuration information of the terminal software application program.
Further, the software running environment refers to a software environment on which the terminal application runs. If the running environment of the terminal application is not installed, the terminal application cannot be started and run normally.
It should be noted that after the deployment of the terminal software application is completed, the terminal software application can be directly started, and a situation that the terminal software application cannot be normally started due to an unsatisfactory operating environment does not occur.
It should be noted that the automatic deployment method of the terminal software provided by the invention has great advantages when frequent deployment is needed and deployment on a plurality of terminal computers is needed at one time.
It should be noted that, in the embodiment of the present invention, when the operating environment of the terminal computer, in which the target application is not installed, is known through detection, the operating environment of the terminal software application is installed on the terminal computer, and the terminal software application is deployed on the terminal computer, so that the automatic deployment of the application with a complex operating environment can be implemented.
It should be noted that the automatic deployment method of the application program provided in the embodiment of the present invention is particularly suitable for deploying each development version of the terminal software application program in a development phase of the terminal software application program. For different versions, only the configuration file may be modified. The storage path of the configuration file may be specified in advance.
Furthermore, the acquisition path of the installation package of the terminal software application program in the configuration file, the configuration information of the terminal software application program and the information of the required operating environment can be modified according to actual needs.
Furthermore, after the configuration file is modified, the new version of the terminal software application program can be deployed according to the modified configuration file.
Further, based on the content of the foregoing embodiments, after acquiring the installation package and the configuration information of the terminal software application, the method further includes: and acquiring a terminal software deployment log.
Further, after the software installation package, the installation script and the configuration file are obtained, the deployment log of the software can be obtained in real time.
Further, the deployment log of the software records a log generated during the deployment process of deploying the target program on the terminal computer.
Further, after the deployment log is obtained, the deployment log may be output and sent to the user terminal.
Furthermore, the user can check the deployment log through the user terminal to know which step the automatic deployment is executed to, and can also know the failure reason in time when the deployment fails.
Further, the deployment log may include at least one of a run log, a log of a login of the target computer, and an operation log.
Furthermore, the deployment log records the whole deployment process, and any problem occurring in any link can be reflected by the deployment log.
Furthermore, the deployment log can also record the content of each update of the target application program.
Furthermore, the deployment log can be analyzed by the user terminal to obtain the reason of the deployment failure, or the deployment device can analyze the deployment log to obtain the reason of the deployment failure, and the analysis result carrying the reason of the deployment failure is also sent to the user terminal.
Furthermore, the software installation package, the installation script and the configuration file can be stored in a memory (a U disk, a mobile hard disk and a memory card) in a centralized manner, and then the memory is connected to the terminal computer. By calling up the memory.
Further, acquiring a software installation package, an installation script and a configuration file for centralized storage, installing the terminal software application program on the terminal computer according to the software installation package, and configuring the installed terminal software application program according to configuration information.
Further, by executing the steps, the terminal software application program required to be installed by each terminal software computer can be installed on the terminal computer, the respective configuration is changed, and the deployment of the terminal software application program is completed, so that the actual complex deployment behavior can be simplified by combining the script technology and the program, all the replaceable and repetitive work can be replaced and completed by the program, and the deployment can be performed more efficiently and accurately.
The advantage of the arrangement is that when terminal software is automatically deployed, an administrator can open the software, and single software installation or multiple software batch installation can be selected according to specific requirements. After the selection is finished, the program calls a command line to execute by using the BAT script according to the instruction, and in the process, the AU3 script can be used for calling the AutoIt3.exe execution script according to actual requirements. An administrator can automatically deploy a plurality of terminals at the same time, and the efficiency of batch automatic deployment of terminal software is greatly improved. The whole process is automatically completed, the terminal software application program required to be installed by each terminal computer can be installed on the terminal computer, and the respective configuration is automatically changed according to the actual situation, so that the deployment of the terminal software is completed. Therefore, the actual complex deployment behavior can be simplified by combining the script technology and the program, all the replaceable and repetitive work can be completed by replacing the program, the unattended terminal software deployment process is achieved, and the aim that the terminal software deployment can be more efficient, accurate and convenient is finally achieved.
Referring to fig. 2, fig. 2 is a schematic flowchart of S200 in an embodiment of an automated deployment method of terminal software according to the present invention. It should be noted that the method of the present invention is not limited to the flow sequence shown in fig. 2 if the results are substantially the same. As shown in fig. 2, the method comprises the steps of:
s210, calling a software installation package in a template environment to record installation steps, and forming a default installation parameter file;
s220, compiling a BAT script, operating a software installation package to call the default installation parameter file, and enabling the default installation parameter file to complete default initialization installation according to a template environment;
s230, continuously compiling the BAT script to complete software patch coverage and software permission operation;
and S240, calling the written BAT script to complete the automatic deployment of the software in the subsequent window environment needing to be deployed.
Referring to fig. 3, fig. 3 is a schematic flowchart of S300 in an embodiment of a method for automatically deploying terminal software according to the present invention. It should be noted that the method of the present invention is not limited to the flow sequence shown in fig. 3 if the results are substantially the same. As shown in fig. 3, the method comprises the steps of:
the S300 specifically includes the following steps:
s310, operating a software installation package in a template environment to capture mouse and keyboard operation characteristics of the software installation package, and compiling an AutoIt3 script by using the characteristics;
s320, operating the software installation package, and capturing the operation handle of the software installation package by using the AutoIt3 script;
s330, according to the operation handle, waiting for the initialization of the software installation step to be completed, and capturing the mouse and keyboard operation characteristics in the step according to the template environment to replay the keyboard or mouse operation;
s340, detecting that the software is installed completely, quitting the program, and completing the authoring of the AutoIt3 script;
and S350, calling the written AutoIt3 script to complete software automatic deployment in a subsequent window environment needing deployment.
Referring to fig. 4, fig. 4 is a schematic flowchart illustrating an automated deployment method of terminal software according to another embodiment of the present invention. It should be noted that the method of the present invention is not limited to the flow sequence shown in fig. 4 if the results are substantially the same. As shown in fig. 4, the method includes the steps of:
s100, if the software installation package has a silent installation and deployment mode, calling the silent installation parameters of the software installation package to finish automatic software deployment, otherwise, entering S200;
s200, if the software installation package has the recording installation step, writing a BAT script and performing software automatic deployment through the BAT script, otherwise, entering S300;
s300, compiling an AutoIt3 script, and simulating mouse and keyboard operation by using the AutoIt3 script to complete automatic deployment;
s400, after the script writing is completed, the software installation package, the installation script and the configuration file are stored in a centralized mode, and the software installation package path, the script and the installation sequence are configured in the configuration file.
S500, software automatic deployment is carried out based on the authority and the script;
referring to fig. 5 and fig. 6, fig. 5 is a schematic flow chart of S500 according to another embodiment of the method for automatically deploying terminal software according to the present invention; fig. 6 is a schematic diagram of an S500 software deployment framework according to another embodiment of the automated deployment method of terminal software. It should be noted that the method of the present invention is not limited to the flow sequence shown in fig. 5 if the results are substantially the same. As shown in fig. 5, the method includes the steps of:
the step S500 is specifically:
s510, single software; the program calls configuration data for configuring terminal software deployment, the bat script is used for calling a command line to execute according to a configuration file, and the AU3 script calls an AutoIt3.exe execution script to automatically complete the automatic deployment of the terminal software;
s520, a plurality of pieces of software; automatically identifying a batch installation script interpreter according to the script; configuring configuration data of terminal software deployment in a configuration file; setting a terminal software deployment script; when terminal software is automatically deployed, according to a configuration file, a bat script is used for calling a command line to execute, and an AU3 script is used for calling an AutoIt3.exe execution script; multiple terminals can be automatically deployed at the same time;
and S530, finishing the installation, and automatically quitting the program to finish the deployment of the terminal software.
Further, it can be found that, when terminal software is automatically deployed, a single software installation or a plurality of software batch installations can be selected according to specific requirements. After the selection is finished, the program calls a command line to execute by using the BAT script according to the instruction, and in the process, the AU3 script can be used for calling the AutoIt3.exe execution script according to actual requirements. An administrator can automatically deploy a plurality of terminals at the same time, and the efficiency of batch automatic deployment of terminal software is greatly improved. The whole process is automatically completed, the terminal software application program required to be installed by each terminal computer can be installed on the terminal computer, and the respective configuration is automatically changed according to the actual situation, so that the deployment of the terminal software is completed. Therefore, the actual complex deployment behavior can be simplified by combining the script technology and the program, all replaceable and repetitive work can be completed by replacing the program, the unattended terminal software deployment process is achieved, and the aim that the terminal software deployment can be more efficient, accurate and convenient is finally achieved.
Referring to fig. 7 and 8, fig. 7 is a schematic diagram of an embodiment of an automated deployment system of terminal software according to the present invention; FIG. 8 is a system interface diagram of an embodiment of an automated deployment system for terminal software according to the present invention; the system comprises:
the silence installation module: a software installation package for automated deployment of quiescable installations;
BAT script module: the software installation package with recording installation steps is automatically deployed through the BAT script;
AutoIt3 script module: the software automation deployment is completed by simulating mouse and keyboard operations through an AutoIt3 script;
a storage configuration module: the method is used for storing the software installation package, the installation script and the configuration file in a centralized manner, and configuring the path, the script and the installation sequence of the software installation package in the configuration file.
The advantage of the arrangement is that when terminal software is automatically deployed, an administrator can open the software, and single software installation or multiple software batch installation can be selected according to specific requirements. After the selection is finished, the program calls the command line to execute by using the BAT script according to the instruction, and in the process, the AU3 script can be used for calling the AutoIt3.exe execution script according to the actual requirement. An administrator can automatically deploy a plurality of terminals at the same time, and the efficiency of batch automatic deployment of terminal software is greatly improved. The whole process is automatically completed, the terminal software application program required to be installed by each terminal computer can be installed on the terminal computer, and the respective configuration is automatically changed according to the actual situation, so that the deployment of the terminal software is completed. Therefore, the actual complex deployment behavior can be simplified by combining the script technology and the program, all the replaceable and repetitive work can be completed by replacing the program, the unattended terminal software deployment process is achieved, and the aim that the terminal software deployment can be more efficient, accurate and convenient is finally achieved.
Further, the BAT script module may be specifically configured to:
calling a software installation package in a template environment to record installation steps and form a default installation parameter file; writing a BAT script, operating a software installation package to call the default installation parameter file, and enabling the default installation parameter file to complete default initialization installation according to a template environment; continuously compiling BAT scripts to complete software patch coverage and software permission operation; and calling the written BAT script to complete the automatic deployment of the software in the subsequent window environment needing to be deployed.
Further, the AutoIt3 script module may be specifically configured to:
operating a software installation package in a template environment to capture the mouse and keyboard operation characteristics of the software installation package, and compiling an AutoIt3 script by using the characteristics; operating the software installation package, and capturing the operation handle of the software installation package by using the AutoIt3 script; according to the operation handle, waiting for the initialization of the software installation step to be completed, and capturing the mouse and keyboard operation characteristics in the step according to the template environment to replay the keyboard or mouse operation; detecting that the software is installed completely, quitting the program, and completing the authoring of the AutoIt3 script; and calling the AutoIt3 script written above to complete the automatic deployment of the software when the window environment needs to be deployed subsequently.
Further, please refer to fig. 9, fig. 9 is a schematic diagram of another embodiment of the system for automatically deploying terminal software according to the present invention; the system also comprises an automatic deployment module used for carrying out software automatic deployment based on the authority and the script; the method can be specifically used for:
a single piece of software; the program calls configuration data for configuring terminal software deployment, the bat script is used for calling a command line to execute according to a configuration file, and the AU3 script calls an AutoIt3.exe execution script to automatically complete the automatic deployment of the terminal software; a plurality of software; automatically identifying a batch installation script interpreter according to the script; configuring configuration data of terminal software deployment in a configuration file; setting a terminal software deployment script; when terminal software is automatically deployed, according to a configuration file, a bat script is used for calling a command line to execute, and an AU3 script is used for calling an AutoIt3.exe execution script; multiple terminals can be automatically deployed at the same time; and after the installation is finished, the program automatically exits to complete the deployment of the terminal software.
The invention also provides an automatic deployment device of terminal software, which comprises a processor, a memory and a computer program stored in the memory, wherein the computer program can be executed by the processor to realize an automatic deployment method of the terminal software.
Where the memory and processor are connected by a bus, the bus may comprise any number of interconnected buses and bridges, the buses connecting together one or more of the various circuits of the processor and the memory. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor is transmitted over the wireless medium via the antenna, which further receives the data and transmits the data to the processor 51.
The processor is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And the memory 52 may be used to store data used by the processor in performing operations.
The invention further provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program runs, the apparatus where the computer-readable storage medium is located is controlled to execute an automated deployment method of terminal software.
In the several embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. Illustratively, the computer program may be divided into one or more units, which are stored in the memory and executed by the processor to accomplish the present invention. The one or more units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program in an automated deployment facility of terminal software.
The automatic deployment device of the terminal software can include but is not limited to a processor and a memory. It will be understood by those skilled in the art that the schematic diagram is merely an example of an automated deployment device for terminal software, and does not constitute a limitation of an automated deployment device for terminal software, and may include more or fewer components than those shown, or some components in combination, or different components, for example, the automated deployment device for terminal software may further include input and output devices, network access devices, buses, etc.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc., and the control center of the automated deployment apparatus of one kind of terminal software connects the various parts of the automated deployment apparatus of the whole one kind of terminal software by using various interfaces and lines.
The memory can be used for storing the computer program and/or the module, and the processor can realize various functions of the automatic deployment device of the terminal software by running or executing the computer program and/or the module stored in the memory and calling the data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
The unit integrated with the automatic deployment device of the terminal software can be stored in a computer readable storage medium if the unit is implemented in the form of a software functional unit and sold or used as an independent product. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc.
The computer-readable medium may include: any entity or device capable of carrying said computer program code, a recording medium, a usb-drive, a removable hard drive, a magnetic diskette, an optical disk, a computer Memory, a Read-Only Memory (ROM), a Random Access Memory (RAM), an electrical carrier wave signal, a telecommunications signal, a software distribution medium, etc. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that the above-described system embodiments are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement without inventive effort.
The embodiments in the above embodiments can be further combined or replaced, and the embodiments are only used for describing the preferred embodiments of the present invention, and do not limit the concept and scope of the present invention, and various changes and modifications made to the technical solution of the present invention by those skilled in the art without departing from the design idea of the present invention belong to the protection scope of the present invention.

Claims (10)

1. An automated deployment method of terminal software, the method comprising:
s100, if the software installation package has a silent installation and deployment mode, calling the silent installation parameters of the installation package to complete automatic software deployment, otherwise, entering S200;
s200, if the software installation package has the recording installation step, writing a BAT script and performing software automatic deployment through the BAT script, otherwise, entering S300;
s300, compiling an AutoIt3 script, and simulating mouse and keyboard operation by using the AutoIt3 script to complete automatic deployment;
s400, after the script compiling is completed, the software installation package, the installation script and the configuration file are stored in a centralized mode, and the software installation package path, the script and the installation sequence are configured in the configuration file.
2. The automated deployment method of terminal software according to claim 1,
the S200 specifically includes the following steps:
s210, calling a software installation package in a template environment to record installation steps, and forming a default installation parameter file;
s220, compiling a BAT script, operating a software installation package to call the default installation parameter file, and enabling the default installation parameter file to complete default initialization installation according to a template environment;
s230, continuously compiling the BAT script to complete software patch coverage and software permission operation;
and S240, calling the written BAT script to complete software automatic deployment in a subsequent window environment needing to be deployed.
3. The automated deployment method of terminal software according to claim 1,
the S300 specifically includes the following steps:
s310, operating a software installation package in a template environment to capture mouse and keyboard operation characteristics of the software installation package, and compiling an AutoIt3 script by using the characteristics;
s320, operating the software installation package, and capturing the operation handle of the software installation package by using the AutoIt3 script;
s330, according to the operation handle, waiting for the initialization of the software installation step to be completed, and capturing the mouse and keyboard operation characteristics in the step according to the template environment to replay the keyboard or mouse operation;
s340, detecting that the software is installed completely, quitting the program, and completing the authoring of the AutoIt3 script;
and S350, calling the written AutoIt3 script to complete software automatic deployment in a subsequent window environment needing deployment.
4. The automated deployment method of terminal software according to claim 1,
s500, performing software automatic deployment based on the authority and the script;
the step S500 is specifically:
s510, single software; the program calls configuration data for configuring terminal software deployment, the bat script is used for calling a command line to execute according to a configuration file, and the AU3 script calls an AutoIt3.exe execution script to automatically complete the automatic deployment of the terminal software;
s520, a plurality of pieces of software; automatically identifying a batch installation script interpreter according to the script; configuring configuration data of terminal software deployment in a configuration file; setting a terminal software deployment script; when terminal software is automatically deployed, according to a configuration file, a bat script is used for calling a command line to execute, and an AU3 script is used for calling an AutoIt3.exe execution script; multiple terminals can be automatically deployed at the same time;
and S530, finishing the installation, and automatically quitting the program to finish the deployment of the terminal software.
5. An automated deployment system for terminal software, the system comprising:
the silence installation module: a software installation package for automated deployment of quiescable installations;
BAT script module: the software installation package with recording installation steps is automatically deployed through the BAT script;
AutoIt3 script module: the software automation deployment is completed by simulating mouse and keyboard operations through an AutoIt3 script;
a storage configuration module: the method is used for storing the software installation package, the installation script and the configuration file in a centralized manner, and configuring the path, the script and the installation sequence of the software installation package in the configuration file.
6. The system of claim 5, wherein the configuration module is further configured to configure the deployment module,
the BAT script module is specifically operable to:
calling a software installation package in a template environment to perform installation step recording to form a default installation parameter file; writing a BAT script, operating a software installation package to call the default installation parameter file, and enabling the default installation parameter file to complete default initialization installation according to a template environment; continuously compiling BAT scripts to complete software patch coverage and software permission operation; and calling the written BAT script to complete the automatic deployment of the software in the subsequent window environment needing to be deployed.
7. The automated deployment system of terminal software according to claim 5,
the AutoIt3 script module is specifically operable to:
operating a software installation package in a template environment to capture the mouse and keyboard operation characteristics of the software installation package, and compiling an AutoIt3 script by using the characteristics; operating the software installation package, and capturing the operation handle of the software installation package by using the AutoIt3 script; according to the operation handle, waiting for the initialization of the software installation step to be completed, and capturing the mouse and keyboard operation characteristics in the step according to the template environment to replay the keyboard or mouse operation; detecting that the software is installed completely, quitting the program, and completing the authoring of the AutoIt3 script; and calling the AutoIt3 script written above to complete the automatic deployment of the software when the window environment needs to be deployed subsequently.
8. The automated deployment system of terminal software according to claim 5,
the system also comprises an automatic deployment module used for carrying out software automatic deployment based on the authority and the script; the method can be specifically used for:
a single piece of software; the program calls configuration data for configuring terminal software deployment, the bat script is used for calling a command line to execute according to a configuration file, and the AU3 script calls an AutoIt3.exe execution script to automatically complete the automatic deployment of the terminal software; a plurality of software; automatically identifying a batch installation script interpreter according to the script; configuring configuration data of terminal software deployment in a configuration file; setting a terminal software deployment script; when terminal software is automatically deployed, according to a configuration file, a bat script is used for calling a command line to execute, and an AU3 script is used for calling an AutoIt3.exe execution script; multiple terminals can be automatically deployed at the same time; and after the installation is finished, the program automatically exits to complete the deployment of the terminal software.
9. An automatic deployment device of terminal software is characterized in that: comprising a processor, a memory and a computer program stored in the memory, the computer program being executable by the processor to implement a method for automated deployment of terminal software according to any one of claims 1 to 4.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored computer program, wherein when the computer program runs, the computer-readable storage medium is controlled to execute the method for automatically deploying the terminal software according to any one of claims 1 to 4.
CN202210867614.4A 2022-07-22 2022-07-22 Automatic deployment method, system, equipment and medium of terminal software Pending CN115113890A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210867614.4A CN115113890A (en) 2022-07-22 2022-07-22 Automatic deployment method, system, equipment and medium of terminal software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210867614.4A CN115113890A (en) 2022-07-22 2022-07-22 Automatic deployment method, system, equipment and medium of terminal software

Publications (1)

Publication Number Publication Date
CN115113890A true CN115113890A (en) 2022-09-27

Family

ID=83333441

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210867614.4A Pending CN115113890A (en) 2022-07-22 2022-07-22 Automatic deployment method, system, equipment and medium of terminal software

Country Status (1)

Country Link
CN (1) CN115113890A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116225460A (en) * 2023-02-15 2023-06-06 天津赛象科技股份有限公司 Method for simplifying software deployment of operators in industrial personal computers
CN117609010A (en) * 2023-10-26 2024-02-27 广西壮族自治区信息中心 Automatic environment installation and deployment method based on test platform

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116225460A (en) * 2023-02-15 2023-06-06 天津赛象科技股份有限公司 Method for simplifying software deployment of operators in industrial personal computers
CN116225460B (en) * 2023-02-15 2023-10-17 天津赛象科技股份有限公司 Method for simplifying software deployment of operators in industrial personal computers
CN117609010A (en) * 2023-10-26 2024-02-27 广西壮族自治区信息中心 Automatic environment installation and deployment method based on test platform

Similar Documents

Publication Publication Date Title
CN115113890A (en) Automatic deployment method, system, equipment and medium of terminal software
CN112783793B (en) Automatic interface test system and method
CN101453373A (en) Near-end maintenance method, system and equipment for device
CN112596784B (en) Iterative version deployment method and device
CN113254331A (en) Model test method, device, storage medium and program product
CN113672441A (en) Method and device for testing intelligent equipment
CN104123496A (en) Rogue software interception method, device and terminal
CN112231206A (en) Script editing method for application program test, computer readable storage medium and test platform
CN116166525A (en) Method and device for generating test script
CN110990289A (en) Method and device for automatically submitting bug, electronic equipment and storage medium
CN113672502A (en) Program multi-system testing method and corresponding device, equipment and medium
CN117493188A (en) Interface testing method and device, electronic equipment and storage medium
CN111859139A (en) Application program recommendation method and device, computing equipment and medium
CN113934642B (en) Software compatibility testing method based on dynamic and static combination
CN113986263A (en) Code automation test method, device, electronic equipment and storage medium
CN114296754A (en) Chip platform upgrading method and related device
CN114598547A (en) Data analysis method applied to network attack recognition and electronic equipment
CN107577546B (en) Information processing method and device and electronic equipment
CN113535581A (en) Test script generation method, device, equipment and computer readable storage medium
CN112596750A (en) Application testing method and device, electronic equipment and computer readable storage medium
CN111506495A (en) Distributed system testing method and device based on springboot frame
CN114003248B (en) Model management method and device, electronic equipment and storage medium
CN113485945A (en) Method and device for testing mobile phone interface, terminal equipment and storage medium
CN114510428A (en) Software research and test automatic test method and system
CN113986742A (en) Automatic testing method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination