CN104820602A - Method, device and system for publishing software package - Google Patents

Method, device and system for publishing software package Download PDF

Info

Publication number
CN104820602A
CN104820602A CN201510252938.7A CN201510252938A CN104820602A CN 104820602 A CN104820602 A CN 104820602A CN 201510252938 A CN201510252938 A CN 201510252938A CN 104820602 A CN104820602 A CN 104820602A
Authority
CN
China
Prior art keywords
file
software
software package
installation kit
structural description
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510252938.7A
Other languages
Chinese (zh)
Inventor
崔肖宾
盛颖
杨绍波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Rising Information Technology Co Ltd
Original Assignee
Beijing Rising Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Rising Information Technology Co Ltd filed Critical Beijing Rising Information Technology Co Ltd
Priority to CN201510252938.7A priority Critical patent/CN104820602A/en
Publication of CN104820602A publication Critical patent/CN104820602A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method, a device and a system for publishing a software package. The method comprises the following steps: obtaining an original document and a structural description document of a software installation package in a cloud side server, wherein the original document of the software installation package comprises a plurality of software package folders; according to preset software package customization demands, selecting parts or all software package folders in the original document of the software installation package to serve as a customization software package document set, revising the structural description document to form a customization structural description document, and forming a customization software installation package by the customization structural description document and the customization software package document set; and according to a software package downloading request of a client side, sending the corresponding customization software package to the client side. The software publishing of a software developer is set on a cloud, the manufacture of the customization software installation package can be carried out in a local server, users can set according to demands, and the software publishing can be more convenient and more easily meets the specific demands of the software packages of different client sides.

Description

Software package dissemination method, Apparatus and system
Technical field
The present invention relates to computer software technical field, particularly relate to a kind of software package dissemination method, Apparatus and system.
Background technology
Existing Software deployment pattern is all generally the convenience utilizing Internet Transmission, and first releasing software bag on a web-site, then user downloads and installs.In time having redaction to issue, place AKU in web site, the on-line automatic upgrading of user.But this software metric tools mode, the issue of software needs the use user looking after miscellaneous editions, therefore, needs to place multiple AKU on website.The communication traffic that user takies when upgrading is large, puts to no little inconvenience, meanwhile, even if arrange the software package customized demand that multiple AKU is also difficult to look after different user.
Summary of the invention
Based on this, be necessary the problem being difficult to take into account different user software package customized demand for software package published method in prior art, there is provided a kind of cloud server releasing software installation kit, the software package dissemination method of home server customization different clients software installation kit.
For realizing a kind of software package dissemination method that the object of the invention provides, comprise the following steps:
Obtain the software installation kit source document in cloud server and structural description file; Multiple software package file folder is comprised in described software installation kit source document;
The some or all of software package file in described software installation kit source document is selected to press from both sides as customized software APMB package collection according to the software package customized demand preset, and revise described structural description file formation customization structural description file, described customization structural description file and described customized software APMB package collection are formed customized software installation kit together;
According to the software package download request of client, the customized software installation kit of correspondence is sent to described client.
As a kind of embodiment of software package dissemination method, described structural description file is multiple, the corresponding described structural description file of each described software package file folder, and the tactful configuration requirement in described default software package customized demand is stored in described customized software installation kit with the form of configuration file.
As a kind of embodiment of software package dissemination method, have the description of corresponding software package file being pressed from both sides to each sub-software package file folder and the software package file comprised in described structural description file, the method is further comprising the steps of:
When upgrading described customized software installation kit, download the new structural description file in described cloud server;
Described new structural description file and the local last structural description file downloaded from described cloud server are compared, has judged whether that software package file changes; If not, then stop renewal rewards theory, if so, then perform following steps:
Download and store the new software package file changed, and the structural description file of corresponding modify this locality;
Described new software package file is used to replace software package file corresponding in described customized software installation kit.
As a kind of embodiment of software package dissemination method, according to preset time period, described customized software installation kit is upgraded.
As a kind of embodiment of software package dissemination method, to press from both sides the title that the title of corresponding structural description file and described software package file press from both sides identical or corresponding with described software package file, and each and described software package file press from both sides in corresponding structural description file record Current software APMB package and press from both sides Folder Name, file update time, folder identifier, and the file name of file in described Current software APMB package folder, the store path of file in described current file folder, the cryptographic hash of file and file overlay marks.
As a kind of embodiment of software package dissemination method, described default software package customized demand comprises two or more, described customized software installation kit comprises the customized software installation kit corresponding with software package customized demand default often kind described, and often kind of described customized software installation kit comprises the customized software installation kit of multiple different editions.
Based on a kind of software package distributing device of same inventive concept, comprise file acquisition module, installation kit generation module and installation kit sending module, wherein:
Described file acquisition module, is configured to obtain software installation kit source document and structural description file from cloud server, and comprises multiple software package file folder in described software installation kit source document;
Described installation kit generation module, be configured to select the some or all of software package file in described software installation kit source document to press from both sides as customized software APMB package collection according to the software package customized demand preset, and revise described structural description file formation customization structural description file, described customization structural description file and described customized software APMB package collection are formed customized software installation kit together;
Described installation kit sending module, is configured to the software package download request according to client, and the customized software installation kit of correspondence is sent to described client.
Embodiment as a kind of software package distributing device:
Described structural description file is multiple, the corresponding described structural description file of each described software package file folder, and the tactful configuration requirement in described default software package customized demand is stored in described customized software installation kit with the form of configuration file, there is in described structural description file the description of corresponding software package file being pressed from both sides to each sub-software package file folder and the software package file comprised; And
This device also comprises the first upgraded module, when upgrading described customized software installation kit, starts described first upgraded module, and described first upgraded module comprises description document download submodule, comparison sub-module and implementation sub-module, wherein:
Described download submodule, is configured to download new structural description file from described cloud server;
Described comparison sub-module, is configured to described new structural description file and the local last structural description file downloaded from described cloud server to compare, and has judged whether that software package file folder changes; If not, then stop renewal rewards theory, if so, then turn and perform described implementation sub-module;
Described implementation sub-module, is configured to download and stores the new software package file changed, the structural description file of corresponding modify this locality, and uses described new software package file to replace software package file folder corresponding in described customized software installation kit.
Based on a kind of software package delivery system of same inventive concept, comprise cloud server, home server and client, connected by internet between described cloud server and described home server, described client and described home server are in same LAN (Local Area Network), and are configured with the software package distributing device described in claim 7 or 8 in described home server.
As a kind of embodiment of software package delivery system, described home server is multiple, and the software package distributing device in described home server also comprises the second upgraded module;
Described second upgraded module, be configured to the described structural description file in other home servers of lower carrier communication connection, structural description file in downloaded described structural description file and current home server is compared, and download the software package file of up-to-date upgrading in other servers, use the software package file of described up-to-date upgrading to replace the corresponding software package file in the described customized software installation kit in current home server.
Beneficial effect of the present invention comprises: a kind of software package dissemination method provided by the invention, the software metric tools of software development side is arranged on high in the clouds, the making of customized software installation kit is placed in home server to be carried out, therefore user can be arranged voluntarily, generate the customized software installation kit needed, and improve from software installation kit source without the need to software development side.Make the issue of software and the deployment relative separation of software, the software customized demand of different clients while reducing the work of software development side, can be looked after.The software package distributing device provided based on same inventive concept and system have above advantage equally.
Accompanying drawing explanation
Fig. 1 is the system architecture schematic diagram of a specific embodiment of a kind of software package delivery system of the present invention;
Fig. 2 is the structural representation of a specific embodiment of a kind of software package distributing device of the present invention;
Fig. 3 is multiple software package file folder store status schematic diagram in a specific embodiment of a kind of software package of the present invention distributing device;
Fig. 4 is the structural representation of another specific embodiment of a kind of software package distributing device of the present invention;
Fig. 5 is the structural representation of a specific embodiment again of a kind of software package distributing device of the present invention;
Fig. 6 is the process flow diagram of a specific embodiment of a kind of software package dissemination method of the present invention;
Fig. 7 is the process flow diagram that a specific embodiment of a kind of software package dissemination method of the present invention carries out the renewal of software installation kit.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, be described below in conjunction with the embodiment of accompanying drawing to software package dissemination method of the present invention, Apparatus and system.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The software package delivery system of one embodiment of the invention, as shown in Figure 1, is comprised the cloud server 100 being arranged on high in the clouds, is connected by the Internet with cloud server 100, and can carry out the home server 200 of data transmission.Wherein, a cloud server 100 can connect multiple home server 200, and multiple home server forms client server group.Certainly, also comprise concrete use software installation kit in system, and wish that timing or not timing carry out to software the client 300 upgraded of upgrading.Client 300 and home server 200 are in same LAN (Local Area Network), therefore, when client 300 is downloaded original software installation kit from home server 200 or carried out the renewal of software installation kit, can carry out in LAN (Local Area Network) inside, the internet that need not connect produces data traffic.Wherein client 300 can be desk-top computer, portable computer and other can carry out the mobile terminal device of software installation.
As shown in fig. 1, a home server 200 can connect multiple client 300.If three home servers 200 in Fig. 1 are respectively the first home server, the second home server and the 3rd home server from left to right, four clients 300 are respectively the first client, the second client, the 3rd client and the 4th client from left to right.Then between client and home server, intercommunication rate is the highest, four clients are connected with three home servers respectively.Like this, after arbitrary home server carries out software package renewal from cloud server 100, client all can from its down loading updating software package.
Wherein, cloud server is the initial end of software metric tools, and software development side is by the software installation kit source document of all latest editions for Software for producing installation kit and the installation kit recording All Files, all properties of plug-in unit, the structural description file of version and latest edition.And all operations of cloud server is completed by software metric tools side.A software package distributing device 201 is provided with in every platform home server, home server downloads software installation kit source document and structural description file by described software package distributing device 201 from cloud server 100, and formulates specific software installation kit according to the software customized demand of client.
Concrete, as shown in Figure 2, software package distributing device 201 comprises file acquisition module 210, installation kit generation module 220 and installation kit sending module 230.
Wherein, file acquisition module 210, is configured to obtain software installation kit source document and structural description file from cloud server.Wherein, multiple software package file folder is comprised in software installation kit source document.And as shown in Figure 3, described multiple software package file folder by tree-like storage, can be arranged a main folder, arranges multiple sub-folder in main folder, arrange sub-folder again in each sub-folder.So, each file that can modify separately is placed in one file, follow-up when again software package being upgraded, file that can be only corresponding in amendment or alternate file folder, and need not by whole file even main folder replace.Make the renewal of software package, upgrade more convenient, efficiency improves greatly.
Also it should be noted that, each sub-folder represents an assembly of software, is provided with a structural description file identical or corresponding with Folder Name in each file.Structural description file is used for the attribute of the All Files described in the attribute of assembly and place software package file folder.Component property described by structural description file is as follows:
◆ version: for recording current component version, and edition comparison
◆ title: component Name
◆ update time: assembly update time
◆ ID: the unique identification of assembly
The information of the attribute of the file described by structural description file is as follows:
title: file name
path: the relative path of file in file
version: the version of file
file cryptographic hash: the unique identification of file, file has any change, and this value all can change
update time: the update time of file
file size: for the size of log file
overlay marks: mark the file whether this file may be used for replacing client.Such as some clients
The data file that end produces just does not allow to be capped
Certainly, major description document corresponding to main folder is also included in main folder.And this main structure description document is compared with other structural description files, have self certain characteristic, major description document comprises the information of installation kit attribute and component property, specifically comprises following content:
Installation kit attribute:
● version: the version number of installation kit
● update time: the final updating time of installation kit
● script file: script file path
● pattern: the parameter (installation of whether mourning in silence) of installation process related definition
Component property:
◆ title: component Name
◆ version: component version number
◆ type: type belonging to assembly (correlation parameter of assembly self definition)
◆ ID: the unique identification of assembly
◆ file Hash: the MD5 value of the description document in file belonging to assembly
◆ script path: the relative position of script belonging to assembly
◆ must mark be filled: whether be must arrangement
◆ acquiescence display: whether installation interface acquiescence chooses this assembly
◆ acquiescence display: whether show this assembly in installation interface
◆ component description: the component description that installation interface shows
◆ upgrade mode: spontaneous level is still upgraded by extension element
◆ extended attribute 1: the client installation path of other assemblies (third party's installation component) and configuration
◆ extended attribute 2: the client upgrading path of other assemblies (third party's installation component) and configuration
◆ extended attribute 3: the client server upgrading of other assemblies (third party's installation component) and configuration
◆ boot sequence: the boot sequence after assembly installation
From the content of structural description file as above, software package distribution device by checking that each structured document is to judge whether current file changes, and upgrades in time vicissitudinous time., also can find out, as long as the file in file changes, the content of pressing from both sides in the structural description file comprised with regard to concordance file is modified meanwhile.And extended attribute enables whole software package delivery system support, and the third party software of client or home server is installed.
Home server stores in this locality according to the store status identical with cloud server after downloading the software package file folder in described cloud server 100, to generate the software installation kit meeting client demand.
Installation kit generation module 220 in software package distributing device, be configured to select the some or all of software package file in described software installation kit source document to press from both sides as customized software APMB package collection according to the software package customized demand preset, and revise described structural description file formation customization structural description file, described configuration file and described customized software APMB package collection are formed customized software installation kit together.
Herein, home server is increased and decreased by the mode of amendment structural description file to be needed to pack into the assembly (file) in customized software installation kit, and self-defined making meets the software installation kit of client individual needs.Thus by the software metric tools of software development side, distinguish with the issue of the software installation kit of client real needs and drive row into, point to be located in different servers, to solve the problem that software development and issue are difficult to tackle client personalisation customized demand.National Officer can carry out the setting of software installation kit customized demand according to the software installation kit demand of each client at home server, makes home server automatically generate the software installation kit meeting demand in this locality according to the data upgraded from cloud server.And user can revise strategy file according to actual conditions, and (configuration item of some software installation kits is called strategy here, also the software package customized demand preset in home server of i.e. user's setting), and squeeze in installation kit with the form of a structural description file.
Self-defined described installation kit sending module 230 in home server, is configured to the software package download request according to client, and the customized software installation kit of correspondence is sent to described client.
More, home server according to customized demand automatic generating software installation kit, and make determine software installation kit and can retain multiple version, an optional issue (being sent to client) when being sent to client.The customized software installation kit being sent to client can be used as subscription client and completely newly installs and uses, and also can be used as software upgrade package and uses.
It also should be noted that, a cloud server can connect multiple home server group, and the multiple servers in same server group belong to a LAN (Local Area Network), and different server groups can be present in different LAN (Local Area Network).Home server in each server group can independently according to the demand generating custom software installation kit of its client connected.
The software metric tools system of previous embodiment, the software package of software development side is issued and is arranged on high in the clouds, and the home server be connected with cloud server communication is by obtaining the software package information in high in the clouds, generate the customized software installation kit meeting client demand, and the software installation kit spanned file that high in the clouds stores stores with the form of multiple file, makes software issue beyond the clouds need not with respect to the concrete software package demand of different clients.Software metric tools complexity lowers greatly, improves software development side's software metric tools efficiency.Meanwhile, home server, when carrying out software upgrading, only can download the software package file in the file that high in the clouds changes, server stress is less, the bandwidth taken is also less, and in the situations such as the equal network bandwidth, the software upgrading speed of the software metric tools system of the embodiment of the present invention is faster.
In addition, after software development side upgrades the software package file folder in cloud server, home server needs to upgrade timely, to enable connected client obtain the New function of new software version in time.
Upgrade in time to the customized software bag in home server to upgrade according to the file of cloud server, as shown in Figure 4, the software package distributing device 201 in home server also comprises the first upgraded module 240.When upgrading described customized software installation kit, start described first upgraded module 241, and described upgraded module comprises description document download submodule 241, comparison sub-module 242 and implementation sub-module 243.
Wherein, download submodule 241, be configured to download new structural description file from described cloud server.It should be noted that herein, after software package distributing device 201 starts described first upgraded module 240, then again download structured documents all in cloud server 100, said new structural description file is just different from the structural description file use that aforesaid file acquisition module 210 obtains herein, and actual, need when carrying out that in software upgrading operating process, whether home server changes from the structural description file that cloud server obtains again to judge further to know.After software package distributing device gets new structural description file from cloud server again, continue to perform comparison sub-module 242 below, to judge whether the renewal needing to carry out software.
There is in described structural description file the description of corresponding software package file being pressed from both sides to each sub-software package file folder and the software package file comprised.
Described comparison sub-module 242, be configured to described download submodule 241 to compare with the local last structural description file (i.e. the structural description file of current storage home server) downloaded from described cloud server from the new structural description file that cloud server is newly downloaded, judged whether that software package file changes; If not, then stop renewal rewards theory, if so, then turn and perform described implementation sub-module 243.
It should be noted that, in home server, each software package file folder stores with the storage organization identical with cloud server, and each file comprises corresponding structural description file herein.From above to the explanation of structural description file, the content of each file Shi Douhui that changes records the information such as time of its change and the version after upgrading in corresponding structural description file.Therefore, software package distributing device judge by the newly downloaded structural description file of comparison and original structural description file corresponding to the software package file folder software package file that whether there occurs change and specifically change.Certainly, name the content in new structural description file corresponding to identical file and original structural description file to there occurs change if compare two, generally can determine that the corresponding software package file folder in cloud server there occurs change.Need to upgrade file.But it should be noted that, for the file comprising sub-folder, when certain sub-folder that it comprises changes, except structural description file that file is corresponding changes, the structural description file of itself also can change, now, software package distributing device only needs the file that judges to change in sub-folder and carries out downloading, and the All Files folder that current file clip pack contains need not be downloaded, because, the structural description file that some sub-folder now in this file is corresponding be do not have vicissitudinous, vicissitudinous sub-folder is not had not need to download for structural description file.
Described implementation sub-module 243, be configured to download and store the new software package file changed, the structural description file of corresponding modify this locality, and use described new software package file to replace software package file folder corresponding in described customized software installation kit.
According to description above, described implementation sub-module 243 can be selected only to download the software package file changed, and although change be there occurs for structured document, but the file comprising the sub-folder do not changed directly is not downloaded, so, home server can be made to download minimum updating file, and occupied bandwidth is little, and it is high that software package upgrades efficiency.Certainly, alternatively, the minimum software package file folder that download structured document also can be selected to change.
In addition, implementation sub-module 243 is when carrying out local structure description file amendment, and it, except revising structural description file corresponding to newly downloaded sub-folder, also needs to revise the file comprising this son file.
More preferably, wherein in an embodiment, be provided with timed software update module in software package distributing device, it is configured to according to the first upgraded module described in preset time period start by set date the customized software installation kit in home server.Wherein preset time period can set according to the frequent degree of software upgrading, as being set as one month or first quarter moon etc.So, then home server can carry out the renewal of software installation kit completely automatically.Certainly, for any home server, automatically carrying out except software upgrading according to predetermined period except arranging, also can manually boot the renewal updating operation to software installation kit at any time.
In addition, in other embodiments of the invention, while adopting the form of update software APMB package to upgrade to the software installation kit source document on cloud server, the software installation original packet also storing the latest edition of EXE form in synchronous server is beyond the clouds downloaded for home server.Certainly, when software initial release, original packet installed by the software that software development side also can place initial EXE form in server beyond the clouds, and replaces described initial software installation original packet when follow-up renewals.
Software package distributing device 201 is when the file by downloading new renewal in cloud server carries out the renewal of software installation kit, and its whole process completes under outer net environment.And client's side link home server obtain up-to-date customized software installation kit from home server and complete Intranet environment.When obstacle appears in outer net, home server keeper manually can download up-to-date installation kit from high in the clouds, and uploads in a local service.Installation kit decompression can be reduced into the form of file by home server by decompress(ion), and the installation kit original file directories structure that the structure of the file after decompress(ion) and high in the clouds are deposited is completely the same.Then the upgrading of software installation kit is completed by the first upgraded module 240.
More preferably, as shown in Figure 5, can the second upgraded module 250 be set in software package distributing device 201.The second upgraded module 250 is made to be carried out the renewal of software package file folder in time by other home servers when not having outer net to connect.Its concrete implementation is identical with the first Software upgrade module process, is just downloaded from other home servers connected by Intranet when download file.Interconnective home server described herein home server preferably in same home server group, certainly, and if communication between the home server in other groups unimpeded, also can carry out software upgrading from other home servers.Certainly, this process preferably completes under certain guide, first the new software package file folder manually downloaded is stored in a specific home server as keeper is set in fix when obstacle appears in network, and when other home servers carry out timing renewal connection less than cloud server, this particular server of Automatic inquirying carries out software package file folder and upgrades.Thus when realizing outer net asynthesis, only manually need download and install bag in a home server, other home servers enter mutual upgrade mode automatically, use Intranet to complete software packet upgrade quickly and automatically.
And, even if when network does not have obstacle, the a certain too home server that also can arrange in home server group preferentially carries out the renewal of software installation kit from cloud server, and other are attached thereto the pattern that the home server connect adopts upgrading mutually, carried out the renewal of software installation kit by this home server.
Corresponding with aforesaid software metric tools device, the present invention also provides a kind of software distribution method, and the realization of the method, by the Implement of Function Module of aforementioned means, repeats part and repeats no more.
The software package dissemination method of one embodiment of the invention, as shown in Figure 6, comprises the following steps:
S100, obtains the software installation kit source document in cloud server and structural description file.And in described software installation kit source document, comprise multiple software package file folder.Multiple software package file is clipped in cloud server and stores with fixed form.Preferably, multiple sub-folder can be contained with a general act clip pack, and the tree form that sub-folder comprises sub-folder again stores.Other association home server and client downloads installation kit source document after, also store according to original file layout.So, the renewal directly can carrying out file or file when upgrading, upgrading is just passable.
S200, the some or all of software package file in described software installation kit source document is selected to press from both sides as customized software APMB package collection according to the software package customized demand preset, and revise described structural description file formation customization structural description file, described customization structural description file and described customized software APMB package collection are formed customized software installation kit together.This step is packaged into customized software installation kit according to demand according to the software package file folder downloaded from cloud server.It should be noted that, in a home server, polytype customized software installation kit can be made for different clients demand.And the software installation kit of same type also can store multiple version.So, the various customized demand of client software installation kit time software development side carries out software metric tools beyond the clouds, can be taken into account, make the issue of software more convenient.And the software installation kit source document form that multiple software package file is pressed from both sides beyond the clouds exists, and only revises corresponding file when making installation kit upgrade.
S300, according to the software package download request of client, is sent to described client by the customized software installation kit of correspondence.
The making of customized software installation kit can be placed in home server to be carried out, and therefore user can be arranged voluntarily, and improves from software installation kit source without the need to software development side.Make the issue of software and the deployment relative separation of software, the software customized demand of different clients while reducing the work of software development side, can be looked after.
Wherein, the structural description file downloaded from high in the clouds is multiple, the corresponding described structural description file of each described software package file folder, certainly, amended customization structural description file is also multiple, downloads in local each software package file folder and comprises a customization structured file.And the tactful configuration requirement in described default software package customized demand is to be stored in described customized software installation kit with the form of configuration file.So, client downloads and use customized software installation kit carry out software install time, software will have some specific configuration features.As for an antivirus software, use the client of same customized software installation kit can be configured to automatically start virus killing etc. at a certain special time.Make software installation kit more can adapt to the particular demands of client.
Also it should be noted that, in step S200, build in customized software installation kit process, be according to the customized demand of software installation kit select download and install in bag source document partial document folder set up, certainly, if lacked one or two files than originally in certain file, then need to modify to the structural description file corresponding to file, formed customization structural description file.And not having vicissitudinous for file inside, then the structural description file that it can be used original remains unchanged as new customization structural description file.
Wherein, there is in described structural description file the description of corresponding software package file being pressed from both sides to each sub-software package file folder and the software package file comprised.In software package dissemination method of the present invention, when needs upgrade customized software installation kit, perform according to the following steps:
S101, downloads the new structural description file in described cloud server.
S102, compares described new structural description file and the local last structural description file downloaded from described cloud server, has judged whether that software package file changes; If not, then stop renewal rewards theory, if so, then perform step S103 and step S104 and carry out customized software installation kit and upgrade.
S103, downloads and stores the new software package file changed, and the structural description file of corresponding modify this locality.Structured document there occurs change, as different from the structured document in current home server update time, then illustrate that in cloud server, software package file accompanies renewal, needs to carry out downloading and upgrading this locality.Certainly, after local software package file folder upgrades, in the structural description file that its file is corresponding, content also needs to upgrade accordingly.
S104, uses described new software package file to replace software package file folder corresponding in described customized software installation kit.When then client is again asked software package to be installed or asks software package to upgrade after software package file folder in customized software installation kit upgrades, then can send the customized software installation kit after renewal to client.
The software package dissemination method of the embodiment of the present invention, when needs carry out the renewal of software installation kit, only downloads the software package file needing in multiple software package file folder to change.And early stage is when carrying out software package file folder and judging the need of renewal, as long as download the structural description file that each file is corresponding, whether the content of carrying out structural description file changes and judges, structural description file content changes, then judge in current file folder, to there is the file needing to upgrade, if Current software APMB package folder is minimum file (not comprising sub-folder), then judge need the software package file of renewal in Current software APMB package folder and download.Adopt the method to carry out software installation kit upgrading broadband occupancy low, software packet upgrade judge and upgrading efficiency high.
In addition, cycle regular hour can be set, according to preset time period, customized software installation kit is upgraded, so, can to upgrade software installation kit regularly automatically according to the time cycle, for client provides up-to-date software installation kit, to allow user experience the function of the most newly-set-up software in time.
Wherein, beyond the clouds server and using store in the home server of this method to press from both sides the title that the title of corresponding structural description file and described software package file press from both sides identical or corresponding with described software package file, set all in advance, the title used in different memory locations and the structure of storage all identical.And each and described software package file press from both sides in corresponding structural description file record Current software APMB package and press from both sides Folder Name, file update time, folder identifier, and the file name of file in described Current software APMB package folder, the store path of file in described current file folder, the cryptographic hash of file and file overlay marks.Also comprise, the version number that current file folder is corresponding.Wherein, whether described file overlay marks is used for tab file and can be capped, and for the software application data of the storage of some clients, can be labeled as and can not cover, thus can retain some usage datas of client when software package upgrades.
Wherein, press from both sides for multiple software package file, can arrange a major software APMB package folder, the software package file related to by other software installation kits folder is all placed in described major software APMB package folder.When carrying out software installation kit renewal (upgrading), flow process is as shown in Figure 7 carried out.First download the major description document that described main folder is corresponding, and judge whether it has renewal (judging whether content changes), if not change, then stop upgrading.If find, major description document is by changing, then continue the version number that judges to comprise in major description document and whether cryptographic hash has renewal, if not renewal, then terminates renewal rewards theory.If the version number in major description document or cryptographic hash change, then illustrate there is renewal, then continue to search the assembly (software package file folder) needing to upgrade.After finding the assembly of a needs download, the download parameters of reading assembly, and perform the renewal rewards theory (software package file in download component, and the software package file in the file of local relevant position is replaced), and the download parameters continuing to read the assembly that next needs upgrade upgrades, until complete all renewals needing the assembly upgraded.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in the computer read/write memory medium as home server, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
The above embodiment only have expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (10)

1. a software package dissemination method, is characterized in that, comprises the following steps:
Obtain the software installation kit source document in cloud server and structural description file; Multiple software package file folder is comprised in described software installation kit source document;
The some or all of software package file in described software installation kit source document is selected to press from both sides as customized software APMB package collection according to the software package customized demand preset, and revise described structural description file formation customization structural description file, described customization structural description file and described customized software APMB package collection are formed customized software installation kit together;
According to the software package download request of client, the customized software installation kit of correspondence is sent to described client.
2. software package dissemination method according to claim 1, it is characterized in that, described structural description file is multiple, the corresponding described structural description file of each described software package file folder, and the tactful configuration requirement in described default software package customized demand is stored in described customized software installation kit with the form of configuration file.
3. software package dissemination method according to claim 2, is characterized in that, have the description of corresponding software package file being pressed from both sides to each sub-software package file folder and the software package file comprised in described structural description file, the method is further comprising the steps of:
When upgrading described customized software installation kit, download the new structural description file in described cloud server;
Described new structural description file and the local last structural description file downloaded from described cloud server are compared, has judged whether that software package file changes; If not, then stop renewal rewards theory, if so, then perform following steps:
Download and store the new software package file changed, and the structural description file of corresponding modify this locality;
Described new software package file is used to replace software package file corresponding in described customized software installation kit.
4. software package dissemination method according to claim 3, is characterized in that, upgrades described customized software installation kit according to preset time period.
5. the software package dissemination method according to any one of claim 2 to 4, it is characterized in that, to press from both sides the title that the title of corresponding structural description file and described software package file press from both sides identical or corresponding with described software package file, and each and described software package file presss from both sides in corresponding structural description file the Folder Name recording Current software APMB package and press from both sides, file update time, folder identifier, and the file name of file in described Current software APMB package folder, the store path of file in described current file folder, the cryptographic hash of file and file overlay marks.
6. software package dissemination method according to claim 1, it is characterized in that, described default software package customized demand comprises two or more, described customized software installation kit comprises the customized software installation kit corresponding with software package customized demand default often kind described, and often kind of described customized software installation kit comprises the customized software installation kit of multiple different editions.
7. a software package distributing device, is characterized in that, comprises file acquisition module, installation kit generation module and installation kit sending module, wherein:
Described file acquisition module, is configured to obtain software installation kit source document and structural description file from cloud server, and comprises multiple software package file folder in described software installation kit source document;
Described installation kit generation module, be configured to select the some or all of software package file in described software installation kit source document to press from both sides as customized software APMB package collection according to the software package customized demand preset, and revise described structural description file formation customization structural description file, described customization structural description file and described customized software APMB package collection are formed customized software installation kit together;
Described installation kit sending module, is configured to the software package download request according to client, and the customized software installation kit of correspondence is sent to described client.
8. software package distributing device according to claim 7, is characterized in that:
Described structural description file is multiple, the corresponding described structural description file of each described software package file folder, and the tactful configuration requirement in described default software package customized demand is stored in described customized software installation kit with the form of configuration file, there is in described structural description file the description of corresponding software package file being pressed from both sides to each sub-software package file folder and the software package file comprised; And
This device also comprises the first upgraded module, when upgrading described customized software installation kit, starts described first upgraded module, and described first upgraded module comprises description document download submodule, comparison sub-module and implementation sub-module, wherein:
Described download submodule, is configured to download new structural description file from described cloud server;
Described comparison sub-module, is configured to described new structural description file and the local last structural description file downloaded from described cloud server to compare, and has judged whether that software package file folder changes; If not, then stop renewal rewards theory, if so, then turn and perform described implementation sub-module;
Described implementation sub-module, is configured to download and stores the new software package file changed, the structural description file of corresponding modify this locality, and uses described new software package file to replace software package file folder corresponding in described customized software installation kit.
9. a software package delivery system, it is characterized in that, comprise cloud server, home server and client, connected by internet between described cloud server and described home server, described client and described home server are in same LAN (Local Area Network), and are configured with the software package distributing device described in claim 7 or 8 in described home server.
10. software package delivery system according to claim 9, is characterized in that, described home server is multiple, and the software package distributing device in described home server also comprises the second upgraded module;
Described second upgraded module, be configured to the described structural description file in other home servers of lower carrier communication connection, structural description file in downloaded described structural description file and current home server is compared, and download the software package file of up-to-date upgrading in other servers, use the software package file of described up-to-date upgrading to replace the corresponding software package file in the described customized software installation kit in current home server.
CN201510252938.7A 2015-05-18 2015-05-18 Method, device and system for publishing software package Pending CN104820602A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510252938.7A CN104820602A (en) 2015-05-18 2015-05-18 Method, device and system for publishing software package

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510252938.7A CN104820602A (en) 2015-05-18 2015-05-18 Method, device and system for publishing software package

Publications (1)

Publication Number Publication Date
CN104820602A true CN104820602A (en) 2015-08-05

Family

ID=53730906

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510252938.7A Pending CN104820602A (en) 2015-05-18 2015-05-18 Method, device and system for publishing software package

Country Status (1)

Country Link
CN (1) CN104820602A (en)

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105528232A (en) * 2016-01-27 2016-04-27 国家电网公司 Automatic installation method and system for software
CN106020991A (en) * 2016-05-13 2016-10-12 北京思特奇信息技术股份有限公司 Application synchronization and release method and system based on cloud environment
CN106445548A (en) * 2016-10-11 2017-02-22 武汉斗鱼网络科技有限公司 Test pack issuing method and device
CN106933609A (en) * 2015-12-29 2017-07-07 北京五八信息技术有限公司 The generation method and device of Android application program installation kits
CN107346248A (en) * 2017-07-04 2017-11-14 北京像素软件科技股份有限公司 platform identification method and device
CN107547519A (en) * 2017-07-31 2018-01-05 新华三大数据技术有限公司 Wireless big data dispositions method and device
CN107832114A (en) * 2017-11-17 2018-03-23 上海瀚银信息技术有限公司 A kind of method that application modules are configured
CN108710511A (en) * 2018-05-09 2018-10-26 成都市极米科技有限公司 The system setting method of android system, the separation method and upgrade package generation method of custom pack and system ROM packets
CN108762796A (en) * 2018-05-09 2018-11-06 成都市极米科技有限公司 A kind of android system upgrade method and its storage device
CN108762806A (en) * 2018-05-09 2018-11-06 成都市极米科技有限公司 A kind of android system custom pack piece-rate system, customization upgrade package generate system and its implementation
CN109375942A (en) * 2018-11-12 2019-02-22 中山乐心电子有限公司 The update system and method for Intelligent bracelet
CN109408486A (en) * 2018-10-29 2019-03-01 珠海格力电器股份有限公司 File publishing method and system, publisher server and file creating apparatus
CN109858760A (en) * 2018-12-29 2019-06-07 航天信息股份有限公司 A kind of appraisal procedure of finance APP product release cycle
CN110413292A (en) * 2019-07-22 2019-11-05 深圳证券交易所 Light application installation method, mobile terminal and the storage medium of application program
CN110502255A (en) * 2018-05-17 2019-11-26 许昌许继软件技术有限公司 A kind of software update system of track traffic synthetic monitoring system
CN110597767A (en) * 2019-08-08 2019-12-20 北京盛赞科技有限公司 Data segmentation method, device and equipment and computer readable storage medium
CN110716740A (en) * 2019-09-24 2020-01-21 肖银皓 Distributed embedded software resource integration platform and use method
CN110865796A (en) * 2019-09-29 2020-03-06 深圳市火乐科技发展有限公司 Software customization method and device for projection equipment
CN112068872A (en) * 2020-09-11 2020-12-11 上海湃睿信息科技有限公司 Cloud management platform based on intranet software
CN112579049A (en) * 2019-09-30 2021-03-30 北京国双科技有限公司 Customized software productization management method and device based on cloud platform
CN112612492A (en) * 2020-12-18 2021-04-06 百望股份有限公司 Remote upgrading method for enterprise invoice software system
CN113392388A (en) * 2021-05-19 2021-09-14 杭州宇泛智能科技有限公司 Terminal, cloud verification method and system for autonomous customized service
CN113641334A (en) * 2021-06-28 2021-11-12 深圳拔越软件有限公司 Software customization method and system
CN114896571A (en) * 2022-05-10 2022-08-12 北京航智信息技术有限公司 Method and system for authorizing and controlling installation and use of synchronous application market APP
CN116755724A (en) * 2022-11-29 2023-09-15 华东师范大学 PCA software and installation method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102004640A (en) * 2010-11-11 2011-04-06 深圳市文鼎创数据科技有限公司 Method and device for rapidly providing customized software package
CN102105874A (en) * 2008-07-28 2011-06-22 微软公司 Computer application packages with customizations
US20110289495A1 (en) * 2004-12-15 2011-11-24 Apple Inc. Software update management
CN102945175A (en) * 2012-11-09 2013-02-27 杭州易和网络有限公司 Terminal software online upgrading system and method based on cloud computing environment
CN103761107A (en) * 2014-02-13 2014-04-30 福建星网视易信息系统有限公司 Software package customizing device and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110289495A1 (en) * 2004-12-15 2011-11-24 Apple Inc. Software update management
CN102105874A (en) * 2008-07-28 2011-06-22 微软公司 Computer application packages with customizations
CN102004640A (en) * 2010-11-11 2011-04-06 深圳市文鼎创数据科技有限公司 Method and device for rapidly providing customized software package
CN102945175A (en) * 2012-11-09 2013-02-27 杭州易和网络有限公司 Terminal software online upgrading system and method based on cloud computing environment
CN103761107A (en) * 2014-02-13 2014-04-30 福建星网视易信息系统有限公司 Software package customizing device and method

Cited By (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106933609A (en) * 2015-12-29 2017-07-07 北京五八信息技术有限公司 The generation method and device of Android application program installation kits
CN105528232A (en) * 2016-01-27 2016-04-27 国家电网公司 Automatic installation method and system for software
CN106020991A (en) * 2016-05-13 2016-10-12 北京思特奇信息技术股份有限公司 Application synchronization and release method and system based on cloud environment
CN106445548B (en) * 2016-10-11 2021-01-01 武汉斗鱼网络科技有限公司 Test packet issuing method and device
CN106445548A (en) * 2016-10-11 2017-02-22 武汉斗鱼网络科技有限公司 Test pack issuing method and device
CN107346248B (en) * 2017-07-04 2020-11-13 北京像素软件科技股份有限公司 Platform identification method and device
CN107346248A (en) * 2017-07-04 2017-11-14 北京像素软件科技股份有限公司 platform identification method and device
CN107547519A (en) * 2017-07-31 2018-01-05 新华三大数据技术有限公司 Wireless big data dispositions method and device
CN107547519B (en) * 2017-07-31 2020-03-06 新华三大数据技术有限公司 Wireless big data deployment method and device
CN107832114A (en) * 2017-11-17 2018-03-23 上海瀚银信息技术有限公司 A kind of method that application modules are configured
CN108710511A (en) * 2018-05-09 2018-10-26 成都市极米科技有限公司 The system setting method of android system, the separation method and upgrade package generation method of custom pack and system ROM packets
CN108762796A (en) * 2018-05-09 2018-11-06 成都市极米科技有限公司 A kind of android system upgrade method and its storage device
CN108762806A (en) * 2018-05-09 2018-11-06 成都市极米科技有限公司 A kind of android system custom pack piece-rate system, customization upgrade package generate system and its implementation
CN110502255B (en) * 2018-05-17 2023-12-29 许昌许继软件技术有限公司 Software upgrading system of rail transit integrated monitoring system
CN110502255A (en) * 2018-05-17 2019-11-26 许昌许继软件技术有限公司 A kind of software update system of track traffic synthetic monitoring system
CN109408486A (en) * 2018-10-29 2019-03-01 珠海格力电器股份有限公司 File publishing method and system, publisher server and file creating apparatus
CN109375942A (en) * 2018-11-12 2019-02-22 中山乐心电子有限公司 The update system and method for Intelligent bracelet
CN109858760A (en) * 2018-12-29 2019-06-07 航天信息股份有限公司 A kind of appraisal procedure of finance APP product release cycle
CN110413292A (en) * 2019-07-22 2019-11-05 深圳证券交易所 Light application installation method, mobile terminal and the storage medium of application program
CN110413292B (en) * 2019-07-22 2023-11-14 深圳证券交易所 Light application installation method of application program, mobile terminal and storage medium
CN110597767A (en) * 2019-08-08 2019-12-20 北京盛赞科技有限公司 Data segmentation method, device and equipment and computer readable storage medium
CN110597767B (en) * 2019-08-08 2022-05-10 北京盛赞科技有限公司 Data segmentation method, device and equipment and computer readable storage medium
CN110716740A (en) * 2019-09-24 2020-01-21 肖银皓 Distributed embedded software resource integration platform and use method
CN110865796B (en) * 2019-09-29 2023-07-25 深圳市火乐科技发展有限公司 Software customization method and device for projection equipment
CN110865796A (en) * 2019-09-29 2020-03-06 深圳市火乐科技发展有限公司 Software customization method and device for projection equipment
CN112579049A (en) * 2019-09-30 2021-03-30 北京国双科技有限公司 Customized software productization management method and device based on cloud platform
CN112068872A (en) * 2020-09-11 2020-12-11 上海湃睿信息科技有限公司 Cloud management platform based on intranet software
CN112612492A (en) * 2020-12-18 2021-04-06 百望股份有限公司 Remote upgrading method for enterprise invoice software system
CN113392388A (en) * 2021-05-19 2021-09-14 杭州宇泛智能科技有限公司 Terminal, cloud verification method and system for autonomous customized service
CN113392388B (en) * 2021-05-19 2023-05-09 杭州宇泛智能科技有限公司 Terminal, cloud verification autonomous customization service method and system
CN113641334A (en) * 2021-06-28 2021-11-12 深圳拔越软件有限公司 Software customization method and system
CN114896571A (en) * 2022-05-10 2022-08-12 北京航智信息技术有限公司 Method and system for authorizing and controlling installation and use of synchronous application market APP
CN116755724A (en) * 2022-11-29 2023-09-15 华东师范大学 PCA software and installation method
CN116755724B (en) * 2022-11-29 2024-02-02 华东师范大学 PCA software installation method

Similar Documents

Publication Publication Date Title
CN104820602A (en) Method, device and system for publishing software package
US10694353B2 (en) Updating web resources
US10713034B2 (en) Updating web resources
CN108279932B (en) Method and device for dynamically configuring user interface of mobile terminal
CA2334004C (en) Backtracked incremental updating
CN103019708A (en) Method and system for releasing software
CN107506219A (en) A kind of general version upgrade method based on android system
CN106598673B (en) Application program upgrading method and system
CN101504669B (en) Web application template issuing method, apparatus and system
CN105407130A (en) Mobile client plug-in system and mobile client plug-in processing method
CN103064666A (en) Multi-channel method and system for issuing software
EP1869924A1 (en) Method for providing contents for mobile communication terminal
CN103037005B (en) The file synchronisation method of online storage service and device
CN112882729A (en) Application image upgrading method and device, computer equipment and storage medium
CN102833350A (en) Processing method and processing device of WebApp updating
CN107368331A (en) The configuration file update method and device of application program
CN109189384A (en) A kind of multiplexing method and device of code
CN110597764B (en) File downloading and version management method and device
CN109426515A (en) The generation method and device of upgrade package
WO2016032496A1 (en) Workflow customization
CN110018857B (en) Method, storage medium, device and method for automatically managing branches in application modularization
CN110457408A (en) Personalized map method for down loading, device, equipment and storage medium
CN108008984A (en) A kind of resource file downloading updating method and device
CN104753986A (en) Terminal, server and e-book synchronization method
CN112988176A (en) Channel package generation method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 100190 Beijing City, Haidian District Zhongguancun Street Branch No. 22 building, room 1301

Applicant after: Beijing Rising Information Technology Co., Ltd

Address before: 100190 Beijing City, Haidian District Zhongguancun Street Branch No. 22 building, room 1301

Applicant before: Beijing Rising Information Technology Co., Ltd.

COR Change of bibliographic data
CB02 Change of applicant information

Address after: 100190 Zhongguancun street, Haidian District, Beijing, No. 22, A1305, 13

Applicant after: Beijing net an Technology Limited by Share Ltd

Address before: 100190 Beijing City, Haidian District Zhongguancun Street Branch No. 22 building, room 1301

Applicant before: Beijing Rising Information Technology Co., Ltd

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20150805

RJ01 Rejection of invention patent application after publication