A kind of more application upgrade method and systemsTechnical field
The present invention relates to server applications to upgrade field, and more particularly, to a kind of more application upgrade methods and beSystem.
Background technology
With the deep propulsion of " battalion changes increasing ", either national revenue department or large enterprise all suffer from distributionThe problem of handling value-added tax business.In order to which centralization, networking, high speed realize that distribution handles value-added tax business, and go outIn security consideration, either local side or enterprises end are all using internal network application, the clothes of many important internal network applicationsBusiness device is not connect with internet, and all terminals, server and whole network belong to an internal lan being isolated from the outsideNetwork.
On the other hand, since value-added tax business can be higher to secrecy and safety requirements, no matter local side is declared dutiable goods certification tax controlServer or enterprises end are made out an invoice tax control server, all close all debugging interfaces (such as serial ports) and network service (such as TFTP,FTP, SSH, NFS), only open service relevant with business and port.Simultaneously, it is desirable that technical service personnel avoid computer room live as possibleIt safeguards.
Generally, there are own shortcomings for traditional server application upgrading:
(1) user data is destroyed, causes user can not transacting business.Traditional server upgrading is reached using specific operationThe mode that entire application file system is directly replaced on hardware carries out, i.e., directly wipes entire application file system point on hardwareThen area is written new file system and completes upgrading;
(2) secrecy and demand for security are not met, operation difficulty is big.Traditional server upgrading is needed by opening debugging interfaceUpgrading is completed in (such as serial ports) or opening network service (such as TFTP, FTP, SSH, NFS);
(3) conventionally employed single application program individually upgrades, there are multiple affiliate application versions mismatch, particularlyVersion mismatches between application program and its dynamic library version, application program and auxiliary device firmware version, leads to business procedureOperation exception;
(4) since server application is widely popularized, initial design can not meet growing user demand, to meetGrowing user demand, needs to arrange new application program, and traditional upgrading mode can not meet newly-increased application program fromWithout to there is upgrading.
Under such network environment, it is more how tax control server to be carried out by a kind of not only safety but also economic simple modeThe upgrading of a different application, at the same do not destroy user using data, do not influence customer service and become a technical barrier.
Invention content
It is an object of the invention to be directed to the problems such as server updating difficulty is big, of high cost, dangerous, flow is complicated, carryThe multiple and different application upgrades of tax control server are carried out, while do not destroy user's application for a kind of not only safety but also economic simple methodData do not influence customer service.
According to one aspect of the invention, a kind of more application upgrade methods, including:
S100 receives the upgrade package with authority;
S200, opens the upgrade package for carrying authority, and verification, solution are separated by decantation to multiple application programs or fileUpgrade file cryptograph files, authority cryptograph files, upgrade script cryptograph files, extract the multiple application program or fileVersion number and edition compatibility information table;
S300 obtains the version number of the multiple application programs of server internal or file;
S400, by multiple applications in the version number of the multiple application programs of the server internal or file and the upgrade packageThe version number of program or file is matched according to the edition compatibility information table;
S500 if successful match, calls the application programming interfaces of the multiple application program or file to be upgraded.
Optionally, it is further included after the step S200:
Decryption and authorization file cipher text file obtains upgrading authority;
If with upgrading authority, step S300 is performed;
If without upgrading authority, the multiple application programs or the upgrade file ciphertext text of file isolated described in deletionPart, authority cryptograph files, upgrade script cryptograph files.
Optionally, the upgrading authority includes:Upgrade term of validity, upgrade user right, IC card permission, USBKEY powerLimit.
Optionally, include after the step S300:
Judge whether upgrade maintenance server mark;
If there are the upgrade maintenance server mark, run mode document upgrading application programming interfaces pair are calledUpgrade maintenance server is upgraded;
If there is no the upgrade maintenance server marks, step S400 is performed.
Optionally, include after the step S500:
Judge whether the multiple application program or file all upgrade successfully;
If so, the upgrade script cryptograph files of the multiple application program or file are decrypted, and according to the upgrading of acquisitionScript file is updated the upgrade script of the server internal;
Journey is applied according to multiple in the upgrade package to the version number of the multiple application programs of the server internal or fileThe version number of sequence or file is updated.
According to a further aspect of the present invention, a kind of more application upgrade methods of tax control server, including:
S001 sets upgrade maintenance serve end program inside tax control server;
S002 runs the upgrade maintenance serve end program;
S003, to upgrade package of the tax control central server request with authority;
S004 receives the upgrade package for carrying authority;
S005 calls the upgrade maintenance serve end program to handle the upgrade package with authority, completeInto the upgrading of the tax control server internal applications.
According to another aspect of the present invention, a kind of upgrade maintenance service end system, including:
Receiving module receives the upgrade package with authority;
Upgrade package unpacks module, opens the upgrade package for carrying authority, and verification, solution are separated by decantation to multiple using journeyThe upgrade file cryptograph files of sequence or file, authority cryptograph files, upgrade script cryptograph files and the multiple applicationProgram or the version number of file and edition compatibility information table;
Command analysis module receives application layer command word and parameter, according to the command word and the corresponding work(of parameter callIt can module;
File decryption correction verification module, upgrade file cryptograph files, authority to the multiple application program or fileCryptograph files, upgrade script cryptograph files are decrypted and verify;
Version information management module extracts the version number of the multiple application program or file and edition compatibility information table,With the version number for obtaining the multiple application programs of server internal or file;
The version information management module, by the version number of the multiple application programs of the server internal or file with it is describedThe version number of multiple application programs or file in upgrade package is matched according to the edition compatibility information table;
If the version information management module obtain successful match as a result, if the function module call it is the multiple shouldUpgraded with the application programming interfaces of program or file.
Optionally, the upgrade maintenance service end system further includes:
The file decryption correction verification module, decryption and authorization file cipher text file obtains upgrading authority, and judges whether haveUpgrading authority;
If with upgrading authority, the version information management module, by the multiple application programs of the server internal or textThe version number of part and the version number of multiple application programs or file in the upgrade package, carry out according to the edition compatibility information tableMatching;
If without upgrading authority, the upgrade package unpacks module, the multiple application programs isolated described in deletion orUpgrade file cryptograph files, authority cryptograph files, the upgrade script cryptograph files of file.
Optionally, the upgrading authority includes:Upgrade term of validity, upgrade user right, IC card permission, USBKEY powerLimit.
Optionally, the upgrade maintenance service end system further includes:Run mode document transmission module:It is taken according to upgrade maintenanceBusiness device end routine denotation, then call run mode document upgrading application programming interfaces to rise upgrade maintenance serverGrade.
Optionally, the upgrade file cryptograph files are transferred to server memory by the run mode document transmission moduleBuffer area;
Upgrade file cryptograph files in the server memory buffer area are decrypted school by the file decryption correction verification moduleIt tests, after examining successfully, the program file after content write-in is born the same name will be decrypted.
Optionally, the upgrade maintenance service end system further includes:
Upgrade script management module, receives the multiple application program or mark that file all upgrades successfully, passes through instituteThe upgrade script cryptograph files that file decryption correction verification module decrypts the multiple application program or file are stated, and according to the liter of acquisitionGrade script file is updated the upgrade script of the server internal;
The service is written in the version number of multiple application programs or file in the upgrade package by version information management moduleCorresponding multiple application programs or file inside device.
Optionally, the upgrade maintenance service end system, further includes:
Inoperative state document transmission module, to not actuated executable file, related library file, third party's management tool,The transmission of static file;
Auxiliary device firmware transmission module is transmitted auxiliary device bottom firmware program;
Auxiliary device upgraded module, upgrades auxiliary device;
Resource management module is responsible for correlation bottom hardware operation.
According to a further aspect of the invention, a kind of tax control server, including:
Program setup module sets upgrade maintenance serve end program inside tax control server;
Program runs module, runs the upgrade maintenance serve end program;
Transceiver module to upgrade package of the tax control central server request with authority, and receives described carry and authorizesThe upgrade package of file;
Upgrade maintenance serve end program calling module calls the upgrade maintenance serve end program to described literary with authorizingThe upgrade package of part is handled, and completes the upgrading of the tax control server internal applications.
The present invention has the advantages that by using above-mentioned technical proposal:
The present invention by handling the upgrade package for carrying authority, obtain multiple application programs for needing to upgrade orFile is targetedly upgraded to carry out application program or file, avoids the replacement to entire application file system;This hairThe bright upgrade package by carrying authority to tax control central server, tax control central server can be managed collectively tax control serviceThe upgrading of device application;Upgrade package of the present invention with authority includes multiple application programs or file, can be to multiple applicationsProgram or file are upgraded, and include the version number of multiple application programs or file in the upgrade package of authority, are being carried outBefore upgrading, to the version numbers of application programs multiple in upgrade package or file and the multiple application programs of server internal or fileVersion number is matched, and can avoid the unmatched problem of version;The present invention by according to the upgrade script file of acquisition to instituteThe upgrade script for stating server internal is updated, and can realize and newly-increased application program is upgraded from scratch.
Description of the drawings
By reference to the following drawings, exemplary embodiments of the present invention can be more fully understood by::
Fig. 1 is the more application upgrade method flow diagrams of one embodiment of the invention;
Fig. 2 is the more application upgrade method flow diagrams of another embodiment of the present invention;
Fig. 3 is one key upgrade method flow chart of one embodiment of the invention;
Fig. 4 is one embodiment of the invention upgrade maintenance service end system structure chart;
Fig. 5 is one embodiment of the invention tax control server system construction drawing.
Specific embodiment
Exemplary embodiments of the present invention are introduced referring now to attached drawing, however, the present invention can use many different shapesFormula is implemented, and be not limited to the embodiment described herein, and to provide these embodiments be to disclose at large and fullyThe present invention, and fully convey the scope of the present invention to person of ordinary skill in the field.Show for what is be illustrated in the accompanying drawingsTerm in example property embodiment is not limitation of the invention.In the accompanying drawings, identical cells/elements use identical attachedIcon is remembered.
Unless otherwise indicated, term used herein has person of ordinary skill in the field (including scientific and technical terminology)It is common to understand meaning.Further it will be understood that with the term that usually used dictionary limits, should be understood as and itsThe linguistic context of related field has consistent meaning, and is not construed as Utopian or too formal meaning.
Embodiment one
As shown in Figure 1, a kind of more application upgrade methods in the embodiment of the present invention, including:
S100 receives the upgrade package with authority;
S200, opens the upgrade package for carrying authority, and verification, solution are separated by decantation to multiple application programs or fileUpgrade file cryptograph files, authority cryptograph files, upgrade script cryptograph files, extract the multiple application program or fileVersion number and edition compatibility information table;
S300 obtains the version number of the multiple application programs of server internal or file;
S400, by multiple applications in the version number of the multiple application programs of the server internal or file and the upgrade packageThe version number of program or file is matched according to the edition compatibility information table;
S500 if successful match, calls the application programming interfaces of the multiple application program or file to be upgraded.
In the present embodiment, the upgrade package with authority by authority, multiple application files, upgrade script,Edition compatibility information table forms, and internal file is packaged encapsulation by encryption, it can be ensured that the safety of upgrade file.
In step s 200, the upgrade package with authority is packaged by special canned software, passes through special envelopeDress software opens the upgrade package, isolates upgrade file cryptograph files, the authority ciphertext text of multiple application programs or filePart, upgrade script cryptograph files extract the version number of the multiple application program or file and edition compatibility information table.Wherein,Special canned software can ensure the safety of upgrade package.
In the present embodiment, server internal is equipped with multiple application programs or file in advance, and saves multiple applicationsThe version number of program or file, the method being capable of multiple application programs or file progress to server internal through this embodimentUpgrading.
In the present embodiment, the application programming interfaces of the multiple application program or file is called to be upgraded, wherein describedThe application programming interfaces of multiple application programs or file are located at application layer, and upgrade maintenance serve end program needs to send to application layerThe instruction of the application programming interfaces of the multiple application program of request call or file, the multiple application program of application layer or textThe application programming interfaces of part send the multiple application program or the upgrade file ciphertext of file to upgrade maintenance serve end programFile, authority cryptograph files, upgrade script cryptograph files.
As one preferred embodiment of the invention, further included after the step S200:
Decryption and authorization file cipher text file obtains upgrading authority;
If with upgrading authority, step S300 is performed;
If without upgrading authority, the multiple application programs or the upgrade file ciphertext text of file isolated described in deletionPart, authority cryptograph files, upgrade script cryptograph files.
In the present embodiment, the upgrading authority includes:Upgrade term of validity, upgrade user right, IC card permission, USBKEYPermission.Wherein, upgrading term of validity is current date within term of validity, then with upgrading authority, does not otherwise have upgrading powerLimit;Upgrading user right refer to by set some users have upgrading authority, only when the user with upgrading authority intoIt can be upgraded during row upgrading;IC card permission, USBKEY permissions are referred to be risen by being inserted into IC card, USBKEYGrade permission.
In the present embodiment, by the judgement to upgrading authority, expired upgrade package is deleted.
As one preferred embodiment of the invention, include after the step S300:
Judge whether upgrade maintenance server mark;
If there are the upgrade maintenance server mark, run mode document upgrading application programming interfaces pair are calledUpgrade maintenance server is upgraded;
If there is no the upgrade maintenance server marks, step S400 is performed.
In the present embodiment, by the technical solution, the upgrading in itself to upgrade maintenance server can be realized.
As one preferred embodiment of the invention, include after the step S500:
Judge whether the multiple application program or file all upgrade successfully;
If so, the upgrade script cryptograph files of the multiple application program or file are decrypted, and according to the upgrading of acquisitionScript file is updated the upgrade script of the server internal;
Journey is applied according to multiple in the upgrade package to the version number of the multiple application programs of the server internal or fileThe version number of sequence or file is updated.
In the present embodiment, multiple application programs or document upgrading success after, can feed back and upgrade successfully mark, according to upgrade intoWork(mark is capable of deciding whether that all application programs or file upgrade successfully, if all application programs or file upgradeSuccess carries out the upgrade script update of server internal and the update of the version number of the multiple application programs of server internal or file again.Wherein, be not that each application program or file have upgrade script file in upgrade package, it according to the needs of system andSetting, when new an application program or file are upgraded from scratch, upgrade package can be attached to the new application programOr the upgrade script file of file, after all application programs or document upgrading success, by the new application program or fileUpgrade script file be added in the upgrade script of server internal, in next starting up, updated liter can be startedGrade script, automatically opens the new application program or file, upgrades from scratch so as to fulfill new application program or file.
A kind of more application upgrade methods can be used in tax control server in the embodiment of the present invention, ensure that tax control server mostly shouldIt is safeguarded with safety upgrade, saves O&M spending, reduces and safeguard complexity.
Embodiment two
As shown in Fig. 2, a kind of more application upgrade methods of tax control server in the embodiment of the present invention, including:
S001 sets upgrade maintenance serve end program inside tax control server;
S002 runs the upgrade maintenance serve end program;
S003, to upgrade package of the tax control central server request with authority;
S004 receives the upgrade package for carrying authority;
S005 calls the upgrade maintenance serve end program to handle the upgrade package with authority, completeInto the upgrading of the tax control server internal applications.
In step S001, upgrade maintenance serve end program is set for rising inside tax control server by developing instrumentGrade needs.
In the present embodiment, the upgrading of tax control central server unified management tax control server does not need to adjust by openingUpgrading is completed in try mouth (such as serial ports) or opening network service (such as TFTP, FTP, SSH, NFS), ensure that upgrading safety andThe difficulty of maintenance.
In the present embodiment, the upgrade package with authority by authority, multiple application files, upgrade script,Edition compatibility information table forms, and internal file is packaged encapsulation by encryption, it can be ensured that the safety of upgrade file.In stepIn S005, upgrade maintenance serve end program is handled the upgrade package with authority i.e. using shown in embodiment oneMethod multiple application programs or file are upgraded.
Embodiment three
Fig. 3 is one key upgrade method flow chart of one embodiment of the invention, and the present invention is by a specific embodiment come to moreApplication upgrade method illustrates.
Step S3001, opens the upgrade package for carrying authority, verification, solution be separated by decantation to multiple application programs orUpgrade file cryptograph files, authority cryptograph files, the upgrade script cryptograph files of file obtain edition compatibility information table,And decryption and authorization file cipher text file.
Step S3002 reads onboard clock chip clock API, and the upgrading for obtaining the upgrade package with authority is effectiveTime limit.Wherein, API (Application Program Interface, application programming interfaces) of the present invention, onboard clock chipClock API saves the upgrading term of validity of the upgrade package.
Step S3003, authority verification.
The step is used to judge the upgrade package with authority whether within term of validity, if in term of validityIt is interior, perform step S3004;If not within term of validity, step 3006 is performed.
Step S3004 extracts the version number of the multiple application program or file and edition compatibility information table, calls upgradingJudge API, obtain the version number of the multiple application programs of server internal or file.
Step S3005 judges whether upgrade maintenance server mark.
The step is obtained the upgrade maintenance server end in the upgrade package with authority by version information management moduleRoutine denotation, if performing step S3007 there are upgrade maintenance server mark in the upgrade package;If the upgrade packageInterior there is no upgrade maintenance server marks, then perform step S3008.
Step S3006 deletes the upgrade file cryptograph files isolated, authority cryptograph files, script file ciphertextFile.
Execution of step S3006, then terminate.
Step S3007 calls run mode program upgrading API, completes the upgrading of upgrade maintenance server.
The step is the upgrading to upgrade maintenance server in itself.Execution of step S3006, then perform stepS3010。
Step S3008 judges upgrading later with the presence or absence of more application version mismatch problems.
The step is used for more unmatched problems of application version after settlement server internal upgrade, if upgrading is applied more laterMismatch problem is not present in version, then performs step S3009;If there are mismatch problems for more application versions after upgrading, tieBeam.
Step S3009 according to file in upgrade package, calls corresponding upgrading API, completes multiple utility program or file literGrade.
Upgrade API in the step to include:Upgrading judges API, run mode document upgrading API, inoperative state document upgradingAPI, sub- equipment firmware document upgrading API, version updating API, upgrade script update API.
Step S3010, judges whether application program or file all upgrade successfully.
According to step S3010, if application program or file all upgrade successfully, step S3011 is performed;If application programOr file does not upgrade successfully all, then terminates.
Step S3011 calls upgrade script update API, updates upgrade script.
Step S3012 calls version write-in API, multiple application programs is written or file corresponds to version number, restart serverOrder.
After step S3012, then terminate.
By handling the upgrade package for carrying authority in the embodiment of the present invention, obtaining need to upgrade multiple shouldWith program or file, targetedly upgraded to carry out application program or file, avoided to entire application file systemIt replaces;Upgrade package of the present invention with authority includes multiple application programs or file, can be to multiple application programs or textPart is upgraded, and includes the version number of multiple application programs or file in the upgrade package of authority, before being upgraded,To the version numbers of application programs multiple in upgrade package or file and the version number of the multiple application programs of server internal or file intoRow matching, can avoid the unmatched problem of version;The present invention by according to the upgrade script file of acquisition to the serverInternal upgrade script is updated, and can realize and newly-increased application program is upgraded from scratch.
Example IV
As shown in figure 4, based on above method embodiment, a kind of upgrade maintenance service end system in the embodiment of the present invention, packetIt includes:
Receiving module receives the upgrade package with authority;
Upgrade package unpacking module 4000, opens the upgrade package for carrying authority, and verification, solution are separated by decantation to multiple answerWith the upgrade file cryptograph files of program or file, authority cryptograph files, upgrade script cryptograph files and the multipleApplication program or the version number of file and edition compatibility information table;
Command analysis module 4008 receives application layer command word and parameter, corresponding according to the command word and parameter callFunction module;
File decryption correction verification module 4013, upgrade file cryptograph files, mandate to the multiple application program or fileFile cipher text file, upgrade script cryptograph files are decrypted and verify;
Version information management module 4009 extracts the version number of the multiple application program or file and edition compatibility informationTable and the version number for obtaining the multiple application programs of server internal or file;
The version information management module 4009, by the version number of the multiple application programs of the server internal or file withThe version number of multiple application programs or file in the upgrade package is matched according to the edition compatibility information table;
If the version information management module 4009 obtain successful match as a result, if the function module call it is described moreThe application programming interfaces of a application program or file are upgraded.
In the present embodiment, function module includes:Version information management module 4009, upgrade script management module 4014, fortuneRow state document transmission module 4010, inoperative state document transmission module 4011, auxiliary device firmware file transmission module 4012.
Wherein, the application programming interfaces of application program or file include:Upgrading judges API 4001, run mode document upgradingAPI 4002, inoperative state document upgrading API 4003, sub- equipment firmware document upgrading API 4004, version updating API4005, upgrade script update API 4006.
Upgrading judges API 4001, extracts the version number of the multiple application program or file and edition compatibility information table,The version number of the multiple application programs of server internal or file is obtained, judges that upgrading mismatches later with the presence or absence of more application versionsProblem.
Run mode document upgrading API 4002 upgrades the program being currently running.
Inoperative state document upgrading API 4003 rises non-executable file file or the current program not runGrade such as upgrades not actuated executable file, related library file, third party's management tool, static file.
Sub- equipment firmware document upgrading API 4004, upgrades auxiliary device firmware program.
Upgrade script updates API 4006, receives the multiple application program or mark that file all upgrades successfully, solutionThe upgrade script cryptograph files of close the multiple application program or file, and according to the upgrade script file of acquisition to the serviceUpgrade script inside device is updated.
The service is written in the version number of multiple application programs or file in the upgrade package by version updating API 4005Corresponding multiple application programs or file inside device.
As the preferred embodiment of the present invention, the upgrade maintenance service end system further includes:
The file decryption correction verification module 4013, decryption and authorization file cipher text file obtains upgrading authority, and judges whetherWith upgrading authority;
If with upgrading authority, the version information management module 4009, by the multiple application programs of the server internalOr the version number of multiple application programs or file in the version number of file and the upgrade package, according to the edition compatibility information tableIt is matched;
If without upgrading authority, the upgrade package unpacks module 4000, and that is isolated described in deletion is multiple using journeyThe upgrade file cryptograph files of sequence or file, authority cryptograph files, upgrade script cryptograph files.
In the present embodiment, the upgrading authority includes:Upgrade term of validity, upgrade user right, IC card permission, USBKEYPermission.Wherein, upgrading term of validity is current date within term of validity, then with upgrading authority, does not otherwise have upgrading powerLimit;Upgrading user right refer to by set some users have upgrading authority, only when the user with upgrading authority intoIt can be upgraded during row upgrading;IC card permission, USBKEY permissions are referred to be risen by being inserted into IC card, USBKEYGrade permission.
As the preferred embodiment of the present invention, the upgrade maintenance service end system further includes:Run mode file transmitsModule 4010:According to upgrade maintenance server mark, then run mode document upgrading application programming interfaces are called to upgradingSafeguard service device end program is upgraded.
In the present embodiment, the upgrade file cryptograph files are transferred to server by run mode document transmission module 4010Internal memory cache region;File decryption correction verification module 4013, by the upgrade file cryptograph files solution in the server memory buffer areaClose verification after examining successfully, will decrypt the program file after content write-in is born the same name.
As the preferred embodiment of the present invention, the upgrade maintenance service end system further includes:Upgrade script manages mouldBlock 4014, receives the multiple application program or mark that file all upgrades successfully, passes through the file decryption correction verification moduleThe upgrade script cryptograph files of 4013 the multiple application programs of decryption or file, and according to the upgrade script file of acquisition to instituteThe upgrade script for stating server internal is updated;Version information management module 4009 applies journey by multiple in the upgrade packageThe corresponding multiple application programs of the server internal or file is written in the version number of sequence or file.
In the present embodiment, the program file after duplication of name is to the interim name of program file, and program file passes in order to preventDefeated process goes wrong, after program file verification, transmission, checking procedure is waited for complete, that is, after determining that program file is correct,The old file name of recovery routine file.Auxiliary device refers to connect special slave device on an operating system, can be USB connectionsMode or PCIE connection modes, wherein, auxiliary device includes safety chip;Firmware program is the necessary journey of auxiliary device operationSequence.Bottom hardware includes SSD (Solid State Disk, solid state disk) solid-state disk file read-write operations, internal memory operation, secret keyAlgorithm chip operation etc..
As the preferred embodiment of the present invention, the upgrade maintenance service end system further includes:Inoperative state file passesDefeated module 4011, the transmission to not actuated executable file, related library file, third party's management tool, static file;It is attachedEquipment firmware transmission module 4012 is transmitted auxiliary device bottom firmware program;Auxiliary device firmware upgrade module 4013,Sub- equipment firmware document upgrading API 4004 is called to upgrade auxiliary device firmware;Resource management module 4016 is responsible for phaseClose bottom hardware operation.
Embodiment five
According to another aspect of the present invention, a kind of tax control server 5000, including:
Program setup module 5001 sets upgrade maintenance serve end program inside tax control server;
Program runs module 5002, runs the upgrade maintenance serve end program;
Transceiver module 5003 to upgrade package of the tax control central server request with authority, and carries described in receptionThe upgrade package of authority;
Upgrade maintenance serve end program calling module 5004 calls the upgrade maintenance serve end program to award described carryThe upgrade package of power file is handled, and completes the upgrading of the tax control server internal applications.
In the present embodiment, the upgrading of tax control central server unified management tax control server does not need to adjust by openingUpgrading is completed in try mouth (such as serial ports) or opening network service (such as TFTP, FTP, SSH, NFS), ensure that upgrading safety andThe difficulty of maintenance.
In the present embodiment, the upgrade package with authority by authority, multiple application files, upgrade script,Edition compatibility information table forms, and internal file is packaged encapsulation by encryption, it can be ensured that the safety of upgrade file.Upgrade maintenanceServe end program is handled the upgrade package with authority i.e. using method shown in embodiment one, is carried out to multipleApplication program or file are upgraded.
The present invention is intended to provide a kind of more application upgrade method and systems, by being carried out to the upgrade package for carrying authorityProcessing obtains the multiple application programs for needing to upgrade or file, is targetedly upgraded to carry out application program or file,Avoid the replacement to entire application file system;Upgrade package of the present invention with authority includes multiple application programs or textPart can upgrade multiple application programs or file, and include multiple application programs or text in the upgrade package of authorityThe version number of part, it is more to the version number and server internal of application programs multiple in upgrade package or file before being upgradedThe version number of a application program or file is matched, and can avoid the unmatched problem of version;The present invention passes through according to acquisitionUpgrade script file the upgrade script of the server internal is updated, can realize to newly-increased application program from without toSome upgradings.
The present invention is described by reference to a small amount of embodiment.However, it is known in those skilled in the art, asWhat subsidiary Patent right requirement was limited, in addition to the present invention other embodiments disclosed above are equally fallen the present invention'sIn the range of.
Normally, all terms used in the claims are all solved according to them in the common meaning of technical fieldIt releases, unless in addition clearly being defined wherein.All references " one/described/be somebody's turn to do [device, component etc.] " are all opened groundAt least one of described device, component etc. example is construed to, unless otherwise expressly specified.Any method disclosed hereinStep need not all be run with disclosed accurate sequence, unless explicitly stated otherwise.