CN107179918A - Software processing method, apparatus and system - Google Patents

Software processing method, apparatus and system Download PDF

Info

Publication number
CN107179918A
CN107179918A CN201610133219.8A CN201610133219A CN107179918A CN 107179918 A CN107179918 A CN 107179918A CN 201610133219 A CN201610133219 A CN 201610133219A CN 107179918 A CN107179918 A CN 107179918A
Authority
CN
China
Prior art keywords
software
bag
mark
delta package
full dose
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.)
Granted
Application number
CN201610133219.8A
Other languages
Chinese (zh)
Other versions
CN107179918B (en
Inventor
赵凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201610133219.8A priority Critical patent/CN107179918B/en
Publication of CN107179918A publication Critical patent/CN107179918A/en
Application granted granted Critical
Publication of CN107179918B publication Critical patent/CN107179918B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44568Immediately runnable code
    • G06F9/44573Execute-in-place [XIP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention provides a kind of software processing method, apparatus and system;A kind of software packet processing method, including:Bag management system receives the software design patterns request that setting system is sent, and the software design patterns request includes software identification;The bag management system is asked according to the software design patterns, obtains scene type, and according to the scene type, obtain the download address of software kit corresponding with the software identification;The download address of the software kit is carried and returns to the setting system in software design patterns response by the bag management system, so that download address of the setting system according to the software kit, carries out corresponding software design patterns processing;The present invention improves the efficiency of software design patterns.

Description

Software processing method, apparatus and system
Technical field
The present embodiments relate to computer technology, more particularly to a kind of software processing method, device and it is System.
Background technology
Platform is service (Platform as A Service;Referred to as:PaaS) it is commonly used to virtual machine Software is configured.For example, using software kit by software deployment to virtual machine, or use software kit pair The software disposed is upgraded.
In the prior art, software kit is broadly divided into two types:Full dose bag and delta package.It is soft in order to reduce Part bag is transferred to the time of virtual machine, can select to use full dose bag or increment for different application scenarios Bag.For example, for by the scene of software deployment to virtual machine, full dose bag can be used;And for The scene that the software of deployment is upgraded, can use delta package.For example, software deployment is arrived Exemplified by the scene of virtual machine, first, user needs to distinguish specific application scenarios, and according to applied field Scape determines the bag mark of selected software kit, and the mark of software kit then is inputed into PaaS, PaaS The bag mark for the software kit that triggering software deployment system is inputted according to user, is obtained from bag management system The bag identifies corresponding software kit, and the software of virtual machine is disposed using the software kit got. The process upgraded to the software of virtual machine, it is similar with the above-mentioned process by software deployment to virtual machine, Need also exist for user and distinguish specific application scenarios, and selected software is determined according to application scenarios The bag mark of bag.
But, due to using software design patterns mode of the prior art, person is not that is, needed to use it is determined that software Bao Shi, distinguishes specific usage scenario, and determines the bag mark of software kit corresponding with the scene, therefore, The operation element amount of user is result in, and also has certain requirement to the technical requirements of user, so that Cause the problem of software design patterns efficiency is reduced.
The content of the invention
The present invention provides a kind of software processing method, apparatus and system, to solve software in the prior art The problem of efficiency is reduced is set.
In a first aspect, the present invention provides a kind of software processing method, including:
Bag management system receives the software design patterns request that setting system is sent, and the software design patterns request includes Software identification;
The bag management system is asked according to the software design patterns, obtains scene type, and according to the field Scape type, obtains the download address of software kit corresponding with the software identification;
The download address of the software kit is carried and returned in software design patterns response by the bag management system The setting system, so that download address of the setting system according to the software kit, is carried out corresponding Software design patterns processing.
With reference in a first aspect, in the first mode in the cards of first aspect, if the scene class Type is to dispose or extended scene type, then described according to the scene type, is obtained and the software mark Know the download address of corresponding software kit, including:
Query software identifies the mapping relations with the mark of full dose bag, judges whether and the software mark Know the mark of corresponding full dose bag;
If in the presence of from software storage under acquisition the first full dose bag corresponding with the mark of the full dose bag Set address.
The present invention, by the way that when the scene type is deployment or expansion type, the bag management system is sentenced The disconnected mark with the presence or absence of full dose bag corresponding with the software identification;If in the presence of with the software identification pair The mark for the full dose bag answered, then pass through the download address of the corresponding first full dose bag of the software identification soft Part sets response to return to setting system;If in the absence of the mark of full dose bag corresponding with the software identification, Then mapping relations of query software mark and the mark of delta package, and it is determined that in the presence of with the software identification During the mark of corresponding delta package, by the download address and increment of the corresponding delta package of the software identification The download address of the basis bag (that is, second full dose bag) of bag returns to setting by software design patterns response System;Realize under upgrading or extended scene, the preferential mode using full dose bag, to reduce to virtual The time of machine transmitting software bag.
With reference to the first mode in the cards of first aspect, second in first aspect may realization Mode in, methods described also includes:
If being not present, the mapping relations of query software mark and the mark of delta package, if in the presence of with it is described The mark of the corresponding delta package of software identification, then obtain the mark with the delta package from the software storage Know the download address of corresponding delta package;
The version of the basis bag of the delta package is obtained, and is wrapped according to the software identification, the basis Version, the mapping relations of query software mark and the mark of full dose bag, obtains corresponding second full dose bag Mark;
From the software storage, the second full dose bag corresponding with the mark of the second full dose bag is obtained Download address;
Then the mark of the software kit is carried and returns to institute in software design patterns response by the bag management system Setting system is stated, including:
The bag management system is by the download of the download address of the delta package and the second full dose bag Location is carried returns to the setting system in software design patterns response.
The present invention, by being also provided when in the absence of full dose bag using delta package and the delta package Basis wraps to carry out the mode of software design patterns, so as to improve the success rate of software design patterns operation.
With reference in a first aspect, in the third mode in the cards of first aspect, if the scene class Type is upgrading scene type, then described according to the scene type, is obtained corresponding with the software identification The download address of software kit, including:
Query software identifies the mapping relations with the mark of delta package, judges whether and the software mark Know the mark of corresponding delta package;
If in the presence of being obtained and the download of the corresponding delta package of mark of the delta package from software storage Address.
The present invention, by the way that when the scene type is upgrading type, the bag management system judges whether In the presence of the mark of delta package corresponding with the software identification;If increasing in the presence of corresponding with the software identification The mark of bag is measured, then is responded the download address of the corresponding delta package of the software identification by software design patterns Return to setting system;If in the absence of the mark of delta package corresponding with the software identification, inquiring about soft Part identifies the mapping relations with the mark of full dose bag, and it is determined that in the presence of corresponding with the software identification complete When measuring the mark of bag, the download address of the corresponding full dose bag of the software identification is responded by software design patterns Return to setting system;Realize under upgrading scene, the preferential mode using delta package, with reduce to The time of virtual machine transmitting software bag.
With reference to the third mode in the cards of first aspect, the 4th kind in first aspect may realize Mode in, methods described also includes:
If being not present, query software mark and full dose bag mark mapping relations, obtain with it is described soft Part identifies the mark of corresponding full dose bag;
From the software storage, the download address of full dose bag corresponding with the mark of the full dose bag is obtained.
The present invention, software design patterns are carried out by being also provided when in the absence of delta package using full dose bag Mode, so as to improve the success rate of software design patterns operation
With reference in a first aspect, in the 5th kind of mode in the cards of first aspect, methods described is also wrapped Include:
The bag management system receives the delta package uploaded, and obtains the bag description of the delta package of the upload File;The delta package of the upload is sent to software storage by the bag management system, for the software Warehouse preserves the delta package of the upload, and the mark of the delta package of the upload of generation is returned into institute State bag management system;
The mark and the increment of the upload for the software that the bag management system is set up in the bag description file The mapping relations of the mark of bag;
The bag management system describes software identification and basic bag version in file according to the bag, obtains The mark wrapped with the basis of the delta package of the upload, and obtained and the increment from the software storage The corresponding basis bag of mark of the basis bag of bag;
The bag management system merges processing to the delta package and the basis bag of the upload, obtains The full dose bag of redaction, and the full dose bag of the redaction is sent to the software storage, for described Software storage preserves the full dose bag of the redaction, and by the mark of the full dose bag of the redaction of generation Return to the bag management system;
The mark and the redaction full dose for the software that the bag management system is set up in the bag description file The mapping relations of the mark of bag.
The present invention, is closed by the bag management system to the delta package and the basic bag of the upload And handle, obtain the full dose bag of redaction;So that developer only need to make and tie up when upgrading software Protect delta package, and full dose bag can by bag management system merge obtain, therefore save software kit making and Maintenance cost.
With reference to the 5th kind of mode in the cards of first aspect, the 6th kind in first aspect may realize Mode in, the bag management system merges processing to the delta package of the upload and the basis bag, Including:
The bag management system using the upload delta package file, to it is described basis bag in it is described The corresponding file of file of the delta package of upload is covered;
Or, the merging in the bag management system in the bag description file of the delta package of the upload Mode is described, and the delta package and the basis bag to the upload are merged;
Or, the bag management system performs the merging script of the delta package of the upload, is uploaded to described Delta package and it is described basis bag merge.
Second aspect, the present invention provides a kind of software processing method, including:
Setting system sends software design patterns request to bag management system, and the software design patterns request includes software Mark, so that the bag management system is asked according to the software design patterns, acquisition scene type, and according to The scene type, obtains the download address of software kit corresponding with the software identification;
The setting system receives the software design patterns response that the bag management system is sent, the software design patterns Response includes the download address of the software kit;
The setting system carries out corresponding software design patterns processing according to the download address of the software kit.
The third aspect, the present invention provides a kind of software processing device, including:
Receiving module, the software design patterns request for receiving the transmission of setting system, the software design patterns request Including software identification;
Acquisition module, for being asked according to the software design patterns, obtains scene type, and according to the field Scape type, obtains the download address of software kit corresponding with the software identification;
Sending module, is returned to for the download address of the software kit to be carried in software design patterns response The setting system, so that download address of the setting system according to the software kit, is carried out corresponding Software design patterns processing.
With reference to the third aspect, in the first mode in the cards of the third aspect, if the scene class Type is deployment or extended scene type, then the acquisition module, according to the scene type, obtain with The download address of the corresponding software kit of the software identification, is specifically included:
Query software identifies the mapping relations with the mark of full dose bag, judges whether and the software mark Know the mark of corresponding full dose bag;
If in the presence of from software storage under acquisition the first full dose bag corresponding with the mark of the full dose bag Set address.
With reference to the first mode in the cards of the third aspect, second in the third aspect may realization Mode in, the acquisition module according to the scene type, is obtained corresponding with the software identification The download address of software kit, in addition to:
If being not present, the mapping relations of query software mark and the mark of delta package, if in the presence of with it is described The mark of the corresponding delta package of software identification, then obtain the mark with the delta package from the software storage Know the download address of corresponding delta package;
The version of the basis bag of the delta package is obtained, and is wrapped according to the software identification, the basis Version, the mapping relations of query software mark and the mark of full dose bag, obtains corresponding second full dose bag Mark;
From the software storage, the second full dose bag corresponding with the mark of the second full dose bag is obtained Download address;
Then sending module, specifically for:
The download address of the delta package and the download address of the second full dose bag are carried described soft Part sets in response and returns to the setting system.
With reference to the third aspect, in the third mode in the cards of the third aspect, if the scene class Type is upgrading scene type, then the acquisition module, according to the scene type, is obtained and the software The download address of corresponding software kit is identified, is specifically included:
Query software identifies the mapping relations with the mark of delta package, judges whether and the software mark Know the mark of corresponding delta package;
If in the presence of being obtained and the download of the corresponding delta package of mark of the delta package from software storage Address.
With reference to the third mode in the cards of the third aspect, the 4th kind in the third aspect may realize Mode in, the acquisition module according to the scene type, is obtained corresponding with the software identification The download address of software kit, in addition to:
If being not present, query software mark and full dose bag mark mapping relations, obtain with it is described soft Part identifies the mark of corresponding full dose bag;
From the software storage, the download address of full dose bag corresponding with the mark of the full dose bag is obtained.
With reference to the third aspect, in the 5th kind of mode in the cards of the third aspect, in addition to:Merge Module, is used for:
The delta package uploaded is received, and obtains the bag of the delta package of the upload and describes file;
The delta package of the upload is sent to software storage, so that the software storage preserves described upload Delta package, and the mark of the delta package of the upload of generation is returned into the merging module;
The mapping of the mark and the mark of the delta package of the upload of the software set up in the bag description file Relation;
The software identification and basic bag version in file are described according to the bag, the increasing with the upload is obtained The mark of the basis bag of amount bag, and acquisition and the mark of the basis bag of the delta package from the software storage Know corresponding basis bag;
Delta package and the basis bag to the upload merge processing, obtain the full dose bag of redaction, And the full dose bag of the redaction is sent to the software storage, so that the software storage preserves described The full dose bag of redaction, and the mark of the full dose bag of the redaction of generation is returned into the merging mould Block;
The mapping of the mark and the mark of the redaction full dose bag of the software set up in the bag description file Relation.
With reference to the 5th kind of mode in the cards of the third aspect, the 6th kind in the third aspect may realize Mode in, the merging module, delta package to the upload and the basis bag merge processing, Specifically include:
Using the file of the delta package of the upload, with the delta package of the upload in being wrapped to the basis The corresponding file of file is covered;
Or, the merging mode in the bag description file of the delta package of the upload is described, to described The delta package of upload and the basis bag are merged;
Or, the merging script of the delta package of the upload is performed, delta package to the upload and described Basis bag is merged.
Fourth aspect, the present invention provides a kind of software processing device, including:
Sending module, for sending software design patterns request, the software design patterns request bag to bag management system Software identification is included, so that the bag management system is asked according to the software design patterns, scene type is obtained, And according to the scene type, obtain the download address of software kit corresponding with the software identification;
Receiving module, for receiving the software design patterns response that the bag management system is sent, the software is set Putting response includes the download address of the software kit;
Setup module, for the download address according to the software kit, carries out corresponding software design patterns processing.
5th aspect, the present invention provides a kind of system, including:The first of the third aspect or the third aspect To the 6th kind of any described software processing device, and the software processing device described in fourth aspect.
Software processing method that the present invention is provided, apparatus and system;By setting system to bag management system Sending includes the software design patterns request of software identification;Bag management system is asked according to software design patterns, obtains field Scape type, and according to the download address of scene type acquisition software kit corresponding with software identification;Assure reason The download address of software kit is carried and returns to setting system in software design patterns response by system;Setting system According to the download address of the software kit, corresponding software design patterns processing is carried out;So that in software design patterns During user need not distinguish between specific usage scenario and determine corresponding with scene software kit Wrap the operation of mark;The operation element amount of user is reduced, and reduces the technical requirements to user; So as to improve the efficiency of software design patterns.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to reality The accompanying drawing used required for applying in example or description of the prior art is briefly described, it should be apparent that, under Accompanying drawing in the description of face is some embodiments of the present invention, for those of ordinary skill in the art, On the premise of not paying creative labor, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the application scenarios schematic diagram of invention software processing method;
Fig. 2 is the flow chart of invention software processing method embodiment one;
Fig. 3 is the flow chart of invention software processing method embodiment two;
Fig. 4 is the flow chart of invention software processing method embodiment three;
Fig. 5 is the flow chart of invention software processing method example IV;
Fig. 6 is the structural representation of invention software processing unit embodiment one;
Fig. 7 is the structural representation of invention software processing unit example IV;
Fig. 8 is the structural representation of invention software processing unit embodiment five;
Fig. 9 is the structural representation of invention software processing unit embodiment six.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with this hair Accompanying drawing in bright embodiment, the technical scheme in the embodiment of the present invention is clearly and completely described, Obviously, described embodiment is a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained under the premise of creative work is not made The every other embodiment obtained, belongs to the scope of protection of the invention.
Fig. 1 is the application scenarios schematic diagram of invention software processing method;As shown in figure 1, the present invention Application scenarios include:Bag management system, software deployment system, software update system and elastic telescopic system; Wherein, bag management system, software deployment system, software update system and elastic telescopic system belong to PaaS; The software deployment system, for by software deployment to existing virtual machine;The software update system, is used Upgrade in the software to being deployed to virtual machine;The elastic telescopic system, the new void for creating Plan machine, and by software deployment to the virtual machine created.
It should be noted that elastic telescopic system is related to extended scene, software deployment system is related to deployment field Scape, software update system is related to upgrading scene.
It can only include software deployment system, software update system and elasticity in the application scenarios of the present invention to stretch Any one or more systems in compression system.
Optionally, application scenarios of the invention can also include:Software storage, for storing software kit (bag Include full dose bag and delta package);The software storage, can be also used for providing the download address of software kit.
Optionally, application scenarios of the invention can also include:Local file system, is assured for described Reason system obtains full dose bag according to the basis bag of delta package and the delta package.
It should be noted that the setting system in the present invention can be software deployment system, software upgrading system System or elastic telescopic system.
It should be noted that the bag management system, software deployment system, software update system, elasticity Telescopic system and local file system are all software systems.
It should be noted that the bag management system, software deployment system, software update system, elasticity Telescopic system, software storage and local file system can be deployed on same server, or can also It is deployed in any combination on multiple servers.
Fig. 2 is the flow chart of invention software processing method embodiment one;As shown in Fig. 2 the present embodiment Method can include:
Step 201, setting system send software design patterns request to bag management system;
Wherein, the software design patterns request includes software identification.
Step 202, the bag management system are asked according to the software design patterns, obtain scene type, and According to the scene type, the download address of software kit corresponding with the software identification is obtained;
Step 203, the bag management system carry the download address of the software kit rings in software design patterns The setting system is returned in answering, so that download address of the setting system according to the software kit, Carry out corresponding software design patterns processing;
Step 204, the setting system carry out corresponding software according to the download address of the software kit Setting is handled.
In the present embodiment, include the software design patterns of software identification by setting system to be sent to bag management system Request;Bag management system is asked according to software design patterns, obtains scene type, and obtain according to scene type The download address of software kit corresponding with software identification;Bag management system carries the download address of software kit Setting system is returned in software design patterns response;Setting system according to the download address of the software kit, Carry out corresponding software design patterns processing;So that user needs not distinguish between specifically during software design patterns Usage scenario and determine the operation that the bag of corresponding with scene software kit is identified;Reduce user Operation element amount, and reduce the technical requirements to user;So as to improve the efficiency of software design patterns.
Fig. 3 is the flow chart of invention software processing method embodiment two;The present embodiment is real shown in Fig. 2 On the basis of applying example, when the scene type is deployment or extended scene type, as shown in figure 3, Step 202, step 203 can include:
Step 301, the mapping relations for assuring reason system queries software identification and the mark of full dose bag, Judge whether the mark of full dose bag corresponding with the software identification;
If in the presence of execution step 302;Otherwise, step 304 is performed.
Step 302, the bag management system obtain corresponding with the mark of the full dose bag from software storage The first full dose bag download address;
Specifically, the bag management system can send the mark with the full dose bag to the software storehouse Storehouse;The software storage obtains the download address of the first full dose bag corresponding with the mark of the full dose bag, And the download address of the first full dose bag is returned into bag management system.
The download address of the first full dose bag is carried and set in software by step 303, the bag management system Put in response and return to the setting system;
Accordingly, step 204 is specifically as follows:The setting system is according under the first full dose bag Set address, carries out corresponding software design patterns processing.
Optionally, when the scene type is deployment scenario, the setting system is complete according to described first The download address of bag is measured, corresponding software design patterns processing is carried out, is specifically as follows:The setting system root According to the download address of the first full dose bag, the first full dose bag is obtained, and according to acquired Deployment software from first full dose bag to virtual machine.
Optionally, when the scene type is expansion type, the setting system is complete according to described first The download address of bag is measured, corresponding software design patterns processing is carried out, is specifically as follows:The setting system wound New virtual machine is built, the first full dose bag is obtained according to the download address of the full dose bag, and according to institute The the first full dose bag obtained is to deploying virtual machine software.
It should be noted that step 303 terminates after having performed.
The mapping relations of step 304, the mark for assuring reason system queries software identification and delta package, If in the presence of the mark of delta package corresponding with the software identification, being obtained and institute from the software storage State the download address of the corresponding delta package of mark of delta package;
It should be noted that bag management system is obtained and the increasing from the software storage in step 304 The download address of the corresponding delta package of mark of amount bag, with bag management system in step 302 from software storage The concrete mode of the middle download address for obtaining the first full dose bag corresponding with the mark of the full dose bag is similar, It will not be repeated here.
Step 305, the bag management system obtain the version of the basis bag of the delta package, and according to institute Software identification, the version of the basis bag are stated, query software identifies the mapping relations with the mark of full dose bag, Obtain the mark of corresponding second full dose bag;
Optionally, the bag management system obtains the increasing in can describing file from the bag of the delta package The version of the basis bag of amount bag.
Optionally, the software identification can include:Version and title.
Accordingly, it is described according to the software identification, it is described basis bag version, query software mark with The mapping relations of the mark of full dose bag, obtain the mark of corresponding second full dose bag, are specifically as follows:
The version of title and the basis bag in the software identification, determines the basis bag pair The new software identification answered, and reflecting according to the new software identification query software mark and the mark of full dose bag Relation is penetrated, the mark of corresponding second full dose bag is obtained.
Step 306, the bag management system are obtained and the second full dose bag from the software storage The corresponding second full dose bag of mark download address;
It should be noted that bag management system is obtained and described the from the software storage in step 306 The download address of the corresponding second full dose bag of mark of two full dose bags, with bag management system in step 302 from The specific side of the download address of the first full dose bag corresponding with the mark of the full dose bag is obtained in software storage Formula is similar, will not be repeated here.
Step 307, the bag management system are by the download address of the delta package and second full dose The download address of bag is carried returns to the setting system in software design patterns response.
Accordingly, step 204 is specifically as follows:The setting system is according to the download of the delta package Location and the download address of the second full dose bag, carry out corresponding software design patterns processing.
Optionally, the setting system is according to the download address and the second full dose bag of the delta package Download address, carry out corresponding software design patterns processing, including:
The setting system is according to the download of the download address of the delta package and the second full dose bag Location, obtains the delta package and the second full dose bag;
The setting system according to the second full dose bag to deploying virtual machine software, and according to the increment Wrap and the software disposed is upgraded.
It is described to assure reason system by when the scene type is deployment or expansion type in the present embodiment System judges whether the mark of full dose bag corresponding with the software identification;If in the presence of with the software mark Know the mark of corresponding full dose bag, then lead to the download address of the corresponding first full dose bag of the software identification Cross software design patterns response and return to setting system;If in the absence of full dose bag corresponding with the software identification The mapping relations of mark, then query software mark and the mark of delta package, and it is determined that in the presence of with it is described soft When part identifies the mark of corresponding delta package, by the download address of the corresponding delta package of the software identification with And the download address of the basis bag (that is, second full dose bag) of delta package is responded by software design patterns and returned To the system of setting;Realize under upgrading or extended scene, the preferential mode using full dose bag, to reduce To the time of virtual machine transmitting software bag;Meanwhile, also provided when in the absence of full dose bag and use increment The basis of bag and the delta package wraps to carry out the mode of software design patterns, so as to improve software design patterns operation Success rate.
Fig. 4 is the flow chart of invention software processing method embodiment three;The present embodiment is real shown in Fig. 2 On the basis of applying example, when the scene type is upgrading scene type, as shown in figure 4, step 202, Step 203 can include:
The mapping relations of step 401, the mark for assuring reason system queries software identification and delta package, Judge whether the mark of delta package corresponding with the software identification;
If in the presence of execution step 402;Otherwise, step 404 is performed.
Step 402, the bag management system obtain corresponding with the mark of the delta package from software storage Delta package download address;
Specifically, the bag management system can send out the mark of delta package corresponding with the software identification Deliver to the software storage;The software storage is obtained and the corresponding delta package of mark of the delta package Download address, and delta package download address is returned into bag management system.
Step 403, the bag management system carry the download address of the delta package rings in software design patterns The setting system is returned in answering;
Accordingly, step 204 is specifically as follows:The setting system is according to the download of the delta package Location, carries out corresponding software design patterns processing.
Optionally, when the scene type is upgrading scene, the setting system is according to the delta package Download address, carry out corresponding software design patterns processing, be specifically as follows:The setting system is according to institute The download address of delta package is stated, the delta package is obtained, and according to the acquired delta package to virtual The software of machine is upgraded.
It should be noted that step 403 terminates after having performed.
Step 404, the mapping relations for assuring reason system queries software identification and the mark of full dose bag, Obtain the mark of full dose bag corresponding with the software identification;
Step 405, the bag management system obtain the mark with the full dose bag from the software storage Know the download address of corresponding full dose bag;
It should be noted that in step 405 bag management system obtained from the software storage with it is described soft Part identifies the download address of corresponding full dose bag, is obtained with bag management system in step 402 from software storage Take it is similar with the concrete mode of the download address of the corresponding delta package of mark of the delta package, herein no longer Repeat.
The download address of the full dose bag is carried and set in the software by step 406, the bag management system Put in response and return to the setting system.
Accordingly, step 204 is specifically as follows:The setting system is according to the download of the full dose bag Location, carries out corresponding software design patterns processing.
Optionally, the setting system carries out corresponding software and set according to the download address of the full dose bag Processing is put, including:
The setting system obtains the full dose bag according to the download address of the full dose bag;
The setting system is upgraded according to the full dose bag to the software of virtual machine.
In the present embodiment, by the way that when the scene type is upgrading type, the bag management system judges With the presence or absence of the mark of delta package corresponding with the software identification;If in the presence of corresponding with the software identification Delta package mark, then the download address of the corresponding delta package of the software identification is passed through into software design patterns Response returns to setting system;If in the absence of the mark of delta package corresponding with the software identification, looking into The mapping relations of software identification and the mark of full dose bag are ask, and it is determined that in the presence of corresponding with the software identification Full dose bag mark when, the download address of the corresponding full dose bag of the software identification is passed through into software design patterns Response returns to setting system;Realize under upgrading scene, the preferential mode using delta package, to subtract Few time to virtual machine transmitting software bag;Meanwhile, also provided when in the absence of delta package and use full dose Wrap to carry out the mode of software design patterns, so as to improve the success rate of software design patterns operation.
It should be noted that bag management system is asked according to the software design patterns in the present invention, scene is obtained The concrete mode of type can be:The software design patterns request can also include the scene type;Accordingly , the bag management system can obtain the scene type from software design patterns request.The field Scape type can be added by setting system;For example, its scene type can be consolidated for software update system Surely 0 is added to, for indicating upgrading scene;It can fix and add for software deployment system its scene type Plus 1, for indicating deployment scenario;It can be fixed for elastic telescopic system its scene type and be added to 2, For indicating extended scene.
Or, it is specifically as follows:The sender that the bag management system can be asked according to software design patterns, Namely system is set, to determine scene type.
Fig. 5 is the flow chart of invention software processing method example IV;As shown in figure 5, the present embodiment On the basis of embodiment illustrated in fig. 2, it can also include:
Step 501, the bag management system receive the delta package uploaded, and obtain the increment of the upload The bag of bag describes file;
Wherein, the bag description file includes software identification and basic bag version.
The delta package of the upload is sent to software storage by step 502, the bag management system;
Step 503, the software storage preserve the delta package of the upload, and generate the increasing of the upload Measure the mark of bag;
Step 504, the software storage return to the mark of the delta package of the upload of generation described Bag management system;
Step 505, the bag management system set up it is described bag description file in software mark with it is described The mapping relations of the mark of the delta package of upload;
Step 506, the bag management system describe software identification and basis bag in file according to the bag Version, obtains the mark with the basis bag of the delta package of the upload;
Step 507, the bag management system send the mark of the basis bag of the delta package to described soft Part warehouse;
Step 508, the software storage return the corresponding basis bag of the mark of the basis bag of the delta package Back to the bag management system;
Step 509, the bag management system are merged to the delta package and the basis bag of the upload Processing, obtains the full dose bag of redaction;
Optionally, it can be compressed package that the delta package of the upload and the basis, which are wrapped,.
Accordingly, step 509 can specifically include:The bag management system is by the delta package of the upload And the basis bag unzips to the temp directory in local file system, and in the local file system The delta package and the basis bag of the upload are merged in temp directory, the full dose of redaction is obtained Bag.
Optionally, the delta package and the basis bag to the upload is merged, and is specifically as follows:
The bag management system using the upload delta package file, to it is described basis bag in it is described The corresponding file of file of the delta package of upload is covered.
Or, it is specifically as follows:
Merging mode in the bag management system in the bag description file of the delta package of the upload is retouched State, the delta package and the basis bag to the upload are merged.
Or, it is specifically as follows:
The bag management system performs the merging script of the delta package of the upload, to the increment of the upload Bag and the basis bag are merged.
The full dose bag of the redaction is sent to the software storage by step 510, the bag management system;
Step 511, the software storage preserve the full dose bag of the redaction, and generate the redaction Full dose bag mark;
The mark of the full dose bag of the redaction of generation is returned to institute by step 512, the software storage State bag management system;
Step 513, the bag management system set up it is described bag description file in software mark with it is described The mapping relations of the mark of redaction full dose bag.
In the present embodiment, by the bag management system delta package of the upload and the basis are wrapped into Row merging treatment, obtains the full dose bag of redaction;So that developer only needs to make when upgrading software With safeguard delta package, and full dose bag can be merged by bag management system and obtain, therefore save the system of software kit Make and maintenance cost.
Fig. 6 is the structural representation of invention software processing unit embodiment one;As shown in fig. 6, this reality Applying the device of example can include:Receiving module 601, acquisition module 602 and sending module 603.Receive mould Block 601, the software design patterns request for receiving the transmission of setting system, the software design patterns request includes soft Part is identified;Acquisition module 602, for being asked according to the software design patterns, obtains scene type, and root According to the scene type, the download address of software kit corresponding with the software identification is obtained;Sending module 603, the setting system is returned in software design patterns response for the download address of the software kit to be carried System, so that download address of the setting system according to the software kit, is carried out at corresponding software design patterns Reason.
The device of the present embodiment, can be used for performing the skill that embodiment of the method shown in Fig. 2 assures reason system side Art scheme, its implementing principle and technical effect are similar, and here is omitted.
Software processing device embodiment two
Optionally, on the basis of invention software processing unit embodiment one, if the scene type is Deployment or extended scene type, then acquisition module 602, according to the scene type, obtain with it is described The download address of the corresponding software kit of software identification, is specifically included:
Query software identifies the mapping relations with the mark of full dose bag, judges whether and the software mark Know the mark of corresponding full dose bag;
If in the presence of from software storage under acquisition the first full dose bag corresponding with the mark of the full dose bag Set address.
Optionally, acquisition module 602, according to the scene type, are obtained corresponding with the software identification Software kit download address, in addition to:
If being not present, the mapping relations of query software mark and the mark of delta package, if in the presence of with it is described The mark of the corresponding delta package of software identification, then obtain the mark with the delta package from the software storage Know the download address of corresponding delta package;
The version of the basis bag of the delta package is obtained, and is wrapped according to the software identification, the basis Version, the mapping relations of query software mark and the mark of full dose bag, obtains corresponding second full dose bag Mark;
From the software storage, the second full dose bag corresponding with the mark of the second full dose bag is obtained Download address;
Accordingly, then sending module 603, specifically for:By the download address of the delta package and institute The download address carrying for stating the second full dose bag returns to the setting system in software design patterns response.
The device of the present embodiment, can be used for the technical scheme for performing embodiment of the method shown in Fig. 3, in fact Existing principle is similar with technique effect, and here is omitted.
Software processing device embodiment three
Optionally, on the basis of invention software processing unit embodiment one, if the scene type is Upgrading scene type, then acquisition module 602, according to the scene type, are obtained and the software identification The download address of corresponding software kit, is specifically included:
Query software identifies the mapping relations with the mark of delta package, judges whether and the software mark Know the mark of corresponding delta package;
If in the presence of being obtained and the download of the corresponding delta package of mark of the delta package from software storage Address.
Optionally, acquisition module 602, according to the scene type, are obtained corresponding with the software identification Software kit download address, in addition to:
If being not present, query software mark and full dose bag mark mapping relations, obtain with it is described soft Part identifies the mark of corresponding full dose bag;
From the software storage, the download address of full dose bag corresponding with the mark of the full dose bag is obtained.
The device of the present embodiment, can be used for the technical scheme for performing embodiment of the method shown in Fig. 4, in fact Existing principle is similar with technique effect, and here is omitted.
Fig. 7 is the structural representation of invention software processing unit example IV;As shown in fig. 7, this reality The device applied is on the basis of Fig. 6 described device structures, further, can also include:Merging module 604, it is used for:
The delta package uploaded is received, and obtains the bag of the delta package of the upload and describes file;
The delta package of the upload is sent to software storage, so that the software storage preserves described upload Delta package, and the mark of the delta package of the upload of generation is returned into the merging module;
The mapping of the mark and the mark of the delta package of the upload of the software set up in the bag description file Relation;
The software identification and basic bag version in file are described according to the bag, the increasing with the upload is obtained The mark of the basis bag of amount bag, and acquisition and the mark of the basis bag of the delta package from the software storage Know corresponding basis bag;
Delta package and the basis bag to the upload merge processing, obtain the full dose bag of redaction, And the full dose bag of the redaction is sent to the software storage, so that the software storage preserves described The full dose bag of redaction, and the mark of the full dose bag of the redaction of generation is returned into the merging mould Block;
The mapping of the mark and the mark of the redaction full dose bag of the software set up in the bag description file Relation.
Optionally, merging module 604, delta package and the basis bag to the upload merge place Reason, is specifically included:
Using the file of the delta package of the upload, with the delta package of the upload in being wrapped to the basis The corresponding file of file is covered;
Or, the merging mode in the bag description file of the delta package of the upload is described, to described The delta package of upload and the basis bag are merged;
Or, the merging script of the delta package of the upload is performed, delta package to the upload and described Basis bag is merged.
The device of the present embodiment, can be used for performing the skill that embodiment of the method shown in Fig. 5 assures reason system side Art scheme, its implementing principle and technical effect are similar, and here is omitted.
Fig. 8 is the structural representation of invention software processing unit embodiment five;As described in Figure 8, this reality The device applied can include:Sending module 801, receiving module 802 and setup module 803.Wherein, send out Module 801 is sent, for sending software design patterns request to bag management system, the software design patterns request includes Software identification, so that the bag management system is asked according to the software design patterns, obtains scene type, and According to the scene type, the download address of software kit corresponding with the software identification is obtained;Receive mould Block 802, for receiving the software design patterns response that the bag management system is sent, the software design patterns response Include the download address of the software kit;Setup module 803, for the download according to the software kit Location, carries out corresponding software design patterns processing.
The device of the present embodiment, can be used for performing the technology that embodiment of the method shown in Fig. 2 sets system side Scheme, its implementing principle and technical effect are similar, and here is omitted.
The present invention also provides a kind of system, including software processing device embodiment one is real to software processing device The software processing device described in any embodiment in example four is applied, and described in software processing device embodiment five Software processing device.
Fig. 9 is the structural representation of invention software processing unit embodiment six;As shown in figure 9, this reality Applying the device of example can include:Communication interface 901 and processor 902.Communication interface 901, for receiving The software design patterns request that setting system is sent, the software design patterns request includes software identification;Processor 902, For being asked according to the software design patterns, obtain scene type, and according to the scene type, obtain with The download address of the corresponding software kit of the software identification;Communication interface 901, is additionally operable to the software The download address of bag is carried returns to the setting system in software design patterns response, so that described set system The download address united according to the software kit, carries out corresponding software design patterns processing.
The device of the present embodiment, can be used for performing the skill that embodiment of the method shown in Fig. 2 assures reason system side Art scheme, its implementing principle and technical effect are similar, and here is omitted.
Software processing device embodiment seven
Optionally, on the basis of invention software processing unit embodiment six, if the scene type is Deployment or extended scene type, then processor 902, according to the scene type, obtain with it is described soft Part identifies the download address of corresponding software kit, specifically includes:
Query software identifies the mapping relations with the mark of full dose bag, judges whether and the software mark Know the mark of corresponding full dose bag;
If in the presence of from software storage under acquisition the first full dose bag corresponding with the mark of the full dose bag Set address.
Optionally, processor 902, according to the scene type, are obtained corresponding with the software identification The download address of software kit, in addition to:
If being not present, the mapping relations of query software mark and the mark of delta package, if in the presence of with it is described The mark of the corresponding delta package of software identification, then obtain the mark with the delta package from the software storage Know the download address of corresponding delta package;
The version of the basis bag of the delta package is obtained, and is wrapped according to the software identification, the basis Version, the mapping relations of query software mark and the mark of full dose bag, obtains corresponding second full dose bag Mark;
From the software storage, the second full dose bag corresponding with the mark of the second full dose bag is obtained Download address;
Accordingly, then communication interface 901, the download address of the software kit is carried and rung in software design patterns The setting system is returned in answering, is specifically included:By the download address of the delta package and described The download address of two full dose bags is carried returns to the setting system in software design patterns response.
The device of the present embodiment, can be used for the technical scheme for performing embodiment of the method shown in Fig. 3, in fact Existing principle is similar with technique effect, and here is omitted.
Software processing device embodiment eight
Optionally, on the basis of invention software processing unit embodiment six, if the scene type is Upgrading scene type, then processor 902, according to the scene type, are obtained and the software identification pair The download address for the software kit answered, is specifically included:
Query software identifies the mapping relations with the mark of delta package, judges whether and the software mark Know the mark of corresponding delta package;
If in the presence of being obtained and the download of the corresponding delta package of mark of the delta package from software storage Address.
Optionally, processor 902, according to the scene type, are obtained corresponding with the software identification The download address of software kit, in addition to:
If being not present, query software mark and full dose bag mark mapping relations, obtain with it is described soft Part identifies the mark of corresponding full dose bag;
From the software storage, the download address of full dose bag corresponding with the mark of the full dose bag is obtained.
The device of the present embodiment, can be used for the technical scheme for performing embodiment of the method shown in Fig. 4, in fact Existing principle is similar with technique effect, and here is omitted.
Software processing device embodiment nine
Optionally, on the basis of software processing device embodiment six, communication interface 901 is additionally operable to connect Receive the delta package uploaded;
Processor 902, the bag for being additionally operable to obtain the delta package of the upload describes file;
Communication interface 901, is additionally operable to the delta package of the upload being sent to software storage, for described Software storage preserves the delta package of the upload, and the mark of the delta package of the upload of generation is returned To institute's communication interface 901;
Processor 902, is additionally operable to set up the mark for wrapping the software in description file and the upload The mapping relations of the mark of delta package;
Processor 902, is additionally operable to describe the software identification and basic bag version in file according to the bag, Obtain the mark with the basis bag of the delta package of the upload, and obtain from the software storage with it is described The corresponding basis bag of mark of the basis bag of delta package;
Processor 902, is additionally operable to merge processing to the delta package and the basis bag of the upload, Obtain the full dose bag of redaction;
Communication interface 901, is additionally operable to the full dose bag of the redaction being sent to the software storage, with Preserve the full dose bag of the redaction for the software storage, and by the full dose bag of the redaction of generation Mark return to communication interface 901;
Processor 902, is additionally operable to the mark and the redaction of software set up in the bag description file The mapping relations of the mark of full dose bag.
Optionally, processor 902, delta package and the basis bag to the upload merge processing, Specifically include:
Using the file of the delta package of the upload, with the delta package of the upload in being wrapped to the basis The corresponding file of file is covered;
Or, the merging mode in the bag description file of the delta package of the upload is described, to described The delta package of upload and the basis bag are merged;
Or, the merging script of the delta package of the upload is performed, delta package to the upload and described Basis bag is merged.
The device of the present embodiment, can be used for performing the skill that embodiment of the method shown in Fig. 5 assures reason system side Art scheme, its implementing principle and technical effect are similar, and here is omitted.
Software processing device embodiment ten
The software processing device of the present embodiment is similar with the software processing device shown in Fig. 9, equally includes: Communication interface and processor;Wherein, the communication interface, for sending software design patterns to bag management system Request, the software design patterns request includes software identification, so that the bag management system is according to the software Request is set, scene type is obtained, and according to the scene type, obtained corresponding with the software identification Software kit download address;The communication interface, is additionally operable to receive the soft of the bag management system transmission Part sets response, and the software design patterns response includes the download address of the software kit;The processor, For the download address according to the software kit, corresponding software design patterns processing is carried out.
The device of the present embodiment, can be used for performing the technology that embodiment of the method shown in Fig. 2 sets system side Scheme, its implementing principle and technical effect are similar, and here is omitted.
One of ordinary skill in the art will appreciate that:Realize all or part of step of above-mentioned each method embodiment Suddenly it can be completed by the related hardware of programmed instruction.Foregoing program can be stored in a computer can Read in storage medium.The program upon execution, performs the step of including above-mentioned each method embodiment;And Foregoing storage medium includes:ROM, RAM, magnetic disc or CD etc. are various can be with store program codes Medium.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than right It is limited;Although the present invention is described in detail with reference to foregoing embodiments, this area it is common Technical staff should be understood:It can still modify to the technical scheme described in foregoing embodiments, Or equivalent substitution is carried out to which part or all technical characteristic;And these modifications or replacement, and The essence of appropriate technical solution is not set to depart from the scope of various embodiments of the present invention technical scheme.

Claims (17)

1. a kind of software processing method, it is characterised in that including:
Bag management system receives the software design patterns request that setting system is sent, and the software design patterns request includes Software identification;
The bag management system is asked according to the software design patterns, obtains scene type, and according to the field Scape type, obtains the download address of software kit corresponding with the software identification;
The download address of the software kit is carried and returned in software design patterns response by the bag management system The setting system, so that download address of the setting system according to the software kit, is carried out corresponding Software design patterns processing.
2. according to the method described in claim 1, it is characterised in that if the scene type for deployment or Person's extended scene type, then it is described according to the scene type, obtain corresponding with the software identification soft The download address of part bag, including:
Query software identifies the mapping relations with the mark of full dose bag, judges whether and the software mark Know the mark of corresponding full dose bag;
If in the presence of from software storage under acquisition the first full dose bag corresponding with the mark of the full dose bag Set address.
3. method according to claim 2, it is characterised in that methods described also includes:
If being not present, the mapping relations of query software mark and the mark of delta package, if in the presence of with it is described The mark of the corresponding delta package of software identification, then obtain the mark with the delta package from the software storage Know the download address of corresponding delta package;
The version of the basis bag of the delta package is obtained, and is wrapped according to the software identification, the basis Version, the mapping relations of query software mark and the mark of full dose bag, obtains corresponding second full dose bag Mark;
From the software storage, the second full dose bag corresponding with the mark of the second full dose bag is obtained Download address;
Then the mark of the software kit is carried and returns to institute in software design patterns response by the bag management system Setting system is stated, including:
The bag management system is by the download of the download address of the delta package and the second full dose bag Location is carried returns to the setting system in software design patterns response.
4. according to the method described in claim 1, it is characterised in that if the scene type is upgrading field Scape type, then it is described according to the scene type, obtain under software kit corresponding with the software identification Set address, including:
Query software identifies the mapping relations with the mark of delta package, judges whether and the software mark Know the mark of corresponding delta package;
If in the presence of being obtained and the download of the corresponding delta package of mark of the delta package from software storage Address.
5. method according to claim 4, it is characterised in that methods described also includes:
If being not present, query software mark and full dose bag mark mapping relations, obtain with it is described soft Part identifies the mark of corresponding full dose bag;
From the software storage, the download address of full dose bag corresponding with the mark of the full dose bag is obtained.
6. according to the method described in claim 1, it is characterised in that methods described also includes:
The bag management system receives the delta package uploaded, and obtains the bag description of the delta package of the upload File;The delta package of the upload is sent to software storage by the bag management system, for the software Warehouse preserves the delta package of the upload, and the mark of the delta package of the upload of generation is returned into institute State bag management system;
The mark and the increment of the upload for the software that the bag management system is set up in the bag description file The mapping relations of the mark of bag;
The bag management system describes software identification and basic bag version in file according to the bag, obtains The mark wrapped with the basis of the delta package of the upload, and obtained and the increment from the software storage The corresponding basis bag of mark of the basis bag of bag;
The bag management system merges processing to the delta package and the basis bag of the upload, obtains The full dose bag of redaction, and the full dose bag of the redaction is sent to the software storage, for described Software storage preserves the full dose bag of the redaction, and by the mark of the full dose bag of the redaction of generation Return to the bag management system;
The mark and the redaction full dose for the software that the bag management system is set up in the bag description file The mapping relations of the mark of bag.
7. method according to claim 6, it is characterised in that the bag management system is on described The delta package of biography and the basis bag merge processing, including:
The bag management system using the upload delta package file, to it is described basis bag in it is described The corresponding file of file of the delta package of upload is covered;
Or, the merging in the bag management system in the bag description file of the delta package of the upload Mode is described, and the delta package and the basis bag to the upload are merged;
Or, the bag management system performs the merging script of the delta package of the upload, is uploaded to described Delta package and it is described basis bag merge.
8. a kind of software processing method, it is characterised in that including:
Setting system sends software design patterns request to bag management system, and the software design patterns request includes software Mark, so that the bag management system is asked according to the software design patterns, acquisition scene type, and according to The scene type, obtains the download address of software kit corresponding with the software identification;
The setting system receives the software design patterns response that the bag management system is sent, the software design patterns Response includes the download address of the software kit;
The setting system carries out corresponding software design patterns processing according to the download address of the software kit.
9. a kind of software processing device, it is characterised in that including:
Receiving module, the software design patterns request for receiving the transmission of setting system, the software design patterns request Including software identification;
Acquisition module, for being asked according to the software design patterns, obtains scene type, and according to the field Scape type, obtains the download address of software kit corresponding with the software identification;
Sending module, is returned to for the download address of the software kit to be carried in software design patterns response The setting system, so that download address of the setting system according to the software kit, is carried out corresponding Software design patterns processing.
10. device according to claim 9, it is characterised in that if the scene type is deployment Or extended scene type, then the acquisition module, according to the scene type, is obtained and the software The download address of corresponding software kit is identified, is specifically included:
Query software identifies the mapping relations with the mark of full dose bag, judges whether and the software mark Know the mark of corresponding full dose bag;
If in the presence of from software storage under acquisition the first full dose bag corresponding with the mark of the full dose bag Set address.
11. device according to claim 10, it is characterised in that the acquisition module, according to institute Scene type is stated, the download address of software kit corresponding with the software identification is obtained, in addition to:
If being not present, the mapping relations of query software mark and the mark of delta package, if in the presence of with it is described The mark of the corresponding delta package of software identification, then obtain the mark with the delta package from the software storage Know the download address of corresponding delta package;
The version of the basis bag of the delta package is obtained, and is wrapped according to the software identification, the basis Version, the mapping relations of query software mark and the mark of full dose bag, obtains corresponding second full dose bag Mark;
From the software storage, the second full dose bag corresponding with the mark of the second full dose bag is obtained Download address;
Then sending module, specifically for:
The download address of the delta package and the download address of the second full dose bag are carried described soft Part sets in response and returns to the setting system.
12. device according to claim 9, it is characterised in that if the scene type is upgrading Scene type, then the acquisition module, according to the scene type, is obtained corresponding with the software identification Software kit download address, specifically include:
Query software identifies the mapping relations with the mark of delta package, judges whether and the software mark Know the mark of corresponding delta package;
If in the presence of being obtained and the download of the corresponding delta package of mark of the delta package from software storage Address.
13. device according to claim 12, it is characterised in that the acquisition module, according to institute Scene type is stated, the download address of software kit corresponding with the software identification is obtained, in addition to:
If being not present, query software mark and full dose bag mark mapping relations, obtain with it is described soft Part identifies the mark of corresponding full dose bag;
From the software storage, the download address of full dose bag corresponding with the mark of the full dose bag is obtained.
14. device according to claim 9, it is characterised in that also include:Merging module, is used In:
The delta package uploaded is received, and obtains the bag of the delta package of the upload and describes file;
The delta package of the upload is sent to software storage, so that the software storage preserves described upload Delta package, and the mark of the delta package of the upload of generation is returned into the merging module;
The mapping of the mark and the mark of the delta package of the upload of the software set up in the bag description file Relation;
The software identification and basic bag version in file are described according to the bag, the increasing with the upload is obtained The mark of the basis bag of amount bag, and acquisition and the mark of the basis bag of the delta package from the software storage Know corresponding basis bag;
Delta package and the basis bag to the upload merge processing, obtain the full dose bag of redaction, And the full dose bag of the redaction is sent to the software storage, so that the software storage preserves described The full dose bag of redaction, and the mark of the full dose bag of the redaction of generation is returned into the merging mould Block;
The mapping of the mark and the mark of the redaction full dose bag of the software set up in the bag description file Relation.
15. device according to claim 14, it is characterised in that the merging module, to described The delta package of upload and the basis bag merge processing, specifically include:
Using the file of the delta package of the upload, with the delta package of the upload in being wrapped to the basis The corresponding file of file is covered;
Or, the merging mode in the bag description file of the delta package of the upload is described, to described The delta package of upload and the basis bag are merged;
Or, the merging script of the delta package of the upload is performed, delta package to the upload and described Basis bag is merged.
16. a kind of software processing device, it is characterised in that including:
Sending module, for sending software design patterns request, the software design patterns request bag to bag management system Software identification is included, so that the bag management system is asked according to the software design patterns, scene type is obtained, And according to the scene type, obtain the download address of software kit corresponding with the software identification;
Receiving module, for receiving the software design patterns response that the bag management system is sent, the software is set Putting response includes the download address of the software kit;
Setup module, for the download address according to the software kit, carries out corresponding software design patterns processing.
17. a kind of system, it is characterised in that including:At software described in claim any one of 9-15 Manage device, and the software processing device described in claim 16.
CN201610133219.8A 2016-03-09 2016-03-09 Software processing method, device and system Active CN107179918B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610133219.8A CN107179918B (en) 2016-03-09 2016-03-09 Software processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610133219.8A CN107179918B (en) 2016-03-09 2016-03-09 Software processing method, device and system

Publications (2)

Publication Number Publication Date
CN107179918A true CN107179918A (en) 2017-09-19
CN107179918B CN107179918B (en) 2020-10-16

Family

ID=59830643

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610133219.8A Active CN107179918B (en) 2016-03-09 2016-03-09 Software processing method, device and system

Country Status (1)

Country Link
CN (1) CN107179918B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110798654A (en) * 2018-08-01 2020-02-14 华为技术有限公司 Method and system for defining camera by software and camera
CN112131263A (en) * 2020-09-14 2020-12-25 微医云(杭州)控股有限公司 Software package obtaining method, system, device, electronic equipment and storage medium
WO2021248466A1 (en) * 2020-06-12 2021-12-16 深圳市欢太科技有限公司 File distribution method and apparatus, and electronic device and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1485733A (en) * 2002-09-25 2004-03-31 鸿富锦精密工业(深圳)有限公司 Patent searching program automatic installing refreshing system and method
CN1913692A (en) * 2006-08-16 2007-02-14 华为技术有限公司 Method for loading equipment software according to allocation
CN101221511A (en) * 2008-01-25 2008-07-16 中兴通讯股份有限公司 Automatic installation and upgrading method of terminal unit application software
US20130298169A1 (en) * 2012-05-04 2013-11-07 Samsung Electronics Co., Ltd. Broadcast receiving apparatus and method for controlling application, and device
CN104182257A (en) * 2011-11-22 2014-12-03 华为数字技术(成都)有限公司 Application software installation method and device
US20150113524A1 (en) * 2010-08-04 2015-04-23 Premkumar Jonnala Apparatus for enabling delivery and access of applications and interactive services

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1485733A (en) * 2002-09-25 2004-03-31 鸿富锦精密工业(深圳)有限公司 Patent searching program automatic installing refreshing system and method
CN1913692A (en) * 2006-08-16 2007-02-14 华为技术有限公司 Method for loading equipment software according to allocation
CN101221511A (en) * 2008-01-25 2008-07-16 中兴通讯股份有限公司 Automatic installation and upgrading method of terminal unit application software
US20150113524A1 (en) * 2010-08-04 2015-04-23 Premkumar Jonnala Apparatus for enabling delivery and access of applications and interactive services
CN104182257A (en) * 2011-11-22 2014-12-03 华为数字技术(成都)有限公司 Application software installation method and device
US20130298169A1 (en) * 2012-05-04 2013-11-07 Samsung Electronics Co., Ltd. Broadcast receiving apparatus and method for controlling application, and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110798654A (en) * 2018-08-01 2020-02-14 华为技术有限公司 Method and system for defining camera by software and camera
US11979686B2 (en) 2018-08-01 2024-05-07 Huawei Technologies Co., Ltd. Method and system for software-defined camera and camera
WO2021248466A1 (en) * 2020-06-12 2021-12-16 深圳市欢太科技有限公司 File distribution method and apparatus, and electronic device and computer readable storage medium
CN112131263A (en) * 2020-09-14 2020-12-25 微医云(杭州)控股有限公司 Software package obtaining method, system, device, electronic equipment and storage medium
CN112131263B (en) * 2020-09-14 2024-02-27 微医云(杭州)控股有限公司 Software package acquisition method, system, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN107179918B (en) 2020-10-16

Similar Documents

Publication Publication Date Title
CN109034814B (en) Intelligent contract processing method and device based on Etheng virtual machine
CN106383786B (en) Interface pressure performance testing method and device and electronic equipment
CN104199711B (en) The method and apparatus for establishing root authority
CN106933871A (en) Short linking processing method, device and short linked server
CN104156225B (en) A kind of method for down loading of installation kit, system and server
CN108829384A (en) Management method, device, computer equipment and the storage medium of container
CN111249744B (en) Resource loading method and device, storage medium and electronic device
CN107179918A (en) Software processing method, apparatus and system
CN109710428A (en) A kind of dynamic call method and device for realizing class
CN105871587A (en) Log uploading method and device
CN109656572A (en) Packaging method and device, computer equipment, the storage medium of installation kit
CN106484454A (en) The processing method and processing device of difference AKU, upgrade method, system and device
CN103634935B (en) WPS (Wi-Fi protected setup) or QSS (quick secure setup)-based network accessing method and device
CN110221845A (en) Using dispositions method, device, equipment and medium
CN110147410B (en) Data verification method, system, device and equipment in block chain type account book
CN109725912A (en) Application program configuration method, device, terminal, server and readable storage medium storing program for executing
CN108268296A (en) Loading method, the client and server of page layout
CN110489471A (en) A kind of data request processing method, apparatus, storage medium and server
CN110224897A (en) Vulnerable network test method, device, mobile device and the storage medium of application program
CN106161082A (en) The method to set up of server UUID, system and baseboard management controller
CN106991057A (en) The call method and virtual platform of internal memory in a kind of shared video card virtualization
CN109788251A (en) Method for processing video frequency, device and storage medium
CN108804120A (en) A kind of page makeup method, apparatus, equipment and storage medium
CN109656614A (en) The processing method of file, apparatus and system
CN106331024A (en) Method and device for accessing cloud data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200214

Address after: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Applicant after: HUAWEI TECHNOLOGIES Co.,Ltd.

Address before: 210012 Ande Gate No. 94, Yuhuatai District, Jiangsu, Nanjing

Applicant before: Huawei Technologies Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant