Unlock instant, AI-driven research and patent intelligence for your innovation.

Odex file generation method and device

A file generation and file technology, applied in the field of communication, can solve the problems of large storage space consumption, high time cost, low user experience, etc., and achieve the effect of saving time cost, reducing occupation, and improving user experience.

Inactive Publication Date: 2017-08-01
ZTE CORP
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0019] The present invention provides an odex file generation and device to at least solve the problems of high time cost, large storage space consumption, and low user experience in generating odex files in related technologies

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
  • Odex file generation method and device
  • Odex file generation method and device
  • Odex file generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] Hereinafter, the present invention will be described in detail with reference to the drawings and examples. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

[0040] It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence.

[0041] In this embodiment, a method for generating an odex file is provided, figure 2 is a flowchart of a method for generating an odex file according to an embodiment of the present invention, such as figure 2 As shown, the process includes the following steps:

[0042] Step S202, determining a single file to be run, wherein the single file to be run may include at least one of the following: boot system file, application program file;

[0043] S...

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 an odex file generation method and device. The method comprises the steps that a single to-be-run file is determined; whether the file type of the single to-be-run file is an odex type is judged; and under the condition that the judgment result is not, the single to-be-run file is made into an odex file. Through the odex file generation method and device, the problems that in the relevant art, time cost is high and large storage space is consumed for odex file generation, and consequently user experience is low are solved, and therefore the effects of saving time cost, reducing occupation of storage space and accordingly improving user experience are achieved.

Description

technical field [0001] The present invention relates to the communication field, in particular to a method and device for generating an odex file. Background technique [0002] After Android 5.0 introduces the Android Runtime (ART for short) virtual machine, the class.dex file in the apk needs to be converted into an odex file recognizable by ART to run. This conversion process can be executed when the version is compiled, or when the device is turned on for the first time. figure 1 It is a flow chart of converting odex files in related technologies, such as figure 1 As shown, the process includes the following steps: [0003] Step S102, start version compilation; [0004] Step S104, judging whether the apk is to be pre-coded into an odex file, if the judging result is yes, go to step S106, otherwise go to step S110; [0005] Step S106, scanning out all apks; [0006] Step S108, running dex2oat to generate an odex file; [0007] Step S110, completing version compilatio...

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/44
CPCG06F9/4406G06F9/445
Inventor 余剑飞
Owner ZTE CORP