Local code patch updating method and device based on Android platform

A local code, Android platform technology, applied in the computer field, can solve the problems of limited execution mode, difficulty in predicting, and the code cannot be updated locally, and achieves the effect of improving flexibility and convenience.

Active Publication Date: 2017-05-17
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. It is necessary to predict the code fragments that need to be updated in the future before developing the code, and then write the code related to the update into the sub-Dex file. This kind of prediction is very diffi

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
  • Local code patch updating method and device based on Android platform
  • Local code patch updating method and device based on Android platform
  • Local code patch updating method and device based on Android platform

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0017] In order to further explain the technical means and effects of the present invention to achieve the intended purpose of the invention, the specific embodiments, structure, features and effects of the present invention will be described in detail below with reference to the accompanying drawings and preferred embodiments.

[0018] See figure 1 , figure 1 It is a schematic diagram of the structure of a mobile terminal device.

[0019] The mobile terminal includes a memory 102, a storage controller 104, one or more (only one is shown in the figure) processor 106, peripheral interface 108, radio frequency module 110, positioning module 112, camera module 114, audio module 116, touch control The screen 118 and the button module 120. These components communicate with each other through one or more communication buses / signal lines 122.

[0020] Understandable, figure 1 The structure shown is only for illustration, and the mobile terminal may also include figure 1 More or fewer compo...

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

A local code patch updating method based on an Android platform comprises the steps that a target program is started, targets in executable sub-files for local code updating are configured into various loads in main executable files in an installation pack prior to the target program; memory patch files are loaded to shield the same type of caused program running errors existing in the multiple executable files; a target program is started again, various target types in the executable files are loaded, and other types in the main executable files except the target types are loaded. In addition, the invention further provides a local code patch updating device based on the Android platform, local update of codes in the executable files can be achieved, code snippets required to be updated in the future are not needed to be predicted before code development, and accordingly the flexibility and convenience of code update can be improved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for updating local code patches based on an Android platform. Background technique [0002] In the prior art, in the Android system, only when the code area to be updated is known in advance, the code to be updated can be implemented in the sub-Dex file, and the main Dex file uses reflection calling to call All codes to be updated are partial code update methods currently used, wherein the main Dex file refers to the classes.dex file in the APK (Android Package, Android installation package) file. When the code in the sub-Dex file has a new version, the sub-Dex file is dynamically updated and replaced. [0003] But there is following defective in above prior art: [0004] 1. It is necessary to predict the code fragments that need to be updated in the future before developing the code, and then write the code related to the update into the sub-Dex file. Thi...

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/445
Inventor 江威蒋宁波吴昊
Owner TENCENT TECH (SHENZHEN) CO LTD
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