Automatic script generation method and device
An automatic generation and scripting technology, which is applied to program control devices, creating/generating source code, and program loading/starting, etc., can solve the problem of spending a certain time for script testing, prolonging the installation and deployment time of service software, and increasing the complexity of script generation. and other problems to achieve the effect of saving installation and deployment time and reducing complexity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0020] figure 1 A schematic flowchart of a method for automatically generating scripts provided in Embodiment 1 of the present invention is applicable to the case of automatically deploying configuration information when installing service software. This method can be executed by an automatic script generation device, wherein the device can be configured by Software and / or hardware implementation, integrated in a deployment tool for deploying configuration information of service software to be installed.
[0021] Such as figure 1 As shown, a method for automatically generating a script provided in Embodiment 1 of the present invention includes the following operations:
[0022] S101. Obtain the parameter information edited by the user and depended on when installing the service software.
[0023] In this embodiment, the service software can be specifically understood as the software installed when a certain functional application is implemented in the electronic device, and ...
Embodiment 2
[0039] figure 2 It is a schematic flowchart of a script automatic generation method provided by Embodiment 2 of the present invention. The embodiment of the present invention is optimized on the basis of the above embodiment. In this embodiment, the script automatic generation method further includes: if set If there is at least one service software to be installed in the specified service software directory, the installation package of the service software is obtained; if there is an installation replacement file corresponding to the service software in the set configuration installation directory, then in the service software Find the sub-installation file corresponding to the installation replacement file in the software installation package, and replace the sub-installation file with the installation replacement file to form a new installation package; according to the script file of the service component and the installation package , installing and deploying the service...
Embodiment 3
[0062] image 3 It is a schematic flowchart of a preferred embodiment of a script automatic generation method provided by Embodiment 3 of the present invention. On the basis of the above embodiments, this Embodiment 3 provides a preferred embodiment, and its application scenario is a distributed environment Installation and deployment of Hadoop service software and Spark service software during the construction of the big data platform.
[0063] Such as image 3 As shown, the implementation process of this preferred embodiment specifically includes the following operations:
[0064] S301. Obtain the Hadoop installation package and the Spark installation package in the service software directory.
[0065] Exemplarily, firstly, it is determined that there are two service software installation packages, Hadoop and Spark, in the set service software directory, and these two installation packages are obtained.
[0066] S302. Determine whether the first installation replacement f...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



