CN104978209A - Application updating method and application updating device - Google Patents

Application updating method and application updating device Download PDF

Info

Publication number
CN104978209A
CN104978209A CN201410149152.8A CN201410149152A CN104978209A CN 104978209 A CN104978209 A CN 104978209A CN 201410149152 A CN201410149152 A CN 201410149152A CN 104978209 A CN104978209 A CN 104978209A
Authority
CN
China
Prior art keywords
application
date
terminal
version
download directory
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
Application number
CN201410149152.8A
Other languages
Chinese (zh)
Other versions
CN104978209B (en
Inventor
朱建
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410149152.8A priority Critical patent/CN104978209B/en
Publication of CN104978209A publication Critical patent/CN104978209A/en
Application granted granted Critical
Publication of CN104978209B publication Critical patent/CN104978209B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses an application updating method, which comprises the following steps that: an automatic deployment application is added onto a terminal in advance, and when the terminal is started, the automatic deployment application automatically runs; after the running, the terminal and a server are communicated to obtain a latest application package; and after the terminal restarts, the automatic updating can be realized. When the server issues a new application, an updating instruction is issued to each terminal, so that when each terminal is started, the application can be automatically downloaded and updated according to the updating instruction. The invention also discloses an application updating device. The application updating method and the application updating device have the advantages that the automatic updating of the application is realized, and meanwhile, the batch deployment of the application is also realized.

Description

The update method of application and device
Technical field
The present invention relates to networking technology area, particularly relate to update method and the device of application.
Background technology
Along with the development of modern software, people recognize gradually, and software is service, and is not only a product.Therefore software development commercial city is for the purpose of service-user, satisfied with aim with user, needs to constantly update software.
Existing software upgrading is all manually go to dispose.Each issue new procedures, all needs manually to stop corresponding service, and clears up historical record.Then copy new procedures to terminal to be updated, and start the new procedures in terminal.When the terminal that will dispose is more, all need manually to go operation one by one, by the time cost of at substantial.
Summary of the invention
The fundamental purpose of the embodiment of the present invention is to provide a kind of update method and device of application, is intended to the automatic renewal realizing application, and the batch simultaneously also achieving application is disposed.
For achieving the above object, embodiments provide a kind of update method of application, comprise the following steps:
In terminal, add robotization application deployment in advance, and arrange described robotization dispose be applied as start self-starting;
When terminal starts, run described robotization application deployment at every turn, in the download directory of sense terminals, whether there is up-to-date application bag;
When there is not up-to-date application bag in described download directory, the version information of transmitting terminal is to described server;
The update instruction that terminal reception server returns;
Terminal, according to described update instruction, downloads up-to-date application bag to download directory, and by the version file in the version information of described up-to-date application bag write download directory;
Terminal restarts.
Further, the embodiment of the present invention additionally provides a kind of updating device of application, comprising:
Configuration module, for adding robotization application deployment in advance in terminal, and arrange described robotization dispose be applied as start self-starting;
Whether detection module, when starting for terminal, exist up-to-date application bag at every turn in the download directory of sense terminals;
Communication module, for when there is not up-to-date application bag in described download directory, the version information of transmitting terminal is to described server; The update instruction that terminal reception server returns;
Download module, for according to the update instruction received, downloads up-to-date application bag to download directory, and by the version file in the version information of described up-to-date application bag write download directory; Then terminal restarts.
The embodiment of the present invention by presetting automatic deployment application in terminal, and this automatic deployment is set is applied as start self-starting, thus when making each starting up of terminal, all will run automatic deployment application, when sense terminals having the application bag of renewal, more new opplication automatically.In addition, when there being new application to issue, will send update instruction to each terminal, this terminal, after starting up, downloads corresponding application according to update instruction, to realize the batch updating applied.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of update method first embodiment that the present invention applies;
Fig. 2 is the schematic flow sheet of update method second embodiment that the present invention applies;
Fig. 3 is in the update method applied of the present invention when there is not up-to-date application bag, the schematic flow sheet of the version information of transmitting terminal;
Fig. 4 is the schematic flow sheet of update method the 3rd embodiment that the present invention applies;
Fig. 5 is the structural representation of system first embodiment of the update method application that the present invention applies;
Fig. 6 is the structural representation of system second embodiment of the update method application that the present invention applies;
Fig. 7 is the high-level schematic functional block diagram of updating device first embodiment that the present invention applies;
Fig. 8 is the high-level schematic functional block diagram of updating device second embodiment that the present invention applies;
Fig. 9 is the hardware configuration schematic diagram of the terminal that update method that the present invention applies is run.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Technical scheme of the present invention is further illustrated below in conjunction with Figure of description and specific embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The invention provides a kind of update method of application.As shown in Figure 1, the update method of the application of the present embodiment comprises the following steps:
Step S101, in terminal, add robotization application deployment in advance, and described robotization is set disposes and be applied as starting up's pattern;
These robotization application deployment will be pre-installed in terminal, install with batch with the renewal realizing terminal is applied.Such as, terminal after powering, will communicate with server.If there is new application program, server will issue update instruction to terminal.The terminal receiving update instruction can obtain from server applies bag accordingly, and upgrades it.In addition, be arranged on after in terminal in robotization application deployment, also these robotization application deployment be set to starting up's pattern, make starting up of terminal namely run this robotization application deployment, avoid terminal to miss the renewal opportunity of application.If the operating system of terminal is windows, this robotization is disposed and is applied as autoexec, then added in registration table by this autoexec.If the operating system of terminal is linux, these robotization application deployment are then shell script, then added in rd.local self-starting by this shell script.It should be noted that, the application program that terminal upgrades not only comprises the application program that terminal is installed, and also comprises the application program of terminal system.
When step S102, terminal start, run described robotization application deployment at every turn, in the download directory of sense terminals, whether there is up-to-date application bag;
When starting up of terminal starts, terminal is by initialization terminal hardware device, and start-up loading operating system after initialization success, then starts the application program of each starting up, such as these robotization application deployment successively.After running these robotization application deployment, whether there is up-to-date application bag by the download directory (such as, LocalJarDir) of sense terminals.This application bag refers to the installation file of types of applications program, can show as the form of compressed package.If there is multiple congener application bag in this download directory, then this up-to-date application bag can be judged by the creation-time of application bag, and namely choosing creation-time closest to the application bag of present system time is up-to-date application bag.Download directory is the file that the memory device of terminal creates, for depositing the file that terminal is downloaded from server.This download directory can be one or more, comprises the file giving tacit consent to establishment in the software systems of terminal, or the file created in the down load application of terminal.Due to the limited storage space of this download directory, so download directory can be arranged only store up-to-date download file, or automatically remove download file after setting at set intervals.
Step S103, when there is not up-to-date application bag in described download directory, obtain the version information of terminal;
When there is not this up-to-date application bag in download directory, the version information of each application in terminal will be obtained.The version information that terminal is respectively applied can all be recorded in the version file that terminal stores, as shown in table 1 below.
Application Version information
Application 1 V4.6.0.1805
Application 2 V5.3
... ...
The version information of step S104, transmitting terminal is to described server;
Particularly, this terminal can send heartbeat message to server, and this heartbeat message comprises the version information of terminal.This transmission frequency is preferably 30 minutes once.
The update instruction that step S105, terminal reception server return;
After server receives this version information, the version information that this version information and server prestore is compared, if the application version that sends than terminal of the application version that server prestores number is number high, then send update instruction to terminal.Such as, if the version number of application 1 is V4.6.0.1805, and the version number of this application 1 that server prestores is V4.6.1.025, then this server will send update instruction to terminal.This update instruction comprises file acquisition address and version information etc.Such as " update, XXXX ".
Step S106, terminal, according to described update instruction, download application bag corresponding to described update instruction to download directory, and by the version file in the version information of downloaded application bag write download directory;
Terminal, according to the file acquisition address in update instruction and version number, obtains the application bag corresponding with described version number, is then stored in download directory by this application bag from the designated storage location of server.Meanwhile, also according to the version information upgraded edition presents of the application bag downloaded, and this version file is stored in download directory.Wherein, the version file after renewal is as shown in table 2 below.
Application Version information
Application 1 V4.6.1.025
Application 2 V5.3
... ...
Step S107, terminal restart.
Terminal downloads complete described need the application bag upgraded after, control terminal is restarted, and is back to described step S102 and runs.In the embodiment of the present invention, also by generation one information before step S107, will restart to point out this terminal of user.Waiting when receiving the response instruction of " restarting ", then control terminal restarts.
The embodiment of the present invention by presetting automatic deployment application in terminal, and this automatic deployment is set is applied as start self-starting, thus when making each starting up of terminal, all will run automatic deployment application, when sense terminals having the application bag of renewal, more new opplication automatically.In addition, when there being new application to issue, will send update instruction to each terminal, this terminal, after starting up, downloads corresponding application according to update instruction, to realize the batch updating applied.
Further, as shown in Figure 2, in the update method of above-mentioned application, also comprise: step S108, when there is up-to-date application bag in described download directory, run described up-to-date application bag.
This step S108 specifically comprises:
The application bag of step S1081, backup legacy version, and after having backed up, delete the application bag of legacy version;
The application bag of this legacy version is backed up, in order to avoid original application bag can be recovered when upgrading unsuccessfully.After backup completes, delete the application bag of legacy version.
Step S1082, copy described up-to-date application and wrap and perform catalogue, and after having copied, delete application bag up-to-date described in download directory.
This execution catalogue starts rear performed application package for depositing terminal.Copy obtained up-to-date application bag to execution catalogue, and after having copied, delete application bag up-to-date described in download directory, with releasing memory.
Further, as shown in Figure 3, above-mentioned steps S103 comprises:
Up-to-date version file whether is there is in step S1031, detection download directory;
Search in download directory (such as, LocalJarDir) and whether there is up-to-date version file.If when there is multiple version file in this download directory, then according to the creation-time of version file, obtain up-to-date version file.
Step S1032, when there is up-to-date version file in download directory, described up-to-date version file is copied to execution catalogue;
In order to discharge the storage space of download directory, after successfully up-to-date version file being copied to execution catalogue, the version file in download directory will be deleted.
Step S1033, from described up-to-date version file, read up-to-date version information, and go to step S104;
Step S1034, when there is not up-to-date version file in download directory, go to step S104.
When there is not up-to-date version file in download directory, will the version information of each application in terminal be obtained, and this version information is sent to server.A version file can certainly be created, the version information of each application on storage terminal in terminal.Then terminal is by the version information in the city edition presents in acquisition terminal, and the version information of this acquisition is sent to server.
Further, as shown in Figure 4, the update method of the application of the embodiment of the present invention also comprises:
Step S109, when terminal does not receive update instruction, delete described application and wrap the historical record once performed, start new application bag.
When terminal does not receive update instruction, then represent and do not apply renewal, therefore delete described application and wrap the historic task data once performed, and start new application bag.
Below will with a terminal for example to be to after above-mentioned starting up of terminal startup, the automatic renewal process carrying out applying bag is specifically described.As shown in Figure 5, this terminal by network timing and publisher server communication, so that the version information of application each in terminal is sent to corresponding publisher server.When publisher server finds that this application has new version, then issue update instruction to terminal.Terminal then according to this update instruction, the application bag of automatic acquisition redaction, and this application is upgraded.
Wherein, the operating system of above-mentioned terminal is windows system.Terminal is installed the application such as browser, mailbox, text file reader, game.And in the download directory of terminal, there is not up-to-date application bag and version file.This terminal has installed automatic deployment application, and this automatic deployment application simultaneously is also provided with starting up.Detailed process is as follows:
1) starting up of terminal starts, and starts the operating system;
2) start host process, run automatic deployment application;
3) search in the download directory of terminal and there is no up-to-date application bag and version file;
4) terminal obtains the current version information of local each application, and the version number of such as browser is V5.0.2.710, and the version number of mailbox is V3.2.0.123, and the version number of text file reader is V4.5.0.023, and the version number of game is V6.5.1.206;
5) the current version information of acquisition is sent to server by terminal;
6) version information version information that terminal sent of server and server prestored compares, and returns comparative result; According to comparative result, find only have text reader to have new version;
7) server issues update instruction to terminal, the information that this update instruction comprises " updata, text file reader, V4.5.1.056 ", and the download address of this file;
8) terminal is according to described update instruction, and from server, corresponding download address obtains " text file reader " application bag of respective version number;
9) the application bag of acquisition is stored in the download directory of terminal by terminal, writes in version file by version information simultaneously;
10) terminal is restarted.
After terminal is restarted, terminal is starting up again, and carries out the renewal of applying according to application bag up-to-date in download directory.Detailed process is as follows:
11) terminal starting up again, and start the operating system;
12) start host process, run automatic deployment application;
13) terminal is searched in download directory and be there is up-to-date application bag;
14) terminal is by the application bag of backup legacy version, then this up-to-date application bag is copied to execution catalogue, and after copy completes, deletes this application bag;
15) terminal is searched in download directory and be there is up-to-date version file;
16) this up-to-date version file is copied to execution catalogue by terminal, and after copy completes, deletes this version file;
17) read the version information in this version file, and this version information is sent to server;
18) version information version information that terminal sent of server and server prestored compares, and returns comparative result; According to comparative result, find the redaction not having to apply;
19), when terminal does not receive update instruction, delete to perform in catalogue to apply and wrap the historic task data once performed, and start new application.
Below by with the multiple terminals being positioned at same LAN (Local Area Network) for after example starts above-mentioned starting up of terminal, the automatic renewal process of batch carrying out applying bag is specifically described.As shown in Figure 6, certain machine room has multiple pc, and each PC is all positioned at same LAN (Local Area Network), and all accesses external network by home server.The operating system of each PC is windows system, and PC has all installed the application such as browser, mailbox, text file reader, game.And all there is not up-to-date application bag and version file in the download directory of each PC.On each PC, install automatic deployment application in advance, this automatic deployment application simultaneously is also provided with starting up.Detailed process is as follows:
1) PC starting up, and start the operating system;
2) start host process, run automatic deployment application;
3) search in the download directory of PC and there is no up-to-date application bag and version file;
4) terminal obtains the current version information of local each application, and the version number of such as browser is V5.0.2.710, and the version number of mailbox is V3.2.0.123, and the version number of text file reader is V4.5.0.023, and the version number of game is V6.5.1.206;
5) the current version information of acquisition is sent to home server by PC; Version information by each application after PC start is sent to home server;
6) version information version information that terminal sent of home server and home server prestored compares, and returns comparative result; According to comparative result, find only have text reader to have new version; Timing is carried out communication with each publisher server, to obtain up-to-date version information by this home server;
7) home server issue update instruction to each PC, the information that this update instruction comprises " updata, text file reader, V4.5.1.056 ", and the download address of this file; Each PC and home server are positioned at same LAN (Local Area Network);
8) PC is according to described update instruction, is obtained " text file reader " application bag of respective version number by home server corresponding download address from publisher server;
9) the application bag of acquisition is stored in the download directory of PC by PC, writes in version file by version information simultaneously;
10) PC is restarted.
After PC is restarted, PC is starting up again, and carries out the renewal of applying according to application bag up-to-date in download directory.Detailed process is as follows:
11) PC starting up again, starts the operating system;
12) start host process, run automatic deployment application;
13) terminal is searched in download directory and be there is up-to-date application bag;
14) terminal is by the application bag of backup legacy version, then this up-to-date application bag is copied to execution catalogue, and after copy completes, deletes this application bag;
15) terminal is searched in download directory and be there is up-to-date version file;
16) this up-to-date version file is copied to execution catalogue by terminal, and after copy completes, deletes this version file;
17) read the version information in this version file, and this version information is sent to home server;
18) version information version information that terminal sent of home server and home server prestored compares, and returns comparative result; According to comparative result, find the redaction not having to apply;
19), when PC does not receive update instruction, delete executive routine historic task data, and start new application.
Accordingly, the invention provides a kind of updating device of application.As shown in Figure 7, the updating device of this application comprises:
Configuration module 110, for adding robotization application deployment in advance in terminal, and arrange described robotization dispose be applied as start self-starting;
Whether detection module 120, when starting for terminal, exist up-to-date application bag at every turn in the download directory of sense terminals;
Version information acquisition module 130, for when there is not up-to-date application bag in described download directory, obtains the version information of terminal;
Communication module 140, for the version information extremely described server of transmitting terminal; Also for update instruction that reception server returns;
Update module 150, for according to the update instruction received, downloads up-to-date application bag to download directory, and by the version file in the version information of described up-to-date application bag write download directory; Then terminal restarts.
By configuration module 110, robotization application deployment are arranged in terminal, install with batch with the renewal realizing terminal is applied.Be arranged on after in terminal in robotization application deployment, also these robotization application deployment be set to starting up's pattern, make starting up of terminal namely run this robotization application deployment, avoid terminal to miss the renewal opportunity of application.
When terminal starts, by these robotization application deployment of operation at every turn, then whether detection module 120 exists up-to-date application bag by the download directory (such as, LocalJarDir) of sense terminals.When there is not up-to-date application bag, version information acquisition module 130 will obtain the version information of each application in terminal.Then, this version information is sent to server by communication module 140.After server receives this version information, the version information that this version information and server prestore is compared, if the application version that sends than terminal of the application version that server prestores number is number high, then send update instruction to terminal.This update instruction comprises file acquisition address and version information etc.The update instruction that communication module 140 reception server of terminal issues, and according to the file acquisition address in update instruction and version number, from the designated storage location of server, obtain the application bag corresponding with described version number, then this application bag is stored in download directory.Meanwhile, also according to the version information upgraded edition presents of the application bag downloaded, and this version file is stored in download directory.Control terminal is also restarted by final updating module 150, runs robotization application deployment.Before control terminal is restarted, an information can also be produced, will restart to point out this terminal of user.Waiting when receiving the response instruction of " restarting ", then control terminal restarts.
The embodiment of the present invention by presetting automatic deployment application in terminal, and this automatic deployment is set is applied as start self-starting, thus when making each starting up of terminal, all will run automatic deployment application, when sense terminals having the application bag of renewal, more new opplication automatically.In addition, when there being new application to issue, will send update instruction to each terminal, this terminal, after starting up, downloads corresponding application according to update instruction, to realize the batch updating applied.
Further, as shown in Figure 8, the updating device of this application also comprises:
Running module 160, for when there is up-to-date application bag in described download directory, running described up-to-date application bag.Particularly, described operation module 160 for:
The application bag of backup legacy version, and after having backed up, delete the application bag of legacy version;
Copy described up-to-date application and wrap execution catalogue, and after having copied, delete application bag up-to-date described in download directory.
By the application bag of this legacy version is backed up, in order to avoid original application bag can be recovered when upgrading unsuccessfully.After backup completes, delete the application bag of legacy version.Copy obtained up-to-date application bag to execution catalogue, and after having copied, delete application bag up-to-date described in download directory, with releasing memory.
Further, described detection module 120 also for: detect in download directory whether there is up-to-date version file;
Described operation module 160 also for: when there is up-to-date version file in download directory, described up-to-date version file is copied to execution catalogue;
Described communication module 140 also for: from described up-to-date version file, read up-to-date version information; Described up-to-date version information is sent to described server; When there is not up-to-date version file in download directory, the local version information of transmitting terminal is to described server.
Described detection module 120 also will search in download directory (such as, LocalJarDir) whether there is up-to-date version file.If when there is multiple version file in this download directory, then according to the creation-time of version file, obtain up-to-date version file.When there is up-to-date version file in download directory, this up-to-date version file is also copied to execution catalogue by described operation module 160.In order to discharge the storage space of download directory, after successfully up-to-date version file being copied to execution catalogue, the version file in download directory will be deleted.When there is not up-to-date version file in download directory, will the version information of each application in terminal be obtained, and this version information is sent to server.A version file can certainly be created, the version information of each application on storage terminal in terminal.Then terminal is by the version information in the city edition presents in acquisition terminal, and the version information of this acquisition is sent to server.
Further, described operation module 160 also for: when terminal does not receive update instruction, delete legacy version apply the historical record of executing the task, start new application.
As shown in Figure 9, the update method institute of the present invention's application is proposed.In this embodiment, this intermediate server comprises: processor 101, storer 102, user interface 103, network interface 104 and communication bus 105.Communication bus 105 is for the communication between building block each in home server, and user interface 103 is for receiving the information of user's input, and this user interface can be wireline interface and wave point, such as keyboard, mouse etc.Network interface 104 communicates mutually with outside for authentication server, and this network interface also can include line interface and wave point.Storer 102 can comprise one or more computer-readable recording mediums, and it not only comprises internal storage, also comprises external memory storage.Operating system and automatic updating application program etc. is stored in this storer.Processor 101 for calling the automatic updating application program in storer 102, to perform following operation:
Automation application deployment are received from by user interface 103;
In terminal, add robotization application deployment in advance, and arrange described robotization dispose be applied as starting up's pattern;
Started by user interface 103 control terminal;
Terminal starts, and runs described robotization application deployment, whether there is up-to-date application bag in the download directory of sense terminals;
When there is not up-to-date application bag in described download directory, obtain the version information of terminal;
By the version information extremely described server of network interface 104 transmitting terminal;
By the update instruction that network interface 104 reception server returns;
Respond described update instruction, download application bag corresponding to described update instruction to download directory, and by the version file in the version information of downloaded application bag write download directory;
Control terminal restarts.
The embodiment of the present invention by presetting automatic deployment application in terminal, and this automatic deployment is set is applied as start self-starting, thus when making each starting up of terminal, all will run automatic deployment application, when sense terminals having the application bag of renewal, more new opplication automatically.In addition, when there being new application to issue, will send update instruction to each terminal, this terminal, after starting up, downloads corresponding application according to update instruction, to realize the batch updating applied.
Further, above-mentioned processor 101, for calling the automatic updating application program in storer 102, also will perform following operation:
When there is up-to-date application bag in described download directory, run described up-to-date application bag.
Further, above-mentioned processor 101, for calling the automatic updating application program in storer 102, also will perform following operation:
When terminal does not receive update instruction, delete the historical record of executing the task of legacy version application bag, start new application bag.
The foregoing is only the preferred embodiments of the present invention; not thereby its scope of the claims is limited; every utilize instructions of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; directly or indirectly be used in the technical field that other are relevant, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. a update method for application, is characterized in that, comprise the following steps:
In terminal, add robotization application deployment in advance, and arrange described robotization dispose be applied as start self-starting;
When terminal starts, run described robotization application deployment at every turn, in the download directory of sense terminals, whether there is up-to-date application bag;
When there is not up-to-date application bag in described download directory, the version information of transmitting terminal is to described server;
The update instruction that terminal reception server returns;
Terminal, according to described update instruction, downloads up-to-date application bag to download directory, and by the version file in the version information of described up-to-date application bag write download directory;
Terminal restarts.
2. the update method of application as claimed in claim 1, is characterized in that, also comprise:
When there is up-to-date application bag in described download directory, run described up-to-date application bag.
3. the update method of application as claimed in claim 2, is characterized in that, described operation application handbag is drawn together:
The application bag of backup legacy version, and after having backed up, delete the application bag of legacy version;
Copy described up-to-date application and wrap execution catalogue, and after having copied, delete application bag up-to-date described in download directory.
4. the update method of application as claimed in claim 3, is characterized in that, described when there is not up-to-date application bag in download directory, and version information to the described server of transmitting terminal comprises:
Detect in download directory and whether there is up-to-date version file;
When there is up-to-date version file in download directory, described up-to-date version file is copied to execution catalogue;
From described up-to-date version file, read up-to-date version information, and described up-to-date version information is sent to described server;
When there is not up-to-date version file in download directory, the local version information of transmitting terminal is to described server.
5. the update method of the application as described in any one of claim 1-4, is characterized in that, also comprises:
When terminal does not receive update instruction, delete described application and wrap the historical record once performed, start new application bag.
6. a updating device for application, is characterized in that, comprising:
Configuration module, for adding robotization application deployment in advance in terminal, and arrange described robotization dispose be applied as start self-starting;
Whether detection module, when starting for terminal, exist up-to-date application bag at every turn in the download directory of sense terminals;
Communication module, for when there is not up-to-date application bag in described download directory, the version information of transmitting terminal is to described server; The update instruction that terminal reception server returns;
Download module, for according to the update instruction received, downloads up-to-date application bag to download directory, and by the version file in the version information of described up-to-date application bag write download directory; Then terminal restarts.
7. the updating device of application as claimed in claim 6, is characterized in that, also comprise:
Running module, for when there is up-to-date application bag in described download directory, running described up-to-date application bag.
8. the updating device of application as claimed in claim 7, it is characterized in that, described operation module is used for:
The application bag of backup legacy version, and after having backed up, delete the application bag of legacy version;
Copy described up-to-date application and wrap execution catalogue, and after having copied, delete application bag up-to-date described in download directory.
9. the updating device of application according to claim 8, is characterized in that, described detection module also for: detect in download directory whether there is up-to-date version file;
Described operation module also for: when there is up-to-date version file in download directory, described up-to-date version file is copied to execution catalogue;
Version information read module, for reading up-to-date version information from described up-to-date version file;
Described communication module also for: described up-to-date version information is sent to described server; When there is not up-to-date version file in download directory, the local version information of transmitting terminal is to described server.
10. the updating device of the application as described in any one of claim 6-9, is characterized in that, described operation module also for: when terminal does not receive update instruction, delete described application and wrap the historical record once performed, start new application.
CN201410149152.8A 2014-04-14 2014-04-14 The update method and device of application Active CN104978209B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410149152.8A CN104978209B (en) 2014-04-14 2014-04-14 The update method and device of application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410149152.8A CN104978209B (en) 2014-04-14 2014-04-14 The update method and device of application

Publications (2)

Publication Number Publication Date
CN104978209A true CN104978209A (en) 2015-10-14
CN104978209B CN104978209B (en) 2019-06-14

Family

ID=54274747

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410149152.8A Active CN104978209B (en) 2014-04-14 2014-04-14 The update method and device of application

Country Status (1)

Country Link
CN (1) CN104978209B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105975298A (en) * 2016-04-29 2016-09-28 福建联迪商用设备有限公司 Method and system for remotely controlling applications of Android terminal
CN106293724A (en) * 2016-08-04 2017-01-04 北京白鹭时代信息技术有限公司 A kind of many game managements and edition control method and device
CN107357613A (en) * 2017-06-28 2017-11-17 广州酷狗计算机科技有限公司 Using update method, device and computer-readable recording medium
CN108574659A (en) * 2017-03-08 2018-09-25 海马云(天津)信息技术有限公司 Cloud system applies newer method and apparatus
CN109558151A (en) * 2018-10-12 2019-04-02 上海金大师网络科技有限公司 Oftware updating method and system
CN109814908A (en) * 2019-01-17 2019-05-28 深圳忆联信息系统有限公司 Firmware stablizes method, apparatus, computer equipment and the storage medium of upgrading
WO2020010965A1 (en) * 2018-07-10 2020-01-16 奇酷互联网络科技(深圳)有限公司 Mobile terminal, and method and device for updating application thereof
CN111988155A (en) * 2019-05-22 2020-11-24 烽火通信科技股份有限公司 Method and system for synchronizing configuration between main frame and standby frame of cluster equipment
CN111988750A (en) * 2020-08-20 2020-11-24 多点(深圳)数字科技有限公司 Method for downloading application package through local area network in supermarket
CN114765771A (en) * 2021-01-08 2022-07-19 展讯通信(上海)有限公司 Model updating method and device, storage medium, terminal and network side equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103136027A (en) * 2013-03-01 2013-06-05 畅捷通信息技术股份有限公司 Immediate updating device and immediate updating method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103136027A (en) * 2013-03-01 2013-06-05 畅捷通信息技术股份有限公司 Immediate updating device and immediate updating method

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105975298A (en) * 2016-04-29 2016-09-28 福建联迪商用设备有限公司 Method and system for remotely controlling applications of Android terminal
CN106293724A (en) * 2016-08-04 2017-01-04 北京白鹭时代信息技术有限公司 A kind of many game managements and edition control method and device
CN108574659A (en) * 2017-03-08 2018-09-25 海马云(天津)信息技术有限公司 Cloud system applies newer method and apparatus
CN108574659B (en) * 2017-03-08 2021-01-26 海马云(天津)信息技术有限公司 Method and device for updating cloud system application
CN107357613A (en) * 2017-06-28 2017-11-17 广州酷狗计算机科技有限公司 Using update method, device and computer-readable recording medium
CN107357613B (en) * 2017-06-28 2020-09-04 广州酷狗计算机科技有限公司 Application updating method and device and computer readable storage medium
WO2020010965A1 (en) * 2018-07-10 2020-01-16 奇酷互联网络科技(深圳)有限公司 Mobile terminal, and method and device for updating application thereof
CN109558151A (en) * 2018-10-12 2019-04-02 上海金大师网络科技有限公司 Oftware updating method and system
CN109814908A (en) * 2019-01-17 2019-05-28 深圳忆联信息系统有限公司 Firmware stablizes method, apparatus, computer equipment and the storage medium of upgrading
CN111988155A (en) * 2019-05-22 2020-11-24 烽火通信科技股份有限公司 Method and system for synchronizing configuration between main frame and standby frame of cluster equipment
CN111988750A (en) * 2020-08-20 2020-11-24 多点(深圳)数字科技有限公司 Method for downloading application package through local area network in supermarket
CN111988750B (en) * 2020-08-20 2023-06-13 多点(深圳)数字科技有限公司 Method for downloading application package through local area network in supermarket
CN114765771A (en) * 2021-01-08 2022-07-19 展讯通信(上海)有限公司 Model updating method and device, storage medium, terminal and network side equipment

Also Published As

Publication number Publication date
CN104978209B (en) 2019-06-14

Similar Documents

Publication Publication Date Title
CN104978209A (en) Application updating method and application updating device
CN101719073B (en) Intelligent client-based on-demand downloading realization method
US9584612B2 (en) Systems and methods for pushing applications
CN108121559B (en) Configuration file pushing method, server and storage medium
CN102262544A (en) Method and device for upgrading software
CN102591679A (en) Quick application software arrangement method for cluster system
CN106657433B (en) Naming method and device for physical network card in multi-network snap ring environment
CN106371819B (en) Parameter acquisition method and device and electronic equipment
CN103164247B (en) The method and device that system application is repaired automatically
CN103200271A (en) Advanced Risc machine (ARM) server and method of automatic installation system thereof
CN112162795B (en) Plug-in starting method and device, computer equipment and storage medium
CN106886422A (en) Method for upgrading software and device, electronic equipment
CN102722439A (en) Method, device and system for improving running stability of FLASH assembly
CN112615747B (en) Method and device for automatically deploying and configuring network equipment
CN110824948A (en) Intelligent household control method and device based on IOT virtual service
CN103840968A (en) Version updating method, version updating device and terminal equipment
CN108021409B (en) APP service scenario restoration method and system
CN115421764A (en) Method, device, equipment and storage medium for identifying module to be upgraded
CN108459868A (en) A kind of software start-up method, device, terminal and storage medium
US20170199733A1 (en) Method for terminal to update operating system, terminal and system
CN106293790B (en) application program upgrading method and device based on Firefox operating system
CN104077168A (en) Method and device for updating operation systems for terminal
CN108595292B (en) System optimization method, mobile terminal and computer storage medium
CN104516743A (en) Upgrading method and system of embedded device firmware based on ActiveX
CN110806888A (en) Application program upgrading method and device and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant