CN105847443A - Method and system for realizing online update of iOS applications - Google Patents

Method and system for realizing online update of iOS applications Download PDF

Info

Publication number
CN105847443A
CN105847443A CN201610373401.0A CN201610373401A CN105847443A CN 105847443 A CN105847443 A CN 105847443A CN 201610373401 A CN201610373401 A CN 201610373401A CN 105847443 A CN105847443 A CN 105847443A
Authority
CN
China
Prior art keywords
client
application
messenger
update
file
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.)
Pending
Application number
CN201610373401.0A
Other languages
Chinese (zh)
Inventor
周聪伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen City Lime Interactive Technology Development Co Ltd
Original Assignee
Shenzhen Enjoyer Interactive Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Enjoyer Interactive Technology Co Ltd filed Critical Shenzhen Enjoyer Interactive Technology Co Ltd
Priority to CN201610373401.0A priority Critical patent/CN105847443A/en
Publication of CN105847443A publication Critical patent/CN105847443A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/303Terminal profiles

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method and a system for realizing online update of iOS applications. The method comprises the steps that an automatic replacement method framework is compiled and integrated into applications of a client; a server sends a messenger file to the client; the client reads the messenger file, and executes an update operation on the corresponding application through the automatic replacement method framework. In the method and the system provided by the invention for realizing online update of the iOS applications, the automatic replacement method framework is integrated in each application of the client, so that the server can send the messenger file to the client directly when the applications are updated because functions of the applications are required to be modified or bugs are required to be repaired, and the automatic update operation is completed by the automatic replacement method framework in the applications of the client. Therefore, the applications can be updated in real time, the update comprises function modifying, bug repairing and the like, a circumstance that the usage of users is affected by long-time emergence of bugs is avoided, and the user experience is greatly improved.

Description

Method and system for realizing iOS application online update
Technical Field
The invention relates to the technical field of internet, in particular to a method and a system for realizing online updating of iOS application.
Background
With the explosive growth of iPhone smart phone users, more and more Internet enterprises enter the development of iOS mobile terminals, and the applications in the App Store market are countless. At present, a method for solving the problem that a bug appears in an online application or a small part of functions of the online application is modified for an enterprise developing an iOS mobile terminal application is to resubmit an application package, the method usually needs to wait for auditing of an App Store for two weeks, a user needs to continuously tolerate the bug during auditing, user experience is greatly reduced, the method is a great test for the user, and the user may abandon the application because the user cannot tolerate the bug, and finally the user runs away.
Disclosure of Invention
The invention mainly aims to provide a method and a system for realizing the online updating of iOS application, aiming at solving the defect that the user experience is deteriorated due to the long updating period when bug occurs in the prior art.
In order to achieve the above object, the present invention provides a method for implementing online update of an iOS application, comprising the steps of:
writing an automatic replacement method framework and integrating the automatic replacement method framework into the application of the client;
the server side sends a messenger file to the client side;
and the client reads the messenger file and executes updating operation on the corresponding application through the automatic replacement method framework.
Wherein the automatic replacement method framework is written using the objective-c dynamic language property.
Wherein the messenger file is written by lua, javascript or html5 script language.
Wherein, the step that the server sends the messenger file to the client further comprises:
deploying a messenger file issuing interface at the server end; when the update is needed, the server side sends the messenger file to the client side through the messenger file sending interface.
And in the step of reading the messenger file by the client and executing the updating operation on the corresponding application through the automatic replacement method framework, the client executes the updating operation through the automatic replacement method framework when the corresponding application is online.
A system for realizing iOS application online update comprises a server side and a client side;
the server is used for issuing messenger files to the client;
and the client integrates an automatic replacement method framework in the application and is used for executing updating operation on the corresponding application through the automatic replacement method framework when receiving the messenger file from the server.
The server is also provided with a messenger file issuing interface for the client to call.
In the method and the system for realizing the online update of the iOS application, because the automatic replacement method framework is integrated in each application of the client, when the application is updated due to the need of an application change function or bug repair and the like, the server can directly send messenger files to the client, and the automatic update operation is completed by the automatic replacement method framework in the client application, so that the application can be updated in real time, including function modification, bug repair and the like, the influence on the use of a user due to long-term bug occurrence is avoided, and the user experience is greatly improved.
Drawings
Fig. 1 is a flowchart of a method for implementing online update of an iOS application according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a system for implementing online update of an iOS application according to an embodiment of the present invention;
the implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The method for realizing the online updating of the iOS application provided by the embodiment mainly comprises the following three stages: the client side compiles a framework of an automatic replacement method, the server sends a messenger file to the client side, and the client side automatically replaces an application program. As will be described in detail below.
The first stage is as follows: client writing replacement method framework
First, the iOS developer writes an auto-replace method framework using the object-c dynamic language property. This automatic replacement method framework is then integrated into the client's application.
And a second stage: the server sends the messenger file to the client
First, iOS developers write scripting languages as messenger files. Then, the server transmits the messenger file to the client in a file form.
And a third stage: client-side auto-replace application
First, the client downloads the messenger file from the server and stores it locally in the handset. Then, the script language in the letter is read to replace the method in the application program.
The implementation method of the present invention is described below by taking an online bug modification as an example, and referring to fig. 1, the implementation method includes the following steps:
step 101, a client developer writes an automatic replacement method framework by using the object-c dynamic language characteristics and integrates the automatic replacement method framework into an application, so that the application has an on-line bug modification function.
And step 102, deploying an interface capable of sending the messenger file by the server side for the client side to call.
Step 103, the client application is on line and finds some bugs, wherein some fatal bugs may cause the program to crash.
And step 104, the client developer writes messenger files by applying scripting languages such as lua, javascript, html5 and the like according to the discovered bugs.
Step 105, the server sends the messenger file to the client.
And 106, the client receives the messenger file issued by the server during running, reads the messenger file and automatically replaces the application method with the bug by the automatic replacement method framework, so that the bug is successfully modified.
Correspondingly, referring to fig. 2, the embodiment further provides a system for implementing online update of the iOS application, including a server and a client; wherein,
the server is deployed with a messenger file issuing interface and used for issuing a messenger file to the client through the messenger file issuing interface when the application needs to be updated;
and the client integrates an automatic replacement method framework in the application and is used for executing updating operation on the corresponding application through the automatic replacement method framework when receiving the messenger file from the server.
In the system, according to different requirements, the server side can actively send the messenger file to the client side, and the client side can also actively request the server side to acquire the messenger file, so that the use experience of a user can be further improved.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (7)

1. A method for realizing online updating of iOS application is characterized in that the method comprises the following steps:
writing an automatic replacement method framework and integrating the automatic replacement method framework into the application of the client;
the server side sends a messenger file to the client side;
and the client reads the messenger file and executes updating operation on the corresponding application through the automatic replacement method framework.
2. The method for realizing the online update of the iOS application according to claim 1, wherein the automatic replacement method framework is written using an objective-c dynamic language property.
3. The method for realizing online update of the iOS application as claimed in claim 1, wherein in the method, the messenger file is written by lua, javascript or html5 script language.
4. The method for realizing the online update of the iOS application as claimed in claim 1, wherein the step of the server side issuing the messenger file to the client side further comprises:
deploying a messenger file issuing interface at the server end; when the update is needed, the server side sends the messenger file to the client side through the messenger file sending interface.
5. The method for implementing online update of an iOS application as claimed in claim 1, wherein the step of the client reading the messenger file and performing the update operation on the corresponding application through the auto-replace method framework, the client performing the update operation through the auto-replace method framework while the corresponding application is online.
6. A system for realizing the online update of iOS application is characterized by comprising a server side and a client side;
the server is used for issuing messenger files to the client;
and the client integrates an automatic replacement method framework in the application and is used for executing updating operation on the corresponding application through the automatic replacement method framework when receiving the messenger file from the server.
7. The system for realizing the online update of the iOS application as claimed in claim 6, wherein the server is further provided with a messenger file issuing interface for the client to call.
CN201610373401.0A 2016-05-31 2016-05-31 Method and system for realizing online update of iOS applications Pending CN105847443A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610373401.0A CN105847443A (en) 2016-05-31 2016-05-31 Method and system for realizing online update of iOS applications

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610373401.0A CN105847443A (en) 2016-05-31 2016-05-31 Method and system for realizing online update of iOS applications

Publications (1)

Publication Number Publication Date
CN105847443A true CN105847443A (en) 2016-08-10

Family

ID=56595184

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610373401.0A Pending CN105847443A (en) 2016-05-31 2016-05-31 Method and system for realizing online update of iOS applications

Country Status (1)

Country Link
CN (1) CN105847443A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107092472A (en) * 2016-08-19 2017-08-25 口碑控股有限公司 A kind of dynamic publishing method and equipment
CN109408098A (en) * 2018-12-21 2019-03-01 江苏满运软件科技有限公司 Dynamic updating method, system, electronic equipment and the storage medium of application

Citations (3)

* 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
CN103092665A (en) * 2013-03-01 2013-05-08 畅捷通信息技术股份有限公司 Immediate updating device and immediate updating method
CN103605551A (en) * 2013-11-28 2014-02-26 金蝶软件(中国)有限公司 Plugin updating method, system and relevant equipment based on IOS program

Patent Citations (3)

* 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
CN103092665A (en) * 2013-03-01 2013-05-08 畅捷通信息技术股份有限公司 Immediate updating device and immediate updating method
CN103605551A (en) * 2013-11-28 2014-02-26 金蝶软件(中国)有限公司 Plugin updating method, system and relevant equipment based on IOS program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107092472A (en) * 2016-08-19 2017-08-25 口碑控股有限公司 A kind of dynamic publishing method and equipment
CN109408098A (en) * 2018-12-21 2019-03-01 江苏满运软件科技有限公司 Dynamic updating method, system, electronic equipment and the storage medium of application

Similar Documents

Publication Publication Date Title
US9836380B2 (en) Systems and methods for testing terminal applications
CN102622241B (en) A kind of method for upgrading software and device
US9262154B2 (en) Enhanced upgrade path
US8443084B2 (en) Enhanced upgrade path
CN107391104B (en) Client and reactive native code update dependence management method, device and system
CN105446712B (en) Application program defect repairing method and device
US20160154629A1 (en) Application builder based on metadata
CN104615462B (en) Cross-platform Mobile solution generation service end and system
CN106686200B (en) Mobile application program updating method, mobile terminal and updating system
CN110020276B (en) Compatibility processing method and device for embedding H5 page in APP
TW201917569A (en) Android dynamic framework and method thereof
CN107463405B (en) Application program updating method and device
CN113704110B (en) Automatic testing method and device for user interface
CN108228190B (en) Persistent integration and delivery methods, systems, devices, and computer-readable storage media
CN109840105A (en) A kind of hot update method that do not withdraw
CN104111843A (en) Sandbox based script updating method and system
CN104809011A (en) Application program management method
CN105847443A (en) Method and system for realizing online update of iOS applications
KR101599471B1 (en) Apparatus, system, method and readable recording medium of managing a project file
CN107092472B (en) Dynamic publishing method and device
CN107798244B (en) Method and device for detecting remote code execution vulnerability
CN110569198A (en) Method and device for automatically testing service function
CN109428936B (en) APP upgrading method, device, system, electronic equipment and storage medium
CN105204998B (en) A kind of adjustment method and device of mobile terminal Kernel Symbol Table
CN114546479B (en) Method and device for prompting incompatibility of browsers

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20190403

Address after: 518000 18th Floor, A8 Music Building, 1002 Keyuan Road, Nanshan High-tech Park, Shenzhen, Guangdong Province

Applicant after: Shenzhen city lime Interactive Technology Development Co. Ltd.

Address before: Room 201, Building A, No. 1 Qianwan Road, Qianhai Shenzhen Cooperation Zone, Shenzhen, Guangdong 518000 (Admitted to Shenzhen Qianhai Business Secretary Co., Ltd.)

Applicant before: Shenzhen Youjia Interaction Technology Co., Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160810