A Program Loading Method Research and Application during Mobile Phones Softwares’ Development

Author
GuChangLong
Advisor
LiRenFa , GuoYin
School
Hunan University
Major
Computer technology
Classification
TN929.53 Cellular mobile communications systems (mobile phones, mobile phone handsets )
Degree
Master's thesis
Year
2009
Downloads
212
Citations
1

Request the full text

Abstract

In present day feature phones are use static linking, they can compile all the application programs and the kernel into binary files which can be run on a target machine and then download these files to nonvolatile memorizer to run. In this method, the only thing to do is to add the native application programs if you want to perfect the feature phones’features. But it cannot load the third application programs. However, the hardware resources of feature phones system are limit, the increasing native application programs are conflict with the nonvolatile memorizer. So most feature telephones are basically implement the third application programs through middlewares, such as through transplanting J2ME. But the transplantation will add the substantial amount of system overhead; it will take about 1.2MB ROM loading space and about 600KB RAM space at runtime. This method has not a perfect effect.This paper put forward and realized a new method of dynamic loading which based on a project (to implement the dynamic loading of third application programs on feature phones with lower system overhead ) through the research of the embeded system programs’static loading method, the implementation method of functions’jumping table, the feature phones’dynamic loading method of the third application programs and the ELF files’dynamic loading method. Its main ideal is: first, compiling the programs through ADS1.2 on the side of PCs to specify the virtual ROM address and RAM address to form ELF files. In these files contain the addresses (virtual addresses) of all data which need to be reloaded. Then, transforming each segment of ELF file according to its own file format to form a new file. During dynamic loading, the RAM of feature phones requires the same size space of the file, and then the entire file loaded into RAM. Through reloading of the data, the data’s location will be found. The data address minus the virtual RAM address, and adds the first address of the space which applied on the target side. Thus, this completed the reloading. Then let the PC pointer of the feature phones point to the code’s first address, and directly run to complete the dynamic loading.According to dynamic loading method proposed by this paper, it successfully designed and implemented a dynamic loading platform of application programs which is developed by the third party’s in MTK feature phone development environment, and extends the program’s loading function of feature phones. After the test, the dynamic loading platform occupies very few system resources. During loading, it needed the target side 31KB ROM space and less than 1KB RAM space at non-runtime and successfully loaded 2450 third party developers’application programs which meet the MTK programming standards in the 1GB card and occupied less than 600MB space in t card. It runs smoothly, its speed is good, and it gives a very good solution to the issue raised by the application and manufacturers.

Table of contents

Abstract 5-6 Abstract 6-13 Chapter 1 Introduction 13-18 1.1 Purpose and significance 13-15 1.2 The main contents 15 1.3 this major work 15-16 1.4 thesis organization 16-17 1.5 chapter Summary 17-18 Chapter 2 important concepts and related research 18-31 2.1 smart phones and feature phones 18-19 2.2 phones the machine loading process 19-27 2.2.1 cross compiler for embedded systems and link 19-23 2.2.2 GNU make compilation mechanism 23 -24 2.2.3 native program loading linking process 24-27 2.3 smartphone third-party applications dynamically loading method 27-28 2.4 features mobile third-party applications dynamically loading method 28-30 2.5 the project uses dynamic loading method 30 2.6 chapter Summary 30-31 Chapter 3 ELF files dynamically loading the application analysis 31-43 3.1 ELF file structure 31-37 3.1.1 ELF file format 31-32 3.1.2 ELF file header (ELF Header) structure 32-33 3.1.3 ELF file section (Sections) structure 33-35 3.1. 4 ELF file relocation information 35-36 3.1.5 program header table (Program Header) 36-37 3.2 ELF symbol files dynamically resolved 37-40 3.2.1 resolve symbol ELF file information 37-39 3.2.2 symbolic dynamic analysis 39-40 3.3 ELF file re- positioned to achieve 40-41 3.3.1 static relocatable realization 40 3.3.2 dynamic relocation realization 40-41 3.4 ELF file to run the procedure summary 41-42 3.5 Summary 42-43 Chapter 4 dynamic loading platform specific implementation 43-64 <br / > 4.1 Summary 43 4.2 function jump 43-51 4.2.1 function jump table 43-44 4.2.2 functions jump turn table automatically generates 44-51 4.3 relocatable realization 51-57 4.3.1 the system definition file format analysis 51-54 <br / > 4.3.2 relocation achieve 54-57 4.4 external resource access 57-61 4.4.1 string handling 57-58 <br / > 4.4.1.1 string source file format 57-58 4.4.1.2 characters resources custom structures 58 4.4.1.3 characters in resource use 58 < br /> 4.4.2 pictures and ringtones processing 58-60 4.4.3 resources Find 60-61 4.5 PC development environment on the establishment 61-63 4.6 Chapter Summary 63-64 Chapter 5 project Test and Evaluation 64-73 5.1 project Test 64-69 5.1.1 test Environment 64 5.1.2 testing process 64-68 5.1.3 debugging the main problems encountered in the process and solutions 68 - 69 5.2 test results and evaluation 69-72 5.2.1 test Results 69 5.2.2 Evaluation 69-71 5.2.3 papers in practical applications 71-72 5.3 chapter Summary 72-73 Conclusion and Outlook 73-77 conclusion 73-74 platform current problems 74-75 next working assumption 75 Summary 75-77 <br / > References 77-80 Appendix A graduate study published papers and participation during project 80-81 Thanks 81

Related dissertations

  1. Loading technique for embedded software
  2. Research and Implement of Distributed Crawler System Supporting AJAX
  3. Research and Development of Security Platform Management System for Digitized Prison
    ShenYiZhuo ·Sun Yat-sen University ·2013 ·Master's thesis
  4. Xiangyang City First People’s Hospital of Silver Medical Self-help Service System Design and Implementation
  5. Research on Key Issues of the Virtual Machine Consolidation
    ZhanXuSheng ·Northwest Normal University ·2013 ·Master's thesis
  6. Study of Key Theoretical and Technical Features of the Dynamic Loading of High Voltage Overhead Transmission Lines
  7. Research on schedule management of the relocation project enterprise manufacturing equipment of KDN ship
  8. A Heuristic Algorithm for the Pre-marshalling and Relocation Problems Research
  9. The Analysis of Soil Arching Effect of Pile-supported Embankment by Particle Flow Code
    WanShaoJin ·Yangzhou University ·2013 ·Master's thesis
  10. Study of the Reconstruction Situation and Problem of"Village in City"
    WangXinZi ·Zhengzhou University ·2013 ·Master's thesis
  11. The Plight of Rebuilding the Villages Inside the City with the Way Out
    XuHaiZhen ·Northwest Normal University ·2012 ·Master's thesis
  12. Research and Realization on Algorithm for Dicom Medical Image Acceleration and Compression
    LiYuWen ·Northeastern University ·2009 ·Master's thesis
  13. Research of the Sotfware Dynamic Evolution Method Based on NET Reflection Mechanism
    DuanLian ·Jilin University ·2012 ·Master's thesis
  14. Design and Implementation of μC/OS-Ⅱ with Dynamic Loading Based on TS201
  15. Ibm Mainframe Binder Component Design and Implementation
  16. Legal Analysis on Rural Housing Demolition during Urbanization Process
    WangJia ·North China University of Technology ·2013 ·Master's thesis
  17. Collective Land House Dismantlement Policy Research
  18. The Relocation of the Great China University in Guizhou
    XieXiaoBo ·Donghua University ·2013 ·Master's thesis
  19. A Study of Japanese American Internment Capms during WW||
    SongQingQing ·Zhengzhou University ·2012 ·Master's thesis
  20. The Relocation of Southeast Asian Chinese Education after the Cold War
    LiYa ·Jinan University ·2013 ·Master's thesis