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

Software installment method and system for embedded platform

An installation software and embedded technology, which is applied in the direction of program control devices, special data processing applications, instruments, etc., can solve the problems of high bandwidth costs for download service providers and end users, slow download and installation packages, and large lengths of installation packages. Achieve the effect of shortening the download waiting time, fast speed, and saving bandwidth

Active Publication Date: 2013-08-14
SHANGHAI ZHANGMEN TECH
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The compression method of the android apk of the prior art carries out zip compression to each file in the bag respectively, causes the compression ratio not high, the length of the installation package is still relatively large, and the bandwidth cost of the download service provider and the end user is all relatively high, It is also slow for users to download the installation package

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
  • Software installment method and system for embedded platform
  • Software installment method and system for embedded platform
  • Software installment method and system for embedded platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] The method and system for installing software on an embedded platform proposed by the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0052] The invention provides a method for installing software on an embedded platform, which includes a compression step and a decompression step. The embedded platform may be the mainstream Android platform at present.

[0053] Such as figure 1 As shown, the compression steps include:

[0054] Step S1, decompressing the original apk installation package into a directory, the directory includes assets directory, lib directory, res directory, Manifest.xml file and classes.dex file.

[0055] Step S2, packing the directory into a file in zip format, the file in zip format is uncompressed, and its file header structure includes the following figure 2 components shown.

[0056] Step S3, compressing the file in the zip format according to an algorithm wi...

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 provides a software installment method and system for an embedded platform. The method comprises the following steps: decompressing an original android package (apk) installation package to obtain multiple directories and files; packing the directories and files into an uncompressed file of a zip format; and using an algorithm with a compression ratio higher than that of a DEFLATE algorithm, such as a Lempel-Ziv-Markov chain-Algorithm (Lzma) algorithm or Lzma 2 algorithm, to compress the whole file to reduce the size of the installation package. An algorithm decompression library is stored in a lib directory of a new apk installation package; and compared with java codes in the prior art, the algorithm decompression library has faster decompression. According to the invention, under the condition of an online installation mode, the bandwidth of a server can be saved, the waiting time for download is shortened, and user experience is improved.

Description

technical field [0001] The invention relates to the application field of an embedded platform, in particular to a method and a system for installing software on an embedded platform. Background technique [0002] APK is the abbreviation of Android Package, that is, the Android installation package. In the prior art, the compression method of zip is usually adopted, and each file in the installation program package of each software to be installed on the Android platform is zip-compressed respectively, and then packaged into a file to generate an installation package with the suffix apk , which contains the binary code, resources, configuration files, etc. of the application software. Therefore, after decompressing an APK file, it usually includes: [0003] assets directory, the files in this directory will not be compiled into binary form; [0004] The lib directory stores dynamic library files; [0005] res directory, store resource files; [0006] Manifest.xml is the g...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/445G06F17/30
Inventor 陈大年郭忠祥马飞涛
Owner SHANGHAI ZHANGMEN TECH
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