CN104978209B - The update method and device of application - Google Patents

The update method and device of application Download PDF

Info

Publication number
CN104978209B
CN104978209B CN201410149152.8A CN201410149152A CN104978209B CN 104978209 B CN104978209 B CN 104978209B CN 201410149152 A CN201410149152 A CN 201410149152A CN 104978209 B CN104978209 B CN 104978209B
Authority
CN
China
Prior art keywords
application
terminal
newest
version
packet
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.)
Active
Application number
CN201410149152.8A
Other languages
Chinese (zh)
Other versions
CN104978209A (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

Landscapes

  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention discloses a kind of update method of application, comprising the following steps: automatically dispose application is added at the terminal in advance, when terminal booting, by the automatic running automatically dispose application.After operation, so that terminal is communicated with server, to obtain newest application packet.When terminal is restarted, it can be realized and automatically update.In addition, server publication it is new in application, issue more new command to each terminal, when so that terminal starting, can download automatically according to more new command and update application.Invention additionally discloses a kind of updating devices of application.The present invention realizes automatically updating for application, while also achieving the batch deployment of application.

Description

The update method and device of application
Technical field
The present invention relates to the update methods and device of network technique field, more particularly to application.
Background technique
With the development of modern software, people are gradually, it is realized that software is service, rather than just a product.Therefore Software development commercial city is satisfied for objective with user for the purpose of servicing user, needs to constantly update software.
Existing software upgrading is all manually to go to dispose.Publication new procedures every time require to stop corresponding clothes manually Business, and clear up historical record.Then copy new procedures are to terminal to be updated, and start the new procedures in terminal.When disposing Terminal it is more when, require manually to go to operate one by one, cost will be taken a substantial amount of time.
Summary of the invention
The main purpose of the embodiment of the present invention is to provide the update method and device of a kind of application, it is intended to realize oneself of application It is dynamic to update, while also achieving the batch deployment of application.
To achieve the above object, the embodiment of the invention provides a kind of update methods of application, comprising the following steps:
It adds automatically dispose application at the terminal in advance, and the automatically dispose is set and is applied as booting self-starting;
When terminal starts every time, the automatically dispose application is run, is detected in the download directory of terminal with the presence or absence of most New application packet;
When newest application packet is not present in the download directory, the version information of terminal is sent to the server;
Terminal receives the more new command that server returns;
Terminal downloads newest application packet to download directory according to the more new command, and by the newest application packet Version information write-in download directory in version file in;
Terminal restarting.
Further, the embodiment of the invention also provides a kind of updating devices of application, comprising:
For adding automatically dispose application at the terminal in advance, and the automatically dispose application is arranged in configuration module For the self-starting that is switched on;
Detection module when starting every time for terminal, detects in the download directory of terminal with the presence or absence of newest application packet;
Communication module, for sending the version information of terminal when newest application packet is not present in the download directory To the server;Terminal receives the more new command that server returns;
Download module, for according to the more new command that receives, downloading newest application packet to download directory, and will be described In version file in the version information write-in download directory of newest application packet;Then terminal restarts.
The embodiment of the present invention passes through presets automatic deployment application at the terminal, and the automatic deployment is arranged and applies as booting certainly Starting detects the application packet for having update in terminal so that will all run automatic deployment application when each starting up of terminal When, automatically update application.In addition, when there is new application publication more new command will be sent to each terminal, which opens in booting After dynamic, corresponding application is downloaded according to more new command, to realize the batch updating of application.
Detailed description of the invention
Fig. 1 is the flow diagram for the update method first embodiment that the present invention applies;
Fig. 2 is the flow diagram for the update method second embodiment that the present invention applies;
Fig. 3 is in the update method applied of the present invention when sending the version information of terminal there is no when newest application packet Flow diagram;
Fig. 4 is the flow diagram for the update method 3rd embodiment that the present invention applies;
Fig. 5 is the structural schematic diagram of the system first embodiment for the update method application that the present invention applies;
Fig. 6 is the structural schematic diagram of the system second embodiment for the update method application that the present invention applies;
Fig. 7 is the functional block diagram for the updating device first embodiment that the present invention applies;
Fig. 8 is the functional block diagram for the updating device second embodiment that the present invention applies;
Fig. 9 is the hardware structural diagram for the terminal that the update method that the present invention applies is run.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
Technical solution of the present invention is further illustrated with reference to the accompanying drawings and specific embodiments of the specification.It should be appreciated that this Locate described specific embodiment to be only used to explain the present invention, be not intended to limit the present invention.
The present invention provides a kind of update methods of application.As shown in Figure 1, the update method of the application of the present embodiment includes Following steps:
Step S101, it adds automatically dispose application at the terminal in advance, and the automatically dispose is set and is applied to open Machine start-up mode;
The automatically dispose application will be pre-installed in terminal, to realize that the update applied in terminal and batch are installed. For example, terminal is after powering, will be communicated with server.If there is new application program, server will issue update to terminal Instruction.The terminal for receiving more new command can obtain corresponding application packet from server, and be updated to it.In addition, certainly After dynamicization application deployment installation at the terminal, booting start-up mode also is set by the automatically dispose application, so that terminal is opened Machine runs the automatically dispose application, and terminal is avoided to miss the update opportunity of application.If the operating system of terminal is Windows, it is autoexec which, which applies, then the autoexec is added in registration table.If the behaviour of terminal It is linux as system, automatically dispose application is then shell script, then rd.local self-starting is added in the shell script In.It should be noted that the application program updated at the terminal not only includes the application program installed in terminal, it also include terminal Systematic difference program.
Step S102, when terminal starts every time, the automatically dispose application is run, detecting in the download directory of terminal is It is no that there are newest application packets;
As terminal starting up, terminal is by initialization terminal hardware device, start-up loading operation system after initializing successfully System, then successively starts the application program of each starting up, such as the automatically dispose application.The automatically dispose is run to answer With rear, will test in the download directory (for example, LocalJarDir) of terminal with the presence or absence of newest application packet.The application is wrapped The installation file for referring to types of applications program, can show as the form of compressed package.If there are multiple same types in the download directory Application packet, then the newest application packet can judge that i.e. selection creation time is closest by the creation time of application packet The application packet of present system time is newest application packet.Download directory is the file that creates in the storage equipment of terminal, The file downloaded from a server for storing terminal.The download directory can be for one or more, the software system including terminal The file created in the file of creation or the downloading application of terminal is defaulted in system.Since the storage of the download directory is empty Between it is limited, so settable download directory only stores newest downloading file, or automatic after setting at regular intervals remove Download file.
Step S103, when newest application packet is not present in the download directory, the version information of terminal is obtained;
When the newest application packet is not present in download directory, the version information respectively applied in terminal will acquire.Terminal The version information respectively applied can record in the version file stored at the terminal, as shown in table 1 below.
Using Version information
Using 1 V4.6.0.1805
Using 2 V5.3
... ...
Step S104, the version information of terminal is sent to the server;
Specifically, which can send heartbeat message to server, which includes the version information of terminal.It should Sending frequency is preferably 30 minutes primary.
Step S105, terminal receives the more new command that server returns;
After server receives the version information, the version information prestored on the version information and server is compared Compared with sending more new command to terminal if the application version number prestored on server is higher than the application version number that terminal is sent.Example Such as, if using 1 version number be V4.6.0.1805, and prestored on server this using 1 version number be V4.6.1.025, Then the server will send more new command to terminal.It include file acquisition address and version information etc. in the more new command.Example Such as " update, XXXX ".
Step S106, terminal more new command according to, the downloading corresponding application packet of more new command to download directory, And it will be in the version file in the version information write-in download directory for the application packet that downloaded;
Terminal according in more new command file acquisition address and version number, obtained from the designated storage location of server Then application packet corresponding with the version number stores application packet into download directory.Meanwhile also according to the application of downloading The version information of packet more new edition file, and the version file is stored in download directory.Wherein, updated version file As shown in table 2 below.
Using Version information
Using 1 V4.6.1.025
Using 2 V5.3
... ...
Step S107, terminal restarts.
After the complete application packet for needing to update of terminal downloads, controlling terminal is restarted, and be back to the step S102 operation.In the embodiment of the present invention, a prompt information will be also generated, before step S107 to prompt user's terminal that will weigh New starting.When the response instruction waiting for receiving " restarting ", then controlling terminal restarting.
The embodiment of the present invention passes through presets automatic deployment application at the terminal, and the automatic deployment is arranged and applies as booting certainly Starting detects the application packet for having update in terminal so that will all run automatic deployment application when each starting up of terminal When, automatically update application.In addition, when there is new application publication more new command will be sent to each terminal, which opens in booting After dynamic, corresponding application is downloaded according to more new command, to realize the batch updating of application.
Further, as shown in Fig. 2, in the update method of above-mentioned application, further includes: step S108, when the downloading mesh There are when newest application packet in record, the newest application packet is run.
Step S108 is specifically included:
Step S1081, the application packet of backup legacy version, and the application of deletion legacy version is wrapped after the completion of backup;
By the application packet backup of the legacy version, in order to avoid update the application packet that can restore original when failure.It is completed in backup Afterwards, the application packet of legacy version is deleted.
Step S1082, the newest application packet is copied to delete in download directory to execution catalogue, and after the completion of copy The newest application packet.
The execution catalogue is used to store application package performed after terminal starts.By acquired newest application packet It copies execution catalogue to, and deletes newest application packet described in download directory after the completion of copy, with releasing memory.
Further, as shown in figure 3, above-mentioned steps S103 includes:
Step S1031, detecting whether there is newest version file in download directory;
It searches and whether there is newest version file in download directory (for example, LocalJarDir).If in the download directory There are when multiple version files, then according to the creation time of version file, newest version file is obtained.
Step S1032, when, there are when newest version file, the newest version file being copied in download directory Execute catalogue;
It, will after newest version file to be successfully copied to execution catalogue in order to discharge the memory space of download directory Delete the version file in download directory.
Step S1033, newest version information is read from the newest version file, and goes to step S104;
Step S1034, when newest version file is not present in download directory, S104 is gone to step.
When newest version file is not present in download directory, the version information respectively applied in terminal will acquire, and will The version information is sent to server.A version file can certainly be created at the terminal, respectively applied in terminal for storing Version information.Then terminal will acquire the version information in the local version file in terminal, and the version of the acquisition is believed Breath is sent to server.
Further, as shown in figure 4, the update method of the application of the embodiment of the present invention further include:
Step S109, it when terminal does not receive more new command, deletes the application and wraps the historical record once executed, The new application packet of starting.
When terminal does not receive more new command, then it represents that application does not update, therefore the deletion application is wrapped and once held Capable historic task data, and start new application packet.
Below will using a terminal as example to above-mentioned terminal starting up after, carry out using packet automatically update process progress It specifically describes.As shown in figure 5, the terminal is communicated by network timing and publisher server, the version that will respectively be applied in terminal Information is sent to corresponding publisher server.When publisher server finds that the application with new version, then issues more new command To terminal.Terminal is updated the application then according to the more new command, the automatic application packet for obtaining new version.
Wherein, the operating system of above-mentioned terminal is windows system.Browser, mailbox, text reading are mounted in terminal The application such as device, game.And newest application packet and version file are not present in the download directory of terminal.It is mounted in the terminal Automatic deployment application, while the automatic deployment application is additionally provided with starting up.Detailed process is as follows:
1) terminal starting up, and start-up operation system;
2) start host process, run automatic deployment application;
3) searching in the download directory of terminal does not have newest application packet and version file;
4) terminal obtains the local current version information respectively applied, such as the version number of browser is V5.0.2.710, 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 that terminal will acquire is sent to server;
6) version information prestored on version information and server that terminal is sent is compared by server, and return is compared As a result;According to comparison result, discovery, which only has text reader, new version;
7) server issues more new command to terminal, the more new command include " updata, text file reader, The prompt information of V4.5.1.056 " and the download address of this document;
8) terminal obtains the " text of respective version number according to the more new command from download address corresponding in server This reader " application packet;
9) what terminal will acquire stores using packet into the download directory of terminal, while version file is written in version information In;
10) terminal is restarted.
After terminal is restarted, terminal turns back on starting, and is applied more according to application packet newest in download directory Newly.Detailed process is as follows:
11) terminal starting up, and start-up operation system again;
12) start host process, run automatic deployment application;
13) there are newest application packets in terminal lookup download directory;
14) terminal wraps the application for backing up legacy version, the newest application packet is then copied to execution catalogue, and copying After the completion of shellfish, application packet is deleted;
15) there are newest version files in terminal lookup download directory;
16) the newest version file is copied to execution catalogue by terminal, and after the completion of copy, deletes version text Part;
17) version information in the version file is read, and the version information is sent to server;
18) version information prestored on version information and server that terminal is sent is compared by server, returns to ratio Relatively result;According to comparison result, the new version that do not apply is found;
19) it when terminal does not receive more new command, deletes to execute to apply in catalogue and wraps the historic task number once executed According to, and start new application.
Below by using be located at same local area network multiple terminals be example to above-mentioned terminal starting up after, carry out using wrap Batch automatically updates process and is specifically described.As shown in fig. 6, certain computer room has multiple pc, each PC is respectively positioned on same local area network It is interior, and external network is accessed by local server.The operating system of each PC is windows system, and is respectively mounted on PC The application such as browser, mailbox, text file reader, game.And newest application packet is not present in the download directory of each PC And version file.Automatic deployment application is installed on each PC in advance, while the automatic deployment application is additionally provided with starting up.Tool Body process is as follows:
1) PC starting up, and start-up operation system;
2) start host process, run automatic deployment application;
3) searching in the download directory of PC does not have newest application packet and version file;
4) terminal obtains the local current version information respectively applied, such as the version number of browser is V5.0.2.710, 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 that PC will acquire is sent to local server;The version information that will be respectively applied after PC booting It is sent to local server;
6) version information prestored on version information and local server that terminal is sent is compared by local server, Return to comparison result;According to comparison result, discovery, which only has text reader, new version;The local server will timing with Each publisher server is communicated, to obtain newest version information;
7) local server issue more new command to each PC, the more new command include " updata, text file reader, The prompt information of V4.5.1.056 " and the download address of this document;Each PC and local server are located at same local area network;
8) PC is obtained from download address corresponding in publisher server according to the more new command by local server " text file reader " application packet of respective version number;
9) what PC will acquire stores using packet into the download directory of PC, while version information being written in version file;
10) PC is restarted.
After PC is restarted, PC turns back on starting, and the update applied according to application packet newest in download directory.Tool Body process is as follows:
11) PC starting up again, start-up operation system;
12) start host process, run automatic deployment application;
13) there are newest application packets in terminal lookup download directory;
14) terminal wraps the application for backing up legacy version, the newest application packet is then copied to execution catalogue, and copying After the completion of shellfish, application packet is deleted;
15) there are newest version files in terminal lookup download directory;
16) the newest version file is copied to execution catalogue by terminal, and after the completion of copy, deletes version text Part;
17) version information in the version file is read, and the version information is sent to local server;
18) local server compares the version information prestored on version information and local server that terminal is sent Compared with return comparison result;According to comparison result, the new version that do not apply is found;
19) it when PC does not receive more new command, deletes and executes program historic task data, and start new application.
Accordingly, the present invention provides a kind of updating devices of application.As shown in fig. 7, the updating device of the application includes:
Configuration module 110 for adding automatically dispose application at the terminal in advance, and is arranged the automatically dispose and answers With for be switched on self-starting;
Detection module 120 when starting every time for terminal, detects in the download directory of terminal with the presence or absence of newest application Packet;
Version information obtains module 130, for obtaining terminal when newest application packet is not present in the download directory Version information;
Communication module 140, for sending the version information of terminal to the server;It is also used to receive server return More new command;
Update module 150, for according to the more new command that receives, downloading newest application packet to download directory, and will In version file in the version information write-in download directory of the newest application packet;Then terminal restarts.
By configuration module 110 by automatically dispose application installation at the terminal, with realize the update applied in terminal and Batch is installed.After automatically dispose application installation at the terminal, starting up's mould also is set by the automatically dispose application Formula avoids terminal from missing the update opportunity of application so that terminal booting runs the automatically dispose application.
When terminal starts every time, the automatically dispose application will be run, then detection module 120 will test the downloading of terminal It whether there is newest application packet in catalogue (for example, LocalJarDir).When newest application packet is not present, version information Obtaining module 130 will acquire the version information respectively applied in terminal.Then, which is sent to clothes by communication module 140 Business device.After server receives the version information, the version information prestored on the version information and server is compared, if The application version number prestored on server is higher than the application version number that terminal is sent, then sends more new command to terminal.The update It include file acquisition address and version information etc. in instruction.The communication module 140 of terminal receives the update that server issues and refers to Enable, and according in more new command file acquisition address and version number, from the designated storage location of server obtain with it is described Then the corresponding application packet of version number stores application packet into download directory.Meanwhile the version of the application packet also according to downloading This information update version file, and the version file is stored in download directory.Final updating module 150 is also by controlling terminal Restart, runs automatically dispose application.Before controlling terminal is restarted, a prompt information can also be generated, to prompt user should Terminal will restart.When the response instruction waiting for receiving " restarting ", then controlling terminal restarting.
The embodiment of the present invention passes through presets automatic deployment application at the terminal, and the automatic deployment is arranged and applies as booting certainly Starting detects the application packet for having update in terminal so that will all run automatic deployment application when each starting up of terminal When, automatically update application.In addition, when there is new application publication more new command will be sent to each terminal, which opens in booting After dynamic, corresponding application is downloaded according to more new command, to realize the batch updating of application.
Further, as shown in figure 8, the updating device of the application further include:
Module 160 is run, for when there are when newest application packet, running the newest application in the download directory Packet.Specifically, the operation module 160 is used for:
The application packet of backup legacy version, and the application of deletion legacy version is wrapped after the completion of backup;
The newest application packet is copied to execution catalogue, and newest described in deletion download directory after the completion of copy Using packet.
By the way that the application packet of the legacy version is backed up, in order to avoid update the application packet that can restore original when failure.It is backing up After the completion, the application packet of legacy version is deleted.Copy acquired newest application packet to execution catalogue, and after the completion of copy Newest application packet described in download directory is deleted, with releasing memory.
Further, the detection module 120 is also used to: whether there is newest version file in detection download directory;
The operation module 160 is also used to: when in download directory there are when newest version file, by the newest version This document is copied to execution catalogue;
The communication module 140 is also used to: reading newest version information from the newest version file;It will be described Newest version information is sent to the server;When newest version file is not present in download directory, terminal is sent Local version information is to the server.
The detection module 120, which will also be searched, whether there is newest version in download directory (for example, LocalJarDir) File.If, according to the creation time of version file, obtaining newest version there are when multiple version files in the download directory File.When, there are when newest version file, the operation module 160 also copies the newest version file in download directory To execution catalogue.In order to discharge the memory space of download directory, after newest version file to be successfully copied to execution catalogue, The version file in download directory will be deleted.When newest version file is not present in download directory, will acquire each in terminal The version information of application, and the version information is sent to server.A version file can certainly be created at the terminal, used In the version information respectively applied in storage terminal.Then terminal will acquire the version information in the local version file in terminal, And the version information of the acquisition is sent to server.
Further, the operation module 160 is also used to: when terminal does not receive more new command, being deleted legacy version and is answered With the historical record of the task of execution, start new application.
As shown in figure 9, proposing the update method institute that the present invention applies.In the embodiment, which includes: processing Device 101, memory 102, user interface 103, network interface 104 and communication bus 105.Communication bus 105 is used for local service Communication in device between each building block, user interface 103 are used to receive the information of user's input, which can be to have Line interface and wireless interface, such as keyboard, mouse etc..Network interface 104 is communicated with each other for authentication server with outside, The network interface also may include wireline interface and wireless interface.Memory 102 may include one or more computers Readable storage medium storing program for executing, and it not only includes internal storage, further includes external memory.Operation system is stored in the memory System and automatic updating application program etc..Processor 101 is used to call the automatic updating application program in memory 102, to hold The following operation of row:
Automation application deployment are received by user interface 103;
It adds automatically dispose application at the terminal in advance, and the automatically dispose is set and is applied as starting up's mould Formula;
Started by 103 controlling terminal of user interface;
Terminal starting, and the automatically dispose application is run, it detects in the download directory of terminal with the presence or absence of newest Using packet;
When newest application packet is not present in the download directory, the version information of terminal is obtained;
The version information of terminal is sent to the server by network interface 104;
The more new command that server returns is received by network interface 104;
It the more new command is responded, downloads the corresponding application packet of more new command to download directory, and will be downloaded Using in the version file in the version information write-in download directory of packet;
Controlling terminal restarting.
The embodiment of the present invention passes through presets automatic deployment application at the terminal, and the automatic deployment is arranged and applies as booting certainly Starting detects the application packet for having update in terminal so that will all run automatic deployment application when each starting up of terminal When, automatically update application.In addition, when there is new application publication more new command will be sent to each terminal, which opens in booting After dynamic, corresponding application is downloaded according to more new command, to realize the batch updating of application.
Further, above-mentioned processor 101 is used to call the automatic updating application program in memory 102, will also execute It operates below:
When there are when newest application packet, running the newest application packet in the download directory.
Further, above-mentioned processor 101 is used to call the automatic updating application program in memory 102, will also execute It operates below:
When terminal does not receive more new command, the historical record of the execution task of legacy version application packet is deleted, starting is new Application packet.
The above description is only a preferred embodiment of the present invention, is not intended to limit its scope of the patents, all to utilize the present invention Equivalent structure or equivalent flow shift made by specification and accompanying drawing content is directly or indirectly used in other relevant technology necks Domain is included within the scope of the present invention.

Claims (10)

1. a kind of update method of application, which is characterized in that it is the terminal of windows or Linux system applied to operating system, The following steps are included:
It adds automatically dispose application at the terminal in advance, and the automatically dispose is set and is applied as booting self-starting;
When terminal starts every time, the automatically dispose application is run, is detected in the download directory of terminal with the presence or absence of newest Using packet;
When newest application packet is not present in the download directory, the version information of terminal is sent to the server;
Terminal receives the more new command that server returns, and includes file acquisition address and version information in the more new command;
Terminal according in the more new command file acquisition address and version information, download newest application packet to downloading mesh Record, and the version information of the newest application packet is written in the version file in download directory;
Terminal restarting.
2. the update method applied as described in claim 1, which is characterized in that further include:
When there are when newest application packet, running the newest application packet in the download directory.
3. the update method applied as claimed in claim 2, which is characterized in that the operation, which is applied, includes:
The application packet of backup legacy version, and the application of deletion legacy version is wrapped after the completion of backup;
The newest application packet is copied to execution catalogue, and deletes newest application described in download directory after the completion of copy Packet.
4. the update method applied as claimed in claim 3, which is characterized in that described when there is no newest in download directory When using packet, version information to the server for sending terminal includes:
It detects and whether there is newest version file in download directory;
When, there are when newest version file, the newest version file being copied to execution catalogue in download directory;
It reads newest version information from the newest version file, and the newest version information is sent to described Server;
When newest version file is not present in download directory, the local version information of terminal is sent to the server.
5. the update method of application according to any one of claims 1-4, which is characterized in that further include:
When terminal does not receive more new command, deletes the application and wrap the historical record once executed, start new application Packet.
6. a kind of updating device of application, which is characterized in that it is the terminal of windows or Linux system applied to operating system, Include:
Configuration module for adding automatically dispose application at the terminal in advance, and is arranged the automatically dispose and applies to open Machine self-starting;
Detection module when starting every time for terminal, detects in the download directory of terminal with the presence or absence of newest application packet;
Communication module, for when newest application packet is not present in the download directory, sending the version information of terminal to institute State server;Terminal receives the more new command that server returns, and includes that file acquisition address and version are believed in the more new command Breath;
Download module, for according in the more new command that receives file acquisition address and version information, download newest answers With packet to download directory, and the version information of the newest application packet is written in the version file in download directory;Then Terminal restarting.
7. the updating device applied as claimed in claim 6, which is characterized in that further include:
Module is run, for when there are when newest application packet, running the newest application packet in the download directory.
8. updating device the use as claimed in claim 7, which is characterized in that the operation module is used for:
The application packet of backup legacy version, and the application of deletion legacy version is wrapped after the completion of backup;
The newest application packet is copied to execution catalogue, and deletes newest application described in download directory after the completion of copy Packet.
9. the updating device of application according to claim 8, which is characterized in that the detection module is also used to: under detection It carries and whether there is newest version file in catalogue;
The operation module is also used to: when in download directory there are when newest version file, by the newest version file It is copied to execution catalogue;
Version information read module, for reading newest version information from the newest version file;
The communication module is also used to: the newest version information is sent to the server;When not deposited in download directory In newest version file, the local version information of terminal is sent to the server.
10. the updating device of application as claim in any one of claims 6-9, which is characterized in that the operation module is also used to: When terminal does not receive more new command, deletes the application and wrap the historical record once executed, 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 CN104978209A (en) 2015-10-14
CN104978209B true 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)

Families Citing this family (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
CN108574659B (en) * 2017-03-08 2021-01-26 海马云(天津)信息技术有限公司 Method and device for updating cloud system application
CN107357613B (en) * 2017-06-28 2020-09-04 广州酷狗计算机科技有限公司 Application updating method and device and computer readable storage medium
CN109194812A (en) * 2018-07-10 2019-01-11 奇酷互联网络科技(深圳)有限公司 Mobile terminal and its method and apparatus for updating application
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
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

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

Also Published As

Publication number Publication date
CN104978209A (en) 2015-10-14

Similar Documents

Publication Publication Date Title
CN104978209B (en) The update method and device of application
CN101719073B (en) Intelligent client-based on-demand downloading realization method
CN108121559B (en) Configuration file pushing method, server and storage medium
CN107193607B (en) Method and apparatus for updating code file, storage medium, processor, and terminal
CN106657433B (en) Naming method and device for physical network card in multi-network snap ring environment
CN103345411A (en) Method and device for uninstalling application program
CN109697079A (en) The update method and device of bootstrap loader
CN101329633A (en) Method and apparatus for upgrading software
CN103353846A (en) Project automatic-deployment plug-in
CN106371819B (en) Parameter acquisition method and device and electronic equipment
CN108563472B (en) Service plug-in loading method and device based on multi-open application
CN110580167A (en) system upgrading method, intelligent device and server
CN113411225B (en) QGA service management method, device, equipment and medium based on cloud host
CN105094919A (en) Application program starting method
CN106293790B (en) application program upgrading method and device based on Firefox operating system
CN114385251A (en) Operating system booting method, system, terminal and storage medium based on memory
CN110377850A (en) Resource file loading method, device, electronic equipment and storage medium
CN113032183A (en) System management method, device, computer equipment and storage medium
CN111258681B (en) BeeGFS service starting method and device
US20170199733A1 (en) Method for terminal to update operating system, terminal and system
CN112463304A (en) Rollback method and apparatus for container mirror image, computer device, and storage medium
JP2006277216A (en) Automatic fw update method for multi-os installable platform
KR20130002692A (en) Optimization method, optimization server and computer readable recording medium for providing service with vaccine and optimization functions
CN105787359A (en) Course guarding method and device
JP2012243262A (en) Communication terminal for cooperatively starting multiple applications and cooperation start method

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