Movatterモバイル変換


[0]ホーム

URL:


CN108270806A - A kind of more application upgrade method and systems - Google Patents

A kind of more application upgrade method and systems
Download PDF

Info

Publication number
CN108270806A
CN108270806ACN201611258890.1ACN201611258890ACN108270806ACN 108270806 ACN108270806 ACN 108270806ACN 201611258890 ACN201611258890 ACN 201611258890ACN 108270806 ACN108270806 ACN 108270806A
Authority
CN
China
Prior art keywords
file
upgrade
authority
multiple application
upgrading
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611258890.1A
Other languages
Chinese (zh)
Inventor
杨飞虎
李伟
彭坚
李焜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Aisino Corp
Original Assignee
Aisino Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Aisino CorpfiledCriticalAisino Corp
Priority to CN201611258890.1ApriorityCriticalpatent/CN108270806A/en
Publication of CN108270806ApublicationCriticalpatent/CN108270806A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The invention discloses a kind of more application upgrade method and systems, which includes:Receive the upgrade package with authority;Open the upgrade package for carrying authority, verification, solution are separated by decantation to the upgrade file cryptograph files, authority cryptograph files, upgrade script cryptograph files of multiple application programs or file, extract the version number of the multiple application program or file and edition compatibility information table;Obtain the version number of the multiple application programs of server internal or file;By the version number of multiple application programs or file in the version number of the multiple application programs of the server internal or file and the upgrade package, matched according to the edition compatibility information table;If successful match, the application programming interfaces of the multiple application program or file is called to be upgraded.Method and system provided by the invention realizes that server is mostly safeguarded using safety upgrade, saves O&M spending, reduces and safeguard complexity.

Description

A kind of more application upgrade method and systems
Technical 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.

Claims (14)

CN201611258890.1A2016-12-302016-12-30A kind of more application upgrade method and systemsPendingCN108270806A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201611258890.1ACN108270806A (en)2016-12-302016-12-30A kind of more application upgrade method and systems

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201611258890.1ACN108270806A (en)2016-12-302016-12-30A kind of more application upgrade method and systems

Publications (1)

Publication NumberPublication Date
CN108270806Atrue CN108270806A (en)2018-07-10

Family

ID=62754743

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201611258890.1APendingCN108270806A (en)2016-12-302016-12-30A kind of more application upgrade method and systems

Country Status (1)

CountryLink
CN (1)CN108270806A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109743174A (en)*2018-12-212019-05-10积成电子股份有限公司The monitoring and managing method that electric power monitoring security management and control system program updates
CN110795121A (en)*2019-09-272020-02-14北京浪潮数据技术有限公司Virtualization system upgrading method, device, equipment and computer readable storage medium
CN111338667A (en)*2020-02-102020-06-26浙江大华技术股份有限公司Upgrading method and upgrading device for application program APP
CN111639306A (en)*2020-04-282020-09-08深圳壹账通智能科技有限公司Offline software authorization method, device, equipment and storage medium
CN112764803A (en)*2021-01-202021-05-07青岛海尔科技有限公司Version upgrading method and device, storage medium and electronic device
CN112860283A (en)*2019-11-122021-05-28深圳怡化电脑股份有限公司Self-identification upgrading method and device of SP (service provider) upgrading package and computer equipment
CN113079141A (en)*2021-03-232021-07-06贵州航天云网科技有限公司Network security situation perception system and method based on artificial intelligence
CN113407215A (en)*2021-06-292021-09-17山东新一代信息产业技术研究院有限公司Automatic operation and maintenance method and system based on multi-node server mode
CN113672256A (en)*2021-08-032021-11-19东莞新能安科技有限公司Processing method and server of executable file, software upgrading method and client
CN114416137A (en)*2022-01-142022-04-29阳光电源股份有限公司 Equipment upgrade method, device, equipment and medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101136770A (en)*2006-10-132008-03-05中兴通讯股份有限公司Automatically updating method and apparatus for telecom multi-branch network management system
CN101751730A (en)*2008-12-102010-06-23航天信息股份有限公司Safety operating platform of tax-controlling device
CN101907996A (en)*2010-07-302010-12-08浪潮齐鲁软件产业有限公司Remote update method of fiscal cash register
CN101984691A (en)*2010-10-252011-03-09东莞宇龙通信科技有限公司Upgrading method of system built-in software and mobile terminal
CN102541596A (en)*2011-12-222012-07-04中标软件有限公司Operating system upgrading method and device
CN102932777A (en)*2012-10-242013-02-13华为终端有限公司Method for updating terminal application and user terminal
CN103136002A (en)*2011-11-252013-06-05航天信息股份有限公司Automatic upgrade control method based on UBoot instruction and system
CN103559065A (en)*2013-11-132014-02-05广东欧珀移动通信有限公司Method and system for OTA (Over-the-Air Technology) upgrade
CN103701856A (en)*2013-11-292014-04-02四川长虹电器股份有限公司Method for defining and acquiring upgrade package of terminal equipment
CN104464114A (en)*2014-12-112015-03-25上海富友支付服务有限公司System and method for managing and monitoring safety of application of financial terminals
US20150121358A1 (en)*2009-06-042015-04-30Abbott Diabetes Care Inc.Method and System for Updating a Medical Device
CN105656859A (en)*2014-11-182016-06-08航天信息股份有限公司Secure online upgrade method and system for tax control equipment software
CN106160852A (en)*2016-09-292016-11-23武汉虹信通信技术有限责任公司The network system of a kind of transmission equipment and remote upgrade method thereof
CN106201578A (en)*2016-06-252016-12-07国云科技股份有限公司 A Software System Update Framework

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101136770A (en)*2006-10-132008-03-05中兴通讯股份有限公司Automatically updating method and apparatus for telecom multi-branch network management system
CN101751730A (en)*2008-12-102010-06-23航天信息股份有限公司Safety operating platform of tax-controlling device
US20150121358A1 (en)*2009-06-042015-04-30Abbott Diabetes Care Inc.Method and System for Updating a Medical Device
CN101907996A (en)*2010-07-302010-12-08浪潮齐鲁软件产业有限公司Remote update method of fiscal cash register
CN101984691A (en)*2010-10-252011-03-09东莞宇龙通信科技有限公司Upgrading method of system built-in software and mobile terminal
CN103136002A (en)*2011-11-252013-06-05航天信息股份有限公司Automatic upgrade control method based on UBoot instruction and system
CN102541596A (en)*2011-12-222012-07-04中标软件有限公司Operating system upgrading method and device
CN102932777A (en)*2012-10-242013-02-13华为终端有限公司Method for updating terminal application and user terminal
CN103559065A (en)*2013-11-132014-02-05广东欧珀移动通信有限公司Method and system for OTA (Over-the-Air Technology) upgrade
CN103701856A (en)*2013-11-292014-04-02四川长虹电器股份有限公司Method for defining and acquiring upgrade package of terminal equipment
CN105656859A (en)*2014-11-182016-06-08航天信息股份有限公司Secure online upgrade method and system for tax control equipment software
CN104464114A (en)*2014-12-112015-03-25上海富友支付服务有限公司System and method for managing and monitoring safety of application of financial terminals
CN106201578A (en)*2016-06-252016-12-07国云科技股份有限公司 A Software System Update Framework
CN106160852A (en)*2016-09-292016-11-23武汉虹信通信技术有限责任公司The network system of a kind of transmission equipment and remote upgrade method thereof

Cited By (12)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109743174A (en)*2018-12-212019-05-10积成电子股份有限公司The monitoring and managing method that electric power monitoring security management and control system program updates
CN110795121A (en)*2019-09-272020-02-14北京浪潮数据技术有限公司Virtualization system upgrading method, device, equipment and computer readable storage medium
CN112860283A (en)*2019-11-122021-05-28深圳怡化电脑股份有限公司Self-identification upgrading method and device of SP (service provider) upgrading package and computer equipment
CN112860283B (en)*2019-11-122024-04-02深圳怡化电脑股份有限公司SP upgrade package self-identification upgrade method and device and computer equipment
CN111338667A (en)*2020-02-102020-06-26浙江大华技术股份有限公司Upgrading method and upgrading device for application program APP
CN111338667B (en)*2020-02-102023-08-01浙江大华技术股份有限公司Application program APP upgrading method and device
CN111639306A (en)*2020-04-282020-09-08深圳壹账通智能科技有限公司Offline software authorization method, device, equipment and storage medium
CN112764803A (en)*2021-01-202021-05-07青岛海尔科技有限公司Version upgrading method and device, storage medium and electronic device
CN113079141A (en)*2021-03-232021-07-06贵州航天云网科技有限公司Network security situation perception system and method based on artificial intelligence
CN113407215A (en)*2021-06-292021-09-17山东新一代信息产业技术研究院有限公司Automatic operation and maintenance method and system based on multi-node server mode
CN113672256A (en)*2021-08-032021-11-19东莞新能安科技有限公司Processing method and server of executable file, software upgrading method and client
CN114416137A (en)*2022-01-142022-04-29阳光电源股份有限公司 Equipment upgrade method, device, equipment and medium

Similar Documents

PublicationPublication DateTitle
CN108270806A (en)A kind of more application upgrade method and systems
CN105391840B (en)Automatically create destination application
US9049194B2 (en)Methods and systems for internet security via virtual software
US8612742B2 (en)Method of authentication at time of update of software embedded in information terminal, system for same and program for same
CN101939754B (en) Using mix-and-match finger sensing devices and related methods
CN103080946B (en)For managing the method for file, safety equipment, system and computer program safely
US20070124536A1 (en)Token device providing a secure work environment and utilizing a virtual interface
CN100495421C (en) An Authentication Protection Method Based on USB Device
US20150295714A1 (en)Data security verification method and device
KR20170129866A (en) Automated demonstration of device integrity using block chains
CN101971182B (en) Finger sensing device and related method for issuing certificates
CN109992987B (en)Script file protection method and device based on Nginx and terminal equipment
CN103839011B (en)The guard method of confidential document and device
CN104733008A (en)Mobile storage equipment capable of realizing cloud storage based on fingerprint identification
KR101364996B1 (en)Electronic Financial System Using Hardware at Smart Terminal and Operating Method Thereof
CN101669125A (en)Method and system for authenticating a user
US8863241B2 (en)System and method for managing usage rights of software applications
CN113014393B (en)Password safe box system based on hardware encryption and application method
KR20170133307A (en)Online financial transactions, identity authentication system and method using real cards
US10108937B2 (en)Method of registering a membership for an electronic payment, system for same, and apparatus and terminal thereof
CN108768655A (en)Dynamic password formation method and system
CN105187447B (en)A kind of terminal security login method
CN104361275A (en)Management Linux system root user login method
CN109508201A (en)A kind of UEFI update method and system based on hardware identification and Safety Examination
CN105208031B (en)A kind of terminal authentication method

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20180710


[8]ページ先頭

©2009-2025 Movatter.jp