CN103092665B - Immediate updating device and immediate updating method - Google Patents

Immediate updating device and immediate updating method Download PDF

Info

Publication number
CN103092665B
CN103092665B CN201310066054.3A CN201310066054A CN103092665B CN 103092665 B CN103092665 B CN 103092665B CN 201310066054 A CN201310066054 A CN 201310066054A CN 103092665 B CN103092665 B CN 103092665B
Authority
CN
China
Prior art keywords
application program
renewal
file
latest edition
record
Prior art date
Application number
CN201310066054.3A
Other languages
Chinese (zh)
Other versions
CN103092665A (en
Inventor
伍国锋
Original Assignee
畅捷通信息技术股份有限公司
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 畅捷通信息技术股份有限公司 filed Critical 畅捷通信息技术股份有限公司
Priority to CN201310066054.3A priority Critical patent/CN103092665B/en
Publication of CN103092665A publication Critical patent/CN103092665A/en
Application granted granted Critical
Publication of CN103092665B publication Critical patent/CN103092665B/en

Links

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 mixed model 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 mixed mode applications program.

Description

Immediate updating device and immediate updating method

Technical field

The present invention relates to field of terminal technology, in particular to a kind of immediate updating device and immediate updating method.

Background technology

The application of iOS is liked by vast user because of the performance of its brilliance, magnificent interface, smooth operating experience.

But the exploitation threshold of iOS program is higher, and development efficiency ratio is relatively low.In order to take into account experience and development efficiency, relatively common way is the iOS application using primary (native) to develop mixed model together with Web (html5), namely html5 related resource is bundled on equipment, and loaded by browser component, realize service logic and interaction effect.

When but the application program of iOS is to be updated, could realize updating after needing to wait the longer time.

The application program of some iOS uses built-in browser to access the website of correspondence, and when web site contents updates when, see in application is exactly up-to-date content.But this mode heavy dependence network, and use every time and be required for loading from website, have impact on the speed of application and the experience of user, and primary application gap is clearly.

Accordingly, it would be desirable to a kind of new immediate updating technology, it is possible to achieve the immediate updating of mixed mode applications program in iOS system.

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 application program in iOS system.

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 mixed model in record terminal;Processing unit, copies to the original resource file of described application program in the catalogue specified, and loads the resource file needed for described application program 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, and wherein, described more fresh information includes the latest edition number of described application program and updates file;Judging unit, when running described application program, it is judged that the described latest edition number that the prototype version number of the described application program of record stores with described memory element is the most consistent;Updating block, when the prototype version number of the described application program of record is inconsistent with the described latest edition number of storage, described renewal file is obtained from described renewal server, and described renewal file is stored the described catalogue specified, the prototype version number of the described application program of record is revised as described latest edition number simultaneously.

In this technical scheme, if be detected that certain application program has redaction, user to also want to be updated, 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, when the prototype version number of the described application program of record is inconsistent with the described latest edition number of storage, the user of described terminal is pointed out to choose whether to update described application program;Decision-making subelement, receives the instruction whether updating described application program that the user of described terminal selects, and judges whether to obtain described renewal file from described renewal server according to described selection instruction.

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 be updated application program, user can choose whether to update according to individual demand.

In technique scheme, preferably, described updating block also includes: delete subelement, when getting described renewal file from described renewal server, and detect when described renewal file being stored 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 the space of assigned 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 detecting that renewal file has stored the described catalogue specified, and when the version number recorded is latest edition, point out the user of described terminal to be updated successfully.

In this technical scheme, when updating complete, it is notified that user, thus facilitates user to know renewal process, promote the experience of user.

In technique scheme, it is preferable that the original resource file of described application program includes the resource file relevant to html.

According to a further aspect in the invention, additionally provide a kind of immediate updating method, be applied to iOS system, including: step 202, the prototype version number of the application program of mixed model in record terminal;Step 204, copies to the original resource file of described application program in the catalogue specified, and loads the resource file needed for described application program 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, and wherein, described more fresh information includes the latest edition number of described application program and updates file;Step 208, when running described application program, it is judged that the described latest edition number that the prototype version number of the described application program of record stores with described memory element is the most consistent;Step 210, when the prototype version number of the described application program of record is inconsistent with the described latest edition number of storage, described renewal file is obtained from described renewal server, and described renewal file is stored the described catalogue specified, the prototype version number of the described application program of record is revised as described latest edition number simultaneously.

In this technical scheme, if be detected that certain application program has redaction, user to also want to be updated, 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 the prototype version number of the described application program of record is inconsistent with the described latest edition number of storage, point out the user of described terminal to choose whether to update described application program;And the instruction whether updating described application program that the user receiving described terminal selects, and judge whether to obtain described renewal file from described renewal server according to described selection instruction.

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 be updated application program, user can choose whether to update according to individual demand.

In technique scheme, preferably, described step 210 also includes: when getting described renewal file from described renewal server, and when being stored in the described catalogue specified by described renewal file, is deleted by the described original resource file in described assigned catalogue.

In this technical scheme, the original document of the most updated file is deleted, which saves the space of assigned catalogue, it is to avoid the waste of resource space.

In technique scheme, it is preferable that also include: step 212, when detecting that renewal file has stored the described catalogue specified, and when the version number recorded is latest edition, prompting is updated successfully.

In this technical scheme, when updating complete, it is notified that user, thus facilitates user to know renewal process, promote the experience of user.

In technique scheme, it is preferable that the original resource file of described application program includes the resource file relevant to html.

By above technical scheme, it is possible to achieve the immediate updating of the application program of mixed model in iOS system.

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, with detailed description of the invention, the present invention is further described in detail below in conjunction with the accompanying drawings.It should be noted that in the case of not conflicting, 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, and therefore, protection scope of the present invention is 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 number of the application program of mixed model in record terminal;Processing unit 104, copies to the original resource file of described application program in the catalogue specified, and loads the resource file needed for described application program in the described catalogue specified;Memory element 106, receives the more fresh information of described application program, and is stored by described more fresh information in the renewal server specified, and wherein, described more fresh information includes the latest edition number of described application program and updates file;Judging unit 108, when running described application program, it is judged that the described latest edition number that the prototype version number of the described application program of record stores with described memory element is the most consistent;Updating block 110, when the prototype version number of the described application program of record is inconsistent with the described latest edition number of storage, described renewal file is obtained from described renewal server, and described renewal file is stored the described catalogue specified, the prototype version number of the described application program of record is revised as described latest edition number simultaneously.

In this technical scheme, if be detected that certain application program has redaction, user to also want to be updated, then user without waiting for, can realize immediately this application program being updated.

In technique scheme, preferably, described updating block 110 includes: prompting subelement 1102, when the prototype version number of the described application program of record is inconsistent with the described latest edition number of storage, points out the user of described terminal to choose whether to update described application program;Decision-making subelement 1104, receives the instruction whether updating described application program that the user of described terminal selects, and judges whether to obtain described renewal file from described renewal server according to described selection instruction.

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 be updated application program, user can choose whether to update according to individual demand.

In technique scheme, preferably, described updating block 110 also includes: delete subelement 1106, when getting described renewal file from described renewal server, and detect when described renewal file being stored 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 the space of assigned 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 detecting that renewal file has stored the described catalogue specified, and when the version number recorded is latest edition, point out the user of described terminal to be updated successfully.

In this technical scheme, when updating complete, it is notified that user, thus facilitates user to know renewal process, promote the experience of user.

In technique scheme, it is preferable that the original resource file of described application program includes the resource file relevant to html.

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, including: step 202, the prototype version number of the application program of mixed model in record terminal;Step 204, copies to the original resource file of described application program in the catalogue specified, and loads the resource file needed for described application program 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, and wherein, described more fresh information includes the latest edition number of described application program and updates file;Step 208, when running described application program, it is judged that the described latest edition number that the prototype version number of the described application program of record stores with described memory element is the most consistent;Step 210, when the prototype version number of the described application program of record is inconsistent with the described latest edition number of storage, described renewal file is obtained from described renewal server, and described renewal file is stored the described catalogue specified, the prototype version number of the described application program of record is revised as described latest edition number simultaneously.

In this technical scheme, if be detected that certain application program has redaction, user to also want to be updated, 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 the prototype version number of the described application program of record is inconsistent with the described latest edition number of storage, point out the user of described terminal to choose whether to update described application program;And the instruction whether updating described application program that the user receiving described terminal selects, and judge whether to obtain described renewal file from described renewal server according to described selection instruction.

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 be updated application program, user can choose whether to update according to individual demand.

In technique scheme, preferably, described step 210 also includes: when getting described renewal file from described renewal server, and when being stored in the described catalogue specified by described renewal file, is deleted by the described original resource file in described assigned catalogue.

In this technical scheme, the original document of the most updated file is deleted, which saves the space of assigned catalogue, it is to avoid the waste of resource space.

In technique scheme, it is preferable that also include: step 212, when detecting that renewal file has stored the described catalogue specified, and when the version number recorded is latest edition, prompting is updated successfully.

In this technical scheme, when updating complete, it is notified that user, thus facilitates user to know renewal process, promote the experience of user.

In technique scheme, it is preferable that the original resource file of described application program includes the resource file relevant to html.

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 mixed model in record terminal, and specify renewal server address for application program.If be detected that this application program has renewal, then the latest edition number of this application program and corresponding renewal file are stored in renewal server.

Step 304, when application program is the most initialized, all resource files relevant by the All Files needed for application program, i.e. html5, 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 is the most consistent with the latest edition number updating server.

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 file from renewal server, 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 above in association with accompanying drawing, passes through technical scheme, it is possible to achieve the immediate updating of the application program of mixed model in iOS system.

The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, any modification, equivalent substitution and improvement etc. made, should be included within the scope of the present invention.

Claims (8)

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 mixed model in record terminal;
Processing unit, copies to the original resource file of described application program in the catalogue specified, and loads the resource file needed for described application program 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, and wherein, described more fresh information includes the latest edition number of described application program and updates file;
Judging unit, when running described application program, it is judged that the described latest edition number that the prototype version number of the described application program of record stores with described memory element is the most consistent;
Updating block, when the prototype version number of the described application program of record is inconsistent with the described latest edition number of storage, described renewal file is obtained from described renewal server, and described renewal file is stored the described catalogue specified, the prototype version number of the described application program of record is revised as described latest edition number simultaneously;
Tip element is used for: when detecting that renewal file has stored the described catalogue specified, and when the version number recorded is latest edition, point out the user of described terminal to be updated successfully.
Immediate updating device the most according to claim 1, it is characterised in that described updating block includes:
Prompting subelement, when the prototype version number of the described application program of record is inconsistent with the described latest edition number of storage, points out the user of described terminal to choose whether to update described application program;
Decision-making subelement, receives the instruction whether updating described application program that the user of described terminal selects, and judges 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 updating block also includes:
Delete subelement, when getting described renewal file from described renewal server, and detect when described renewal file being stored in the described catalogue specified, the described original resource file in the described catalogue specified is deleted.
Immediate updating device the most according to any one of claim 1 to 3, it is characterised in that the original resource file of described application program includes the resource file relevant to html.
5. 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 mixed model in record terminal;
Step 204, copies to the original resource file of described application program in the catalogue specified, and loads the resource file needed for described application program 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, and wherein, described more fresh information includes the latest edition number of described application program and updates file;
Step 208, when running described application program, it is judged that the described latest edition number that the prototype version number of the described application program of record stores with memory element is the most consistent;
Step 210, when the prototype version number of the described application program of record is inconsistent with the described latest edition number of storage, described renewal file is obtained from described renewal server, and described renewal file is stored the described catalogue specified, the prototype version number of the described application program of record is revised as described latest edition number simultaneously;
Step 212, when detecting that renewal file has stored the described catalogue specified, and when the version number recorded is latest edition, prompting is updated successfully.
Immediate updating method the most according to claim 5, it is characterised in that described step 210 specifically includes:
When the prototype version number of the described application program of record is inconsistent with the described latest edition number of storage, the user of described terminal is pointed out 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 judge whether to obtain described renewal file from described renewal server according to described instruction.
Immediate updating method the most according to claim 5, it is characterised in that described step 210 also includes:
When getting described renewal file from described renewal server, and detect when described renewal file being stored in the described catalogue specified, the described original resource file in the described catalogue specified is deleted.
8. according to the immediate updating method according to any one of claim 5 to 7, it is characterised in that the original resource file of described application program includes the resource file relevant to html.
CN201310066054.3A 2013-03-01 2013-03-01 Immediate updating device and immediate updating method CN103092665B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310066054.3A CN103092665B (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
CN201310066054.3A CN103092665B (en) 2013-03-01 2013-03-01 Immediate updating device and immediate updating method

Publications (2)

Publication Number Publication Date
CN103092665A CN103092665A (en) 2013-05-08
CN103092665B true CN103092665B (en) 2016-08-03

Family

ID=48205276

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310066054.3A CN103092665B (en) 2013-03-01 2013-03-01 Immediate updating device and immediate updating method

Country Status (1)

Country Link
CN (1) CN103092665B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324507A (en) * 2013-06-25 2013-09-25 宇龙计算机通信科技(深圳)有限公司 Method and apparatus for updating terminal preset application program
CN104111855A (en) * 2014-07-29 2014-10-22 广东能龙教育股份有限公司 Method for dynamic update of iOS (Iphone Operation System) client based on Lua
CN104462208B (en) * 2014-11-03 2018-06-05 深圳市兴森快捷电路科技股份有限公司 A kind of automatic offline method of CAM file
CN104537055A (en) * 2014-12-27 2015-04-22 宁波江东远通计算机有限公司 Updating method and device for electronic documents
CN105138376A (en) * 2015-09-01 2015-12-09 北京皮尔布莱尼软件有限公司 Mixed model application, webpage resource upgrading method thereof, mobile terminal and system
CN105487905A (en) * 2015-11-27 2016-04-13 东软集团股份有限公司 Updating method and device of hybrid application
CN106933614A (en) * 2015-12-30 2017-07-07 广州爱九游信息技术有限公司 A kind of single-page application upgrade method and device
CN105577813B (en) * 2015-12-31 2018-08-14 北京奇艺世纪科技有限公司 A kind of update method and system of web mixing application
CN105847430B (en) * 2016-05-20 2019-04-16 北京小米移动软件有限公司 Mix application page data access method and device
CN106021522A (en) * 2016-05-25 2016-10-12 武汉斗鱼网络科技有限公司 Update method and device for symbol system of client-side
CN105847443A (en) * 2016-05-31 2016-08-10 深圳市佑嘉互动科技有限公司 Method and system for realizing online update of iOS applications
CN107783770B (en) * 2017-08-25 2020-06-05 深圳壹账通智能科技有限公司 Page configuration updating method, device, server and medium

Citations (2)

* Cited by examiner, † Cited by third party
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
CN102905173A (en) * 2012-10-16 2013-01-30 青岛海信信芯科技有限公司 Method and system for upgrading software of televisions or set-top boxes

Family Cites Families (1)

* Cited by examiner, † Cited by third party
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

Patent Citations (2)

* Cited by examiner, † Cited by third party
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
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
CN103092665A (en) 2013-05-08

Similar Documents

Publication Publication Date Title
CN102946599B (en) Realize method and mobile terminal that application program for mobile terminal is downloaded
US9032383B2 (en) Automatically updating applications on a client's device without interrupting the user's experience
US9152521B2 (en) Systems and methods for testing content of mobile communication devices
CN102779151B (en) The searching method of application program, Apparatus and system
US20130219383A1 (en) Using an Application Cache to Update Resources of Installed Applications
WO2014160107A2 (en) Systems and methods for creating or updating an application using a pre-existing application
CN102520987B (en) Online experience and installation method, device, server and management system of application program
CN103365644B (en) A kind of method and device of expanding software function
CN103377127B (en) The development and testing system of web page product, method of testing and device
CN103997452A (en) Information sharing method and apparatus among multiple platforms
CN103733159A (en) Synchronizing digital content
CN102567516B (en) Script loading method and device
KR102045602B1 (en) Live tiles without application-code execution
US20120117127A1 (en) Apparatus and methods for improving uninstall process
CN104639721A (en) Method and device for providing application information in mobile terminal device
US20130019189A1 (en) Augmented editing of an online document
CN102893271B (en) Use the data uploading method of shortcut
EP2369495A1 (en) Browser based objects for copying and sending operations
KR20110052521A (en) Information-processing device, communication system, computer readable medium, and information-processing method
ES2554498T3 (en) Method and device to add menu items in the Android menu
US20150331882A1 (en) Redundant file deletion method, apparatus and storage medium
EP2866158A1 (en) Method for reader to provide service, reader, terminal and computer storage medium
CN104536792A (en) Method and device for eliminating application program residual files
CN102693280A (en) Webpage browsing method, WebApp framework, method and device for executing JavaScript, and mobile terminal
JP2015046075A (en) Information processor, control method therefor, and computer program

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
GR01 Patent grant
C14 Grant of patent or utility model