CN116450165A - Method, system, terminal and storage medium for quickly building environment and deploying program - Google Patents

Method, system, terminal and storage medium for quickly building environment and deploying program Download PDF

Info

Publication number
CN116450165A
CN116450165A CN202310481103.3A CN202310481103A CN116450165A CN 116450165 A CN116450165 A CN 116450165A CN 202310481103 A CN202310481103 A CN 202310481103A CN 116450165 A CN116450165 A CN 116450165A
Authority
CN
China
Prior art keywords
program
program package
target
installation
environment
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.)
Withdrawn
Application number
CN202310481103.3A
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.)
Guangxi Chengap Network Technology Co ltd
Original Assignee
Guangxi Chengap Network Technology 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 Guangxi Chengap Network Technology Co ltd filed Critical Guangxi Chengap Network Technology Co ltd
Priority to CN202310481103.3A priority Critical patent/CN116450165A/en
Publication of CN116450165A publication Critical patent/CN116450165A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention provides a method, a system, a terminal and a storage medium for quickly setting up an environment and deploying a program, which comprise the following steps: analyzing the installation requirement of a user, and determining an installed target server and a target product; pulling a program package list corresponding to the target product from a database, pulling a configuration file in the program package, and prompting a user to fill in configuration information according to actual conditions on an installation page; pulling a target installation software program package from an intranet storage server or a public network through a path set by a database, and sending the target installation software program package to a target server; the program package comprises an installation operation file and an operation environment of the program, after a target server is sent, the program package is deployed through the operation environment which is set to the program package, the program package is decompressed, the program is automatically installed, and configuration information set by a user is written. The invention reduces a great amount of labor cost, and automatically builds the environment and program required by the user by setting the environment building template.

Description

Method, system, terminal and storage medium for quickly building environment and deploying program
Technical Field
The invention belongs to the technical field of program installation, and particularly relates to a method, a system, a terminal and a storage medium for quickly setting up an environment and deploying programs.
Background
In the software development process, different software programs are often required to be installed and run on different servers, which involves problems of software environment and program deployment. The software environment refers to various conditions and resources required by the running of the software, such as an operating system, a programming language, a database, a network and the like; program deployment refers to the process of transferring a software program from a development environment to a runtime environment and enabling it to function properly. The software environment and the program deployment have important influence on the aspects of software performance, stability, safety and the like.
When using the common environment, the current enterprise or individual user needs tedious manual installation, and needs to use different running environments under different conditions, and the switching and the installation are inconvenient. The current common scheme is to use a key to install codes and the like, but the actual operation process is slower, most of environment resource downloading nodes are all located overseas, and downloading is carried out from an overseas server during installation, so that the speed is slower, the efficiency is low, and the operation environment can not be flexibly and rapidly switched. At present, different environment requirements are required in the aspects of developing programs, debugging and running of different programs of different platforms, so that the requirements are met at home and abroad, the invention which is convenient for rapidly switching the environment and rapidly deploying the running environment and is required for installation is particularly important.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a method, a system, a terminal and a storage medium for quickly building an environment and deploying a program, so as to solve the technical problems.
In a first aspect, the present invention provides a method for quickly building an environment and deploying a program, including:
analyzing the installation requirement of a user, and determining an installed target server and a target product;
pulling a program package list corresponding to the target product from a database, pulling a configuration file in the program package, and prompting a user to fill in configuration information according to actual conditions on an installation page;
pulling a target installation software program package from an intranet storage server or a public network through a path set by a database, and sending the target installation software program package to a target server; the method comprises the steps of carrying out a first treatment on the surface of the
The program package comprises an installation operation file and an operation environment of the program, after a target server is sent, the program package is deployed through the operation environment which is set to the program package, the program package is decompressed, the program is automatically installed, and configuration information set by a user is written.
Further, the intranet storage server stores a building template of a preset environment corresponding to each node type.
In a second aspect, the present invention provides a system for quickly building an environment and deploying a program, comprising:
the demand analysis module is used for analyzing the installation demand of the user and determining an installed target server and a target product;
the configuration pulling module is used for pulling a program package list corresponding to the target product from the database, pulling a configuration file in the program package, and prompting a user to fill configuration information according to actual conditions on an installation page;
the program sending module is used for pulling a target installation software program package from an intranet storage server or a public network through a path set by the database and sending the target installation software program package to the target server; the intranet storage server stores preset environments of all nodes;
program installation module for: the program package comprises an installation operation file and an operation environment of the program, after a target server is sent, the program package is deployed through the operation environment which is set to the program package, the program package is decompressed, the program is automatically installed, and configuration information set by a user is written.
In a third aspect, a terminal is provided, including:
a processor, a memory, wherein,
the memory is used for storing a computer program,
the processor is configured to call and run the computer program from the memory, so that the terminal performs the method of the terminal as described above.
In a fourth aspect, there is provided a computer storage medium having instructions stored therein which, when run on a computer, cause the computer to perform the method of the above aspects.
The invention has the beneficial effects that: in the current commercial operation process, for a product provider, a large amount of labor cost is reduced, a user is provided with a faster mode to build the environment and programs required by the user, the cloud difficulty of the common user is reduced, a large amount of unnecessary time cost is reduced for a developer, and the environment and the deployment programs are quickly built.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic flow chart of a method of one embodiment of the invention.
FIG. 2 is a schematic block diagram of a system of one embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the technical solution of the present invention better understood by those skilled in the art, the technical solution of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
As shown in fig. 1, the present invention provides a method for quickly building an environment and deploying a program, the method comprising the following steps:
s110, analyzing the installation requirement of the user, and determining the installed target server and the target product.
This step is implemented by the user selecting or inputting relevant information on the page, for example, the user may select or input information such as the name, version number, function, etc. of the software program that needs to be installed and run by the user, and the location of the installed server.
Pulling a target installation software program package from an intranet storage server or a public network through a path set by a database, and sending the target installation software program package to a target server; the intranet storage server stores preset environments of all nodes;
the program package comprises an installation operation file and an operation environment of the program, after a target server is sent, the program package is deployed through the operation environment which is set to the program package, the program package is decompressed, the program is automatically installed, and configuration information set by a user is written.
S120, pulling a program package list corresponding to the target product from the database, pulling a configuration file in the program package, and prompting a user to fill in configuration information according to actual conditions on an installation page.
The database stores different types of program packages, all installation files are stored in the program packages in a list form, wherein the installation files comprise environment configuration files, and each program package further comprises operation files and operation environments required by the program package and configuration files which may exist. Configuration files refer to files used to set software program operating parameters or options, such as port numbers, operating systems, connected databases, etc.
If the configuration file exists, prompting the page, and enabling the user to fill in the configuration information according to actual conditions. The step is realized by displaying parameters or options in the configuration file on the page and enabling the user to fill in or modify according to the actual situation.
S130: and pulling the target installation software program package from the intranet storage server or the public network through a path set by the database, and sending the target installation software program package to the target server.
The embodiment is realized by downloading the target installation software program package from an intranet storage server or a public network according to the path information stored in the database, and sending the target installation software program package to the target server. The target server refers to a server where a user needs to install and run a software program, and may be a local server or a remote server.
S140: the program package is internally provided with an operation file and an operation environment of the program package, after a target server is sent, the operation file and the operation environment of the program package are deployed through the operation environment which is already set in the program package, the program package is decompressed, then a program is automatically installed, and the configuration file set by a user is written.
The present embodiment is implemented by executing the running files and running environments within the package on the target server. Within the package are an application program and a database program, and corresponding operating files and operating environments. After the target server is sent, the deployment is carried out through the running environment which is set to the program package, and the application program and the database program are automatically installed after the program package is decompressed.
As shown in fig. 2, the embodiment of the present invention further provides a system for quickly building an environment and deploying a program, including:
the demand analysis module is used for analyzing the installation demand of the user and determining an installed target server and a target product;
the configuration pulling module is used for pulling a program package list corresponding to the target product from the database, pulling a configuration file in the program package, and prompting a user to fill configuration information according to actual conditions on an installation page;
the program sending module is used for pulling a target installation software program package from an intranet storage server or a public network through a path set by the database and sending the target installation software program package to the target server; the intranet storage server stores preset environments of all nodes;
program installation module for: the program package comprises an installation operation file and an operation environment of the program, after a target server is sent, the program package is deployed through the operation environment which is set to the program package, the program package is decompressed, the program is automatically installed, and configuration information set by a user is written.
Fig. 3 is a schematic structural diagram of a terminal system 300 according to an embodiment of the present invention, where the terminal system 300 may be used to execute the method for quickly setting up an environment and deploying a program according to the embodiment of the present invention.
The terminal system 300 may include: a processor 310, a memory 320 and a communication unit 330. The components may communicate via one or more buses, and it will be appreciated by those skilled in the art that the configuration of the server as shown in the drawings is not limiting of the invention, as it may be a bus-like structure, a star-like structure, or include more or fewer components than shown, or may be a combination of certain components or a different arrangement of components.
The memory 320 may be used to store instructions for execution by the processor 310, and the memory 320 may be implemented by any type of volatile or non-volatile memory terminal or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk. The execution of the instructions in memory 320, when executed by processor 310, enables terminal 300 to perform some or all of the steps in the method embodiments described below.
The processor 310 is a control center of the storage terminal, connects various parts of the entire electronic terminal using various interfaces and lines, and performs various functions of the electronic terminal and/or processes data by running or executing software programs and/or modules stored in the memory 320, and invoking data stored in the memory. The processor may be comprised of an integrated circuit (Integrated Circuit, simply referred to as an IC), for example, a single packaged IC, or may be comprised of a plurality of packaged ICs connected to the same function or different functions. For example, the processor 310 may include only a central processing unit (Central Processing Unit, simply CPU). In the embodiment of the invention, the CPU can be a single operation core or can comprise multiple operation cores.
And a communication unit 330 for establishing a communication channel so that the storage terminal can communicate with other terminals. Receiving user data sent by other terminals or sending the user data to other terminals.
The present invention also provides a computer storage medium in which a program may be stored, which program may include some or all of the steps in the embodiments provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a random-access memory (randomaccess memory, RAM), or the like.
It will be apparent to those skilled in the art that the techniques of embodiments of the present invention may be implemented in software plus a necessary general purpose hardware platform. Based on such understanding, the technical solution in the embodiments of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium such as a U-disc, a mobile hard disc, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk or an optical disk, etc. various media capable of storing program codes, including several instructions for causing a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, etc.) to execute all or part of the steps of the method described in the embodiments of the present invention.
The same or similar parts between the various embodiments in this specification are referred to each other. In particular, for the terminal embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and reference should be made to the description in the method embodiment for relevant points.
In the several embodiments provided by the present invention, it should be understood that the disclosed systems, and methods may be implemented in other ways. For example, the system embodiments described above are merely illustrative, e.g., the division of the elements is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interface, system or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
Although the present invention has been described in detail by way of preferred embodiments with reference to the accompanying drawings, the present invention is not limited thereto. Various equivalent modifications and substitutions may be made in the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and it is intended that all such modifications and substitutions be within the scope of the present invention/be within the scope of the present invention as defined by the appended claims. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (5)

1. A method for quickly building an environment and deploying a program, comprising:
analyzing the installation requirement of a user, and determining an installed target server and a target product;
pulling a program package list corresponding to the target product from a database, pulling a configuration file in the program package, and prompting a user to fill in configuration information according to actual conditions on an installation page;
pulling a target installation software program package from an intranet storage server or a public network through a path set by a database, and sending the target installation software program package to a target server;
the program package comprises an installation operation file and an operation environment of the program, after a target server is sent, the program package is deployed through the operation environment which is set to the program package, the program package is decompressed, the program is automatically installed, and configuration information set by a user is written.
2. The method of claim 1, wherein the intranet storage server stores a building template of a preset environment corresponding to each node type.
3. A system for quickly building an environment and deploying a program, comprising:
the demand analysis module is used for analyzing the installation demand of the user and determining an installed target server and a target product;
the configuration pulling module is used for pulling a program package list corresponding to the target product from the database, pulling a configuration file in the program package, and prompting a user to fill configuration information according to actual conditions on an installation page;
the program sending module is used for pulling a target installation software program package from an intranet storage server or a public network through a path set by the database and sending the target installation software program package to the target server; the intranet storage server stores preset environments of all nodes;
program installation module for: the program package comprises an installation operation file and an operation environment of the program, after a target server is sent, the program package is deployed through the operation environment which is set to the program package, the program package is decompressed, the program is automatically installed, and configuration information set by a user is written.
4. A terminal, comprising:
a processor;
a memory for storing execution instructions of the processor;
wherein the processor is configured to perform the method of any of claims 1-2.
5. A computer readable storage medium storing a computer program, which when executed by a processor implements the method of any one of claims 1-2.
CN202310481103.3A 2023-04-28 2023-04-28 Method, system, terminal and storage medium for quickly building environment and deploying program Withdrawn CN116450165A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310481103.3A CN116450165A (en) 2023-04-28 2023-04-28 Method, system, terminal and storage medium for quickly building environment and deploying program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310481103.3A CN116450165A (en) 2023-04-28 2023-04-28 Method, system, terminal and storage medium for quickly building environment and deploying program

Publications (1)

Publication Number Publication Date
CN116450165A true CN116450165A (en) 2023-07-18

Family

ID=87130115

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310481103.3A Withdrawn CN116450165A (en) 2023-04-28 2023-04-28 Method, system, terminal and storage medium for quickly building environment and deploying program

Country Status (1)

Country Link
CN (1) CN116450165A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117270896A (en) * 2023-11-15 2023-12-22 中孚安全技术有限公司 Automatic application program identification and installation method, system, device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117270896A (en) * 2023-11-15 2023-12-22 中孚安全技术有限公司 Automatic application program identification and installation method, system, device and storage medium

Similar Documents

Publication Publication Date Title
CN110389900B (en) Distributed database cluster testing method and device and storage medium
CN101571809B (en) Implementation method of plug-in registration and device thereof
CN110597531B (en) Distributed module upgrading method and device and storage medium
CN112333096A (en) Micro-service traffic scheduling method and related components
CN107193609B (en) Function module calling method and device in application and electronic equipment
CN110162344B (en) Isolation current limiting method and device, computer equipment and readable storage medium
CN110673923A (en) XWIKI system configuration method, system and computer equipment
CN106897093A (en) A kind of dispositions method and device of windows operating systems
CN110855746A (en) Middleware management method, electronic device and storage medium
CN116450165A (en) Method, system, terminal and storage medium for quickly building environment and deploying program
CN112860251A (en) Method and system for constructing website front end
CN109388420A (en) Application upgrade test method, device, computer equipment and storage medium
CN112650689A (en) Test method, test device, electronic equipment and storage medium
CN112003730A (en) Method, system, terminal and storage medium for rapid cluster deployment
CN116302328A (en) Intelligent contract data processing method and system
CN111984275A (en) System deployment method, system, terminal and storage medium based on CPU architecture type
CN113419814A (en) Virtual machine creating method, device, equipment and storage medium in cloud platform
CN112559155A (en) Batch job processing method, system, computer device and readable storage medium
CN112416750A (en) Application program boundary testing method and system
CN111654398A (en) Configuration updating method and device, computer equipment and readable storage medium
CN111143193A (en) Big data service testing method, system, terminal and storage medium based on RobotFramework
CN115202830B (en) Root file system preparation method, system, computing device and readable storage medium
CN112565398B (en) GFS data downloading method and device, electronic equipment and storage medium
CN114143187B (en) Intelligent platform interface network address management method, system, terminal and storage medium
CN112003738B (en) Device, method, terminal and storage medium for adapting cloudify framework of virtualization system

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20230718

WW01 Invention patent application withdrawn after publication