CN110333894A - Method for upgrading system and device - Google Patents
Method for upgrading system and device Download PDFInfo
- Publication number
- CN110333894A CN110333894A CN201910620220.7A CN201910620220A CN110333894A CN 110333894 A CN110333894 A CN 110333894A CN 201910620220 A CN201910620220 A CN 201910620220A CN 110333894 A CN110333894 A CN 110333894A
- Authority
- CN
- China
- Prior art keywords
- file
- upgrade
- version
- end system
- list
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 96
- 230000005540 biological transmission Effects 0.000 claims description 17
- 230000001960 triggered effect Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 9
- 238000000926 separation method Methods 0.000 description 4
- 230000006837 decompression Effects 0.000 description 3
- 238000012795 verification Methods 0.000 description 3
- 108010001267 Protein Subunits Proteins 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000005096 rolling process Methods 0.000 description 2
- 241000208340 Araliaceae Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
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
- G06F8/658—Incremental updates; Differential updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Abstract
The present invention relates to software upgrading technical field more particularly to a kind of method for upgrading system and device, this method comprises:, at the preset system upgrade moment, by preset system upgrade occupied bandwidth, end system sends upgrade request backward after front end system starting;Upon receipt when the upgrade information corresponding with upgrade request of end system feedback, the differential file list and version delta package to be upgraded for including in upgrade information are obtained;According to differential file list, the current system version packet of front end system is separated into without updating file and need to update file;It will be integrated into new system version packet without updating file and version delta package, and according to the new system version packet, system upgrade is carried out to the front end system.Using method for upgrading system provided by the invention, when reaching predetermined system update time, front end system upgrades occupied bandwidth by predetermined system, carries out system upgrade automatically, improves the system upgrade efficiency of front end system, reduces the consumption of network bandwidth.
Description
Technical field
The present invention relates to software upgrading technical field more particularly to a kind of method for upgrading system and device.
Background technique
Front end, i.e. software client operate in the end PC of airport sales counter, for providing service to air passenger.With life
The flat raising of running water, ISP increasingly focus on improving service level, in the hope of for user provide more comprehensively, finer clothes
Business, correspondingly, more stringent requirements are proposed to the traffic handing capacity of front end system, therefore, front end system is faced with more versions
This upgrading, the upgrading of existing front end system version is the front end system by operation maintenance personnel to on-site manual to each terminal
Carry out system upgrade.
Inventor is the study found that existing front end system edition upgrading is limited by time, place, personnel, cost of labor
It is consumed with time cost all bigger and inefficient.
Summary of the invention
Technical problem to be solved by the invention is to provide a kind of method for upgrading system, reach predetermined system update time
When, front end system upgrades occupied bandwidth by predetermined system, carries out system upgrade automatically, improves the efficiency of system upgrade, reduces
The consumption of network bandwidth.
The present invention also provides a kind of system upgrade devices, for guaranteeing the realization and application of the above method in practice.
A kind of method for upgrading system, the method are applied to front end system, which comprises
After front end system starting, at the preset system upgrade moment, by preset system upgrade available bandwidth, to
Back-end system sends upgrade request, includes the current system version information of the front end system and registration letter in the upgrade request
Breath;
When receiving the upgrade information corresponding with the upgrade request of the back-end system feedback, the upgrading is obtained
The differential file list and version delta package to be upgraded for including in information;
According to the differential file list, the current system version packet of the front end system is separated into without updating file
With need to update file;Wherein, the differential file list includes: that file updates list, file increases list newly and file deletes column
Table;
By described without updating file and the version delta package is integrated into new system version packet, and according to described new
System version packet carries out system upgrade to the front end system.
Above-mentioned method, optionally, the system version packet that the front end system is current are separated into without updating text
Part and file need to be updated, comprising:
Determine each system file corresponding with the system version packet;
The filename of each system file is updated into list with the file respectively, the file increases list and institute newly
The filename for stating each differential file for including in file delete list is compared, and judges that the file updates list, described
File, which increases newly, whether there is differential file identical with the filename of the system file in list or the file delete list, when
In the presence of, it is determined as needing the system file that updates when it be not present to be determined as being not required to by the system file system file
The system file to be updated;
File need to be updated by system file composition that determining each needs update is described, each do not needed determining more
New system file composition is described without updating file.
Above-mentioned method, optionally, further includes:
The mode of operation in the front end system escalation process is recorded, and the mode of operation is sent to the rear end system
System.
Above-mentioned method, optionally, further includes:
During upgrading to the front end system, if upgrading failure, version rollback is sent to the back-end system
Request;
Receive back-end system feedback with version rollback request corresponding rollback information when, described in judgement
It whether include rollback task in rollback information;
If including rollback task in the rollback information, according to the rollback version packet of the rollback information, before described
End system carries out version rollback.
A kind of system upgrade device, described device are applied to front end system, and described device includes:
Transmission unit, at the preset system upgrade moment, passes through preset system liter after front end system starting
Grade available bandwidth, end system sends upgrade request backward, includes the current system version of the front end system in the upgrade request
This information and registration information;
Acquiring unit, in the upgrade information corresponding with the upgrade request for receiving the back-end system feedback
When, obtain the differential file list for including in the upgrade information and version delta package to be upgraded;
Split cells, for according to the differential file list, the current system version packet of the front end system to be separated
At without updating file and file need to be updated;Wherein, the differential file list includes: that file updates list, file is newly added
Table and file delete list;
Integral unit, for by described without updating file and the version delta package is integrated into new system version packet,
And according to the new system version packet, system upgrade is carried out to the front end system.
A kind of method for upgrading system, the method are applied to back-end system, which comprises
When receiving the upgrade request of front end system transmission, the front end system for including in the upgrade request is obtained
Registration information, and verify according to the registration information permission of the upgrade request;
When being verified, the system version information current according to front end system described in the upgrade request, judgement is
It is no to there is corresponding with the system version information pre-generated differential file list and version delta package;
If it exists, then pre-generated differential file list and version delta package are obtained, and according to described pre-generated
Differential file list and the version delta package generate upgrade information corresponding with the upgrade request;
The upgrade information is sent to the front end system, the front end system is triggered and is carried out according to the upgrade information
System upgrade.
Above-mentioned method, optionally, the pre-generated process of the differential file list and version delta package, comprising:
When receiving the upgraded version packet submission request to target front end system, obtains the upgraded version packet submission and ask
The upgraded version packet for including in asking, and whether the version number for verifying the upgraded version packet meets incremental and uniqueness;
When the version number of the upgraded version packet meets incremental and uniqueness, the upgraded version packet is decompressed, is obtained
Upgrade file set corresponding with the upgraded version packet, and obtain the current system version packet pair with the target front end system
The current file set answered;
By each system file in each upgrade file and the current file set in the upgrade file set
It is compared, the first file set and the second file set is determined in the upgrade file set, in the current file collection
Third file set is determined in conjunction;The filename of each upgrade file in first file set is present in the upgrading text
In part set and be present in the current file set, and the file message digest of the corresponding upgrade file of each filename and
The file message digest of system file is not identical;The filename of each upgrade file in second file set is present in institute
It states in upgrade file set and is not present in the current file set;Each system file in the third file set
Filename be not present in the upgrade file set and be present in the current file set;
The filename typing of each upgrade file in first file set to established file is updated into list
In;
The filename typing of each upgrade file in second file set to established file is increased newly in list;
By the filename typing of each system file in the third file set into established file delete list;
List is updated according to the established file, file increases list newly, file delete list generates the difference text
Part list;
From the upgrade file set, upgrading text corresponding with filename each in file update list is obtained
Part, and upgrade file corresponding with filename each in the newly-increased list of the file is obtained, and each upgrading that will acquire
File forms version delta package.
Whether above-mentioned method, optionally, the version number of the verifying upgraded version packet meet incremental and unique
Property, comprising:
Whether the compressed format for judging the upgraded version packet is default compressed format, if so, by the upgraded version
The version number of packet and the version number of each version packet in the version management database constructed in advance compare one by one;
If the version number of all version packets and the upgraded version packet in the version management database constructed in advance
Version number is all different, and version number's serial number of the upgraded version packet is than institute in the version management database constructed in advance
Have version number's serial number of version packet it is big when, determine that the version number of the upgraded version packet meets incremental and uniqueness.
Above-mentioned method, optionally, after the build version delta package, further includes:
System upgrade time and system upgrade available bandwidth are set for the target front end system, and trigger the mesh
Front end system is marked when reaching the system upgrade time, passes through the system upgrade available bandwidth, Xiang Suoshu back-end system hair
Upgrade request is sent, and carries out system upgrade.
A kind of system upgrade device, described device are applied to back-end system, and described device includes:
Authentication unit, for obtaining in the upgrade request and including when receiving the upgrade request of front end system transmission
The front end system registration information, and verify according to the registration information permission of the upgrade request;
Judging unit, for when being verified, the system version current according to front end system described in the upgrade request
This information judges whether there is pre-generated differential file list corresponding with the system version information and version increment
Packet;
Generation unit, for if it exists, then obtaining pre-generated differential file list and version delta package, and according to institute
Pre-generated differential file list and the version delta package are stated, upgrade information corresponding with the upgrade request is generated;
Transmission unit triggers the front end system according to institute for the upgrade information to be sent to the front end system
It states upgrade information and carries out system upgrade.
A kind of storage medium, the storage medium include the instruction of storage, wherein in described instruction operation described in control
Equipment where storage medium executes above-mentioned method for upgrading system.
A kind of electronic equipment, including memory and one perhaps one of them or one of more than one instruction with
Upper instruction is stored in memory, and is configured to execute above-mentioned system upgrade side by one or more than one processor
Method.
Compared with prior art, the present invention includes the following advantages:
The present invention provides a kind of method for upgrading system, comprising: after front end system starting, in preset system upgrade
It carves, by preset system upgrade occupied bandwidth, end system sends upgrade request backward, before including described in the upgrade request
The current system version inventory of end system and registration information;Receiving back-end system feedback with the upgrade request pair
When the upgrade information answered, the differential file list for including in the upgrade information and version delta package to be upgraded are obtained;Foundation
The current system version packet of the front end system is separated into without updating file and need to update text by the differential file list
Part;Wherein, the differential file list includes: that file updates list, file increases list and file delete list newly;By the nothing
File need to be updated and the version delta package is integrated into new system version packet, and according to the new system version packet, to institute
It states front end system and carries out system upgrade.It is preceding when reaching predetermined system update time using method for upgrading system provided by the invention
End system upgrades occupied bandwidth by predetermined system, carries out system upgrade automatically, improves the system upgrade efficiency of front end system,
Reduce the consumption of network bandwidth.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of method flow diagram of method for upgrading system provided by the invention;
Fig. 2 is a kind of structural schematic diagram of system upgrade device provided by the invention;
Fig. 3 is a kind of method flow diagram of method for upgrading system provided by the invention;
Fig. 4 is a kind of another method flow diagram of method for upgrading system provided by the invention;
Fig. 5 is a kind of structural schematic diagram of system upgrade device provided by the invention;
Fig. 6 is the structural schematic diagram of a kind of electronic equipment provided by the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
The present invention can be used in numerous general or special purpose computing device environment or configurations.Such as: personal computer, service
Device computer, handheld device or portable device, laptop device, multi-processor device including any of the above devices or devices
Distributed computing environment etc..
The embodiment of the invention provides a kind of method for upgrading system, this method can be applied in multiple systems platform, be held
Row main body can be the front end system of terminal or various mobile devices, the method flow diagram of the method as shown in Figure 1,
It specifically includes:
S101: after the front end system starting, at the preset system upgrade moment, band can be used by preset system upgrade
Width, end system sends upgrade request backward, in the upgrade request comprising the current system version information of the front end system and
Registration information;
In method provided in an embodiment of the present invention, front end system is in starting state, when back-end system refers to for front end system
When fixed update time reaches, front end system is by preset system upgrade available bandwidth, and end system sends upgrade request backward,
It include front end system current system version information and registration information in the upgrade request, wherein system version information can be
Whether the version number of the current system version of front end system, registration information can be infused in back-end system for label front end system
The corresponding informance of volume, if front end system is not registered in back-end system, front end system needs first to complete to register in back-end system.
It should be noted that back-end system is front end system setting, front end system and back-end system when system upgrade in advance
Interact the system upgrade available bandwidth of service.
S102: when receiving the upgrade information corresponding with the upgrade request of the back-end system feedback, institute is obtained
State the differential file list for including in upgrade information and version delta package to be upgraded;
In method provided in an embodiment of the present invention, after the upgrade request that back-end system passes through front end system, front end system
The upgrade information for receiving back-end system feedback, includes differential file list and version delta package to be upgraded in the upgrade information,
Wherein, be in differential file list version and front end system to be upgraded current system version between differential file it is corresponding
Filename, version delta package include differential file name corresponding differential file in part in differential file list.
S103: according to the differential file list, the current system version packet of the front end system is separated into without more
New file and file need to be updated;
In method provided in an embodiment of the present invention, differential file column update list comprising file, file increases list and text newly
Part delete list, according to the filename in each listed files in differential file list, to the current system version of front end system
This packet carries out file separation, and the current version packet of front end system is separated into and is not necessarily to update file, and need to update file.
S104: by described without updating file and the version delta package is integrated into new system version packet, and according to institute
New system version packet is stated, system upgrade is carried out to the front end system.
It is to be upgraded in file and upgrade information without updating by what is isolated in method provided in an embodiment of the present invention
Version delta package is integrated, and new system version packet is integrated into, which is complete version packet, and according to new
System version packet carries out system upgrade to front end system.
Method for upgrading system provided in an embodiment of the present invention, front end system are in starting state, when back-end system is front end
When the specified update time of system reaches, by preset system upgrade available bandwidth, end system is sent backward rises front end system
Grade request, after the upgrade request that back-end system passes through front end system, front end system receives the upgrade information of back-end system feedback,
In the upgrade information include differential file list and version delta package to be upgraded, differential file column comprising file update list,
File increases list and file delete list newly, according to the filename in each listed files in differential file list, to front end
The current system version packet of system carries out file separation, and the current version packet of front end system is separated into and is not necessarily to update file, and
File need to be updated, is integrated what is isolated without updating the version delta package to be upgraded in file and upgrade information, it is whole
New system version packet is synthesized, which is complete version packet, and according to new system version packet, to front end system
Carry out system upgrade.Using method for upgrading system provided in an embodiment of the present invention, when reaching predetermined system update time, front end system
System upgrades occupied bandwidth by predetermined system, carries out system upgrade automatically, improves the system upgrade efficiency of front end system, reduces
The consumption of network bandwidth.
It should be noted that method provided in an embodiment of the present invention can be adapted for the departure from port front end system of airport sales counter,
If front end system is not registered in back-end system, need first to complete to register in back-end system, airport departure from port front end system is being registered
When, the configuration account for carrying airport sales counter is registered in rear end;Wherein, configuration account may include product authorization number, machine
Field information, airport IP address of internal network, private network IP address, MAC (Media Access Control Address, media interviews control
Address processed, also referred to as lan address, ethernet address or physical address) the front end systems information such as address, it is also possible to product and awards
Weigh one or more of front end systems information such as number, Airport information, airport IP address of internal network, private network IP address, MAC Address
Combination.
It should be noted that front end system needs when carrying out system upgrade in method provided in an embodiment of the present invention
The corresponding program of the front end system is closed, that is, closes the front end system.
The system version that the front end system is current that the step S101 that embodiments of the present invention Fig. 1 is disclosed is related to
Packet is separated into without updating file and need to update file, comprising the following steps:
Determine each system file corresponding with the system version packet;
The filename of each system file is updated into list with the file respectively, the file increases list and institute newly
The filename for stating each differential file for including in file delete list is compared, and judges that the file updates list, described
File, which increases newly, whether there is differential file identical with the filename of the system file in list or the file delete list, when
In the presence of, it is determined as needing the system file that updates when it be not present to be determined as being not required to by the system file system file
The system file to be updated;
File need to be updated by system file composition that determining each needs update is described, each do not needed determining more
New system file composition is described without updating file.
In method provided in an embodiment of the present invention, above-mentioned step is specifically included: obtaining work as with target front end system first
The corresponding each system file of preceding system version packet, and the filename of each system file increased newly with file respectively list and
The filename of each differential file in file delete list is compared, and the filename of system file and file are newly-increased if it exists
Filename in list is identical, or it is identical as the filename in file delete list when, then the system file is determined as needing
The system file of update, and the system file composition that determining each needs update need to be updated into file, and by system version packet
The other systems file needed to update outside file is removed in corresponding each system file, is determined as the file without updating.It is right
Each system file in the current system version packet of front end system carries out file separation, in order to carry out increment liter to system
Grade reduces network consumption, reduces time cost.
Illustrate without updating file and file need to be updated to being separated into the current system version packet of front end system
It is bright: to get in the current system version packet of front end system comprising the corresponding system file of the entitled A1 of file, entitled A2 pairs of file
The entitled C1 of the corresponding system file of the entitled B1 of system file, file, the corresponding system file of the entitled B2 of file, the file answered is corresponding
System file and the corresponding system file of the entitled C2 of file, in differential file list, it includes filename in list that file, which updates,
For A1 and B1, file increases the file entitled A3 and D1 for including in list newly, the entitled B2 of file for including in file delete list and
C1, by the way that the filename of each system file is updated list with file respectively, file increases newly in list and file delete list
The filename for including is compared, obtain the current system version packet of front end system filename A1 and with B1 both of these documents
The filename that name and file update in list is identical, filename B2 in the current system version packet of front end system and C1 this two
A filename is identical with the filename in file delete list, so, the corresponding system file of the entitled A1 of file, B1 is corresponding
System file, the corresponding system file of B2 and the corresponding system file of C1 be confirmed as need to updating file, and entitled A2 pairs of file
The corresponding system file of the entitled C2 of system file and file answered is confirmed as without updating file.
The step that embodiments of the present invention Fig. 1 is disclosed, can with the following steps are included:
The mode of operation in the front end system escalation process is recorded, and the mode of operation is sent to the rear end system
System.
In method provided in an embodiment of the present invention, above-mentioned step is specifically included: front end system monitors in escalation process
Mode of operation, and the mode of operation generated during system upgrade is recorded, and after the mode of operation is passed back to
End system is recorded with triggering back-end system for the mode of operation, wherein mode of operation may include: to send upgrading to ask
It asks, separate the current system version packet of front end system, integrate version packet and system upgrade success or upgrading failure is respectively corresponding
Operation.
The step that embodiments of the present invention Fig. 1 is disclosed, can with the following steps are included:
During upgrading to the front end system, if upgrading failure, version rollback is sent to the back-end system
Request;
Receive back-end system feedback with version rollback request corresponding rollback information when, described in judgement
It whether include rollback task in rollback information;
If including rollback task in the rollback information, according to the rollback version packet of the rollback information, before described
End system carries out version rollback.
In method provided in an embodiment of the present invention, above-mentioned step is specifically included: if front end system is carrying out system upgrade
When, upgrading failure then needs to carry out version rollback, that is, the version before rolling back to front end system upgrading, front end system is carrying out version
When this rollback, first backward end system send version rollback request, and obtain back-end system feedback with version rollback request pair
Whether the rollback information answered judge in the rollback information comprising rollback task, i.e., in rollback information whether include rollback version
Packet, if in rollback information including rollback task, according to the rollback version packet in rollback information, the version for carrying out front end system is returned
Rolling.
It should be noted that mode of operation during front end system record version rollback, and will be during version rollback
Mode of operation is sent to back-end system, wherein the mode of operation during version rollback includes: to send rollback to request corresponding behaviour
Make log, the corresponding operation log of version rollback success and the corresponding operation log of version rollback failure.
It should be noted that if being upgraded successfully, front end system can also request to carry out when front end system carries out system upgrade
Version rollback.
It should be noted that version rollback can carry out version rollback manually in method provided in an embodiment of the present invention.
Corresponding with method described in Fig. 1, the embodiment of the invention also provides a kind of system upgrade devices, for Fig. 1
The specific implementation of middle method, system upgrade device provided in an embodiment of the present invention can be applied in front end system, structural representation
Figure is as shown in Fig. 2, specifically include:
Transmission unit 201, at the preset system upgrade moment, passes through preset system after front end system starting
System upgrading available bandwidth, end system sends upgrade request backward, in the upgrade request comprising the front end system it is current be
System version information and registration information;
Acquiring unit 202, in upgrading corresponding with the upgrade request letter for receiving the back-end system feedback
When breath, the differential file list for including in the upgrade information and version delta package to be upgraded are obtained;
Split cells 203, for according to the differential file list, the current system version packet of the front end system to be divided
From at without updating file and file need to be updated;Wherein, the differential file list includes: that file updates list, file increases newly
List and file delete list;
Integral unit 204, for by described without updating file and the version delta package is integrated into new system version
Packet, and according to the new system version packet, system upgrade is carried out to the front end system.
System upgrade device provided in an embodiment of the present invention, when back-end system is that the update time that front end system is specified reaches
When, end system sends upgrade request to front end system backward, after the upgrade request that back-end system passes through front end system, front end system
The upgrade information for receiving back-end system feedback, includes differential file list and version delta package to be upgraded in the upgrade information,
Differential file column update list comprising file, file increases list and file delete list newly, according to each in differential file list
Filename in a listed files carries out file separation to the current system version packet of front end system, by the current of front end system
Version packet is separated into without updating file, and need to update file, by isolate without update in file and upgrade information to
The version delta package of upgrading is integrated, and new system version packet is integrated into, which is complete version packet, and according to
According to new system version packet, system upgrade is carried out to front end system.Using system upgrade device provided in an embodiment of the present invention, arrive
When up to predetermined system update time, front end system upgrades occupied bandwidth by predetermined system, carries out system upgrade automatically, improves
The system upgrade efficiency of front end system reduce the consumption of network bandwidth.
In one embodiment of the invention, aforementioned schemes are based on, split cells 203 is configured that
Subelement is determined, for determining each system file corresponding with the system version packet;
Comparison subunit, for the filename of each system file to be updated list, described with the file respectively
The filename that file increases each differential file for including in list and the file delete list newly is compared, and judges the text
Part updates list, the file increases newly in list or the file delete list with the presence or absence of the file famous prime minister with the system file
Same differential file, when it is present, which is determined as the system file that needs update is by this when it be not present
System file is determined as the system file for not needing to update;
Subelement is combined, the system file composition for updating each needs determined is described need to update file, will be true
Fixed each system file composition for not needing update is described without updating file.
In one embodiment of the invention, aforementioned schemes are based on, system upgrade device is also configured as:
Subelement is recorded, for recording the mode of operation in the front end system escalation process, and by the mode of operation
It is sent to the back-end system.
In one embodiment of the invention, aforementioned schemes are based on, system upgrade device is also configured as:
Transmission sub-unit, for failing if upgrading, to the rear end system during upgrading to the front end system
System sends version rollback request;
Judgment sub-unit, in the rollback corresponding with version rollback request for receiving the back-end system feedback
When information, whether judge in the rollback information comprising rollback task;
Rollback subelement, if for including rollback task, the rollback according to the rollback information in the rollback information
Version packet carries out version rollback to the front end system.
The embodiment of the invention also provides a kind of method for upgrading system, this method can be applied in multiple systems platform,
Executing subject can be terminal or the back-end system of various mobile devices, the method flow diagram of the method such as Fig. 3 institute
Show, specifically include:
S301: when receive front end system transmission upgrade request when, obtain include in the upgrade request it is described before
The registration information of end system, and verify according to the registration information permission of the upgrade request;
In method provided in an embodiment of the present invention, when back-end system receives the upgrade request of front end system transmission, according to
According to the registration information of the front end system in upgrade request, the upgrade request permission of front end system is verified, if front end system does not exist
Back-end system registered, then front end system does not have permission to be upgraded, if front end system was registered in back-end system, before
End system, which has permission, to be upgraded.
It should be noted that if front end system is not registered in back-end system, then need first to complete to register in back-end system.
S302: when being verified, the system version information current according to front end system described in the upgrade request is sentenced
It is disconnected to whether there is corresponding with the system version information pre-generated differential file list and version delta package;
In method provided in an embodiment of the present invention, when the upgrade request permission of back-end system verification front end system is to pass through
When, judge that the front end system with the presence or absence of upgrading task, that is, judges whether back-end system is stored with the system with the front end system
The corresponding differential file list of version information and version delta package, if back-end system is stored with the system version with the front end system
When the corresponding differential file list of information and version delta package, then judging front end system, there are upgrading tasks, if in back-end system
When being not stored in the corresponding differential file of system version information and version delta package of front end system, then judge that front end system is not deposited
In upgrading task.
S303: if it exists, then pre-generated differential file list and version delta package are obtained, and according to described pre- Mr.
At differential file list and the version delta package, generate corresponding with upgrade request upgrade information;
In method provided in an embodiment of the present invention, if being stored with difference text corresponding with system version information in back-end system
Part list and version delta package then obtain pre-generated differential file list and version delta package, and arrange according to differential file
Table and version delta package generate upgrade information corresponding with upgrade request.
S304: being sent to the front end system for the upgrade information, triggers the front end system and believes according to the upgrading
Breath carries out system upgrade.
In method provided in an embodiment of the present invention, after generating upgrade information corresponding with upgrade request, by upgrade information
It is sent to front end system, in order to which front end system carries out system upgrade according to the upgrade information.
Method for upgrading system provided in an embodiment of the present invention, when back-end system receives the upgrade request of front end system transmission
When, according to the registration information of the front end system in upgrade request, the upgrade request permission of front end system is verified, if front end system
It was registered in back-end system, then front end system, which has permission, is upgraded, when the upgrading of back-end system verification front end system is asked
Ask permission be by when, judge the front end system with the presence or absence of upgrading task, that is, judge back-end system whether be stored with before this
The corresponding differential file list of the system version information of end system and version delta package, if back-end system is stored with and the front end system
When the corresponding differential file list of the system version information of system and version delta package, then judge front end system there are upgrading task,
And upgrade information corresponding with upgrade request is generated according to differential file list and version delta package, it is generating and upgrade request pair
After the upgrade information answered, upgrade information is sent to front end system, in order to which front end system carries out system according to the upgrade information
Upgrading.Using method for upgrading system provided in an embodiment of the present invention, when the upgrade request that receiving front-end system is sent, before verifying
The upgrade request permission of end system, and when through upgrade request permission to front end system, it generates corresponding with upgrade request
Upgrade information, and upgrade information is sent to front end system, to trigger front end system according to upgrade information, automatic progress system liter
Grade, improves the system upgrade efficiency of front end system, saves a large amount of cost of labor and time cost.
Differential file list that the step S303 that embodiments of the present invention Fig. 3 is disclosed is related to and version delta package it is pre-
First generating process, as shown in Figure 4, comprising the following steps:
S401: it obtains and the upgraded version packet for including in request is submitted to the upgraded version packet of target front end system.
In method provided in an embodiment of the present invention, after developer, which wraps the upgraded version of target front end system, to be passed to
When end system, back-end system obtains upgraded version packet.
S402: whether the compressed format for judging upgraded version packet is default compressed format.
In method provided in an embodiment of the present invention, back-end system first determines whether the compressed format of upgraded version packet is pre-
If compressed format, if the compressed format of upgraded version packet is preset compressed format, S403 is thened follow the steps, if upgraded version packet
Compressed format be not preset compressed format, then be back to beginning.Optionally, preset compressed format can be ZIP format.
S403: judge whether the version number of upgraded version packet meets incremental and uniqueness.
In method provided in an embodiment of the present invention, the version management data that construct by the version number of upgraded version packet and in advance
The version number of all version packets is compared one by one in library, if the version number of version packet all in version management database with
When the version number of upgraded version packet is all different, and version number's serial number of upgraded version packet in version management database than owning
Version packet version number's serial number it is big when, determine upgraded version packet version number meet incremental and uniqueness.Wherein, upgrade
As long as no matter mostly version number's serial number of the version packet serial number of the version packet version packet more all than in version management database is big,
It is few, it is all satisfied incremental.
If the version number of upgraded version packet meets incremental and uniqueness, S404 is thened follow the steps, is otherwise back to beginning.
In order to preferably to judging whether the version number of upgraded version packet meets incremental and uniqueness is explained,
Now it is exemplified below:
There is the version packet that version number is V1.0, V2.0, V5.0, V8.0 and V10.0 in version management database, if upgrading
The version number of version packet is V12.0, then judges that the version of upgraded version packet meets incremental and uniqueness;If upgraded version packet
Version number is V9.0, then the version number of upgraded version packet only meets uniqueness, is unsatisfactory for incremental, is determined as upgraded version packet
Version is unsatisfactory for incremental and uniqueness;If the version number of upgraded version packet is V10.0, the version number of upgraded version packet is neither
Meet uniqueness, and is unsatisfactory for incremental.
S404: decompression upgraded version packet obtains upgrade file set corresponding with upgraded version packet, and before acquisition and target
The corresponding current file set of current system version packet of end system.
In method provided in an embodiment of the present invention, when the version number of upgraded version packet meets incremental and uniqueness, from
Each current file that the corresponding current system version packet of target front end system is obtained in version management database, according to current system
Each current file of system version packet, forms current file set, and decompress upgraded version packet, obtains corresponding with upgraded version packet
Upgrade file set.Wherein, include multiple upgrade files in upgrade file set, include multiple systems in current file set
File.
S405: by each system file in each upgrade file and the current file set in upgrade file set
It is compared, obtains differential file list and version delta package.
In method provided in an embodiment of the present invention, upgrade file set and current file set are traversed, in upgrade file collection
The first file set and the second file set are determined in conjunction, and third file set, the first file are determined in current file set
The filename of each upgrade file in set is present in upgrade file set and is present in current file set, and each
The file message digest of the corresponding upgrade file of filename and the file message digest of system file be not identical, the second file set
In the filename of each upgrade file be present in upgrade file set and be in the current file set, third file
The filename of each system file in set is not present in upgrade file set and is present in the current file set,
The filename typing of each upgrade file in first file set to established file is updated in list, by the second file
The filename typing of each upgrade file to established file increases newly in list in set, by system each in third file set
Unite file filename typing into established file delete list, and it is new according to established file to update list, file
Table, the generation differential file list of file delete list are added, and according to the first file set and the second file set, build version
Delta package.
In order to preferably to it is above-mentioned refer to by the upgrade file set each upgrade file and it is described ought be above
The step of each system file in part set is compared, and obtains differential file list and version delta package explains
It is bright, now it is exemplified below:
It include the corresponding upgrade file of filename A, the corresponding upgrade file of filename B, filename C in upgrade file set
Corresponding upgrade file and the corresponding upgrade file of filename E and the corresponding upgrade file of file F, wherein upgrade file
The file message digest of A is a1, and the file message digest of upgrade file B is b1, and the file message digest of upgrade file C is c, is risen
The file message digest of grade file E is e, and the file message digest of upgrade file F is f;It include filename in current file set
For the corresponding system file of A, the corresponding system file of file B, the corresponding system file of file C and the corresponding system of file D
File, wherein the file message digest of system file A is a, and the file message digest of system file B is b, the text of system file C
Part eap-message digest is c, and the file message digest of system file D is d;Traverse upgrade file set and current file set, it is known that,
Upgrade file A is identical with the filename of system file A, and document is different, the file famous prime minister of upgrade file B and system file B
Together, document is different, and filename A and filename B are recorded to the file pre-established and update list;In upgrade file set
There are the corresponding file of filename E and the corresponding files of filename F, and filename E and text are not present in current file set
Filename E and file F are then recorded file and increase list newly by the corresponding file of part name F;There are filenames in current file set
The corresponding file of D, and the corresponding file of filename D is not present in upgrade file set, then file is recorded in filename D and deleted
List.And file is updated into each file in the corresponding upgrade file of each filename and the newly-increased list of file in list
The corresponding upgrade file of name, is added to the version delta package pre-established.
Method for upgrading system provided in an embodiment of the present invention, when developer wraps the upgraded version of target front end system
When passing to back-end system, back-end system obtains upgraded version packet, is judging the compressed format of upgraded version packet for default compression lattice
Formula, and when judging that the version number of upgraded version packet meets incremental and uniqueness, obtain the current system of target front end system
The current file set of version packet, and decompression upgraded version packet, obtain upgrade file set corresponding with upgraded version packet, lead to
It crosses and each system file in each upgrade file and current file set in upgrade file set is compared, obtain text
Part updates list, file increases list and file delete list newly, updates list according to file, file increases list newly and file is deleted
List generates file difference list, and the corresponding upgrading text of each filename that file in upgrade file set is updated list
Part and file increase the corresponding upgrade file of list newly and pull out, and form version delta package.
After the build version delta package that the step S405 that embodiments of the present invention Fig. 4 is disclosed is related to, it can also wrap
Include following steps:
System upgrade time and system upgrade available bandwidth are set for the target front end system, and trigger the mesh
Front end system is marked when reaching the system upgrade time, passes through the system upgrade available bandwidth, Xiang Suoshu back-end system hair
Upgrade request is sent, and carries out system upgrade.
In method provided in an embodiment of the present invention, above-mentioned steps are specifically included: being target front end after generating version delta package
The system upgrade time is arranged in system, and system upgrade available bandwidth is arranged for target front end system, and trigger target front end system
It is automatic to carry out front end system upgrading by system upgrade bandwidth when system reaches the system upgrade time.By for target front end system
Appointing system update time carries out upgrading of avoiding the peak hour, and improves the success rate of upgrading, and carry out system liter for control target front end system
The occupied bandwidth of grade, reduces the consumption of network bandwidth.
Corresponding with method described in Fig. 3, the embodiment of the invention also provides a kind of system upgrade devices, for Fig. 3
The specific implementation of middle method, system upgrade device provided in an embodiment of the present invention can be applied in back-end system, structural representation
Figure is as shown in figure 5, specifically include:
Authentication unit 501, for obtaining and being wrapped in the upgrade request when receiving the upgrade request of front end system transmission
The registration information of the front end system contained, and verify according to the registration information permission of the upgrade request;
Judging unit 502, for when being verified, the system current according to front end system described in the upgrade request
Version information judges whether there is pre-generated differential file list corresponding with the system version information and version increment
Packet;
Generation unit 503 then obtains pre-generated differential file list and version delta package for if it exists, and according to
According to the pre-generated differential file list and the version delta package, upgrading letter corresponding with the upgrade request is generated
Breath;
Transmission unit 504 triggers the front end system foundation for the upgrade information to be sent to the front end system
The upgrade information carries out system upgrade.
Indoor positioning device provided in an embodiment of the present invention, when back-end system receives the upgrade request of front end system transmission
When, according to the registration information of the front end system in upgrade request, the upgrade request permission of front end system is verified, if front end system
It was registered in back-end system, then front end system, which has permission, is upgraded, when the upgrading of back-end system verification front end system is asked
Ask permission be by when, judge the front end system with the presence or absence of upgrading task, that is, judge back-end system whether be stored with before this
The corresponding differential file list of the system version information of end system and version delta package, if back-end system is stored with and the front end system
When the corresponding differential file list of the system version information of system and version delta package, then judge front end system there are upgrading task,
And upgrade information corresponding with upgrade request is generated according to differential file list and version delta package, it is generating and upgrade request pair
After the upgrade information answered, upgrade information is sent to front end system, in order to which front end system carries out system according to the upgrade information
Upgrading.Using system upgrade device provided in an embodiment of the present invention, when the upgrade request that receiving front-end system is sent, before verifying
The upgrade request permission of end system, and when through upgrade request permission to front end system, it generates corresponding with upgrade request
Upgrade information, and upgrade information is sent to front end system, to trigger front end system according to upgrade information, automatic progress system liter
Grade, improves the system upgrade efficiency of front end system, saves a large amount of cost of labor and time cost.
In one embodiment of the invention, aforementioned schemes are based on, generation unit 303 is configured that
Verify subelement, for when receive request is submitted to the upgraded version packet of target front end system when, described in acquisition
Upgraded version packet submit request in include upgraded version packet, and the version number for verifying the upgraded version packet whether meet it is incremental
Property and uniqueness;
Subelement is obtained, for when the version number of the upgraded version packet meets incremental and uniqueness, described in decompression
Upgraded version packet obtains upgrade file set corresponding with the upgraded version packet, and obtains and the target front end system
The corresponding current file set of current system version packet;
First comparison subunit, for by each upgrade file and the current file collection in the upgrade file set
Each system file in conjunction is compared, and the first file set and the second file set are determined in the upgrade file set
It closes, third file set is determined in the current file set;The text of each upgrade file in first file set
Part name is present in the upgrade file set and is present in the current file set, and the corresponding upgrading of each filename
The file message digest of file and the file message digest of system file be not identical;Each upgrading in second file set
The filename of file is present in the upgrade file set and is not present in the current file set;The third file
The filename of each system file in set is not present in the upgrade file set and is present in the current file collection
In conjunction;
First typing subelement, for by the filename typing of each upgrade file in first file set to
The file of foundation updates in list;
Second typing subelement, for by the filename typing of each upgrade file in second file set to built
Vertical file increases newly in list;
Third typing subelement, for by the filename typing of each system file in the third file set to built
In vertical file delete list;
Subelement is generated, for updating list according to the established file, file increases list, file delete list newly
Generate the differential file list;
Subelement is combined, for obtaining and updating each file in list with the file from the upgrade file set
The corresponding upgrade file of name, and upgrade file corresponding with filename each in the newly-increased list of the file is obtained, and will obtain
The each upgrade file composition version delta package got.
In one embodiment of the invention, aforementioned schemes are based on, verifying subelement is configured that
Second comparison subunit, for judging whether the compressed format of the upgraded version packet is default compressed format, if
It is the version number of each version packet in version management database then constructed by the version number of the upgraded version packet and in advance
It compares one by one;
Subelement is determined, if version number and institute for all version packets in the version management database constructed in advance
The version number for stating upgraded version packet is all different, and version number's serial number of the upgraded version packet is than the version constructed in advance
When version number's serial number of all version packets is big in management database, determine that the version number of the upgraded version packet meets incremental
And uniqueness.
In one embodiment of the invention, aforementioned schemes are based on, combination subelement is also configured as:
Setting unit, for system upgrade time and system upgrade available bandwidth to be arranged for the target front end system,
And the target front end system is triggered when reaching the system upgrade time, by the system upgrade available bandwidth, to institute
It states back-end system and sends upgrade request, and carry out system upgrade.
The embodiment of the invention also provides a kind of storage medium, the storage medium includes the instruction of storage, wherein in institute
It states the equipment where controlling the storage medium when instruction operation and executes above system upgrade method.
The embodiment of the invention also provides a kind of electronic equipment, structural schematic diagram is as shown in fig. 6, specifically include memory
601 and one perhaps more than one 602 one of them or more than one instruction of instruction 602 be stored in memory 601
In, and be configured to by one or more than one processor 603 execute the one or more instruction 602 carry out with
Lower operation:
After front end system starting, at the preset system upgrade moment, by preset system upgrade available bandwidth, to
Back-end system sends upgrade request, includes the current system version information of the front end system and registration letter in the upgrade request
Breath;
When receiving the upgrade information corresponding with the upgrade request of the back-end system feedback, the upgrading is obtained
The differential file list and version delta package to be upgraded for including in information;
According to the differential file list, the current system version packet of the front end system is separated into without updating file
With need to update file;Wherein, the differential file list includes: that file updates list, file increases list newly and file deletes column
Table;
By described without updating file and the version delta package is integrated into new system version packet, and according to described new
System version packet carries out system upgrade to the front end system.
Preferably, following operation can also be performed:
When receiving the upgrade request of front end system transmission, the front end system for including in the upgrade request is obtained
Registration information, and verify according to the registration information permission of the upgrade request;
When being verified, the system version information current according to front end system described in the upgrade request, judgement is
It is no to there is corresponding with the system version information pre-generated differential file list and version delta package;
If it exists, then pre-generated differential file list and version delta package are obtained, and according to described pre-generated
Differential file list and the version delta package generate upgrade information corresponding with the upgrade request;
The upgrade information is sent to the front end system, the front end system is triggered and is carried out according to the upgrade information
System upgrade.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight
Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
For device class embodiment, since it is basically similar to the method embodiment, so being described relatively simple, related place ginseng
See the part explanation of embodiment of the method.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that
A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or apparatus that includes the element.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this
The function of each unit can be realized in the same or multiple software and or hardware when invention.
As seen through the above description of the embodiments, those skilled in the art can be understood that the present invention can
It realizes by means of software and necessary general hardware platform.Based on this understanding, technical solution of the present invention essence
On in other words the part that contributes to existing technology can be embodied in the form of software products, the computer software product
It can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that a computer equipment
(can be personal computer, server or the network equipment etc.) executes the certain of each embodiment or embodiment of the invention
Method described in part.
A kind of method for upgrading system provided by the present invention and device are described in detail above, it is used herein
A specific example illustrates the principle and implementation of the invention, and the above embodiments are only used to help understand originally
The method and its core concept of invention;At the same time, for those skilled in the art, according to the thought of the present invention, specific
There will be changes in embodiment and application range, in conclusion the content of the present specification should not be construed as to of the invention
Limitation.
Claims (10)
1. a kind of method for upgrading system, which is characterized in that the method is applied to front end system, which comprises
After the front end system starting, at the preset system upgrade moment, by preset system upgrade available bandwidth, to the back-end
System sends upgrade request, includes the front end system current system version information and registration information in the upgrade request;
When receiving the upgrade information corresponding with the upgrade request of the back-end system feedback, the upgrade information is obtained
In include differential file list and version delta package to be upgraded;
According to the differential file list, the current system version packet of the front end system is separated into without updating file and needing
Update file;Wherein, the differential file list includes: that file updates list, file increases list and file delete list newly;
By described without updating file and the version delta package is integrated into new system version packet, and according to the new system
Version packet carries out system upgrade to the front end system.
2. the method according to claim 1, wherein the system version packet that the front end system is current point
From at without updating file and file need to be updated, comprising:
Determine each system file corresponding with the system version packet;
The filename of each system file is updated into list with the file respectively, the file increases list and the text newly
The filename for each differential file for including in part delete list is compared, and judges that the file updates list, the file
It whether there is differential file identical with the filename of the system file in newly-increased list or the file delete list, work as presence
When, it is determined as needing the system file that updates when it be not present to be determined as not needing more by the system file system file
New system file;
File need to be updated by system file composition that determining each needs update is described, each do not need to update by determining
System file composition is described without updating file.
3. the method according to claim 1, wherein further include:
The mode of operation in the front end system escalation process is recorded, and the mode of operation is sent to the back-end system.
4. method according to claim 1 or 3, which is characterized in that further include:
During upgrading to the front end system, if upgrading failure, version rollback request is sent to the back-end system;
Receive back-end system feedback with version rollback request corresponding rollback information when, judge the rollback
It whether include rollback task in information;
If including rollback task in the rollback information, according to the rollback version packet of the rollback information, to the front end system
System carries out version rollback.
5. a kind of system upgrade device, which is characterized in that described device is applied to front end system, and described device includes:
Transmission unit, can by preset system upgrade at the preset system upgrade moment after front end system starting
With bandwidth, end system sends upgrade request backward, believes in the upgrade request comprising the current system version of the front end system
Breath and registration information;
Acquiring unit, for obtaining when receiving the upgrade information corresponding with the upgrade request of the back-end system feedback
Take the differential file list for including in the upgrade information and version delta package to be upgraded;
Split cells, for according to the differential file list, the current system version packet of the front end system to be separated into nothing
File need to be updated and file need to be updated;Wherein, the differential file list include: file update list, file increase newly list and
File delete list;
Integral unit, for by described without updating file and the version delta package is integrated into new system version packet, and according to
According to the new system version packet, system upgrade is carried out to the front end system.
6. a kind of method for upgrading system, which is characterized in that the method is applied to back-end system, which comprises
When receiving the upgrade request of front end system transmission, the note for the front end system for including in the upgrade request is obtained
Volume information, and verify according to the registration information permission of the upgrade request;
When being verified, the system version information current according to front end system described in the upgrade request judges whether to deposit
In corresponding with the system version information pre-generated differential file list and version delta package;
If it exists, then pre-generated differential file list and version delta package are obtained, and according to the pre-generated difference
Listed files and the version delta package generate upgrade information corresponding with the upgrade request;
The upgrade information is sent to the front end system, the front end system is triggered according to the upgrade information and carries out system
Upgrading.
7. according to the method described in claim 6, it is characterized in that, pre- Mr. of the differential file list and version delta package
At process, comprising:
When receiving the upgraded version packet submission request to target front end system, obtains the upgraded version packet and submit in request
The upgraded version packet for including, and whether the version number for verifying the upgraded version packet meets incremental and uniqueness;
When the version number of the upgraded version packet meets incremental and uniqueness, the upgraded version packet, acquisition and institute are decompressed
The corresponding upgrade file set of upgraded version packet is stated, and is obtained corresponding with the current system version packet of the target front end system
Current file set;
Each system file in each upgrade file and the current file set in the upgrade file set is carried out
It compares, the first file set and the second file set is determined in the upgrade file set, in the current file set
Determine third file set;The filename of each upgrade file in first file set is present in the upgrade file collection
In conjunction and it is present in the current file set, and the file message digest and system of the corresponding upgrade file of each filename
The file message digest of file is not identical;The filename of each upgrade file in second file set is present in the liter
In grade file set and it is not present in the current file set;The text of each system file in the third file set
Part name is not present in the upgrade file set and is present in the current file set;
The filename typing of each upgrade file in first file set to established file is updated in list;
The filename typing of each upgrade file in second file set to established file is increased newly in list;
By the filename typing of each system file in the third file set into established file delete list;
List is updated according to the established file, file increases list newly, file delete list generates the differential file column
Table;
From the upgrade file set, upgrade file corresponding with filename each in file update list is obtained, with
And upgrade file corresponding with filename each in the newly-increased list of the file is obtained, and each upgrade file group that will acquire
At version delta package.
8. the method according to the description of claim 7 is characterized in that whether the version number of the verifying upgraded version packet is full
Sufficient incremental and uniqueness, comprising:
Whether the compressed format for judging the upgraded version packet is default compressed format, if so, by the upgraded version packet
Version number and the version number of each version packet in the version management database constructed in advance compare one by one;
If the version of the version number of all version packets and the upgraded version packet in the version management database constructed in advance
It number is all different, and version number's serial number of the upgraded version packet is than all versions in the version management database constructed in advance
When version number's serial number of this packet is big, determine that the version number of the upgraded version packet meets incremental and uniqueness.
9. the method according to the description of claim 7 is characterized in that after the build version delta package, further includes:
System upgrade time and system upgrade available bandwidth are set for the target front end system, and before triggering the target
End system is when reaching the system upgrade time, and by the system upgrade available bandwidth, Xiang Suoshu back-end system, which is sent, to be risen
Grade request, and carry out system upgrade.
10. a kind of system upgrade device, which is characterized in that described device is applied to back-end system, and described device includes:
Authentication unit, for obtaining the institute for including in the upgrade request when receiving the upgrade request of front end system transmission
The registration information of front end system is stated, and verifies the permission of the upgrade request according to the registration information;
Judging unit, for when being verified, the system version current according to front end system described in the upgrade request to be believed
Breath, judges whether there is corresponding with the system version information pre-generated differential file list and version delta package;
Generation unit, for if it exists, then obtaining pre-generated differential file list and version delta package, and according to described pre-
The differential file list and the version delta package first generated generates upgrade information corresponding with the upgrade request;
Transmission unit triggers the front end system according to the liter for the upgrade information to be sent to the front end system
Grade information carries out system upgrade.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910620220.7A CN110333894A (en) | 2019-07-10 | 2019-07-10 | Method for upgrading system and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910620220.7A CN110333894A (en) | 2019-07-10 | 2019-07-10 | Method for upgrading system and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110333894A true CN110333894A (en) | 2019-10-15 |
Family
ID=68145911
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910620220.7A Pending CN110333894A (en) | 2019-07-10 | 2019-07-10 | Method for upgrading system and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110333894A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110825406A (en) * | 2019-10-25 | 2020-02-21 | 深圳市元征科技股份有限公司 | Software upgrading method and related equipment |
CN112099860A (en) * | 2020-09-15 | 2020-12-18 | 深圳忆联信息系统有限公司 | Automatic reconstruction grouping method and device of drive files, computer equipment and storage medium |
CN113485736A (en) * | 2021-06-17 | 2021-10-08 | 厦门亿联网络技术股份有限公司 | System incremental updating method and device |
CN114398065A (en) * | 2022-03-24 | 2022-04-26 | Tcl通讯科技(成都)有限公司 | Micro front-end system updating method and device, electronic equipment and storage medium |
CN115687292A (en) * | 2022-08-03 | 2023-02-03 | 杭州新中大科技股份有限公司 | Verifiable database upgrading method irrelevant to database technology |
CN116088926A (en) * | 2023-01-10 | 2023-05-09 | 睿智合创(北京)科技有限公司 | Decision component version management method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130055231A1 (en) * | 2011-08-31 | 2013-02-28 | Avaya Inc. | System and method for incremental software installation |
CN106293793A (en) * | 2015-06-02 | 2017-01-04 | 西安中兴新软件有限责任公司 | The method for upgrading software of a kind of terminal, device and system |
CN106603311A (en) * | 2017-01-18 | 2017-04-26 | 北京洋浦伟业科技发展有限公司 | OTA upgrade method, client, server and system |
-
2019
- 2019-07-10 CN CN201910620220.7A patent/CN110333894A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130055231A1 (en) * | 2011-08-31 | 2013-02-28 | Avaya Inc. | System and method for incremental software installation |
CN106293793A (en) * | 2015-06-02 | 2017-01-04 | 西安中兴新软件有限责任公司 | The method for upgrading software of a kind of terminal, device and system |
CN106603311A (en) * | 2017-01-18 | 2017-04-26 | 北京洋浦伟业科技发展有限公司 | OTA upgrade method, client, server and system |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110825406A (en) * | 2019-10-25 | 2020-02-21 | 深圳市元征科技股份有限公司 | Software upgrading method and related equipment |
CN112099860A (en) * | 2020-09-15 | 2020-12-18 | 深圳忆联信息系统有限公司 | Automatic reconstruction grouping method and device of drive files, computer equipment and storage medium |
CN113485736A (en) * | 2021-06-17 | 2021-10-08 | 厦门亿联网络技术股份有限公司 | System incremental updating method and device |
CN114398065A (en) * | 2022-03-24 | 2022-04-26 | Tcl通讯科技(成都)有限公司 | Micro front-end system updating method and device, electronic equipment and storage medium |
CN114398065B (en) * | 2022-03-24 | 2022-07-08 | Tcl通讯科技(成都)有限公司 | Micro front-end system updating method and device, electronic equipment and storage medium |
CN115687292A (en) * | 2022-08-03 | 2023-02-03 | 杭州新中大科技股份有限公司 | Verifiable database upgrading method irrelevant to database technology |
CN115687292B (en) * | 2022-08-03 | 2023-06-23 | 杭州新中大科技股份有限公司 | Verifiable database upgrading method irrelevant to database technology |
CN116088926A (en) * | 2023-01-10 | 2023-05-09 | 睿智合创(北京)科技有限公司 | Decision component version management method |
CN116088926B (en) * | 2023-01-10 | 2023-10-20 | 睿智合创(北京)科技有限公司 | Decision component version management method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110333894A (en) | Method for upgrading system and device | |
CN102369509B (en) | The control service of relation data management | |
KR101863398B1 (en) | Method and system for synchronization mechanism on multi-server reservation system | |
CN102763102B (en) | For data environment from service configuration | |
CA2798985C (en) | Feature set differentiation by tenant and user | |
EP2003557A2 (en) | Applicable patch selecting device and applicable patch selecting method | |
EP1978672B1 (en) | Method for implementing management software, hardware with pre-configured software and implementing method thereof | |
CN105359147A (en) | Online database migration | |
CN110430087A (en) | The architecture design and realization of block chain heat upgrading | |
US10949413B2 (en) | Method and system for supporting data consistency on an active standby database after DML redirection to a primary database | |
EP2204734A1 (en) | Method in a network of the delivery of files | |
CN101784998A (en) | System and method for delivering software | |
CN103067484A (en) | Method and system upgrading application program automatically | |
US7539631B1 (en) | Method, system and program for providing subscription-based virtual computing services | |
US20170177649A1 (en) | Maintaining data integrity during data migration | |
US9152441B2 (en) | Systems and methods involving virtual machine host isolation over a network via a federated downstream cluster | |
CN103841134A (en) | API-based method for sending and receiving information, API-based apparatus, and API-based system | |
CN103597800A (en) | Automating cloud service reconnections | |
WO2021136233A1 (en) | Service upgrading method, device and system | |
US20100049573A1 (en) | Automated security provisioning for outsourced operations | |
CN107171888A (en) | A kind of clustering performance monitoring method based on cAdvisor | |
CN101952816B (en) | System and method for verifying delivered software | |
CN106254452A (en) | The big data access method of medical treatment under cloud platform | |
CN101796504B (en) | Session broker extensibility application program iinterface | |
KR101638689B1 (en) | System and method for providing client terminal to user customized synchronization service |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191015 |