Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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. However, the operation of the Web App depends on WebKit and is subject to the Javascript parsing library. The impact of execution performance makes the user experience have a certain gap compared with the original 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

Embodiment Construction

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

[0034] 1. The design concept of Lua is to make it bond with other development languages. It provides a series of Lua C APIs. According to its specifications, we can write a series of meta-functions as a link between Lua and applications written in other languages. Glue the code.

[0035] 2. As a dynamic language, Object-C provides a rich API at runtime, and provides features such as dynamically reflecting class objects according to class names and dynamically binding methods according to method names.

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

[0037] like Figure 1-Figure 2 Shown, be the system and the method for a kind of iOS client function dynamic update based on Lua of the present invention, the method may further comprise the steps:

[0038] A. Place the business logic code written in Lua scripting language in the specifi...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products