技术领域technical field
本发明涉及终端技术领域,尤其涉及一种Android系统升级的方法及终端。The invention relates to the technical field of terminals, in particular to a method for upgrading an Android system and a terminal.
背景技术Background technique
随着智能终端的飞速发展,智能终端如手机或者平板电脑等,在用户的生活、工作、娱乐等方面可提供越来越多的帮助。随着系统功能的不断改进,用户需要对终端上当前安装的系统进行升级,以获得更好的体验。With the rapid development of smart terminals, smart terminals, such as mobile phones or tablet computers, can provide more and more help in life, work, entertainment and other aspects of users. With the continuous improvement of system functions, users need to upgrade the system currently installed on the terminal to obtain a better experience.
现有技术中,现有Android系统下的升级过程一般包括以下步骤:In the prior art, the upgrade process under the existing Android system generally includes the following steps:
S1、系统启动;S1, system startup;
S2、启动升级服务;S2, start the upgrade service;
S3、下载升级包到缓存分区(即cache分区);S3, download the upgrade package to the cache partition (i.e. the cache partition);
S4、调用系统接口进入recovery模式;S4, calling the system interface to enter the recovery mode;
S5、在recovery模式下安装升级包;S5, install the upgrade package in recovery mode;
S6、启动升级后的新系统;S6, start the upgraded new system;
S7、显示“Android正在更新”,进行Android初始化;S7, display "Android is being updated", and carry out Android initialization;
S8、升级完成。S8. The upgrade is completed.
其中,在步骤S7中,不管采用dalvikvm模式或art模式的虚拟机环境,均需要对升级文件进行转化,需要耗费大量的时间,而在转化的过程中,终端都无法使用,严重影响用户的体验。Among them, in step S7, regardless of the virtual machine environment in dalvikvm mode or art mode, the upgrade file needs to be converted, which takes a lot of time, and during the conversion process, the terminal cannot be used, seriously affecting the user experience .
发明内容Contents of the invention
本发明实施例所要解决的技术问题在于,提供一种Android系统升级的方法及终端。以解决Android系统升级时终端无法使用的问题。The technical problem to be solved by the embodiments of the present invention is to provide a method and a terminal for upgrading an Android system. To solve the problem that the terminal cannot be used when the Android system is upgraded.
为了解决上述技术问题,本发明实施例提供了一种Android系统升级的方法,包括:In order to solve the above technical problems, the embodiment of the present invention provides a method for upgrading an Android system, including:
接收用户输入的升级指令,下载升级包;Receive the upgrade instruction input by the user and download the upgrade package;
在后台对所述升级包中的文件进行转化处理;Converting the files in the upgrade package in the background;
将转化处理后的文件保存至除系统升级缓存区的其他存储位置;Save the converted file to a storage location other than the system upgrade cache;
在recovery模式下将所述转化处理后的文件拷贝至所述系统升级缓存区,完成升级。In the recovery mode, the converted file is copied to the system upgrade buffer area to complete the upgrade.
其中,还包括:Among them, also include:
若所述升级包为增量升级包,则将所述升级包中的系统归档文件及系统Android安装包进行合成;If the upgrade package is an incremental upgrade package, then the system archive file and the system Android installation package in the upgrade package are synthesized;
若所述升级包为全量升级包,则无需进行合成。If the upgrade package is a full upgrade package, no synthesis is required.
其中,若所述升级包为增量升级包,则将所述升级包中的系统归档文件及系统Android安装包进行合成在后台进行。Wherein, if the upgrade package is an incremental upgrade package, the system archive file and system Android installation package in the upgrade package are synthesized in the background.
其中,所述将转化处理后的文件保存至除系统升级缓存区的其他存储位置,包括:Wherein, the described saving the converted file to other storage locations except the system upgrade cache area includes:
将转化处理后的文件保存至外置安全数码卡中;或者Save converted files to an external Secure Digital card; or
将转化处理后的文件保存至终端内置存储中除系统升级缓存区的其他存储路径。Save the converted file to a storage path other than the system upgrade buffer area in the built-in storage of the terminal.
其中,所述升级包中的文件包括系统归档文件、系统Android安装包以及用户安装的Android安装包;Wherein, the files in the upgrade package include system archive files, system Android installation packages and user-installed Android installation packages;
所述转化处理包括odex转化处理或oat转化处理。The conversion treatment includes odex conversion treatment or oat conversion treatment.
相应地,本发明实施例还提供了一种终端,包括:Correspondingly, an embodiment of the present invention also provides a terminal, including:
下载单元,用于接收用户输入的升级指令,下载升级包;A download unit, configured to receive an upgrade instruction input by a user and download an upgrade package;
转化单元,用于在后台对所述升级包中的文件进行转化处理;a conversion unit, configured to perform conversion processing on the files in the upgrade package in the background;
存储单元,用于将转化处理后的文件保存至除系统升级缓存区的其他存储位置;The storage unit is used to save the converted file to a storage location other than the system upgrade cache area;
升级单元,用于在recovery模式下将所述转化处理后的文件拷贝至所述系统升级缓存区,完成升级。The upgrade unit is configured to copy the converted file to the system upgrade cache in the recovery mode to complete the upgrade.
其中,所述转化单元还用于:Wherein, the conversion unit is also used for:
若所述升级包为增量升级包,则将所述升级包中的系统归档文件及系统Android安装包进行合成;If the upgrade package is an incremental upgrade package, then the system archive file and the system Android installation package in the upgrade package are synthesized;
若所述升级包为全量升级包,则无需进行合成。If the upgrade package is a full upgrade package, no synthesis is required.
其中,若所述升级包为增量升级包,则将所述升级包中的系统归档文件及系统Android安装包进行合成在后台进行。Wherein, if the upgrade package is an incremental upgrade package, the system archive file and system Android installation package in the upgrade package are synthesized in the background.
其中,所述存储单元具体用于:Wherein, the storage unit is specifically used for:
将转化处理后的文件保存至外置安全数码卡中;或者Save converted files to an external Secure Digital card; or
将转化处理后的文件保存至终端内置存储中除系统升级缓存区的其他存储路径。Save the converted file to a storage path other than the system upgrade buffer area in the built-in storage of the terminal.
其中,所述升级包中的文件包括系统归档文件、系统Android安装包以及用户安装的Android安装包;Wherein, the files in the upgrade package include system archive files, system Android installation packages and user-installed Android installation packages;
所述转化处理包括odex转化处理或oat转化处理。The conversion treatment includes odex conversion treatment or oat conversion treatment.
实施本发明实施例,具有如下有益效果:Implementing the embodiment of the present invention has the following beneficial effects:
通过接收用户输入的升级指令,下载升级包,然后在后台对所述升级包中的文件进行转化处理,并将转化处理后的文件保存至除系统升级缓存区之外的其他存储位置,然后在recovery模式下将所述转化处理后的文件拷贝至所述系统升级缓存区,完成升级,由于转化处理在后台进行,因此在升级过程中用户可照常使用旧系统;且转化完成后,将转化处理后的文件存储在非系统升级缓存区,并在recovery模式下将其拷贝至系统升级缓存区,从而使得Android的初始化过程大大缩短,升级直接完成,在升级过程中,用户可以使用旧系统,在升级完成后,终端可直接调用转化处理后的文件使用,这样用户也就可以直接在终端重启后直接使用新的系统,使得整个升级过程中,终端的不可使用时间大大缩短,提升了终端的易用性,也提升了用户体验。Download the upgrade package by receiving the upgrade instruction input by the user, and then convert the files in the upgrade package in the background, and save the converted file to a storage location other than the system upgrade cache area, and then in the In the recovery mode, the converted file is copied to the system upgrade cache to complete the upgrade. Since the conversion process is performed in the background, the user can use the old system as usual during the upgrade process; and after the conversion is completed, the conversion process The final file is stored in the non-system upgrade cache area, and copied to the system upgrade cache area in recovery mode, so that the initialization process of Android is greatly shortened, and the upgrade is completed directly. During the upgrade process, the user can use the old system. After the upgrade is completed, the terminal can directly use the converted file, so that the user can directly use the new system after the terminal is restarted, which greatly shortens the unusable time of the terminal during the entire upgrade process and improves the ease of use of the terminal. Usability also improves user experience.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1是本发明提供的Android系统升级的方法的第一实施例的流程示意图;Fig. 1 is the schematic flow chart of the first embodiment of the method for upgrading the Android system provided by the present invention;
图2是本发明提供的Android系统升级的方法的第二实施例的流程示意图;Fig. 2 is the schematic flow chart of the second embodiment of the method for upgrading the Android system provided by the present invention;
图3是本发明提供的Android系统升级的方法的第三实施例的流程示意图;Fig. 3 is the schematic flow chart of the third embodiment of the method for upgrading the Android system provided by the present invention;
图4是本发明提供的终端的第一实施例的组成示意图。Fig. 4 is a schematic composition diagram of the first embodiment of the terminal provided by the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
本发明实施例中的终端可以包括安装有Android系统的智能手机、平板电脑、掌上电脑、笔记本电脑、移动互联网设备(MID,MobileInternetDevices)或穿戴式设备等,上述终端仅是举例,而非穷举,包含但不限于上述终端。The terminal in the embodiment of the present invention may include a smart phone, a tablet computer, a handheld computer, a notebook computer, a mobile Internet device (MID, MobileInternetDevices) or a wearable device installed with an Android system, and the above-mentioned terminals are only examples, not exhaustive , including but not limited to the above terminals.
请参照图1,为本发明提供的Android系统升级的方法的第一实施例的流程示意图,在本实施例中,所述方法包括以下步骤:Please refer to Fig. 1, the schematic flow chart of the first embodiment of the method for upgrading the Android system provided by the present invention, in this embodiment, the method includes the following steps:
S101,接收用户输入的升级指令,下载升级包。S101. Receive an upgrade instruction input by a user, and download an upgrade package.
S102,在后台对所述升级包中的文件进行转化处理。S102. Perform conversion processing on the files in the upgrade package in the background.
其中,所述升级包中的文件包括系统归档(JavaArchive,简称JAR)文件、系统Android安装包(AndroidPackage,简称APK)以及用户安装的Android安装包。Wherein, the files in the upgrade package include a system archive (JavaArchive, JAR for short), a system Android installation package (Android Package, APK for short), and an Android installation package installed by a user.
所述转化处理包括odex转化处理或oat转化处理。两种转化处理根据终端当前所使用的虚拟机环境而定。The conversion treatment includes odex conversion treatment or oat conversion treatment. The two conversion processes are determined according to the virtual machine environment currently used by the terminal.
一般地,需要进行转化处理的文件路径为/system/framework/*.jar、/system/app/*.apk、/system/pri-app/*.apk、/vendor/app/*.apk以及/data/app/*.apk。*为应用名称。Generally, the file paths that need to be converted are /system/framework/*.jar, /system/app/*.apk, /system/pri-app/*.apk, /vendor/app/*.apk and / data/app/*.apk. * is the application name.
针对APK,还需要考虑版本号的差别,需要判别到底需要转化哪个APK,如果系统的APK已经升级过,则无需转化处理,已包含在/data/app中,具体的判断可以通过系统接口来进行。For APK, you also need to consider the difference in version number, and you need to determine which APK needs to be converted. If the APK of the system has been upgraded, there is no need to convert it, and it is already included in /data/app. The specific judgment can be made through the system interface. .
其中,当终端使用dalvikvm的虚拟机环境时,需要对升级包中的JAR文件、系统APK以及用户安装的APK进行odex转化处理。具体地,在dex环境下,将上述三种文件里的dex转化为odex,而在odex环境下,系统JAR文件已经是odex了,不需要转化;同时大部分APK也是odex,但是系统里仍有部分dex的APK,仍需要转化为odex,而且用户自行安装的APK也需要转化。其中,dex和odex均为安卓(Android)平台上的可执行文件的类型。且odex是安卓上的APK中提取出来的可运行文件,即将APK中的classes.dex文件通过dex优化过程将其优化生成一个dex文件单独存放,原APK中的classes.dex文件会保留,这样做可以加快应用的启动速度,预先提取,减少对RAM的占用,因为没有odex的话,系统要从apk包中提取dex再运行。Among them, when the terminal uses the dalvikvm virtual machine environment, it is necessary to perform odex conversion processing on the JAR file in the upgrade package, the system APK, and the APK installed by the user. Specifically, in the dex environment, the dex in the above three files is converted into odex, while in the odex environment, the system JAR file is already odex, and no conversion is required; at the same time, most APKs are also odex, but there are still Some dex APKs still need to be converted to odex, and APKs installed by users also need to be converted. Wherein, both dex and odex are types of executable files on the Android (Android) platform. And odex is an executable file extracted from the APK on Android, that is, the classes.dex file in the APK will be optimized through the dex optimization process to generate a dex file and stored separately, and the classes.dex file in the original APK will be retained. It can speed up the startup speed of the application, extract it in advance, and reduce the occupation of RAM, because if there is no odex, the system needs to extract the dex from the apk package and then run it.
另一种情况,当终端使用安卓运行环境(Androidruntime,简称art)的虚拟机环境时,不管是dex环境下还是odex环境下,都需要将升级包中包含的文件如系统JAR文件,系统APK,用户安装的APK转化为oat,且转化为oat的过程比转化为odex的过程更长。In another case, when the terminal uses the virtual machine environment of the Android runtime (art for short), no matter in the dex environment or the odex environment, the files contained in the upgrade package, such as the system JAR file, system APK, The APK installed by the user is converted to oat, and the process of converting to oat is longer than the process of converting to odex.
因此,若将这些转化过程放在Android系统升级重启之后进行,将使得终端在很长一段时间无法使用,占用用户大量的时间。因此本发明实施例中将转化的过程放置在后台运行,在转化时,用户仍可以正常使用未升级的系统,不会因为系统升级而对用户体验造成影响。Therefore, if these conversion processes are carried out after the Android system is upgraded and restarted, the terminal will be unusable for a long period of time, which will take up a lot of time for the user. Therefore, in the embodiment of the present invention, the conversion process is placed to run in the background. During the conversion, the user can still use the non-upgraded system normally, and the user experience will not be affected by the system upgrade.
S103,将转化处理后的文件保存至除系统升级缓存区的其他存储位置。S103. Save the converted file to a storage location other than the system upgrade cache area.
可选地,系统升级缓存区的路径一般为/data/dalvik-cache,在将升级包中的文件进行转化处理之后,只需要将转化处理后的文件保存至该路径之外的其他存储位置即可。Optionally, the path of the system upgrade cache area is generally /data/dalvik-cache. After converting the files in the upgrade package, you only need to save the converted files to other storage locations other than this path. Can.
S104,在recovery模式下将所述转化处理后的文件拷贝至所述系统升级缓存区,完成升级。S104. Copy the converted file to the system upgrade buffer area in the recovery mode to complete the upgrade.
当转化处理以及存储处理完成之后,用户便可以操作终端进入recovery模式,终端接收用户输入的操作指令进入recovery模式之后,便可以将转化处理后的文件从原来的存储位置拷贝至所述系统升级缓存区,这样终端重启之后,将直接读取转化完成之后的文件,而无需再显示“Android正在更新”并进行长时间的系统初始化,而是可以直接进入更新后的Android系统。After the conversion processing and storage processing are completed, the user can operate the terminal to enter the recovery mode. After the terminal receives the operation command input by the user and enters the recovery mode, the converted file can be copied from the original storage location to the system upgrade cache In this way, after the terminal restarts, it will directly read the converted file without displaying "Android is updating" and performing a long system initialization, but can directly enter the updated Android system.
通过接收用户输入的升级指令,下载升级包,然后在后台对所述升级包中的文件进行转化处理,并将转化处理后的文件保存至除系统升级缓存区之外的其他存储位置,然后在recovery模式下将所述转化处理后的文件拷贝至所述系统升级缓存区,完成升级,由于转化处理在后台进行,因此在升级过程中用户可照常使用旧系统;且转化完成后,将转化处理后的文件存储在非系统升级缓存区,并在recovery模式下将其拷贝至系统升级缓存区,从而使得Android的初始化过程大大缩短,升级直接完成,在升级过程中,用户可以使用旧系统,在升级完成后,终端可直接调用转化处理后的文件使用,这样用户也就可以直接在终端重启后直接使用新的系统,使得整个升级过程中,终端的不可使用时间大大缩短,提升了终端的易用性,也提升了用户体验。Download the upgrade package by receiving the upgrade instruction input by the user, and then convert the files in the upgrade package in the background, and save the converted file to a storage location other than the system upgrade cache area, and then in the In the recovery mode, the converted file is copied to the system upgrade cache to complete the upgrade. Since the conversion process is performed in the background, the user can use the old system as usual during the upgrade process; and after the conversion is completed, the conversion process The final file is stored in the non-system upgrade cache area, and copied to the system upgrade cache area in recovery mode, so that the initialization process of Android is greatly shortened, and the upgrade is completed directly. During the upgrade process, the user can use the old system. After the upgrade is completed, the terminal can directly use the converted file, so that the user can directly use the new system after the terminal is restarted, which greatly shortens the unusable time of the terminal during the entire upgrade process and improves the ease of use of the terminal. Usability also improves user experience.
请参照图2,为本发明提供的Android系统升级的方法的第二实施例的流程示意图,在本实施例中,所述方法包括以下步骤:Please refer to FIG. 2 , which is a schematic flow chart of the second embodiment of the method for upgrading the Android system provided by the present invention. In this embodiment, the method includes the following steps:
S201,接收用户输入的升级指令,下载升级包。S201. Receive an upgrade instruction input by a user, and download an upgrade package.
S202,若所述升级包为增量升级包,则将所述升级包中的系统归档文件及系统Android安装包进行合成。S202. If the upgrade package is an incremental upgrade package, synthesize the system archive file and the system Android installation package in the upgrade package.
可选地,若所述升级包为增量升级包,则将所述升级包中的系统归档文件及系统Android安装包进行合成在后台进行。Optionally, if the upgrade package is an incremental upgrade package, the system archive file and system Android installation package in the upgrade package are synthesized in the background.
当然,若所述升级包为全量升级包,则无需进行合成。Of course, if the upgrade package is a full upgrade package, there is no need to synthesize it.
S203,在后台对所述升级包中的文件进行转化处理。S203. Perform conversion processing on the files in the upgrade package in the background.
一般地,需要进行转化处理的文件路径为/system/framework/*.jar、/system/app/*.apk、/system/pri-app/*.apk、/vendor/app/*.apk以及/data/app/*.apk。*为应用名称。Generally, the file paths that need to be converted are /system/framework/*.jar, /system/app/*.apk, /system/pri-app/*.apk, /vendor/app/*.apk and / data/app/*.apk. * is the application name.
针对APK,还需要考虑版本号的差别,需要判别到底需要转化哪个APK,如果系统的APK已经升级过,则无需转化处理,已包含在/data/app中,具体的判断可以通过系统接口来进行。For APK, you also need to consider the difference in version number, and you need to determine which APK needs to be converted. If the APK of the system has been upgraded, there is no need to convert it, and it is already included in /data/app. The specific judgment can be made through the system interface. .
其中,所述升级包中的文件包括系统归档(JavaArchive,简称JAR)文件、系统Android安装包(AndroidPackage,简称APK)以及用户安装的Android安装包。Wherein, the files in the upgrade package include a system archive (JavaArchive, JAR for short), a system Android installation package (Android Package, APK for short), and an Android installation package installed by a user.
所述转化处理包括odex转化处理或oat转化处理。两种转化处理根据终端当前所使用的虚拟机环境而定。The conversion treatment includes odex conversion treatment or oat conversion treatment. The two conversion processes are determined according to the virtual machine environment currently used by the terminal.
其中,当终端使用dalvikvm的虚拟机环境时,需要对升级包中的JAR文件、系统APK以及用户安装的APK进行odex转化处理。具体地,在dex环境下,将上述三种文件里的dex转化为odex,而在odex环境下,系统JAR文件已经是odex了,不需要转化;同时大部分APK也是odex,但是系统里仍有部分dex的APK,仍需要转化为odex,而且用户自行安装的APK也需要转化。其中,dex和odex均为安卓(Android)平台上的可执行文件的类型。且odex是安卓上的APK中提取出来的可运行文件,即将APK中的classes.dex文件通过dex优化过程将其优化生成一个dex文件单独存放,原APK中的classes.dex文件会保留,这样做可以加快应用的启动速度,预先提取,减少对RAM的占用,因为没有odex的话,系统要从apk包中提取dex再运行。Among them, when the terminal uses the dalvikvm virtual machine environment, it is necessary to perform odex conversion processing on the JAR file in the upgrade package, the system APK, and the APK installed by the user. Specifically, in the dex environment, the dex in the above three files is converted into odex, while in the odex environment, the system JAR file is already odex, and no conversion is required; at the same time, most APKs are also odex, but there are still Some dex APKs still need to be converted to odex, and APKs installed by users also need to be converted. Wherein, both dex and odex are types of executable files on the Android (Android) platform. And odex is an executable file extracted from the APK on Android, that is, the classes.dex file in the APK will be optimized through the dex optimization process to generate a dex file and stored separately, and the classes.dex file in the original APK will be retained. It can speed up the startup speed of the application, extract it in advance, and reduce the occupation of RAM, because if there is no odex, the system needs to extract the dex from the apk package and then run it.
另一种情况,当终端使用安卓运行环境(Androidruntime,简称art)的虚拟机环境时,不管是dex环境下还是odex环境下,都需要将升级包中包含的文件如系统JAR文件,系统APK,用户安装的APK转化为oat,且转化为oat的过程比转化为odex的过程更长。In another case, when the terminal uses the virtual machine environment of the Android runtime (art for short), no matter in the dex environment or the odex environment, the files contained in the upgrade package, such as the system JAR file, system APK, The APK installed by the user is converted to oat, and the process of converting to oat is longer than the process of converting to odex.
因此,若将这些转化过程放在Android系统升级重启之后进行,将使得终端在很长一段时间无法使用,占用用户大量的时间。因此本发明实施例中将转化的过程放置在后台运行,在转化时,用户仍可以正常使用未升级的系统,不会因为系统升级而对用户体验造成影响。Therefore, if these conversion processes are carried out after the Android system is upgraded and restarted, the terminal will be unusable for a long period of time, which will take up a lot of time for the user. Therefore, in the embodiment of the present invention, the conversion process is placed to run in the background. During the conversion, the user can still use the non-upgraded system normally, and the user experience will not be affected by the system upgrade.
S204,将转化处理后的文件保存至除系统升级缓存区的其他存储位置。S204. Save the converted file to a storage location other than the system upgrade cache area.
可选地,系统升级缓存区的路径一般为/data/dalvik-cache,在将升级包中的文件进行转化处理之后,只需要将转化处理后的文件保存至该路径之外的其他存储位置即可。Optionally, the path of the system upgrade cache area is generally /data/dalvik-cache. After converting the files in the upgrade package, you only need to save the converted files to other storage locations other than this path. Can.
S205,在recovery模式下将所述转化处理后的文件拷贝至所述系统升级缓存区,完成升级。S205. In the recovery mode, copy the converted file to the system upgrade buffer area to complete the upgrade.
当转化处理以及存储处理完成之后,用户便可以操作终端进入recovery模式,终端接收用户输入的操作指令进入recovery模式之后,便可以将转化处理后的文件从原来的存储位置拷贝至所述系统升级缓存区,这样终端重启之后,将直接读取转化完成之后的文件,而无需再显示“Android正在更新”并进行长时间的系统初始化,而是可以直接进入更新后的Android系统。After the conversion processing and storage processing are completed, the user can operate the terminal to enter the recovery mode. After the terminal receives the operation command input by the user and enters the recovery mode, the converted file can be copied from the original storage location to the system upgrade cache In this way, after the terminal restarts, it will directly read the converted file without displaying "Android is updating" and performing a long system initialization, but can directly enter the updated Android system.
请参照图3,为本发明提供的Android系统升级的方法的第二实施例的流程示意图,在本实施例中,所述方法包括以下步骤:Please refer to FIG. 3 , which is a schematic flow chart of the second embodiment of the method for upgrading the Android system provided by the present invention. In this embodiment, the method includes the following steps:
S301,接收用户输入的升级指令,下载升级包。S301. Receive an upgrade instruction input by a user, and download an upgrade package.
S302,若所述升级包为增量升级包,则将所述升级包中的系统归档文件及系统Android安装包进行合成。S302. If the upgrade package is an incremental upgrade package, synthesize the system archive file and the system Android installation package in the upgrade package.
可选地,若所述升级包为增量升级包,则将所述升级包中的系统归档文件及系统Android安装包进行合成在后台进行。Optionally, if the upgrade package is an incremental upgrade package, the system archive file and system Android installation package in the upgrade package are synthesized in the background.
当然,若所述升级包为全量升级包,则无需进行合成。Of course, if the upgrade package is a full upgrade package, there is no need to synthesize it.
S303,在后台对所述升级包中的文件进行转化处理。S303. Perform conversion processing on the files in the upgrade package in the background.
一般地,需要进行转化处理的文件路径为/system/framework/*.jar、/system/app/*.apk、/system/pri-app/*.apk、/vendor/app/*.apk以及/data/app/*.apk。*为应用名称。Generally, the file paths that need to be converted are /system/framework/*.jar, /system/app/*.apk, /system/pri-app/*.apk, /vendor/app/*.apk and / data/app/*.apk. * is the application name.
针对APK,还需要考虑版本号的差别,需要判别到底需要转化哪个APK,如果系统的APK已经升级过,则无需转化处理,已包含在/data/app中,具体的判断可以通过系统接口来进行。For APK, you also need to consider the difference in version number, and you need to determine which APK needs to be converted. If the APK of the system has been upgraded, there is no need to convert it, and it is already included in /data/app. The specific judgment can be made through the system interface. .
其中,所述升级包中的文件包括系统归档(JavaArchive,简称JAR)文件、系统Android安装包(AndroidPackage,简称APK)以及用户安装的Android安装包。Wherein, the files in the upgrade package include a system archive (JavaArchive, JAR for short), a system Android installation package (Android Package, APK for short), and an Android installation package installed by a user.
所述转化处理包括odex转化处理或oat转化处理。两种转化处理根据终端当前所使用的虚拟机环境而定。The conversion treatment includes odex conversion treatment or oat conversion treatment. The two conversion processes are determined according to the virtual machine environment currently used by the terminal.
其中,当终端使用dalvikvm的虚拟机环境时,需要对升级包中的JAR文件、系统APK以及用户安装的APK进行odex转化处理。具体地,在dex环境下,将上述三种文件里的dex转化为odex,而在odex环境下,系统JAR文件已经是odex了,不需要转化;同时大部分APK也是odex,但是系统里仍有部分dex的APK,仍需要转化为odex,而且用户自行安装的APK也需要转化。其中,dex和odex均为安卓(Android)平台上的可执行文件的类型。且odex是安卓上的APK中提取出来的可运行文件,即将APK中的classes.dex文件通过dex优化过程将其优化生成一个dex文件单独存放,原APK中的classes.dex文件会保留,这样做可以加快应用的启动速度,预先提取,减少对RAM的占用,因为没有odex的话,系统要从apk包中提取dex再运行。Among them, when the terminal uses the dalvikvm virtual machine environment, it is necessary to perform odex conversion processing on the JAR file in the upgrade package, the system APK, and the APK installed by the user. Specifically, in the dex environment, the dex in the above three files is converted into odex, while in the odex environment, the system JAR file is already odex, and no conversion is required; at the same time, most APKs are also odex, but there are still Some dex APKs still need to be converted to odex, and APKs installed by users also need to be converted. Wherein, both dex and odex are types of executable files on the Android (Android) platform. And odex is an executable file extracted from the APK on Android, that is, the classes.dex file in the APK will be optimized through the dex optimization process to generate a dex file and stored separately, and the classes.dex file in the original APK will be retained. It can speed up the startup speed of the application, extract it in advance, and reduce the occupation of RAM, because if there is no odex, the system needs to extract the dex from the apk package and then run it.
另一种情况,当终端使用安卓运行环境(Androidruntime,简称art)的虚拟机环境时,不管是dex环境下还是odex环境下,都需要将升级包中包含的文件如系统JAR文件,系统APK,用户安装的APK转化为oat,且转化为oat的过程比转化为odex的过程更长。In another case, when the terminal uses the virtual machine environment of the Android runtime (art for short), no matter in the dex environment or the odex environment, the files contained in the upgrade package, such as the system JAR file, system APK, The APK installed by the user is converted to oat, and the process of converting to oat is longer than the process of converting to odex.
因此,若将这些转化过程放在Android系统升级重启之后进行,将使得终端在很长一段时间无法使用,占用用户大量的时间。因此本发明实施例中将转化的过程放置在后台运行,在转化时,用户仍可以正常使用未升级的系统,不会因为系统升级而对用户体验造成影响。Therefore, if these conversion processes are carried out after the Android system is upgraded and restarted, the terminal will be unusable for a long period of time, which will take up a lot of time for the user. Therefore, in the embodiment of the present invention, the conversion process is placed to run in the background. During the conversion, the user can still use the non-upgraded system normally, and the user experience will not be affected by the system upgrade.
S304,将转化处理后的文件保存至外置安全数码卡中。S304, saving the converted file to an external secure digital card.
可选地,系统升级缓存区的路径一般为/data/dalvik-cache,在将升级包中的文件进行转化处理之后,只需要将转化处理后的文件保存至该路径之外的其他存储位置即可。例如,可以是外置安全数码卡中,当然也可以是终端内置存储中除系统升级缓存区的其他存储路径。Optionally, the path of the system upgrade cache area is generally /data/dalvik-cache. After converting the files in the upgrade package, you only need to save the converted files to other storage locations other than this path. Can. For example, it can be in an external secure digital card, and of course it can also be in other storage paths in the built-in storage of the terminal except the system upgrade buffer area.
S305,在recovery模式下将所述转化处理后的文件拷贝至所述系统升级缓存区,完成升级。S305. In the recovery mode, copy the converted file to the system upgrade cache area to complete the upgrade.
当转化处理以及存储处理完成之后,用户便可以操作终端进入recovery模式,终端接收用户输入的操作指令进入recovery模式之后,便可以将转化处理后的文件从原来的存储位置拷贝至所述系统升级缓存区,这样终端重启之后,将直接读取转化完成之后的文件,而无需再显示“Android正在更新”并进行长时间的系统初始化,而是可以直接进入更新后的Android系统。After the conversion processing and storage processing are completed, the user can operate the terminal to enter the recovery mode. After the terminal receives the operation command input by the user and enters the recovery mode, the converted file can be copied from the original storage location to the system upgrade cache In this way, after the terminal restarts, it will directly read the converted file without displaying "Android is updating" and performing a long system initialization, but can directly enter the updated Android system.
请参照图4,为本发明实施例提供的终端的第一实施例的组成示意图,在本实施例中,所述终端包括:Please refer to FIG. 4, which is a schematic diagram of the composition of the first embodiment of the terminal provided by the embodiment of the present invention. In this embodiment, the terminal includes:
下载单元100,用于接收用户输入的升级指令,下载升级包;A download unit 100, configured to receive an upgrade instruction input by a user, and download an upgrade package;
转化单元200,用于在后台对所述升级包中的文件进行转化处理;A conversion unit 200, configured to perform conversion processing on the files in the upgrade package in the background;
存储单元300,用于将转化处理后的文件保存至除系统升级缓存区的其他存储位置;The storage unit 300 is configured to save the converted file to a storage location other than the system upgrade cache area;
升级单元400,用于在recovery模式下将所述转化处理后的文件拷贝至所述系统升级缓存区,完成升级。The upgrade unit 400 is configured to copy the converted file to the system upgrade cache in the recovery mode to complete the upgrade.
可选地,所述转化单元200还用于:Optionally, the transformation unit 200 is also used for:
若所述升级包为增量升级包,则将所述升级包中的系统归档文件及系统Android安装包进行合成;If the upgrade package is an incremental upgrade package, then the system archive file and the system Android installation package in the upgrade package are synthesized;
若所述升级包为全量升级包,则无需进行合成。If the upgrade package is a full upgrade package, no synthesis is required.
可选地,若所述升级包为增量升级包,则将所述升级包中的系统归档文件及系统Android安装包进行合成在后台进行。Optionally, if the upgrade package is an incremental upgrade package, the system archive file and system Android installation package in the upgrade package are synthesized in the background.
可选地,所述存储单元300具体用于:Optionally, the storage unit 300 is specifically used for:
将转化处理后的文件保存至外置安全数码卡中;或者Save converted files to an external Secure Digital card; or
将转化处理后的文件保存至终端内置存储中除系统升级缓存区的其他存储路径。Save the converted file to a storage path other than the system upgrade buffer area in the built-in storage of the terminal.
可选地,所述升级包中的文件包括系统归档文件、系统Android安装包以及用户安装的Android安装包;Optionally, the files in the upgrade package include system archive files, system Android installation packages and user-installed Android installation packages;
所述转化处理包括odex转化处理或oat转化处理。The conversion treatment includes odex conversion treatment or oat conversion treatment.
以上下载单元100、转化单元200、存储单元300及升级单元400可以独立存在,也可以集成设置,下载单元100、转化单元200、存储单元300或升级单元400可以以硬件的形式独立于终端的处理器单独设置,且设置形式可以是微处理器的形式;也可以以硬件形式内嵌于该终端的处理器中,还可以以软件形式存储于该终端的存储器中,以便于该终端的处理器调用执行以上下载单元100、转化单元200、存储单元300及升级单元400对应的操作。The above download unit 100, conversion unit 200, storage unit 300 and upgrade unit 400 can exist independently, and can also be integrated. The download unit 100, conversion unit 200, storage unit 300 or upgrade unit 400 can be independent of terminal processing in the form of hardware The device is set separately, and the setting form can be in the form of a microprocessor; it can also be embedded in the terminal processor in the form of hardware, and can also be stored in the memory of the terminal in the form of software, so that the processor of the terminal The operations corresponding to the above downloading unit 100 , converting unit 200 , storage unit 300 and upgrading unit 400 are called and executed.
例如,在本发明终端的第一实施例(图4所示的实施例)中,转化单元200可以为该终端的处理器,而下载单元100、存储单元300及升级单元400的功能可以内嵌于该处理器中,也可以独立于处理器单独设置,也可以以软件的形式存储于存储器中,由处理器调用实现其功能。本发明实施例不做任何限制。以上处理器可以为中央处理单元(CPU)、微处理器、单片机等。For example, in the first embodiment of the terminal of the present invention (the embodiment shown in FIG. 4 ), the conversion unit 200 can be the processor of the terminal, and the functions of the download unit 100, the storage unit 300 and the upgrade unit 400 can be embedded In the processor, it can also be set independently from the processor, or can be stored in the memory in the form of software, and be called by the processor to realize its functions. The embodiment of the present invention does not make any limitation. The above processor may be a central processing unit (CPU), a microprocessor, a single-chip microcomputer, and the like.
需要说明的是,本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. For the same and similar parts in each embodiment, refer to each other, that is, Can. As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.
通过上述实施例的描述,本发明具有以下优点:Through the description of the foregoing embodiments, the present invention has the following advantages:
通过接收用户输入的升级指令,下载升级包,然后在后台对所述升级包中的文件进行转化处理,并将转化处理后的文件保存至除系统升级缓存区之外的其他存储位置,然后在recovery模式下将所述转化处理后的文件拷贝至所述系统升级缓存区,完成升级,由于转化处理在后台进行,因此在升级过程中用户可照常使用旧系统;且转化完成后,将转化处理后的文件存储在非系统升级缓存区,并在recovery模式下将其拷贝至系统升级缓存区,从而使得Android的初始化过程大大缩短,升级直接完成,在升级过程中,用户可以使用旧系统,在升级完成后,终端可直接调用转化处理后的文件使用,这样用户也就可以直接在终端重启后直接使用新的系统,使得整个升级过程中,终端的不可使用时间大大缩短,提升了终端的易用性,也提升了用户体验。Download the upgrade package by receiving the upgrade instruction input by the user, and then convert the files in the upgrade package in the background, and save the converted file to a storage location other than the system upgrade cache area, and then in the In the recovery mode, the converted file is copied to the system upgrade cache to complete the upgrade. Since the conversion process is performed in the background, the user can use the old system as usual during the upgrade process; and after the conversion is completed, the conversion process The final file is stored in the non-system upgrade cache area, and copied to the system upgrade cache area in recovery mode, so that the initialization process of Android is greatly shortened, and the upgrade is completed directly. During the upgrade process, the user can use the old system. After the upgrade is completed, the terminal can directly use the converted file, so that the user can directly use the new system after the terminal is restarted, which greatly shortens the unusable time of the terminal during the entire upgrade process and improves the ease of use of the terminal. Usability also improves user experience.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-OnlyMemory,简称ROM)或随机存储记忆体(RandomAccessMemory,简称RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM for short), or a random access memory (Random Access Memory, RAM for short).
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。The above disclosures are only preferred embodiments of the present invention, and certainly cannot limit the scope of rights of the present invention. Therefore, equivalent changes made according to the claims of the present invention still fall within the scope of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510617484.9ACN105138382B (en) | 2015-09-24 | 2015-09-24 | Android system upgrading method and terminal |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510617484.9ACN105138382B (en) | 2015-09-24 | 2015-09-24 | Android system upgrading method and terminal |
| Publication Number | Publication Date |
|---|---|
| CN105138382Atrue CN105138382A (en) | 2015-12-09 |
| CN105138382B CN105138382B (en) | 2019-02-05 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510617484.9AExpired - Fee RelatedCN105138382B (en) | 2015-09-24 | 2015-09-24 | Android system upgrading method and terminal |
| Country | Link |
|---|---|
| CN (1) | CN105138382B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105528229A (en)* | 2015-12-16 | 2016-04-27 | 广东欧珀移动通信有限公司 | Method and device for improving first starting speed of mobile terminal |
| CN105677335A (en)* | 2015-12-29 | 2016-06-15 | 广东欧珀移动通信有限公司 | Method and device for increasing first starting speed of mobile terminal |
| CN105808300A (en)* | 2016-03-09 | 2016-07-27 | 广东欧珀移动通信有限公司 | Terminal starting method and device |
| CN105975037A (en)* | 2016-05-16 | 2016-09-28 | 青岛海信电器股份有限公司 | Method for restoring factory settings based on Android system and intelligent equipment |
| CN106020882A (en)* | 2016-05-18 | 2016-10-12 | 青岛海信电器股份有限公司 | Application upgrading method, intelligent terminal and upgrading system |
| CN106126377A (en)* | 2016-07-04 | 2016-11-16 | 广东欧珀移动通信有限公司 | The method and device of system start-up |
| CN106201625A (en)* | 2016-07-19 | 2016-12-07 | 乐视控股(北京)有限公司 | A kind of software version updating method, updating device and electronic equipment thereof |
| CN106293835A (en)* | 2016-08-09 | 2017-01-04 | 捷开通讯(深圳)有限公司 | A kind of method and system of smart machine firmware upgrade |
| CN106406940A (en)* | 2016-09-05 | 2017-02-15 | 广东欧珀移动通信有限公司 | System upgrading method, device and terminal |
| CN106681761A (en)* | 2016-12-13 | 2017-05-17 | 深圳市恒扬数据股份有限公司 | Interactive upgrade method and system |
| CN106775827A (en)* | 2016-11-25 | 2017-05-31 | 广东欧珀移动通信有限公司 | Application program update method and device, and computer equipment |
| WO2017128589A1 (en)* | 2016-01-26 | 2017-08-03 | 中兴通讯股份有限公司 | Method of generating executable file and art virtual machine execution method and device |
| CN107193580A (en)* | 2017-03-31 | 2017-09-22 | 北京元心科技有限公司 | Method for updating system and non-of short duration computer-readable medium |
| CN109165048A (en)* | 2018-10-11 | 2019-01-08 | 四川长虹电器股份有限公司 | Quick start method after upgrading based on Android system |
| CN109634629A (en)* | 2018-10-25 | 2019-04-16 | 努比亚技术有限公司 | A kind of method for upgrading system, terminal and computer readable storage medium |
| CN111290773A (en)* | 2020-03-12 | 2020-06-16 | 深圳Tcl新技术有限公司 | System upgrading method, device and readable storage medium |
| CN112463199A (en)* | 2019-09-09 | 2021-03-09 | 青岛海信移动通信技术股份有限公司 | System upgrading method and terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN202009452U (en)* | 2010-11-17 | 2011-10-12 | 苏州冠捷科技有限公司 | Verification system for TV set application program upgrading |
| CN103685554A (en)* | 2013-12-25 | 2014-03-26 | 浙江云巢科技有限公司 | Upgrading method, device and system |
| CN103699398A (en)* | 2012-09-27 | 2014-04-02 | 联想(北京)有限公司 | Terminal equipment and starting control method thereof |
| CN104216719A (en)* | 2013-05-30 | 2014-12-17 | 深圳创维无线技术有限公司 | Method and device for updating android system |
| CN104252363A (en)* | 2013-06-25 | 2014-12-31 | 上海博泰悦臻电子设备制造有限公司 | Rapid starting method for vehicle-mounted system based on Android system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN202009452U (en)* | 2010-11-17 | 2011-10-12 | 苏州冠捷科技有限公司 | Verification system for TV set application program upgrading |
| CN103699398A (en)* | 2012-09-27 | 2014-04-02 | 联想(北京)有限公司 | Terminal equipment and starting control method thereof |
| CN104216719A (en)* | 2013-05-30 | 2014-12-17 | 深圳创维无线技术有限公司 | Method and device for updating android system |
| CN104252363A (en)* | 2013-06-25 | 2014-12-31 | 上海博泰悦臻电子设备制造有限公司 | Rapid starting method for vehicle-mounted system based on Android system |
| CN103685554A (en)* | 2013-12-25 | 2014-03-26 | 浙江云巢科技有限公司 | Upgrading method, device and system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105528229A (en)* | 2015-12-16 | 2016-04-27 | 广东欧珀移动通信有限公司 | Method and device for improving first starting speed of mobile terminal |
| CN105528229B (en)* | 2015-12-16 | 2018-09-07 | 广东欧珀移动通信有限公司 | Improve the method and device that mobile terminal first powers on speed |
| CN105677335A (en)* | 2015-12-29 | 2016-06-15 | 广东欧珀移动通信有限公司 | Method and device for increasing first starting speed of mobile terminal |
| CN105677335B (en)* | 2015-12-29 | 2019-03-26 | Oppo广东移动通信有限公司 | Improve the method and device that mobile terminal first powers on speed |
| WO2017128589A1 (en)* | 2016-01-26 | 2017-08-03 | 中兴通讯股份有限公司 | Method of generating executable file and art virtual machine execution method and device |
| CN105808300A (en)* | 2016-03-09 | 2016-07-27 | 广东欧珀移动通信有限公司 | Terminal starting method and device |
| CN105808300B (en)* | 2016-03-09 | 2019-05-03 | Oppo广东移动通信有限公司 | Terminal starting method and device |
| CN105975037A (en)* | 2016-05-16 | 2016-09-28 | 青岛海信电器股份有限公司 | Method for restoring factory settings based on Android system and intelligent equipment |
| CN106020882A (en)* | 2016-05-18 | 2016-10-12 | 青岛海信电器股份有限公司 | Application upgrading method, intelligent terminal and upgrading system |
| CN106126377A (en)* | 2016-07-04 | 2016-11-16 | 广东欧珀移动通信有限公司 | The method and device of system start-up |
| CN106126377B (en)* | 2016-07-04 | 2019-07-02 | Oppo广东移动通信有限公司 | System startup method and device |
| CN106201625A (en)* | 2016-07-19 | 2016-12-07 | 乐视控股(北京)有限公司 | A kind of software version updating method, updating device and electronic equipment thereof |
| CN106293835A (en)* | 2016-08-09 | 2017-01-04 | 捷开通讯(深圳)有限公司 | A kind of method and system of smart machine firmware upgrade |
| CN106406940A (en)* | 2016-09-05 | 2017-02-15 | 广东欧珀移动通信有限公司 | System upgrading method, device and terminal |
| CN106406940B (en)* | 2016-09-05 | 2020-01-10 | Oppo广东移动通信有限公司 | System upgrading method, device and terminal |
| CN106775827A (en)* | 2016-11-25 | 2017-05-31 | 广东欧珀移动通信有限公司 | Application program update method and device, and computer equipment |
| CN106775827B (en)* | 2016-11-25 | 2020-05-12 | Oppo广东移动通信有限公司 | Application program updating method and device and computer equipment |
| CN106681761A (en)* | 2016-12-13 | 2017-05-17 | 深圳市恒扬数据股份有限公司 | Interactive upgrade method and system |
| CN107193580A (en)* | 2017-03-31 | 2017-09-22 | 北京元心科技有限公司 | Method for updating system and non-of short duration computer-readable medium |
| CN109165048A (en)* | 2018-10-11 | 2019-01-08 | 四川长虹电器股份有限公司 | Quick start method after upgrading based on Android system |
| CN109634629A (en)* | 2018-10-25 | 2019-04-16 | 努比亚技术有限公司 | A kind of method for upgrading system, terminal and computer readable storage medium |
| CN109634629B (en)* | 2018-10-25 | 2022-04-15 | 努比亚技术有限公司 | System upgrading method, terminal and computer readable storage medium |
| CN112463199A (en)* | 2019-09-09 | 2021-03-09 | 青岛海信移动通信技术股份有限公司 | System upgrading method and terminal |
| CN111290773A (en)* | 2020-03-12 | 2020-06-16 | 深圳Tcl新技术有限公司 | System upgrading method, device and readable storage medium |
| CN111290773B (en)* | 2020-03-12 | 2024-01-19 | 深圳Tcl新技术有限公司 | System upgrade method, device and readable storage medium |
| Publication number | Publication date |
|---|---|
| CN105138382B (en) | 2019-02-05 |
| Publication | Publication Date | Title |
|---|---|---|
| CN105138382A (en) | Method and terminal for upgrading Android system | |
| KR101963912B1 (en) | Application compatibility with library operating systems | |
| US8972966B2 (en) | Updating firmware in a hybrid computing environment | |
| US9411601B2 (en) | Flexible bootstrap code architecture | |
| US20120054734A1 (en) | Device software upgrade using a dynamically sized partition | |
| TWI715762B (en) | Method and apparatus for creating virtual machine | |
| WO2019084737A1 (en) | Method for updating selinux security policy, and terminal | |
| TW201415365A (en) | Method for updating operating system and handheld electronic apparatus | |
| CN104375849A (en) | Core loading method and device | |
| JP2013544416A (en) | Preheat type software installation | |
| CN105068834B (en) | Method for upgrading system and device | |
| CN106293849B (en) | An application update method and terminal | |
| CN104123153A (en) | Apparatus and method for firmware upgrade using USB | |
| KR101555210B1 (en) | Apparatus and method for downloadin contents using movinand in portable terminal | |
| WO2023070823A1 (en) | Bootloader loading method, apparatus and system, electronic device and medium | |
| CN112181467B (en) | Method and device for upgrading memory firmware of terminal, terminal and storage medium | |
| CN111694585A (en) | Method, system, terminal and storage medium for replacing system partition file | |
| WO2017193885A1 (en) | Application starting method and apparatus | |
| CN105404536A (en) | Terminal software upgrade method and terminal software upgrade apparatus | |
| CN109753299A (en) | A system upgrade method, device and computer storage medium | |
| WO2023213263A1 (en) | Program compiling method, program starting method, and device and storage medium | |
| CN108647032A (en) | Using loading method and device, computer installation and computer readable storage medium | |
| RU2635891C2 (en) | Installation mechanism and package format for parallelizable reliable installations | |
| WO2019144621A1 (en) | Method, apparatus, and server for acquiring uefi os startup item | |
| CN104951330B (en) | Method for operating multiple operating systems and electronic device thereof |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| CB02 | Change of applicant information | Address after:523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after:GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before:523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before:GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. | |
| CB02 | Change of applicant information | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | Granted publication date:20190205 | |
| CF01 | Termination of patent right due to non-payment of annual fee |