CN109189442A - Update method, system and electronic equipment - Google Patents
Update method, system and electronic equipment Download PDFInfo
- Publication number
- CN109189442A CN109189442A CN201811156178.XA CN201811156178A CN109189442A CN 109189442 A CN109189442 A CN 109189442A CN 201811156178 A CN201811156178 A CN 201811156178A CN 109189442 A CN109189442 A CN 109189442A
- Authority
- CN
- China
- Prior art keywords
- new data
- data
- new
- block
- updated
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Abstract
Present disclose provides a kind of update methods, when being included in target software and being in first version, obtain at least two first more new datas, wherein, after the target software of the first version orderly installs at least two first more new data, the target software can be updated to the second edition, handle at least two first more new data, generate at least one second more new data, wherein, the quantity of described second more new data is less than the quantity of the first more new data, and based at least one described second more new data, the target software is updated to the second edition.The disclosure additionally provides one kind more new system and a kind of electronic equipment.
Description
Technical field
This disclosure relates to a kind of update method, system and electronic equipment.
Background technique
With information-based and intelligentized development, intelligent terminal provides huge convenience for people's lives.Mesh
Preceding intelligent terminal is usually mounted with a large amount of target softwares, including aims of systems software and answering with various function
With target software, convenient and fast service is provided for user.With the migration of time and the development of technology, these target softwares also face
The problem of facing update.In some cases, since user is not used for a period of time in the electronic equipment or the electronic equipment
A certain application target software, it would be possible to the aims of systems software of electronic equipment occur or a certain application target software is continuously more
Secondary update causes user experience bad.Especially in the case where being that some updates need to restart electronic equipment, seriously affect
User experience.
Summary of the invention
An aspect of this disclosure provides a kind of update method, when being included in target software and being in first version, obtains
At least two first more new datas, wherein orderly install described at least two first more in the target software of the first version
After new data, the target software can be updated to the second edition, handle at least two first more new data, generate extremely
Few one second more new data, wherein the quantity of the described second more new data is less than the quantity of the first more new data, and is based on
At least one described second more new data, is updated to the second edition for the target software.
Optionally, the described first more new data is after updating target software, to need the data of target software restarting.
Optionally, the data of the target software are divided into multiple data blocks that can be independently updated, described in the processing extremely
Few two first more new datas, generate at least one second updated data package and include, and it is right in multiple described first more new datas to handle
The update part of Ying Yuyi data block generates the update part for corresponding to the data block in the second more new data, Yi Jihe
And correspond to the update part of each data block, obtain at least one second more new data.
Optionally, the update part that a data block is corresponded in the multiple described first more new datas of processing, generates
Include corresponding to the update section of the data block point in second more new data, in the case where data block is primary sources block,
Obtain in the newest first more new data correspond to the data block update part, as in second more new data correspond to institute
State the update part of data block, wherein the described first more new data corresponds to the update part of the primary sources block more
For covering the total data in the primary sources block when new.
Optionally, the update part that a data block is corresponded in the multiple described first more new datas of processing, generates
Update section in second more new data corresponding to the data block point includes, and is the different from primary sources block in data block
In the case where two class data blocks, based on the update part for corresponding to the data block in each first more new data, second is determined
Correspond to the update part of the data block in more new data.
Optionally, described based on the update part for corresponding to the data block in each first more new data, determine second
It include corresponding to the data block in each first more new data corresponding to the update section of the data block point in more new data
Update part in, the update part cancelled out each other if it exists, then based on except cancel out each other update part in addition to other more
New portion determines the update part for corresponding to the data block in the second more new data.
Optionally, described when target software is in first version, it obtains multiple first updated data packages and includes circulation execution
It operates below, until the more first more new datas can not be obtained: based on current version identifications, obtaining one first update number
According to, the determining version information after installing the described first more new data, and based on after installing the described first more new data
Version information revision mark, as the current version identifications for obtaining the first more new data.
Optionally, it is described be based on current version identifications, obtain first updated data package include send acquisition request and
Receiving one first more new data, wherein the acquisition request includes that can be used for indicating the information of the memory space of electronic equipment,
It is described can not obtain more first updated data packages and include receive the first response message, first response message shows the electricity
The memory space of sub- equipment is not suitable for receiving the more first more new data.
Optionally, it is described can not obtain more first updated data packages include receive the second response message, second sound
Information is answered to show to have been obtained for the newest first more new data.
Another aspect of the disclosure provides a kind of more new system, including obtains module, processing module and update mould
Block.Module is obtained, for obtaining at least two first more new datas, wherein described when target software is in first version
After the target software of first version orderly installs at least two first more new data, the target software can be updated to
The second edition.Processing module generates at least one second more new data for handling at least two first more new data,
Wherein, the quantity of the described second more new data is less than the quantity of the first more new data.Update module, for based on described at least one
The target software is updated to the second edition by a second more new data.
Optionally, the described first more new data is after updating target software, to need the data of target software restarting.
Optionally, the data of the target software are divided into multiple data blocks that can be independently updated, the processing module packet
It includes processing submodule and merges submodule.Submodule is handled, corresponds to one in multiple described first more new datas for handling
The update part of a data block generates the update part for corresponding to the data block in the second more new data.Merge submodule, uses
In merging the update part for corresponding to each data block, at least one second more new data is obtained.
Optionally, the processing submodule includes first processing units, in the feelings that data block is primary sources block
Under condition, the update part for corresponding to the data block in the newest first more new data is obtained, as right in second more new data
The update part of data block described in Ying Yu, wherein the described first more new data corresponds to the update section of the primary sources block
Divide when updating for covering the total data in the primary sources block.
Optionally, the processing submodule includes the second processing unit, for being different from primary sources in data block
In the case where the secondary sources block of block, based on the update part for corresponding to the data block in each first more new data, really
Correspond to the update part of the data block in fixed second more new data.
Optionally, described the second processing unit in each first more new data for corresponding to the update of the data block
In part, the update part cancelled out each other if it exists, then based on except cancel out each other update part in addition to other update parts,
Determine the update part for corresponding to the data block in the second more new data.
Optionally, the acquisition module executes following operation for recycling, until can not obtain more first updates number
According to: current version identifications are based on, one first more new data is obtained, determine the letter of the version after installing the described first more new data
Breath, and based on the version information revision mark after installing the described first more new data, as obtaining first more
The current version identifications of new data.
Optionally, it is described be based on current version identifications, obtain first updated data package include send acquisition request and
Receiving one first more new data, wherein the acquisition request includes that can be used for indicating the information of the memory space of electronic equipment,
It is described can not obtain more first updated data packages and include receive the first response message, first response message shows the electricity
The memory space of sub- equipment is not suitable for receiving the more first more new data.
Optionally, it is described can not obtain more first updated data packages include receive the second response message, second sound
Information is answered to show to have been obtained for the newest first more new data.
Another aspect of the disclosure provides a kind of electronic equipment, including processor and memory.The memory
On be stored with computer program, the computer program makes processor execute method as described above when being executed by processor.
Another aspect of the present disclosure provides a kind of computer readable storage medium, is stored with computer executable instructions,
Described instruction is when executed for realizing method as described above.
Another aspect of the present disclosure provides a kind of computer program, and the computer program, which includes that computer is executable, to be referred to
It enables, described instruction is when executed for realizing method as described above.
Detailed description of the invention
In order to which the disclosure and its advantage is more fully understood, referring now to being described below in conjunction with attached drawing, in which:
Fig. 1 diagrammatically illustrates the application scenarios of the update method according to the embodiment of the present disclosure;
Fig. 2 diagrammatically illustrates the flow chart of the update method according to the embodiment of the present disclosure;
Fig. 3 A diagrammatically illustrates the processing at least two first more new data according to the embodiment of the present disclosure, generates extremely
The flow chart of few one second more new data;
Fig. 3 B diagrammatically illustrates the flow chart of the multiple first more new data of acquisition according to the embodiment of the present disclosure;
Fig. 4 diagrammatically illustrates the block diagram of the more new system according to the embodiment of the present disclosure;And
Fig. 5 diagrammatically illustrates the block diagram of the electronic equipment according to the embodiment of the present disclosure.
Specific embodiment
Hereinafter, will be described with reference to the accompanying drawings embodiment of the disclosure.However, it should be understood that these descriptions are only exemplary
, and it is not intended to limit the scope of the present disclosure.In the following detailed description, to elaborate many specific thin convenient for explaining
Section is to provide the comprehensive understanding to the embodiment of the present disclosure.It may be evident, however, that one or more embodiments are not having these specific thin
It can also be carried out in the case where section.In addition, in the following description, descriptions of well-known structures and technologies are omitted, to avoid
Unnecessarily obscure the concept of the disclosure.
Term as used herein is not intended to limit the disclosure just for the sake of description specific embodiment.It uses herein
The terms "include", "comprise" etc. show the presence of the feature, step, operation and/or component, but it is not excluded that in the presence of
Or add other one or more features, step, operation or component.
There are all terms (including technical and scientific term) as used herein those skilled in the art to be generally understood
Meaning, unless otherwise defined.It should be noted that term used herein should be interpreted that with consistent with the context of this specification
Meaning, without that should be explained with idealization or excessively mechanical mode.
It, in general should be according to this using statement as " at least one in A, B and C etc. " is similar to
Field technical staff is generally understood the meaning of the statement to make an explanation (for example, " system at least one in A, B and C "
Should include but is not limited to individually with A, individually with B, individually with C, with A and B, with A and C, have B and C, and/or
System etc. with A, B, C).Using statement as " at least one in A, B or C etc. " is similar to, generally come
Saying be generally understood the meaning of the statement according to those skilled in the art to make an explanation (for example, " having in A, B or C at least
One system " should include but is not limited to individually with A, individually with B, individually with C, with A and B, have A and C, have
B and C, and/or the system with A, B, C etc.).
Shown in the drawings of some block diagrams and/or flow chart.It should be understood that some sides in block diagram and/or flow chart
Frame or combinations thereof can be realized by computer program instructions.These computer program instructions can be supplied to general purpose computer,
The processor of special purpose computer or other programmable data processing units, so that these instructions are when executed by this processor can be with
Creation is for realizing function/operation device illustrated in these block diagrams and/or flow chart.The technology of the disclosure can be hard
The form of part and/or software (including firmware, microcode etc.) is realized.In addition, the technology of the disclosure, which can be taken, is stored with finger
The form of computer program product on the computer readable storage medium of order, the computer program product is for instruction execution system
System uses or instruction execution system is combined to use.
Embodiment of the disclosure provides a kind of update method, when being included in target software and being in first version, obtains extremely
Few two first more new datas, wherein orderly install described at least two first in the target software of the first version and update
After data, the target software can be updated to the second edition, handle at least two first more new data, generate at least
One second more new data, wherein the quantity of the described second more new data is less than the quantity of the first more new data, and is based on institute
At least one second more new data is stated, the target software is updated to the second edition.
Fig. 1 diagrammatically illustrates the application scenarios of the update method according to the embodiment of the present disclosure.It should be noted that Fig. 1
Shown is only the example that can apply the scene of the embodiment of the present disclosure, to help skilled in the art to understand the technology of the disclosure
Content, but it is not meant to that the embodiment of the present disclosure may not be usable for other equipment, system, environment or scene.
As shown in Figure 1, target software is in first version, and current newest stable release is the second edition, is needed at this time
Target software is updated from first version to the second edition.In practical applications, if user's long period, not updated this was soft
Part or user install the software for the first time or software upgrading is more frequent, and being likely to require repeatedly to update could update to the
Two versions.For example, by the first more new data 1, being updated to first transition version on the basis of first version, then leading to
The first more new data 2 is crossed, second transition version is updated to, and so on, is updated to eventually by the first more new data n-1
Two versions.However, update each time be it is independent, may show progress bar also only illustrate this update progress,
User is not aware that how many more Times update below especially in some cases needs equipment or software weight after updating every time
After new starting, transition version can just come into force, and could execute and update next time, seriously affect user experience.
Multiple first more new datas can be merged into the second more new data by the method for the embodiment of the present disclosure, for example, by complete
The more new data of portion first merges into one second more new data, is based on the second more new data, first version is updated to the second edition
This, reduces the number of update, improves user experience.
Fig. 2 diagrammatically illustrates the flow chart of the update method according to the embodiment of the present disclosure.
As shown in Fig. 2, this method includes operation S210~S230.
In operation S210, when target software is in first version, at least two first more new datas are obtained, wherein
After the target software of the first version orderly installs at least two first more new data, the target software can be by more
Newly to the second edition.
In operation S220, at least two first more new data is handled, at least one second more new data is generated,
In, the quantity of the described second more new data is less than the quantity of the first more new data.
The target software is updated to described second based at least one described second more new data in operation S230
Version.
This method can obtain the second more new data by the multiple first more new data of integration, pass through the second more new data pair
Target software is updated, and reduces update times, improves user experience.
According to the embodiment of the present disclosure, the described first more new data is after updating target software, target software to be needed to open again
Dynamic data, that is, need target software to restart after each described first more new data of installation.In addition, installation each second
More new data be generally also required to target software restarting, but due to the quantity of the second more new data less than first more new data
Quantity, so the method for the embodiment of the present disclosure at least reduces the number of restarting.It optionally, can be by all first more
New data processing is one second more new data, and only needs once to restart.
In some embodiments, target software may be system software, and the restarting of target software may cause system
Restarting, in further embodiments, though the starting of target software do not need system restarting, the life of transition version
Effect needs system to restart, and in these cases, the method for the embodiment of the present disclosure can reduce the number of system restarting,
Improve user experience.
According to the embodiment of the present disclosure, the data of target software be divided into it is multiple can be independently updated data block the case where
Under, at least two first more new data is handled, generating at least one second more new data can be by as shown in Figure 3A
Method is realized.
Fig. 3 A diagrammatically illustrates the processing at least two first more new data according to the embodiment of the present disclosure, generates extremely
The flow chart of few one second more new data.
In operation S310, the update part for corresponding to a data block in multiple described first more new datas is handled, is generated
Correspond to the update part of the data block in second more new data.
In operation S320, merges the update part for corresponding to each data block, obtain at least one second more new data.
For example, target software includes data block M and data block N, each first updated data package is included for more new data block M
The update part x and update part y for more new data block N.Multiple update part x are handled, obtain updating part
X, wherein the successively update using each update part x to data block M the update result updated and being updated using X to data block M
As a result identical.Similarly, multiple update part y are handled to obtain updating part Y.Part X will be updated to merge with part Y is updated
Obtain the second more new data.It will be appreciated that the data number of blocks of target software is not limited to two, there can be any amount
Data block.This method is targetedly integrated for the data block divided in target software, improves system effectiveness.
According to the embodiment of the present disclosure, the update of a data block is corresponded in the multiple described first more new datas of processing
Part, generate correspond in the second more new data the data block update section point include be primary sources block in data block
In the case where, the update part for corresponding to the data block in the newest first more new data is obtained, as the second more new data
In correspond to the data block update part, wherein the described first more new data correspond to the primary sources block more
New portion is when updating for covering the total data in the primary sources block.
According to the embodiment of the present disclosure, primary sources block using the first more new data when being updated, directly more using first
The data in the data cover primary sources block in new data, and it is unrelated with original data in the primary sources block.
Therefore, when there are multiple first more new datas, it is only necessary to using the last one first more new data to the primary sources block
It is updated.By the method for the embodiment of the present disclosure, when handling primary sources block, number is updated due to obtaining multiple first
According to, it is possible to reduce the number updated in vain improves and updates efficiency.
According to the embodiment of the present disclosure, the update of a data block is corresponded in the multiple described first more new datas of processing
Part, generate correspond in the second more new data the data block update section point include be different from the first kind in data block
In the case where the secondary sources block of data block, based on the update section for corresponding to the data block in each first more new data
Point, determine the update part for corresponding to the data block in the second more new data.
According to the embodiment of the present disclosure, secondary sources block using the first more new data when being updated, directly more using first
The data in the data processing secondary sources block in new data, thus update result with it is original in the secondary sources block
Data are related.Therefore, it when there are multiple first more new datas, needs successively using each first more new data to second class
Data block is updated.
It is described based on the update section for corresponding to the data block in each first more new data according to the embodiment of the present disclosure
Point, determine in the second more new data to include corresponding in each first more new data corresponding to the update section of the data block point
In the update part of the data block, the update part cancelled out each other if it exists, then based on except the update part cancelled out each other
In addition other update part, determine the update part for corresponding to the data block in the second more new data.For example, if it exists four
A first more new data A, B, C, D, the update part for corresponding to a certain secondary sources block is respectively A1、B1、C1、D1,
In, B1And C1It is opposite more new data, is successively using B1And C1After update, which can't change,
Therefore, A can be used only1And D1It is updated.By the method for the embodiment of the present disclosure, when handling secondary sources block, due to
Obtain the multiple first more new datas, it is possible to reduce the number updated in vain improves and updates efficiency.
The method difference primary sources block and secondary sources block of the embodiment of the present disclosure are handled respectively, can effectively be mentioned
Gao Gengxin efficiency.
It is described when target software is in first version according to the embodiment of the present disclosure, obtain multiple first updated data packages
It includes circulation and executes following operation, until the more first more new datas can not be obtained: based on current version identifications, obtaining one the
One more new data determines the version information after installing the described first more new data, and based in installation first update
Version information revision mark after data, as the current version identifications for obtaining the first more new data.Below with reference to
Fig. 3 B is illustrated.
Fig. 3 B diagrammatically illustrates the flow chart of the multiple first more new data of acquisition according to the embodiment of the present disclosure.
As shown in Figure 3B, this method starts from operating S330.
In operation S330, current version identifications are based on, obtain one first more new data.
In operation S340, the version information after installing the described first more new data is determined.
Operation S350, based on after the described first more new data be installed version information revision identify, as with
In the current version identifications for obtaining the first more new data.
In operation S360, judge whether that the more first more new datas can not be obtained, if more first can not be obtained more
New data, then process terminates, and otherwise returns to operation S330, continues to obtain other first more new datas.
In some embodiments, target software can obtain next first update number when updating to next version
According in further embodiments, electronic equipment requests just request to obtain the first more new data on startup, therefore, starts every time
One first more new data can only be obtained, the next first more new data could be obtained after updating and restarting.This method will be installed
Version information after described first more new data as the current version information for obtaining the next first more new data so that
The multiple first more new datas can disposably be obtained.
Described to be based on current version identifications according to the embodiment of the present disclosure, one the first updated data package of acquisition includes transmission and obtains
It takes request and receives one first more new data, wherein the acquisition request includes that can be used for indicating the storage of electronic equipment
The information in space, it is described can not obtain more first updated data packages include receive the first response message, it is described first response letter
Breath shows that the memory space of the electronic equipment is not suitable for receiving the more first more new data.For example, obtaining i-th first
After more new data, free memory residue 10M, if however obtain the next first more new data, need that at least 50M's is available
Memory space determines that the more first more new datas can not be obtained at this time.This method can prejudge residual memory space, keep away
Exempt from the case where memory space inadequate occur during receiving the first more new data.
According to the embodiment of the present disclosure, it is described can not obtain more first updated data packages include receive the second response message,
Second response message shows to have been obtained for the newest first more new data.Second response message shows to have obtained institute
The more new data of the first of some need, therefore the more first more new datas can not be obtained.
Based on same design, the disclosure additionally provides a kind of more new system, referring to Fig. 4 to the embodiment of the present disclosure more
New system is illustrated.
Fig. 4 diagrammatically illustrates the block diagram of the more new system 400 according to the embodiment of the present disclosure.
As shown in figure 4, more new system 400 includes obtaining module 410, processing module 420 and update module 430.This is more
New system 400 can execute above-described various methods.
Module 410 is obtained, such as executes the operation S210 with reference to figure 2 above description, for being in first in target software
When version, at least two first more new datas are obtained, wherein described in orderly installing in the target software of the first version at least
After two first more new datas, the target software can be updated to the second edition.
Processing module 420, such as the operation S220 with reference to figure 2 above description is executed, for handling described at least two the
One more new data generates at least one second more new data, wherein the quantity of the described second more new data updates number less than first
According to quantity.
Update module 430, such as execute the operation S230 with reference to figure 2 above description, for based on it is described at least one the
The target software is updated to the second edition by two more new datas.
According to the embodiment of the present disclosure, the described first more new data is after updating target software, target software to be needed to open again
Dynamic data.
According to the embodiment of the present disclosure, the data of the target software are divided into multiple data blocks that can be independently updated, described
Processing module includes processing submodule and merging submodule.Submodule is handled, for handling multiple described first more new datas
In correspond to a data block update part, generate the second more new data in correspond to the data block update part.It closes
And submodule obtains at least one second more new data for merging the update part for corresponding to each data block.
According to the embodiment of the present disclosure, the processing submodule includes first processing units, for being the first kind in data block
In the case where data block, the update part for corresponding to the data block in the newest first more new data is obtained, more as second
Correspond to the update part of the data block in new data, wherein the described first more new data corresponds to the primary sources
The update part of block is when updating for covering the total data in the primary sources block.
According to the embodiment of the present disclosure, the processing submodule includes the second processing unit, for data block be different from
In the case where the secondary sources block of primary sources block, based in each first more new data correspond to the data block more
New portion determines the update part for corresponding to the data block in the second more new data.
According to the embodiment of the present disclosure, described the second processing unit is used to correspond to the number in each first more new data
According in the update part of block, the update part cancelled out each other if it exists, then based on its in addition to that cancels out each other updates part
He updates part, determines the update part for corresponding to the data block in the second more new data.
According to the embodiment of the present disclosure, the acquisition module executes following operation for recycling, until can not obtain more
First more new data: being based on current version identifications, obtains one first more new data, determines and is installing the described first more new data
Version information afterwards, and based on the version information revision mark after installing the described first more new data, as being used for
Obtain the current version identifications of the first more new data.
Described to be based on current version identifications according to the embodiment of the present disclosure, one the first updated data package of acquisition includes transmission and obtains
It takes request and receives one first more new data, wherein the acquisition request includes that can be used for indicating the storage of electronic equipment
The information in space, it is described can not obtain more first updated data packages include receive the first response message, it is described first response letter
Breath shows that the memory space of the electronic equipment is not suitable for receiving the more first more new data.
According to the embodiment of the present disclosure, it is described can not obtain more first updated data packages include receive the second response message,
Second response message shows to have been obtained for the newest first more new data.
It is module according to an embodiment of the present disclosure, submodule, unit, any number of or in which any more in subelement
A at least partly function can be realized in a module.It is single according to the module of the embodiment of the present disclosure, submodule, unit, son
Any one or more in member can be split into multiple modules to realize.According to the module of the embodiment of the present disclosure, submodule,
Any one or more in unit, subelement can at least be implemented partly as hardware circuit, such as field programmable gate
Array (FPGA), programmable logic array (PLA), system on chip, the system on substrate, the system in encapsulation, dedicated integrated electricity
Road (ASIC), or can be by the hardware or firmware for any other rational method for integrate or encapsulate to circuit come real
Show, or with any one in three kinds of software, hardware and firmware implementations or with wherein any several appropriately combined next reality
It is existing.Alternatively, can be at least by part according to one or more of the module of the embodiment of the present disclosure, submodule, unit, subelement
Ground is embodied as computer program module, when the computer program module is run, can execute corresponding function.
For example, obtaining module 410, processing module 420, update module 430, processing submodule, merging submodule, at first
Reason unit and the second processing unit in it is any number of may be incorporated in a module realize or it is therein any one
Module can be split into multiple modules.Alternatively, at least partly function of one or more modules in these modules can be with
At least partly function of other modules combines, and realizes in a module.In accordance with an embodiment of the present disclosure, module is obtained
410, processing module 420, update module 430, processing submodule, merging submodule, first processing units and second processing list
At least one of member can at least be implemented partly as hardware circuit, such as field programmable gate array (FPGA), can compile
Journey logic array (PLA), system on chip, the system on substrate, the system in encapsulation, specific integrated circuit (ASIC), or can be with
It is realized by carrying out the hardware such as any other rational method that is integrated or encapsulating or firmware to circuit, or with software, hardware
And it any one in three kinds of implementations of firmware or several appropriately combined is realized with wherein any.Alternatively, obtaining module
410, processing module 420, update module 430, processing submodule, merging submodule, first processing units and second processing list
At least one of member can at least be implemented partly as computer program module, when the computer program module is run
When, corresponding function can be executed.
Fig. 5 diagrammatically illustrates the block diagram of the electronic equipment 500 according to the embodiment of the present disclosure.Department of computer science shown in Fig. 5
System is only an example, should not function to the embodiment of the present disclosure and use scope bring any restrictions.
As shown in figure 5, electronic equipment 500 includes processor 510 and computer readable storage medium 520.The electronic equipment
500 can execute the method according to the embodiment of the present disclosure.
Specifically, processor 510 for example may include general purpose microprocessor, instruction set processor and/or related chip group
And/or special microprocessor (for example, specific integrated circuit (ASIC)), etc..Processor 510 can also include using for caching
The onboard storage device on way.Processor 510 can be the different movements for executing the method flow according to the embodiment of the present disclosure
Single treatment unit either multiple processing units.
Computer readable storage medium 520, such as can be non-volatile computer readable storage medium, specific example
Including but not limited to: magnetic memory apparatus, such as tape or hard disk (HDD);Light storage device, such as CD (CD-ROM);Memory, such as
Random access memory (RAM) or flash memory;Etc..
Computer readable storage medium 520 may include computer program 521, which may include generation
Code/computer executable instructions execute processor 510 according to the embodiment of the present disclosure
Method or its any deformation.
Computer program 521 can be configured to have the computer program code for example including computer program module.Example
Such as, in the exemplary embodiment, the code in computer program 521 may include one or more program modules, for example including
521A, module 521B ....It should be noted that the division mode and number of module are not fixation, those skilled in the art can
To be combined according to the actual situation using suitable program module or program module, when these program modules are combined by processor 510
When execution, processor 510 is executed according to the method for the embodiment of the present disclosure or its any deformation.
In accordance with an embodiment of the present disclosure, it obtains module 410, processing module 420, update module 430, processing submodule, close
And at least one of submodule, first processing units and the second processing unit can be implemented as the calculating with reference to Fig. 5 description
Corresponding operating described above may be implemented when being executed by processor 510 in machine program module.
The disclosure additionally provides a kind of computer readable storage medium, which can be above-mentioned reality
It applies included in equipment/device/system described in example;Be also possible to individualism, and without be incorporated the equipment/device/
In system.Above-mentioned computer readable storage medium carries one or more program, when said one or multiple program quilts
When execution, the method according to the embodiment of the present disclosure is realized.
In accordance with an embodiment of the present disclosure, computer readable storage medium can be non-volatile computer-readable storage medium
Matter, such as can include but is not limited to: portable computer diskette, hard disk, random access storage device (RAM), read-only memory
(ROM), erasable programmable read only memory (EPROM or flash memory), portable compact disc read-only memory (CD-ROM), light
Memory device, magnetic memory device or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can
With to be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or
Person is in connection.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of above-mentioned module, program segment or code include one or more
Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box
The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical
On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants
It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule
The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction
It closes to realize.
It will be understood by those skilled in the art that the feature recorded in each embodiment and/or claim of the disclosure can
To carry out multiple combinations and/or combination, even if such combination or combination are not expressly recited in the disclosure.Particularly, exist
In the case where not departing from disclosure spirit or teaching, the feature recorded in each embodiment and/or claim of the disclosure can
To carry out multiple combinations and/or combination.All these combinations and/or combination each fall within the scope of the present disclosure.
Although the disclosure, art technology has shown and described referring to the certain exemplary embodiments of the disclosure
Personnel it should be understood that in the case where the spirit and scope of the present disclosure limited without departing substantially from the following claims and their equivalents,
A variety of changes in form and details can be carried out to the disclosure.Therefore, the scope of the present disclosure should not necessarily be limited by above-described embodiment,
But should be not only determined by appended claims, also it is defined by the equivalent of appended claims.
Claims (10)
1. a kind of update method, comprising:
When target software is in first version, at least two first more new datas are obtained, wherein in the mesh of the first version
After mark software orderly installs at least two first more new data, the target software can be updated to the second edition;
At least two first more new data is handled, at least one second more new data is generated, wherein described second updates number
According to quantity be less than the first more new data quantity;And
Based at least one described second more new data, the target software is updated to the second edition.
2. according to the method described in claim 1, wherein, the described first more new data is after updating target software, to need target
The data of software restarting.
3. according to the method described in claim 1, wherein, the data of the target software are divided into multiple numbers that can be independently updated
According to block, the processing at least two first more new data generates at least one second updated data package and includes:
The update part for corresponding to a data block in multiple described first more new datas is handled, it is right in the second more new data to generate
The update part of data block described in Ying Yu;And
Merge the update part for corresponding to each data block, obtains at least one second more new data.
4. according to the method described in claim 3, wherein, corresponding to a number in the multiple described first more new datas of processing
According to the update part of block, generates in the second more new data and is comprised at least one of the following corresponding to the update section of the data block point:
In the case where data block is primary sources block, obtains and correspond to the data block in the newest first more new data
Part is updated, as the update part for corresponding to the data block in second more new data, wherein the described first more new data pair
The update part of primary sources block described in Ying Yu is when updating for covering the total data in the primary sources block;Or
Person
In the case where data block is the secondary sources block different from primary sources block, based in each first more new data
Corresponding to the update part of the data block, the update part for corresponding to the data block in the second more new data is determined.
It is described based on corresponding to the data block in each first more new data 5. according to the method described in claim 4, wherein
Update part, determine that the update section in the second more new data corresponding to the data block point includes:
Corresponding to the update section in the update part of the data block, cancelled out each other if it exists in each first more new data
Point, then based on other update parts in addition to that cancels out each other updates part, determine described in corresponding in the second more new data
The update part of data block.
6. it is described when target software is in first version according to the method described in claim 1, wherein, obtain multiple first
Updated data package includes circulation and executes following operation, until the more first more new datas can not be obtained:
Based on current version identifications, one first more new data is obtained;
Determine the version information after installing the described first more new data;And
Based on the version information revision mark after installing the described first more new data, number is updated as obtaining first
According to current version identifications.
7. according to the method described in claim 6, wherein:
It is described to be based on current version identifications, it obtains first updated data package and includes transmission acquisition request and reception one first
More new data, wherein the acquisition request includes that can be used for indicating the information of the memory space of electronic equipment;
It is described can not obtain more first updated data packages and include receive the first response message, first response message shows institute
The memory space for stating electronic equipment is not suitable for receiving the more first more new data.
It is described to obtain more first updated data packages and include 8. according to the method described in claim 6, wherein:
The second response message is received, second response message shows to have been obtained for the newest first more new data.
9. a kind of more new system, comprising:
Module is obtained, for obtaining at least two first more new datas, wherein in institute when target software is in first version
State first version target software at least two first more new data is orderly installed after, the target software can be updated
To the second edition;
Processing module generates at least one second more new data for handling at least two first more new data, wherein
The quantity of described second more new data is less than the quantity of the first more new data;And
Update module, for based at least one described second more new data, the target software to be updated to the second edition
This.
10. a kind of electronic equipment, comprising:
Processor;And
Memory is stored thereon with computer-readable instruction, when described instruction is executed by processor, so that processor:
When target software is in first version, at least two first more new datas are obtained, wherein in the mesh of the first version
After mark software orderly installs at least two first more new data, the target software can be updated to the second edition;
At least two first more new data is handled, at least one second more new data is generated, wherein described second updates number
According to quantity be less than the first more new data quantity;And
Based at least one described second more new data, the target software is updated to the second edition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811156178.XA CN109189442B (en) | 2018-09-30 | 2018-09-30 | Updating method, system and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811156178.XA CN109189442B (en) | 2018-09-30 | 2018-09-30 | Updating method, system and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109189442A true CN109189442A (en) | 2019-01-11 |
CN109189442B CN109189442B (en) | 2022-03-25 |
Family
ID=64908085
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811156178.XA Active CN109189442B (en) | 2018-09-30 | 2018-09-30 | Updating method, system and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109189442B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111475185A (en) * | 2020-03-11 | 2020-07-31 | 苏州浪潮智能科技有限公司 | Method and system for stably upgrading BMC (baseboard management controller) image across large versions |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030163664A1 (en) * | 2002-02-28 | 2003-08-28 | Yasushi Kanda | Method and apparatus for updating a distributed program |
CN102081536A (en) * | 2010-12-30 | 2011-06-01 | 华为终端有限公司 | Method for updating increment, and server |
CN103927201A (en) * | 2014-03-25 | 2014-07-16 | 优视科技有限公司 | Method and device for updating game files |
CN106708537A (en) * | 2017-01-22 | 2017-05-24 | 百度在线网络技术(北京)有限公司 | Application updating method and application updating device |
CN108183960A (en) * | 2017-12-29 | 2018-06-19 | 中国平安人寿保险股份有限公司 | File updating method, server, storage medium and device based on CDN |
CN108228216A (en) * | 2018-01-02 | 2018-06-29 | 联想(北京)有限公司 | Update method, information processing system and electronic equipment |
-
2018
- 2018-09-30 CN CN201811156178.XA patent/CN109189442B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030163664A1 (en) * | 2002-02-28 | 2003-08-28 | Yasushi Kanda | Method and apparatus for updating a distributed program |
CN102081536A (en) * | 2010-12-30 | 2011-06-01 | 华为终端有限公司 | Method for updating increment, and server |
CN103927201A (en) * | 2014-03-25 | 2014-07-16 | 优视科技有限公司 | Method and device for updating game files |
CN106708537A (en) * | 2017-01-22 | 2017-05-24 | 百度在线网络技术(北京)有限公司 | Application updating method and application updating device |
CN108183960A (en) * | 2017-12-29 | 2018-06-19 | 中国平安人寿保险股份有限公司 | File updating method, server, storage medium and device based on CDN |
CN108228216A (en) * | 2018-01-02 | 2018-06-29 | 联想(北京)有限公司 | Update method, information processing system and electronic equipment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111475185A (en) * | 2020-03-11 | 2020-07-31 | 苏州浪潮智能科技有限公司 | Method and system for stably upgrading BMC (baseboard management controller) image across large versions |
Also Published As
Publication number | Publication date |
---|---|
CN109189442B (en) | 2022-03-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10055216B2 (en) | Minimizing image copying during partition updates | |
CN111258744A (en) | Task processing method based on heterogeneous computation and software and hardware framework system | |
US20110246988A1 (en) | Hypervisor for starting a virtual machine | |
US10963267B2 (en) | Bootstrapping profile-guided compilation and verification | |
US20170161149A1 (en) | Backup management of software environments in a distributed network environment | |
CN109800005B (en) | Client hot update method and device | |
CN109445783A (en) | By the construction method and device of the dynamic configuration application of service driving | |
US10338910B2 (en) | Multi-tenant upgrading | |
US9380001B2 (en) | Deploying and modifying a service-oriented architecture deployment environment model | |
US20170161050A1 (en) | Methods for Downloading and Installing Computer Software Applications on Demand | |
US20120131560A1 (en) | Virtual machine testing | |
CN112394938A (en) | Method and device for configuring heterogeneous components in accelerator | |
US8448190B2 (en) | Methods, systems, and computer readable media for high reliability downloading of background assets using a manifest in a virtual world application | |
CN112650521B (en) | Software development kit SDK thermal restoration method and device and electronic equipment | |
US20240036921A1 (en) | Cascading of Graph Streaming Processors | |
CN109189442A (en) | Update method, system and electronic equipment | |
US10198784B2 (en) | Capturing commands in a multi-engine graphics processing unit | |
US8601415B2 (en) | Planning for hardware-accelerated functional verification | |
CN110955415A (en) | Method for adapting projection multi-platform service | |
CN109862089A (en) | Data processing method, device, system, computer readable storage medium | |
CN109614230A (en) | Resource virtualizing method, apparatus and electronic equipment | |
CN110888649B (en) | Application deployment method, application baseline creation method and device | |
CN107220101B (en) | Container creation method and device | |
CN112818613A (en) | Automatic simulation method, device, equipment and storage medium | |
CN108228216A (en) | Update method, information processing system and electronic equipment |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |