CN110474869A - Application system upgrade method and device under tertiary-structure network environment - Google Patents
Application system upgrade method and device under tertiary-structure network environment Download PDFInfo
- Publication number
- CN110474869A CN110474869A CN201910597871.9A CN201910597871A CN110474869A CN 110474869 A CN110474869 A CN 110474869A CN 201910597871 A CN201910597871 A CN 201910597871A CN 110474869 A CN110474869 A CN 110474869A
- Authority
- CN
- China
- Prior art keywords
- file
- application
- intranet
- application system
- data package
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/02—Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses application system upgrade method, medium, equipment and the devices under a kind of tertiary-structure network environment, wherein method includes: and updates maker by the application in intranet server to obtain new edition file, and the new edition file is compared with old edition this document, to obtain differential file according to comparison result;Updated data package is made according to the differential file, and the updated data package is published to Intranet automatically and updates website;The updated data package is pushed to each client of Intranet, so that the respective application system of the client is upgraded;It can be realized the automatic upgrading that application system is carried out to each client in Intranet, it is easy to operate, required manpower and time cost in escalation process are saved, user experience is greatlyd improve.
Description
Technical field
Application system upgrading the present invention relates to technical field of information processing, in particular under a kind of tertiary-structure network environment
A kind of a kind of a kind of application system liter under method, computer readable storage medium, computer equipment and tertiary-structure network environment
Stage arrangement.
Background technique
Currently, in application scenes (for example, hospital) for the purpose of safety, computer virus or net in order to prevent
Network attack damages network, and the network of such scene is designed to greatly a closed internal private network, i.e. Intranet.
In the related art, due to physical isolation between Intranet and the external world, and application system is generally all deployed in Intranet, when
When application system updates, client can not be connect with outer net server-side, be unable to complete automatically updating for application system, therefore, past
Toward needing relevant staff when needing to update, manually each client is reinstalled, to complete application system
Update, bring great inconvenience to user.
Summary of the invention
The present invention is directed to solve one of the technical problem in above-mentioned technology at least to a certain extent.For this purpose, of the invention
One purpose is to propose the application system upgrade method under a kind of tertiary-structure network environment, can be realized to each of Intranet
Client carries out the automatic upgrading of application system, easy to operate, saves required manpower and time cost in escalation process, greatly
Improve user experience.
Second object of the present invention is to propose a kind of computer readable storage medium.
Third object of the present invention is to propose a kind of computer equipment.
Fourth object of the present invention is to propose the application system update device under a kind of tertiary-structure network environment.
In order to achieve the above objectives, first aspect present invention embodiment proposes the application system under a kind of tertiary-structure network environment
It unites upgrade method, comprising the following steps: maker is updated by the application in intranet server and obtains new edition file, and by institute
It states new edition file to be compared with old edition this document, to obtain differential file according to comparison result;According to the differential file
Updated data package is made, and the updated data package is published to Intranet automatically and updates website;The updated data package is pushed
To each client of Intranet, so that the respective application system of the client is upgraded.
Application system upgrade method under tertiary-structure network environment according to an embodiment of the present invention, firstly, being taken by Intranet
The application being engaged on device updates maker and obtains new edition file, and the new edition file is compared with old edition this document,
To obtain differential file according to comparison result;It is thus possible to delta compression packet be generated according to differential file, by the delta compression
Packet is used as updated data package, and updated data package is published to Intranet automatically and is updated on website, then, will by intranet server
Updated data package is pushed to each client of Intranet, so that the respective application system of client is upgraded, thus realization pair
Each client in Intranet carries out the automatic upgrading of application system, easy to operate, save in escalation process required manpower and when
Between cost, greatly improve user experience.
In addition, the application system upgrade method under the tertiary-structure network environment proposed according to that above embodiment of the present invention may be used also
To have following additional technical characteristic:
Specifically, version file includes application file and corresponding index file, wherein by the new edition file with it is old
Version file is compared, to obtain differential file according to comparison result, comprising: traverse the new version in the new edition file
The new version application file is compared application file with the application file in described old edition this document, with according to than
Difference application file is obtained to result;Obtain the difference index text that the difference application file is corresponded in the new edition file
Part;Judge the difference index file with the presence or absence of in legacy version index file;If there is no described old for the differential file
In version index file, then using the difference index file and corresponding difference application file as differential file.Optionally, In
When the updated data package is pushed to each client of Intranet, website is updated by Intranet and uploads the updated data package
Catalogue, so that the application loader in each client is the catalogue that the Intranet updates website by updating address configuration
Address, to obtain the updated data package.
Specifically, before by the application update maker acquisition new edition file in intranet server, further includes: pass through
Update maker in external network server signs to each file updated in file, and to the update file after signature into
Row splits' positions, to generate new edition file.
Specifically, the respective application system of the client is upgraded, comprising: inquiry local data base is to judge to apply
Whether program file is empty;If it is, obtaining index file from the updated data package, and after traversing the index file
More new data is obtained from the entry file of the updated data package, and the local is recorded to carry out system upgrade, and by update
Database;If it is not, then obtain index file from the updated data package, and by traverse the index file with will described in more
Application file in new data packets is compared with locally applied file, and according to comparison result by the locally applied text of difference
Part is deleted, and obtains more new data from the entry file of the updated data package to carry out system upgrade, and will more new record
To the local data base.
Optionally, it when the updated data package to be pushed to each client of Intranet, is updated on website by Intranet
The catalogue of the updated data package is passed, so that the application loader in each client is described by updating address configuration
Intranet updates the directory address of website, to obtain the updated data package.
In order to achieve the above objectives, a kind of computer readable storage medium that second aspect of the present invention embodiment proposes, thereon
The application system upgrade procedure being stored under tertiary-structure network environment, the application system upgrade procedure under the tertiary-structure network environment
It realizes when being executed by processor such as the application system upgrade method under above-mentioned tertiary-structure network environment.
Computer readable storage medium according to an embodiment of the present invention passes through the application system under storage tertiary-structure network environment
System upgrade procedure, so that processor is realized when executing the program such as the application system upgrading under above-mentioned tertiary-structure network environment
Method, thus realize the automatic upgrading that application system is carried out to each client in Intranet, it is easy to operate, save escalation process
In required manpower and time cost, greatly improve user experience.
In order to achieve the above objectives, a kind of computer equipment that third aspect present invention embodiment proposes, including memory, place
The computer program managing device and storage on a memory and can running on a processor, processor execute the computer program
When, it realizes such as the application system upgrade method under above-mentioned tertiary-structure network environment.
Computer equipment according to an embodiment of the present invention executes the computer journey of storage on a memory by processor
Sequence carries out each client in Intranet to realize with realizing the application system upgrade method under tertiary-structure network environment
The automatic upgrading of application system, it is easy to operate, required manpower and time cost in escalation process are saved, user's body is greatlyd improve
It tests.
In order to achieve the above objectives, the application system liter under the tertiary-structure network environment that fourth aspect present invention embodiment proposes
Stage arrangement, comprising: the application being arranged in intranet server updates maker, and the application updates maker for obtaining new edition
This document, and the new edition file is compared with old edition this document, to obtain differential file according to comparison result, and
Updated data package is made according to the differential file;Application loader in the client, the application loader are set
For being upgraded according to the updated data package being published in intranet server to the respective application system of the client.
Application system update device under tertiary-structure network environment according to an embodiment of the present invention is taken by setting in Intranet
The application being engaged on device updates maker and obtains new edition file, and new edition file is compared with old edition this document, with root
Differential file is generated according to difference section between the two, and is updated the production of data packet according to differential file;To In
After updated data package is published to Intranet update website, passes through the application loader being arranged on the client and obtain Intranet update
Updated data package on website, and upgraded according to respective application system of the updated data package to client, thus realization pair
Each client in Intranet carries out the automatic upgrading of application system, easy to operate, save in escalation process required manpower and when
Between cost, greatly improve user experience.
In addition, the application system update device under the tertiary-structure network environment proposed according to that above embodiment of the present invention may be used also
To have following additional technical characteristic:
Optionally, the application updates maker and is also used to, and traverses the new version application file in the new edition file,
The new version application file to be compared with the application file in described old edition this document, to be obtained according to comparison result
Difference application file;Obtain the difference index file that the difference application file is corresponded in the new edition file;Described in judgement
Difference index file is with the presence or absence of in legacy version index file;If the legacy version index file is not present in the differential file
In, then using the difference index file and corresponding difference application file as differential file.
Optionally, it when the updated data package to be pushed to each client of Intranet, is updated on website by Intranet
The catalogue of the updated data package is passed, so that the application loader in each client is described by updating address configuration
Intranet updates the directory address of website, to obtain the updated data package.
Detailed description of the invention
Fig. 1 is to be illustrated according to the process of the application system upgrade method under the tertiary-structure network environment of the embodiment of the present invention
Figure;
Fig. 2 is the differential file acquisition process flow diagram according to the embodiment of the present invention;
Fig. 3 is the client application system upgrade flow diagram according to the embodiment of the present invention;
Fig. 4 is to be illustrated according to the box of the application system update device under the tertiary-structure network environment of the embodiment of the present invention
Figure.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
In order to better understand the above technical scheme, the exemplary reality that the present invention will be described in more detail below with reference to accompanying drawings
Apply example.Although showing exemplary embodiment of the present invention in attached drawing, it being understood, however, that may be realized in various forms this hair
It is bright and should not be limited by the embodiments set forth herein.It is to be able to thoroughly understand this on the contrary, providing these embodiments
Invention, and the scope of the present invention can be fully disclosed to those skilled in the art.
In order to better understand the above technical scheme, in conjunction with appended figures and specific embodiments to upper
Technical solution is stated to be described in detail.
Fig. 1 is to be illustrated according to the process of the application system upgrade method under the tertiary-structure network environment of the embodiment of the present invention
Figure, as shown in Figure 1, application system upgrade method under the tertiary-structure network environment the following steps are included:
S101, by intranet server application update maker obtain new edition file, and by new edition file with
Old edition this document is compared, to obtain differential file according to comparison result.
That is, updating maker after application program update by the application in intranet server and obtaining this more
New edition file after new, and new edition file and old edition this document are compared, to judge difference between the two, and root
Differential file is generated according to difference between the two.
S102 makes updated data package according to differential file, and updated data package is published to Intranet automatically and updates website.
That is, being updated the production of data packet according to the differential file of generation, and updated data package is sent out automatically
Cloth updates on website to Intranet.
Wherein, according to differential file make updated data package mode can there are many.
As an example, after getting differential file, compression processing directly is carried out to differential file, will be compressed
Compressed file afterwards is as updated data package.
As another example, after getting differential file, sign to the All Files in differential file, with
Just subsequent client is come the source for judging file by the signature on verifying file when upgrading to respective application system
It is no legal, and just respective application system is upgraded when judging result is legal, to guarantee the peace of respective application system
Quan Xing;Then, after signing to All Files, splits' positions are carried out to differential file, to generate updated data package, from
And can greatly lower network bandwidth by splits' positions, the time required to shortening respective application system upgrade, raising is accordingly answered
With the upgrading efficiency of system.
In some embodiments, in order to further increase safety when application system upgrading, new edition file is being carried out
Production when, also signed by the update maker in external network server to each file updated in file, and to label
Name after update file carry out splits' positions, to generate new edition file, thus, it is subsequent can by the signature to new edition herein
The source of part is verified, to improve the safety of system upgrade, meanwhile, the new edition file after splits' positions can substantially reduce
Transmission time improves upgrading efficiency.
Updated data package is pushed to each client of Intranet by S103, so that the respective application system of client carries out
Upgrading.
That is, further updated data package is pushed after updated data package is published in intranet server
To each client of Intranet, so that the respective application system of client is upgraded.
Wherein, updated data package is pushed to each client of Intranet mode can there are many.
As an example, Intranet updates website after getting updated data package, according to the visitor in intranet server
ID corresponding to the end of family is updated the push of data packet to each client, and after pushing updated data package, obtains every
The feedback information of a client, to judge whether corresponding client has received updated data package, if when first is default
Between in threshold value, sent in the client of updated data package, there is the non-feedback information of client, then to the client of non-feedback information
Updated data package is retransmitted, if in the second preset time threshold, client feedback information not yet is then generated corresponding alert
It notifies breath, so that related personnel is handled.
As another example, when updated data package to be pushed to each client of Intranet, pass through Intranet update station
Point uploads the catalogue of updated data package, so that the application loader in each client is by updating address configuration for Intranet update
The directory address of website, to obtain updated data package.
In some embodiments, version file includes application file and corresponding index file, as shown in Fig. 2, in order to mention
New edition file is compared the accuracy rate of High Defferential file acquisition with old edition this document, poor to be obtained according to comparison result
Different article part, specifically includes the following steps:
S201 traverses the new version application file in new edition file, by new version application file and old edition this document
In application file be compared, with according to comparison result obtain difference application file.
S202 obtains the difference index file that difference application file is corresponded in new edition file.
S203 judges difference index file with the presence or absence of in legacy version index file.
S204, if differential file is not present in legacy version index file, by difference index file and corresponding difference
Application file is as differential file.
So that the acquisition of differential file is completed, to improve the accuracy rate of differential file acquisition.
Wherein, the mode that the respective application system of client is upgraded can there are many.
As an example, as shown in Fig. 2, the process that the respective application system of client is upgraded includes:
S301 inquires local data base to judge whether application file is empty, if so, S302 is thened follow the steps,
If not, thening follow the steps S305.
S302 obtains index file from updated data package.
S303 traverses index file.
S304 obtains more new data from the entry file of updated data package to carry out system upgrade, and update is recorded
Then local data base terminates process.
That is, when result is that application program is sky in local data base, then being taken from Intranet when inquiry local data base
It is indexed the acquisition of file in the updated data package of device of being engaged in, and the index file got is traversed, so as to basis time
It goes through result and obtains more new data from the entry file of updated data package, and system is risen according to the more new data got
Grade, and update is recorded in local data base.
S305 obtains index file from updated data package.
S306, traverse index file the application file in updated data package to be compared with locally applied file, with
Judge whether comparison result is consistent, if it is, result process, if not, thening follow the steps S307.
S307 deletes the locally applied file of difference, and from the entry file of updated data package obtain more new data with
System upgrade is carried out, and local data base is recorded in update, then, terminates process.
That is, index file is traversed, by the application in updated data package if application file is not sky
File is compared with locally applied file, to judge whether comparison result is consistent, if it is inconsistent, the local of difference is answered
It is deleted with file, and obtains more new data from the entry file of updated data package to carry out system upgrade, and will update
Local data base is recorded.
It should be noted that in the process, locally applied file can also being judged by the version number of file and is updated
Whether the application file of data packet is consistent, if it is inconsistent, locally applied file is deleted, so as to according to new version
Application file is upgraded.
Alternatively, obtaining the two after the application file in updated data package is compared with locally applied file
Between difference, and corresponding incremental data packet is obtained according to the difference, to carry out according to incremental data packet to application system
Upgrading, thus, without carrying out installation and replacement to entire application system, promote the upgrading efficiency of application system.
In conclusion the application system upgrade method under tertiary-structure network environment according to an embodiment of the present invention, firstly, logical
The application crossed in external network server updates maker and obtains new edition file, and by the new edition file and old edition this document into
Row compares, to obtain differential file according to comparison result;It is thus possible to delta compression packet is generated according to differential file, it should
Delta compression packet is published in intranet server as updated data package, and by updated data package, then, passes through intranet server
Updated data package is pushed to each client of Intranet, so that the respective application system of client is upgraded, to realize
To in Intranet each client carry out application system automatic upgrading, it is easy to operate, save escalation process in required manpower and
Time cost greatlys improve user experience.
In order to realize above-described embodiment, a kind of computer readable storage medium that second aspect of the present invention embodiment proposes,
The application system upgrade procedure being stored thereon under tertiary-structure network environment, the application system upgrading under the tertiary-structure network environment
Program is realized when being executed by processor such as the application system upgrade method under above-mentioned tertiary-structure network environment.
Computer readable storage medium according to an embodiment of the present invention passes through the application system under storage tertiary-structure network environment
System upgrade procedure, so that processor is realized when executing the program such as the application system upgrading under above-mentioned tertiary-structure network environment
Method, thus realize the automatic upgrading that application system is carried out to each client in Intranet, it is easy to operate, save escalation process
In required manpower and time cost, greatly improve user experience.
In order to realize above-described embodiment, a kind of computer equipment that third aspect present invention embodiment proposes, including storage
Device, processor and storage on a memory and the computer program that can run on a processor, the processor execution computer
When program, realize such as the application system upgrade method under above-mentioned tertiary-structure network environment.
Computer equipment according to an embodiment of the present invention executes the computer journey of storage on a memory by processor
Sequence carries out each client in Intranet to realize with realizing the application system upgrade method under tertiary-structure network environment
The automatic upgrading of application system, it is easy to operate, required manpower and time cost in escalation process are saved, user's body is greatlyd improve
It tests.
Application system in order to realize above-described embodiment, under the tertiary-structure network environment that fourth aspect present invention embodiment proposes
System update device, as shown in figure 4, the application system update device under the tertiary-structure network environment includes: using update maker
10 and application loader 20.
Wherein, it is arranged in intranet server using update maker 10, when application program update, using more brand-new
Make device 10 and obtain new edition file, and new edition file is compared with old edition this document, it is poor to be obtained according to comparison result
Different article part, and updated data package is made according to differential file;Application loader 20 is arranged on the client, application loader
20 for upgrading the respective application system of client according to the updated data package being published in intranet server.
In some embodiments, it is also used to using update maker 10: the new version practical writing in traversal new edition file
New version application file is compared part with the application file in old edition this document, to obtain difference according to comparison result
Application file;Obtain the difference index file that difference application file is corresponded in new edition file;Whether judge difference index file
There are in legacy version index file;If differential file there is no in legacy version index file, by difference index file and right
The difference application file answered is as differential file.
In some embodiments, when updated data package to be pushed to each client of Intranet, pass through Intranet update station
Point uploads the catalogue of updated data package, so that the application loader in each client is by updating address configuration for Intranet update
The directory address of website, to obtain updated data package.
It should be noted that the above-mentioned explanation about the application system upgrade method under tertiary-structure network environment in Fig. 1 is same
Sample is suitable for the application system update device under the tertiary-structure network environment, and this will not be repeated here.
In conclusion the application system update device under tertiary-structure network environment according to an embodiment of the present invention, by setting
It sets the application in intranet server and updates maker acquisition new edition file, and new edition file and old edition this document are carried out
It compares, to generate differential file according to difference section between the two, and is updated the system of data packet according to differential file
Make;To after updated data package is published to intranet server, by the way that application loader acquisition on the client is arranged
Updated data package in intranet server, and upgraded according to respective application system of the updated data package to client, thus
Realize the automatic upgrading that application system is carried out to each client in Intranet, it is easy to operate, save required people in escalation process
Power and time cost, greatly improve user experience.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
It should be noted that in the claims, any reference symbol between parentheses should not be configured to power
The limitation that benefit requires.Word "comprising" does not exclude the presence of component or step not listed in the claims.Before component
Word "a" or "an" does not exclude the presence of multiple such components.The present invention can be by means of including several different components
It hardware and is realized by means of properly programmed computer.In the unit claims listing several devices, these are filled
Several in setting, which can be, to be embodied by the same item of hardware.The use of word first, second, and third is not
Indicate any sequence.These words can be construed to title.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
In the description of the present invention, it is to be understood that, term " first ", " second " are used for description purposes only, and cannot
It is interpreted as indication or suggestion relative importance or implicitly indicates the quantity of indicated technical characteristic.Define as a result, " the
One ", the feature of " second " can explicitly or implicitly include one or more of the features.In the description of the present invention,
The meaning of " plurality " is two or more, unless otherwise specifically defined.
In the present invention unless specifically defined or limited otherwise, term " installation ", " connected ", " connection ", " fixation " etc.
Term shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or integral;It can be mechanical connect
It connects, is also possible to be electrically connected;It can be directly connected, can also can be in two elements indirectly connected through an intermediary
The interaction relationship of the connection in portion or two elements.It for the ordinary skill in the art, can be according to specific feelings
Condition understands the concrete meaning of above-mentioned term in the present invention.
In the present invention unless specifically defined or limited otherwise, fisrt feature in the second feature " on " or " down " can be with
It is that the first and second features directly contact or the first and second features pass through intermediary mediate contact.Moreover, fisrt feature exists
Second feature " on ", " top " and " above " but fisrt feature be directly above or diagonally above the second feature, or be merely representative of
First feature horizontal height is higher than second feature.Fisrt feature can be under the second feature " below ", " below " and " below "
One feature is directly under or diagonally below the second feature, or is merely representative of first feature horizontal height less than second feature.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
It is interpreted as that identical embodiment or example must be directed to.Moreover, particular features, structures, materials, or characteristics described
It may be combined in any suitable manner in any one or more of the embodiments or examples.In addition, without conflicting with each other, this
The technical staff in field can be by the spy of different embodiments or examples described in this specification and different embodiments or examples
Sign is combined.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example
Property, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentioned
Embodiment is changed, modifies, replacement and variant.
Claims (10)
1. the application system upgrade method under a kind of tertiary-structure network environment, which comprises the following steps:
Maker is updated by the application in intranet server and obtains new edition file, and by the new edition file and legacy version
File is compared, to obtain differential file according to comparison result;
Updated data package is made according to the differential file, and the updated data package is published to Intranet automatically and updates website;
The updated data package is pushed to each client of Intranet, so that the respective application system of the client is risen
Grade.
2. the application system upgrade method under tertiary-structure network environment as described in claim 1, which is characterized in that version file
Including application file and corresponding index file, wherein the new edition file is compared with old edition this document, with basis
Comparison result obtains differential file, comprising:
The new version application file in the new edition file is traversed, by the new version application file and old edition this paper
Application file in part is compared, to obtain difference application file according to comparison result;
Obtain the difference index file that the difference application file is corresponded in the new edition file;
Judge the difference index file with the presence or absence of in legacy version index file;
If the differential file is not present in the legacy version index file, by the difference index file and corresponding difference
Different application file is as differential file.
3. the application system upgrade method under tertiary-structure network environment as described in claim 1, which is characterized in that pass through Intranet
Application on server updates before maker acquisition new edition file, further includes:
By the update maker in external network server to update file in each file sign, and to after signature more
New file carries out splits' positions, to generate new edition file.
4. the application system upgrade method under tertiary-structure network environment as described in claim 1, which is characterized in that the client
The respective application system at end is upgraded, comprising:
Inquiry local data base is to judge whether application file is empty;
If it is, obtaining index file from the updated data package, and from the update number after traversing the index file
More new data is obtained according to the entry file of packet, and the local data base is recorded to carry out system upgrade, and by update;
If it is not, then obtain index file from the updated data package, and by traversing the index file with by the update
Application file in data packet is compared with locally applied file, and according to comparison result by the locally applied file of difference
It deletes, and obtains more new data from the entry file of the updated data package and be recorded to carry out system upgrade, and by update
The local data base.
5. the application system upgrade method under tertiary-structure network environment according to any one of claims 1 to 4, feature exist
In passing through Intranet and update website and upload the update number when the updated data package to be pushed to each client of Intranet
According to the catalogue of packet, so that the application loader in each client is that the Intranet updates website by updating address configuration
Directory address, to obtain the updated data package.
6. a kind of computer readable storage medium, which is characterized in that the application system being stored thereon under tertiary-structure network environment
Upgrade procedure realizes such as claim 1-5 when the application system upgrade procedure under the tertiary-structure network environment is executed by processor
Any one of described in tertiary-structure network environment under application system upgrade method.
7. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor
Calculation machine program, which is characterized in that when the processor executes the computer program, realize such as any one of claim 1-5
Application system upgrade method under the tertiary-structure network environment.
8. the application system update device under a kind of tertiary-structure network environment characterized by comprising
The application being arranged in intranet server updates maker, and the application updates maker and is used to obtain new edition file,
And the new edition file is compared with old edition this document, to obtain differential file according to comparison result, and according to institute
State differential file production updated data package;
Application loader in the client is set, and the application loader is used for basis and is published to Intranet update website
Updated data package the respective application system of the client is upgraded.
9. the application system update device under tertiary-structure network environment as claimed in claim 8, which is characterized in that the application
Maker is updated to be also used to,
The new version application file in the new edition file is traversed, by the new version application file and old edition this paper
Application file in part is compared, to obtain difference application file according to comparison result;
Obtain the difference index file that the difference application file is corresponded in the new edition file;
Judge the difference index file with the presence or absence of in legacy version index file;
If the differential file is not present in the legacy version index file, by the difference index file and corresponding difference
Different application file is as differential file.
10. the application system update device under tertiary-structure network environment as claimed in claim 7 or 8, which is characterized in that inciting somebody to action
When the updated data package is pushed to each client of Intranet, the mesh that website uploads the updated data package is updated by Intranet
Record, by the catalogue that update address configuration is Intranet update website so as to the application loader in each client
Location, to obtain the updated data package.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910597871.9A CN110474869B (en) | 2019-07-04 | 2019-07-04 | Application system upgrading method and device under internal and external network isolation environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910597871.9A CN110474869B (en) | 2019-07-04 | 2019-07-04 | Application system upgrading method and device under internal and external network isolation environment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110474869A true CN110474869A (en) | 2019-11-19 |
CN110474869B CN110474869B (en) | 2022-08-02 |
Family
ID=68506781
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910597871.9A Active CN110474869B (en) | 2019-07-04 | 2019-07-04 | Application system upgrading method and device under internal and external network isolation environment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110474869B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111611003A (en) * | 2020-05-26 | 2020-09-01 | 网神信息技术(北京)股份有限公司 | Offline upgrading method and device, electronic equipment and computer readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103795561A (en) * | 2012-11-02 | 2014-05-14 | 苏州精易会信息技术有限公司 | Apparatus for upgrading internal network system |
US20150100955A1 (en) * | 2012-06-13 | 2015-04-09 | Tencent Technology (Shenzhen) Company Limited | Method and System for Updating Software |
CN104901979A (en) * | 2014-03-04 | 2015-09-09 | 北京奇虎科技有限公司 | Method and device for downloading application program files |
CN105357318A (en) * | 2015-12-08 | 2016-02-24 | 浪潮电子信息产业股份有限公司 | Design method of intranet patch distribution management system |
CN107329735A (en) * | 2017-05-19 | 2017-11-07 | 北京北信源软件股份有限公司 | A kind of intranet patch update method and device |
CN109522042A (en) * | 2018-12-27 | 2019-03-26 | 深信服科技股份有限公司 | A kind of patch update method, system and associated component |
-
2019
- 2019-07-04 CN CN201910597871.9A patent/CN110474869B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150100955A1 (en) * | 2012-06-13 | 2015-04-09 | Tencent Technology (Shenzhen) Company Limited | Method and System for Updating Software |
CN103795561A (en) * | 2012-11-02 | 2014-05-14 | 苏州精易会信息技术有限公司 | Apparatus for upgrading internal network system |
CN104901979A (en) * | 2014-03-04 | 2015-09-09 | 北京奇虎科技有限公司 | Method and device for downloading application program files |
CN105357318A (en) * | 2015-12-08 | 2016-02-24 | 浪潮电子信息产业股份有限公司 | Design method of intranet patch distribution management system |
CN107329735A (en) * | 2017-05-19 | 2017-11-07 | 北京北信源软件股份有限公司 | A kind of intranet patch update method and device |
CN109522042A (en) * | 2018-12-27 | 2019-03-26 | 深信服科技股份有限公司 | A kind of patch update method, system and associated component |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111611003A (en) * | 2020-05-26 | 2020-09-01 | 网神信息技术(北京)股份有限公司 | Offline upgrading method and device, electronic equipment and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110474869B (en) | 2022-08-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9075633B2 (en) | Configuration of life cycle management for configuration files for an application | |
CN104052818B (en) | The version upgrading method and device of a kind of mobile terminal | |
CN104346167B (en) | The method and device of channel bag is applied in generation | |
EP2524307B1 (en) | Operating system auto-update procedure | |
CN107329741A (en) | A kind of software distribution upgrade method and device based on fingerprint recognition | |
CN108170740A (en) | Data migration method, system and computer readable storage medium | |
CN105808273B (en) | Method for upgrading software and software updating apparatus | |
US8869111B2 (en) | Method and system for generating test cases for a software application | |
CN105302895B (en) | A kind of data cache synchronization method, server and client side | |
CN106815370A (en) | Update the methods, devices and systems of resource file | |
CN105653329A (en) | Application management method, apparatus and system | |
CN105808274A (en) | Software upgrading method and system as well as corresponding clients and servers | |
CN105160253B (en) | Repair method, apparatus, system and the server of client-side program | |
CN109324821A (en) | A kind of self-service terminal system method for edition management | |
CN110163009A (en) | The method and apparatus of the safety check and reparation of HDFS storage platform | |
CN104699499B (en) | A kind of heterogeneous terminals method for upgrading software | |
CN107391507B (en) | Updating method and device for mobile terminal page | |
CN107368513A (en) | The method and device of client database renewal | |
CN110008694A (en) | A kind of application security control method, device, equipment and readable storage medium storing program for executing | |
CN110474869A (en) | Application system upgrade method and device under tertiary-structure network environment | |
CN102256242B (en) | System and method for processing service application | |
CN109240726B (en) | Software updating method and system | |
CN105205074A (en) | File increment upgrading method and system | |
CN106415539B (en) | The associated method and apparatus of business between domain | |
CN106331872A (en) | Message screening method and device in live broadcast interaction process |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |