CN103136027A - Immediate updating device and immediate updating method - Google Patents
Immediate updating device and immediate updating method Download PDFInfo
- Publication number
- CN103136027A CN103136027A CN2013100649652A CN201310064965A CN103136027A CN 103136027 A CN103136027 A CN 103136027A CN 2013100649652 A CN2013100649652 A CN 2013100649652A CN 201310064965 A CN201310064965 A CN 201310064965A CN 103136027 A CN103136027 A CN 103136027A
- Authority
- CN
- China
- Prior art keywords
- application program
- shop
- file
- updating
- catalogue
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention provides an immediate updating device applied to an iOS (iPhone operating system). The immediate updating device comprises a recording unit, a processing unit, a storage unit, a judgment unit and an update unit, wherein the recording unit is used for recording an original version number of a native mode application in a terminal; the processing unit is used for copying original resource files of the application into a specified directory and loading needed resource files of the application in the specified directory; the storage unit is used for receiving update information of the application and storing the update information into a specified update server, wherein the update information includes a latest version number and update files of the application; the judgment unit is used for judging whether the recorded original version number of the application is consistent with the stored latest version number or not when the application runs; and the update unit is used for acquiring the update files from the update server, storing the update files into the specified directory and modifying the recorded original version number of the application to the latest version number when the recorded original version number of the application is not consistent with the stored latest version number. Correspondingly, the invention further provides an immediate updating method. By the device and the method, immediate updating of native mode applications can be realized.
Description
Technical field
The present invention relates to the terminal technology field, in particular to a kind of immediate updating device and immediate updating method.
Background technology
The application of iOS is subject to liking of numerous users because of its remarkable performance, magnificent interface, smooth operating experience.
When but the application program of iOS will be upgraded, could realize upgrading after needing to wait for the long time.
The application program of some iOS uses built-in browser to visit corresponding website, and when web site contents upgraded, what see in application was exactly up-to-date content.But this mode seriously relies on network, and each use all needs affected the speed of application and user's experience, and primary application gap clearly from the website loading.
Therefore, need a kind of new immediate updating technology, can realize the immediate updating of the application program of primary pattern in the iOS system.
Summary of the invention
The present invention just is being based on the problems referred to above, has proposed a kind of new immediate updating technology, can realize the immediate updating of the application program of primary pattern in the iOS system.
In view of this, in view of this, the present invention proposes a kind of immediate updating device, be applied to the iOS system, comprising: record cell, record the original version this shop of the application program of primary pattern in terminal; Processing unit in the catalogue of appointment, and loads the required resource file of described application program with the source material file copy of described application program in the catalogue of described appointment; Storage unit receives the lastest imformation of described application program, and described lastest imformation is stored in the update server of appointment, and wherein, described lastest imformation comprises latest edition this shop and the updating file of described application program; Judging unit, when operation during described application program, whether the described latest edition this shop of the original version this shop of the described application program of judgement record and described cell stores is consistent; Updating block, when the described latest edition this shop of the original version this shop of described application program of record and storage is inconsistent, obtain described updating file from described update server, and described updating file being stored into the catalogue of described appointment, described latest edition this shop is revised as in the original version this shop of the described application program that will record simultaneously.
In this technical scheme, if certain application program detected, redaction is arranged, the user also wants to upgrade, and the user need not to wait for, can realize immediately this application program being upgraded.
In technique scheme, preferably, described updating block comprises: the prompting subelement, and when the described latest edition this shop of the original version this shop of described application program of record and storage was inconsistent, the user of the described terminal of prompting selected whether to upgrade described application program; The decision-making subelement receives the instruction of whether upgrading described application program of user's selection of described terminal, and judges whether to obtain described updating file from described update server according to described selection instruction.
In this technical scheme, when application program has redaction, can point out the user whether to upgrade, under the user selects more news, then application programs upgrades, and whether the user can select upgrade according to individual demand.
In technique scheme, preferably, described updating block also comprises: the deletion subelement, when getting described updating file from described update server, and when detecting in the catalogue that described updating file is stored into described appointment, with the described source material file deletion in described assigned catalogue.
In this technical scheme, with the source document deletion of the file that upgraded, saved like this space of assigned catalogue, avoided the waste of resource space.
In technique scheme, preferably, described prompting subelement also is used for: when the catalogue that updating file detected and stored into described appointment, and the version number of record points out the user of described terminal to be updated successfully when be latest edition this shop.
In this technical scheme, when renewal is complete, can notifies the user, thereby facilitate the user to know the renewal process, promote user's experience.
In technique scheme, preferably, the source material file of described application program comprises the lua script file.
According to a further aspect in the invention, also provide a kind of immediate updating method, be applied to the iOS system, having comprised: step 202, record the original version this shop of the application program of primary pattern in terminal; Step 204 in the catalogue of appointment, and loads the required resource file of described application program with the source material file copy of described application program in the catalogue of described appointment; Step 206 receives the lastest imformation of described application program, and described lastest imformation is stored in the update server of appointment, and wherein, described lastest imformation comprises latest edition this shop and the updating file of described application program; Step 208, when operation during described application program, whether the described latest edition this shop of the original version this shop of the described application program of judgement record and described cell stores is consistent; Step 210, when the described latest edition this shop of the original version this shop of described application program of record and storage is inconsistent, obtain described updating file from described update server, and described updating file being stored into the catalogue of described appointment, described latest edition this shop is revised as in the original version this shop of the described application program that will record simultaneously.
In this technical scheme, if certain application program detected, redaction is arranged, the user also wants to upgrade, and the user need not to wait for, can realize immediately this application program being upgraded.
In technique scheme, preferably, described step 210 specifically comprises: when the described latest edition this shop of the original version this shop of described application program of record and storage was inconsistent, the user of the described terminal of prompting selected whether to upgrade described application program; And the instruction of whether upgrading described application program that receives user's selection of described terminal, and judge whether to obtain described updating file from described update server according to described selection instruction.
In this technical scheme, when application program has redaction, can point out the user whether to upgrade, under the user selects more news, then application programs upgrades, and whether the user can select upgrade according to individual demand.
In technique scheme, preferably, described step 210 also comprises: when getting described updating file from described update server, and when described updating file being stored in the catalogue of described appointment, with the described source material file deletion in described assigned catalogue.
In this technical scheme, with the source document deletion of the file that upgraded, saved like this space of assigned catalogue, avoided the waste of resource space.
In technique scheme, preferably, also comprise: step 212, when the catalogue that updating file detected and stored into described appointment, and the version number of record has been when being latest edition this shop, prompting is updated successfully.
In this technical scheme, when renewal is complete, can notifies the user, thereby facilitate the user to know the renewal process, promote user's experience.
In technique scheme, preferably, the source material file of described application program comprises the lua script file.
By above technical scheme, can realize the immediate updating of the application program of primary pattern in the iOS system.
Description of drawings
Fig. 1 shows the block diagram of immediate updating device according to an embodiment of the invention;
Fig. 2 shows the process flow diagram 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.
Embodiment
In order more clearly to understand above-mentioned purpose of the present invention, feature and advantage, below in conjunction with the drawings and specific embodiments, the present invention is further described in detail.Need to prove, in the situation that do not conflict, the application's embodiment and the feature in embodiment can make up mutually.
A lot of details have been set forth in the following description so that fully understand the present invention; but; the present invention can also adopt other to be different from other modes described here and implement, and therefore, protection scope of the present invention is not subjected to the restriction of following public specific embodiment.
Fig. 1 shows the block diagram of immediate updating device according to an embodiment of the invention.
As shown in Figure 1, the immediate updating device 100 according to an embodiment of the invention, are applied to the iOS system, comprising: record cell 102, record the original version this shop of the application program of primary pattern in terminal; Processing unit 104 in the catalogue of appointment, and loads the required resource file of described application program with the source material file copy of described application program in the catalogue of described appointment; Storage unit 106 receives the lastest imformation of described application program, and described lastest imformation is stored in the update server of appointment, and wherein, described lastest imformation comprises latest edition this shop and the updating file of described application program; Judging unit 108, when operation during described application program, whether the described latest edition this shop of the original version this shop of the described application program of judgement record and described cell stores is consistent; Updating block 110, when the described latest edition this shop of the original version this shop of described application program of record and storage is inconsistent, obtain described updating file from described update server, and described updating file being stored into the catalogue of described appointment, described latest edition this shop is revised as in the original version this shop of the described application program that will record simultaneously.
In this technical scheme, if certain application program detected, redaction is arranged, the user also wants to upgrade, and the user need not to wait for, can realize immediately this application program being upgraded.
In technique scheme, preferably, described updating block 110 comprises: prompting subelement 1102, and when the described latest edition this shop of the original version this shop of described application program of record and storage was inconsistent, the user of the described terminal of prompting selected whether to upgrade described application program; Decision-making subelement 1104 receives the instruction of whether upgrading described application program of user's selection of described terminal, and judges whether to obtain described updating file from described update server according to described selection instruction.
In this technical scheme, when application program has redaction, can point out the user whether to upgrade, under the user selects more news, then application programs upgrades, and whether the user can select upgrade according to individual demand.
In technique scheme, preferably, described updating block 110 also comprises: deletion subelement 1106, when getting described updating file from described update server, and when detecting in the catalogue that described updating file is stored into described appointment, with the described source material file deletion in described assigned catalogue.
In this technical scheme, with the source document deletion of the file that upgraded, saved like this space of assigned catalogue, avoided the waste of resource space.
In technique scheme, preferably, described prompting subelement also is used for: when the catalogue that updating file detected and stored into described appointment, and the version number of record points out the user of described terminal to be updated successfully when be latest edition this shop.
In this technical scheme, when renewal is complete, can notifies the user, thereby facilitate the user to know the renewal process, promote user's experience.
In technique scheme, preferably, the source material file of described application program comprises the lua script file.
Fig. 2 shows the process flow diagram of immediate updating method according to an embodiment of the invention.
As shown in Figure 2, the immediate updating method, be applied to the iOS system according to an embodiment of the invention, comprising: step 202, record the original version this shop of the application program of primary pattern in terminal; Step 204 in the catalogue of appointment, and loads the required resource file of described application program with the source material file copy of described application program in the catalogue of described appointment; Step 206 receives the lastest imformation of described application program, and described lastest imformation is stored in the update server of appointment, and wherein, described lastest imformation comprises latest edition this shop and the updating file of described application program; Step 208, when operation during described application program, whether the described latest edition this shop of the original version this shop of the described application program of judgement record and described cell stores is consistent; Step 210, when the described latest edition this shop of the original version this shop of described application program of record and storage is inconsistent, obtain described updating file from described update server, and described updating file being stored into the catalogue of described appointment, described latest edition this shop is revised as in the original version this shop of the described application program that will record simultaneously.
In this technical scheme, if certain application program detected, redaction is arranged, the user also wants to upgrade, and the user need not to wait for, can realize immediately this application program being upgraded.
In technique scheme, preferably, described step 210 specifically comprises: when the described latest edition this shop of the original version this shop of described application program of record and storage was inconsistent, the user of the described terminal of prompting selected whether to upgrade described application program; And the instruction of whether upgrading described application program that receives user's selection of described terminal, and judge whether to obtain described updating file from described update server according to described selection instruction.
In this technical scheme, when application program has redaction, can point out the user whether to upgrade, under the user selects more news, then application programs upgrades, and whether the user can select upgrade according to individual demand.
In technique scheme, preferably, described step 210 also comprises: when getting described updating file from described update server, and when described updating file being stored in the catalogue of described appointment, with the described source material file deletion in described assigned catalogue.
In this technical scheme, with the source document deletion of the file that upgraded, saved like this space of assigned catalogue, avoided the waste of resource space.
In technique scheme, preferably, also comprise: step 212, when the catalogue that updating file detected and stored into described appointment, and the version number of record has been when being latest edition this shop, prompting is updated successfully.
In this technical scheme, when renewal is complete, can notifies the user, thereby facilitate the user to know the renewal process, promote user's experience.
In technique scheme, preferably, the source material file of described application program comprises the lua script file.
Fig. 3 shows the particular flow sheet of immediate updating method according to an embodiment of the invention.
As shown in Figure 3, the idiographic flow of immediate updating method is as follows according to an embodiment of the invention:
When step 308, program started at every turn, whether the latest edition this shop of the initial version of the application program of inspection record number and update server was consistent.
More than be described with reference to the accompanying drawings technical scheme of the present invention, by technical scheme of the present invention, can have realized the immediate updating of the application program of primary pattern in the iOS system.
The above is only the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
Claims (10)
1. an immediate updating device, be applied to the iOS system, it is characterized in that, comprising:
Record cell records the original version this shop of the application program of primary pattern in terminal;
Processing unit in the catalogue of appointment, and loads the required resource file of described application program with the source material file copy of described application program in the catalogue of described appointment;
Storage unit receives the lastest imformation of described application program, and described lastest imformation is stored in the update server of appointment, and wherein, described lastest imformation comprises latest edition this shop and the updating file of described application program;
Judging unit, when operation during described application program, whether the described latest edition this shop of the original version this shop of the described application program of judgement record and described cell stores is consistent;
Updating block, when the described latest edition this shop of the original version this shop of described application program of record and storage is inconsistent, obtain described updating file from described update server, and described updating file being stored into the catalogue of described appointment, described latest edition this shop is revised as in the original version this shop of the described application program that will record simultaneously.
2. immediate updating device according to claim 1, is characterized in that, described updating block comprises:
The prompting subelement, when the described latest edition this shop of the original version this shop of described application program of record and storage was inconsistent, the user of the described terminal of prompting selected whether to upgrade described application program;
The decision-making subelement receives the instruction of whether upgrading described application program of user's selection of described terminal, and judges whether to obtain described updating file from described update server according to described selection instruction.
3. immediate updating device according to claim 1, is characterized in that, described updating block also comprises:
Delete cells, when getting described updating file from described update server, and when detecting in the catalogue that described updating file is stored into described appointment, with the described source material file deletion in described assigned catalogue.
4. immediate updating device according to claim 1, is characterized in that, described Tip element also is used for:
When the catalogue that updating file detected and stored into described appointment, and the version number of record points out the user of described terminal to be updated successfully when be latest edition this shop.
5. the described immediate updating device of any one according to claim 1 to 4, is characterized in that, the source material file of described application program comprises the lua script file.
6. an immediate updating method, be applied to the iOS system, it is characterized in that, comprising:
Step 202 records the original version this shop of the application program of primary pattern in terminal;
Step 204 in the catalogue of appointment, and loads the required resource file of described application program with the source material file copy of described application program in the catalogue of described appointment;
Step 206 receives the lastest imformation of described application program, and described lastest imformation is stored in the update server of appointment, and wherein, described lastest imformation comprises latest edition this shop and the updating file of described application program;
Step 208, when operation during described application program, whether the described latest edition this shop of the original version this shop of the described application program of judgement record and described cell stores is consistent;
Step 210, when the described latest edition this shop of the original version this shop of described application program of record and storage is inconsistent, obtain described updating file from described update server, and described updating file being stored into the catalogue of described appointment, described latest edition this shop is revised as in the original version this shop of the described application program that will record simultaneously.
7. immediate updating method according to claim 6, is characterized in that, described step 210 specifically comprises:
When the described latest edition this shop of the original version this shop of described application program of record and storage was inconsistent, the user of the described terminal of prompting selected whether to upgrade described application program; And
Receive the instruction of whether upgrading described application program of user's selection of described terminal, and judge whether to obtain described updating file from described update server according to described selection instruction.
8. immediate updating method according to claim 6, is characterized in that, described step 210 also comprises:
When getting described updating file from described update server, and when described updating file being stored in the catalogue of described appointment, with the described source material file deletion in described assigned catalogue.
9. immediate updating method according to claim 6, is characterized in that, also comprises:
Step 212, when the catalogue that updating file detected and stored into described appointment, and the version number of record has been when being latest edition this shop, prompting is updated successfully.
10. the described immediate updating method of any one according to claim 6 to 9, is characterized in that, the source material file of described application program comprises the 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 true CN103136027A (en) | 2013-06-05 |
CN103136027B 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) |
Cited By (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 |
CN104391725A (en) * | 2014-12-08 | 2015-03-04 | 畅捷通信息技术股份有限公司 | Page display method and page display device |
CN104714815A (en) * | 2013-12-13 | 2015-06-17 | 乐视网信息技术(北京)股份有限公司 | Method for updating application software and device |
CN104978209A (en) * | 2014-04-14 | 2015-10-14 | 腾讯科技(深圳)有限公司 | Application updating method and application updating device |
CN105302587A (en) * | 2014-06-30 | 2016-02-03 | 腾讯科技(深圳)有限公司 | Data updating method and apparatus |
CN105511889A (en) * | 2016-01-15 | 2016-04-20 | 珠海金山网络游戏科技有限公司 | General game version incremental updating system and method |
CN107733781A (en) * | 2017-09-19 | 2018-02-23 | 上海掌门科技有限公司 | A kind of processing method of instant messaging, equipment and computer-readable storage medium |
CN111400256A (en) * | 2020-03-16 | 2020-07-10 | 北京五八信息技术有限公司 | Method and device for calling resource file by application program |
CN115080141A (en) * | 2022-06-02 | 2022-09-20 | 珠海金山数字网络科技有限公司 | Data processing method and system |
Citations (4)
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 |
US20120054734A1 (en) * | 2010-08-31 | 2012-03-01 | Apple Inc. | Device software upgrade using a dynamically sized partition |
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 |
-
2013
- 2013-03-01 CN CN201310064965.2A patent/CN103136027B/en active Active
Patent Citations (4)
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 |
US20120054734A1 (en) * | 2010-08-31 | 2012-03-01 | Apple Inc. | Device software upgrade using a dynamically sized partition |
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 |
Cited By (13)
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 |
CN104978209A (en) * | 2014-04-14 | 2015-10-14 | 腾讯科技(深圳)有限公司 | Application updating method and application updating device |
CN105302587A (en) * | 2014-06-30 | 2016-02-03 | 腾讯科技(深圳)有限公司 | Data updating method and apparatus |
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 |
CN104391725A (en) * | 2014-12-08 | 2015-03-04 | 畅捷通信息技术股份有限公司 | Page display method and page display device |
CN105511889A (en) * | 2016-01-15 | 2016-04-20 | 珠海金山网络游戏科技有限公司 | General game version incremental updating system and method |
CN107733781A (en) * | 2017-09-19 | 2018-02-23 | 上海掌门科技有限公司 | A kind of processing method of instant messaging, equipment and computer-readable storage medium |
CN111400256A (en) * | 2020-03-16 | 2020-07-10 | 北京五八信息技术有限公司 | Method and device for calling resource file by application program |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN103136027B (en) | 2016-08-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103092665B (en) | Immediate updating device and immediate updating method | |
CN103136027A (en) | Immediate updating device and immediate updating method | |
US10282191B2 (en) | Updating web resources | |
US9864736B2 (en) | Information processing apparatus, control method, and recording medium | |
JP4671198B2 (en) | Information processing device | |
WO2007072636A1 (en) | Screen display method, and screen display device | |
CN103823813A (en) | Method and device for processing history operation records of electronic terminal | |
CN104040496A (en) | Terminal And Application Program Restoration Method | |
CN102833350A (en) | Processing method and processing device of WebApp updating | |
CN105302832A (en) | File management method and apparatus | |
CN103379476A (en) | Terminal and contact information updating method | |
WO2020063780A1 (en) | Application layout restoration method and apparatus, device and storage medium | |
CN107632872B (en) | Desktop layout processing method, user data processing method and device and computer storage medium | |
CN105765533A (en) | Method and apparatus for firmware virtualization | |
CN103973745A (en) | Mobile terminal operating system updating method and device | |
CN105867962A (en) | System upgrading method and device | |
EP3467681B1 (en) | Data migration method and device | |
KR100923161B1 (en) | Portable storage apparatus for providing working environment migration service, and method for providing working environment migration service in that | |
CN103365672B (en) | A kind of method and system processing the descriptor of application program | |
KR20220012394A (en) | Method and apparatus for managing storage space in an electronic device using context data and user profile data | |
CN104426918A (en) | Device setting method and electronic device | |
CN112114905B (en) | Software version switching method and device | |
WO2012126241A1 (en) | Method and apparatus for managing user information | |
CN102346696B (en) | A kind of file access pattern method and device | |
WO2018010321A1 (en) | Method and device for remote synchronization of application card |
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 |