[go: up one dir, main page]

CN101656623B - Software installing method, sever and system - Google Patents

Software installing method, sever and system Download PDF

Info

Publication number
CN101656623B
CN101656623B CN2008102100672A CN200810210067A CN101656623B CN 101656623 B CN101656623 B CN 101656623B CN 2008102100672 A CN2008102100672 A CN 2008102100672A CN 200810210067 A CN200810210067 A CN 200810210067A CN 101656623 B CN101656623 B CN 101656623B
Authority
CN
China
Prior art keywords
software
installation
parameter
entity
parameters
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.)
Active
Application number
CN2008102100672A
Other languages
Chinese (zh)
Other versions
CN101656623A (en
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2008102100672A priority Critical patent/CN101656623B/en
Priority to PCT/CN2009/071303 priority patent/WO2010020124A1/en
Publication of CN101656623A publication Critical patent/CN101656623A/en
Application granted granted Critical
Publication of CN101656623B publication Critical patent/CN101656623B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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)
  • Information Transfer Between Computers (AREA)

Abstract

本发明公开一种软件安装的方法、服务器及系统,涉及电信技术领域,为解决软件安装过程中用户需要手动配置众多参数的问题而发明。本发明实施例提出的软件安装的方法,包括:接收用户终端发送的安装参数及目标服务器信息;将所述安装参数发送到所述目标服务器信息对应的目标服务器。本发明实施例提出的软件安装的方法,还包括:接收网络服务器发送的安装参数;获取所述安装参数对应的软件安装实体;根据所述安装参数更新所述软件安装实体中的安装参数;按照更新后的安装参数安装所述软件安装实体中的软件。本发明适用于软件的远程自动安装。

Figure 200810210067

The invention discloses a software installation method, server and system, relates to the technical field of telecommunications, and is invented to solve the problem that users need to manually configure many parameters during the software installation process. The software installation method proposed by the embodiment of the present invention includes: receiving installation parameters and target server information sent by a user terminal; and sending the installation parameters to a target server corresponding to the target server information. The software installation method proposed by the embodiment of the present invention further includes: receiving the installation parameters sent by the network server; obtaining the software installation entity corresponding to the installation parameters; updating the installation parameters in the software installation entity according to the installation parameters; The updated installation parameters install the software in the software installation entity. The invention is suitable for remote automatic installation of software.

Figure 200810210067

Description

软件安装的方法、服务器及系统Software installation method, server and system

技术领域 technical field

本发明涉及电信技术领域,尤其涉及一种软件安装的方法、服务器及系统。The invention relates to the technical field of telecommunications, in particular to a software installation method, server and system.

背景技术 Background technique

电信级的应用软件系统由于功能的升级、扩展,包含越来越多的子部件和模块。往往为了提供一个服务,就需要在服务器上安装众多的软件(例如操作系统、数据库、双机软件、业务软件等)。Carrier-level application software systems include more and more sub-components and modules due to function upgrades and expansions. Often in order to provide a service, it is necessary to install numerous software (such as operating system, database, dual-machine software, business software, etc.) on the server.

现有技术中,在进行软件安装的时候,用户需要登录到安装软件的目标服务器手动修改软件的配置参数。然而,目前大部分软件都有众多的配置参数,不同软件的配置又各不相同,这就导致用户必须全面掌握各个软件的安装细节,安装过程也因繁琐的参数配置变得相当复杂。In the prior art, when installing the software, the user needs to log in to the target server where the software is installed to manually modify the configuration parameters of the software. However, at present, most software has numerous configuration parameters, and the configurations of different software are different, which leads to the user having to fully grasp the installation details of each software, and the installation process becomes quite complicated due to cumbersome parameter configuration.

一些业务软件还支持多场景应用,每个场景的参数定制又存在差异;然而在现有技术中,这些软件即使是针对不同的场景,其安装过程中需要配置的安装参数还都是一样的,不会根据场景不同进行适配,但有的参数在某些应用场景下是冗余的,这需要用户根据不同的应用场景选择不同的参数配置,增加了用户安装软件的复杂度。Some business software also supports multi-scenario applications, and the parameter customization of each scene is different; however, in the existing technology, even if these software are for different scenarios, the installation parameters that need to be configured during the installation process are still the same. It will not be adapted according to different scenarios, but some parameters are redundant in some application scenarios, which requires users to choose different parameter configurations according to different application scenarios, which increases the complexity of user installation software.

针对上述用户安装软件过程中参数配置较复杂的问题,目前存在以下两种对软件安装过程进行优化的方案:In view of the above-mentioned problem of complex parameter configuration in the process of software installation by users, there are currently two solutions to optimize the software installation process:

1、针对不同的环境(比如Windows、Linux等)预先定义对应的安装参数,在软件安装过程中由安装程序自动获取已定义的安装参数。1. Predefine corresponding installation parameters for different environments (such as Windows, Linux, etc.), and the installation program will automatically obtain the defined installation parameters during the software installation process.

2、在图形化的软件安装界面实现人机交互,由安装程序按照预定步骤提示用户配置安装参数。2. Human-computer interaction is realized on the graphical software installation interface, and the installation program prompts the user to configure the installation parameters according to the predetermined steps.

在实现上述改进后的软件安装的过程中,发明人发现现有技术中至少存在如下问题:In the process of implementing the above-mentioned improved software installation, the inventor found that at least the following problems existed in the prior art:

在软件安装过程中,用户随着安装进程一步一步地进行手动的参数配置,软件安装过程的效率较低。During the software installation process, the user manually configures parameters step by step along with the installation process, and the efficiency of the software installation process is low.

发明内容 Contents of the invention

本发明的实施例提供一种软件安装的方法、服务器及系统,来提高软件安装的效率。Embodiments of the present invention provide a software installation method, server and system to improve the efficiency of software installation.

为达到上述目的,本发明的实施例提供一种软件安装的方法,包括以下步骤:In order to achieve the above object, an embodiment of the present invention provides a method for software installation, comprising the following steps:

接收用户终端发送的安装参数及目标服务器信息;Receive installation parameters and target server information sent by the user terminal;

将所述安装参数发送到所述目标服务器信息对应的多个目标服务器。Sending the installation parameters to multiple target servers corresponding to the target server information.

本发明的实施例还提供一种软件安装的方法,包括:Embodiments of the present invention also provide a method for software installation, including:

接收网络服务器发送的安装参数,所述安装参数由用户终端配置并提供给所述网络服务器;receiving installation parameters sent by the network server, the installation parameters being configured by the user terminal and provided to the network server;

从软件仓库服务器中获取所述安装参数对应的软件安装实体;Obtaining the software installation entity corresponding to the installation parameter from the software warehouse server;

根据所述安装参数更新所述软件安装实体中的安装参数;updating the installation parameters in the software installation entity according to the installation parameters;

按照更新后的安装参数安装所述软件安装实体中的软件。The software in the software installation entity is installed according to the updated installation parameters.

为达到上述目的,本发明的实施例提供一种网络服务器,包括:In order to achieve the above object, an embodiment of the present invention provides a network server, including:

参数接收模块,用于接收用户终端发送的安装参数及目标服务器信息;The parameter receiving module is used to receive the installation parameters and target server information sent by the user terminal;

参数发送模块,用于将所述安装参数发送到所述目标服务器信息对应的多个目标服务器。A parameter sending module, configured to send the installation parameters to multiple target servers corresponding to the target server information.

本发明的实施例还提供一种目标服务器,包括:Embodiments of the present invention also provide a target server, including:

接收模块,用于接收网络服务器发送的安装参数,所述安装参数由用户终端配置并提供给所述网络服务器;The receiving module is used to receive the installation parameters sent by the network server, the installation parameters are configured by the user terminal and provided to the network server;

获取模块,用于从软件仓库服务器中获取所述安装参数对应的软件安装实体;An acquisition module, configured to acquire the software installation entity corresponding to the installation parameter from the software warehouse server;

更新模块,用于根据所述安装参数更新所述软件安装实体中的安装参数;an update module, configured to update the installation parameters in the software installation entity according to the installation parameters;

安装模块,用于按照更新后的安装参数安装所述软件安装实体中的软件。The installation module is configured to install the software in the software installation entity according to the updated installation parameters.

为达到上述目的,本发明的实施例提供一种软件安装系统,包括:In order to achieve the above object, an embodiment of the present invention provides a software installation system, including:

网络服务器,用于接收用户终端发送的安装参数及目标服务器信息,并将所述安装参数发送到所述目标服务器信息对应的多个目标服务器;A network server, configured to receive installation parameters and target server information sent by the user terminal, and send the installation parameters to multiple target servers corresponding to the target server information;

目标服务器,用于接收所述网络服务器发送的所述安装参数,并从软件仓库服务器中获取所述安装参数对应的软件安装实体,根据所述安装参数更新所述软件安装实体中的安装参数,然后按照更新后的安装参数安装所述软件安装实体中的软件。The target server is configured to receive the installation parameters sent by the network server, obtain the software installation entity corresponding to the installation parameters from the software warehouse server, and update the installation parameters in the software installation entity according to the installation parameters, Then install the software in the software installation entity according to the updated installation parameters.

本发明实施例提供的软件安装的方法、服务器及系统,在一台用户终端上设置需要安装的软件对应的所有安装参数,然后通过网络服务器将所述安装参数下发给目标服务器,所述目标服务器获取与所述安装参数对应的软件安装实体,根据所述安装参数完成所需要的软件在本地的安装,与现有技术相比,其在网络服务器和目标服务器上分别完成参数设置和软件安装的过程,这样在目标服务器上安装软件时就无需手动配置参数,解决了软件安装过程中用户手动配置众多参数导致安装效率较低的问题。The software installation method, server and system provided by the embodiments of the present invention set all the installation parameters corresponding to the software to be installed on a user terminal, and then send the installation parameters to the target server through the network server, and the target The server obtains the software installation entity corresponding to the installation parameters, and completes the local installation of the required software according to the installation parameters. Compared with the prior art, it completes parameter setting and software installation on the network server and the target server respectively. In this way, there is no need to manually configure parameters when installing the software on the target server, which solves the problem of low installation efficiency caused by users manually configuring many parameters during the software installation process.

附图说明 Description of drawings

图1为本发明实施例中的系统结构示意图;Fig. 1 is a schematic diagram of a system structure in an embodiment of the present invention;

图2为本发明实施例中网络服务器侧的方法流程图;Fig. 2 is the method flow chart of the network server side in the embodiment of the present invention;

图3为本发明实施例中目标服务器侧的方法流程图;FIG. 3 is a flowchart of a method on the target server side in an embodiment of the present invention;

图4为本发明实施例具体实现的方法流程图;FIG. 4 is a flow chart of a method specifically implemented in an embodiment of the present invention;

图5为本发明实施例中网络服务器的结构示意图;5 is a schematic structural diagram of a network server in an embodiment of the present invention;

图6为本发明实施例中目标服务器的结构示意图。FIG. 6 is a schematic structural diagram of a target server in an embodiment of the present invention.

具体实施方式Detailed ways

为了解决软件安装过程中安装效率较低的问题,本发明实施例提供了一种软件安装的系统。下面结合附图对本发明实施例软件安装的系统进行详细描述。In order to solve the problem of low installation efficiency in the software installation process, an embodiment of the present invention provides a software installation system. The software installation system of the embodiment of the present invention will be described in detail below in conjunction with the accompanying drawings.

如图1所示,本发明实施例提供的软件安装的系统,包括:网络服务器11和目标服务器12。As shown in FIG. 1 , the software installation system provided by the embodiment of the present invention includes: a network server 11 and a target server 12 .

网络服务器11,用于接收用户终端发送的安装参数及目标服务器信息,并将所述安装参数发送到所述目标服务器信息对应的目标服务器,这里的目标服务器就是需要安装软件的服务器。The network server 11 is used to receive the installation parameters and target server information sent by the user terminal, and send the installation parameters to the target server corresponding to the target server information, where the target server is the server that needs to install software.

目标服务器12,用于接收所述网络服务器发送的所述安装参数,并获取所述安装参数对应的软件安装实体,根据所述安装参数更新所述软件安装实体中的安装参数,然后按照更新后的安装参数安装所述软件安装实体中的软件。The target server 12 is configured to receive the installation parameter sent by the network server, obtain the software installation entity corresponding to the installation parameter, update the installation parameter in the software installation entity according to the installation parameter, and then follow the updated The installation parameters of the software in the software installation entity are installed.

其中,所述网络服务器11,还用于接收用户终端发送的软件信息,并将所述软件信息对应的参数配置模板中的参数项以参数配置页面的形式发送给用户终端。Wherein, the network server 11 is further configured to receive the software information sent by the user terminal, and send the parameter items in the parameter configuration template corresponding to the software information to the user terminal in the form of a parameter configuration page.

如果所述软件包含新增的扩展功能,则所述参数配置模板中的参数项应该还包括所述扩展功能对应的参数项;而且,所述目标服务器12接收到的安装参数包括所述软件的扩展功能的安装参数,所述目标服务器12还用于获取所述软件的扩展功能的安装参数对应的扩展功能安装实体,并安装所述扩展功能安装实体中的扩展功能。If the software contains newly added extended functions, the parameter items in the parameter configuration template should also include the corresponding parameter items of the extended functions; and the installation parameters received by the target server 12 include the software’s For installation parameters of extended functions, the target server 12 is further configured to obtain an extended function installation entity corresponding to the installation parameters of the extended functions of the software, and install the extended functions in the extended function installation entity.

所述目标服务器12获取到的软件安装实体以及扩展功能安装实体,原来可以是存放在目标服务器上,也可以是存放在专门的软件仓库服务器上,还可以是其它一些具有类似功能的服务器上。在本实施例以及以下的实施例中,均优选地采用软件仓库服务器来存放软件安装实体以及扩展功能安装实体。The software installation entities and extended function installation entities acquired by the target server 12 may be originally stored on the target server, or may be stored on a dedicated software warehouse server, or may be other servers with similar functions. In this embodiment and the following embodiments, preferably, a software warehouse server is used to store software installation entities and extended function installation entities.

本发明实施例提供的软件安装的系统,通过在网络服务器上设置需要安装的软件对应的安装参数并将所述安装参数下发给目标服务器,然后所述目标服务器从软件仓库服务器中获取与所述安装参数对应的软件安装实体,根据所述安装参数完成所需要的软件在本地的安装,与现有技术相比,在所述网络服务器和所述目标服务器上分别完成参数设置和软件安装的过程,这样在目标服务器上安装软件时就无需手动配置参数,解决了软件安装效率较低的问题。In the software installation system provided by the embodiment of the present invention, the installation parameters corresponding to the software to be installed are set on the network server and the installation parameters are sent to the target server, and then the target server obtains the corresponding information from the software warehouse server. The software installation entity corresponding to the above installation parameters completes the local installation of the required software according to the installation parameters. Compared with the prior art, the parameter setting and software installation are respectively completed on the network server and the target server process, so that there is no need to manually configure parameters when installing software on the target server, which solves the problem of low software installation efficiency.

为了解决软件安装过程中安装效率较低的问题,本发明实施例提供了一种软件安装方法。下面结合附图对本发明实施例软件安装的方法进行详细描述。In order to solve the problem of low installation efficiency during the software installation process, an embodiment of the present invention provides a software installation method. The software installation method of the embodiment of the present invention will be described in detail below in conjunction with the accompanying drawings.

如图2所示,本发明实施例提供的软件安装的方法,在网络服务器侧的实施包括以下步骤:As shown in Figure 2, the method for software installation provided by the embodiment of the present invention, the implementation on the network server side includes the following steps:

21、网络服务器接收用户终端发送的安装参数及目标服务器信息。21. The network server receives the installation parameters and target server information sent by the user terminal.

22、所述目标服务器信息对应的目标服务器是用户需要安装软件的服务器,为了让该目标服务器能够正确安装用户指定的软件,该网络服务器将所述安装参数发送到所述目标服务器。22. The target server corresponding to the target server information is the server on which the user needs to install software. In order for the target server to correctly install the software specified by the user, the network server sends the installation parameters to the target server.

本发明的实施例还提供一种软件安装的方法,如图3所示,在目标服务器侧的实施包括以下步骤:Embodiments of the present invention also provide a method for software installation, as shown in Figure 3, the implementation on the target server side includes the following steps:

31、目标服务器接收网络服务器发送的安装参数,该安装参数为本次安装软件中需要配置的参数。31. The target server receives the installation parameters sent by the network server, and the installation parameters are the parameters that need to be configured in this installation software.

32、所有软件安装实体都存放在一个统一的软件仓库服务器中,目标服务器需要从该软件仓库服务器中获取所述安装参数对应的软件安装实体。32. All software installation entities are stored in a unified software warehouse server, and the target server needs to obtain the software installation entities corresponding to the installation parameters from the software warehouse server.

33、由于软件安装过程中要直接调用软件安装实体中的安装参数,因此需要根据所述安装参数更新所述软件安装实体中的安装参数。33. Since the installation parameters in the software installation entity are directly invoked during the software installation process, it is necessary to update the installation parameters in the software installation entity according to the installation parameters.

34、按照更新后的安装参数安装所述软件安装实体中的软件。34. Install the software in the software installation entity according to the updated installation parameters.

本发明实施例提供的软件安装的方法,通过在网络服务器上设置需要安装的软件对应的安装参数并将所述安装参数下发给目标服务器,然后所述目标服务器从软件仓库服务器中获取与所述安装参数对应的软件安装实体,根据所述安装参数完成所需要的软件在本地的安装,与现有技术相比,其在网络服务器和目标服务器上分别完成参数设置和软件安装的过程,这样在目标服务器上安装软件时就无需手动配置参数,解决了软件安装过程中用户需要手动配置众多参数的问题。In the software installation method provided by the embodiment of the present invention, the installation parameters corresponding to the software to be installed are set on the network server and the installation parameters are sent to the target server, and then the target server obtains the corresponding information from the software warehouse server. The software installation entity corresponding to the above installation parameters completes the local installation of the required software according to the installation parameters. Compared with the prior art, it completes the process of parameter setting and software installation on the network server and the target server respectively, so that There is no need to manually configure parameters when installing software on the target server, which solves the problem that users need to manually configure many parameters during software installation.

下面以一具体实施例对本发明实施例中软件安装的方法作进一步描述。The software installation method in the embodiment of the present invention will be further described below with a specific embodiment.

如图4所示,本实施例中软件安装的过程,包括:As shown in Figure 4, the process of software installation in this embodiment includes:

41、在用户终端上通过浏览器登录网络服务器,网络服务器向用户终端下发一个软件选择页面,用户通过软件选择页面选出需要安装到目标服务器的软件。41. The user terminal logs in to the network server through a browser, and the network server sends a software selection page to the user terminal, and the user selects the software to be installed on the target server through the software selection page.

42、网络服务器接收到用户选择的软件的信息后,向用户终端下发一个与该软件对应的参数配置页面。42. After receiving the information of the software selected by the user, the network server sends a parameter configuration page corresponding to the software to the user terminal.

其中,网络服务器收到用户选择的软件的信息后,对参数配置模板进行动态解析,然后动态生成一参数配置页面;即,网络服务器根据用户选择的软件,解析该软件对应的参数配置模板,然后生成该软件对应的参数配置页面。对应于不同的软件或者是否包含扩展功能的同一软件,其对应的参数配置页面包含的参数项都是不同的,不过所有软件对应的参数配置页面都应用同一风格的页面,这样使得用户对不同软件进行参数配置的时候只感知到一种安装流程,从而对用户屏蔽了不同软件之间的安装差异。Wherein, after the network server receives the information of the software selected by the user, it dynamically analyzes the parameter configuration template, and then dynamically generates a parameter configuration page; that is, the network server parses the parameter configuration template corresponding to the software according to the software selected by the user, and then Generate the parameter configuration page corresponding to the software. Corresponding to different software or the same software with or without extended functions, the corresponding parameter configuration pages contain different parameter items, but the parameter configuration pages corresponding to all software apply the same style of page, so that users can easily understand different software. When configuring parameters, only one installation process is perceived, thus shielding users from installation differences between different software.

所述参数配置模板,是软件开发人员根据软件的原始安装参数创建的,它可以是一个congfig.xml文件;如果该软件包含扩展功能,则所述参数配置模板就是同时根据软件的原始安装参数以及新增的扩展功能的安装参数进行创建;所述参数配置模板包含软件的所有安装参数的取值范围、参数默认值、页面展示类型等;如果软件包含多个场景,则在参数配置模板中指明每个场景对应的安装参数列表。The parameter configuration template is created by software developers according to the original installation parameters of the software, and it can be a congfig.xml file; if the software includes extended functions, then the parameter configuration template is based on the original installation parameters of the software and the The installation parameters of the newly added extended functions are created; the parameter configuration template includes the value range of all installation parameters of the software, parameter default values, page display types, etc.; if the software contains multiple scenarios, specify in the parameter configuration template A list of installation parameters corresponding to each scenario.

43、用户在参数配置页面上选择需要安装软件的目标服务器,并且根据参数配置页面上提供的参数项进行安装参数配置。43. The user selects the target server on which the software needs to be installed on the parameter configuration page, and configures the installation parameters according to the parameter items provided on the parameter configuration page.

如果需要安装的软件包含多个场景,则在进行参数配置的时候需要先选择安装的场景,然后配置相应的安装参数;If the software to be installed contains multiple scenarios, you need to select the installed scenario first when performing parameter configuration, and then configure the corresponding installation parameters;

如果所述软件包含新增的扩展功能,则网络服务器在动态分析该软件对应的参数配置模板时,就会根据所述软件的原始安装参数信息以及该软件新增的扩展功能的安装参数信息来动态生成该软件对应的参数配置页面,用户只需要在该参数配置页面上为所述软件配置参数就可以了,这样,对用户而言,新增的扩展功能就像原有软件提供的一样,用户在安装所述软件时感知不到扩展功能的存在。If the software includes newly-added extended functions, when the network server dynamically analyzes the parameter configuration template corresponding to the software, it will base on the original installation parameter information of the software and the installation parameter information of the newly-added extended functions of the software. The parameter configuration page corresponding to the software is dynamically generated, and the user only needs to configure the parameters for the software on the parameter configuration page. In this way, for the user, the newly added extended functions are the same as those provided by the original software. The user cannot perceive the existence of the extended function when installing the software.

44、用户在输入安装参数后,判断输入的参数值是否满足校验规则。44. After the user inputs the installation parameters, it is judged whether the input parameter values meet the verification rules.

如果参数值不满足校验规则,比如输入的参数值超出了安装参数取值范围,参数配置页面就会提示错误,并转到步骤43;如果所输入的参数值满足校验规则,则继续步骤45。If the parameter value does not meet the verification rules, for example, the input parameter value exceeds the value range of the installation parameter, the parameter configuration page will prompt an error, and go to step 43; if the input parameter value meets the verification rule, continue to the step 45.

通过这一步骤,使得在参数定制的同时还能够进行参数的合法性检查,这样可以减少安装出错的概率。Through this step, the legality of the parameters can also be checked while the parameters are customized, which can reduce the probability of installation errors.

45、网络服务器根据用户配置的安装参数自动生成一安装参数文件,并将该安装参数文件发送给目标服务器。45. The network server automatically generates an installation parameter file according to the installation parameter configured by the user, and sends the installation parameter file to the target server.

46、目标服务器接收网络服务器发送的安装参数文件。46. The target server receives the installation parameter file sent by the network server.

47、为了实现软件的统一管理,软件安装实体存放在一个统一的软件仓库服务器,目标服务器可以根据所述安装参数文件中包含的安装参数从软件仓库服务器中获取其对应的软件安装实体。47. In order to realize the unified management of software, the software installation entity is stored in a unified software warehouse server, and the target server can obtain its corresponding software installation entity from the software warehouse server according to the installation parameters contained in the installation parameter file.

其中,所述软件安装实体包含所述软件的原始安装实体、适配脚本以及参数配置模板,如果该软件包含新增的扩展功能,则所述软件安装实体还包含扩展功能对应的安装脚本;软件原始安装实体又包括软件安装脚本和软件参数配置文件。Wherein, the software installation entity includes the original installation entity of the software, an adaptation script and a parameter configuration template, and if the software includes a newly added extension function, the software installation entity also includes an installation script corresponding to the extension function; The original installation entity includes software installation scripts and software parameter configuration files.

48、根据安装参数文件中的安装参数更新软件安装实体中包含的安装参数。48. Update the installation parameters contained in the software installation entity according to the installation parameters in the installation parameter file.

其中,首先执行软件安装实体中包含的适配脚本,将安装参数文件中的安装参数转换成软件安装实体可以识别的安装参数,然后根据转换后得到的安装参数对安装参数进行更新。Among them, first execute the adaptation script included in the software installation entity, convert the installation parameters in the installation parameter file into installation parameters that the software installation entity can recognize, and then update the installation parameters according to the converted installation parameters.

49、按照更新后的安装参数安装所述软件安装实体中的软件。49. Install the software in the software installation entity according to the updated installation parameters.

软件安装实体中的安装参数得到更新后,即可进行软件的安装,也就是执行软件安装实体中的软件安装脚本;After the installation parameters in the software installation entity are updated, the software can be installed, that is, the software installation script in the software installation entity is executed;

如果需要安装所述软件对应的扩展功能,则根据安装参数文件中包含的扩展功能对应的安装参数,在执行所述软件安装脚本的同时,执行该软件扩展功能对应的安装脚本。If the extended function corresponding to the software needs to be installed, according to the installation parameter corresponding to the extended function contained in the installation parameter file, the installation script corresponding to the extended function of the software is executed while executing the software installation script.

本实施例中的软件安装方法,通过在网络服务器上设置需要安装的软件及其扩展功能对应的安装参数,并将所述安装参数下发给目标服务器,然后所述目标服务器从软件仓库服务器中获取与所述安装参数对应的软件安装实体,根据所述安装参数完成所需要的软件及其扩展功能在本地的安装;与现有技术相比,本实施例中的软件安装方法,在网络服务器和目标服务器上分别完成参数设置和软件安装的过程,分离了参数配置和软件安装,这样在目标服务器上安装软件时就无需再手动配置参数,而且用户可以预先一次性定制好多个目标服务器的软件安装参数,然后一次性下发任务后多个目标服务器自动完成所有软件的安装,使得用户不必一一登录到每台目标服务器进行软件安装,实现了目标服务器上软件安装的远程自动安装。In the software installation method in this embodiment, the installation parameters corresponding to the software to be installed and its extended functions are set on the network server, and the installation parameters are sent to the target server, and then the target server downloads the software from the software warehouse server. Obtain the software installation entity corresponding to the installation parameters, and complete the local installation of the required software and its extended functions according to the installation parameters; compared with the prior art, the software installation method in this embodiment, in the network server Complete the process of parameter setting and software installation on the target server and the target server separately, and separate the parameter configuration and software installation, so that there is no need to manually configure the parameters when installing the software on the target server, and users can customize the software of multiple target servers in advance Install parameters, and then send tasks at one time to multiple target servers to automatically complete the installation of all software, so that users do not have to log in to each target server for software installation one by one, realizing remote automatic installation of software installation on the target server.

本实施例中的软件安装方法,对于不同的软件以及软件包含的不同场景,网络服务器都可以对其进行动态解析,动态地生成不同软件、不同场景对应的参数配置页面,然后在网络服务器提供的参数配置页面上设置所有的安装参数,包括所需软件对应的安装参数及其扩展功能对应的安装参数;这样不仅解决了软件参数配置过程中多场景定制的问题,而且用户在进行软件安装的时候,无需再单独执行扩展功能对应的安装程序,实现了以黑盒、自动化的方式对软件进行功能扩展。In the software installation method in this embodiment, for different software and different scenarios contained in the software, the network server can dynamically analyze it, dynamically generate parameter configuration pages corresponding to different software and different scenarios, and then use the web server to provide Set all the installation parameters on the parameter configuration page, including the installation parameters corresponding to the required software and the installation parameters corresponding to the extended functions; this not only solves the problem of multi-scenario customization in the process of software parameter configuration, but also solves the problem when users install the software. , no need to execute the installation program corresponding to the extended function separately, and realize the function extension of the software in a black-box and automatic way.

对应于本发明实施例提供的软件安装的方法,本发明实施例还提供了一种软件安装的服务器。下面结合附图对本发明实施例软件安装的服务器进行详细描述。Corresponding to the software installation method provided by the embodiment of the present invention, the embodiment of the present invention also provides a software installation server. The server on which the software is installed according to the embodiment of the present invention will be described in detail below in conjunction with the accompanying drawings.

如图5所示,本发明实施例提供的软件安装的网络服务器,包括:接收模块51和发送模块52。As shown in FIG. 5 , the software-installed network server provided by the embodiment of the present invention includes: a receiving module 51 and a sending module 52 .

接收模块51接收用户终端发送的安装参数及目标服务器信息;所述目标服务器信息对应的目标服务器就是用户需要安装软件的服务器,为了让该目标服务器能够正确安装用户指定的软件,发送模块52用于将所述安装参数发送到所述目标服务器。The receiving module 51 receives the installation parameters and target server information sent by the user terminal; the target server corresponding to the target server information is the server on which the user needs to install software. In order to allow the target server to correctly install the software specified by the user, the sending module 52 is used to Sending the installation parameters to the target server.

其中,所述接收模块51还用于接收用户终端发送的软件信息,所述软件信息是用户在用户终端上选择需要安装到目标服务器的软件对应的信息;Wherein, the receiving module 51 is also configured to receive software information sent by the user terminal, the software information is information corresponding to the software selected by the user on the user terminal to be installed on the target server;

所述发送模块52还用于将所述软件信息对应的参数配置模板中的参数项发送给用户终端,所述软件信息对应的参数配置模板中的参数项是以参数配置页面的形式展示给用户的。The sending module 52 is also configured to send the parameter items in the parameter configuration template corresponding to the software information to the user terminal, and the parameter items in the parameter configuration template corresponding to the software information are displayed to the user in the form of a parameter configuration page of.

如果所述软件包含新增的扩展功能,则所述参数配置模板中的参数项包括所述扩展功能对应的参数项。If the software includes newly added extended functions, the parameter items in the parameter configuration template include parameter items corresponding to the extended functions.

本发明实施例还提供一种软件安装的目标服务器,如图6所示,包括:接收模块61、获取模块62、更新模块63和安装模块64。The embodiment of the present invention also provides a target server for software installation, as shown in FIG. 6 , including: a receiving module 61 , an acquiring module 62 , an updating module 63 and an installing module 64 .

接收模块61用于接收网络服务器发送的安装参数;在软件仓库服务器中预存了很多软件,本实施例中的获取模块62用于从软件仓库服务器中获取所述安装参数对应的软件安装实体;安装过程中要直接调用软件安装实体中的安装参数,本实施例中的更新模块63用于根据所述安装参数更新所述软件安装实体中的安装参数;安装模块64,用于按照更新后的安装参数安装所述软件安装实体中的软件。The receiving module 61 is used to receive the installation parameters sent by the network server; a lot of software is pre-stored in the software warehouse server, and the acquisition module 62 in this embodiment is used to obtain the software installation entity corresponding to the installation parameters from the software warehouse server; In the process, the installation parameters in the software installation entity will be called directly. The update module 63 in this embodiment is used to update the installation parameters in the software installation entity according to the installation parameters; parameter installs the software in the software installation entity.

如果所述软件包含新增的扩展功能,则所述获取模块62,还用于获取所述软件的扩展功能的安装参数对应的扩展功能安装实体;所述安装模块64,还用于安装所述扩展功能安装实体中的扩展功能。If the software includes a newly added extended function, the obtaining module 62 is also used to obtain the extended function installation entity corresponding to the installation parameter of the extended function of the software; the installation module 64 is also used to install the Extended Features Installs extended features in entities.

本发明实施例提供的软件安装的服务器,通过在网络服务器上设置需要安装的软件对应的安装参数并将所述安装参数下发给目标服务器,然后所述目标服务器从软件仓库服务器中获取与所述安装参数对应的软件安装实体,根据所述安装参数完成所需要的软件在本地的安装,与现有技术相比,在所述网络服务器和所述目标服务器上分别完成参数设置和软件安装的过程,这样在目标服务器上安装软件时就无需手动配置参数,解决了软件安装过程中用户需要手动配置众多参数的问题。The software installation server provided by the embodiment of the present invention sets the installation parameters corresponding to the software to be installed on the network server and sends the installation parameters to the target server, and then the target server obtains the information related to the software warehouse server from the software warehouse server. The software installation entity corresponding to the above installation parameters completes the local installation of the required software according to the installation parameters. Compared with the prior art, the parameter setting and software installation are respectively completed on the network server and the target server process, so that there is no need to manually configure parameters when installing the software on the target server, which solves the problem that users need to manually configure many parameters during the software installation process.

本领域普通技术人员可以理解:实现本发明实施例软件安装方法的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps to realize the software installation method of the embodiment of the present invention can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When performing the steps including the above method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此;本发明提供的软件安装的方法、服务器及系统,适用于但不限于电信技术领域,本发明还适用于其它所有涉及多个子软件安装的集成业务软件安装。本发明任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto; the software installation method, server and system provided by the present invention are suitable for but not limited to the field of telecommunications technology, and the present invention also Applies to all other integrated business software installations involving multiple sub-software installations. Any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention shall fall within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (16)

1. a software installation method is characterized in that, may further comprise the steps:
Receive installation parameter and destination server information that user terminal sends;
Said installation parameter is sent to the corresponding a plurality of destination servers of said destination server information.
2. software installation method according to claim 1 is characterized in that, this method also comprises:
Receive the software information that user terminal sends;
Parameter item in the said software information corresponding parameters configuration template is sent to user terminal;
Said installation parameter is what be configured according to said parameter item.
3. software installation method according to claim 2 is characterized in that said parameter item sends to user terminal with the form of the parameter configuration page.
4. software installation method according to claim 2 is characterized in that, the software that said software information is corresponding comprises at least two scene is installed, at least one parameter item in the corresponding said parameter configuration template of said each installation scene.
5. software installation method according to claim 2 is characterized in that, the software that said software information is corresponding comprises expanded function, and the parameter item in the said parameter configuration template comprises said expanded function corresponding parameters item.
6. a software installation method is characterized in that, comprising:
Receive the installation parameter that the webserver sends, said installation parameter is by the user terminal configuration and offer the said webserver;
From the software storage server, obtain the corresponding software of said installation parameter entity is installed;
Upgrade said software according to said installation parameter the installation parameter in the entity is installed;
According to the installation parameter after upgrading said software is installed the software in the entity is installed.
7. software installation method according to claim 6 is characterized in that said installation parameter comprises the installation parameter of the expanded function of said software, and this method also comprises:
Obtain the corresponding expanded function of installation parameter of the expanded function of said software entity is installed;
Said expanded function is installed the expanded function in the entity is installed.
8. a webserver is characterized in that, comprising:
Receiver module is used to receive installation parameter and the destination server information that user terminal sends;
Sending module is used for said installation parameter is sent to the corresponding a plurality of destination servers of said destination server information.
9. the webserver according to claim 8 is characterized in that:
Said receiver module also is used to receive the software information that user terminal sends;
Said sending module also is used for the parameter item of said software information corresponding parameters configuration template is sent to user terminal.
10. the webserver according to claim 9 is characterized in that, the software that said software information is corresponding comprises expanded function; And the parameter item in the said parameter configuration template comprises said expanded function corresponding parameters item.
11. a destination server is characterized in that, comprising:
Receiver module is used to receive the installation parameter that the webserver sends, and said installation parameter is by the user terminal configuration and offer the said webserver;
Acquisition module is used for obtaining the corresponding software of said installation parameter from the software storage server entity is installed;
Update module is used for upgrading the installation parameter that said software is installed entity according to said installation parameter;
Installed module is used for according to the installation parameter after upgrading the software that said software is installed entity being installed.
12. destination server according to claim 11 is characterized in that, said installation parameter comprises the installation parameter of the expanded function of said software; And
Said acquisition module also is used to obtain the corresponding expanded function of installation parameter of the expanded function of said software entity is installed;
Said installed module also is used for installing the expanded function that said expanded function is installed entity.
13. a software installation system is characterized in that, comprising:
The webserver is used to receive installation parameter and the destination server information that user terminal sends, and said installation parameter is sent to the corresponding a plurality of destination servers of said destination server information;
Destination server; Be used to receive the said installation parameter that the said webserver sends; And from the software storage server, obtain the corresponding software of said installation parameter entity is installed; Upgrade said software according to said installation parameter the installation parameter in the entity is installed, according to the installation parameter after upgrading said software is installed then the software in the entity is installed.
14. software installation system according to claim 13 is characterized in that,
The said webserver also is used to receive the software information that user terminal sends, and the parameter item in the said software corresponding parameters configuration template is sent to user terminal.
15. software installation system according to claim 14 is characterized in that, the software that said software information is corresponding comprises expanded function; And the parameter item in the said parameter configuration template comprises said expanded function corresponding parameters item.
16. software installation system according to claim 13 is characterized in that, said installation parameter comprises the installation parameter of the expanded function of said software; And
Said destination server, the corresponding expanded function of installation parameter that also is used to obtain the expanded function of said software is installed entity, and said expanded function is installed the expanded function in the entity is installed.
CN2008102100672A 2008-08-21 2008-08-21 Software installing method, sever and system Active CN101656623B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2008102100672A CN101656623B (en) 2008-08-21 2008-08-21 Software installing method, sever and system
PCT/CN2009/071303 WO2010020124A1 (en) 2008-08-21 2009-04-16 Method, server and system for software installing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008102100672A CN101656623B (en) 2008-08-21 2008-08-21 Software installing method, sever and system

Publications (2)

Publication Number Publication Date
CN101656623A CN101656623A (en) 2010-02-24
CN101656623B true CN101656623B (en) 2012-01-11

Family

ID=41706841

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008102100672A Active CN101656623B (en) 2008-08-21 2008-08-21 Software installing method, sever and system

Country Status (2)

Country Link
CN (1) CN101656623B (en)
WO (1) WO2010020124A1 (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102611509B (en) * 2011-01-19 2015-04-15 华为技术有限公司 Spectrum sensing method, spectrum sensing apparatus and database
CN102983985B (en) * 2011-09-05 2018-02-09 深圳前海大数金融服务有限公司 client installation method and system
CN103019791B (en) * 2012-12-19 2016-08-10 中国电子科技集团公司第十五研究所 Software dispositions method and software deployment system
CN103677907A (en) * 2013-12-03 2014-03-26 曙光信息产业(北京)有限公司 Installation method and installation device for environmental forecast type application components
CN105094885A (en) * 2015-06-16 2015-11-25 杭州昆海信息技术有限公司 Component installation method and apparatus
CN107135089B (en) * 2016-02-29 2019-11-22 大唐移动通信设备有限公司 The method and apparatus that a kind of pair of operation and maintenance center's system is upgraded
CN106126202A (en) * 2016-06-13 2016-11-16 浪潮(北京)电子信息产业有限公司 The installation method of a kind of server OS, Apparatus and system
CN108399070A (en) * 2017-02-08 2018-08-14 大唐移动通信设备有限公司 A kind of software installation method and device
CN107483572A (en) * 2017-08-08 2017-12-15 北京奇艺世纪科技有限公司 The dispositions method and device of a kind of server
CN107832107A (en) * 2017-11-24 2018-03-23 泰康保险集团股份有限公司 System deployment method, device, electronic device and storage medium
CN108521518A (en) * 2018-04-12 2018-09-11 深圳市沃特沃德股份有限公司 Adjust the method and device of screen intensity
CN111026411B (en) * 2019-11-22 2023-09-08 武汉达梦数据技术有限公司 Remote deployment management method and management machine for software
CN112698845A (en) * 2020-12-29 2021-04-23 歌尔科技有限公司 Software configuration updating method, terminal and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1477500A (en) * 2002-08-19 2004-02-25 万达信息股份有限公司 Software automatic upgrading and updating method under Client/Server frame
CN101009764A (en) * 2006-01-27 2007-08-01 中国科学院声学研究所 A network upgrade method of the TFTP-based IPTV STB software

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6854112B2 (en) * 2001-08-29 2005-02-08 International Business Machines Corporation System and method for the automatic installation and configuration of an operating system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1477500A (en) * 2002-08-19 2004-02-25 万达信息股份有限公司 Software automatic upgrading and updating method under Client/Server frame
CN101009764A (en) * 2006-01-27 2007-08-01 中国科学院声学研究所 A network upgrade method of the TFTP-based IPTV STB software

Also Published As

Publication number Publication date
WO2010020124A1 (en) 2010-02-25
CN101656623A (en) 2010-02-24

Similar Documents

Publication Publication Date Title
CN101656623B (en) Software installing method, sever and system
US10261769B2 (en) Application blueprints based on service templates to deploy applications in different cloud environments
US9075633B2 (en) Configuration of life cycle management for configuration files for an application
CN110543327B (en) Service component multiplexing method, device, computer equipment and storage medium
US9880836B2 (en) System and method for deploying a software program
CN111580926A (en) Model publishing method, model deployment method, apparatus, device and storage medium
CN110018835B (en) YANG model configuration data processing method and device, terminal device and storage medium
US9003433B2 (en) Off-premise and codeless process-centric business mashup to integrate BPEL based processes and web 2.0 widgets
JP2011516987A (en) Method and apparatus for managing mobile device software
US20210250244A1 (en) Internet of things system topology generation
CN108279882B (en) Framework generation method, device, equipment and computer readable medium
US20110258620A1 (en) Method and Apparatus for Making a BPM Application Available to Multiple Tenants
KR20160061306A (en) Method and apparatus for firmware virtualization
US11726443B2 (en) Efficient controller data generation and extraction
CN105487874A (en) Unified management method for HTML5 web application and native application in mobile terminal
CN114185557A (en) Software product deployment method, apparatus, medium and electronic device
CN115525534A (en) Test case generation method and platform based on swagger interface test
JP2007122135A (en) Development support apparatus, development support method, and development support program
US9235437B2 (en) Method and integration component for integrating OSGi environments into a Service-oriented Architecture
US20090083092A1 (en) Method and system for generating a task list in an enterprise system
CN111026466A (en) File processing method and device, computer readable storage medium and electronic equipment
CN110908767A (en) Parameter automatic deployment method and device
CN116301730A (en) A method and device for generating an application program based on a SaaS platform
CN116225394A (en) Method, device, electronic equipment and storage medium for creating cloud development environment
KR101771438B1 (en) Mobile communication terminal and Method for installing application thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant