CN106201607A - The upgrade method of a kind of software version and equipment - Google Patents
The upgrade method of a kind of software version and equipment Download PDFInfo
- Publication number
- CN106201607A CN106201607A CN201610520059.2A CN201610520059A CN106201607A CN 106201607 A CN106201607 A CN 106201607A CN 201610520059 A CN201610520059 A CN 201610520059A CN 106201607 A CN106201607 A CN 106201607A
- Authority
- CN
- China
- Prior art keywords
- client
- jar bag
- software version
- latest edition
- jar
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 238000009434 installation Methods 0.000 claims description 7
- 230000005540 biological transmission Effects 0.000 claims description 3
- 230000000052 comparative effect Effects 0.000 claims description 3
- 230000000977 initiatory effect Effects 0.000 claims description 2
- 238000004321 preservation Methods 0.000 claims 2
- 102000006479 Heterogeneous-Nuclear Ribonucleoproteins Human genes 0.000 claims 1
- 108010019372 Heterogeneous-Nuclear Ribonucleoproteins Proteins 0.000 claims 1
- 230000008569 process Effects 0.000 description 11
- 239000000047 product Substances 0.000 description 9
- 101100001708 Mus musculus Angptl4 gene Proteins 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 239000007788 liquid Substances 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000004064 recycling Methods 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 239000006227 byproduct Substances 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000011900 installation process Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
- G06F9/44526—Plug-ins; Add-ons
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the present invention provides upgrade method and the equipment of a kind of software version, and the method includes: client runs the JAR bag that this locality preserves, and determines the local version number comprised in described JAR bag;Described client obtains the latest edition number of described JAR bag by the download address in described JAR bag from software version server;The more described local version number of described client is the most consistent with described latest edition number;If inconsistent, the JAR bag that the most described client downloads described latest edition number corresponding according to described download address from described software version server carries out software upgrading, causes software version online upgrading cost problem high, inefficient in order to solve JAR bag renewal.
Description
Technical field
The present embodiments relate to moving communicating field, particularly relate to upgrade method and the equipment of a kind of software version.
Background technology
Embedded product has become increasingly popular, especially with can portable electron device the most prevailing, such as individual digital
Assistant (Personal Digital Assistant, PDA), functional mobile phone (Feature Phone), smart mobile phone (Smart
Phone), panel computer (Tablet Personal Computer) etc. so that embedded product becomes can not in daily life
The part lacked.
Embedded product is both needed to by corresponding method for upgrading software version at its memorizer (such as: NAND before dispatching from the factory
FLASH, EMMC etc.) in preset software, to ensure that embedded product can normally work.On the other hand, along with embedded product
Operating system complexity used is more and more higher so that embedded product is difficult to debug with settling at one go extremely stable and strong
Strong;Furthermore, the demand of embedded product is changed more and more frequent by user so that embedded product itself and embedded product
The speed that operating system update used by product is regenerated is more and more faster.This phenomenon is along with the rise of smart mobile phone and prevailing seems particularly
Substantially.This means that must provide for corresponding method for upgrading software version for user and carries out after sale software release upgrade.
Software release upgrade has online upgrading and non-online upgrading two ways.Along with popularizing of the Internet, existing software
The commonly used online software release upgrade mode of supplier, system architecture commonly used client/server (client/
Server, C/S) system model, software upgrading mode mainly includes two ways: software release upgrade full dose packet mode
(full amount release package, FARP) and software release upgrade delta package mode (incremental
Release package, IRP).Such as Android system, FARP refers to the whole Android software APK (Android that upgrades
Package, Android software installation files), client is by locally downloading for the application APK after upgrading, when opening APK file, and peace
Tall and erect system can call installation procedure automatically.IRP refers to that client can be former if new software version has simply increased certain function newly
Download an increment APK on APK procedure basis and install, reaching to update the purpose of software version.Obviously, increment APK is than former APK
Volume is little, updating speed faster, in hgher efficiency, the most more save software and hardware resources.
, the precondition that IRP is suitable for is because increment APK and belongs to executable file, but in Android system
JAR bag (JAVA Archive, JAVA archive file) because JAR bag belongs to non-executable file, if so JAR bag
Updating, be merely able to be upgraded by FARP mode, the JAR inclusion after will updating recompilates after entering, and generates new
Software version, then notice client upgrade whole Android software APK.Visible, the part that may be simply because in JAR bag connects
Mouth there occurs that variation, whole software version but need again to issue, and software vendor needs to spend the biggest financial resources and manpower
Generating and promote new version software, software users also must re-download whole APK in order to use to the software of latest function,
And the upgrading of entirety software version is slow, inefficient.
To sum up, need the upgrade method of a kind of software version badly, cause software version online upgrading in order to solve JAR bag renewal
Cost problem high, inefficient.
Summary of the invention
The embodiment of the present invention provides upgrade method and the device of a kind of software version, causes soft in order to solve JAR bag renewal
Part text on-line upgrading cost problem high, inefficient.
The method of the embodiment of the present invention includes a kind of method for upgrading software version, and the method includes: client runs this locality
The JAR bag preserved, and determine the local version number comprised in described JAR bag;
Described client obtains described JAR bag by the download address in described JAR bag from software version server
Latest edition number;
The more described local version number of described client is the most consistent with described latest edition number;
If inconsistent, the most described client is downloaded described up-to-date according to described download address from described software version server
JAR bag corresponding to version number carries out software upgrading.
From software version server side, the embodiment of the present invention further provides for a kind of method for upgrading software version, the method
Including: software version server receives the access request that client sends, and described access request is that client is running this locality guarantor
During the JAR bag deposited, by accessing what the download address in described JAR bag sent;
Described software version server sends the latest edition number of described JAR bag to described client, so that described client
The local version number comprised in the described JAR bag determined in described latest edition number and this locality is held to compare;
The upgrade request that described software version server sends when relatively version number is inconsistent according to described client, to
Described client sends the JAR bag that described latest edition number is corresponding, so that described client utilizes described latest edition correspondence
JAR bag carry out software upgrading.
Based on same inventive concept, the embodiment of the present invention provides a kind of client further, and this client includes:
Determine unit, for determining, when running the JAR bag that this locality preserves, the local version number comprised in described JAR bag;
Acquiring unit, for obtaining described JAR bag by the download address in described JAR bag from software version server
Latest edition number;
Comparing unit, the most consistent with described latest edition number for relatively described local version number;
Upgrade unit, for when comparing unit obtains inconsistent comparative result, then according to described download address from institute
The JAR bag stating the described latest edition number of software version server download corresponding carries out software upgrading.
With said method accordingly, the embodiment of the present invention provides a kind of software version server, this server further
Including:
Receiving unit, for receiving the access request that client sends, described access request is that client is running this locality
During the JAR bag preserved, by accessing what the download address in described JAR bag sent;
Transmitting element, sends the latest edition number of described JAR bag for described software version server to described client,
So that the local version number comprised in the described JAR bag that determined in described latest edition number and this locality of described client compares
Relatively;
Described reception unit, is additionally operable to receive the upgrade request that client sends when relatively version number is inconsistent,
Described transmitting element, is additionally operable to send, to described client, the JAR bag that described latest edition number is corresponding, so that described
The JAR bag that client utilizes described latest edition number corresponding carries out software upgrading.
The function of the JAR bag in embodiment of the present invention upgrade applications, embedded in the logic merit of upgrading in JAR bag
Can, i.e. after client installs application program, whenever this application program of client terminal start-up, will trigger and automatically run and should answer
By the upgrading processing of JAR bag in program, i.e. obtaining the version number that client is local, then recycling download address is from software version
The latest edition number of described JAR bag, the then more described local version number of client and described latest edition is obtained on server
Number whether consistent, if inconsistent, then prove that the JAR bag version that this locality preserves is relatively low, so client is according to described download address
The JAR bag downloading described latest edition number corresponding from described software version server carries out software upgrading, so, client
Only JAR bag is updated, it is no longer necessary to re-download the Android software APK of whole application program, and this renewal
Process confirms to install without user, the process of the imperceptible upgrading of user, and software developer is also without the renewal because of JAR bag
Recompilate and generate whole Android software APK, thus provide cost savings, improve the efficiency of software release upgrade.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is this
Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to root
Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 provides a kind of method for upgrading software version schematic flow sheet for the embodiment of the present invention from client-side;
Fig. 2 provides a kind of method for upgrading software version schematic flow sheet for the embodiment of the present invention from server side;
Fig. 3 provides a kind of client framework schematic diagram for embodiment of the present invention side;
Fig. 4 provides a kind of server architecture schematic diagram for embodiment of the present invention side.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
The a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under not making creative work premise, broadly falls into the scope of protection of the invention.
Shown in Figure 1, the embodiment of the present invention provides a kind of method for upgrading software version schematic flow sheet, specifically realizes
Method includes:
Step S101, client is run the JAR bag that this locality preserves, and is determined the local version number comprised in described JAR bag.
Step S102, described client obtains institute by the download address in described JAR bag from software version server
State the latest edition number of JAR bag.
Step S103, the more described local version number of described client is the most consistent with described latest edition number.
Step S104, if inconsistent, the most described client according to described download address from described software version server
The JAR bag carrying described latest edition number corresponding carries out software upgrading.
Considering that the file in JAR bag belongs to non-executable file, therefore original JAR packet function is entered by the embodiment of the present invention
Row improves, and is i.e. integrated with the logical process for performing upgrading in original JAR bag, specifically, increases in original JAR bag
Judge the logical process that version number is the most consistent, and binding JAR wrap in the download address on software version server in code,
Certainly the implementation of download address can utilize existing ftp agreement.Therefore, software version server is also accomplished by pacifying in advance
Dress ftp server, then developer all leaves release content relevant for application program and version information in software version clothes
On business device.
When client terminal start-up application program, then the logical process performing JAR bag for upgrading will be triggered, i.e. can obtain
Take the version number of JAR bag in this application program, then obtain from software version server at the ftp protocol address utilizing binding
The up-to-date version number information of this JAR bag, is less than on software version server when comparing the version number finding client
During new version number, it was demonstrated that the version of the JAR that client is local is relatively low, then can trigger upgrading, i.e. actively downloaded software version clothes
Up-to-date JAR bag on business device, under the JAR bag described client installation directory of replacement of described client download same names
JAR bag.
Certainly, client and software version server carry out above-mentioned mutual before, need to set up communication, the most described client
Hold and initiate network connecting request by procotol to software version server, and set up network with described software version server
Connect.That is client and software version server set up the channel radio being similar to GPRS (general packet radio service)
Letter.
Because prior art utilizes APK carry out upgrade software, first user need confirm download APK, downloaded with
Rear user needs to confirm to install APK, needs to disable software and installs, just can run after installation in installation process.
And in the embodiment of the present invention, after the application program launching of client, can automatically send upgrade request, the most automatically download JAR bag,
And without disabling software, directly JAR bag is saved under installation directory, can call at any time when needs call, it is not necessary to
User confirms to install, the process of the imperceptible upgrading of user.User can certainly be pointed out to upgrade, user choose whether
Upgrading, or point out after upgrading completes and upgrade for this software.
Further, described client downloads, from described software version server, the JAR bag that described latest edition number is corresponding;
Described client is verified according to the signing messages comprised in the JAR bag downloaded;After being verified, described client according to
The JAR bag of described download carries out software upgrading.
Wherein, the process endorsed the JAR bag that latest edition number on described software version server is corresponding is as follows:
Step one, software version server to generate JAR bag carry out MD5 (Message Digest Algorithm5,
Message Digest Algorithm 5) digest algorithm, obtain the summary info of JAR bag.
The summary info that step 2, software version server use private key to generate step carries out DES (Data
Encryption Algorithm, DEA) encryption.
Step 3, software version server use RSA (RonRivest, AdiShamir, Leonard Adleman tri-people
The abbreviation of name, public key encryption algorithm) private key the symmetric key used during des encryption is encrypted, obtain DES symmetry close
Key adds confidential information.
Summary info after des encryption and DES symmetric key encryption information are sent to by step 4, software version server
Client.
Then the process of deciphering after the JAR bag that up-to-date on client downloads software version server version number is corresponding
As follows:
After step 5, client receive information, client uses the PKI of RSA to decipher DES symmetric key encryption information
Obtain the symmetric key of DES.
Step 6, client use DES symmetric key to be decrypted the summary info after des encryption, obtain in plain text
Summary info A.
Step 7, client carry out MD5 digest algorithm to the JAR bag generated, and obtain the summary info B of JAR bag.Relatively two
Summary info A and summary info B, if the same signature verification is passed through, otherwise signature verification failure.
In fact the effect of client-side program checking signing messages is to verify whether the integrity of JAR bag, JAR bag are usurped
Change, whether JAR bag is sent by described software version server.
Visible, the embodiment of the present invention uses JAR bag update mode, and it is much smaller that APK compared by JAR bag, and general APK volume is
Several MB (MegaByte, Mbytes) to tens MB, and the long-pending several KB (Kilo Byte, kilobytes) that are only of JAR inclusion are to tens
KB, thus greatly reduce the cost of customer upgrade, and update time is shorter.The embodiment of the present invention is by the safety endorsed, decipher
Mechanism verifies improved JAR bag, thus realizes the upgrading of Android software, and customer upgrade is more smooth.The fall of upgrade cost
When the lifting that low and customer upgrade is experienced solves the problems of liquid flow and frequent updating that bring because of Android software upgrading, user needs
The problem frequently to confirm, such that it is able to improve the frequency of software upgrading, the raising of renewal frequency, enterprise just can will repair in time
Change, New function etc. updates operation and is synchronized to user, and user also can obtain preferably experience simultaneously.
As in figure 2 it is shown, a kind of method for upgrading software version that the embodiment of the present invention two provides from software version server side,
The method includes:
Step S201, software version server receives the access request that client sends, and described access request is client
When running the JAR bag that this locality preserves, by accessing what the download address in described JAR bag sent;
Step S202, described software version server sends the latest edition number of described JAR bag to described client, so that
The local version number comprised in the described JAR bag that described latest edition number and this locality are determined by described client compares;
Step S203, the liter that described software version server sends when relatively version number is inconsistent according to described client
Level request, sends, to described client, the JAR bag that described latest edition number is corresponding, so that described client utilizes described latest edition
This number corresponding JAR bag carries out software upgrading.
Certainly, client and software version server carry out above-mentioned mutual before, need to set up communication, i.e. software version
Server receives, by procotol, the network connecting request that client sends, and sets up network with client and be connected, the softest
Part version server, according to the upgrade request of client, issues the JAR bag corresponding to client, after client receives JAR
Correspondingly replace, specifically endorse and the process deciphered is as described in said method, repeat no more.
Visible, the method that the embodiment of the present invention provides can reduce operation and the maintenance cost of enterprise, by software version
Increasing the management of version on server, enterprise can manage the JAR bag of multiple application and application version flexibly, thus reduces enterprise
Industry development and maintenance cost, can retain more old user while promoting new Consumer's Experience.The embodiment of the present invention uses JAR bag
Update mode, it is much smaller that APK compared by JAR bag, and general APK volume is a few MB to tens MB, and the long-pending only several KB of R inclusion are extremely
Tens resistances, thus greatly reduce the cost of customer upgrade, and update time is shorter.The reduction of upgrade cost and customer upgrade body
When the lifting tested solves the problems of liquid flow and frequent updating that bring because of Android software upgrading, user needs the problem frequently confirmed,
Such that it is able to improve the frequency of software upgrading, the raising of renewal frequency.
Based on identical technology design, the embodiment of the present invention also provides for a kind of client, and this client can perform above-mentioned side
Method embodiment.The client that the embodiment of the present invention provides is as it is shown on figure 3, comprise determining that unit 301, acquiring unit 302, compare
Unit 303, upgrade unit 304, wherein:
Determine unit 301, for determining, when running the JAR bag that this locality preserves, the local version comprised in described JAR bag
Number;
Acquiring unit 302, described for being obtained from software version server by the download address in described JAR bag
The latest edition number of JAR bag;
Comparing unit 303, the most consistent with described latest edition number for relatively described local version number;
Upgrade unit 304, for when comparing unit obtains inconsistent comparative result, then according to described download address from
The JAR bag that described software version server downloads described latest edition number corresponding carries out software upgrading.
Further, also include setting up connecting unit 305, for initiating net by procotol to software version server
Network connection request, and set up network with described software version server and be connected.
Further, described upgrade unit 304 specifically for: from described software version server download described latest edition
Number corresponding JAR bag;
Signing messages according to comprising in the JAR bag downloaded is verified;After being verified, according to described download
JAR bag carries out software upgrading.
Further, described upgrade unit 304 is additionally operable to: replace under described client installation directory with the JAR bag downloaded
The JAR bag of same names.
Corresponding with client, the embodiment of the present invention a kind of software version server further, this server can perform
Said method embodiment.As shown in Figure 4, including: reception unit 401, transmitting element 402, wherein:
Receiving unit 401, for receiving the access request that client sends, described access request is that client is running this
During the JAR bag that ground preserves, by accessing what the download address in described JAR bag sent;
Transmitting element 402, sends the latest edition of described JAR bag for described software version server to described client
Number, so that the local version number comprised in described latest edition number and the local described JAR bag determined is carried out by described client
Relatively;
Described reception unit 401, is additionally operable to receive the upgrade request that client sends when relatively version number is inconsistent,
Described transmitting element 402, is additionally operable to send, to described client, the JAR bag that described latest edition number is corresponding, so that
The JAR bag that described client utilizes described latest edition number corresponding carries out software upgrading.
Further, also include setting up connecting unit 403, for receiving the network of client transmission even by procotol
Connect request, and set up network with client and be connected.
The function of the JAR bag in embodiment of the present invention upgrade applications, embedded in the logic merit of upgrading in JAR bag
Can, i.e. after client installs application program, whenever this application program of client terminal start-up, will trigger and automatically run and should answer
By the upgrading processing of JAR bag in program, i.e. obtaining the version number that client is local, then recycling download address is from software version
The latest edition number of described JAR bag, the then more described local version number of client and described latest edition is obtained on server
Number whether consistent, if inconsistent, then prove that the JAR bag version that this locality preserves is relatively low, so client is according to described download address
The JAR bag downloading described latest edition number corresponding from described software version server carries out software upgrading, so, client
Only JAR bag is updated, it is no longer necessary to re-download the Android software APK of whole application program, and this renewal
Process confirms to install without user, the process of the imperceptible upgrading of user, and software developer is also without the renewal because of JAR bag
Recompilate and generate whole Android software APK, thus provide cost savings, improve the efficiency of software release upgrade.
Device embodiment described above is only schematically, and the wherein said unit illustrated as separating component can
To be or to may not be physically separate, the parts shown as unit can be or may not be physics list
Unit, i.e. may be located at a place, or can also be distributed on multiple NE.Can be selected it according to the actual needs
In some or all of module realize the purpose of the present embodiment scheme.Those of ordinary skill in the art are not paying creativeness
Work in the case of, be i.e. appreciated that and implement.
Through the above description of the embodiments, those skilled in the art it can be understood that to each embodiment can
The mode adding required general hardware platform by software realizes, naturally it is also possible to pass through hardware.Based on such understanding, on
State the part that prior art contributes by technical scheme the most in other words to embody with the form of software product, should
Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD etc., including some fingers
Make with so that a computer equipment (can be personal computer, server, or the network equipment etc.) performs each and implements
The method described in some part of example or embodiment.
Last it is noted that above example is only in order to illustrate technical scheme, it is not intended to limit;Although
With reference to previous embodiment, the present invention is described in detail, it will be understood by those within the art that: it still may be used
So that the technical scheme described in foregoing embodiments to be modified, or wherein portion of techniques feature is carried out equivalent;
And these amendments or replacement, do not make phase
The essence answering technical scheme departs from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (12)
1. a method for upgrading software version, it is characterised in that the method includes:
Client runs the JAR bag that this locality preserves, and determines the local version number comprised in described JAR bag;
Described client obtains the up-to-date of described JAR bag by the download address in described JAR bag from software version server
Version number;
The more described local version number of described client is the most consistent with described latest edition number;
If inconsistent, the most described client downloads described latest edition according to described download address from described software version server
Number corresponding JAR bag carries out software upgrading.
Method the most according to claim 1, it is characterised in that described client run this locality preserve JAR package informatin it
After, described client obtains the latest edition of described JAR bag by the download address in described JAR bag from software version server
Before this number, also include:
Described client initiates network connecting request by procotol to software version server, and takes with described software version
Business device is set up network and is connected.
Method the most according to claim 1 and 2, it is characterised in that described client according to described download address from described
The JAR bag that software version server downloads described latest edition number corresponding carries out software upgrading, including:
Described client downloads, from described software version server, the JAR bag that described latest edition number is corresponding;
Described client is verified according to the signing messages comprised in the JAR bag downloaded;
After being verified, described client carries out software upgrading according to the JAR bag of described download.
Method the most according to claim 3, it is characterised in that described client carries out soft according to the JAR bag of described download
Part is upgraded, including:
Under the JAR bag described client installation directory of replacement that described client is downloaded the JAR bag of same names.
5. a method for upgrading software version, it is characterised in that the method includes:
Software version server receives the access request that client sends, and described access request is that client is running this locality preservation
JAR bag time, by accessing download address transmission in described JAR bag;
Described software version server sends the latest edition number of described JAR bag to described client, so that described client will
The local version number comprised in the described JAR bag that described latest edition number and this locality determine compares;
The upgrade request that described software version server sends when relatively version number is inconsistent according to described client, to described
Client sends the JAR bag that described latest edition number is corresponding, so that described client utilizes the JAR that described latest edition number is corresponding
Bag carries out software upgrading.
Method the most according to claim 5, it is characterised in that described software version server receives the visit that client sends
Before asking request, also include:
Software version server receives, by procotol, the network connecting request that client sends, and sets up network with client
Connect.
7. a client, it is characterised in that this client includes:
Determine unit, for determining, when running the JAR bag that this locality preserves, the local version number comprised in described JAR bag;
Acquiring unit, for obtaining described JAR bag by the download address in described JAR bag from software version server
New version number;
Comparing unit, the most consistent with described latest edition number for relatively described local version number;
Upgrade unit, for when comparing unit obtains inconsistent comparative result, then according to described download address from described soft
The JAR bag that part version server downloads described latest edition number corresponding carries out software upgrading.
Client the most according to claim 7, it is characterised in that also include:
Set up and connect unit, for initiating network connecting request by procotol to software version server and soft with described
Part version server is set up network and is connected.
9. according to the client described in claim 7 or 8, it is characterised in that described upgrade unit specifically for:
The JAR bag that described latest edition number is corresponding is downloaded from described software version server;
Signing messages according to comprising in the JAR bag downloaded is verified;
After being verified, carry out software upgrading according to the JAR bag of described download.
Client the most according to claim 9, it is characterised in that described upgrade unit is additionally operable to:
With under the JAR bag described client installation directory of replacement downloaded the JAR bag of same names.
11. 1 kinds of software version servers, it is characterised in that this server includes:
Receiving unit, for receiving the access request that client sends, described access request is that client is running local preservation
JAR bag time, by accessing download address transmission in described JAR bag;
Transmitting element, sends the latest edition number of described JAR bag for described software version server to described client, so that
The local version number comprised in the described JAR bag that described latest edition number and this locality are determined by described client compares;
Described reception unit, is additionally operable to receive the upgrade request that client sends when relatively version number is inconsistent,
Described transmitting element, is additionally operable to send, to described client, the JAR bag that described latest edition number is corresponding, so that described client
The JAR bag that end utilizes described latest edition number corresponding carries out software upgrading.
12. servers according to claim 11, it is characterised in that also include:
Set up and connect unit, for receiving, by procotol, the network connecting request that client sends, and set up with client
Network connects.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610520059.2A CN106201607A (en) | 2016-07-04 | 2016-07-04 | The upgrade method of a kind of software version and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610520059.2A CN106201607A (en) | 2016-07-04 | 2016-07-04 | The upgrade method of a kind of software version and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106201607A true CN106201607A (en) | 2016-12-07 |
Family
ID=57465085
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610520059.2A Pending CN106201607A (en) | 2016-07-04 | 2016-07-04 | The upgrade method of a kind of software version and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106201607A (en) |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106789249A (en) * | 2016-12-22 | 2017-05-31 | 北京五八信息技术有限公司 | Hot update method, client and server |
CN107734494A (en) * | 2017-10-10 | 2018-02-23 | 惠州Tcl移动通信有限公司 | More new control method, mobile terminal and the storage device of IMS parameters |
CN108154033A (en) * | 2017-11-20 | 2018-06-12 | 北京奇艺世纪科技有限公司 | A kind of method, apparatus, electronic equipment and the storage medium of administrative vulnerability information |
CN108446127A (en) * | 2017-02-14 | 2018-08-24 | 百度在线网络技术(北京)有限公司 | Update the processing method and processing device of packet |
CN109491693A (en) * | 2018-12-29 | 2019-03-19 | 深圳点猫科技有限公司 | A kind of the heat update processing method and electronic equipment of graphical programming client |
CN109495532A (en) * | 2017-09-13 | 2019-03-19 | 北京京东尚科信息技术有限公司 | Client update method and device |
CN109614137A (en) * | 2018-11-30 | 2019-04-12 | 北京字节跳动网络技术有限公司 | Software version control method, device, equipment and medium |
CN109857409A (en) * | 2019-01-16 | 2019-06-07 | 深圳壹账通智能科技有限公司 | Data processing method, device and computer equipment based on micro services gateway |
CN109857421A (en) * | 2018-12-17 | 2019-06-07 | 航天信息股份有限公司 | The encryption upgrade method and system of embedded device |
CN110597531A (en) * | 2019-08-05 | 2019-12-20 | 平安科技(深圳)有限公司 | Distributed module upgrading method and device and storage medium |
CN110647751A (en) * | 2018-06-26 | 2020-01-03 | 马上消费金融股份有限公司 | Method, system, equipment and computer medium for determining security of jar packet |
WO2020034169A1 (en) * | 2018-08-17 | 2020-02-20 | 张建岗 | Software upgrade system and method for energy storage system |
CN111679854A (en) * | 2020-06-15 | 2020-09-18 | 中国银行股份有限公司 | Version control method, device and system of software product |
CN112612493A (en) * | 2020-12-24 | 2021-04-06 | 广州视源电子科技股份有限公司 | Software upgrading method, device, equipment and storage medium for software set |
CN113840262A (en) * | 2020-06-23 | 2021-12-24 | 京东方科技集团股份有限公司 | Over-the-air updating method, updating server, terminal equipment and Internet of things system |
CN113900696A (en) * | 2021-11-19 | 2022-01-07 | 深圳前海移联科技有限公司 | Universal management method for client prompting words, computer equipment and storage medium |
CN114610356A (en) * | 2022-03-25 | 2022-06-10 | 广联达科技股份有限公司 | Method, system, device and storage medium for managing desktop end application upgrading |
CN114879993A (en) * | 2022-05-12 | 2022-08-09 | 京东方数字科技有限公司 | Upgrading processing method of software installation package, server and client |
CN115314484A (en) * | 2022-06-15 | 2022-11-08 | 广州九尾信息科技有限公司 | Local area network android test package automatic distribution device based on MQTT protocol |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104077160A (en) * | 2014-05-12 | 2014-10-01 | 联动优势电子商务有限公司 | Android software upgrading method, device and system |
CN104239098A (en) * | 2014-09-09 | 2014-12-24 | 北京金山安全软件有限公司 | Automatic software upgrading method and device and mobile terminal |
-
2016
- 2016-07-04 CN CN201610520059.2A patent/CN106201607A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104077160A (en) * | 2014-05-12 | 2014-10-01 | 联动优势电子商务有限公司 | Android software upgrading method, device and system |
CN104239098A (en) * | 2014-09-09 | 2014-12-24 | 北京金山安全软件有限公司 | Automatic software upgrading method and device and mobile terminal |
Cited By (28)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106789249B (en) * | 2016-12-22 | 2019-12-10 | 北京五八信息技术有限公司 | Hot updating method, client and server |
CN106789249A (en) * | 2016-12-22 | 2017-05-31 | 北京五八信息技术有限公司 | Hot update method, client and server |
CN108446127A (en) * | 2017-02-14 | 2018-08-24 | 百度在线网络技术(北京)有限公司 | Update the processing method and processing device of packet |
CN108446127B (en) * | 2017-02-14 | 2021-12-24 | 百度在线网络技术(北京)有限公司 | Update package processing method and device |
CN109495532A (en) * | 2017-09-13 | 2019-03-19 | 北京京东尚科信息技术有限公司 | Client update method and device |
CN107734494A (en) * | 2017-10-10 | 2018-02-23 | 惠州Tcl移动通信有限公司 | More new control method, mobile terminal and the storage device of IMS parameters |
CN107734494B (en) * | 2017-10-10 | 2022-01-11 | 惠州Tcl移动通信有限公司 | IMS parameter updating control method, mobile terminal and storage device |
CN108154033A (en) * | 2017-11-20 | 2018-06-12 | 北京奇艺世纪科技有限公司 | A kind of method, apparatus, electronic equipment and the storage medium of administrative vulnerability information |
CN110647751B (en) * | 2018-06-26 | 2021-07-09 | 马上消费金融股份有限公司 | Method, system, equipment and computer medium for determining security of jar packet |
CN110647751A (en) * | 2018-06-26 | 2020-01-03 | 马上消费金融股份有限公司 | Method, system, equipment and computer medium for determining security of jar packet |
WO2020034169A1 (en) * | 2018-08-17 | 2020-02-20 | 张建岗 | Software upgrade system and method for energy storage system |
CN109614137A (en) * | 2018-11-30 | 2019-04-12 | 北京字节跳动网络技术有限公司 | Software version control method, device, equipment and medium |
CN109857421A (en) * | 2018-12-17 | 2019-06-07 | 航天信息股份有限公司 | The encryption upgrade method and system of embedded device |
CN109491693A (en) * | 2018-12-29 | 2019-03-19 | 深圳点猫科技有限公司 | A kind of the heat update processing method and electronic equipment of graphical programming client |
CN109857409A (en) * | 2019-01-16 | 2019-06-07 | 深圳壹账通智能科技有限公司 | Data processing method, device and computer equipment based on micro services gateway |
CN110597531B (en) * | 2019-08-05 | 2022-11-08 | 平安科技(深圳)有限公司 | Distributed module upgrading method and device and storage medium |
CN110597531A (en) * | 2019-08-05 | 2019-12-20 | 平安科技(深圳)有限公司 | Distributed module upgrading method and device and storage medium |
CN111679854A (en) * | 2020-06-15 | 2020-09-18 | 中国银行股份有限公司 | Version control method, device and system of software product |
CN111679854B (en) * | 2020-06-15 | 2024-01-23 | 中国银行股份有限公司 | Version control method, device and system of software product |
CN113840262A (en) * | 2020-06-23 | 2021-12-24 | 京东方科技集团股份有限公司 | Over-the-air updating method, updating server, terminal equipment and Internet of things system |
WO2021259310A1 (en) * | 2020-06-23 | 2021-12-30 | 京东方科技集团股份有限公司 | Over-the-air updating method, update server, terminal device, and internet of things system |
US12050901B2 (en) | 2020-06-23 | 2024-07-30 | Boe Technology Group Co., Ltd. | Over-the-air updating method, update server, terminal device, and internet of things system |
CN112612493A (en) * | 2020-12-24 | 2021-04-06 | 广州视源电子科技股份有限公司 | Software upgrading method, device, equipment and storage medium for software set |
CN112612493B (en) * | 2020-12-24 | 2024-11-22 | 广州视源电子科技股份有限公司 | Software upgrade method, device, equipment and storage medium for software set |
CN113900696A (en) * | 2021-11-19 | 2022-01-07 | 深圳前海移联科技有限公司 | Universal management method for client prompting words, computer equipment and storage medium |
CN114610356A (en) * | 2022-03-25 | 2022-06-10 | 广联达科技股份有限公司 | Method, system, device and storage medium for managing desktop end application upgrading |
CN114879993A (en) * | 2022-05-12 | 2022-08-09 | 京东方数字科技有限公司 | Upgrading processing method of software installation package, server and client |
CN115314484A (en) * | 2022-06-15 | 2022-11-08 | 广州九尾信息科技有限公司 | Local area network android test package automatic distribution device based on MQTT protocol |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106201607A (en) | The upgrade method of a kind of software version and equipment | |
CN112486554B (en) | Vehicle-mounted networking terminal software upgrading method | |
CN103037312B (en) | Information push method and device | |
CN102830992B (en) | Plug-in loading method and system | |
CN104346167B (en) | The method and device of channel bag is applied in generation | |
CN109787774B (en) | Upgrade downloading method and device based on digital signature verification, server and terminal | |
CN104166565B (en) | A kind of intelligent display terminal firmware upgrade method | |
US9075693B2 (en) | Methods for updating applications | |
CN102982258B (en) | A kind of system of mobile applications being carried out to master verification | |
US9984255B2 (en) | Methods and apparatus to enable runtime checksum verification of block device images | |
CN103761329B (en) | A kind of method and its device that brush machine is carried out to mobile device | |
CN105786538B (en) | software upgrading method and device based on android system | |
CN108108181A (en) | The function renewal method, apparatus and computer readable storage medium of application program | |
CN104052818A (en) | Version upgrade method and device for mobile terminal | |
CN104391729B (en) | Programme upgrade method and device based on Root authority | |
CN106164861A (en) | For the method disposing one group of software application | |
CN105468395A (en) | Updating method, device and system | |
CN104077160A (en) | Android software upgrading method, device and system | |
CN105808278A (en) | Client version upgrading method and device | |
CN105183499A (en) | ROM flashing method, mobile terminal and terminal system | |
CN107844306A (en) | Restorative procedure, device, storage medium and the terminal of application program | |
CN108322540A (en) | Customized data lead-in method, terminal and computer readable storage medium | |
CN103916846A (en) | Terminal application updating method, system and device | |
CN105592091A (en) | Security application downloading method | |
JP2023505844A (en) | Package-based remote firmware update |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20161207 |