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

Class verification method and device in application program

An application and verification method technology, applied in the field of class verification, can solve problems such as poor user experience, slow application response, and long time consumption

Active Publication Date: 2021-11-16
HUAWEI TECH CO LTD
View PDF8 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004]The slow path is due to various reasons that cause the dynamic verification of classes when the application is running, which takes a long time, resulting in slow application response, and users using It may take a long time to wait for the application, and the user experience is poor

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
  • Class verification method and device in application program
  • Class verification method and device in application program
  • Class verification method and device in application program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] The method in the embodiment of the present application may be applied in long term evolution (long term evolution, LTE), and may also be applied in a fifth generation mobile communication (5Generation, 5G) system, or a future mobile communication system.

[0058] In order to better understand the methods disclosed in the embodiments of the present application, the following firstly describes the applicable application scenarios of the embodiments of the present application.

[0059] Exemplary, figure 1 It is a schematic diagram of a scenario of starting an application (or called an application program) in a terminal device. figure 1 A in a is a schematic diagram of a main screen of a terminal device provided in an embodiment of the present application. Such as figure 1 As shown in a, the main screen of the terminal device includes multiple application icons, time icons, communication signal icons, and battery icons, etc., wherein the application icons may include app...

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 embodiment of the invention provides a class verification method and device in an application program, and is applied to the field of communication. According to the embodiment of the invention, when it is detected that a first scene of an application starts, a predicted loading class of the first scene is obtained; obtaining a first thread used for class verification loading; the first thread is different from a main thread of the application. And performing verification loading of the class on the first thread according to the predicted loading class. And calling the verification loading result of the class of the first thread on the main thread. In this way, when it is detected that the first scene starts, the asynchronous thread is used for conducting class verification on part or all of the prediction loading class, so that the verification loading task of the main thread can be shared, and the class verification efficiency is improved.

Description

technical field [0001] The present application relates to the technical field of artificial intelligence (AI), and in particular to a class verification method and device in an application program. Background technique [0002] The operating system system of the terminal is usually implemented using a computer programming language, for example, it may include a high-level language such as Java. Taking Java as an example as a computer programming language, a Java virtual machine (java virtual machine, JVM) is usually introduced to improve development efficiency. When the operating system supports the running of the application program (APP), the Java virtual machine usually needs to execute the class loading (Verify class) process. Since the generation of the class (class) file in the Java language is not uniform, when performing class loading, first Need to perform class verified loading. [0003] Typically, class loading consists of a fast path and a slow path. The fast ...

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): G06F9/445
CPCG06F9/44505
Inventor 李涛张大鹏王小建
Owner HUAWEI TECH CO LTD