Compression of executable document in embedded type system and its loading method

An embedded system and file execution technology, applied in the direction of program loading/starting, program control devices, etc., can solve the problems of increased data operation delay, large extra overhead, system performance impact, etc., and achieve high compression efficiency and storage medium. The effect of space reduction and cost reduction

Active Publication Date: 2006-08-09
ZTE CORP
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

So in fact this way is very uneconomical
[0012] 2. The compressed file system needs to increase the processing of the compressed driver layer in the entire file system operation, so it will inevitably have an impact on the performance of the system
In an embedded system using a compressed file system, all file data operations will be processed by the compressed driver layer, resulting in a large additional overhead for the system, which is especially noticeable in embedded systems with limited system processing capabilities
[0013] 3. The existing compressed file systems have certain media dependencies, but the actual embedded system construction methods vary widely, and it may not be possible to find a compressed file system that meets the requirements in all embedded system storage configurations.
[0014] 4. The compression rate of the compressed file system is not high
In order to achieve a higher data compression rate, it is necessary to compress a larger capacity of related data, and compressing more related data will lead to an increase in the delay of data operations
In order to balance performance and efficiency, the compression efficiency of general compressed file systems is not very high

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
  • Compression of executable document in embedded type system and its loading method
  • Compression of executable document in embedded type system and its loading method
  • Compression of executable document in embedded type system and its loading method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] Below in conjunction with accompanying drawing, the implementation of technical scheme is described in further detail:

[0045] As shown in FIG. 1 , it is a structural diagram of an ordinary executable file in the prior art, which sequentially includes a file header, a program segment description table, and several program segments 1-N, which are assembled to form an executable file.

[0046] In the embedded system, the cost of the system hardware can be reduced due to saving the use of the storage space as much as possible. Therefore, the method of the present invention adopts a specific compression method to compress the executable file. The file structure after compression is shown in Figure 2 As shown, it includes a new file header in turn, which contains compressed execution file information; a new program segment description table, which contains new segment attributes such as compression method; according to the recorded compression method, corresponding to each c...

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 relates to a compressing and loading method of executable files in an embedded system, including the steps: using the executable file processing method to process an originally-structured executable file, modifying the file identification symbols in the file head of the executable file, keeping other data invariant to express the executable file as an executable file processed by compression, so as to generate the compressed executable file; identifying the file head of the compressed executable file: if it is the compressed executable file, completing the branches of data decompression to decompress all the data and code segments; placing the decompressed data segments in the accurate positions in a memory according to the rule that the system normally loads an executable file. It has wide application range, high reliability and low cost for embedded systems.

Description

technical field [0001] The method of the invention relates to a method for compressing and loading an executable file, in particular to a method for compressing an executable file in an embedded operating system and loading a compressed executable file. Background technique [0002] In a computer system, in order to reduce the storage space occupied by files, files are usually stored in a compressed manner, and file compression can be divided into two types: transparent compression and opaque compression. [0003] The so-called opaque compression is the most commonly used compression method. This method uses a specific compression tool (program) and a specific compression algorithm to compress the source file to obtain a compressed file that occupies less space; When extracting a file, use corresponding tools and algorithms to decompress the compressed file to obtain the source file. Since the operating system and other programs in the system cannot directly use the compres...

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/445
Inventor 朱佐亮芦东昕白英杰黄烨明杨新王晓东
Owner ZTE CORP
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