CN103136027B - Immediate updating device and immediate updating method - Google Patents
Immediate updating device and immediate updating method Download PDFInfo
- Publication number
- CN103136027B CN103136027B CN201310064965.2A CN201310064965A CN103136027B CN 103136027 B CN103136027 B CN 103136027B CN 201310064965 A CN201310064965 A CN 201310064965A CN 103136027 B CN103136027 B CN 103136027B
- Authority
- CN
- China
- Prior art keywords
- application program
- file
- renewal
- record
- version number
- 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
Links
Landscapes
- Stored Programmes (AREA)
Abstract
The invention provides a kind of immediate updating device, be applied to iOS system, including: record unit, the prototype version number of the application program of primary pattern in record terminal;Processing unit, copies to the original resource file of application program in the catalogue specified, resource file needed for loading application programs in the catalogue specified;Memory element, receives the more fresh information of application program, and is stored in the renewal server specified, and more fresh information includes the latest edition number of application program and updates file;Judging unit, when running described application program, it is judged that the prototype version number of the application program of record is the most consistent with the latest edition number of storage;Updating block, when consistent, obtain renewal file from updating server, and stores to the catalogue specified, the prototype version number of the application program of record is revised as latest edition number.Correspondingly, present invention also offers a kind of immediate updating method.By this technical scheme, it is possible to achieve the immediate updating of primary model application program.
Description
Technical field
The present invention relates to field of terminal technology, in particular to a kind of immediate updating device with instant
Update method.
Background technology
The application of iOS is subject to because of the performance of its brilliance, magnificent interface, smooth operating experience
Liking of vast user.
When but the application program of iOS is to be updated, could be real after needing to wait the longer time
Now update.
The application program of some iOS uses built-in browser to access the website of correspondence, when in website
The when of holding renewal, see in application is exactly up-to-date content.But this mode heavy dependence net
Network, and use every time and be required for loading from website, have impact on the speed of application and the experience of user,
With primary application gap clearly.
Accordingly, it would be desirable to a kind of new immediate updating technology, it is possible to achieve primary pattern in iOS system
The immediate updating of application program.
Summary of the invention
The present invention is based on the problems referred to above, it is proposed that a kind of new immediate updating technology, it is possible to achieve
The immediate updating of the application program of primary pattern in iOS system.
In view of this, in view of this, the present invention proposes a kind of immediate updating device, is applied to iOS
System, including: record unit, the prototype version number of the application program of primary pattern in record terminal;
Processing unit, copies to the original resource file of described application program in the catalogue specified, and in institute
State and the catalogue specified loads the resource file needed for described application program;Memory element, receives described
The more fresh information of application program, and described more fresh information is stored in the renewal server specified, its
In, described more fresh information includes the latest edition number of described application program and updates file;Judge single
Unit, when running described application program, it is judged that the prototype version number of the described application program of record and institute
The described latest edition number stating memory element storage is the most consistent;Updating block, when answering described in record
With the prototype version number of program and storage described latest edition number inconsistent time, from described update service
Device obtains described renewal file, and described renewal file stores the described catalogue specified, and will simultaneously
The prototype version number of the described application program of record is revised as described latest edition number.
In this technical scheme, if be detected that certain application program have redaction, user also want to into
Row update, then user without waiting for, can realize immediately this application program being updated.
In technique scheme, it is preferable that described updating block includes: prompting subelement, work as note
When the prototype version number of the described application program of record and the described latest edition number of storage are inconsistent, prompting
The user of described terminal chooses whether to update described application program;Decision-making subelement, receives described terminal
User select the instruction whether updating described application program, and according to described select instruction judgement be
No from the described renewal server described renewal file of acquisition.
In this technical scheme, when application program has redaction, can prompt the user whether to update,
In the case of user selects to update, then being updated application program, user can be according to individual demand
Choose whether to update.
In technique scheme, it is preferable that described updating block also includes: delete subelement, when
Get described renewal file from described renewal server, and detect by the storage of described renewal file
Time in the described catalogue specified, the described original resource file in described assigned catalogue is deleted.
In this technical scheme, the original document of the most updated file is deleted, which saves finger
Determine the space of catalogue, it is to avoid the waste of resource space.
In technique scheme, it is preferable that described prompting subelement is additionally operable to: when renewal being detected
File has stored the described catalogue specified, and when the version number recorded is latest edition, carries
Show that the user of described terminal is updated successfully.
In this technical scheme, when updating complete, it is notified that user, thus facilitates user to know more
New process, promotes the experience of user.
In technique scheme, it is preferable that the original resource file of described application program includes lua
Script file.
According to a further aspect in the invention, additionally provide a kind of immediate updating method, be applied to iOS system
System, including: step 202, the prototype version number of the application program of primary pattern in record terminal;Step
Rapid 204, the original resource file of described application program is copied in the catalogue specified, and described
The catalogue specified loads the resource file needed for described application program;Step 206, receives described answering
With the more fresh information of program, and described more fresh information is stored in the renewal server specified, its
In, described more fresh information includes the latest edition number of described application program and updates file;Step
208, when run described application program time, it is judged that the prototype version number of the described application program of record and
The described latest edition number of described memory element storage is the most consistent;Step 210, when described in record
When the described latest edition number of the prototype version number of application program and storage is inconsistent, update clothes from described
Business device obtains described renewal file, and described renewal file stores the described catalogue specified, simultaneously
The prototype version number of the described application program of record is revised as described latest edition number.
In this technical scheme, if be detected that certain application program have redaction, user also want to into
Row update, then user without waiting for, can realize immediately this application program being updated.
In technique scheme, it is preferable that described step 210 specifically includes: when described in record
When the described latest edition number of the prototype version number of application program and storage is inconsistent, point out described terminal
User choose whether to update described application program;And whether the user receiving described terminal selects
Update the instruction of described application program, and judge whether to update service from described according to described selection instruction
Device obtains described renewal file.
In this technical scheme, when application program has redaction, can prompt the user whether to update,
In the case of user selects to update, then being updated application program, user can be according to individual demand
Choose whether to update.
In technique scheme, it is preferable that described step 210 also includes: when updating clothes from described
Business device gets described renewal file, and is stored in the described catalogue specified by described renewal file
Time, the described original resource file in described assigned catalogue is deleted.
In this technical scheme, the original document of the most updated file is deleted, which saves finger
Determine the space of catalogue, it is to avoid the waste of resource space.
In technique scheme, it is preferable that also include: step 212, when renewal file being detected
Store the described catalogue specified, and when the version number recorded is latest edition, prompting is more
New success.
In this technical scheme, when updating complete, it is notified that user, thus facilitates user to know more
New process, promotes the experience of user.
In technique scheme, it is preferable that the original resource file of described application program includes lua
Script file.
By above technical scheme, it is possible to achieve in iOS system, the application program of primary pattern is instant
Update.
Accompanying drawing explanation
Fig. 1 shows the block diagram of immediate updating device according to an embodiment of the invention;
Fig. 2 shows the flow chart of immediate updating method according to an embodiment of the invention;
Fig. 3 shows the particular flow sheet of immediate updating method according to an embodiment of the invention.
Detailed description of the invention
In order to be more clearly understood that the above-mentioned purpose of the present invention, feature and advantage, below in conjunction with attached
The present invention is further described in detail by figure and detailed description of the invention.It should be noted that not
In the case of conflict, the feature in embodiments herein and embodiment can be mutually combined.
Elaborate a lot of detail in the following description so that fully understanding the present invention, but,
The present invention can implement to use other to be different from other modes described here, therefore, and the present invention
Protection domain do not limited by following public specific embodiment.
Fig. 1 shows the block diagram of immediate updating device according to an embodiment of the invention.
As it is shown in figure 1, immediate updating device 100 according to an embodiment of the invention, it is applied to iOS
System, including: record unit 102, the prototype version of the application program of primary pattern in record terminal
Number;Processing unit 104, copies the catalogue specified to by the original resource file of described application program
In, and load the resource file needed for described application program in the described catalogue specified;Memory element
106, receive the more fresh information of described application program, and described more fresh information is stored specify more
In new server, wherein, described more fresh information includes the latest edition number and more of described application program
New file;Judging unit 108, when running described application program, it is judged that the described application journey of record
The described latest edition number that the prototype version number of sequence stores with described memory element is the most consistent;Update single
Unit 110, when record described application program prototype version number and storage described latest edition number not
Time consistent, obtain described renewal file from described renewal server, and described renewal file is stored
The described catalogue specified, the prototype version number of described application program of record is revised as simultaneously described in
New version number.
In this technical scheme, if be detected that certain application program have redaction, user also want to into
Row update, then user without waiting for, can realize immediately this application program being updated.
In technique scheme, it is preferable that described updating block 110 includes: prompting subelement
1102, when the prototype version number of described application program and the described latest edition number of storage of record differ
During cause, the user of described terminal is pointed out to choose whether to update described application program;Decision-making subelement
1104, receive described terminal user select the instruction whether updating described application program, and according to
Described selection instruction judges whether to obtain described renewal file from described renewal server.
In this technical scheme, when application program has redaction, can prompt the user whether to update,
In the case of user selects to update, then being updated application program, user can be according to individual demand
Choose whether to update.
In technique scheme, it is preferable that described updating block 110 also includes: delete subelement
1106, when getting described renewal file from described renewal server, and detect by described renewal
When file stores in the described catalogue specified, by the described original resource file in described assigned catalogue
Delete.
In this technical scheme, the original document of the most updated file is deleted, which saves finger
Determine the space of catalogue, it is to avoid the waste of resource space.
In technique scheme, it is preferable that described prompting subelement is additionally operable to: when renewal being detected
File has stored the described catalogue specified, and when the version number recorded is latest edition, carries
Show that the user of described terminal is updated successfully.
In this technical scheme, when updating complete, it is notified that user, thus facilitates user to know more
New process, promotes the experience of user.
In technique scheme, it is preferable that the original resource file of described application program includes lua
Script file.
Fig. 2 shows the flow chart of immediate updating method according to an embodiment of the invention.
As in figure 2 it is shown, immediate updating method according to an embodiment of the invention, it is applied to iOS system
System, including: step 202, the prototype version number of the application program of primary pattern in record terminal;Step
Rapid 204, the original resource file of described application program is copied in the catalogue specified, and described
The catalogue specified loads the resource file needed for described application program;Step 206, receives described answering
With the more fresh information of program, and described more fresh information is stored in the renewal server specified, its
In, described more fresh information includes the latest edition number of described application program and updates file;Step
208, when run described application program time, it is judged that the prototype version number of the described application program of record and
The described latest edition number of described memory element storage is the most consistent;Step 210, when described in record
When the described latest edition number of the prototype version number of application program and storage is inconsistent, update clothes from described
Business device obtains described renewal file, and described renewal file stores the described catalogue specified, simultaneously
The prototype version number of the described application program of record is revised as described latest edition number.
In this technical scheme, if be detected that certain application program have redaction, user also want to into
Row update, then user without waiting for, can realize immediately this application program being updated.
In technique scheme, it is preferable that described step 210 specifically includes: when described in record
When the described latest edition number of the prototype version number of application program and storage is inconsistent, point out described terminal
User choose whether to update described application program;And whether the user receiving described terminal selects
Update the instruction of described application program, and judge whether to update service from described according to described selection instruction
Device obtains described renewal file.
In this technical scheme, when application program has redaction, can prompt the user whether to update,
In the case of user selects to update, then being updated application program, user can be according to individual demand
Choose whether to update.
In technique scheme, it is preferable that described step 210 also includes: when updating clothes from described
Business device gets described renewal file, and is stored in the described catalogue specified by described renewal file
Time, the described original resource file in described assigned catalogue is deleted.
In this technical scheme, the original document of the most updated file is deleted, which saves finger
Determine the space of catalogue, it is to avoid the waste of resource space.
In technique scheme, it is preferable that also include: step 212, when renewal file being detected
Store the described catalogue specified, and when the version number recorded is latest edition, prompting is more
New success.
In this technical scheme, when updating complete, it is notified that user, thus facilitates user to know more
New process, promotes the experience of user.
In technique scheme, it is preferable that the original resource file of described application program includes lua
Script file.
Fig. 3 shows the particular flow sheet of immediate updating method according to an embodiment of the invention.
As it is shown on figure 3, the idiographic flow of immediate updating method is as follows according to an embodiment of the invention:
Step 302, the initial version number of the application program of primary pattern in record terminal, and for applying
Program is specified and is updated server address.If be detected that this application program has renewal, then by this application journey
The latest edition number of sequence and corresponding renewal file store in renewal server.
Step 304, when application program is the most initialized, by all literary compositions needed for application program
Part, i.e. lua script file, all copy the assigned catalogue of terminal to, such as APPHome catalogue.
Step 306, file needed for loading application programs from assigned catalogue.
Step 308, when program starts every time, the initial version number of the application program of inspection record and more
The latest edition number of new server is the most consistent.
Step 310, if it find that redaction, asks the user whether to be updated.
Step 312, if user selects to update, then downloads up-to-date program literary composition from renewal server
Part, decompresses and covers assigned catalogue, and revise the version number information of record in terminal.
Step 314, points out customer upgrade success, restarts application after having updated.
Technical scheme is described in detail, by the technical side of the present invention above in association with accompanying drawing
Case, it is possible to achieve the immediate updating of the application program of primary pattern in iOS system.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for
For those skilled in the art, the present invention can have various modifications and variations.All essences in the present invention
Within god and principle, any modification, equivalent substitution and improvement etc. made, should be included in the present invention
Protection domain within.
Claims (10)
1. an immediate updating device, is applied to iOS system, it is characterised in that including:
Record unit, the prototype version number of the application program of primary pattern in record terminal;
Processing unit, copies to the original resource file of described application program in the catalogue specified, and
The resource file needed for described application program is loaded in the described catalogue specified;
Memory element, receives the more fresh information of described application program, and is stored by described more fresh information
In the renewal server specified, wherein, described more fresh information includes the latest edition of described application program
Number and update file;
Judging unit, when running described application program, it is judged that the described application program of record original
The described latest edition number that version number stores with described memory element is the most consistent;
Updating block, when prototype version number and the described latest edition of storage of the described application program recorded
This number inconsistent time, obtain described renewal file from described renewal server, and by described renewal file
Store the described catalogue specified, the prototype version number of the described application program of record is revised as simultaneously
Described latest edition number;
Described updating block is additionally operable to: points out customer upgrade success after having updated, restarts application.
Immediate updating device the most according to claim 1, it is characterised in that described renewal list
Unit includes:
Prompting subelement, when the prototype version number of the described application program of record is described up-to-date with store
When version number is inconsistent, the user of described terminal is pointed out to choose whether to update described application program;
Decision-making subelement, receives the finger whether updating described application program that the user of described terminal selects
Order, and judge whether to obtain described renewal file from described renewal server according to described instruction.
Immediate updating device the most according to claim 1, it is characterised in that described renewal list
Unit also includes:
Delete unit, when getting described renewal file from described renewal server, and general detected
When described renewal file stores in the described catalogue specified, described former by the described catalogue specified
Beginning resource file is deleted.
Immediate updating device the most according to claim 2, it is characterised in that described prompting
Unit is additionally operable to:
When detecting that renewal file has stored the described catalogue specified, and the version number recorded is
During latest edition, the user of described terminal is pointed out to be updated successfully.
Immediate updating device the most according to any one of claim 1 to 4, its feature exists
In, the original resource file of described application program includes lua script file.
6. an immediate updating method, is applied to iOS system, it is characterised in that including:
Step 202, the prototype version number of the application program of primary pattern in record terminal;
Step 204, copies to the original resource file of described application program in the catalogue specified, and
The resource file needed for described application program is loaded in the described catalogue specified;
Step 206, receives the more fresh information of described application program, and is stored by described more fresh information
In the renewal server specified, wherein, described more fresh information includes the latest edition of described application program
Number and update file;
Step 208, when running described application program, it is judged that the described application program of record original
The described latest edition number that version number stores with memory element is the most consistent;
Step 210, when prototype version number and the described latest edition of storage of the described application program recorded
This number inconsistent time, obtain described renewal file from described renewal server, and by described renewal file
Store the described catalogue specified, the prototype version number of the described application program of record is revised as simultaneously
Described latest edition number;
Step 212, points out customer upgrade success, restarts application after having updated.
Immediate updating method the most according to claim 6, it is characterised in that described step
210 specifically include:
When the prototype version number of the described application program of record is inconsistent with the described latest edition number of storage
Time, point out the user of described terminal to choose whether to update described application program;And
Receive the instruction whether updating described application program that the user of described terminal selects, and according to institute
State instruction to judge whether to obtain described renewal file from described renewal server.
Immediate updating method the most according to claim 6, it is characterised in that described step
210 also include:
When getting described renewal file from described renewal server, and described renewal file is stored
Time in the described catalogue specified, the described original resource file in the described catalogue specified is deleted.
Immediate updating method the most according to claim 6, it is characterised in that also include:
Step 212, when detecting that renewal file has stored the described catalogue specified, and record
When version number is latest edition, prompting is updated successfully.
10., according to the immediate updating method according to any one of claim 6 to 9, its feature exists
In, the original resource file of described application program includes lua script file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310064965.2A CN103136027B (en) | 2013-03-01 | 2013-03-01 | Immediate updating device and immediate updating method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310064965.2A CN103136027B (en) | 2013-03-01 | 2013-03-01 | Immediate updating device and immediate updating method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103136027A CN103136027A (en) | 2013-06-05 |
CN103136027B true CN103136027B (en) | 2016-08-24 |
Family
ID=48495893
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310064965.2A Active CN103136027B (en) | 2013-03-01 | 2013-03-01 | Immediate updating device and immediate updating method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103136027B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103353845A (en) * | 2013-06-28 | 2013-10-16 | 贵阳朗玛信息技术股份有限公司 | Method and device for uploading and pushing script |
CN104714815A (en) * | 2013-12-13 | 2015-06-17 | 乐视网信息技术(北京)股份有限公司 | Method for updating application software and device |
CN104978209B (en) * | 2014-04-14 | 2019-06-14 | 腾讯科技(深圳)有限公司 | The update method and device of application |
CN105302587B (en) * | 2014-06-30 | 2019-01-11 | 腾讯科技(深圳)有限公司 | Data-updating method and device |
CN104391725B (en) * | 2014-12-08 | 2017-11-14 | 畅捷通信息技术股份有限公司 | Page display method and page presentation device |
CN105511889B (en) * | 2016-01-15 | 2020-01-07 | 珠海金山网络游戏科技有限公司 | Universal game version increment updating system and method |
CN107733781B (en) * | 2017-09-19 | 2021-06-22 | 上海掌门科技有限公司 | Instant messaging processing method, equipment and computer storage medium |
CN111400256B (en) * | 2020-03-16 | 2023-03-21 | 北京五八信息技术有限公司 | Method and device for calling resource file by application program |
CN115080141A (en) * | 2022-06-02 | 2022-09-20 | 珠海金山数字网络科技有限公司 | Data processing method and system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1477500A (en) * | 2002-08-19 | 2004-02-25 | 万达信息股份有限公司 | Software automatic upgrading and updating method under Client/Server frame |
CN102662699A (en) * | 2012-03-27 | 2012-09-12 | 惠州Tcl移动通信有限公司 | Method for updating NFC (Near Field Communication) firmware of mobile terminal and mobile terminal |
CN102905173A (en) * | 2012-10-16 | 2013-01-30 | 青岛海信信芯科技有限公司 | Method and system for upgrading software of televisions or set-top boxes |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120054734A1 (en) * | 2010-08-31 | 2012-03-01 | Apple Inc. | Device software upgrade using a dynamically sized partition |
-
2013
- 2013-03-01 CN CN201310064965.2A patent/CN103136027B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1477500A (en) * | 2002-08-19 | 2004-02-25 | 万达信息股份有限公司 | Software automatic upgrading and updating method under Client/Server frame |
CN102662699A (en) * | 2012-03-27 | 2012-09-12 | 惠州Tcl移动通信有限公司 | Method for updating NFC (Near Field Communication) firmware of mobile terminal and mobile terminal |
CN102905173A (en) * | 2012-10-16 | 2013-01-30 | 青岛海信信芯科技有限公司 | Method and system for upgrading software of televisions or set-top boxes |
Also Published As
Publication number | Publication date |
---|---|
CN103136027A (en) | 2013-06-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103136027B (en) | Immediate updating device and immediate updating method | |
CN103092665B (en) | Immediate updating device and immediate updating method | |
CN105138226B (en) | A kind of desktop management method and apparatus of intelligent terminal | |
CN102946599B (en) | Realize method and mobile terminal that application program for mobile terminal is downloaded | |
JP6011479B2 (en) | Application management apparatus, application management system, and program | |
JP2014510482A (en) | System and method for testing content of a mobile communication device | |
CN106685687B (en) | Gray scale dissemination method and device | |
CN110808897A (en) | Proxy access method, user equipment, storage medium, device and system | |
CN109033466B (en) | Page sharing method calculates equipment and computer storage medium | |
CN105867714A (en) | Application downloading method, apparatus and system | |
JP2006197604A (en) | Method for managing telephone book in mobile terminal and associated terminal | |
CN106126274A (en) | Control method and device for application program data in mobile terminal and mobile terminal | |
CN108280174A (en) | Front end file construction method and server, page access method and terminal | |
CN106547486A (en) | A kind of data migration method and device | |
CN106155708B (en) | A kind of method and system of dynamically load and update content of pages | |
CN105138604A (en) | Terminal data processing method and apparatus | |
CN105426272B (en) | Application Backup method and device | |
CN112148395A (en) | Page display method, device, equipment and storage medium | |
CN110377850A (en) | Resource file loading method, device, electronic equipment and storage medium | |
CN109032617B (en) | Control method and control device for automatically deleting installation package | |
CN110955449B (en) | Gray scale release method and device for client | |
CN106227406A (en) | The display packing of application icon and device | |
CN107450793B (en) | Data processing apparatus and data processing method | |
CN106843929B (en) | Game installation method, installation display processing device and terminal | |
JP6099365B2 (en) | Information processing system, information processing apparatus, information processing program, application execution method, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |