Movatterモバイル変換


[0]ホーム

URL:


CN107844318A - The upgrade method and mobile terminal and server of a kind of operating system - Google Patents

The upgrade method and mobile terminal and server of a kind of operating system
Download PDF

Info

Publication number
CN107844318A
CN107844318ACN201711308077.5ACN201711308077ACN107844318ACN 107844318 ACN107844318 ACN 107844318ACN 201711308077 ACN201711308077 ACN 201711308077ACN 107844318 ACN107844318 ACN 107844318A
Authority
CN
China
Prior art keywords
operating system
file
mobile terminal
server
information
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN201711308077.5A
Other languages
Chinese (zh)
Other versions
CN107844318B (en
Inventor
艾迎迎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
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 Vivo Mobile Communication Co LtdfiledCriticalVivo Mobile Communication Co Ltd
Priority to CN201711308077.5ApriorityCriticalpatent/CN107844318B/en
Publication of CN107844318ApublicationCriticalpatent/CN107844318A/en
Application grantedgrantedCritical
Publication of CN107844318BpublicationCriticalpatent/CN107844318B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

Translated fromChinese

本发明公开了一种操作系统的升级方法及移动终端和服务器,所述方法包括:当接收到第一操作系统的升级信息时,确定第一操作系统相比于第二操作系统发生变化的第一系统文件;其中,所述第一操作系统为所述移动终端当前所处的系统,所述第一操作系统和第二操作系统具有相同的版本号;根据所述第一系统文件,确定待发送至服务器的差异文件信息;将所述差异文件信息发送至服务器,使所述服务器根据所述差异文件信息生成修复包;从所述服务器获取升级包和所述修复包;根据所述修复包将所述第一操作系统修复至所述第二操作系统;根据所述升级包对所述第二操作系统进行升级。本发明可提升对修改后的操作系统的升级效率。

The invention discloses a method for upgrading an operating system, a mobile terminal and a server. The method includes: when receiving the upgrading information of the first operating system, determining the first operating system that has changed compared with the second operating system. A system file; wherein, the first operating system is the system where the mobile terminal is currently located, and the first operating system and the second operating system have the same version number; according to the first system file, determine the send the difference file information to the server; send the difference file information to the server, so that the server generates a repair package according to the difference file information; obtain the upgrade package and the repair package from the server; according to the repair package Restoring the first operating system to the second operating system; upgrading the second operating system according to the upgrade package. The invention can improve the upgrading efficiency of the modified operating system.

Description

Translated fromChinese
一种操作系统的升级方法及移动终端和服务器An operating system upgrade method, mobile terminal and server

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种操作系统的升级方法及移动终端和服务器。The invention relates to the technical field of communications, in particular to an operating system upgrading method, a mobile terminal and a server.

背景技术Background technique

对于移动终端而言,ROOT操作使用户可以获取操作系统的超级用户权限。ROOT操作通常可以用于帮助用户越过制造商的限制,使得用户可以卸载制造商、运营商、第三方渠道商预装在移动终端中某些应用,以及运行一些需要超级用户权限的应用程序。因此,用户常常会对移动终端进行ROOT操作。For a mobile terminal, the ROOT operation enables the user to obtain the super user authority of the operating system. The ROOT operation can usually be used to help users bypass the manufacturer's restrictions, so that users can uninstall some applications pre-installed in mobile terminals by manufacturers, operators, and third-party channel providers, and run some applications that require superuser permissions. Therefore, users often perform ROOT operations on mobile terminals.

ROOT操作虽然能够给用户使用操作系统带来方便,但ROOT操作后的移动终端均面临着无法升级的问题。操作系统的升级是运营商或厂商为了方便用户的使用,对移动终端内操作系统进行更新一个过程。就目前而言,ROOT操作后的移动终端由于内部系统文件发生了变化,均无法进行正常的升级。目前对ROOT操作后的移动终端中的操作系统进行升级,只能将整个更高版本的操作系统全部下载,然后才能进行升级。由于高版本的操作系统的文件通常较大,因此,这种升级过程比较耗时,效率低下。Although the ROOT operation can bring convenience to the user to use the operating system, the mobile terminals after the ROOT operation are faced with the problem that they cannot be upgraded. The upgrade of the operating system is a process for operators or manufacturers to update the operating system in the mobile terminal for the convenience of users. As far as the current situation is concerned, mobile terminals after ROOT operations cannot be upgraded normally due to changes in internal system files. At present, to upgrade the operating system in the mobile terminal after the ROOT operation, only the entire operating system of a higher version can be downloaded, and then the upgrade can be performed. Since the file of a high-version operating system is generally large, this upgrade process is time-consuming and inefficient.

发明内容Contents of the invention

本发明实施例的目的是提供一种操作系统的升级方法及移动终端和服务器,以解决现有技术对改变后的移动终端的操作系统进行升级时效率低下的问题。The purpose of the embodiments of the present invention is to provide a method for upgrading an operating system, a mobile terminal and a server, so as to solve the problem of inefficiency in upgrading the operating system of a changed mobile terminal in the prior art.

为了解决上述技术问题,本发明是这样实现的:In order to solve the problems of the technologies described above, the present invention is achieved in that:

第一方面,提供了一种操作系统的升级方法,应用于移动终端,所述方法包括:In a first aspect, a method for upgrading an operating system is provided, which is applied to a mobile terminal, and the method includes:

当接收到第一操作系统的升级信息时,确定第一操作系统相比于第二操作系统发生变化的第一系统文件;其中,所述第一操作系统为所述移动终端当前所处的系统,所述第一操作系统和第二操作系统具有相同的版本号;When receiving the upgrade information of the first operating system, determine the first system file in which the first operating system has changed compared with the second operating system; wherein, the first operating system is the system where the mobile terminal is currently located , the first operating system and the second operating system have the same version number;

根据所述第一系统文件,确定待发送至服务器的差异文件信息;According to the first system file, determine the difference file information to be sent to the server;

将所述差异文件信息发送至服务器,使所述服务器根据所述差异文件信息生成修复包;Sending the difference file information to a server, so that the server generates a repair package according to the difference file information;

从所述服务器获取升级包和所述修复包;Obtain the upgrade package and the repair package from the server;

根据所述修复包将所述第一操作系统修复至所述第二操作系统;repairing the first operating system to the second operating system according to the repair package;

根据所述升级包对所述第二操作系统进行升级。The second operating system is upgraded according to the upgrade package.

第二方面,提供了一种操作系统的升级方法,应用于服务器,所述方法包括:In a second aspect, a method for upgrading an operating system is provided, which is applied to a server, and the method includes:

接收由移动终端发送的差异文件信息,所述差异文件信息由所述移动终端根据第一系统文件确定,其中,所述移动终端接收到第一操作系统的升级信息时,则确定第一操作系统相比于第二操作系统发生变化的第一系统文件,所述第一操作系统为所述移动终端当前所处的系统,所述第一操作系统和第二操作系统具有相同的版本号;receiving the difference file information sent by the mobile terminal, the difference file information is determined by the mobile terminal according to the first system file, wherein, when the mobile terminal receives the upgrade information of the first operating system, it determines the first operating system Compared with the first system file that changes in the second operating system, the first operating system is the system where the mobile terminal is currently located, and the first operating system and the second operating system have the same version number;

根据所述差异文件信息生成修复包;Generate a repair package according to the difference file information;

将升级包和所述修复包发送至所述移动终端,使所述移动终端根据所述修复包将所述第一操作系统修复至所述第二操作系统,并根据所述升级包对所述第二操作系统进行升级。sending the upgrade package and the repair package to the mobile terminal, so that the mobile terminal repairs the first operating system to the second operating system according to the repair package, and repairs the The second operating system is upgraded.

第三方面,提供了一种移动终端,所述移动终端包括:In a third aspect, a mobile terminal is provided, and the mobile terminal includes:

第一确定模块,用于当检测到第一操作系统的升级包时,确定第一操作系统相比于第二操作系统发生变化的第一系统文件;其中,所述第一操作系统和第二操作系统具有相同的版本号;The first determining module is configured to determine the first system file of the first operating system that has changed compared with the second operating system when an upgrade package of the first operating system is detected; wherein, the first operating system and the second operating system The operating systems have the same version number;

第二确定模块,用于根据所述第一系统文件,确定待发送至服务器的差异文件信息;The second determination module is configured to determine the difference file information to be sent to the server according to the first system file;

发送模块,用于将所述差异文件信息发送至服务器,使所述服务器根据所述差异文件信息生成修复包;A sending module, configured to send the difference file information to a server, so that the server generates a repair package according to the difference file information;

获取模块,用于从所述服务器获取所述修复包和所述升级包;an acquisition module, configured to acquire the repair package and the upgrade package from the server;

修复模块,用于根据所述修复包将所述第一操作系统修复至所述第二操作系统;a repair module, configured to restore the first operating system to the second operating system according to the repair package;

升级模块,用于根据所述升级包对所述第二操作系统进行升级。An upgrade module, configured to upgrade the second operating system according to the upgrade package.

第四方面,提供了一种服务器,所述服务器包括:In a fourth aspect, a server is provided, and the server includes:

接收模块,用于接收由移动终端发送的差异文件信息,所述差异文件信息由所述移动终端根据第一系统文件确定,其中,所述移动终端检测到第一操作系统的升级包时,则确定第一操作系统相比于第二操作系统发生变化的第一系统文件;The receiving module is configured to receive difference file information sent by the mobile terminal, the difference file information is determined by the mobile terminal according to the first system file, wherein when the mobile terminal detects the upgrade package of the first operating system, then determining first system files that have changed from the first operating system to the second operating system;

生成模块,用于根据所述差异文件信息生成修复包;A generating module, configured to generate a repair package according to the difference file information;

终端发送模块,用于将所述修复包和升级包发送至所述移动终端,使所述移动终端根据所述修复包将所述第一操作系统修复至所述第二操作系统,并根据所述升级包对所述第二操作系统进行升级。A terminal sending module, configured to send the repair package and upgrade package to the mobile terminal, so that the mobile terminal repairs the first operating system to the second operating system according to the repair package, and according to the The upgrade package upgrades the second operating system.

第五方面,提供了一种移动终端,该移动终端包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如第一方面所述的方法的步骤。According to a fifth aspect, a mobile terminal is provided. The mobile terminal includes a processor, a memory, and a computer program stored in the memory and operable on the processor. When the computer program is executed by the processor, The steps of the method described in the first aspect are realized.

第六方面,提供了一种服务器,该服务器包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如第二方面所述的操作系统的升级方法的步骤。According to a sixth aspect, a server is provided. The server includes a processor, a memory, and a computer program stored on the memory and operable on the processor. When the computer program is executed by the processor, the following is implemented: Steps in the method for upgrading the operating system described in the second aspect.

在本发明实施例中,对于root后的移动终端的操作系统进行升级时,移动终端会将其操作系统的系统分区下的差异文件信息发送至服务器,服务器会根据该文件信息生成修复包,移动终端获取该修复包和升级包后,可以根据该修复包对系统分区进行修复,并根据升级包对操作系统进行升级;在这里,由于修复包是用于修复修改文件和删除文件,因此,修复包可以是一个较小的文件,升级包本身就是一个较小的文件,因此,本发明可以避免完全下载整个高版本的操作系统对root后的操作系统进行升级,提升对root后的操作系统的升级效率。In the embodiment of the present invention, when the operating system of a rooted mobile terminal is upgraded, the mobile terminal will send the difference file information under the system partition of its operating system to the server, and the server will generate a repair package according to the file information, and the mobile terminal will After the terminal obtains the repair package and the upgrade package, it can repair the system partition according to the repair package, and upgrade the operating system according to the upgrade package; here, since the repair package is used to repair and delete files, the repair The package can be a smaller file, and the upgrade package itself is a smaller file. Therefore, the present invention can avoid completely downloading the entire high-version operating system to upgrade the rooted operating system, and improve the performance of the rooted operating system. Upgrade efficiency.

附图说明Description of drawings

此处所说明的附图用来提供对本发明的进一步理解,构成本发明的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention, and constitute a part of the present invention. The schematic embodiments of the present invention and their descriptions are used to explain the present invention, and do not constitute improper limitations to the present invention. In the attached picture:

图1是本发明的一个实施例的操作系统的升级方法的流程图;Fig. 1 is the flowchart of the upgrade method of the operating system of an embodiment of the present invention;

图2是本发明图1中步骤102的子步骤的流程图;Fig. 2 is the flowchart of the substep of step 102 in Fig. 1 of the present invention;

图3是本发明的另一个实施例的操作系统的升级方法的流程图;Fig. 3 is the flow chart of the upgrading method of the operating system of another embodiment of the present invention;

图4是本发明的再一个实施例的操作系统的升级方法的流程图;FIG. 4 is a flowchart of an operating system upgrade method according to another embodiment of the present invention;

图5是本发明图1中步骤110的子步骤的流程图;Fig. 5 is the flowchart of the substep of step 110 in Fig. 1 of the present invention;

图6是本发明的再一个实施例的操作系统的升级方法的流程图;FIG. 6 is a flow chart of a method for upgrading an operating system according to yet another embodiment of the present invention;

图7是本发明的再一个实施例的操作系统的升级方法的流程图;FIG. 7 is a flow chart of a method for upgrading an operating system according to yet another embodiment of the present invention;

图8是本发明一个实施例的移动终端的结构图;FIG. 8 is a structural diagram of a mobile terminal according to an embodiment of the present invention;

图9是本发明图8中第一确定模块902的结构图;FIG. 9 is a structural diagram of the first determining module 902 in FIG. 8 of the present invention;

图10是本发明另一个实施例的移动终端的结构图;FIG. 10 is a structural diagram of a mobile terminal according to another embodiment of the present invention;

图11是本发明图8中修复模块810的结构图;FIG. 11 is a structural diagram of the repair module 810 in FIG. 8 of the present invention;

图12是本发明一个实施例的服务器的结构图;Fig. 12 is a structural diagram of a server according to an embodiment of the present invention;

图13是本发明另一个实施例的服务器的结构图;Fig. 13 is a structural diagram of a server according to another embodiment of the present invention;

图14为实现本发明再一个实施例的移动终端的结构图;FIG. 14 is a structural diagram of a mobile terminal implementing yet another embodiment of the present invention;

图15是本发明再一个实施例的服务器的结构图。Fig. 15 is a structural diagram of a server according to another embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。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 some of the embodiments of the present invention, but 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.

图1是本发明的一个实施例的操作系统的升级方法的流程图。如图1所示,该方法包括:FIG. 1 is a flowchart of an operating system upgrade method according to an embodiment of the present invention. As shown in Figure 1, the method includes:

步骤102,当检接收到第一操作系统的升级信息时,确定第一操作系统相比于第二操作系统发生变化的第一系统文件。Step 102, when the upgrade information of the first operating system is received, determine the first system file that has changed in the first operating system compared with the second operating system.

移动终端与服务器连网时,如果移动终端当前运行的操作系统需要升级,服务器会向移动终端发送相应的升级信息,移动终端在接收到该升级信息后,可以自行选择是否升级。优选的,本实施例对于root后的移动终端的操作系统,则可以根据本实施例的具体内容对移动终端的操作系统进行升级。When the mobile terminal is connected to the server, if the operating system currently running on the mobile terminal needs to be upgraded, the server will send corresponding upgrade information to the mobile terminal, and the mobile terminal can choose whether to upgrade after receiving the upgrade information. Preferably, in this embodiment, for the operating system of a rooted mobile terminal, the operating system of the mobile terminal can be upgraded according to the specific content of this embodiment.

第一操作系统为移动终端当前安装并正在使用的操作系统,可以知道的是,其可以是被root后的操作系统。第二操作系统则可以理解为在对第一操作系统进行root前的操作系统,且通过第二操作系统可以安装移动终端从服务器下载的升级包,而root后的第一操作系统则无法直接从安装移动终端内服务器下载的升级包。作为本实施例的直观理解,可以认为对第二操作系统进行root操作后,形成了移动终端的第一操作系统。当然,本实施例并不局限于以其他方式对本实施例的理解或实现。The first operating system is an operating system currently installed and used by the mobile terminal, and it is known that it may be a rooted operating system. The second operating system can be understood as the operating system before the first operating system is rooted, and the upgrade package downloaded by the mobile terminal from the server can be installed through the second operating system, while the rooted first operating system cannot be directly downloaded from the server. Install the upgrade package downloaded from the server in the mobile terminal. As an intuitive understanding of this embodiment, it can be considered that the first operating system of the mobile terminal is formed after the root operation is performed on the second operating system. Of course, this embodiment is not limited to understanding or implementing this embodiment in other ways.

可以知道的是,root操作后,通常会改变移动终端中操作系统的系统分区中的文件,这些文件的改变导致第一操作系统的形成,也是第一操作系统无法直接安装升级包的原因。未root操作前的第二操作系统由于其第二系统分区中的文件未发生改变,因此,第二操作系统可以直接安装升级包进行升级。因此,将root后的第一操作系统中第一系统分区中的文件修复至第二系统分区中的文件,可以使修复后的第一操作系统直接安装升级包进行升级。It can be known that after the root operation, the files in the system partition of the operating system in the mobile terminal are usually changed. The change of these files leads to the formation of the first operating system, which is also the reason why the first operating system cannot directly install the upgrade package. Since the files in the second system partition of the second operating system before the root operation do not change, the second operating system can directly install an upgrade package for upgrading. Therefore, repairing the files in the first system partition in the rooted first operating system to the files in the second system partition can make the repaired first operating system directly install an upgrade package for upgrading.

要将root后的第一操作系统中第一系统分区中的文件修复至第二系统分区中的文件,可以找出第一系统分区中的文件相对于第二系统分区中的文件哪些发生了变化,在第一系统分区中,这些发生变化的文件即为第一系统文件。To restore the files in the first system partition in the first operating system after root to the files in the second system partition, you can find out which files in the first system partition have changed relative to the files in the second system partition , in the first system partition, these changed files are the first system files.

在本实施例中,通常root操作不会改变操作系统前后的版本号,根据该版本号可以实现将root后的第一操作系统中第一系统分区中的文件修复至第二系统分区中的文件,具体实现可以结合本实施例的整体内容。In this embodiment, usually the root operation will not change the version numbers before and after the operating system. According to the version number, the files in the first system partition in the rooted first operating system can be restored to the files in the second system partition. , the specific implementation may combine the overall content of this embodiment.

步骤104,根据第一系统文件,确定待发送至服务器的差异文件信息。Step 104, according to the first system file, determine the difference file information to be sent to the server.

对于第一系统文件,需要将其中需要修复的对应文件的文件信息发送至服务器。在这里,差异文件信息即为需要修复的对应文件的文件信息。For the first system file, the file information of the corresponding file that needs to be repaired needs to be sent to the server. Here, the difference file information is the file information of the corresponding file that needs to be repaired.

步骤106,将差异文件信息发送至服务器,使服务器根据差异文件信息生成修复包。Step 106, sending the difference file information to the server, so that the server generates a repair package according to the difference file information.

差异文件信息是针对需要修复的文件,因此,服务器可以基于此生成修复包。可以理解的是,根据该修复包可以对需要修复的文件进行修复。The difference file information is for the files that need to be repaired, so the server can generate a repair package based on this. It can be understood that the files that need to be repaired can be repaired according to the repair package.

步骤108,从服务器获取升级包和修复包。Step 108, obtaining the upgrade package and repair package from the server.

移动终端可以从服务器直接获取修复包和升级包,如直接下载等。The mobile terminal can directly obtain the repair package and the upgrade package from the server, such as direct downloading.

步骤110,根据修复包将第一操作系统修复至第二操作系统。Step 110, repair the first operating system to the second operating system according to the repair package.

可以理解的是,根据修复包将第一操作系统修复至第二操作系统,实质是将第一操作系统的第一系统分区修复至第二操作系统的第二系统分区。It can be understood that repairing the first operating system to the second operating system according to the repair package is essentially repairing the first system partition of the first operating system to the second system partition of the second operating system.

步骤112,根据升级包对第二操作系统进行升级;Step 112, upgrade the second operating system according to the upgrade package;

修复后的第一操作系统的第一系统分区由于与第二系统分区一致,因此,可以直接安装升级包进行升级。Since the first system partition of the repaired first operating system is consistent with the second system partition, the upgrade package can be directly installed for upgrade.

在本发明实施例中,对于root后的移动终端的操作系统进行升级时,移动终端会将其操作系统的系统分区下的差异文件信息发送至服务器,服务器会根据该文件信息生成修复包,移动终端获取该修复包和升级包后,可以根据该修复包对系统分区进行修复,并根据升级包对操作系统进行升级;在这里,由于修复包是用于修复修改文件和删除文件,因此,修复包可以是一个较小的文件,升级包本身就是一个较小的文件,因此,本发明可以避免完全下载整个高版本的操作系统对root后的操作系统进行升级,提升对root后的操作系统的升级效率。In the embodiment of the present invention, when the operating system of a rooted mobile terminal is upgraded, the mobile terminal will send the difference file information under the system partition of its operating system to the server, and the server will generate a repair package according to the file information, and the mobile terminal will After the terminal obtains the repair package and the upgrade package, it can repair the system partition according to the repair package, and upgrade the operating system according to the upgrade package; here, since the repair package is used to repair and delete files, the repair The package can be a smaller file, and the upgrade package itself is a smaller file. Therefore, the present invention can avoid completely downloading the entire high-version operating system to upgrade the rooted operating system, and improve the performance of the rooted operating system. Upgrade efficiency.

图2是本发明图1中步骤102的子步骤的流程图。如图2所示,步骤102包括:FIG. 2 is a flowchart of the sub-steps of step 102 in FIG. 1 of the present invention. As shown in Figure 2, step 102 includes:

步骤1021,获取第一操作系统的第一系统分区中的系统文件列表,该系统文件列表记录有第二操作系统的第二系统分区中文件的文件信息;Step 1021, obtaining a system file list in the first system partition of the first operating system, the system file list recording file information of files in the second system partition of the second operating system;

步骤1022,根据系统文件列表记录的第二系统分区中的文件信息,确定第一系统分区相比于第二系统分区的新增文件和删除文件;Step 1022, according to the file information in the second system partition recorded in the system file list, determine the newly added files and deleted files in the first system partition compared with the second system partition;

步骤1023,对所述第一系统分区中的文件进行校验,确定所述第一系统分区中相比于所述第二系统分区的修改文件;Step 1023, verifying the files in the first system partition, and determining the modified files in the first system partition compared with the second system partition;

步骤1024,将新增文件、删除文件和修改文件确定为第一系统文件。Step 1024, determine the newly added file, deleted file and modified file as the first system file.

可以知道的是,移动终端在植入操作系统时,会形成记录第一系统分区中文件的系统文件列表,系统文件列表通常不会因为root操作而发生改变。由于系统文件列表记录了未root操作前第二系统分区中文件的文件信息,因此,依据该系统文件列表可以确定第一系统分区中的文件相比于第二系统分区中的文件发生变化的新增文件和删除文件。可以理解的是,新增文件,是指在第一系统分区中增加了原来在第二系统分区中不存在的文件;删除文件,是指在第一系统分区中删除了原来存在于第二系统分区中的文件。It can be known that when the mobile terminal is implanted with an operating system, it will form a system file list that records files in the first system partition, and the system file list will usually not be changed due to the root operation. Since the system file list records the file information of the files in the second system partition before the root operation, it can be determined according to the system file list that the files in the first system partition are changed compared with the files in the second system partition. Add files and delete files. It can be understood that adding a file refers to adding a file that does not exist in the second system partition in the first system partition; deleting a file refers to deleting a file that originally existed in the second system partition in the first system partition. files in the partition.

进一步地,对第一系统分区中的文件进行校验,可以确定第一系统分区中发生变化的修改文件。本实施例中,优选的,校验方式可以采用信息摘要算法(Message-DigestAlgorithm 5,MD5)5,即MD5码校验。MD5码校验可以对第一系统分区中的文件中的文字进行计算,得出对应的字符串,由于该字符串的唯一性,因此,依据该字符串可以确定第一系统分区中的文件是否发生了修改。可以知道的是,本实施例只需要对第一系统分区中除新增文件之外的文件进行校验。Further, by verifying the files in the first system partition, the modified files that have changed in the first system partition can be determined. In this embodiment, preferably, the verification method may use a message digest algorithm (Message-Digest Algorithm 5, MD5) 5, that is, MD5 code verification. MD5 code verification can calculate the characters in the files in the first system partition to obtain the corresponding string. Due to the uniqueness of the string, it can be determined whether the files in the first system partition are based on the string. A modification has occurred. It can be known that, in this embodiment, only the files in the first system partition need to be verified except the newly added files.

本实施例中,所确定的第一系统文件由于仅包括新增文件、删除文件和修改文件,因此,第一系统文件是一个整体上比较小的文件,其可以提升对第一操作系统的升级效率。In this embodiment, since the determined first system file only includes newly added files, deleted files and modified files, the first system file is a relatively small file as a whole, which can improve the upgrade of the first operating system. efficiency.

本实施例中,步骤104可以具体实现为:获取第一系统文件中删除文件和修改文件的文件信息,将删除文件和修改文件的文件信息确定为差异文件信息。In this embodiment, step 104 may be specifically implemented as: acquiring file information of deleted files and modified files in the first system file, and determining the file information of deleted files and modified files as difference file information.

可以知道的是,新增文件可以由移动终端直接删除,第一操作系统只需要对其中的删除文件和修改文件进行修复即可。因此,移动终端可以将删除文件和修改文件的文件信息确定为差异文件信息,并将差异文件信息发送至服务器。It can be known that the newly added files can be directly deleted by the mobile terminal, and the first operating system only needs to repair the deleted files and modified files therein. Therefore, the mobile terminal can determine the file information of the deleted file and the modified file as difference file information, and send the difference file information to the server.

图3是本发明的另一个实施例的操作系统的升级方法的流程图。如图3所示,步骤110之前,该方法还包括:Fig. 3 is a flowchart of an operating system upgrade method according to another embodiment of the present invention. As shown in Figure 3, before step 110, the method also includes:

步骤109,删除第一操作系统的第一系统分区中第一系统文件中的新增文件。Step 109, delete the newly added files in the first system files in the first system partition of the first operating system.

移动终端在确定新增文件之后,可以直接删除。作为另一种实现方式,移动终端在记录删除文件和修改文件的文件信息之后,也可以直接删除修改文件。可以理解的是,不同的实现手段需要相应不同的实现方案,需要指出的是,这些不同的实现方案均在本实施例的实现范围之内。After the mobile terminal determines the newly added file, it can directly delete it. As another implementation manner, the mobile terminal may directly delete the modified file after recording the file information of the deleted file and the modified file. It can be understood that different implementation means require corresponding different implementation solutions, and it should be pointed out that these different implementation solutions are all within the implementation scope of this embodiment.

可以知道的是,本实施例不局限于步骤109的具体顺序,移动终端可以在确定新增文件之后直接删除,也可以在后续过程中删除等。It can be known that this embodiment is not limited to the specific sequence of step 109, and the mobile terminal may delete the newly added file directly after determining the newly added file, or delete it in a subsequent process.

图4是本发明的再一个实施例的操作系统的升级方法的流程图。如图4所示,步骤108之前,该方法还包括:Fig. 4 is a flowchart of an operating system upgrade method according to another embodiment of the present invention. As shown in Figure 4, before step 108, the method also includes:

步骤107,将第一操作系统的版本号发送至服务器,使服务器根据第一操作系统的版本号查找对应的操作系统软件,根据差异文件信息中删除文件和修改文件的文件信息从查找到的操作系统软件中提取与删除文件和修改文件相对应的第二目标文件,并根据第二目标文件生成修复包。Step 107, send the version number of the first operating system to the server, so that the server searches for the corresponding operating system software according to the version number of the first operating system, and deletes and modifies files according to the file information of the difference file information. The system software extracts the second target file corresponding to the deleted file and the modified file, and generates a repair package according to the second target file.

版本号是操作系统的标识,因此,服务器通过版本号可以查找对应的操作系统软件。在这里,可以知道的是,查找到的操作系统软件的版本号与第一操作系统的版本号相同。进一步,服务器可以从查找到的操作系统中提取出与删除文件和修改文件对应的第二目标文件,并根据该第二目标文件生成修复包。修复包可以是服务器对第二目标文件打包后的文件。The version number is an identifier of the operating system, so the server can search for the corresponding operating system software through the version number. Here, it can be known that the found version number of the operating system software is the same as the version number of the first operating system. Further, the server may extract a second target file corresponding to the deleted file and the modified file from the found operating system, and generate a repair package according to the second target file. The repair package may be a file after the server packs the second target file.

可以理解的是,移动终端可以同时将版本号和差异文件信息发送至服务器,也可以具有一定的顺序。本实施例需要强调的是,本实施例不限于某种具体的逻辑关系,这种逻辑关系不影响本实施例的实现。It can be understood that the mobile terminal can send the version number and the difference file information to the server at the same time, or in a certain order. It should be emphasized in this embodiment that this embodiment is not limited to a specific logical relationship, and this logical relationship does not affect the implementation of this embodiment.

通常修复包的文件非常小,例如,可以为10M甚至更小。移动终端从服务器下载该修复包时,则可以快速下载,以提升系统升级的效率。Usually the file of the repair package is very small, for example, it can be 10M or even smaller. When the mobile terminal downloads the repair package from the server, it can be downloaded quickly, so as to improve the efficiency of system upgrade.

图5是本发明图1中步骤110的子步骤的流程图。如图5所示,步骤110包括:FIG. 5 is a flowchart of the sub-steps of step 110 in FIG. 1 of the present invention. As shown in Figure 5, step 110 includes:

步骤1101,在第一操作系统的恢复模式下,从修复包中解析出第二目标文件;Step 1101, in the recovery mode of the first operating system, parse the second target file from the repair package;

步骤1102,从第二目标文件中获取与修改文件对应的第三目标文件和与删除文件对应的第四目标文件;Step 1102, obtaining a third target file corresponding to the modified file and a fourth target file corresponding to the deleted file from the second target file;

步骤1103,根据第三目标文件对第一操作系统的第一系统分区中的修改文件进行替换;Step 1103, replacing the modified file in the first system partition of the first operating system according to the third target file;

步骤1104,在第一操作系统的第一系统分区中的新增第四目标文件。Step 1104, add a fourth target file in the first system partition of the first operating system.

恢复模式(recovery模式)是一个标准刷机协议,在恢复模式下,用户可以实现对第一操作系统的root操作。本实施例在对第一操作系统的第一系统分区进行修复时,也需要进入该恢复模式下实现。The recovery mode (recovery mode) is a standard flashing protocol, and in the recovery mode, the user can realize the root operation of the first operating system. In this embodiment, when repairing the first system partition of the first operating system, it is also necessary to enter the recovery mode for implementation.

在恢复模式下,移动终端可以执行对第一操作系统中第一系统分区的修复。具体而言,移动终端可以先从修复包中解析出第二目标文件,从第二目标文件中解析出与修改文件对应的第三目标文件和与删除文件对应的第四目标文件,然后根据第三目标文件对第一操作系统的第一系统分区中的修改文件进行替换,并在第一操作系统的第一系统分区中新增第四目标文件。当然,如果移动终端在记录删除文件和修改文件的文件信息之后,直接删除了修改文件。则移动终端需要新增该第三目标文件。In the recovery mode, the mobile terminal can repair the first system partition in the first operating system. Specifically, the mobile terminal can first parse out the second target file from the repair package, and then parse out the third target file corresponding to the modified file and the fourth target file corresponding to the deleted file from the second target file, and then according to the The three target files replace the modified files in the first system partition of the first operating system, and add a fourth target file in the first system partition of the first operating system. Of course, if the mobile terminal directly deletes the modified file after recording the file information of the deleted file and the modified file. Then the mobile terminal needs to add the third target file.

图6是本发明的再一个实施例的操作系统的升级方法的流程图。如图6所示,该方法包括:Fig. 6 is a flowchart of an operating system upgrade method according to another embodiment of the present invention. As shown in Figure 6, the method includes:

步骤602,接收由移动终端发送的差异文件信息,差异文件信息由移动终端根据第一系统文件确定,其中,移动终端接收到第一操作系统的升级信息时,则确定第一操作系统相比于第二操作系统发生变化的第一系统文件,第一操作系统为移动终端当前所处的系统,第一操作系统和第二操作系统具有相同的版本号;Step 602, receiving difference file information sent by the mobile terminal, the difference file information is determined by the mobile terminal according to the first system file, wherein, when the mobile terminal receives the upgrade information of the first operating system, it determines that the first operating system is compared to The first system file in which the second operating system changes, the first operating system is the system where the mobile terminal is currently located, and the first operating system and the second operating system have the same version number;

步骤604,根据差异文件信息生成修复包;Step 604, generating a repair package according to the difference file information;

步骤606,将升级包和修复包发送至移动终端,使移动终端根据修复包将第一操作系统修复至第二操作系统,并根据升级包对第二操作系统进行升级。Step 606, sending the upgrade package and repair package to the mobile terminal, so that the mobile terminal restores the first operating system to the second operating system according to the repair package, and upgrades the second operating system according to the upgrade package.

在本发明实施例中,对于root后的移动终端的操作系统进行升级时,移动终端会将其操作系统的系统分区下的差异文件信息发送至服务器,服务器会根据该文件信息生成修复包,移动终端获取该修复包和升级包后,可以根据该修复包对系统分区进行修复,并根据升级包对操作系统进行升级;在这里,由于修复包是用于修复修改文件和删除文件,因此,修复包可以是一个较小的文件,升级包本身就是一个较小的文件,因此,本发明可以避免完全下载整个高版本的操作系统对root后的操作系统进行升级,提升对root后的操作系统的升级效率。In the embodiment of the present invention, when the operating system of a rooted mobile terminal is upgraded, the mobile terminal will send the difference file information under the system partition of its operating system to the server, and the server will generate a repair package according to the file information, and the mobile terminal will After the terminal obtains the repair package and the upgrade package, it can repair the system partition according to the repair package, and upgrade the operating system according to the upgrade package; here, since the repair package is used to repair and delete files, the repair The package can be a smaller file, and the upgrade package itself is a smaller file. Therefore, the present invention can avoid completely downloading the entire high-version operating system to upgrade the rooted operating system, and improve the performance of the rooted operating system. Upgrade efficiency.

图7是本发明的再一个实施例的操作系统的升级方法的流程图。如图7所示,步骤604之前,该方法还包括:Fig. 7 is a flowchart of an operating system upgrade method according to another embodiment of the present invention. As shown in Figure 7, before step 604, the method also includes:

步骤6031,接收移动终端发送的第一操作系统的版本号;Step 6031, receiving the version number of the first operating system sent by the mobile terminal;

步骤6032,根据第一操作系统的版本号查找对应的操作系统软件。Step 6032: Find the corresponding operating system software according to the version number of the first operating system.

其中,步骤604可以具体实现为:根据差异文件信息从操作系统软件中查找对应的第二目标文件,由第二目标文件生成修复包。Wherein, step 604 may be specifically implemented as: searching for a corresponding second target file from the operating system software according to the difference file information, and generating a repair package from the second target file.

需要指出的是,本实施例中,移动终端确定第一操作系统的第一系统分区中相比于第二操作系统的第二系统分区发生变化的第一系统文件的具体过程,移动终端根据修复包进行修复的过程以及移动终端根据升级包进行升级的过程,均可以参照图1至图5中具体方法中的内容,本实施例不再具体详述。It should be pointed out that, in this embodiment, the mobile terminal determines the specific process of the first system file in the first system partition of the first operating system that has changed compared with the second system partition of the second operating system. The process of repairing the package and the process of upgrading the mobile terminal according to the upgrade package can refer to the content in the specific methods in Figures 1 to 5, which will not be described in detail in this embodiment.

以上结合图1至图7详细描述了本发明实施例的操作系统的升级方法。下面详细描述本发明实施例的移动终端。图8是本发明一个实施例的移动终端的结构图。如图8所示,移动终端800包括:The method for upgrading the operating system according to the embodiment of the present invention has been described in detail above with reference to FIG. 1 to FIG. 7 . The mobile terminal of the embodiment of the present invention will be described in detail below. Fig. 8 is a structural diagram of a mobile terminal according to an embodiment of the present invention. As shown in Figure 8, the mobile terminal 800 includes:

第一确定模块802,用于当接收到第一操作系统的升级信息时,确定第一操作系统相比于第二操作系统发生变化的第一系统文件;其中,第一操作系统为移动终端当前所处的系统,第一操作系统和第二操作系统具有相同的版本号;The first determining module 802 is configured to determine the first system file in which the first operating system has changed compared with the second operating system when the upgrade information of the first operating system is received; wherein, the first operating system is the mobile terminal's current In the system where they are located, the first operating system and the second operating system have the same version number;

第二确定模块804,用于根据第一系统文件,确定待发送至服务器的差异文件信息;The second determination module 804 is configured to determine the difference file information to be sent to the server according to the first system file;

发送模块806,用于将差异文件信息发送至服务器,使服务器根据差异文件信息生成修复包;A sending module 806, configured to send the difference file information to the server, so that the server generates a repair package according to the difference file information;

获取模块808,用于从服务器获取升级包和修复包;An acquisition module 808, configured to acquire an upgrade package and a repair package from a server;

修复模块810,用于根据修复包将第一操作系统修复至第二操作系统;A repair module 810, configured to restore the first operating system to the second operating system according to the repair package;

升级模块812,用于根据升级包对第二操作系统进行升级。The upgrade module 812 is configured to upgrade the second operating system according to the upgrade package.

在本发明实施例中,对于root后的移动终端的操作系统进行升级时,移动终端会将其操作系统的系统分区下的差异文件信息发送至服务器,服务器会根据该文件信息生成修复包,移动终端获取该修复包和升级包后,可以根据该修复包对系统分区进行修复,并根据升级包对操作系统进行升级;在这里,由于修复包是用于修复修改文件和删除文件,因此,修复包可以是一个较小的文件,升级包本身就是一个较小的文件,因此,本发明可以避免完全下载整个高版本的操作系统对root后的操作系统进行升级,提升对root后的操作系统的升级效率。In the embodiment of the present invention, when the operating system of a rooted mobile terminal is upgraded, the mobile terminal will send the difference file information under the system partition of its operating system to the server, and the server will generate a repair package according to the file information, and the mobile terminal will After the terminal obtains the repair package and the upgrade package, it can repair the system partition according to the repair package, and upgrade the operating system according to the upgrade package; here, since the repair package is used to repair and delete files, the repair The package can be a smaller file, and the upgrade package itself is a smaller file. Therefore, the present invention can avoid completely downloading the entire high-version operating system to upgrade the rooted operating system, and improve the performance of the rooted operating system. Upgrade efficiency.

图9是本发明图8中第一确定模块902的结构图。如图9所示,第一确定模块802包括:FIG. 9 is a structural diagram of the first determining module 902 in FIG. 8 of the present invention. As shown in Figure 9, the first determining module 802 includes:

获取子单元8021,用于获取第一操作系统的第一系统分区中的系统文件列表,系统文件列表记录有第二操作系统的第二系统分区中文件的文件信息;The obtaining subunit 8021 is configured to obtain a system file list in the first system partition of the first operating system, and the system file list records file information of files in the second system partition of the second operating system;

第一确定子单元8022,用于根据系统文件列表记录的第二系统分区中的文件信息,确定第一系统分区中的文件相比于第二系统分区中的文件发生变化的新增文件和删除文件;The first determination subunit 8022 is configured to determine, according to the file information in the second system partition recorded in the system file list, the newly added files and deleted files that have changed in the first system partition compared with the files in the second system partition document;

校验子单元8023,用于对第一系统分区中的文件进行校验,确定第一系统分区中发生变化的修改文件;The verification subunit 8023 is configured to verify the files in the first system partition, and determine the modified files that have changed in the first system partition;

第二确定子单元8024,用于将新增文件、删除文件和修改文件确定为第一系统文件。The second determining subunit 8024 is configured to determine newly added files, deleted files and modified files as the first system files.

可选的,作为一个实施例,第二确定模块804具体用于:获取第一系统文件中删除文件和修改文件的文件信息,将删除文件和修改文件的文件信息确定为差异文件信息。Optionally, as an embodiment, the second determining module 804 is specifically configured to: acquire file information of deleted files and modified files in the first system file, and determine the file information of deleted files and modified files as difference file information.

图10是本发明另一个实施例的移动终端的结构图。如图10所示,移动终端800还包括:Fig. 10 is a structural diagram of a mobile terminal according to another embodiment of the present invention. As shown in Figure 10, the mobile terminal 800 also includes:

删除模块809,用于删除第一操作系统的第一系统分区中第一系统文件中的新增文件。The deletion module 809 is configured to delete the newly added files in the first system files in the first system partition of the first operating system.

可靠的,作为一个实施例,发送模块806还用于:将第一操作系统的版本号发送至服务器,使服务器根据第一操作系统的版本号查找对应的操作系统软件,根据差异文件信息从查找到的操作系统软件中提取与删除文件和修改文件相对应的第二目标文件,并根据第二目标文件生成修复包。Reliably, as an embodiment, the sending module 806 is also configured to: send the version number of the first operating system to the server, so that the server searches for the corresponding operating system software according to the version number of the first operating system, and searches for the corresponding operating system software according to the difference file information. Extract the second target file corresponding to the deleted file and the modified file from the obtained operating system software, and generate a repair package according to the second target file.

图11是本发明图8中修复模块810的结构图。如图11所示,修复模块810包括:FIG. 11 is a structural diagram of the repair module 810 in FIG. 8 of the present invention. As shown in Figure 11, the repair module 810 includes:

解析子单元8101,用于在第一操作系统的恢复模式下,从修复包中解析出第二目标文件;The parsing subunit 8101 is configured to parse out the second target file from the repair package in the recovery mode of the first operating system;

文件子单元8102,用于从第二目标文件中获取与修改文件对应的第三目标文件和与删除文件对应的第四目标文件;A file subunit 8102, configured to acquire a third target file corresponding to the modified file and a fourth target file corresponding to the deleted file from the second target file;

替换子单元8103,用于根据第三目标文件对第一操作系统的第一系统分区中的修改文件进行替换;A replacement subunit 8103, configured to replace the modified file in the first system partition of the first operating system according to the third target file;

新增子单元8104,用于在第一操作系统的第一系统分区中新增第四目标文件。The adding subunit 8104 is configured to add a fourth target file in the first system partition of the first operating system.

图12是本发明一个实施例的服务器的结构图。如图12所示,该服务器1200包括:Fig. 12 is a structural diagram of a server according to an embodiment of the present invention. As shown in Figure 12, the server 1200 includes:

接收模块1220,用于接收由移动终端发送的差异文件信息,差异文件信息由移动终端根据第一系统文件确定,其中,移动终端接收到第一操作系统的升级信息时,则确定第一操作系统相比于第二操作系统发生变化的第一系统文件,第一操作系统为移动终端当前所处的系统,第一操作系统和第二操作系统具有相同的版本号;The receiving module 1220 is configured to receive difference file information sent by the mobile terminal, and the difference file information is determined by the mobile terminal according to the first system file, wherein when the mobile terminal receives the upgrade information of the first operating system, it determines the first operating system Compared with the first system file that changes in the second operating system, the first operating system is the system where the mobile terminal is currently located, and the first operating system and the second operating system have the same version number;

生成模块1240,用于根据差异文件信息生成修复包;A generating module 1240, configured to generate a repair package according to the difference file information;

终端发送模块1260,用于将升级包和修复包发送至移动终端,使移动终端根据修复包将第一操作系统修复至第二操作系统,并根据升级包对第二操作系统进行升级。The terminal sending module 1260 is configured to send the upgrade package and the repair package to the mobile terminal, so that the mobile terminal repairs the first operating system to the second operating system according to the repair package, and upgrades the second operating system according to the upgrade package.

在本发明实施例中,对于root后的移动终端的操作系统进行升级时,移动终端会将其操作系统的系统分区下的差异文件信息发送至服务器,服务器会根据该文件信息生成修复包,移动终端获取该修复包和升级包后,可以根据该修复包对系统分区进行修复,并根据升级包对操作系统进行升级;在这里,由于修复包是用于修复修改文件和删除文件,因此,修复包可以是一个较小的文件,升级包本身就是一个较小的文件,因此,本发明可以避免完全下载整个高版本的操作系统对root后的操作系统进行升级,提升对root后的操作系统的升级效率。In the embodiment of the present invention, when the operating system of a rooted mobile terminal is upgraded, the mobile terminal will send the difference file information under the system partition of its operating system to the server, and the server will generate a repair package according to the file information, and the mobile terminal will After the terminal obtains the repair package and the upgrade package, it can repair the system partition according to the repair package, and upgrade the operating system according to the upgrade package; here, since the repair package is used to repair and delete files, the repair The package can be a smaller file, and the upgrade package itself is a smaller file. Therefore, the present invention can avoid completely downloading the entire high-version operating system to upgrade the rooted operating system, and improve the performance of the rooted operating system. Upgrade efficiency.

可选的,作为一个实施例,接收模块1220还用于:接收移动终端发送的第一操作系统的版本号。Optionally, as an embodiment, the receiving module 1220 is further configured to: receive the version number of the first operating system sent by the mobile terminal.

图13是本发明另一个实施例的服务器的结构图。如图13所示,该服务器1200还包括:Fig. 13 is a structural diagram of a server according to another embodiment of the present invention. As shown in Figure 13, the server 1200 also includes:

查找模块1230,用于根据第一操作系统的版本号查找对应的操作系统软件;A search module 1230, configured to search for the corresponding operating system software according to the version number of the first operating system;

生成模块1240具体用于:The generating module 1240 is specifically used for:

根据差异文件信息从操作系统软件中查找对应的第二目标文件,由第二目标文件生成修复包。A corresponding second target file is searched from the operating system software according to the difference file information, and a repair package is generated from the second target file.

图14为实现本发明各个实施例的一种移动终端的硬件结构示意图,该移动终端1400包括但不限于:射频单元1401、网络模块1402、音频输出单元1403、输入单元1404、传感器1405、显示单元1406、用户输入单元1407、接口单元1408、存储器1409、处理器1410、以及电源1411等部件。本领域技术人员可以理解,图14中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。Fig. 14 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention, the mobile terminal 1400 includes but not limited to: a radio frequency unit 1401, a network module 1402, an audio output unit 1403, an input unit 1404, a sensor 1405, and a display unit 1406, a user input unit 1407, an interface unit 1408, a memory 1409, a processor 1410, a power supply 1411 and other components. Those skilled in the art can understand that the structure of the mobile terminal shown in Figure 14 does not constitute a limitation on the mobile terminal, and the mobile terminal may include more or less components than shown in the figure, or combine some components, or different components layout. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, and a pedometer.

其中,处理器1410,用于:Wherein, the processor 1410 is used for:

当接收到第一操作系统的升级信息时,确定第一操作系统相比于第二操作系统发生变化的第一系统文件;其中,所述第一操作系统为移动终端当前所处的系统,所述第一操作系统和第二操作系统具有相同的版本号;When receiving the upgrade information of the first operating system, determine the first system file in which the first operating system has changed compared with the second operating system; wherein, the first operating system is the system where the mobile terminal is currently located, so The first operating system and the second operating system have the same version number;

根据所述第一系统文件,确定待发送至服务器的差异文件信息;According to the first system file, determine the difference file information to be sent to the server;

将所述差异文件信息发送至服务器,使所述服务器根据所述差异文件信息生成修复包;Sending the difference file information to a server, so that the server generates a repair package according to the difference file information;

从所述服务器获取升级包和所述修复包;Obtain the upgrade package and the repair package from the server;

根据所述修复包将所述第一操作系统修复至所述第二操作系统;repairing the first operating system to the second operating system according to the repair package;

根据所述升级包对所述第二操作系统进行升级。The second operating system is upgraded according to the upgrade package.

在本发明实施例中,对于root后的移动终端的操作系统进行升级时,移动终端会将其操作系统的系统分区下的差异文件信息发送至服务器,服务器会根据该文件信息生成修复包,移动终端获取该修复包和升级包后,可以根据该修复包对系统分区进行修复,并根据升级包对操作系统进行升级;在这里,由于修复包是用于修复修改文件和删除文件,因此,修复包可以是一个较小的文件,升级包本身就是一个较小的文件,因此,本发明可以避免完全下载整个高版本的操作系统对root后的操作系统进行升级,提升对root后的操作系统的升级效率。In the embodiment of the present invention, when the operating system of a rooted mobile terminal is upgraded, the mobile terminal will send the difference file information under the system partition of its operating system to the server, and the server will generate a repair package according to the file information, and the mobile terminal will After the terminal obtains the repair package and the upgrade package, it can repair the system partition according to the repair package, and upgrade the operating system according to the upgrade package; here, since the repair package is used to repair and delete files, the repair The package can be a smaller file, and the upgrade package itself is a smaller file. Therefore, the present invention can avoid completely downloading the entire high-version operating system to upgrade the rooted operating system, and improve the performance of the rooted operating system. Upgrade efficiency.

应理解的是,本发明实施例中,射频单元1401可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器1410处理;另外,将上行的数据发送给基站。通常,射频单元1401包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元1401还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 1401 can be used for receiving and sending signals during sending and receiving information or during a call. Specifically, the downlink data from the base station is received and processed by the processor 1410; Uplink data is sent to the base station. Generally, the radio frequency unit 1401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 1401 can also communicate with the network and other devices through a wireless communication system.

移动终端通过网络模块1402为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The mobile terminal provides users with wireless broadband Internet access through the network module 1402, such as helping users send and receive emails, browse web pages, and access streaming media.

音频输出单元1403可以将射频单元1401或网络模块1402接收的或者在存储器1409中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元1403还可以提供与移动终端1400执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元1403包括扬声器、蜂鸣器以及受话器等。The audio output unit 1403 may convert audio data received by the radio frequency unit 1401 or the network module 1402 or stored in the memory 1409 into an audio signal and output as sound. Also, the audio output unit 1403 can also provide audio output related to a specific function performed by the mobile terminal 1400 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 1403 includes a speaker, a buzzer, a receiver, and the like.

输入单元1404用于接收音频或视频信号。输入单元1404可以包括图形处理器(Graphics Processing Unit,GPU)14041和麦克风14042,图形处理器14041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元1406上。经图形处理器14041处理后的图像帧可以存储在存储器1409(或其它存储介质)中或者经由射频单元1401或网络模块1402进行发送。麦克风14042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元1401发送到移动通信基站的格式输出。The input unit 1404 is used to receive audio or video signals. The input unit 1404 may include a Graphics Processing Unit (Graphics Processing Unit, GPU) 14041 and a microphone 14042, and the Graphics Processor 14041 controls the image of still pictures or videos obtained by an image capture device (such as a camera) in the video capture mode or image capture mode The data is processed. The processed image frames may be displayed on the display unit 1406 . The image frames processed by the graphics processor 14041 may be stored in the memory 1409 (or other storage medium) or sent via the radio frequency unit 1401 or the network module 1402 . The microphone 14042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into an output format transmittable to a mobile communication base station via the radio frequency unit 1401 in case of a phone call mode.

移动终端1400还包括至少一种传感器1405,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板14061的亮度,接近传感器可在移动终端1400移动到耳边时,关闭显示面板14061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器1405还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The mobile terminal 1400 also includes at least one sensor 1405, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 14061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 14061 and the / or backlighting. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is still, and can be used to identify the posture of mobile terminals (such as horizontal and vertical screen switching, related games, etc.) , magnetometer attitude calibration), vibration recognition-related functions (such as pedometer, knocking), etc.; the sensor 1405 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.

显示单元1406用于显示由用户输入的信息或提供给用户的信息。显示单元1406可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板14061。The display unit 1406 is used to display information input by the user or information provided to the user. The display unit 1406 may include a display panel 1061, and the display panel 14061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.

用户输入单元1407可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元1407包括触控面板14071以及其他输入设备14072。触控面板14071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板14071上或在触控面板14071附近的操作)。触控面板14071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1410,接收处理器1410发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板14071。除了触控面板14071,用户输入单元1407还可以包括其他输入设备14072。具体地,其他输入设备14072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 1407 can be used to receive input number or character information, and generate key signal input related to user settings and function control of the mobile terminal. Specifically, the user input unit 1407 includes a touch panel 14071 and other input devices 14072 . The touch panel 14071, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 14071 or near the touch panel 14071 operate). The touch panel 14071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the For the processor 1410, receive the command sent by the processor 1410 and execute it. In addition, the touch panel 14071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 14071 , the user input unit 1407 may also include other input devices 14072 . Specifically, other input devices 14072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.

进一步的,触控面板14071可覆盖在显示面板14061上,当触控面板14071检测到在其上或附近的触摸操作后,传送给处理器1410以确定触摸事件的类型,随后处理器1410根据触摸事件的类型在显示面板14061上提供相应的视觉输出。虽然在图14中,触控面板14071与显示面板14061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板14071与显示面板14061集成而实现移动终端的输入和输出功能,具体此处不做限定。Furthermore, the touch panel 14071 can be covered on the display panel 14061, and when the touch panel 14071 detects a touch operation on or near it, it will be sent to the processor 1410 to determine the type of the touch event, and then the processor 1410 will The type of event provides a corresponding visual output on the display panel 14061. Although in FIG. 14, the touch panel 14071 and the display panel 14061 are used as two independent components to realize the input and output functions of the mobile terminal, in some embodiments, the touch panel 14071 and the display panel 14061 can be integrated. The implementation of the input and output functions of the mobile terminal is not specifically limited here.

接口单元1408为外部装置与移动终端1400连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元1408可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端1400内的一个或多个元件或者可以用于在移动终端1400和外部装置之间传输数据。The interface unit 1408 is an interface for connecting an external device to the mobile terminal 1400 . For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 1408 can be used to receive input from an external device (for example, data information, power, etc.) transfer data between devices.

存储器1409可用于存储软件程序以及各种数据。存储器1409可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1409可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 1409 can be used to store software programs as well as various data. The memory 1409 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.) and the like; Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 1409 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.

处理器1410是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器1409内的软件程序和/或模块,以及调用存储在存储器1409内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器1410可包括一个或多个处理单元;优选的,处理器1410可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1410中。The processor 1410 is the control center of the mobile terminal, which uses various interfaces and lines to connect various parts of the entire mobile terminal, by running or executing software programs and/or modules stored in the memory 1409, and calling data stored in the memory 1409 , execute various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole. The processor 1410 may include one or more processing units; preferably, the processor 1410 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 1410 .

移动终端1400还可以包括给各个部件供电的电源1411(比如电池),优选的,电源1411可以通过电源管理系统与处理器1410逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile terminal 1400 can also include a power supply 1411 (such as a battery) for supplying power to various components. Preferably, the power supply 1411 can be logically connected to the processor 1410 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. and other functions.

另外,移动终端1400包括一些未示出的功能模块,在此不再赘述。In addition, the mobile terminal 1400 includes some functional modules not shown, which will not be repeated here.

优选的,本发明实施例还提供一种移动终端,包括处理器1410,存储器1409,存储在存储器1409上并可在所述处理器1410上运行的计算机程序,该计算机程序被处理器1410执行时实现上述操作系统的升级方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides a mobile terminal, including a processor 1410, a memory 1409, a computer program stored in the memory 1409 and operable on the processor 1410, when the computer program is executed by the processor 1410 Each process of the above embodiment of the method for upgrading the operating system can achieve the same technical effect. To avoid repetition, details are not repeated here.

图15是本发明实施例应用的服务器的结构图,如图15所示,服务器2600包括:处理器1501、收发机1502、存储器1503、用户接口1504和总线接口,其中:FIG. 15 is a structural diagram of a server applied in the embodiment of the present invention. As shown in FIG. 15, the server 2600 includes: a processor 1501, a transceiver 1502, a memory 1503, a user interface 1504, and a bus interface, wherein:

在本发明实施例中,网络侧设备1500还包括:存储在存储器上1503并可在处理器1501上运行的计算机程序,计算机程序被处理器1501、执行时实现如下步骤:In the embodiment of the present invention, the network side device 1500 further includes: a computer program stored in the memory 1503 and operable on the processor 1501, and the computer program is executed by the processor 1501 to implement the following steps:

接收由移动终端发送的差异文件信息,所述差异文件信息由所述移动终端根据第一系统文件确定,其中,所述移动终端接收到第一操作系统的升级信息时,则确定第一操作系统相比于第二操作系统发生变化的第一系统文件,所述第一操作系统为移动终端当前所处的系统,所述第一操作系统和第二操作系统具有相同的版本号;receiving the difference file information sent by the mobile terminal, the difference file information is determined by the mobile terminal according to the first system file, wherein, when the mobile terminal receives the upgrade information of the first operating system, it determines the first operating system Compared with the first system file that changes in the second operating system, the first operating system is the system where the mobile terminal is currently located, and the first operating system and the second operating system have the same version number;

根据所述差异文件信息生成修复包;Generate a repair package according to the difference file information;

将所述修复包和升级包发送至所述移动终端,使所述移动终端根据所述修复包将所述第一操作系统修复至所述第二操作系统,并根据所述升级包对所述第二操作系统进行升级。sending the repair package and the upgrade package to the mobile terminal, so that the mobile terminal repairs the first operating system to the second operating system according to the repair package, and updates the The second operating system is upgraded.

在图15中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器1501代表的一个或多个处理器和存储器1503代表的存储器的各种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路链接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口提供接口。收发机1502可以是多个元件,即包括发送机和接收机,提供用于在传输介质上与各种其他装置通信的单元。针对不同的用户设备,用户接口1504还可以是能够外接内接需要设备的接口,连接的设备包括但不限于小键盘、显示器、扬声器、麦克风、操纵杆等。In FIG. 15 , the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 1501 and various circuits of memory represented by memory 1503 are linked together. The bus architecture can also link together various other circuits such as peripherals, voltage regulators, and power management circuits, etc., which are well known in the art and therefore will not be further described herein. The bus interface provides the interface. Transceiver 1502 may be a plurality of elements, including a transmitter and a receiver, providing a means for communicating with various other devices over transmission media. For different user devices, the user interface 1504 may also be an interface capable of connecting externally and internally to required devices, and the connected devices include but are not limited to keypads, displays, speakers, microphones, joysticks, and the like.

处理器1501负责管理总线架构和通常的处理,存储器1503可以存储处理器1501在执行操作时所使用的数据。The processor 1501 is responsible for managing the bus architecture and general processing, and the memory 1503 can store data used by the processor 1501 when performing operations.

在本发明实施例中,对于root后的移动终端的操作系统进行升级时,移动终端会将其操作系统的系统分区下的差异文件信息发送至服务器,服务器会根据该文件信息生成修复包,移动终端获取该修复包和升级包后,可以根据该修复包对系统分区进行修复,并根据升级包对操作系统进行升级;在这里,由于修复包是用于修复修改文件和删除文件,因此,修复包可以是一个较小的文件,升级包本身就是一个较小的文件,因此,本发明可以避免完全下载整个高版本的操作系统对root后的操作系统进行升级,提升对root后的操作系统的升级效率。In the embodiment of the present invention, when the operating system of a rooted mobile terminal is upgraded, the mobile terminal will send the difference file information under the system partition of its operating system to the server, and the server will generate a repair package according to the file information, and the mobile terminal will After the terminal obtains the repair package and the upgrade package, it can repair the system partition according to the repair package, and upgrade the operating system according to the upgrade package; here, since the repair package is used to repair and delete files, the repair The package can be a smaller file, and the upgrade package itself is a smaller file. Therefore, the present invention can avoid completely downloading the entire high-version operating system to upgrade the rooted operating system, and improve the performance of the rooted operating system. Upgrade efficiency.

可选的,计算机程序被处理器1503执行时还可实现如下步骤:Optionally, when the computer program is executed by the processor 1503, the following steps may also be implemented:

所述根据所述差异文件信息生成修复包之前,所述方法还包括:Before generating the repair package according to the difference file information, the method also includes:

接收移动终端发送的所述第一操作系统的版本号;receiving the version number of the first operating system sent by the mobile terminal;

根据所述第一操作系统的版本号查找对应的操作系统软件;Searching for corresponding operating system software according to the version number of the first operating system;

所述根据所述差异文件信息生成修复包,具体为:The generating a repair package according to the difference file information is specifically:

根据所述差异文件信息从所述操作系统软件中查找对应的第二目标文件,由所述第二目标文件生成修复包。A corresponding second target file is searched from the operating system software according to the difference file information, and a repair package is generated from the second target file.

优选的,本发明实施例还提供一种服务器,包括处理器1501,存储器1503,存储在存储器1503上并可在所述处理器1501上运行的计算机程序,该计算机程序被处理器1501执行时实现上述操作系统的升级方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides a server, including a processor 1501, a memory 1503, a computer program stored in the memory 1503 and operable on the processor 1501, and the computer program is implemented when executed by the processor 1501 Each process of the above embodiment of the method for upgrading the operating system can achieve the same technical effect, and will not be repeated here to avoid repetition.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述操作系统的升级方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random AccessMemory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned operating system upgrade method embodiment is realized, and the same To avoid repetition, the technical effects will not be repeated here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, without departing from the gist of the present invention and the protection scope of the claims, many forms can also be made, all of which belong to the protection of the present invention.

Claims (16)

CN201711308077.5A2017-12-112017-12-11 An operating system upgrade method, mobile terminal and serverActiveCN107844318B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201711308077.5ACN107844318B (en)2017-12-112017-12-11 An operating system upgrade method, mobile terminal and server

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201711308077.5ACN107844318B (en)2017-12-112017-12-11 An operating system upgrade method, mobile terminal and server

Publications (2)

Publication NumberPublication Date
CN107844318Atrue CN107844318A (en)2018-03-27
CN107844318B CN107844318B (en)2021-08-24

Family

ID=61663762

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201711308077.5AActiveCN107844318B (en)2017-12-112017-12-11 An operating system upgrade method, mobile terminal and server

Country Status (1)

CountryLink
CN (1)CN107844318B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109885325A (en)*2019-02-262019-06-14努比亚技术有限公司Terminal system upgrade method, terminal and computer readable storage medium
CN110321148A (en)*2019-07-122019-10-11Oppo广东移动通信有限公司Method for upgrading system and relevant apparatus
CN110808852A (en)*2019-10-242020-02-18北京达佳互联信息技术有限公司Equipment environment correction method and device, and environment information processing method and device
CN114327579A (en)*2021-12-302022-04-12广东中兴新支点技术有限公司 A system environment synchronization method, system, device and storage medium

Citations (16)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1906574A (en)*2003-11-192007-01-31艾利森电话股份有限公司Updating data in a mobile terminal
US8590040B2 (en)*2010-12-222013-11-19Intel CorporationRuntime platform firmware verification
CN103942058A (en)*2013-01-172014-07-23深圳市潮流网络技术有限公司Embedded electronic equipment software updating method and system
CN104408370A (en)*2014-12-252015-03-11珠海全志科技股份有限公司Android system security verification method and verification device thereof
US20150331692A1 (en)*2014-05-132015-11-19Zscaler, Inc.Systems and methods for live operating system upgrades of inline cloud servers
CN105262627A (en)*2015-10-302016-01-20Tcl集团股份有限公司Firmware upgrade method, device and system
CN105446768A (en)*2015-11-052016-03-30小米科技有限责任公司System upgrading method and apparatus
CN105577451A (en)*2016-01-292016-05-11贵阳海信电子有限公司Upgrading method and upgrading apparatus of cloud television system
CN105657191A (en)*2016-03-292016-06-08Tcl集团股份有限公司Application increment upgrading method and system based on Android system
CN105718268A (en)*2016-01-222016-06-29青岛海信移动通信技术股份有限公司Method and device for verifying OTA multi-pack upgrading
CN105912937A (en)*2016-04-282016-08-31宇龙计算机通信科技(深圳)有限公司Root detection processing method and device, and terminal
CN106293793A (en)*2015-06-022017-01-04西安中兴新软件有限责任公司The method for upgrading software of a kind of terminal, device and system
CN106484453A (en)*2015-09-022017-03-08中兴通讯股份有限公司A kind of method and device realizing system upgrade
CN103955363B (en)*2014-04-082017-03-15国云科技股份有限公司A kind of manufacture method of program upgrade installation package
CN106648766A (en)*2016-12-072017-05-10京信通信系统(中国)有限公司Patch update package generation and differential upgrade method based on folder and device thereof
US20170357496A1 (en)*2016-06-122017-12-14Intel CorporationTechnologies for secure software update using bundles and merkle signatures

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1906574A (en)*2003-11-192007-01-31艾利森电话股份有限公司Updating data in a mobile terminal
US8590040B2 (en)*2010-12-222013-11-19Intel CorporationRuntime platform firmware verification
CN103942058A (en)*2013-01-172014-07-23深圳市潮流网络技术有限公司Embedded electronic equipment software updating method and system
CN103955363B (en)*2014-04-082017-03-15国云科技股份有限公司A kind of manufacture method of program upgrade installation package
US20150331692A1 (en)*2014-05-132015-11-19Zscaler, Inc.Systems and methods for live operating system upgrades of inline cloud servers
CN104408370A (en)*2014-12-252015-03-11珠海全志科技股份有限公司Android system security verification method and verification device thereof
CN106293793A (en)*2015-06-022017-01-04西安中兴新软件有限责任公司The method for upgrading software of a kind of terminal, device and system
CN106484453A (en)*2015-09-022017-03-08中兴通讯股份有限公司A kind of method and device realizing system upgrade
CN105262627A (en)*2015-10-302016-01-20Tcl集团股份有限公司Firmware upgrade method, device and system
CN105446768A (en)*2015-11-052016-03-30小米科技有限责任公司System upgrading method and apparatus
CN105718268A (en)*2016-01-222016-06-29青岛海信移动通信技术股份有限公司Method and device for verifying OTA multi-pack upgrading
CN105577451A (en)*2016-01-292016-05-11贵阳海信电子有限公司Upgrading method and upgrading apparatus of cloud television system
CN105657191A (en)*2016-03-292016-06-08Tcl集团股份有限公司Application increment upgrading method and system based on Android system
CN105912937A (en)*2016-04-282016-08-31宇龙计算机通信科技(深圳)有限公司Root detection processing method and device, and terminal
US20170357496A1 (en)*2016-06-122017-12-14Intel CorporationTechnologies for secure software update using bundles and merkle signatures
CN106648766A (en)*2016-12-072017-05-10京信通信系统(中国)有限公司Patch update package generation and differential upgrade method based on folder and device thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
SUNNY: ""Android OTA 差分包升级"", 《BLOG.SINA.COM.CN/S/BLOG_67E1C5CC0101WVE5.HTML》*

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109885325A (en)*2019-02-262019-06-14努比亚技术有限公司Terminal system upgrade method, terminal and computer readable storage medium
CN110321148A (en)*2019-07-122019-10-11Oppo广东移动通信有限公司Method for upgrading system and relevant apparatus
CN110808852A (en)*2019-10-242020-02-18北京达佳互联信息技术有限公司Equipment environment correction method and device, and environment information processing method and device
CN114327579A (en)*2021-12-302022-04-12广东中兴新支点技术有限公司 A system environment synchronization method, system, device and storage medium

Also Published As

Publication numberPublication date
CN107844318B (en)2021-08-24

Similar Documents

PublicationPublication DateTitle
CN108958074B (en)A kind of smart machine control method and mobile terminal
CN109800179B (en) Methods of getting data, methods of sending data, host and embedded memory
CN107273160A (en)A kind of method and device of edition upgrading
CN107861730B (en) Application processing method and mobile terminal
CN108595113A (en)A kind of method and terminal of subregion adjustment
CN109101327B (en)Switching of light application and mobile terminal
WO2021098360A1 (en)Application control method, electronic device, and server
CN107613024A (en) A data synchronization method and mobile terminal
CN107844318A (en)The upgrade method and mobile terminal and server of a kind of operating system
CN109284187A (en) Application processing method, device and mobile terminal
CN107967153A (en)The management method and mobile terminal of a kind of application program
CN108021379A (en)A kind of upgrade method of application program, mobile terminal and server
CN111522575B (en)Application program upgrading method and electronic equipment
CN108491225B (en)Update package generation method and mobile terminal
CN108566638B (en) A method and mobile terminal for updating configuration files
CN111240729B (en)Software updating method, electronic device and medium
CN109408080A (en)A kind of method and terminal of application upgrade
CN107786739A (en)A kind of information acquisition method and mobile terminal
CN107704334A (en)A kind of SDK processing method and mobile terminal
CN107864474A (en)A kind of MBN update methods and mobile terminal
CN107979688B (en) Application program management method and mobile terminal
CN108710789B (en)Unlocking method and terminal equipment
CN115695309B (en)Access control list rule configuration method and device, electronic equipment and storage medium
CN110430573A (en)A kind of information authentication method, electronic equipment and network side equipment
US11768998B2 (en)Input box information processing method and electronic device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp