Dex optimization method and system, intelligent terminal and storage medium

An optimization method and smart terminal technology, applied in the direction of program code conversion, software deployment, instruments, etc., can solve the problems that users need to wait for a long time to start up, and the system starts up for a long time, so as to avoid long waiting time and improve efficiency.

Pending Publication Date: 2021-03-05
SHENZHEN TCL NEW-TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The main purpose of the present invention is to provide a processing method, system, intelligent terminal and storage medium for bytecode optimization, aiming to sol

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
  • Dex optimization method and system, intelligent terminal and storage medium
  • Dex optimization method and system, intelligent terminal and storage medium
  • Dex optimization method and system, intelligent terminal and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to make the object, technical solution and advantages of the present invention more clear and definite, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0033] The dex optimization method described in the preferred embodiment of the present invention, such as figure 1 As shown, the dex optimization method comprises the following steps:

[0034] Step S10, obtaining the target package name corresponding to the installation package to be optimized.

[0035] Specifically, the dex optimization (that is, bytecode optimization) in the APK (installation package) can speed up the startup speed of the software and reduce the need for RAM (Random Access Memory, random access memory, also called main memory, which is directly connected to the CPU) ...

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 dex optimization method and system, an intelligent terminal and a storage medium. The method comprises the steps of obtaining a target package name corresponding to a to-be-optimized installation package; if a target check code corresponding to the target package name is stored in a pre-stored record file, reading the target check code corresponding to the target packagename in the record file; calculating a verification check code of the to-be-optimized installation package; and if the verification check code is the same as the target check code, not performing dexoptimization on the to-be-optimized installation package. According to the invention, the information of dex optimization failure is recorded, the recorded dex optimization is prevented from being carried out again before the next optimization, the dex optimization efficiency is improved, and the user waiting time is prevented from being too long.

Description

technical field [0001] The present invention relates to the technical field of computer applications, in particular to a bytecode optimized processing method, system, intelligent terminal and storage medium. Background technique [0002] The Android (Android) system is an operating system based on a virtual machine. The development of the virtual machine has experienced from Dalvik (Dalvik is a virtual machine designed by Google for the Android platform) to ART (ART is a virtual machine designed by Google for the Android platform. Virtual machine is the abbreviation of Android Runtime, which can be understood as the process of Android runtime system). In order to allow the APK (Android Package, that is, the Android installation package) to run on all virtual machines without modification, Google has adopted a similar adapter mode, that is, one more process before allowing the virtual machine to run, which is dex (bytecode) optimization, dex The goal of optimization on the A...

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): G06F8/41G06F8/61G06F21/51G06F21/64
CPCG06F8/443G06F8/61G06F21/51G06F21/64
Inventor 彭芃
Owner SHENZHEN TCL NEW-TECH CO LTD
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