WO2013189395A2 - 一种软件安装包制作及软件安装方法、设备及系统 - Google Patents

一种软件安装包制作及软件安装方法、设备及系统 Download PDF

Info

Publication number
WO2013189395A2
WO2013189395A2 PCT/CN2013/081920 CN2013081920W WO2013189395A2 WO 2013189395 A2 WO2013189395 A2 WO 2013189395A2 CN 2013081920 W CN2013081920 W CN 2013081920W WO 2013189395 A2 WO2013189395 A2 WO 2013189395A2
Authority
WO
WIPO (PCT)
Prior art keywords
package
installation
software
version number
file
Prior art date
Application number
PCT/CN2013/081920
Other languages
English (en)
French (fr)
Other versions
WO2013189395A3 (zh
Inventor
王景平
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to EP13807749.0A priority Critical patent/EP2876552A4/en
Priority to US14/424,459 priority patent/US20150227354A1/en
Publication of WO2013189395A2 publication Critical patent/WO2013189395A2/zh
Publication of WO2013189395A3 publication Critical patent/WO2013189395A3/zh

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
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Definitions

  • the present invention relates to the field of computers, and in particular, to a software installation package making and software installation method, device and system.
  • the software package when the client software package is installed and updated, the software package is generally copied to the client by the maintenance personnel through the optical disc or other mobile storage device, and the software package is released and installed.
  • the above-mentioned software package is released and installed through the mobile storage device, but the number of some clients is large.
  • Decentralized client application software for example, mobile terminal applications, agent programs in call center applications, and IPTV (Internet Protocol Television) terminal programs, etc., including a large number of clients under the same server, and maintenance personnel
  • the installation path needs to be selected on each client, and different client devices may install the same software package in different paths, which is huge for subsequent maintenance personnel to maintain the software. The amount of work.
  • the software installation method is highly complex to install and cannot be automated.
  • the embodiment of the invention provides a software installation package creation and software installation method, device and system, so as to solve the software installation in the related art by using a mobile storage device such as an optical disk. Install a high complexity issue.
  • the embodiment of the invention provides a method for manufacturing a software installation package, which includes:
  • the method further includes:
  • the engineering version number is recorded in the installation configuration file.
  • the method further includes: when performing a software program update,
  • the embodiment of the invention further provides a software installation method, including:
  • Decompressing the software installation package parsing the software program compression package and the installation configuration file from a tail of the software installation package, and decompressing the software program compression package to obtain a software program file;
  • the method further includes: when the installation version file further records an engineering version number generated according to an acquisition time of the software program compression package, Write the engineering version number of the software installation package to the project version number record file.
  • the method further includes: when the installation configuration file further includes a uniform resource locator (URL) of the patch package,
  • URL uniform resource locator
  • the embodiment of the invention further provides a server, including:
  • a configuration file setting unit configured to: obtain a software program compression package, and record an installation path set by the user in the installation configuration file;
  • An installation package making unit configured to: package the software program compression package of the configuration file setting unit and the installation configuration file into a first compression package, and append the first compression package to a software installation program The tail is compressed and formed into an executable second compression package as the final software installation package.
  • the configuration file setting unit is further configured to:
  • the engineering version number is recorded in the installation configuration file.
  • the server further includes: a patch package creation unit, where the patch package creation unit is configured to:
  • the embodiment of the invention further provides a client, including:
  • An obtaining unit configured to: send a software installation request to the network side device, and receive a software installation package that is fed back by the network side device according to the software installation request, where the software installation package Contains an installation configuration file that records the installation path set by the user;
  • a decompression unit configured to: decompress the software installation package acquired by the obtaining unit, parse the software program compression package and the installation configuration file from a tail of the software installation package, and decompress the software program compression package Obtaining a software program file;
  • the installation unit is configured to: according to the installation configuration file decompressed by the decompression unit, copy the software program file to the installation path, perform registry registration, and complete installation of the software program file.
  • the obtaining unit is further configured to:
  • the installation version file also records the engineering version number generated according to the acquisition time of the software package compression package
  • the engineering version number of the software installation package is written into the engineering version number recording file.
  • the client further includes: an updating unit, where the updating unit is configured to: when the installation configuration file further includes a uniform resource locator (URL) of the patch package, according to the URL, The network side device sends a software update request; and
  • an updating unit configured to: when the installation configuration file further includes a uniform resource locator (URL) of the patch package, according to the URL, The network side device sends a software update request; and
  • URL uniform resource locator
  • the embodiment of the invention further provides a software installation system, including:
  • a server configured to: obtain a software program compression package, and record an installation path set by the user in an installation configuration file; package the software program compression package and the installation configuration file into a first compression package, and A compressed package is appended to the end of the software installer and compressed to form an executable second compressed package as a final software installation package; and a client configured to: send a software installation request to the server, and receive the server a software installation package fed back according to the software installation request; decompressing the software installation package, parsing the software program compression package and the installation configuration file from a tail of the software installation package, and decompressing the software program compression package Obtaining a software program file; and installing the configuration file, copying the software program file to the installation path, performing registry registration, and completing installation of the software program file.
  • the server is further configured to: Generating an engineering version number of the software installation package according to an acquisition time of the software program compression package;
  • the engineering version number is recorded in the installation configuration file.
  • the server is further configured to:
  • the client is further configured to:
  • the installation version file also records the engineering version number generated according to the acquisition time of the software package compression package
  • the engineering version number of the software installation package is written into the engineering version number recording file.
  • the client is further configured to:
  • the installation profile further includes the URL of the patch package, sending a software update request to the server according to the URL;
  • the server and the client connect and interact with Hypertext Transfer Protocol (HTTP) or Secure Hypertext Transfer Protocol (HTTPS).
  • HTTP Hypertext Transfer Protocol
  • HTTPS Secure Hypertext Transfer Protocol
  • the embodiment of the invention further provides a method for manufacturing a software installation package, including:
  • the installation information includes the installation path information and an engineering version number.
  • the method further includes:
  • the method further includes:
  • the embodiment of the invention further provides a software installation method, including:
  • Running the software installation package parsing the software package and the installation information from the end of the software installation package file, where the installation information includes: installation path information and a project version number;
  • the method further includes: when the software installation package includes an engineering version number, writing the engineering version number of the software installation package into a file of the client.
  • the method further includes:
  • the client periodically sends a software update request to the network side device
  • the embodiment of the invention further provides a server, including:
  • a configuration unit configured to: obtain a software package, and save installation path information; and an installation package making unit, configured to: package the software package and installation information acquired by the configuration unit into one data packet, and Appending the data to the end of the software installer to form an executable software installation package;
  • the installation information includes the installation path information and an engineering version number.
  • the configuration unit is further configured to:
  • the server further includes: a patch package creation unit, where the patch package creation unit is configured to:
  • the embodiment of the invention further provides a client, including:
  • An obtaining unit configured to: send a software installation request to the network side device, and receive a software installation package that is fed back by the network side device according to the software installation request, where the software installation package includes installation information set by the user;
  • a parsing unit configured to: run the software installation package, parse the software package and the installation information from a tail of the software installation package file, where the installation information includes: installation path information and a project version number;
  • the installation unit is configured to: copy the files in the software package to the installation path according to the installation path information, and perform registry registration to complete installation of the software.
  • the obtaining unit is further configured to:
  • the client further includes: an updating unit, where the updating unit is configured to: periodically send a software update request to the network side device;
  • the embodiment of the invention further provides a software installation system, including: a server, configured to: uniformly set a software installation path, and save installation path information; package the software package and installation information into a data package, and append the data package to a tail of the software installation program to form an executable Software installation package; wherein the installation information includes the installation path information and a project version number;
  • a client configured to: send a software installation request to the network side device, and receive a software installation package that is sent by the network side device according to the software installation request, where the software installation package includes installation information set by the user; Running the software installation package, parsing the software package and the installation information from the end of the software installation package file; wherein the installation information includes: installation path information and a project version number; according to the installation path information, The files in the software package are copied to the installation path, and the registry is registered to complete the installation of the software.
  • the server is further configured to:
  • the server is further configured to: perform a binary comparison of the file, obtain a difference file list, and package the file in the difference file list to generate a software package of the software installation package corresponding to the new project version number;
  • the client is further configured to:
  • the client is further configured to:
  • the server and the client connect and interact with Hypertext Transfer Protocol (HTTP) or Secure Hypertext Transfer Protocol (HTTPS).
  • HTTP Hypertext Transfer Protocol
  • HTTPS Secure Hypertext Transfer Protocol
  • the software installation package includes installation configuration information, and when the software installation is performed, the installation of the program file according to the installation configuration file enables automatic online installation of the software and reduces software installation. the complexity. BRIEF abstract
  • FIG. 1 is a flowchart of a method for manufacturing a software installation package according to Embodiment 1 of the present invention
  • FIG. 2 is a flowchart of a software installation method according to Embodiment 2 of the present invention
  • FIG. 3 is a schematic structural diagram of a server according to Embodiment 3 of the present invention.
  • FIG. 4 is a schematic structural diagram of a client provided according to Embodiment 4 of the present invention.
  • FIG. 5 is a schematic structural diagram of a software installation system according to Embodiment 5 of the present invention.
  • FIG. 6 is a flowchart of a method for manufacturing a software installation package according to Embodiment 6 of the present invention
  • FIG. 7 is a flowchart of a software installation method according to Embodiment 7 of the present invention.
  • Embodiment 8 is a schematic structural diagram of a server according to Embodiment 8 of the present invention.
  • FIG. 9 is a schematic structural diagram of a client provided according to Embodiment 9 of the present invention.
  • FIG. 10 is a schematic structural diagram of a software installation system according to Embodiment 10 of the present invention.
  • the embodiment of the invention provides a software installation package, a software installation method, a device and a system, and an installation configuration file is set in the software installation package.
  • an installation configuration file is set in the software installation package.
  • a first embodiment of the present invention provides a software installation package manufacturing method. As shown in FIG. 1, the method includes the following steps:
  • Step S101 Obtain a software program compression package and an installation configuration file.
  • Multiple program files are included in the software installation process, so software related programs can be installed. After the file is compressed into a software package and uploaded, the software package is uploaded at one time to reduce resource consumption and reduce maintenance difficulty.
  • the installation configuration file is the attribute information related to the software installation that is set by the user according to the actual situation of the client that installs the software.
  • the software installation can be directly performed according to the installation configuration file, and the manual installation is not required.
  • the user may pre-set the installation path of the software installation package according to the actual situation of the client, and record the installation path set by the user in the installation configuration file.
  • the installation path in the installation configuration file may be directly used. Install the program file to the set installation path to solve the problem that the installation path of the client software in the related technology is not uniform and the maintenance is difficult in the later stage.
  • the user can set according to the actual situation of the client, and the installation path can be flexibly set and changed, and is not immutable and more flexible.
  • Step S102 packaging the software program compression package and the installation configuration file into the first compression package, and appending the first compression package to the end of the software installation program and compressing, forming an executable second compression package, as the final software installation package.
  • the software package After obtaining the software package compressed by the user, it is saved locally, and the software package is packaged with the installation configuration file (setup.ini) set by the user into a new compressed package, that is, the first compressed package ( Setup.zip ) , and finally append the first zip file ( setup.zip ) and length to the end of the software installer to form a new executable program file (setup.exe), ie the final software installation package.
  • the installation configuration file set by the user into a new compressed package, that is, the first compressed package ( Setup.zip )
  • append the first zip file ( setup.zip ) and length to the end of the software installer to form a new executable program file (setup.exe), ie the final software installation package.
  • the installation path set by the user is recorded in the installation configuration file
  • the installation of the program file according to the installation configuration file enables automatic online installation of the software, which reduces the software installation complexity.
  • the engineering version number of the software installation package may be generated according to the acquisition time of the software package compression package, that is, in the embodiment of the present invention.
  • the engineering version number of the software installation package of the format YYYYMMDDHHMMSS can be generated according to the current time, hour, minute, second, and second.
  • the version number or the program file needs to be manually defined. Get version The difficulty of development of the number also reduces the difficulty of software maintenance in the later stage.
  • all the files of the compressed package of the software installation package may be compared in a binary manner to obtain a difference file list, and the files in the difference file list are packaged, and the current file is obtained.
  • the patch package of the software installation package corresponding to the project version number.
  • the current project version number can be compared with the version patch of the earlier version.
  • the present invention by comparing all the files in the current version of the software package with all the files in the original package, not only the automatic generation of the service package can be realized, manual definition and maintenance are avoided, and related technologies are avoided.
  • the current version information is identified by the client's program file name or the program internal ID (Identity, ID)
  • the program file name is modified or the program file number is more than the version number identification, resulting in inconvenient maintenance and file replacement. Defects.
  • the URL Uniform Resource Locator
  • the URL of the generated software package of the software installation package may be recorded in the installation configuration file.
  • the user may directly The URL of the saved patch package is used to initiate an update and upgrade request to automate the upgrade.
  • the second embodiment of the present invention provides a software installation method for applying the software installation package in the first embodiment to implement online automatic installation of the software program of the client.
  • the software installation package generated in the first embodiment can be saved on the network side device.
  • the user can obtain the software installation method directly from the network side device, and the software installation method provided in the second embodiment of the present invention is as shown in FIG. 2, and the method includes the following steps:
  • Step S201 Send a software installation request to the network side device.
  • the user can input the URL address of the network side device storing the software installation package on the client, and initiate an installation request to the network side device.
  • Step S202 Receive a software installation package fed back by the network side device.
  • the software installation package saved by the network side device includes an installation configuration file that records the installation path set by the user.
  • the network side device receives the installation request sent by the client, it checks whether the activated software installation package meets the installation request sent by the client. If it exists, the software installation package that meets the installation request is fed back to the client.
  • the network side device can feed back to the client a URL of the network server storing the software installation package according to the load condition of each network server, and the client downloads the software according to the URL fed back by the network side device. After the client downloads the software installation package, the process proceeds to step S203.
  • Step S203 Decompress the software installation package fed back by the network side device to obtain a software program file.
  • the software program compression package and the installation configuration file are parsed from the end of the software installation package, and then the software program compression package is decompressed, and the software program file is obtained, and the software program is obtained.
  • step S204 may be performed to install the software program file.
  • Steps S204, 4 Install the software program file according to the installation configuration file.
  • the installation version file also records the engineering version number of the software installation package
  • when installing the software program file first parsing the engineering version number and installation path of the software installation package in the installation configuration file; then installing the software
  • the project version number of the package is written into the project version number record file, the software program file is copied to the installation path, the registry is registered, and the software program file is installed.
  • the network side device stores the service package of the software installation package
  • the automatic update and upgrade of the software may be implemented on the client.
  • the software is automatically installed, the URL of the software package installation package is recorded in the installation configuration file. Therefore, when a software update is required, the client can directly access the network according to the URL of the service package included in the installation configuration file.
  • the side device initiates an update request and updates and upgrades the software program file.
  • the client can periodically send an update request to the network side device.
  • the client can carry the engineering version number of the current software installation package of the client, so as to obtain the service package after the automatic update and upgrade.
  • the network side device When the network side device receives the update request sent by the client, it checks whether there is a patch package corresponding to the project version number according to the engineering version number carried by the network device. When there is a patch package corresponding to the project version number, the current The patch package of the software installation package corresponding to the project version number is fed back to the client, and the client updates the software program file according to the obtained patch package.
  • the above software installation method provided by the embodiment of the invention not only realizes the automatic installation of the software, but also solves the problem that the target path is not uniform when a large number of client software is installed, and realizes the free porting and automatic installation of the client software. And the automatic update and upgrade of the client software is realized, which improves the efficiency of unified release, installation and upgrade of the client software.
  • the third embodiment of the present invention further provides a server, and the server is configured as shown in FIG. 3.
  • the server provided by the embodiment of the present invention includes:
  • a profile setting unit 31 configured to: obtain a software package compression package, and record an installation path set by the user in the installation configuration file;
  • the installation package creation unit 32 is configured to: package the software program compression package and the installation configuration file of the configuration file setting unit 31 into a first compression package, and add the first compression package to the tail of the software installation program and compress it to form The second compressed package is executed as the final software installation package.
  • the profile setting unit 31 is further configured to:
  • the engineering version number of the software installation package is generated according to the acquisition time of the software program compression package; and the engineering version number is recorded in the installation configuration file.
  • the server provided by the embodiment of the present invention further includes a patch package creating unit 33,
  • the patch package creation unit 33 is configured to: when performing the software program update, compare all the files of the software installation package corresponding to the current project version number with all the files of the original software program compression package, and obtain a difference file list, and the difference file
  • the files in the list are packaged to generate a patch package of the software installation package corresponding to the current project version number; and the URL of the patch package is recorded in the installation configuration file.
  • an installation configuration file including information such as an installation path, a project version number, and a URL of the patch package is set in the software installation package, and when the software is installed, according to Installation of configuration files for the installation of program files enables automated online installation of software.
  • a fourth embodiment of the present invention provides a client.
  • the client is configured as shown in FIG. 4, and the client includes:
  • the obtaining unit 41 is configured to: send a software installation request to the network side device, and receive a software installation package that is fed back by the network side device according to the installation request, where the software installation package includes an installation configuration file that records an installation path set by the user;
  • the decompression unit 42 is configured to: decompress the software installation package acquired by the acquisition unit 41, parse the software program compression package and the installation configuration file from the end of the software installation package, and decompress the software program compression package to obtain the software program file;
  • the installation unit 43 is configured to: according to the installation configuration file decompressed by the decompression unit 42, copy the software program file to the installation path, register the registry, and complete the installation of the software program file.
  • the obtaining unit 41 is further configured to: when the installation version file further records the engineering version number generated according to the acquisition time of the software program compression package, write the engineering version number of the software installation package into the engineering version number record file. .
  • the client further includes an update unit 44, where the update unit 44 is configured to:
  • the software update request is sent to the network side device according to the URL of the service package; and the current engineering version number corresponding to the network side device feedback is received.
  • the client provided by the embodiment of the present invention not only realizes the automatic installation of the software, but also solves the problem that the target path is not unified when a large number of client software is installed, and realizes the port-free and automatic installation of the client software. And the automatic update and upgrade of the client software is realized, which improves the efficiency of unified release, installation and upgrade of the client software.
  • a fifth embodiment of the present invention provides a software installation system.
  • the system includes: a server 51 configured to: acquire a software program compression package, and record an installation path set by a user in an installation configuration file;
  • the software program compression package and the installation configuration file are packaged into a first compression package, and the first compression package is appended to the end of the software installation program and compressed to form an executable second compression package as a final software installation package;
  • the terminal 52 is configured to: send a software installation request to the server 51, and receive a software installation package fed back by the server 51 according to the installation request; decompress the software installation package, and parse the software program compression package and the installation configuration file from the end of the software installation package. And decompressing the software program compression package to obtain the software program file; and copying the software program file to the installation path according to the installation configuration file, registering the registry, and completing the installation of the software program file.
  • Server 51 is also configured to:
  • the engineering version number of the software installation package is generated according to the acquisition time of the software program compression package; and the project version number is recorded in the installation configuration file.
  • the server 51 is further configured to: when performing the software program update, compare all the files of the software installation package corresponding to the current project version number with all the files of the original software program compression package to obtain a difference file list, and The files in the difference file list are packaged to generate a service package of the software installation package corresponding to the current project version number; and the URL of the service package is recorded in the installation configuration file.
  • Client 52 is also set to:
  • the installation version file also records the project version number generated according to the acquisition time of the software program compression package
  • the engineering version number of the software installation package is written into the engineering version number record file.
  • the client 52 is further configured to: When the installation profile contains the URL of the patch package, a software update request is sent to the server 51 according to the URL of the patch package;
  • the service package of the software installation package corresponding to the current engineering version number fed back by the server 51 is updated, and the software program file is updated.
  • HTTP Hyper
  • server 51 the server 51 and the client 52 in the embodiment of the present invention.
  • the Text Transfer Protocol (Hypertext Transfer Protocol) or HTTPS (Hyper Text Transfer Protocol Secure) connects and interacts to solve the problem of high complexity when installing the software when the client 52 is in a different network.
  • HTTPS Hyper Text Transfer Protocol Secure
  • the embodiment of the invention further provides a method for manufacturing a software installation package. As shown in FIG. 6, the method includes the following steps:
  • Step S601 uniformly setting a software installation path, and saving the installation path information
  • Step S602 packaging the software package and the installation information into a data package, and appending the data package to the end of the software installation program to form an executable software installation package.
  • the installation information includes the installation path information. And the project version number.
  • the method further includes: using a production time of the software installation package as a new project version number; and saving the new project version number in a corresponding software installation package.
  • the method further includes: performing a binary comparison of the software installation package creation file to obtain a difference file list, and packaging the file in the difference file list to generate the new project version number. a patch package for the corresponding software installation package; and a storage location for saving the service package.
  • the embodiment of the invention further provides a software installation method. As shown in FIG. 7, the method includes the following steps:
  • Step S701 Send a software installation request to the network side device.
  • Step S702 receiving software security that the network side device feeds back according to the software installation request Packing, wherein the software installation package includes installation information set by a user;
  • Step S703 running the software installation package, parsing the software package and the installation information from the end of the software installation package file, where the installation information includes: installation path information and an engineering version number;
  • Step S704 Copy the files in the software package to the installation path according to the installation path information, and perform registry registration to complete installation of the software.
  • the method further includes: when the software installation package includes the engineering version number, writing the engineering version number of the software installation package to the file of the client.
  • the method further includes: the client periodically sends a software update request to the network side device; and receiving a software installation package corresponding to the new project version number fed back by the network side device The patch package, and download the patch package to perform the update operation.
  • the embodiment of the present invention further provides a server.
  • the server includes: a configuration unit 81 configured to: acquire a software package, and save installation path information; and
  • the installation package making unit 82 is configured to: package the software package and the installation information acquired by the configuration unit into one data package, and append the data to the tail of the software installation program to form an executable software installation.
  • the package information includes the installation path information and a project version number.
  • the configuration unit 81 is further configured to: use a production time of the software installation package as a new engineering version number; and save the new engineering version number in a corresponding software installation package.
  • the server further includes: a patch package creation unit 83, wherein the patch package creation unit 83 is configured to: all files of the software installation package corresponding to the new project version number and all files of the original software installation package Performing a binary comparison to obtain a difference file list, packaging the files in the difference file list, generating a service package of the software installation package corresponding to the new project version number, and saving a storage location of the service package.
  • a patch package creation unit 83 wherein the patch package creation unit 83 is configured to: all files of the software installation package corresponding to the new project version number and all files of the original software installation package Performing a binary comparison to obtain a difference file list, packaging the files in the difference file list, generating a service package of the software installation package corresponding to the new project version number, and saving a storage location of the service package.
  • the embodiment of the present invention further provides a client.
  • the client includes:
  • the obtaining unit 91 is configured to: send a software installation request to the network side device, and receive a software installation package that is fed back by the network side device according to the software installation request, where the software installation package includes installation information set by the user. ;
  • the parsing unit 92 is configured to: run the software installation package, parse the software package and the installation information from the end of the software installation package file, where the installation information includes: installation path information and a project version number; as well as
  • the installation unit 93 is configured to: copy the files in the software package to the installation path according to the installation path information, and perform registry registration to complete installation of the software.
  • the obtaining unit 91 is further configured to: when the information includes the engineering version number of the software installation package, write the engineering version number of the software installation package into the file of the client.
  • the client in the embodiment of the present invention further includes: an updating unit 94, where the updating unit 94 is configured to: send a software update request to the network side device; and receive a new feedback from the network side device The patch package of the software installation package corresponding to the project version number, and download the patch package to perform the update operation.
  • the updating unit 94 is configured to: send a software update request to the network side device; and receive a new feedback from the network side device The patch package of the software installation package corresponding to the project version number, and download the patch package to perform the update operation.
  • the embodiment of the present invention further provides a software installation system. As shown in FIG. 10, the system includes:
  • the server 1001 is configured to: uniformly set a software installation path, and save the installation path information; package the software package and the installation information into one data packet, and add the data package to the tail of the software installation program to form The software installation package is executed; wherein the installation information includes the installation path information and a project version number;
  • the client 1002 is configured to: send a software installation request to the network side device, and receive a software installation package that is fed back by the network side device according to the software installation request, where the software installation package includes installation information set by the user. And running the software installation package, parsing the software package and the installation information from the end of the software installation package file; wherein the installation information includes: installation path information and a project version number; according to the installation path information, Copying the files in the software package to the installation path, and registering the registry to complete the installation of the software.
  • the server 1001 is further configured to: use a production time of the software installation package as a new engineering version number; and save the new engineering version number in a corresponding software installation package.
  • the server 1001 is further configured to: compare all the files of the software installation package corresponding to the new project version number with all the files of the original software installation package, and obtain a difference file list, where the difference file list is The file is packaged, and the service package of the software installation package corresponding to the new project version number is generated; and the storage location of the service package is saved.
  • the client 1002 is further configured to: when the software installation package includes an engineering version number, write the engineering version number of the software installation package into a file of the client.
  • the client 1002 is further configured to: periodically send a software update request to the network side device; receive a software package of the software installation package corresponding to the new engineering version number fed back by the network side device, and download The patch package performs an update operation.
  • server 1001 and the client 1002 are connected and interacted by Hypertext Transfer Protocol (HTTP) or Secure Hypertext Transfer Protocol (HTTPS).
  • HTTP Hypertext Transfer Protocol
  • HTTPS Secure Hypertext Transfer Protocol
  • the software installation system provided by the embodiment of the present invention can solve the problem of high installation complexity and inconsistent installation target path caused by mobile devices such as optical disks when the client software is installed for a large number of client applications. It also solves the problems of complex maintenance of the patch package in the automatic upgrade, and the need to manually maintain the version number and the storage location of the version when the version is released.
  • the configurations of the server, the client, and the software installation system involved in the third embodiment to the fifth embodiment of the present invention are not limited to the structures involved in the embodiments of the present invention, and any of the same concepts are obtained based on the embodiments of the present invention.
  • the device and system structure of the software production and installation are all within the scope of the present invention.

Abstract

一种软件安装包制作及软件安装方法、设备及系统。所述软件安装包制作方法包括:获取软件程序压缩包,并将用户设置的安装路径记录在安装配置文件;以及将所述软件程序压缩包与所述安装配置文件打包为第一压缩包,并将所述第一压缩包追加到软件安装程序的尾部并压缩,形成可执行的第二压缩包作为最终的软件安装包。

Description

一种软件安装包制作及软件安装方法、 设备及系统 技术领域
本发明涉及计算机领域, 尤其涉及一种软件安装包制作及软件安装方 法、 设备及系统。
背景技术
计算机应用中, 不可避免的会进行客户端相关软件程序包的安装与更 新。
相关技术中, 实现客户端软件程序包安装与更新时, 一般由维护人员通 过光盘或者其他移动存储设备将软件程序包拷贝到客户端, 进行软件程序包 的发布与安装。
相关技术中对软件程序包进行安装与更新的方法中, 对于安装设备数据 量较少的情况, 上述通过移动存储设备进行软件程序包的发布与安装, 是可 行的, 但是对于一些客户端数量大、 分布分散的客户端应用软件, 例如, 移 动终端应用、 呼叫中心应用中的座席程序和 IPTV ( Internet Protocol Television, 网络电视)终端程序等, 同一服务器下包括有大数量的客户端, 维护人员在进行软件安装时, 需要在每个客户端上进行安装路径的选择, 并 且不同的客户端设备可能将相同的软件程序包安装在不同的路径下, 对于后 续维护人员维护软件时, 带来巨大的工作量。
发明内容
发明人在实施本发明实施例的过程中, 发现相关技术中的软件程序包只 包含有软件程序文件, 当进行软件安装时, 需要通过光盘等移动存储设备拷 贝到客户端进行软件的安装, 并且软件安装方法的安装复杂度高, 不能实现 自动化安装。
本发明实施例提供一种软件安装包制作及软件安装方法、 设备及系统, 以解决相关技术中软件安装时需要通过光盘等移动存储设备进行软件安装, 安装复杂度高的问题。
本发明实施例提供了一种软件安装包的制作方法, 包括:
获取软件程序压缩包, 并将用户设置的安装路径记录在安装配置文件; 以及
将所述软件程序压缩包与所述安装配置文件打包为第一压缩包, 并将所 述第一压缩包追加到软件安装程序的尾部并压缩, 形成可执行的第二压缩包 作为最终的软件安装包。
可选地, 所述方法还包括:
根据所述软件程序压缩包的获取时间生成所述软件安装包的工程版本 号; 以及
将所述工程版本号记录在所述安装配置文件中。
可选地, 所述方法还包括: 当进行软件程序更新时,
的所有文件进行二进制对比, 得到差异文件列表, 将所述差异文件列表中的 文件打包生成所述当前工程版本号对应的软件安装包的补丁包; 以及
在所述安装配置文件中记录所述补丁包的统一资源定位符(URL ) 。 本发明实施例还提供了一种软件安装方法, 包括:
向网络侧设备发送软件安装请求, 并接收所述网络侧设备根据所述软件 安装请求反馈的软件安装包, 其中, 所述软件安装包包含记录有用户设置的 安装路径的安装配置文件;
解压缩所述软件安装包, 从所述软件安装包的尾部解析出软件程序压缩 包和所述安装配置文件, 并解压缩所述软件程序压缩包得到软件程序文件; 以及
根据所述安装配置文件, 将所述软件程序文件拷贝到所述安装路径下, 进行注册表登记, 完成所述软件程序文件的安装。
可选地, 所述方法还包括: 当所述安装配置文件中还记录有根据所述软 件程序压缩包的获取时间生成的工程版本号时, 将所述软件安装包的工程版本号写入工程版本号记录文件中。
可选地, 所述方法还包括: 当所述安装配置文件中还包含补丁包的统一 资源定位符(URL ) 时,
根据所述 URL, 向所述网络侧设备发送软件更新请求;
接收所述网络侧设备反馈的当前工程版本号对应的软件安装包的补丁 包, 并更新所述软件程序文件。
本发明实施例还提供了一种服务器, 包括:
配置文件设置单元, 其设置成: 获取软件程序压缩包, 并将用户设置的 安装路径记录在安装配置文件; 以及
安装包制作单元, 其设置成: 将所述配置文件设置单元的所述软件程序 压缩包与所述安装配置文件打包为第一压缩包, 并将所述第一压缩包追加到 软件安装程序的尾部并压缩, 形成可执行的第二压缩包作为最终的软件安装 包。
可选地, 所述配置文件设置单元还设置成:
根据所述软件程序压缩包的获取时间生成所述软件安装包的工程版本 号; 以及
将所述工程版本号记录在所述安装配置文件中。
可选地, 所述服务器还包括: 补丁包制作单元, 其中, 所述补丁包制作 单元设置成:
当进行软件程序更新时, 将当前工程版本号对应的软件安装包的所有文 件与原有软件程序压缩包的所有文件进行二进制对比, 得到差异文件列表, 将所述差异文件列表中的文件打包生成所述当前工程版本号对应的软件安装 包的补丁包; 以及
在所述安装配置文件中记录所述补丁包的统一资源定位符(URL ) 。 本发明实施例还提供了一种客户端, 包括:
获取单元, 其设置成: 向网络侧设备发送软件安装请求, 并接收所述网 络侧设备根据所述软件安装请求反馈的软件安装包, 其中, 所述软件安装包 包含记录有用户设置的安装路径的安装配置文件;
解压缩单元, 其设置成: 解压缩所述获取单元获取的软件安装包, 从所 述软件安装包的尾部解析出软件程序压缩包和所述安装配置文件, 并解压缩 所述软件程序压缩包得到软件程序文件; 以及
安装单元, 其设置成: 根据所述解压缩单元解压缩得到的安装配置文 件, 将所述软件程序文件拷贝到所述安装路径下, 进行注册表登记, 完成所 述软件程序文件的安装。
可选地, 所述获取单元还设置成: :
当所述安装配置文件中还记录有根据所述软件程序压缩包的获取时间生 成的工程版本号时, 将所述软件安装包的工程版本号写入工程版本号记录文 件中。
可选地, 所述客户端还包括: 更新单元, 其中, 所述更新单元设置成: 当所述安装配置文件中还包含补丁包的统一资源定位符 (URL ) 时, 根 据所述 URL, 向所述网络侧设备发送软件更新请求; 以及
接收所述网络侧设备反馈的当前工程版本号对应的软件安装包的补丁 包, 并更新所述软件程序文件。
本发明实施例还提供了一种软件安装系统, 包括:
服务器, 其设置成: 获取软件程序压缩包, 并将用户设置的安装路径记 录在安装配置文件; 将所述软件程序压缩包与所述安装配置文件打包为第一 压缩包, 并将所述第一压缩包追加到软件安装程序的尾部并压缩, 形成可执 行的第二压缩包作为最终的软件安装包; 以及 客户端, 其设置成: 向所述服务器发送软件安装请求, 并接收所述服务 器根据所述软件安装请求反馈的软件安装包; 解压缩所述软件安装包, 从所 述软件安装包的尾部解析出软件程序压缩包和所述安装配置文件, 并解压缩 所述软件程序压缩包得到软件程序文件; 以及 居所述安装配置文件, 将所 述软件程序文件拷贝到所述安装路径下, 进行注册表登记, 完成所述软件程 序文件的安装。
可选地, 所述服务器还设置成: 根据所述软件程序压缩包的获取时间生成所述软件安装包的工程版本 号; 以及
将所述工程版本号记录在所述安装配置文件中。
可选地, 所述服务器还设置成:
当进行软件程序更新时, 将当前工程版本号对应的软件安装包的所有文 件与原有软件程序压缩包的所有文件进行二进制对比, 得到差异文件列表, 将所述差异文件列表中的文件打包生成所述当前工程版本号对应的软件安装 包的补丁包; 以及
在所述安装配置文件中记录所述补丁包的统一资源定位符(URL ) 。 可选地, 所述客户端还设置成:
当所述安装配置文件中还记录有根据所述软件程序压缩包的获取时间生 成的工程版本号时, 将所述软件安装包的工程版本号写入工程版本号记录文 件中。
可选地, 所述客户端还设置成:
当所述安装配置文件中还包含所述补丁包的 URL时, 根据所述 URL, 向所述服务器发送软件更新请求; 以及
接收所述服务器反馈的所述当前工程版本号对应的软件安装包的补丁 包, 更新所述软件程序文件。
可选地, 所述服务器与所述客户端之间釆用超文本传输协议 ( HTTP )或 安全超文本传输协议( HTTPS )连接并交互。
本发明实施例还提供了一种软件安装包的制作方法, 包括:
统一设置软件安装路径, 并保存安装路径信息; 以及
将软件程序包和安装信息打包为一个数据包, 并将所述数据包追加到软 件安装程序的尾部, 形成可执行的软件安装包;
其中, 所述安装信息包括所述安装路径信息及工程版本号。
可选地, 所述方法还包括:
将所述软件安装包的制作时间作为新工程版本号; 以及 将所述新工程版本号保存在对应的软件安装包。
可选地, 所述方法还包括:
当进行软件安装包制作时, 将新工程版本号对应的软件安装包的所有文 件与原有软件安装包的所有文件进行二进制对比, 得到差异文件列表, 将所 述差异文件列表中的文件打包,生成所述新工程版本号对应的软件安装包的 卜丁包; 以及
保存所述补丁包的存储位置。
本发明实施例还提供了一种软件安装方法, 包括:
向网络侧设备发送软件安装请求, 并接收所述网络侧设备根据所述软件 安装请求反馈的软件安装包, 其中, 所述软件安装包包含有用户设置的安装 信息;
运行所述软件安装包, 从所述软件安装包文件尾部解析出软件程序包和 所述安装信息, 其中, 所述安装信息包括: 安装路径信息及工程版本号; 以 及
根据所述安装路径信息, 将所述软件程序包中的文件拷贝到所述安装路 径下, 并进行注册表登记, 完成所述软件的安装。
可选地, 所述方法还包括: 当所述软件安装包包含有工程版本号时, 将所述软件安装包的工程版本号写入客户端的文件中。
可选地, 所述方法还包括:
客户端定期向所述网络侧设备发送软件更新请求; 以及
接收所述网络侧设备反馈的所述新工程版本号对应的软件安装包的补丁 包, 并下载所述补丁包, 进行更新操作。
本发明实施例还提供了一种服务器, 包括:
配置单元, 其设置成: 获取软件程序包, 并保存安装路径信息; 以及 安装包制作单元, 其设置成: 将所述配置单元获取的所述软件程序包与 安装信息打包为一个数据包, 并将所述数据追加到软件安装程序的尾部, 形 成可执行的软件安装包; 其中, 所述安装信息包括所述安装路径信息及工程版本号。 可选地, 所述配置单元还设置成:
将所述软件安装包的制作时间作为新工程版本号; 以及
将所述新工程版本号保存在对应的软件安装包。
可选地, 所述服务器还包括: 补丁包制作单元, 其中, 所述补丁包制作 单元设置成:
文件进行二进制对比, 得到差异文件列表, 将所述差异文件列表中的文件打 包,生成所述新工程版本号对应的软件安装包的补丁包; 以及
保存所述补丁包的存储位置。
本发明实施例还提供了一种客户端, 包括:
获取单元, 其设置成: 向网络侧设备发送软件安装请求, 并接收所述网 络侧设备根据所述软件安装请求反馈的软件安装包, 其中, 所述软件安装包 包含有用户设置的安装信息; 解析单元, 其设置成: 运行所述软件安装包, 从所述软件安装包文件尾 部解析出软件程序包和所述安装信息, 其中, 所述安装信息包括: 安装路径 信息以及工程版本号; 以及
安装单元, 其设置成: 根据所述安装路径信息, 将所述软件程序包中的 文件拷贝到所述安装路径下, 并进行注册表登记, 完成所述软件的安装。
可选地, 所述获取单元还设置成:
当所述信息中包含有所述软件安装包的工程版本号时,
将所述软件安装包的工程版本号写入客户端的文件中。
可选地, 所述客户端还包括: 更新单元, 其中, 所述更新单元设置成: 定期向所述网络侧设备发送软件更新请求; 以及
接收所述网络侧设备反馈的新工程版本号对应的软件安装包的补丁包, 并下载补丁包, 进行更新操作。
本发明实施例还提供了一种软件安装系统, 包括: 服务器, 其设置成: 统一设置软件安装路径, 并保存安装路径信息; 将 所述软件程序包和安装信息打包为一个数据包, 并将所述数据包追加到软件 安装程序的尾部, 形成可执行的软件安装包; 其中, 所述安装信息包括所述 安装路径信息及工程版本号; 以及
客户端, 其设置成: 向网络侧设备发送软件安装请求, 并接收所述网络 侧设备根据所述软件安装请求反馈的软件安装包, 其中, 所述软件安装包包 含有用户设置的安装信息; 运行所述软件安装包, 从所述软件安装包文件尾 部解析出软件程序包和所述安装信息; 其中, 所述安装信息包括: 安装路径 信息及工程版本号; 根据所述安装路径信息, 将所述软件程序包中的文件拷 贝到所述安装路径下, 并进行注册表登记, 完成所述软件的安装。
可选地, 所述服务器还设置成:
将所述软件安装包的制作时间作为新工程版本号; 以及
将所述新工程版本号保存在对应的软件安装包。
可选地, 所述服务器还设置成: 文件进行二进制对比, 得到差异文件列表, 将所述差异文件列表中的文件打 包,生成所述新工程版本号对应的软件安装包的补丁包; 以及
保存所述补丁包的存储位置。
可选地, 所述客户端还设置成:
当所述软件安装包包含有工程版本号时,
将所述软件安装包的工程版本号写入客户端的文件中。
可选地, 所述客户端还设置成:
定期向所述网络侧设备发送软件更新请求;
接收所述网络侧设备反馈的所述新工程版本号对应的软件安装包的补丁 包, 并下载所述补丁包, 进行更新操作。
可选地, 所述服务器与所述客户端之间釆用超文本传输协议(HTTP )或 安全超文本传输协议(HTTPS )连接并交互。 通过本发明实施例的方法、 设备及系统, 在软件安装包包含有安装配置 信息, 在进行软件安装时, 根据安装配置文件进行程序文件的安装, 能够实 现软件的自动化在线安装, 降低了软件安装复杂度。 附图概述
图 1为本发明实施例一提供的软件安装包制作方法的流程图; 图 2为本发明实施例二提供的软件安装方法的流程图;
图 3为本发明实施例三提供的服务器的结构示意图;
图 4为本发明实施例四提供的客户端的结构示意图;
图 5为本发明实施例五提供的软件安装系统的结构示意图。
图 6为本发明实施例六提供的软件安装包制作方法的流程图; 图 7为本发明实施例七提供的软件安装方法的流程图;
图 8为本发明实施例八提供的服务器的结构示意图;
图 9为本发明实施例九提供的客户端的结构示意图;
图 10为本发明实施例十提供的软件安装系统的结构示意图。
本发明的较佳实施方式
本发明实施例提供了一种软件安装包的制作及软件安装方法、 设备及系 统, 在软件安装包中设置安装配置文件, 在进行软件安装时, 根据安装配置 文件进行程序文件的安装, 能够实现软件的自动化在线安装。
下文中将结合附图对本发明的实施例进行详细说明。 需要说明的是, 在 不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互任意组合。
实施例一
本发明实施例一提供了一种软件安装包制作方法, 如图 1所示, 该方法 包括如下步骤:
步骤 S101、 获取软件程序压缩包以及安装配置文件。
软件安装过程中会包括多个程序文件, 因此可以将软件安装相关的程序 文件压缩为软件程序包后上传, 一次性完成软件程序包的上载, 以减少资源 占用, 并降低维护难度。
安装配置文件是用户根据安装软件的客户端的实际情况设置的与软件安 装相关的属性信息, 为能使后续进行软件安装时可以直接根据安装配置文件 进行软件安装, 无需再人工手动进行安装, 本发明实施例中, 用户可以根据 客户端的实际情况, 预先设置软件安装包的安装路径, 将用户设置的安装路 径记录在安装配置文件中, 当进行软件安装时, 可以直接根据安装配置文件 中的安装路径, 将程序文件安装到设定的安装路径下, 解决相关技术中客户 端软件安装路径不统一, 后期维护难度大的问题。
需要说明的是, 针对本发明实施例中的安装路径, 用户可以根据客户端 实际情况进行设置, 该安装路径是可以灵活设置并改变的, 并不是不可改变 的, 灵活性更大。
步骤 S102、 将软件程序压缩包与安装配置文件打包为第一压缩包, 并 将第一压缩包追加到软件安装程序的尾部并压缩, 形成可执行的第二压缩 包, 作为最终的软件安装包。
当获取到用户上传的软件程序压缩包后, 在本地保存, 并将该软件程序 压缩包与用户设置的安装配置文件( setup.ini )一起打包为新的压缩包, 即, 第一压缩包( setup.zip ) , 最后再将第一压缩包( setup.zip )及长度追加到软 件安装程序的尾部, 形成一个新的可执行程序文件 (setup.exe ) , 即, 最终 的软件安装包。
时, 将用户设置的安装路径记录在安装配置文件中, 在进行软件安装时, 根 据安装配置文件进行程序文件的安装, 能够实现软件的自动化在线安装, 降 低了软件安装复杂度。
可选地, 本发明实施例中, 当获取到用户上传的软件程序压缩包时, 可 以根据获取到软件程序压缩包的获取时间生成软件安装包的工程版本号, 即, 本发明实施例中, 在制作软件安装包时, 可以才艮据当前时间的年月曰时 分秒生成格式为 YYYYMMDDHHMMSS的软件安装包的工程版本号, 降低 了进行软件安装包制作时, 需要人工定义版本号或者从程序文件中获取版本 号的开发难度, 也降低了后期软件维护的难度。
在制作软件安装包时, 可以将生成的软件安装包的工程版本号和 /或用 户设置的安装路径记录在安装配置文件中, 生成具有统一安装路径和工程版 本号的软件安装包, 以方便后期软件维护。
可选地, 在进行软件更新时, 本发明实施例中还可以制作软件安装包的 压缩包的所有文件进行二进制对比, 得到差异文件列表, 并将差异文件列表 中的文件打包, 即可得到当前工程版本号对应的软件安装包的补丁包。
需要说明的是, 当生成软件安装包的补丁包时, 可以将当前工程版本号 本相对于更早版本的版本补丁包。
本发明实施例中通过将当前版本的软件程序包中的所有文件与原有程序 包中的所有文件进行二进制对比, 不仅可以实现补丁包的自动生成, 避免手 工定义和维护, 并且避免了相关技术中, 当通过客户端的程序文件名或程序 内部版本标识(Identity, ID )来标识当前版本信息时, 程序文件名被修改或 程序文件比较多无法进行版本号标识, 造成的不便于维护和文件替换的缺 陷。
可选地, 本发明实施例中可以在安装配置文件中记录生成的软件安装包 的补丁包的 URL ( Uniform Resource Locator, 统一资源定位符) , 当需要进 行软件更新升级时, 用户可以直接根据本地保存的补丁包的 URL, 发起更 新升级请求, 实现升级自动化。
实施例二
本发明实施例二提供了一种应用实施例一中软件安装包进行软件安装的 方法, 实现客户端的软件程序的在线自动安装, 实施例一中生成的软件安装 包可以保存在网络侧设备, 当用户需要进行软件安装时, 可以直接从网络侧 设备获取, 无需利用光盘等移动存储设备拷贝, 本发明实施例二提供的软件 安装方法实现过程如图 2所示, 该方法包括如下步骤:
步骤 S201、 向网络侧设备发送软件安装请求。 用户可以在客户端输入存储有软件安装包的网络侧设备的 URL地址, 向网络侧设备发起安装请求。
步骤 S202、 接收网络侧设备反馈的软件安装包。
网络侧设备保存的软件安装包包含记录有用户设置的安装路径的安装配 置文件, 网络侧设备接收到客户端发送的安装请求时, 检查是否存在激活的 软件安装包符合客户端发送的安装请求, 若存在, 则向客户端反馈符合安装 请求的软件安装包。
当存在多个网络服务器时, 网络侧设备可以根据每个网络服务器的负荷情 况, 向客户端反馈一个存储有软件安装包的网络服务器的 URL, 由客户端 根据网络侧设备反馈的 URL 下载软件安装包, 当客户端将软件安装包下载 完成后, 进行步骤 S203。
步骤 S203、 解压缩网路侧设备反馈的软件安装包得到软件程序文件。 当接收到网路侧设备反馈的软件安装包时, 从软件安装包的尾部解析出 软件程序压缩包和安装配置文件, 再将软件程序压缩包解压缩, 即可得到软 件程序文件, 得到软件程序文件后, 可进行步骤 S204 , 进行软件程序文件 的安装。
步骤 S204、 4艮据安装配置文件安装软件程序文件。
当解压缩得到软件程序文件后, 解析安装配置文件的安装属性信息, 进 行当前软件程序文件的安装。 由于安装配置文件中记录有用户设置的安装路 径, 因此, 根据安装配置文件安装软件程序文件时, 首先解析安装配置文件 中用户设置的安装路径; 然后将解压缩得到的软件程序文件拷贝到安装配置 文件中的安装路径下, 进行注册表登记, 即可完成软件程序文件的安装。
可选地, 当安装配置文件中还记录了软件安装包的工程版本号时, 安装 所述软件程序文件时, 首先解析安装配置文件中软件安装包的工程版本号与 安装路径; 然后将软件安装包的工程版本号写入工程版本号记录文件中, 将 软件程序文件拷贝到所述安装路径下, 进行注册表登记, 完成软件程序文件 的安装。 可选地, 当网络侧设备存储有软件安装包的补丁包时, 可以在客户端实 现软件的自动更新升级。 由于进行软件自动安装时, 在安装配置文件中记录 了软件安装包的补丁包的 URL, 因此, 当需要进行软件更新升级时, 客户 端可以直接根据安装配置文件中包含的补丁包的 URL 向网络侧设备发起更 新请求, 并进行软件程序文件的更新升级。
客户端可以定时向网络侧设备发送更新请求, 在发送更新请求时可以携 带客户端当前软件安装包的工程版本号, 以便后续进行自动更新升级时获取 补丁包。
当网络侧设备收到客户端发送的更新请求时, 根据其携带的工程版本 号, 检测是否有与该工程版本号对应的补丁包, 当存在与该工程版本号对应 的补丁包时, 将当前工程版本号对应的软件安装包的补丁包反馈给客户端, 客户端根据获取的补丁包, 进行软件程序文件的更新。
本发明实施例提供的上述软件安装方法, 不仅实现了软件的自动安装, 解决了大量客户端软件安装时目标路径不统一的问题, 并且实现了客户端软 件的免携带和自动安装。 并且实现了客户端软件的自动更新升级, 提升了客 户端软件统一发布、 安装和升级的效率。
实施例三
本发明实施例三还提供了一种服务器, 该服务器的构成如图 3所示。 本发明实施例提供的服务器包括:
配置文件设置单元 31 , 其设置成: 获取软件程序压缩包, 并将用户设 置的安装路径记录在安装配置文件; 以及
安装包制作单元 32, 其设置成: 将配置文件设置单元 31的软件程序压 缩包与安装配置文件打包为第一压缩包 , 并将第一压缩包追加到软件安装程 序的尾部并压缩, 形成可执行的第二压缩包作为最终的软件安装包。
可选地, 配置文件设置单元 31还设置成:
根据软件程序压缩包的获取时间生成软件安装包的工程版本号; 以及 将工程版本号记录在安装配置文件中。
可选地, 本发明实施例提供的服务器还包括补丁包制作单元 33 , 所述 补丁包制作单元 33 设置成: 当进行软件程序更新时, 将当前工程版本号对 应的软件安装包的所有文件与原有软件程序压缩包的所有文件进行二进制对 比, 得到差异文件列表, 将差异文件列表中的文件打包生成当前工程版本号 对应的软件安装包的补丁包; 并在安装配置文件中记录所述补丁包的 URL。
釆用本发明实施例提供的服务器, 当进行软件安装包制作时, 在软件安 装包中设置包含安装路径、 工程版本号以及补丁包的 URL 等信息的安装配 置文件, 在进行软件安装时, 根据安装配置文件进行程序文件的安装, 能够 实现软件的自动化在线安装。
实施例四
本发明实施例四提供了一种客户端, 该客户端的构成如图 4所示, 所述 客户端包括:
获取单元 41 , 其设置成: 向网络侧设备发送软件安装请求, 并接收网 络侧设备根据安装请求反馈的软件安装包, 其中, 该软件安装包包含记录有 用户设置的安装路径的安装配置文件;
解压缩单元 42, 其设置成: 解压缩获取单元 41获取的软件安装包, 从 软件安装包的尾部解析出软件程序压缩包和安装配置文件, 并解压缩软件程 序压缩包得到软件程序文件; 以及
安装单元 43 , 其设置成: 根据解压缩单元 42解压缩得到的安装配置文 件, 将软件程序文件拷贝到安装路径下, 进行注册表登记, 完成软件程序文 件的安装。
可选地, 获取单元 41 还设置成: 当安装配置文件中还记录有根据软件 程序压缩包的获取时间生成的工程版本号时, 将软件安装包的工程版本号写 入工程版本号记录文件中。
可选地, 本发明实施例中客户端还包括更新单元 44, 所述更新单元 44 设置成:
当安装配置文件中还包含补丁包的 URL时, 根据补丁包的 URL, 向网 络侧设备发送软件更新请求; 接收网络侧设备反馈的当前工程版本号对应的 软件安装包的补丁包, 更新软件程序文件。 釆用本发明实施例提供的客户端, 不仅实现了软件的自动安装, 解决了 大量客户端软件安装时目标路径不统一的问题, 并且实现了客户端软件的免 携带和自动安装。 并且实现了客户端软件的自动更新升级, 提升了客户端软 件统一发布、 安装和升级的效率。
实施例五
本发明实施例五提供了一种软件安装系统, 如图 5所示, 该系统包括: 服务器 51 , 其设置成: 获取软件程序压缩包, 并将用户设置的安装路 径记录在安装配置文件; 将软件程序压缩包与所述安装配置文件打包为第一 压缩包, 并将第一压缩包追加到软件安装程序的尾部并压缩, 形成可执行的 第二压缩包作为最终的软件安装包; 以及 客户端 52, 其设置成: 向服务器 51发送软件安装请求, 并接收服务器 51 根据安装请求反馈的软件安装包; 解压缩软件安装包, 从软件安装包的 尾部解析出软件程序压缩包和安装配置文件, 并解压缩软件程序压缩包得到 软件程序文件; 以及根据安装配置文件, 将软件程序文件拷贝到所述安装路 径下, 进行注册表登记, 完成软件程序文件的安装。
服务器 51还设置成:
根据软件程序压缩包的获取时间生成软件安装包的工程版本号; 以及将 工程版本号记录在安装配置文件中。
可选地, 服务器 51 还设置成: 当进行软件程序更新时, 将当前工程版 本号对应的软件安装包的所有文件与原有软件程序压缩包的所有文件进行二 进制对比, 得到差异文件列表, 将差异文件列表中的文件打包生成当前工程 版本号对应的软件安装包的补丁包; 并在安装配置文件中记录所述补丁包的 URL。
客户端 52还设置成:
当安装配置文件中还记录有根据软件程序压缩包的获取时间生成的工程 版本号时, 将软件安装包的工程版本号写入工程版本号记录文件中。
可选地, 客户端 52还设置成: 当安装配置文件中包含补丁包的 URL时, 根据补丁包的 URL, 向服务 器 51发送软件更新请求; 以及
接收服务器 51 反馈的当前工程版本号对应的软件安装包的补丁包, 更 新软件程序文件。
可选地, 本发明实施例中服务器 51与客户端 52之间釆用 HTTP ( Hyper
Text Transfer Protocol, 超文本传输协议)或 HTTPS ( Hyper Text Transfer Protocol Secure, 安全超文本传输协议)连接并交互, 解决客户端 52处于不 同网络时, 进行软件安装时安装复杂度高的问题。
实施例六
本发明实施例还提供了一种软件安装包的制作方法, 如图 6所示, 该方 法包括如下步骤:
步骤 S601、 统一设置软件安装路径, 并保存安装路径信息;
步骤 S602、 将软件程序包和安装信息打包为一个数据包, 并将所述数 据包追加到软件安装程序的尾部, 形成可执行的软件安装包; 其中, 所述安 装信息包括所述安装路径信息及工程版本号。
可选地, 本发明实施例中, 所述方法还包括: 将所述软件安装包的制作 时间作为新工程版本号; 以及将所述新工程版本号保存在对应的软件安装 包。
可选地, 本发明实施例中, 所述方法还包括: 当进行软件安装包制作 文件进行二进制对比, 得到差异文件列表, 将所述差异文件列表中的文件打 包,生成所述新工程版本号对应的软件安装包的补丁包; 以及保存所述补丁 包的存储位置。
实施例七
本发明实施例还提供了一种软件安装方法, 如图 7所示, 该方法包括如 下步骤:
步骤 S701、 向网络侧设备发送软件安装请求;
步骤 S702、 接收所述网络侧设备根据所述软件安装请求反馈的软件安 装包, 其中, 所述软件安装包包含有用户设置的安装信息;
步骤 S703、 运行所述软件安装包, 从所述软件安装包文件尾部解析出 软件程序包和所述安装信息, 其中, 所述安装信息包括: 安装路径信息及工 程版本号;
步骤 S704、 根据所述安装路径信息, 将所述软件程序包中的文件拷贝 到所述安装路径下, 并进行注册表登记, 完成所述软件的安装。
可选地, 本发明实施例中, 所述方法还包括: 当所述软件安装包包含有 工程版本号时, 将所述软件安装包的工程版本号写入客户端的文件中。
可选地, 本发明实施例中, 所述方法还包括: 客户端定期向所述网络侧 设备发送软件更新请求; 以及接收所述网络侧设备反馈的所述新工程版本号 对应的软件安装包的补丁包, 并下载所述补丁包, 进行更新操作。
实施例八
本发明实施例还提供了一种服务器, 如图 8所示, 该服务器包括: 配置单元 81 , 其设置成: 获取软件程序包, 并保存安装路径信息; 以 及
安装包制作单元 82 , 其设置成: 将所述配置单元获取的所述软件程序 包与安装信息打包为一个数据包, 并将所述数据追加到软件安装程序的尾 部, 形成可执行的软件安装包; 其中, 所述安装信息包括所述安装路径信息 及工程版本号。
可选地,所述配置单元 81还设置成: 将所述软件安装包的制作时间作为 新工程版本号; 以及将所述新工程版本号保存在对应的软件安装包。
可选地,所述服务器还包括: 补丁包制作单元 83 , 其中, 所述补丁包制 作单元 83 设置成: 将新工程版本号对应的软件安装包的所有文件与原有软 件安装包的所有文件进行二进制对比, 得到差异文件列表, 将所述差异文件 列表中的文件打包,生成所述新工程版本号对应的软件安装包的补丁包; 以 及保存所述补丁包的存储位置。
实施例九
本发明实施例还提供了一种客户端, 如图 9所示, 该客户端包括: 获取单元 91 , 其设置成: 向网络侧设备发送软件安装请求, 并接收所 述网络侧设备根据所述软件安装请求反馈的软件安装包, 其中, 所述软件安 装包包含有用户设置的安装信息;
解析单元 92 , 其设置成: 运行所述软件安装包, 从所述软件安装包文 件尾部解析出软件程序包和所述安装信息, 其中, 所述安装信息包括: 安装 路径信息以及工程版本号; 以及
安装单元 93 , 其设置成: 根据所述安装路径信息, 将所述软件程序包 中的文件拷贝到所述安装路径下, 并进行注册表登记, 完成所述软件的安 装。
可选地,所述获取单元 91还设置成: 当所述信息中包含有所述软件安装 包的工程版本号时, 将所述软件安装包的工程版本号写入客户端的文件中。
可选地,本发明实施例中的客户端还包括: 更新单元 94, 其中, 所述更 新单元 94设置成: 向所述网络侧设备发送软件更新请求; 以及接收所述网 络侧设备反馈的新工程版本号对应的软件安装包的补丁包, 并下载补丁包, 进行更新操作。
实施例十
本发明实施例还提供了一种软件安装系统, 如图 10 所示, 该系统包 括:
服务器 1001 , 其设置成: 统一设置软件安装路径, 并保存安装路径信 息; 将所述软件程序包和安装信息打包为一个数据包, 并将所述数据包追加 到软件安装程序的尾部, 形成可执行的软件安装包; 其中, 所述安装信息包 括所述安装路径信息及工程版本号; 以及
客户端 1002 , 其设置成: 向网络侧设备发送软件安装请求, 并接收所 述网络侧设备根据所述软件安装请求反馈的软件安装包, 其中, 所述软件安 装包包含有用户设置的安装信息; 运行所述软件安装包, 从所述软件安装包 文件尾部解析出软件程序包和所述安装信息; 其中, 所述安装信息包括: 安 装路径信息及工程版本号; 根据所述安装路径信息, 将所述软件程序包中的 文件拷贝到所述安装路径下, 并进行注册表登记, 完成所述软件的安装。 可选地,所述服务器 1001还设置成: 将所述软件安装包的制作时间作为 新工程版本号; 以及将所述新工程版本号保存在对应的软件安装包。
可选地,所述服务器 1001还设置成: 将新工程版本号对应的软件安装包 的所有文件与原有软件安装包的所有文件进行二进制对比, 得到差异文件列 表, 将所述差异文件列表中的文件打包,生成所述新工程版本号对应的软件 安装包的补丁包; 以及保存所述补丁包的存储位置。
可选地,所述客户端 1002还设置成: 当所述软件安装包包含有工程版本 号时, 将所述软件安装包的工程版本号写入客户端的文件中。
可选地,所述客户端 1002还设置成: 定期向所述网络侧设备发送软件更 新请求; 接收所述网络侧设备反馈的所述新工程版本号对应的软件安装包的 补丁包, 并下载所述补丁包, 进行更新操作。
可选地, 所述服务器 1001与所述客户端 1002之间釆用超文本传输协议 ( HTTP )或安全超文本传输协议(HTTPS )连接并交互。
釆用本发明实施例提供的软件安装系统, 针对大数量的客户端应用时, 既可解决客户端软件安装时需要通过光盘等移动设备带来的安装复杂度高和 安装目标路径不统一的问题, 也可以解决自动化升级中的补丁包维护复杂、 以及版本发布时需要手工维护版本号和版本的存储位置等问题。
需要说明的是, 本发明实施例三至实施例五中所涉及的服务器、 客户端 以及软件安装系统的结构并不局限于本发明实施例中涉及的结构, 任何基于 本发明实施例相同构思得到的软件制作安装的设备及系统结构都在本发明的 保护范围内。
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现。 相应地, 上述实施例中的各模块 /单元可以釆 用硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本发明实施例不 限制于任何特定形式的硬件和软件的结合。 脱离本发明的精神和范围。 这样, 倘若本发明实施例的这些修改和变型属于 本发明权利要求及其等同技术的范围之内, 则本发明也意图包含这些改动和 变型在内。
工业实用性
通过本发明实施例的方法、 设备及系统, 能够实现软件的自动化在线安 装, 降低了软件安装复杂度。

Claims

权 利 要 求 书
1、 一种软件安装包的制作方法, 包括:
获取软件程序压缩包, 并将用户设置的安装路径记录在安装配置文件; 以及
将所述软件程序压缩包与所述安装配置文件打包为第一压缩包, 并将所 述第一压缩包追加到软件安装程序的尾部并压缩, 形成可执行的第二压缩包 作为最终的软件安装包。
2、 如权利要求 1所述的方法, 还包括:
根据所述软件程序压缩包的获取时间生成所述软件安装包的工程版本 号; 以及
将所述工程版本号记录在所述安装配置文件中。
3、 如权利要求 2所述的方法, 还包括: 当进行软件程序更新时, 的所有文件进行二进制对比, 得到差异文件列表, 将所述差异文件列表中的 文件打包生成所述当前工程版本号对应的软件安装包的补丁包; 以及
在所述安装配置文件中记录所述补丁包的统一资源定位符(URL ) 。
4、 一种软件安装方法, 包括:
向网络侧设备发送软件安装请求, 并接收所述网络侧设备根据所述软件 安装请求反馈的软件安装包, 其中, 所述软件安装包包含记录有用户设置的 安装路径的安装配置文件;
解压缩所述软件安装包, 从所述软件安装包的尾部解析出软件程序压缩 包和所述安装配置文件, 并解压缩所述软件程序压缩包得到软件程序文件; 以及
根据所述安装配置文件, 将所述软件程序文件拷贝到所述安装路径下, 进行注册表登记, 完成所述软件程序文件的安装。
5、 如权利要求 4 所述的方法, 还包括: 当所述安装配置文件中还记录 有根据所述软件程序压缩包的获取时间生成的工程版本号时, 将所述软件安装包的工程版本号写入工程版本号记录文件中。
6、 如权利要求 5 所述的方法, 还包括: 当所述安装配置文件中还包含 补丁包的统一资源定位符(URL ) 时,
根据所述 URL, 向所述网络侧设备发送软件更新请求;
接收所述网络侧设备反馈的当前工程版本号对应的软件安装包的补丁 包, 并更新所述软件程序文件。
7、 一种服务器, 包括:
配置文件设置单元, 其设置成: 获取软件程序压缩包, 并将用户设置的 安装路径记录在安装配置文件; 以及
安装包制作单元, 其设置成: 将所述配置文件设置单元的所述软件程序 压缩包与所述安装配置文件打包为第一压缩包, 并将所述第一压缩包追加到 软件安装程序的尾部并压缩, 形成可执行的第二压缩包作为最终的软件安装 包。
8、 如权利要求 7 所述的服务器, 其中, 所述配置文件设置单元还设置 成:
根据所述软件程序压缩包的获取时间生成所述软件安装包的工程版本 号; 以及
将所述工程版本号记录在所述安装配置文件中。
9、 如权利要求 8 所述的服务器, 还包括: 补丁包制作单元, 其中, 所 述补丁包制作单元设置成:
当进行软件程序更新时, 将当前工程版本号对应的软件安装包的所有文 件与原有软件程序压缩包的所有文件进行二进制对比, 得到差异文件列表, 将所述差异文件列表中的文件打包生成所述当前工程版本号对应的软件安装 包的补丁包; 以及
在所述安装配置文件中记录所述补丁包的统一资源定位符(URL ) 。
10、 一种客户端, 包括:
获取单元, 其设置成: 向网络侧设备发送软件安装请求, 并接收所述网 络侧设备根据所述软件安装请求反馈的软件安装包, 其中, 所述软件安装包 包含记录有用户设置的安装路径的安装配置文件;
解压缩单元, 其设置成: 解压缩所述获取单元获取的软件安装包, 从所 述软件安装包的尾部解析出软件程序压缩包和所述安装配置文件, 并解压缩 所述软件程序压缩包得到软件程序文件; 以及
安装单元, 其设置成: 根据所述解压缩单元解压缩得到的安装配置文 件, 将所述软件程序文件拷贝到所述安装路径下, 进行注册表登记, 完成所 述软件程序文件的安装。
11、 如权利要求 10所述的客户端, 其中, 所述获取单元还设置成: : 当所述安装配置文件中还记录有根据所述软件程序压缩包的获取时间生 成的工程版本号时, 将所述软件安装包的工程版本号写入工程版本号记录文 件中。
12、 如权利要求 11 所述的客户端, 还包括: 更新单元, 其中, 所述更 新单元设置成:
当所述安装配置文件中还包含补丁包的统一资源定位符 (URL ) 时, 根 据所述 URL, 向所述网络侧设备发送软件更新请求; 以及
接收所述网络侧设备反馈的当前工程版本号对应的软件安装包的补丁 包, 并更新所述软件程序文件。
13、 一种软件安装系统, 包括:
服务器, 其设置成: 获取软件程序压缩包, 并将用户设置的安装路径记 录在安装配置文件; 将所述软件程序压缩包与所述安装配置文件打包为第一 压缩包, 并将所述第一压缩包追加到软件安装程序的尾部并压缩, 形成可执 行的第二压缩包作为最终的软件安装包; 以及 客户端, 其设置成: 向所述服务器发送软件安装请求, 并接收所述服务 器根据所述软件安装请求反馈的软件安装包; 解压缩所述软件安装包, 从所 述软件安装包的尾部解析出软件程序压缩包和所述安装配置文件, 并解压缩 所述软件程序压缩包得到软件程序文件; 以及 居所述安装配置文件, 将所 述软件程序文件拷贝到所述安装路径下, 进行注册表登记, 完成所述软件程 序文件的安装。
14、 如权利要求 13所述的系统, 其中, 所述服务器还设置成:
根据所述软件程序压缩包的获取时间生成所述软件安装包的工程版本 号; 以及
将所述工程版本号记录在所述安装配置文件中。
15、 如权利要求 14所述的系统, 其中, 所述服务器还设置成:
当进行软件程序更新时, 将当前工程版本号对应的软件安装包的所有文 件与原有软件程序压缩包的所有文件进行二进制对比, 得到差异文件列表, 将所述差异文件列表中的文件打包生成所述当前工程版本号对应的软件安装 包的补丁包; 以及
在所述安装配置文件中记录所述补丁包的统一资源定位符(URL ) 。
16、 如权利要求 13所述的系统, 其中, 所述客户端还设置成:
当所述安装配置文件中还记录有根据所述软件程序压缩包的获取时间生 成的工程版本号时, 将所述软件安装包的工程版本号写入工程版本号记录文 件中。
17、 如权利要求 16所述的系统, 其中, 所述客户端还设置成:
当所述安装配置文件中还包含所述补丁包的 URL时, 根据所述 URL, 向所述服务器发送软件更新请求; 以及
接收所述服务器反馈的所述当前工程版本号对应的软件安装包的补丁 包, 更新所述软件程序文件。
18、 如权利要求 13至 17任一项所述的系统, 其中, 所述服务器与所述 客户端之间釆用超文本传输协议(HTTP )或安全超文本传输协议(HTTPS ) 连接并交互。
19、 一种软件安装包的制作方法, 包括:
统一设置软件安装路径, 并保存安装路径信息; 以及
将软件程序包和安装信息打包为一个数据包, 并将所述数据包追加到软 件安装程序的尾部, 形成可执行的软件安装包; 其中, 所述安装信息包括所述安装路径信息及工程版本号。
20、 如权利要求 19所述的方法, 还包括:
将所述软件安装包的制作时间作为新工程版本号; 以及
将所述新工程版本号保存在对应的软件安装包。
21、 如权利要求 20所述的方法, 还包括: 当进行软件安装包制作时, 文件进行二进制对比, 得到差异文件列表, 将所述差异文件列表中的文件打 包,生成所述新工程版本号对应的软件安装包的补丁包; 以及
保存所述补丁包的存储位置。
22、 一种软件安装方法, 包括:
向网络侧设备发送软件安装请求, 并接收所述网络侧设备根据所述软件 安装请求反馈的软件安装包, 其中, 所述软件安装包包含有用户设置的安装 信息;
运行所述软件安装包, 从所述软件安装包文件尾部解析出软件程序包和 所述安装信息, 其中, 所述安装信息包括: 安装路径信息及工程版本号; 以 及
根据所述安装路径信息 , 将所述软件程序包中的文件拷贝到所述安装路 径下, 并进行注册表登记, 完成所述软件的安装。
23、 如权利要求 22 所述的方法, 还包括: 当所述软件安装包包含有工 程版本号时,
将所述软件安装包的工程版本号写入客户端的文件中。
24、 如权利要求 23所述的方法, 还包括:
客户端定期向所述网络侧设备发送软件更新请求; 以及
接收所述网络侧设备反馈的所述新工程版本号对应的软件安装包的补丁 包, 并下载所述补丁包, 进行更新操作。
25、 一种服务器, 包括:
配置单元, 其设置成: 获取软件程序包, 并保存安装路径信息; 以及 安装包制作单元, 其设置成: 将所述配置单元获取的所述软件程序包与 安装信息打包为一个数据包, 并将所述数据追加到软件安装程序的尾部, 形 成可执行的软件安装包;
其中, 所述安装信息包括所述安装路径信息及工程版本号。
26、 如权利要求 25所述的服务器, 其中, 所述配置单元还设置成: 将所述软件安装包的制作时间作为新工程版本号; 以及
将所述新工程版本号保存在对应的软件安装包。
27、 如权利要求 26 所述的服务器, 还包括: 补丁包制作单元, 其中, 所述补丁包制作单元设置成:
文件进行二进制对比, 得到差异文件列表, 将所述差异文件列表中的文件打 包,生成所述新工程版本号对应的软件安装包的补丁包; 以及
保存所述补丁包的存储位置。
28、 一种客户端, 包括:
获取单元, 其设置成: 向网络侧设备发送软件安装请求, 并接收所述网 络侧设备根据所述软件安装请求反馈的软件安装包, 其中, 所述软件安装包 包含有用户设置的安装信息; 解析单元, 其设置成: 运行所述软件安装包, 从所述软件安装包文件尾 部解析出软件程序包和所述安装信息, 其中, 所述安装信息包括: 安装路径 信息以及工程版本号; 以及
安装单元, 其设置成: 根据所述安装路径信息, 将所述软件程序包中的 文件拷贝到所述安装路径下, 并进行注册表登记, 完成所述软件的安装。
29、 如权利要求 28所述的客户端, 其中, 所述获取单元还设置成: 当所述信息中包含有所述软件安装包的工程版本号时,
将所述软件安装包的工程版本号写入客户端的文件中。
30、 如权利要求 29 所述的客户端, 还包括: 更新单元, 其中, 所述更 新单元设置成: 定期向所述网络侧设备发送软件更新请求; 以及
接收所述网络侧设备反馈的新工程版本号对应的软件安装包的补丁包, 并下载补丁包, 进行更新操作。
31、 一种软件安装系统, 包括:
服务器, 其设置成: 统一设置软件安装路径, 并保存安装路径信息; 将 所述软件程序包和安装信息打包为一个数据包, 并将所述数据包追加到软件 安装程序的尾部, 形成可执行的软件安装包; 其中, 所述安装信息包括所述 安装路径信息及工程版本号; 以及
客户端, 其设置成: 向网络侧设备发送软件安装请求, 并接收所述网络 侧设备根据所述软件安装请求反馈的软件安装包, 其中, 所述软件安装包包 含有用户设置的安装信息; 运行所述软件安装包, 从所述软件安装包文件尾 部解析出软件程序包和所述安装信息; 其中, 所述安装信息包括: 安装路径 信息及工程版本号; 根据所述安装路径信息, 将所述软件程序包中的文件拷 贝到所述安装路径下, 并进行注册表登记, 完成所述软件的安装。
32、 如权利要求 31所述的系统, 其中, 所述服务器还设置成: 将所述软件安装包的制作时间作为新工程版本号; 以及
将所述新工程版本号保存在对应的软件安装包。
33、 如权利要求 32所述的系统, 其中, 所述服务器还设置成: 文件进行二进制对比, 得到差异文件列表, 将所述差异文件列表中的文件打 包,生成所述新工程版本号对应的软件安装包的补丁包; 以及
保存所述补丁包的存储位置。
34、 如权利要求 31所述的系统, 其中, 所述客户端还设置成: 当所述软件安装包包含有工程版本号时,
将所述软件安装包的工程版本号写入客户端的文件中。
35、 如权利要求 34所述的系统, 其中, 所述客户端还设置成: 定期向所述网络侧设备发送软件更新请求; 接收所述网络侧设备反馈的所述新工程版本号对应的软件安装包的补丁 包, 并下载所述补丁包, 进行更新操作。
36、 如权利要求 31至 35任一项所述的系统, 其中, 所述服务器与所述 客户端之间釆用超文本传输协议(HTTP )或安全超文本传输协议(HTTPS ) 连接并交互。
PCT/CN2013/081920 2012-09-12 2013-08-21 一种软件安装包制作及软件安装方法、设备及系统 WO2013189395A2 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP13807749.0A EP2876552A4 (en) 2012-09-12 2013-08-21 METHOD, DEVICE AND SYSTEM FOR GENERATING A SOFTWARE INSTALLATION AND SOFTWARE INSTALLATION PACKAGE.
US14/424,459 US20150227354A1 (en) 2012-09-12 2013-08-21 Software Installation Package Generation and Software Installation Method, Device, and System

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210336298.4 2012-09-12
CN201210336298.4A CN103677876A (zh) 2012-09-12 2012-09-12 一种软件安装包制作安装方法、设备及系统

Publications (2)

Publication Number Publication Date
WO2013189395A2 true WO2013189395A2 (zh) 2013-12-27
WO2013189395A3 WO2013189395A3 (zh) 2014-02-13

Family

ID=49769541

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/081920 WO2013189395A2 (zh) 2012-09-12 2013-08-21 一种软件安装包制作及软件安装方法、设备及系统

Country Status (4)

Country Link
US (1) US20150227354A1 (zh)
EP (1) EP2876552A4 (zh)
CN (1) CN103677876A (zh)
WO (1) WO2013189395A2 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113220315A (zh) * 2021-06-02 2021-08-06 中国邮政储蓄银行股份有限公司 工具软件的安装、配置和激活的方法与装置

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8761757B2 (en) * 2012-09-14 2014-06-24 Tektronix, Inc. Identification of communication devices in telecommunication networks
US9680697B2 (en) * 2013-12-17 2017-06-13 International Business Machines Corporation Dynamic product installation based on user feedback
CN105279436B (zh) * 2014-06-16 2019-05-17 腾讯科技(深圳)有限公司 软件更新方法及系统
CN104468598B (zh) * 2014-12-18 2018-10-12 北京奥普维尔科技有限公司 一种功能授权系统及方法
US10719608B2 (en) * 2015-02-06 2020-07-21 Honeywell International Inc. Patch monitoring and analysis
CN105988834B (zh) * 2015-02-12 2019-11-19 腾讯科技(深圳)有限公司 一种应用安装包生成、安装方法及装置
CN106033335A (zh) * 2015-03-11 2016-10-19 腾讯科技(深圳)有限公司 一种生成安装包的方法及装置
CN105205152B (zh) * 2015-09-23 2019-04-02 北京金山安全软件有限公司 判定路径与包名对应关系的方法、装置及电子设备
US20170168795A1 (en) * 2015-12-09 2017-06-15 Opex Labs India Llp Method and system for managing micro release automation in an application delivery system
CN107179919A (zh) * 2016-03-09 2017-09-19 广州优视网络科技有限公司 源码管理系统、应用程序管理方法及装置
US10216510B2 (en) * 2016-06-04 2019-02-26 Airwatch Llc Silent upgrade of software with dependencies
CN107102974A (zh) * 2017-03-30 2017-08-29 深圳市天朗时代科技有限公司 电子书勘误方法及电子书勘误装置
CN107391107A (zh) * 2017-06-12 2017-11-24 北京明朝万达科技股份有限公司 一种应用程序的修复方法和装置
US10606586B2 (en) * 2017-08-01 2020-03-31 Accenture Global Solutions Limited Application architecture generation
CN107908421B (zh) * 2017-09-29 2022-06-24 北京创鑫旅程网络技术有限公司 软件代码版本管理与发布的方法及装置
CN107918543B (zh) * 2017-12-22 2020-10-23 金蝶蝶金云计算有限公司 安装包生成的方法、装置、计算机设备和存储介质
CN109213476B (zh) * 2018-08-14 2023-10-17 中国平安人寿保险股份有限公司 一种安装包的生成方法、计算机可读存储介质及终端设备
CN109375932B (zh) * 2018-09-18 2022-03-01 广州虎牙信息科技有限公司 一种app热修复脚本构建的方法、装置、终端及存储介质
CN109992283B (zh) * 2019-03-26 2023-03-14 合肥移瑞通信技术有限公司 一种批量同步下载升级测试固件的方法及系统
CN110162330B (zh) * 2019-07-08 2021-04-13 上海赫千电子科技有限公司 一种应用于汽车ecu升级文件的系统及方法
CN111949314A (zh) * 2020-08-20 2020-11-17 苏州朗动网络科技有限公司 应用安装包的生成方法、装置、服务器和存储介质
CN112114824B (zh) * 2020-09-07 2023-05-02 上海上讯信息技术股份有限公司 一种基于Linux的软件部署方法及设备

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6151643A (en) * 1996-06-07 2000-11-21 Networks Associates, Inc. Automatic updating of diverse software products on multiple client computer systems by downloading scanning application to client computer and generating software list on client computer
WO2002025438A1 (en) * 2000-09-22 2002-03-28 Patchlink.Com Corporation Non-invasive automatic offsite patch fingerprinting and updating system and method
US20050108704A1 (en) * 2003-11-14 2005-05-19 International Business Machines Corporation Software distribution application supporting verification of external installation programs
CN100342335C (zh) * 2004-09-23 2007-10-10 华为技术有限公司 芯片程序加载方法
US20060112152A1 (en) * 2004-11-22 2006-05-25 Microsoft Corporation Smart patching by targeting particular prior versions of a file
US7849354B2 (en) * 2007-06-12 2010-12-07 Microsoft Corporation Gracefully degradable versioned storage systems
US8656384B2 (en) * 2007-06-22 2014-02-18 Red Hat, Inc. Standardized software application configuration
US20090007096A1 (en) * 2007-06-28 2009-01-01 Microsoft Corporation Secure Software Deployments
US20100088270A1 (en) * 2008-10-03 2010-04-08 Carsten Ziegler Data versioning concept including time dependency and active and inactive states
CN101699400B (zh) * 2009-09-03 2013-02-27 中兴通讯股份有限公司 一种生成和运行客户端安装程序的方法及系统
CN101697133A (zh) * 2009-10-26 2010-04-21 中兴通讯股份有限公司 软件升级方法、软件升级系统以及客户端
US8495625B1 (en) * 2010-07-27 2013-07-23 Symantec Corporation Method and system for creation of streamed files on-demand
CN101984410B (zh) * 2010-11-12 2015-06-10 中兴通讯股份有限公司 软件安装包的生成、卸载方法及装置
US20120131566A1 (en) * 2010-11-23 2012-05-24 Microsoft Corporation Efficient virtual application update
US9612812B2 (en) * 2011-12-21 2017-04-04 Excalibur Ip, Llc Method and system for distributed application stack test certification

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
None
See also references of EP2876552A4

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113220315A (zh) * 2021-06-02 2021-08-06 中国邮政储蓄银行股份有限公司 工具软件的安装、配置和激活的方法与装置

Also Published As

Publication number Publication date
WO2013189395A3 (zh) 2014-02-13
CN103677876A (zh) 2014-03-26
EP2876552A2 (en) 2015-05-27
EP2876552A4 (en) 2015-12-09
US20150227354A1 (en) 2015-08-13

Similar Documents

Publication Publication Date Title
WO2013189395A2 (zh) 一种软件安装包制作及软件安装方法、设备及系统
US11922177B2 (en) Securely and reliably transferring startup script
US9075693B2 (en) Methods for updating applications
US9128797B2 (en) Method and system for software upgrade
CN102523268B (zh) 一种客户端升级方法和系统
US8645672B2 (en) Configuring a computer system for a software package installation
US8645942B2 (en) Software update syndication
TWI712956B (zh) 行動終端應用程式的更新方法和裝置
WO2016177061A1 (zh) 一种空中下载技术升级方法和装置
WO2019201039A1 (zh) 一种更新应用程序的方法、系统及应用服务器
JP5122467B2 (ja) メタデータを用いるマルチメディアミドルウェア装置とその制御方法及び記憶媒体
WO2012151993A1 (zh) 业务推送方法和装置
CN102411508B (zh) 插件管理方法、插件控制器及插件管理器和机顶盒
CN103095838A (zh) 一种通过下载增量升级包来升级安卓智能手机软件的方法
WO2013189312A1 (zh) 升级包生成方法和装置、动态文件差分升级的方法和终端
CN104852971B (zh) 一种插件式协议装置及基于插件式协议的数据通信方法
CN104090946A (zh) 应用安装包中添加信息的方法及装置
US20140201316A1 (en) Streaming zip
WO2018010597A1 (zh) 应用于智能设备的无线下载安装方法及系统
CN105740298A (zh) 文件处理方法、装置及服务端设备
CN112035160A (zh) 代码管理系统及其控制方法
CN113535254A (zh) 一种微服务的处理方法、部署方法和相关装置
EP2680135B1 (en) Methods for updating applications
CN109697080B (zh) 一种物联网操作系统在线升级方法
CN113190627A (zh) 基于nginx和Mycat的信息系统架构及其配置方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13807749

Country of ref document: EP

Kind code of ref document: A2

WWE Wipo information: entry into national phase

Ref document number: 2013807749

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 14424459

Country of ref document: US