WO2017128589A1 - 可运行文件生成方法、art虚拟机运行方法和装置 - Google Patents

可运行文件生成方法、art虚拟机运行方法和装置 Download PDF

Info

Publication number
WO2017128589A1
WO2017128589A1 PCT/CN2016/085153 CN2016085153W WO2017128589A1 WO 2017128589 A1 WO2017128589 A1 WO 2017128589A1 CN 2016085153 W CN2016085153 W CN 2016085153W WO 2017128589 A1 WO2017128589 A1 WO 2017128589A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
run
odex
application
determining
Prior art date
Application number
PCT/CN2016/085153
Other languages
English (en)
French (fr)
Inventor
余剑飞
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017128589A1 publication Critical patent/WO2017128589A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating

Definitions

  • Embodiments of the present invention relate to, but are not limited to, the field of communications, and in particular, to a runnable file generating method, an ART virtual machine running method and apparatus.
  • Android (Android) 5.0 introduces the Android runtime (ART, Android Runtime) virtual machine, you need to convert the class.dex file in the Android installation package (apk, Android Package) into an ART recognizable odex file to run.
  • odex is a runnable file extracted from the application apk on Android.
  • the classes.dex file in the apk is optimized by the dex optimization process to generate a dex file separately.
  • the classes.dex file in the original apk will be Reserved.
  • FIG. 1 is a flowchart of converting an odex file in the related art, as shown in FIG. 1, including:
  • Step S102 starting version compilation
  • Step S104 it is determined whether apk pre-coded the odex file, if the determination result is yes, proceed to step S106; if the determination result is no, proceed to step S110;
  • Step S106 scanning out all apk
  • Step S108 running dex2oat to generate an odex file
  • Step S110 completing version compilation
  • Step S112 downloading the version to the device
  • Step S114 the device starts to play the boot animation for the first time
  • Step S116 it is determined whether the odex file already exists, if the determination result is yes, proceed to step S122; if the determination result is no, proceed to step S118;
  • Step S118 scanning out all apk
  • Step S120 running dex2oat to generate an odex file
  • Step S122 the startup completion is entered into the standby interface
  • Step S124 clicking an application icon from the main menu
  • step S126 the use of apk is started.
  • the first one is: scan all the apks and generate the odex file at the time of version compilation, that is, the above steps S106 and S108; It is to scan all apks at one time and generate an odex file at the first booting, that is, step S118 and step S120 described above.
  • the generation of the odex file has a high time cost and a large storage space, resulting in a problem of poor user experience.
  • the embodiment of the invention provides a method and a device for generating a runnable file, which can reduce the time cost of generating an odex file and reduce the storage space, thereby improving the user experience.
  • the embodiment of the present invention further provides an ART virtual machine running method and an ART virtual machine, which can at least reduce the time cost of generating an odex file, reduce storage space, and thereby improve user experience.
  • An embodiment of the present invention provides a method for generating a runnable file, including:
  • the single to-be-run file is generated to generate an odex file.
  • the to-be-run file includes at least one of the following: a boot system file, an application file.
  • the determining, by the single file to be run includes: receiving an operation of an application corresponding to the to-be-run file for a file to be run.
  • determining whether the odex file exists in the file of the single file to be run includes:
  • Determining whether the single file to be run includes a file with a .doex extension when the single to-be-run file is run for the first time;
  • the single file to be run includes a file with a .doex extension
  • the method further includes: running the single to-be-run file;
  • the method further includes: running the generated odex file.
  • the embodiment of the invention further provides an APT virtual machine running method, completes the booting process and enters the standby interface, including:
  • the single to-be-run file is generated to generate an odex file
  • the to-be-run file includes at least one of the following: a boot system file, an application file.
  • the determining, by the single file to be run includes: receiving an operation of an application corresponding to the to-be-run file for a file to be run.
  • the to-be-run file is an application file; and determining the single to-be-run file includes:
  • determining whether the odex file exists in the file of the single file to be run includes:
  • Determining whether the single file to be run includes a file with a .doex extension when the single to-be-run file is run for the first time;
  • the single file to be run includes a file with a .doex extension
  • the embodiment of the invention further provides a runnable file generating device, comprising:
  • a judging module configured to determine whether an odex file exists in the file of the single file to be run
  • the generating module is configured to generate the odex file by the single to-be-run file if the determination result is no.
  • the single to-be-run file includes at least one of the following: a boot system file, an application file.
  • the determining module is specifically configured to: receive an operation for starting an application corresponding to the to-be-run file for a file to be run.
  • the to-be-run file is an application file;
  • the determining module includes: a receiving unit,
  • the determining module includes:
  • a first determining unit configured to determine whether the single to-be-run file is run for the first time
  • a second determining unit configured to determine, when the single to-be-run file is run for the first time, whether the file to be included in the single file to be run includes a file with a .doex extension: when the single file to be run is in the file In the case of a file with a .doex extension, it is determined that the single file to be run is stored In the odex file.
  • it also includes:
  • Running a module configured to run the single to-be-run file after determining that the file type of the single file to be run is the odex type; and/or, after generating the odex file by using the single to-be-run file The generated odex file.
  • the embodiment of the invention further provides an APT virtual machine, comprising the executable file generating device according to any one of the preceding claims.
  • the embodiment of the present invention further provides a computer readable storage medium storing computer executable instructions for executing the odex file generating method of any of the above, and/or the computer executable instructions The method for executing the APT virtual machine described in any of the above.
  • determining a single file to be run determining whether the file type of the single file to be run is an odex type; and if the determination result is no, generating an odex file for the single file to be run, and solving
  • the odex file in the related art has a high time cost, a large storage space, and a low user experience, which reduces the time cost of generating an odex file and reduces the storage space, thereby improving the user experience.
  • FIG. 2 is a flow chart of a method for generating a runnable file according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a method for operating an ART virtual machine according to an embodiment of the present invention
  • FIG. 4 is a block diagram showing the structure of a runnable file generating apparatus according to an embodiment of the present invention.
  • FIG. 5 is a block diagram showing a preferred structure of the determining module 42 in the executable file generating apparatus according to an embodiment of the present invention
  • FIG. 6 is a block diagram showing a preferred structure of the determining module 44 in the executable file generating apparatus according to an embodiment of the present invention
  • FIG. 7 is a block diagram showing a preferred structure of a runnable file generating apparatus according to an embodiment of the present invention.
  • a method for generating a runnable file including:
  • Step S202 determining a single file to be run, where the file to be run may include at least one of the following: a boot system file, an application file;
  • Determining a single to-be-run file in this step includes: receiving an operation for starting an application corresponding to the to-be-run file for a file to be run.
  • receiving a click operation on an application icon where the application icon is an icon of an application corresponding to the application file, and the click operation is used to start an application corresponding to the application file.
  • Step S204 determining whether an odex file exists in a single file to be run corresponding to the application
  • step S206 if the result of the determination is that the odex file does not exist, that is, the file type is not an odex file, a single file to be run is generated to generate an odex file.
  • the file is judged by a single file to be executed, and then the odex file is generated.
  • the original compile time scans the apk and generates the odex file at one time or scans the apk once at startup and generates all odex.
  • the file method is changed to use a single apk to generate a single odex file, and the original one-time odex conversion process becomes an odex conversion process that is scattered in each apk use, and does not need to be generated at compile time, or when booting.
  • the boot time shortens the compile time. In addition, it also reduces the occupation of the storage space of the device. It also facilitates the debugging development of the pre-made apk and improves the user experience.
  • a single file to be run can be determined by: receiving A click operation on an application icon, wherein the application icon is an icon of an application corresponding to the application file, and the click operation is used to launch an application corresponding to the application file. That is, a single file to be run is determined by the manner in which the user clicks on the application icon of the corresponding application. The way this is triggered by the user is clear and simple.
  • the file type of the running file may be pre-judged first.
  • a single file to be run is Is the first time it is run; when a single file to be run is run for the first time, it is judged whether a file with a .doex extension is included in a single file to be run; when the file to be run includes the extension .doex
  • a single file to be run is run; and/or, after the odex file is generated by the single file to be run, the generated odex file is run. With such processing, the operation of a single file to be run is completed.
  • Android 5.0 has completely switched to the ART virtual machine at the beginning, which improves the system runtime performance, improves the application startup speed, and smooths the overall experience, etc., compared with the previous Dalvik virtual machine, but in order to achieve these improvements,
  • the price is that it requires more storage space, longer version compile time, significantly increased boot time, and reduces the convenience of pre-made apk debugging.
  • a method of optimizing the use of the ART virtual machine is also provided.
  • the timing and manner of scanning the apk and generating the odex file in the related art are adjusted, and the original compile time scans the apk and generates the odex file at one time or scans the apk once at startup and generates all the odex files.
  • the method is changed to a single odex file when the user first uses a single apk, and the original two odex generation methods are unified into one mode. That is, by means of divide and conquer, the original one-time odex conversion process becomes the odex conversion process that is dispersed in the first use of each apk, and does not need to be generated at compile time or generated during boot scan, saving boot time and shortening.
  • the compile time in addition, also reduces the occupation of the device storage space, and also facilitates the debugging development of the pre-made apk, improving the user experience.
  • FIG. 3 is a flowchart of a method for operating an excellent ART virtual machine according to an embodiment of the present invention. As shown in FIG. 3, the method includes:
  • Step S302 starting compilation of the device version on the computer
  • step S304 the version compilation is completed. No apk scan and odex file generation were performed during the period;
  • Step S306 downloading the compiled version to the device, and the version does not include the odex file
  • Step S308 the system is powered on after the version download is completed.
  • the apk scan and the generation of the odex file are not executed during the boot process;
  • Step S310 completing the boot process and entering the standby interface
  • Step S312 clicking an application icon from the main menu to start the application
  • Step S314 when the application is started, it is determined whether the odex file already exists in the file corresponding to the application, if the execution step S318 already exists, otherwise step S316 is performed;
  • Step S316 running dex2oat to generate an odex file of the application
  • step S318 the application is normally used.
  • the steps of scanning the apk and generating the odex file at the compile time are removed in the related art; thus reducing the version compiling time and saving the storage space of the device;
  • the first step of scanning the apk and generating the odex file at the first boot this reduces the user's long waiting time during the first boot, which improves the user experience; when the user clicks on the application icon, it is added whether the apk file exists for determining whether the apk exists.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods of various embodiments of the present invention.
  • module may implement a combination of software and/or hardware of a predetermined function.
  • apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 4 is a structural block diagram of an odex file generating apparatus according to an embodiment of the present invention. As shown in FIG. 4, the apparatus includes a determining module 42, a determining module 44, and a generating module 46, which will be described below.
  • the determining module 42 is configured to determine a single file to be run; the determining module 44 is connected to the determining module 42 and configured to determine whether an odex file exists in the file of the single file to be run; the generating module 46 is connected to the determining module 44, and is configured to In order to judge whether the result is negative, a single to-be-run file is generated to generate an odex file.
  • the single to-be-run file includes at least one of the following: a boot system file, an application file.
  • FIG. 5 is a block diagram showing a preferred structure of the determining module 42 in the odex file generating apparatus according to the embodiment of the present invention.
  • the determining module 42 includes a receiving unit 52, which will be described below.
  • the receiving unit 52 is configured to receive a click operation for starting an application corresponding to the to-be-run file for a file to be run. For example, receiving a click operation on an application icon, wherein the application icon is an icon of an application corresponding to the application file, and the click operation is used to start the application.
  • FIG. 6 is a block diagram showing a preferred structure of the determining module 44 in the odex file generating apparatus according to the embodiment of the present invention.
  • the determining module 44 includes: a first determining unit 62 and a second determining unit 64. The determination module 44 is described.
  • the first determining unit 62 is configured to determine whether the single file to be run is run for the first time; the second determining unit 64 is connected to the first determining unit 62, and is configured to be operated when the single file to be run is first run. In the case of determining whether a file to be extended with .doex is included in a file to be run, when a file to be run includes a file with a .doex file, it is determined that an odex file exists in a single file to be run.
  • the second determining module is further configured to: when a file with a .doex extension is not included in the single file to be run, determine that the odex file does not exist in the single file to be run.
  • FIG. 7 is a block diagram showing a preferred structure of an odex file generating apparatus according to an embodiment of the present invention. As shown in FIG. 7, the apparatus includes, in addition to all the structures shown in FIG. 4, an operating module 72, and the running module is as follows. 72 for explanation.
  • the running module 72 is connected to the foregoing determining module 44 and the generating module 46, and is configured to run a single file to be run in the case that it is determined that an odex file exists in a single file to be run; further, it is further set to: After the file generates the odex file, run the generated odex file.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
  • the embodiment of the present invention further provides an APT virtual machine, including the executable file generating apparatus of any of the above.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • the storage medium is further arranged to store program code for performing the following steps:
  • the single to-be-run file includes at least one of the following: a boot system file, an application file.
  • the storage medium is further arranged to store program code for performing the following steps:
  • the single file to be run is an application file
  • determine a single file to be executed by receiving a click operation on the application icon, where the application icon is an icon of the application corresponding to the application file, and clicking the operation Used to launch the application corresponding to the application file.
  • the storage medium is further configured to store program code for performing the following steps: determining whether an odex file exists in a single file to be run includes:
  • a single file to be run includes a file with a .doex extension
  • determine that the file type of the single file to be run is an odex type
  • when a file to be run does not include a file with a .doex extension Determine whether an odex file exists in a single file to be run, that is, the file type is not of the odex type.
  • the storage medium is further arranged to store program code for performing the following steps:
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • the processor performs, according to the stored program code in the storage medium, determining a single file to be run, determining whether the file type of the single file to be run is an odex type, and determining whether the result is negative.
  • the odex file is generated from a single file to be run.
  • the processor executes according to the stored program code in the storage medium:
  • the single to-be-run file includes at least one of the following: a boot system file, an application file.
  • the processor executes according to the stored program code in the storage medium: in a case where the single file to be run is an application file, determining a single file to be executed by: receiving the icon of the application Click operation, wherein the application icon is an icon of an application corresponding to the application file, and the click operation is used to launch the application corresponding to the application file.
  • the processor is executed according to the stored program code in the storage medium: determining whether the file type of the single file to be run is an odex type includes: determining whether the single file to be run is the first time being run; When a single to-be-run file is run for the first time, it is determined whether a file with a .doex extension is included in a single file to be run; when a file to be run includes a file with a .doex extension, it is determined.
  • the file type of a single file to be run is of the odex type; and/or, when a file with a .doex extension is not included in a single file to be run, it is determined that the file type of a single file to be run is not of the odex type.
  • the processor executes according to the stored program code in the storage medium: when determining that the file type of the single file to be run is the odex type, running a single file to be run; and/or, After generating a odex file from a single file to be run, run the generated odex file.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the method and device for generating an odex file includes: determining a single file to be run; determining whether a file type of a single file to be run is an odex type; and if the determination result is negative, a single waiting
  • the running file generates the odex file, and the time cost of generating the odex file is reduced, and the storage space is reduced, thereby improving the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

一种odex文件生成方法及装置,其中,该方法包括:确定单个待运行文件(S202);判断单个待运行文件的文件类型是否为odex类型(S204);在判断结果为否的情况下,将单个待运行文件生成odex文件(S206),上述方法降低了生成odex文件的时间成本,减少了存储空间,从而提升了用户体验。

Description

可运行文件生成方法、ART虚拟机运行方法和装置 技术领域
本发明实施例涉及但不限于通信领域,尤指一种可运行文件生成方法、ART虚拟机运行方法和装置。
背景技术
安卓(Android)5.0引入Android运行时(ART,Android Runtime)虚拟机后,需要将Android安装包(apk,Android Package)中的class.dex文件转换成ART可识别的odex文件才能运行。其中,odex是安卓上的应用程序apk中提取出来的可运行文件,即将apk中的classes.dex文件通过dex优化过程将其优化生成一个·dex文件单独存放,原apk中的classes.dex文件会保留。
这个转换过程可以在版本编译的时候执行,也可以在设备第一次开机的时候执行,图1是相关技术中转换odex文件的流程图,如图1所示,包括:
步骤S102,启动版本编译;
步骤S104,判断apk是否要预编码出odex文件,在判断结果为是的情况下,进入步骤S106;在判断结果为否时,进入步骤S110;
步骤S106,扫描出所有apk;
步骤S108,运行dex2oat生成odex文件;
步骤S110,完成版本编译;
步骤S112,将版本下载到设备中;
步骤S114,设备第一次开机播放开机动画;
步骤S116,判断是否已经存在odex文件,在判断结果为是的情况下,进入步骤S122;在判断结果为否时,进入步骤S118;
步骤S118,扫描出所有apk;
步骤S120,运行dex2oat生成odex文件;
步骤S122,启动完成进入待机界面;
步骤S124,从主菜单点出应用图标;
步骤S126,开始使用apk。
在图1所示的流程中,采用了两种方式来生成odex文件:第一种是:在版本编译的时候一次性扫描所有apk并生成odex文件,即上述步骤S106和步骤S108;第二种,是在第一次开机时一次性扫描所有apk并生成odex文件,即上述步骤S118和步骤S120。
其中,在第一种方式中,由于需要在编译的时候完成所有apk的odex文件生成,导致编译时间变长;其次,版本中会多出很多odex文件,导致版本变大,需要占用设备更多的存储空间。而在第二种方式中,由于需要在第一次开机的时候扫描apk并生成所有odex文件,导致第一次开机等待时间显著增加,而且预制的apk越多时间越长。
因此,在相关技术中,生成odex文件存在时间成本高,耗费存储空间大,导致用户体验差的问题。
发明内容
本发明实施例提供了一种可运行文件生成方法及装置,至少能够降低生成odex文件的时间成本,减少存储空间,从而提升用户体验。
本发明实施例还提供了一种ART虚拟机运行方法和ART虚拟机,至少能够降低生成odex文件的时间成本,减少存储空间,从而提升用户体验。
本发明实施例提供了一种可运行文件生成方法,包括:
确定单个待运行文件;
判断所述单个待运行文件中是否存在odex文件;
在判断结果为否的情况下,将所述单个待运行文件生成odex文件。
可选地,所述待运行文件包括以下至少之一:开机系统文件、应用程序文件。
可选地,所述确定单个待运行文件包括:接收到对某个所述待运行文件的用于启动该待运行文件对应的应用程序的操作。
可选地,所述待运行文件为应用程序文件;所述确定单个待运行文件包 括:
接收到对所述应用程序文件对应的应用图标的点击操作;其中,点击操作用于启动所述应用程序文件对应的应用程序。
可选地,所述判断单个待运行文件的文件中是否存在odex文件包括:
判断所述单个待运行文件是否是第一次被运行;
当所述单个待运行文件是第一次被运行,判断所述单个待运行文件中是否包括扩展名为.doex的文件;
当所述单个待运行文件中包括扩展名为.doex的文件,确定出所述单个待运行文件的文件中存在odex文件。
可选地,判断出所述单个待运行文件中存在odex文件后,还包括:运行所述单个待运行文件;
和/或,
在将所述单个待运行文件生成所述odex文件后,还包括:运行生成的所述odex文件。
本发明实施例还提供了一种APT虚拟机运行方法,完成开机过程并进入待机界面,包括:
确定出单个待运行文件;
判断所述单个待运行文件的文件中是否存在odex文件;
在判断结果为否的情况下,将所述单个待运行文件生成odex文件;
运行所述单个待运行文件;和/或,在将所述单个待运行文件生成所述odex文件后,运行生成的所述odex文件。
可选地,所述待运行文件包括以下至少之一:开机系统文件、应用程序文件。
可选地,所述确定单个待运行文件包括:接收到对某个所述待运行文件的用于启动该待运行文件对应的应用程序的操作。
可选地,所述待运行文件为应用程序文件;所述确定单个待运行文件包括:
接收到对所述应用程序文件对应的应用图标的点击操作;其中,点击操作用于启动所述应用程序文件对应的应用程序。
可选地,所述判断单个待运行文件的文件中是否存在odex文件包括:
判断所述单个待运行文件是否是第一次被运行;
当所述单个待运行文件是第一次被运行,判断所述单个待运行文件中是否包括扩展名为.doex的文件;
当所述单个待运行文件中包括扩展名为.doex的文件,确定出所述单个待运行文件的文件中存在odex文件。
本发明实施例再提供了一种可运行文件生成装置,包括:
确定模块,设置为确定单个待运行文件;
判断模块,设置为判断所述单个待运行文件的文件中是否存在odex文件;
生成模块,设置为在判断结果为否的情况下,将所述单个待运行文件生成odex文件。
可选地,所述单个待运行文件包括以下至少之一:开机系统文件、应用程序文件。
可选地,所述确定模块具体设置为:接收到对某个所述待运行文件的用于启动该待运行文件对应的应用程序的操作。
可选地,所述待运行文件为应用程序文件;所述确定模块包括:接收单元,
设置为接收到对所述应用程序文件对应的应用图标的点击操作;其中,点击操作用于启动所述应用程序文件对应的应用程序。
可选地,所述判断模块包括:
第一判断单元,设置为判断所述单个待运行文件是否是第一次被运行;
第二判断单元,设置为当所述单个待运行文件是第一次被运行的情况下,判断所述单个待运行文件中是否包括扩展名为.doex的文件:当所述单个待运行文件中包括扩展名为.doex的文件的情况下,确定所述单个待运行文件中存 在odex文件。
可选地,还包括:
运行模块,设置为在判断所述单个待运行文件的文件类型为所述odex类型,运行所述单个待运行文件;和/或,在将所述单个待运行文件生成所述odex文件后,运行生成的所述odex文件。
本发明实施例又提供了一种APT虚拟机,包括上述任一项所述的可运行文件生成装置。
本发明实施例还提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项的odex文件生成方法,和/或所述计算机可执行指令用于执行上述任一项所述的APT虚拟机运行方法。
通过本发明实施例,采用确定单个待运行文件;判断所述单个待运行文件的文件类型是否为odex类型;在判断结果为否的情况下,将所述单个待运行文件生成odex文件,解决了相关技术中生成odex文件存在时间成本高,耗费存储空间大,导致用户体验低的问题,降低了生成odex文件的时间成本,减少了存储空间,从而提升了用户体验。
本发明实施例的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
此处所说明的附图用来提供对本发明实施例的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是相关技术中转换odex文件的流程图;
图2是根据本发明实施例的可运行文件生成方法的流程图;
图3是根据本发明实施例的ART虚拟机运行方法的流程图;
图4是根据本发明实施例的可运行文件生成装置的结构框图;
图5是根据本发明实施例的可运行文件生成装置中确定模块42的优选结构框图;
图6是根据本发明实施例的可运行文件生成装置中判断模块44的优选结构框图;
图7是根据本发明实施例的可运行文件生成装置的优选结构框图。
本发明的较佳实施方式
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
在本实施例中提供了一种可运行文件生成方法,如图2所示,包括:
步骤S202,确定单个待运行文件,其中,待运行文件可以包括以下至少之一:开机系统文件、应用程序文件;
本步骤中确定单个待运行文件包括:接收到对某个待运行文件的用于启动该待运行文件对应的应用程序的操作。
比如:接收到对应用图标的点击操作,其中,应用图标为应用程序文件对应的应用程序的图标,点击操作用于启动应用程序文件对应的应用程序。
步骤S204,判断应用对应的单个待运行文件中是否存在odex文件;
步骤S206,在判断结果为不存在odex文件的情况下即文件类型不是odex文件),将单个待运行文件生成odex文件。
通过上述步骤,采用对单个待运行文件进行判断,而后生成odex文件,相对于相关技术而言,将原有的编译时一次性扫描apk并生成odex文件或开机时一次性扫描apk并生成所有odex文件的方法,改成使用单个apk的时候就生成单个odex文件,将原先一次性odex转化过程变成分散在每个apk使用时的odex转化过程,就不需要在编译时生成,或开机扫描时生成,节省 了开机时间,缩短了编译时间,另外,还减少了设备存储空间的占用,还方便了预制apk的调试开发,提升了用户体验。
在确定单个待运行文件时,依据单个待运行文件的类型不同,可以采用不同的处理方式,例如,在单个待运行文件为应用程序文件的情况下,可以通过以下方式确定单个待运行文件:接收对应用图标的点击操作,其中,应用图标为应用程序文件对应的应用程序的图标,点击操作用于启动应用程序文件对应的应用程序。即通过用户点击对应的应用程序的应用图标的方式来确定单个待运行文件。这样由用户来触发的方式,清楚简单。
在判断单个待运行文件中是否存在odex文件即文件类型是否为odex类型时,也可以依据多种方式来判断,例如,可以依据单个待运行文件的文件扩展名来判断。另外,在采用这种方式判断时,为了提高判断的准确性,可以先对待运行文件的文件类型进行预判,例如,在判断单个待运行文件的文件扩展名之前,先判断单个待运行文件是否是第一次被运行;当单个待运行文件是第一次被运行的情况下,判断单个待运行文件中是否包括扩展名为.doex的文件;当单个待运行文件中包括扩展名为.doex的文件的情况下,确定单个待运行文件中存在odex文件即单个待运行文件的文件类型为odex类型;和/或,当单个待运行文件中不包括扩展名为.doex的文件的情况下,确定单个待运行文件中不存在odex文件即单个待运行文件的文件类型不为odex类型。采用这样的方式,即通过两次判断来确定该单个待运行文件的文件类型为odex类型,从而有效地提高了判断的准确性。
优选地,在判断单个待运行文件的文件类型为odex类型的情况下,运行单个待运行文件;和/或,在将单个待运行文件生成odex文件之后,运行生成的odex文件。采用这样的处理,完成对单个待运行文件的运行。
在相关技术中,Android 5.0开始已经完全切换到ART虚拟机,相对于之前的Dalvik虚拟机,提高了系统运行时性能、提高了应用启动速度、整体体验更流畅等,不过为了达到这些提升所付出的代价就是需要更大的存储空间、更长的版本编译时间、首次开机时间显著增加、降低了预制apk调试的便利性。为解决上述问题,在本实施例中,基于上述odex文件生成方法,还提供了一种优化使用ART虚拟机的方法。
在该方法中,对相关技术中扫描apk并生成odex文件的时机及方式做了调整,将原有的编译时一次性扫描apk并生成odex文件或开机时一次性扫描apk并生成所有odex文件的方法,改成开机后用户第一次使用单个apk的时候就生成单个odex文件,将原有的两种odex生成方式统一成一种方式。即通过分而治之的方式,将原先一次性odex转化过程变成分散在每个apk第一次使用时的odex转化过程,就不需要在编译时生成,或开机扫描时生成,节省了开机时间,缩短了编译时间,另外,还减少了设备存储空间的占用,还方便了预制apk的调试开发,提升了用户体验。
下面对本发明方法实施例的流程作一下说明,图3是根据本发明实施例的优ART虚拟机运行方法的流程图,如图3所示,包括:
步骤S302,在电脑上启动设备版本的编译;
步骤S304,版本编译完成。期间没有执行apk扫描以及odex文件的生成;
步骤S306,将编译好的版本下载到设备中,此时版本里没有包含odex文件;
步骤S308,版本下载完成后开机。开机过程中也没有执行apk扫描以及odex文件的生成;
步骤S310,完成开机过程并进入待机界面;
步骤S312,从主菜单点击应用图标来启动应用;
步骤S314,启动应用时判断此应用对应的文件中是否已经存在odex文件,如果已经存在执行步骤S318,否则执行步骤S316;
步骤S316,运行dex2oat生成此应用的odex文件;
步骤S318,开始正常使用此应用。
在该方法中,与相关技术相比,去掉了相关技术中,编译时一次性扫描apk并生成odex文件的步骤;这样减少了版本编译时间,同时节省了设备的存储空间;去掉了相关技术中第一次开机时一次性扫描apk并生成odex文件的步骤;这样减少了第一次开机时用户漫长的等待时间,提升了用户体验;在用户点击应用图标时增加了判断此apk是否存在odex文件的步骤,如果不 存在就运行dex2oat生成odex文件;由于对单个apk生成odex的时间并不会很长,在用户可以接受范围内,因而有效避免了之前长时间等待的情况。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例的方法。
在本实施例中还提供了一种odex文件生成装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图4是根据本发明实施例的odex文件生成装置的结构框图,如图4所示,该装置包括确定模块42、判断模块44和生成模块46,下面对该装置进行说明。
确定模块42,设置为确定单个待运行文件;判断模块44,连接至上述确定模块42,设置为判断单个待运行文件的文件中是否存在odex文件;生成模块46,连接至上述判断模块44,设置为在判断结果为否的情况下,将单个待运行文件生成odex文件。
优选地,单个待运行文件包括以下至少之一:开机系统文件、应用程序文件。
图5是根据本发明实施例的odex文件生成装置中确定模块42的优选结构框图,如图5所示,该确定模块42包括接收单元52,下面对该接收单元52进行说明。
接收单元52,设置为接收到对某个待运行文件的用于启动该待运行文件对应的应用程序的点击操作。比如:接收对应用图标的点击操作,其中,应用图标为应用程序文件对应的应用程序的图标,点击操作用于启动应用程 序文件对应的应用程序。
图6是根据本发明实施例的odex文件生成装置中判断模块44的优选结构框图,如图6所示,该判断模块44包括:第一判断单元62、第二判断单元64,下面对该判断模块44进行说明。
第一判断单元62,设置为判断单个待运行文件是否是第一次被运行;第二判断单元64,连接至上述第一判断单元62,设置为当单个待运行文件是第一次被运行的情况下,判断单个待运行文件中是否包括扩展名为.doex的文件,当单个待运行文件中包括扩展名为.doex的文件的情况下,判断出单个待运行文件中存在odex文件;
进一步地,第二判断模块还用于:当单个待运行文件中不包括扩展名为.doex的文件的情况下,确定单个待运行文件中不存在odex文件。
图7是根据本发明实施例的odex文件生成装置的优选结构框图,如图7所示,该装置除包括图4所示的所有结构外,还包括:运行模块72,下面对该运行模块72进行说明。
运行模块72,连接至上述判断模块44和生成模块46,设置为在判断出单个待运行文件中存在odex文件的情况下,运行单个待运行文件;进一步地,还设置为:在将单个待运行文件生成odex文件之后,运行生成的odex文件。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。
本发明实施例还提提供一种APT虚拟机,包括上述任一项的可运行文件生成装置。
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:
S1,确定单个待运行文件;
S2,判断单个待运行文件中是否存在odex文件;
S3,在判断结果为否的情况下,将单个待运行文件生成odex文件。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:
S1,单个待运行文件包括以下至少之一:开机系统文件、应用程序文件。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:
S1,在单个待运行文件为应用程序文件的情况下,通过以下方式,确定单个待运行文件:接收对应用图标的点击操作,其中,应用图标为应用程序文件对应的应用程序的图标,点击操作用于启动应用程序文件对应的应用程序。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:判断单个待运行文件中是否存在odex文件包括:
S1,判断单个待运行文件是否是第一次被运行;
S2,当单个待运行文件是第一次被运行的情况下,判断单个待运行文件中是否包括扩展名为.doex的文件;
S3,当单个待运行文件中包括扩展名为.doex的文件的情况下,确定单个待运行文件的文件类型为odex类型;当单个待运行文件中不包括扩展名为.doex的文件的情况下,确定单个待运行文件中是否存在odex文件即文件类型不为odex类型。
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:
S1,在判断单个待运行文件的文件类型为odex类型的情况下,运行单个待运行文件;进一步地,在将单个待运行文件生成odex文件之后,运行生成的odex文件。
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:确定单个待运行文件;判断单个待运行文件的文件类型是否为odex类型;在判断结果为否的情况下,将单个待运行文件生成odex文件。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:单个待运行文件包括以下至少之一:开机系统文件、应用程序文件。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:在单个待运行文件为应用程序文件的情况下,通过以下方式,确定单个待运行文件:接收对应用图标的点击操作,其中,应用图标为应用程序文件对应的应用程序的图标,点击操作用于启动应用程序文件对应的应用程序。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:判断单个待运行文件的文件类型是否为odex类型包括:判断单个待运行文件是否是第一次被运行;当单个待运行文件是第一次被运行的情况下,判断单个待运行文件中是否包括扩展名为.doex的文件;当单个待运行文件中包括扩展名为.doex的文件的情况下,确定单个待运行文件的文件类型为odex类型;和/或,当单个待运行文件中不包括扩展名为.doex的文件的情况下,确定单个待运行文件的文件类型不为odex类型。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行:在判断单个待运行文件的文件类型为odex类型的情况下,运行单个待运行文件;和/或,在将单个待运行文件生成odex文件之后,运行生成的odex文件。
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则 之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
工业实用性
本发明实施例提出的odex文件生成方法及装置,其中,该方法包括:确定单个待运行文件;判断单个待运行文件的文件类型是否为odex类型;在判断结果为否的情况下,将单个待运行文件生成odex文件,通过本发明实施例,降低了生成odex文件的时间成本,减少了存储空间,从而提升了用户体验。

Claims (19)

  1. 一种可运行文件生成方法,包括:
    确定单个待运行文件;
    判断所述单个待运行文件中是否存在odex文件;
    在判断结果为否的情况下,将所述单个待运行文件生成odex文件。
  2. 根据权利要求1所述的可运行文件生成方法,其中,所述待运行文件包括以下至少之一:开机系统文件、应用程序文件。
  3. 根据权利要求1所述的可运行文件生成方法,其中,所述确定单个待运行文件包括:接收到对某个所述待运行文件的用于启动该待运行文件对应的应用程序的操作。
  4. 根据权利要求1所述的可运行文件生成方法,其中,所述待运行文件为应用程序文件;所述确定单个待运行文件包括:
    接收到对所述应用程序文件对应的应用图标的点击操作;其中,点击操作用于启动所述应用程序文件对应的应用程序。
  5. 根据权利要求1所述的可运行文件生成方法,其中,所述判断单个待运行文件的文件中是否存在odex文件包括:
    判断所述单个待运行文件是否是第一次被运行;
    当所述单个待运行文件是第一次被运行,判断所述单个待运行文件中是否包括扩展名为.doex的文件;
    当所述单个待运行文件中包括扩展名为.doex的文件,确定出所述单个待运行文件的文件中存在odex文件。
  6. 根据权利要求1至5中任一项所述的可运行文件生成方法,判断出所述单个待运行文件中存在odex文件后,还包括:运行所述单个待运行文件;
    和/或,
    在将所述单个待运行文件生成所述odex文件后,还包括:运行生成的所述odex文件。
  7. 一种APT虚拟机运行方法,完成开机过程并进入待机界面,包括:
    确定出单个待运行文件;
    判断所述单个待运行文件的文件中是否存在odex文件;
    在判断结果为否的情况下,将所述单个待运行文件生成odex文件;
    运行所述单个待运行文件;和/或,在将所述单个待运行文件生成所述odex文件后,运行生成的所述odex文件。
  8. 根据权利要求7所述的APT虚拟机运行方法,其中,所述待运行文件包括以下至少之一:开机系统文件、应用程序文件。
  9. 根据权利要求7所述的APT虚拟机运行方法,其中,所述确定单个待运行文件包括:接收到对某个所述待运行文件的用于启动该待运行文件对应的应用程序的操作。
  10. 根据权利要求7所述的APT虚拟机运行方法,其中,所述待运行文件为应用程序文件;所述确定单个待运行文件包括:
    接收到对所述应用程序文件对应的应用图标的点击操作;其中,点击操作用于启动所述应用程序文件对应的应用程序。
  11. 根据权利要求7所述的APT虚拟机运行方法,其中,所述判断单个待运行文件的文件中是否存在odex文件包括:
    判断所述单个待运行文件是否是第一次被运行;
    当所述单个待运行文件是第一次被运行,判断所述单个待运行文件中是否包括扩展名为.doex的文件;
    当所述单个待运行文件中包括扩展名为.doex的文件,确定出所述单个待运行文件的文件中存在odex文件。
  12. 一种可运行文件生成装置,包括:
    确定模块,设置为确定单个待运行文件;
    判断模块,设置为判断所述单个待运行文件的文件中是否存在odex文件;
    生成模块,设置为在判断结果为否的情况下,将所述单个待运行文件生 成odex文件。
  13. 根据权利要求12所述的可运行文件生成装置,其中,所述单个待运行文件包括以下至少之一:开机系统文件、应用程序文件。
  14. 根据权利要求12所述的可运行文件生成装置,其中,所述确定模块具体设置为:接收到对某个所述待运行文件的用于启动该待运行文件对应的应用程序的操作。
  15. 根据权利要求12所述的可运行文件生成装置,其中,所述待运行文件为应用程序文件;所述确定模块包括:接收单元,
    设置为接收到对所述应用程序文件对应的应用图标的点击操作;其中,点击操作用于启动所述应用程序文件对应的应用程序。
  16. 根据权利要求12所述的可运行文件生成装置,其中,所述判断模块包括:
    第一判断单元,设置为判断所述单个待运行文件是否是第一次被运行;
    第二判断单元,设置为当所述单个待运行文件是第一次被运行的情况下,判断所述单个待运行文件中是否包括扩展名为.doex的文件:当所述单个待运行文件中包括扩展名为.doex的文件的情况下,确定所述单个待运行文件中存在odex文件。
  17. 根据权利要求12至16中任一项所述的可运行文件生成装置,还包括:
    运行模块,设置为在判断所述单个待运行文件的文件类型为所述odex类型,运行所述单个待运行文件;和/或,在将所述单个待运行文件生成所述odex文件后,运行生成的所述odex文件。
  18. 一种APT虚拟机,包括所述权12~权17任一项所述的可运行文件生成装置。
  19. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权1~权6任一项的odex文件生成方法,和/或所述计算机可执行指令用于执行权7~权11任一项所述的APT虚拟机运行方法。
PCT/CN2016/085153 2016-01-26 2016-06-07 可运行文件生成方法、art虚拟机运行方法和装置 WO2017128589A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610053978.3 2016-01-26
CN201610053978.3A CN106997294A (zh) 2016-01-26 2016-01-26 odex文件生成方法及装置

Publications (1)

Publication Number Publication Date
WO2017128589A1 true WO2017128589A1 (zh) 2017-08-03

Family

ID=59397103

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/085153 WO2017128589A1 (zh) 2016-01-26 2016-06-07 可运行文件生成方法、art虚拟机运行方法和装置

Country Status (2)

Country Link
CN (1) CN106997294A (zh)
WO (1) WO2017128589A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109165048A (zh) * 2018-10-11 2019-01-08 四川长虹电器股份有限公司 基于android系统的升级后快速启动方法

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112114889B (zh) * 2019-06-19 2024-03-01 Oppo广东移动通信有限公司 信息处理方法和装置、及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104281478A (zh) * 2014-10-28 2015-01-14 小米科技有限责任公司 更新应用程序的方法及装置
CN104866365A (zh) * 2015-06-12 2015-08-26 联想(北京)有限公司 提升开机速度的方法、装置及电子设备
CN105100191A (zh) * 2015-05-22 2015-11-25 华为技术有限公司 一种云编译实现Java应用安装的方法、装置及系统
CN105138382A (zh) * 2015-09-24 2015-12-09 广东欧珀移动通信有限公司 一种Android系统升级的方法及终端

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103745141A (zh) * 2013-12-02 2014-04-23 上海斐讯数据通信技术有限公司 智能终端android系统中防止应用程序反编译的方法
CN105278989B (zh) * 2015-10-12 2018-04-06 北京顶象技术有限公司 Apk文件的快速加载方法
CN105528229B (zh) * 2015-12-16 2018-09-07 广东欧珀移动通信有限公司 提高移动终端首次开机速度的方法及装置
CN105677335B (zh) * 2015-12-29 2019-03-26 Oppo广东移动通信有限公司 提高移动终端首次开机速度的方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104281478A (zh) * 2014-10-28 2015-01-14 小米科技有限责任公司 更新应用程序的方法及装置
CN105100191A (zh) * 2015-05-22 2015-11-25 华为技术有限公司 一种云编译实现Java应用安装的方法、装置及系统
CN104866365A (zh) * 2015-06-12 2015-08-26 联想(北京)有限公司 提升开机速度的方法、装置及电子设备
CN105138382A (zh) * 2015-09-24 2015-12-09 广东欧珀移动通信有限公司 一种Android系统升级的方法及终端

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109165048A (zh) * 2018-10-11 2019-01-08 四川长虹电器股份有限公司 基于android系统的升级后快速启动方法

Also Published As

Publication number Publication date
CN106997294A (zh) 2017-08-01

Similar Documents

Publication Publication Date Title
US7356680B2 (en) Method of loading information into a slave processor in a multi-processor system using an operating-system-friendly boot loader
CN102236621B (zh) 计算机接口信息配置系统及方法
CN109634718B (zh) 云平台创建镜像的方法及系统
US9678767B2 (en) Unified extensible firmware interface (UEFI) driver and protocol
JP6412276B2 (ja) 仮想マシン作成方法及び装置
US10019598B2 (en) Dynamic service discovery
WO2016177341A1 (zh) 接口调用方法、装置及终端
EP3912074B1 (en) Generating a synchronous digital circuit from a source code construct defining a function call
CN111625289B (zh) 应用程序快速启动方法、装置和电子设备
WO2018040270A1 (zh) 在Windows系统中加载Linux系统ELF文件的方法及装置
US9513889B2 (en) System and method of automating installation of applications
EP3207453B1 (en) Api versioning independent of product releases
CN107402792B (zh) 应用软件安装包的集成方法、装置、设备及存储介质
CN106020905B (zh) 一种微控制器固件开发与更新的方法及系统
CN111625290B (zh) 一种Android平台下布局文件预加载方法、装置及电子设备
WO2017128589A1 (zh) 可运行文件生成方法、art虚拟机运行方法和装置
CN110795162B (zh) 生成容器镜像文件的方法和装置
CN109614081B (zh) 浏览器实现方法、装置及移动终端
CN114911541B (zh) 配置信息的处理方法、装置、电子设备及存储介质
KR20070088160A (ko) 메소드 호출 방법 및 이를 이용한 자바 가상 머신
WO2022179101A1 (zh) 存储架构下的软件存储方法
CN116775202A (zh) 模糊测试方法、装置、介质、电子设备及计算机程序产品
TWI455030B (zh) 決定程式任務之平行度的方法與計算裝置及其機器可讀取媒體
WO2021121188A1 (zh) 配置文件的处理方法、装置、系统及存储介质
US10853040B2 (en) Address space splitting for legacy application compatibility

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16887471

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16887471

Country of ref document: EP

Kind code of ref document: A1