Method for dynamic update of iOS (Iphone Operation System) client based on Lua

A dynamic update, client-side technology, applied in the direction of program loading/starting, telephone communication, electrical components, etc., can solve problems such as user experience gap, and achieve the effect of excellent performance and good user experience

Inactive Publication Date: 2014-10-22
GUANGDONG NENGLONG EDUCATION
View PDF4 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] If the client is made into a Web App based on Javascript and WebKit, updating the client does not need to be reviewed, which is very convenient, and the user does not need to re-download and install the entire App

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for dynamic update of iOS (Iphone Operation System) client based on Lua
  • Method for dynamic update of iOS (Iphone Operation System) client based on Lua

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0033] This technical solution is based on the following technical foundation:

[0034] 1. Lua's design philosophy is to make it glue other development languages. It provides a series of Lua C APIs. According to its specifications, we can write a series of meta-functions as an application program written in Lua and other languages. Glue the code.

[0035] 2. As a dynamic language, Object-C provides a rich runtime API, provides dynamic reflection of class objects based on class names, and dynamic binding of methods based on method names.

[0036] 3. Object-C can be easily mixed with C to program, providing support for the writing of glue code.

[0037] Such as Figure 1-Figure 2 Shown here is a Lua-based system and method for dynamically updating iOS client functions of the present invention. The method includes the following steps:

[0038] A. Place the business logic code written in the Lua scripting language in the designated location of the server, and configure the version number ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for the dynamic update of an iOS (Iphone Operation System) client based on a Lua. The method comprises the following steps: A, placing a business logic code prepared by a Lua script language on the appointed position of a server, and equipping the version number of an App code module of the relevant client on the server at the same time; B, when the client starts for operation, renewing the business logic code of a Lua script by visiting the server and inquiring the version number of the relevant App code module according to the version number; C, when the client is performed to the App code module, dynamically loading the downloaded business logic code of the Lua script through a Lua CAPI (Communication Application Program Interface), and parsing the business logic code of the Lua script by a Lua parser and a bridge in a client program, so as to achieve an aim of dynamic update.

Description

technical field [0001] The invention relates to an iOS client, in particular to a method for dynamically updating functions of the Lua-based iOS client. Background technique [0002] For an App that has already been launched on the Apple Store, when the developer needs to update the client, the most traditional approach is to submit the recompiled and generated complete App to the Apple Store and wait for the App Store's review. After the review is passed, the user You can re-download and install the App to achieve the purpose of updating. [0003] Due to the limitation of the iOS platform, it is not allowed to dynamically load executable programs compiled from native code, which means that developers cannot organize the software architecture of the App in the form of dynamic link libraries, which means that they cannot be updated separately. Dynamic link library to complete the update of the client App. [0004] If the client is updated in the traditional way, it often ta...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/445H04L29/08H04M1/725
Inventor 余敬龙
Owner GUANGDONG NENGLONG EDUCATION
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products