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

Method and apparatus for increasing compilation speed of android system

An Android system, high-speed technology, applied in code compilation, program code conversion, instruments, etc., can solve the problem that the time spent on compilation is not much different, and achieve the effect of saving compilation time and reducing the number of modules

Inactive Publication Date: 2018-02-02
SHANGHAI WELDING ELECTRONICS TECH GRP
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] For the compilation of similar versions of the same project, although the source code difference before and after compilation is small, the time spent on each compilation is not much different

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 and apparatus for increasing compilation speed of android system
  • Method and apparatus for increasing compilation speed of android system
  • Method and apparatus for increasing compilation speed of android system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0049] The embodiment of the present invention provides a method for improving the compilation speed of the Android system. The execution subject of the method is a device for improving the compilation speed of the Android system. The device uses git (distributed version control system) and the feature code of the source code file, Determine the modules that need to be compiled and the modules that do not need to be compiled. For the modules that do not need to be compiled, add the historical compilation file corresponding to the module that does not need to be compiled to the target location of the compilation destination folder, and then compile the modules that need to be compiled , thereby significantly increasing compilation speed....

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 and an apparatus for increasing the compilation speed of an android system, and belongs to the technical field of android software development. The method comprises the steps of obtaining a feature code of a current source code file in a current source code directory, and in combination with the feature code of the current source code file and stored feature codesof historical source code files in multiple historical source code directories, determining a to-be-compiled module and a non-compiled module; according to the non-compiled module and stored historical compiled files in multiple historical compiled destination folders, determining a target historical compiled file corresponding to the non-compiled module, and adding the target historical compiledfile to a target position of a current compiled destination folder; and according to the to-be-compiled module, generating a compiled module list, and according to the compiled module list and the target historical compiled file, compiling the current source code file to generate a current compiled file. The quantity of modules needed to be compiled can be reduced, so that a large amount of compilation time is saved.

Description

technical field [0001] The invention relates to the technical field of Android software development, in particular to a method and device for improving the compilation speed of an Android system. Background technique [0002] For the Android system, in the development process of software projects, various types of source codes need to be continuously compiled. Since the amount of source codes is often very large, the compilation speed has been relatively slow during compilation. [0003] In the process of realizing the present invention, the inventor finds that there are at least the following problems in the prior art: [0004] For the compilation of similar versions of the same project, although the source code difference before and after compilation is small, the time spent on each compilation is not much different. Contents of the invention [0005] In order to solve the problems in the prior art, the embodiment of the present invention provides a method and device fo...

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 Applications(China)
IPC IPC(8): G06F8/41
CPCG06F8/443
Inventor 许兴旺
Owner SHANGHAI WELDING ELECTRONICS TECH GRP
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