[go: up one dir, main page]

WO2013167010A2 - Mobile terminal and startup method therefor - Google Patents

Mobile terminal and startup method therefor Download PDF

Info

Publication number
WO2013167010A2
WO2013167010A2 PCT/CN2013/078063 CN2013078063W WO2013167010A2 WO 2013167010 A2 WO2013167010 A2 WO 2013167010A2 CN 2013078063 W CN2013078063 W CN 2013078063W WO 2013167010 A2 WO2013167010 A2 WO 2013167010A2
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
data partition
boot
storage location
boot cache
Prior art date
Application number
PCT/CN2013/078063
Other languages
French (fr)
Chinese (zh)
Other versions
WO2013167010A3 (en
Inventor
胡博
张仙
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2013167010A2 publication Critical patent/WO2013167010A2/en
Publication of WO2013167010A3 publication Critical patent/WO2013167010A3/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/56Details of telephonic subscriber devices including a user help function

Definitions

  • the present invention relates to the field of communications, and in particular, to a mobile terminal and a booting method thereof. Background technique
  • the main technical problem to be solved by the present invention is to provide a mobile terminal and a booting method thereof, which solves the problem that the remaining space of the data partition of the existing mobile terminal system cannot be turned on after being less than a certain value.
  • the present invention provides a mobile terminal booting method, and the method includes:
  • the system When the remaining storage space of the data partition of the mobile terminal system cannot meet the normal booting procedure, the system enters the self-rescue mode command and enters the self-rescue mode;
  • one or more preset boot cache files are deleted from the secure storage location of the data partition until the remaining storage space of the data partition satisfies normal booting.
  • the storage space required by the program is not limited to the program.
  • the method further includes:
  • One or more of the boot cache files are set at a secure storage location of the data partition.
  • the setting, by the security storage location of the data partition, one or more of the boot cache files including:
  • boot cache files are set in a secure storage location of the data partition
  • one or more boot cache files are set in a secure storage location of the data partition
  • one or more boot cache files are set in the secure storage location of the data partition.
  • the setting, when the mobile terminal is powered on or off, setting one or more of the boot cache files in the secure storage location of the data partition includes: determining the security of the data partition Whether the number of the boot cache files currently stored in the storage location is less than a preset number, and determining that the number of the boot cache files currently stored in the secure storage location of the data partition is equal to the preset number, Determining whether the current storage space of the data partition is sufficient to store one of the booting spaces when the number of the boot cache files currently stored in the secure storage location of the data partition is less than the preset number Cache file; determining that the current remaining storage space of the data partition is sufficient to store one boot cache file, setting a boot cache file in a secure storage location of the data partition, and determining a secure storage location of the data partition again Whether the number of the boot cache files currently stored is less than a preset number And so on, until the current remaining storage space of the data partition is insufficient to set one boot cache file or the boot cache file number
  • the method further includes: booting at the mobile terminal During the process, when the current remaining storage space of the data partition is insufficient to set one boot cache file, the user is prompted to pre-store the instruction that the storage space is insufficient or to issue an instruction for forcing the user to delete the application.
  • the secure storage location of the data partition is a storage location that is inaccessible to the user.
  • the present invention further provides a mobile terminal, where the mobile terminal includes: an instruction receiving module and a self-rescue module;
  • the instruction receiving module is configured to receive a self-rescue mode command and enter a self-rescue mode when the remaining storage space of the data partition of the mobile terminal system fails to meet the normal booting procedure;
  • the self-module is configured to delete one or more preset boot cache files from the secure storage location of the data partition in the self-mode, until the remaining storage space of the data partition meets a requirement of a normal boot-up procedure storage.
  • the mobile terminal further includes:
  • a file setting module configured to set one or more of the boot cache files in a secure storage location of the data partition.
  • the file setting module is specifically configured to: before the mobile terminal leaves the factory, set one or more boot cache files in a secure storage location of the data partition; or, the mobile terminal During the boot process, one or more boot cache files are set in the secure storage location of the data partition; or, during the shutdown process of the mobile terminal, one or more boot cache files are set in the secure storage location of the data partition.
  • the mobile terminal further includes: an alarm module, configured to: when the mobile terminal is powered on, when the current remaining storage space of the data partition is insufficient to set one boot cache file At the time, the user is prompted to pre-store the instruction that the storage space is insufficient or to issue an instruction to force the user to delete the application.
  • an alarm module configured to: when the mobile terminal is powered on, when the current remaining storage space of the data partition is insufficient to set one boot cache file At the time, the user is prompted to pre-store the instruction that the storage space is insufficient or to issue an instruction to force the user to delete the application.
  • the mobile terminal provided by the present invention and the booting method thereof, when the remaining storage space of the data partition of the mobile terminal system is less than a certain value and cannot be turned on, receiving the self-rescue mode command and entering the self-rescue mode; in the self-rescue mode,
  • the secure storage location of the data partition deletes one or more preset boot cache files until the remaining storage space of the data partition meets the requirements of the normal boot process; it can be seen that the present invention pre-sets the boot by using the data partition of the mobile terminal system.
  • FIG. 1 is a schematic flowchart of a method for booting a mobile terminal according to an embodiment of the present invention
  • FIG. 2 is a flow chart showing a method for setting a boot cache file during a boot process according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of another method for setting a boot cache file in a boot process according to an embodiment of the present invention
  • FIG. 4 is a schematic flow chart of a method for setting a shutdown cache file during a boot process according to an embodiment of the present invention
  • FIG. 5 is a schematic flowchart of another method for setting a shutdown cache file during a boot process according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of another mobile terminal according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of another mobile terminal according to an embodiment of the present invention. detailed description
  • the invention pre-sets the boot cache file in the data partition of the mobile terminal system, and when detecting that the remaining storage space of the data partition is less than the boot threshold, the boot cache file is deleted to be sufficient for the mobile terminal system.
  • the storage space is normally booted, and there is no need to perform a brushing operation to avoid leakage or loss of data stored by the user during the re-flashing process, thereby improving the satisfaction of the user experience.
  • the self-rescue mode in the embodiment refers to: when the booting process is performed according to the normal boot mode, when the remaining storage space of the data partition is too small to be booted normally, the solution provided by the present invention is implemented.
  • the mode that the mobile terminal enters when the booting process is performed according to the normal boot mode, when the remaining storage space of the data partition is too small to be booted normally, the solution provided by the present invention is implemented.
  • FIG. 1 is a schematic flowchart of a method for booting a mobile terminal according to the embodiment. As shown in FIG. 1, the method includes the following steps:
  • Step 101 When the remaining storage space of the data partition of the mobile terminal system cannot meet the normal booting procedure, receiving the instruction to enter the system self-rescue mode, and entering the self-rescue mode;
  • Step 102 In the self-rescue mode, delete one or more preset boot cache files from the secure storage location of the data partition until the remaining storage space of the data partition satisfies the storage space required for the normal boot program.
  • the function of setting the boot cache file is mainly for facilitating booting of the storage space for the mobile terminal system.
  • the mobile terminal system deletes the storage space due to insufficient storage space of the data partition during the boot process.
  • the boot cache file is described such that the remaining storage space of the data partition satisfies the booting requirements of the mobile terminal system.
  • the number of the boot cache file and the size setting may be specifically selected according to the actual application scenario. For example, only one boot cache file may be set, as long as the size of the boot cache file that meets the setting satisfies the mobile terminal.
  • the size of the storage space required for the system to be powered on that is, the size of the boot cache file set is greater than or equal to the mobile terminal.
  • the size of the storage space required for the system to be powered on may be set smaller than the storage space required for booting the mobile terminal system, as long as the set boot is satisfied.
  • the sum of the size of the cache file and the remaining storage space of the data partition may satisfy the storage space required for the mobile terminal system to boot.
  • N N is greater than or equal to 2
  • boot cache files may also be set, and the size of each boot cache file may be set to be greater than or equal to the storage space required for booting the mobile terminal system.
  • the size of each boot cache file may be set to be smaller than the storage space required for the booting of the mobile terminal system, as long as the sum of the sizes of the N boot cache files is greater than or equal to the storage space required for booting the mobile terminal system. can.
  • the foregoing step 102 may further include:
  • the boot cache file is deleted from the secure storage location of the data partition by the above steps to ensure that the data partition has sufficient storage space for normal booting.
  • the secure storage location of the data partition is preferably a storage location that the user cannot access.
  • the secure storage location of the data partition can also be set to a storage location accessible by the user, and only the set boot cache file needs to be specifically described, especially when the user deletes the set boot cache file, prompting the user to set the boot.
  • the role of the cache file; or directly set the boot cache file can only be deleted by the user during the boot process.
  • the boot cache file is set in the secure storage location of the data partition, and the boot cache file is generated through the corresponding interface of the mobile terminal system; and in this embodiment, the manner of setting the boot cache file includes: Not limited to the following three ways:
  • Manner 2 During the booting process of the mobile terminal, set more than one boot cache file in the secure storage location of the data partition, and then complete booting;
  • Manner 3 During the shutdown process of the mobile terminal, more than one boot cache file is set in the secure storage location of the data partition, and then the shutdown is completed.
  • Step 201 The booting system of the mobile terminal is turned on.
  • Step 202 Determine whether there is a boot cache file in the secure storage location of the data partition, and determine whether the number of boot cache files reaches a preset number. In other words, determine that the secure storage location is currently stored. Whether the number of cache files is equal to a preset number; if yes, go to step 205, otherwise, go to step 203;
  • Step 203 Determine whether the current remaining storage space of the data partition is sufficient to store a boot cache file, and if so, go to step 204; otherwise, go to step 205;
  • Step 204 Set a boot cache file in the secure storage location, and go to step 202;
  • Step 205 Go to the normal boot process to complete booting.
  • the process of setting the boot cache file in the secure storage location of the data partition may also be as follows:
  • Step 301 The booting system of the mobile terminal is turned on.
  • Step 302 Determine whether there is a boot cache file in the secure storage location of the data partition, and determine whether the number of boot cache files reaches a preset number. In other words, determine that the secure storage location is currently stored. Whether the number of cache files is less than a preset number; if yes, go to step 303, otherwise, go to step 306;
  • Step 303 Calculate a difference M between the number of the currently stored boot cache files and the preset number
  • Step 304 Determine whether the current remaining storage space of the data partition is sufficient to store M boot cache files, and if yes, go to step 305; otherwise, go to step 306;
  • Step 305 Set a boot cache file in the secure storage location, and go to step 306;
  • Step 306 Go to the normal boot process to complete booting.
  • the process of setting the boot cache file in the secure storage location of the data partition is as follows:
  • Step 401 Start a shutdown system of the mobile terminal.
  • Step 402 Determine whether there is a boot cache file in the secure storage location of the data partition, and determine whether the number of boot cache files reaches a preset number. In other words, determine that the secure storage location is currently stored. Whether the number of cache files is less than a preset number; if yes, go to step 403, otherwise, go to step 405;
  • Step 403 Determine whether the current remaining storage space of the data partition is sufficient to store a boot cache file, and if yes, go to step 404; otherwise, go to step 405;
  • Step 404 Set a boot cache file in the secure storage location, and go to step 402;
  • Step 405 Go to the normal shutdown program to complete the shutdown.
  • the process of setting the boot cache file in the secure storage location of the data partition may also be as follows:
  • Step 501 Start the shutdown system of the mobile terminal to enter a shutdown mode
  • Step 502 Determine whether a boot cache file exists in a secure storage location of the data partition. And determining whether the number of the boot cache files reaches a preset number. In other words, determining whether the number of the boot cache files currently stored in the secure storage location is less than a preset number; if yes, go to step 503 Otherwise, go to step 506;
  • Step 503 Calculate a difference M between the number of the currently stored boot cache files and the preset number
  • Step 504 Determine whether the current remaining storage space of the data partition is sufficient to store M boot cache files, and if yes, go to step 505; otherwise, go to step 506;
  • Step 505 Set M boot cache files in the secure storage location, and go to step 506; Step 506: Go to the normal shutdown program to complete the shutdown.
  • the boot cache file of this embodiment can also set a boot cache file during the startup and shutdown of the mobile terminal.
  • the user may also be prompted to pre-store the insufficient storage space or issue a mandatory user deletion application. instruction.
  • the mobile terminal can also issue an instruction prompting the user to pre-store insufficient storage space or issue an instruction to force the user to delete the application.
  • the mobile terminal in this embodiment may be a terminal such as a smart phone or an iPad, and the mobile terminal includes: an instruction receiving module and a self-rescue module;
  • the instruction receiving module is configured to receive the instruction of entering the system self-rescue mode and enter the self-rescue mode when the remaining storage space of the data partition of the mobile terminal system cannot satisfy the normal startup startup procedure;
  • the self-rescue module is configured to delete one or more preset boot cache files from the secure storage location of the data partition in the self-rescue mode, until the remaining storage space of the data partition satisfies the storage space required by the normal boot startup program .
  • the self-rescue module may be configured to: after deleting one or more preset boot cache files from the secure storage location of the data partition, determine whether the current remaining storage space of the data partition satisfies the mobile terminal.
  • the normal boot request if not satisfied, delete one or more preset boot cache files from the secure storage location of the data partition, and determine again whether the current remaining storage space of the data partition satisfies the normal booting requirement of the mobile terminal, After the preset boot cache file is deleted, the current remaining storage space of the data partition satisfies the normal booting requirement of the mobile terminal.
  • the mobile terminal in this embodiment further includes a file setting module, configured to set one or more boot cache files in a secure storage location of the data partition; the file setting module may specifically be the mobile terminal system.
  • the interface; the way to set the boot cache file also includes and is not limited to the above three methods, namely:
  • the file setting module may set one or more boot cache files in the secure storage location of the data partition before the mobile terminal leaves the factory;
  • the file setting module sets more than one boot cache file in the secure storage location of the data partition. Piece, then return to the normal shutdown program to achieve shutdown.
  • the mobile terminal in this embodiment further includes an alarm module, configured to send, when the mobile terminal is powered on, when it is determined that the current remaining storage space of the data partition is insufficient to set the boot cache file, The user is prompted to pre-store the instruction that the storage space is insufficient, or the instruction to force the user to delete the application; the specific sending manner has been described in detail above, and will not be described here.
  • an alarm module configured to send, when the mobile terminal is powered on, when it is determined that the current remaining storage space of the data partition is insufficient to set the boot cache file, The user is prompted to pre-store the instruction that the storage space is insufficient, or the instruction to force the user to delete the application; the specific sending manner has been described in detail above, and will not be described here.
  • the present invention pre-sets the boot cache file in the data partition of the mobile terminal system, and when detecting that the remaining storage space of the data partition is less than the boot threshold, the boot cache file is deleted.
  • the mobile terminal system enough space to achieve normal booting, without brushing, to avoid leakage or loss of data stored by the user during the re-flashing process, and improve the satisfaction of the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Stored Programmes (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

Disclosed are a mobile terminal and a startup method therefor. The method comprises: when startup cannot be performed due to the fact that the size of the remaining space of a data subzone of a mobile terminal system is smaller than a certain value, receiving an instruction for entering a system self-help mode, and entering the self-help mode; and in the self-help mode, deleting more than one preset startup cache file from a secure storage location of the data subzone until the remaining storage space of the data subzone meets that required by a normal startup program. In the present invention, by setting startup cache files in a data subzone of a mobile terminal system in advance, when it is detected that the remaining space of the data subzone is smaller than a startup threshold value during startup, the set startup cache files are deleted to give the mobile terminal system sufficient space to achieve normal startup without performing getroot, the disclosure or loss of data stored by a user, which is caused in the re-getroot process is avoided, and the satisfaction degree of the user experience is improved.

Description

一种移动终端及其开机方法 技术领域  Mobile terminal and booting method thereof

本发明涉及通信领域, 具体涉及一种移动终端及其开机方法。 背景技术  The present invention relates to the field of communications, and in particular, to a mobile terminal and a booting method thereof. Background technique

目前, 智能手机、 iPad等移动终端随着功能的增加, 在人们的日常生 活中扮演的角色越来越重要。 当前智能手机上最为流行的几种操作系统分 别为 Android, IOS、 Windows Phone8, 如果智能手机系统的数据(data ) 分区的剩余存储空间小于一定值时, 在极端的情况下, 智能手机的开机都 会失败, 这是因为智能手机系统会在启动阶段进行写操作。 因此, 如果当 前的状态是系统的 data分区的剩余空间小于一定值,除了进行重新刷机外, 没有其它的解决方法; 但是, 重新刷机则可能会导致用户存储的资料外泄 或丟失, 给用户造成诸多不便, 降低了用户体验的满意度。 发明内容  At present, mobile terminals such as smartphones and iPads are playing an increasingly important role in people's daily lives as their functions increase. The most popular operating systems on current smartphones are Android, IOS, and Windows Phone 8. If the remaining storage space of the data partition of the smartphone system is less than a certain value, in extreme cases, the smartphone will boot. Failed, this is because the smartphone system will write during the startup phase. Therefore, if the current state is that the remaining space of the data partition of the system is less than a certain value, there is no other solution except for re-flashing; however, re-flashing may cause the data stored by the user to be leaked or lost, causing the user to Many inconveniences reduce the satisfaction of the user experience. Summary of the invention

本发明要解决的主要技术问题是, 提供一种移动终端及其开机方法, 解决现有移动终端系统的数据分区剩余空间小于一定值后不能开机的问 题。  The main technical problem to be solved by the present invention is to provide a mobile terminal and a booting method thereof, which solves the problem that the remaining space of the data partition of the existing mobile terminal system cannot be turned on after being less than a certain value.

为解决上述技术问题, 本发明提供一种移动终端开机方法, 所述方法 包括:  To solve the above technical problem, the present invention provides a mobile terminal booting method, and the method includes:

当移动终端系统的数据分区的剩余存储空间无法满足正常开机启动程 序时, 接收进入系统自救模式指令, 并进入自救模式;  When the remaining storage space of the data partition of the mobile terminal system cannot meet the normal booting procedure, the system enters the self-rescue mode command and enters the self-rescue mode;

在所述自救模式下, 从所述数据分区的安全存储位置删除一个以上预 设的开机緩存文件, 直至所述数据分区的剩余存储空间满足正常开机启动 程序所需的存储空间。 In the self-rescue mode, one or more preset boot cache files are deleted from the secure storage location of the data partition until the remaining storage space of the data partition satisfies normal booting. The storage space required by the program.

在本发明的一种实施例中, 所述方法还包括:  In an embodiment of the invention, the method further includes:

在所述数据分区的安全存储位置设置一个以上所述开机緩存文件。 在本发明的一种实施例中, 所述在所述数据分区的安全存储位置设置 一个以上所述开机緩存文件, 包括:  One or more of the boot cache files are set at a secure storage location of the data partition. In an embodiment of the present invention, the setting, by the security storage location of the data partition, one or more of the boot cache files, including:

所述移动终端出厂前, 在所述数据分区的安全存储位置设置一个以上 所述开机緩存文件; 或者,  Before the mobile terminal leaves the factory, one or more boot cache files are set in a secure storage location of the data partition; or

所述移动终端开机过程中, 在所述数据分区的安全存储位置设置一个 以上所述开机緩存文件; 或者,  During the booting process of the mobile terminal, one or more boot cache files are set in a secure storage location of the data partition; or

所述移动终端关机过程中, 在所述数据分区的安全存储位置设置一个 以上所述开机緩存文件。  During the shutdown process of the mobile terminal, one or more boot cache files are set in the secure storage location of the data partition.

在本发明的一种实施例中, 所述在所述移动终端开机或关机过程中, 在所述数据分区的安全存储位置设置一个以上所述开机緩存文件, 包括: 判断所述数据分区的安全存储位置当前存储的所述开机緩存文件个数 是否小于预设个数, 确定所述数据分区的安全存储位置当前存储的所述开 机緩存文件个数等于所述预设个数时, 转至正常开机或关机程序; 确定所 述数据分区的安全存储位置当前存储的所述开机緩存文件个数小于所述预 设个数时, 判断所述数据分区当前的剩余存储空间是否足够存储一个所述 开机緩存文件; 确定所述数据分区当前的剩余存储空间足够存储一个所述 开机緩存文件时, 在所述数据分区的安全存储位置设置一个所述开机緩存 文件, 再次判断所述数据分区的安全存储位置当前存储的所述开机緩存文 件个数是否小于预设个数, 以此类推, 直至所述数据分区当前的剩余存储 空间不足以设置一个所述开机緩存文件或所述开机緩存文件个数等于所述 预设个数。  In an embodiment of the present invention, the setting, when the mobile terminal is powered on or off, setting one or more of the boot cache files in the secure storage location of the data partition, includes: determining the security of the data partition Whether the number of the boot cache files currently stored in the storage location is less than a preset number, and determining that the number of the boot cache files currently stored in the secure storage location of the data partition is equal to the preset number, Determining whether the current storage space of the data partition is sufficient to store one of the booting spaces when the number of the boot cache files currently stored in the secure storage location of the data partition is less than the preset number Cache file; determining that the current remaining storage space of the data partition is sufficient to store one boot cache file, setting a boot cache file in a secure storage location of the data partition, and determining a secure storage location of the data partition again Whether the number of the boot cache files currently stored is less than a preset number And so on, until the current remaining storage space of the data partition is insufficient to set one boot cache file or the boot cache file number is equal to the preset number.

在本发明的一种实施例中, 所述方法还包括: 在所述移动终端开机过 程中, 当所述数据分区当前的剩余存储空间不足够设置一个所述开机緩存 文件时, 发送提示用户预存存储空间不足的指令或发出强制用户删除应用 程序的指令。 In an embodiment of the present invention, the method further includes: booting at the mobile terminal During the process, when the current remaining storage space of the data partition is insufficient to set one boot cache file, the user is prompted to pre-store the instruction that the storage space is insufficient or to issue an instruction for forcing the user to delete the application.

在本发明的一种实施例中, 所述数据分区的安全存储位置为用户访问 不到的存储位置。  In an embodiment of the invention, the secure storage location of the data partition is a storage location that is inaccessible to the user.

为了解决上述问题, 本发明还提供了一种移动终端, 所述移动终端包 括: 指令接收模块及自救模块; 其中,  In order to solve the above problems, the present invention further provides a mobile terminal, where the mobile terminal includes: an instruction receiving module and a self-rescue module;

所述指令接收模块, 配置为当移动终端系统的数据分区的剩余存储空 间无法满足正常开机启动程序时, 接收进入系统自救模式指令, 并进入自 救模式;  The instruction receiving module is configured to receive a self-rescue mode command and enter a self-rescue mode when the remaining storage space of the data partition of the mobile terminal system fails to meet the normal booting procedure;

所述自 模块, 配置为在所述自 模式下, 从所述数据分区的安全存 储位置删除一个以上预设的开机緩存文件, 直至所述数据分区的剩余存储 空间满足正常开机启动程序所需的存储空间。  The self-module is configured to delete one or more preset boot cache files from the secure storage location of the data partition in the self-mode, until the remaining storage space of the data partition meets a requirement of a normal boot-up procedure storage.

在本发明的一种实施例中, 所述移动终端还包括:  In an embodiment of the present invention, the mobile terminal further includes:

文件设置模块, 配置为在所述数据分区的安全存储位置设置一个以上 所述开机緩存文件。  A file setting module configured to set one or more of the boot cache files in a secure storage location of the data partition.

在本发明的一种实施例中, 所述文件设置模块具体配置为: 所述移动 终端出厂前, 在所述数据分区的安全存储位置设置一个以上所述开机緩存 文件; 或者, 所述移动终端开机过程中, 在所述数据分区的安全存储位置 设置一个以上所述开机緩存文件; 或者, 所述移动终端关机过程中, 在所 述数据分区的安全存储位置设置一个以上所述开机緩存文件。  In an embodiment of the present invention, the file setting module is specifically configured to: before the mobile terminal leaves the factory, set one or more boot cache files in a secure storage location of the data partition; or, the mobile terminal During the boot process, one or more boot cache files are set in the secure storage location of the data partition; or, during the shutdown process of the mobile terminal, one or more boot cache files are set in the secure storage location of the data partition.

在本发明的一种实施例中, 所述移动终端还包括: 告警模块, 配置为 在所述移动终端开机过程中, 当所述数据分区当前的剩余存储空间不足够 设置一个所述开机緩存文件时, 发送提示用户预存存储空间不足的指令或 发出强制用户删除应用程序的指令。 本发明的有益效果是: In an embodiment of the present invention, the mobile terminal further includes: an alarm module, configured to: when the mobile terminal is powered on, when the current remaining storage space of the data partition is insufficient to set one boot cache file At the time, the user is prompted to pre-store the instruction that the storage space is insufficient or to issue an instruction to force the user to delete the application. The beneficial effects of the invention are:

本发明提供的移动终端及其开机方法, 当移动终端系统的 data分区的剩 余存储空间小于一定值导致不能开机时, 接收进入系统自救模式指令, 并 进入自救模式; 在所述自救模式下, 从所述 data分区的安全存储位置删除一 个以上预设的开机緩存文件,直至所述 data分区的剩余存储空间满足正常开 机启动程序所需; 可见, 本发明通过在移动终端系统的 data分区预先设置开 机緩存文件,在开机时当检测到所述 data分区的剩余存储空间 ' j、于开机阈值 时, 则将设置的开机緩存文件删除, 以给移动终端系统足够的空间实现正 常开机, 而不需要进行刷机, 避免在重新刷机过程中导致用户存储的资料 外泄或丟失, 提高了用户体验的满意度。 附图说明  The mobile terminal provided by the present invention and the booting method thereof, when the remaining storage space of the data partition of the mobile terminal system is less than a certain value and cannot be turned on, receiving the self-rescue mode command and entering the self-rescue mode; in the self-rescue mode, The secure storage location of the data partition deletes one or more preset boot cache files until the remaining storage space of the data partition meets the requirements of the normal boot process; it can be seen that the present invention pre-sets the boot by using the data partition of the mobile terminal system. Cache file, when detecting the remaining storage space of the data partition at boot time, j, at the boot threshold, delete the set boot cache file to give the mobile terminal system enough space to achieve normal boot, without Brushing machine to avoid leakage or loss of data stored by the user during the re-flashing process, which improves the satisfaction of the user experience. DRAWINGS

图 1为本发明实施例一种移动终端开机的方法流程示意图;  1 is a schematic flowchart of a method for booting a mobile terminal according to an embodiment of the present invention;

图 2 为本发明实施例一种开机过程中设置开机緩存文件的方法流程示 意;  2 is a flow chart showing a method for setting a boot cache file during a boot process according to an embodiment of the present invention;

图 3 为本发明实施例另一种开机过程中设置开机緩存文件的方法流程 示意;  FIG. 3 is a schematic flowchart of another method for setting a boot cache file in a boot process according to an embodiment of the present invention; FIG.

图 4为本发明实施例一种开机过程中设置关机緩存文件的方法流程示 意图;  4 is a schematic flow chart of a method for setting a shutdown cache file during a boot process according to an embodiment of the present invention;

图 5 为本发明实施例另一种开机过程中设置关机緩存文件的方法流程 示意;  FIG. 5 is a schematic flowchart of another method for setting a shutdown cache file during a boot process according to an embodiment of the present invention; FIG.

图 6为本发明实施例一种移动终端结构示意;  6 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;

图 7为本发明实施例另一种移动终端结构示意;  FIG. 7 is a schematic structural diagram of another mobile terminal according to an embodiment of the present invention;

图 8为本发明实施例又一种移动终端结构示意。 具体实施方式 FIG. 8 is a schematic structural diagram of another mobile terminal according to an embodiment of the present invention. detailed description

本发明通过在移动终端系统的 data分区预先设置开机緩存文件, 在开 机时当检测到所述 data分区的剩余存储空间小于开机阈值时, 则将设置的 开机緩存文件删除, 以给移动终端系统足够的存储空间实现正常开机, 而 不需要进行刷机, 避免在重新刷机过程中导致用户存储的资料外泄或丟失, 提高了用户体验的满意度。 下面通过具体实施方式结合附图对本发明作进 一步详细说明。  The invention pre-sets the boot cache file in the data partition of the mobile terminal system, and when detecting that the remaining storage space of the data partition is less than the boot threshold, the boot cache file is deleted to be sufficient for the mobile terminal system. The storage space is normally booted, and there is no need to perform a brushing operation to avoid leakage or loss of data stored by the user during the re-flashing process, thereby improving the satisfaction of the user experience. The present invention will be further described in detail below with reference to the accompanying drawings.

在以下的描述中, 本实施例中的自救模式是指: 按照正常开机模式进 行开机过程中, 因所述 data分区的剩余存储空间过小导致不能正常开机时, 实现本发明提供的方案进行开机时移动终端所进入的模式。  In the following description, the self-rescue mode in the embodiment refers to: when the booting process is performed according to the normal boot mode, when the remaining storage space of the data partition is too small to be booted normally, the solution provided by the present invention is implemented. The mode that the mobile terminal enters.

基于上述说明, 图 1 为本实施例移动终端开机的方法流程示意图, 如 图 1所示, 该方法包括以下步驟:  Based on the above description, FIG. 1 is a schematic flowchart of a method for booting a mobile terminal according to the embodiment. As shown in FIG. 1, the method includes the following steps:

步驟 101 : 当移动终端系统的 data分区的剩余存储空间无法满足正常 开机启动程序时, 接收进入系统自救模式指令, 并进入自救模式;  Step 101: When the remaining storage space of the data partition of the mobile terminal system cannot meet the normal booting procedure, receiving the instruction to enter the system self-rescue mode, and entering the self-rescue mode;

步驟 102: 在所述自救模式下, 从所述 data分区的安全存储位置删除 一个以上预设的开机緩存文件, 直至所述 data分区的剩余存储空间满足正 常开机启动程序所需的存储空间。  Step 102: In the self-rescue mode, delete one or more preset boot cache files from the secure storage location of the data partition until the remaining storage space of the data partition satisfies the storage space required for the normal boot program.

本实施例中, 设置开机緩存文件的作用主要是为了便于为所述移动终 端系统开机预先占用存储空间 ,所述移动终端系统在开机过程中因所述 data 分区的剩余存储空间不够时, 删除所述开机緩存文件, 以使所述 data分区 的剩余存储空间满足所述移动终端系统开机的要求。  In this embodiment, the function of setting the boot cache file is mainly for facilitating booting of the storage space for the mobile terminal system. The mobile terminal system deletes the storage space due to insufficient storage space of the data partition during the boot process. The boot cache file is described such that the remaining storage space of the data partition satisfies the booting requirements of the mobile terminal system.

在本实施例中, 开机緩存文件个数以及大小的设置都可根据实际应用 场景具体选择设置, 例如, 可只设置一个开机緩存文件, 只要满足设置的 这个开机緩存文件的大小满足所述移动终端系统开机所需的存储空间大小 即可, 也就是说, 设置的这个开机緩存文件的大小大于等于所述移动终端 系统开机所需的存储空间大小; 当然, 当设置一个开机緩存文件时, 也可 设置所述设置的开机緩存文件的大小小于所述移动终端系统开机所需的存 储空间大小, 只要满足设置的开机緩存文件的大小与所述 data分区剩余的 存储空间大小之和满足所述移动终端系统开机所需的存储空间大小即可。 应当理解的是, 在本实施例中, 还可设置 N ( N大于等于 2 )个开机緩存文 件, 可以设置每个开机緩存文件的大小大于等于所述移动终端系统开机所 需的存储空间大小, 或者, 可以设置每个开机緩存文件的大小小于所述移 动终端系统开机所需的存储空间大小, 只要 N个开机緩存文件的大小之和 大于等于所述移动终端系统开机所需的存储空间大小即可。 In this embodiment, the number of the boot cache file and the size setting may be specifically selected according to the actual application scenario. For example, only one boot cache file may be set, as long as the size of the boot cache file that meets the setting satisfies the mobile terminal. The size of the storage space required for the system to be powered on, that is, the size of the boot cache file set is greater than or equal to the mobile terminal. The size of the storage space required for the system to be powered on; of course, when setting a boot cache file, the size of the boot cache file set by the mobile terminal system may be set smaller than the storage space required for booting the mobile terminal system, as long as the set boot is satisfied. The sum of the size of the cache file and the remaining storage space of the data partition may satisfy the storage space required for the mobile terminal system to boot. It should be understood that, in this embodiment, N (N is greater than or equal to 2) boot cache files may also be set, and the size of each boot cache file may be set to be greater than or equal to the storage space required for booting the mobile terminal system. Alternatively, the size of each boot cache file may be set to be smaller than the storage space required for the booting of the mobile terminal system, as long as the sum of the sizes of the N boot cache files is greater than or equal to the storage space required for booting the mobile terminal system. can.

在本实施例中, 当设置 N个开机緩存文件, 且各开机緩存文件的大小 小于所述移动终端系统开机所需的存储空间大小时, 在上述步驟 102 中还 可包括:  In this embodiment, when the N boot cache files are set, and the size of each boot cache file is smaller than the storage space required for the booting of the mobile terminal system, the foregoing step 102 may further include:

判断所述 data分区当前的剩余存储空间是否满足所述移动终端正常开 机的要求, 如果不满足, 从所述 data分区的安全存储位置删除一个以上预 设的开机緩存文件; 并再次判断所述 data分区当前的剩余存储空间是否满 足移动终端正常开机的要求, 以此类推, 直至删除预设的开机緩存文件后, 所述 data分区当前的剩余存储空间满足所述移动终端正常开机的要求。  Determining whether the current remaining storage space of the data partition meets the requirement that the mobile terminal is normally powered on, and if not, deleting one or more preset boot cache files from the secure storage location of the data partition; and determining the data again Whether the current storage space of the partition meets the requirements for the normal startup of the mobile terminal, and so on, until the preset boot cache file is deleted, the current remaining storage space of the data partition satisfies the requirement that the mobile terminal is normally powered on.

通过上述步驟从所述 data分区的安全存储位置删除开机緩存文件以保 证所述 data分区有足够的存储空间实现正常开机。  The boot cache file is deleted from the secure storage location of the data partition by the above steps to ensure that the data partition has sufficient storage space for normal booting.

在本实施例中, 为了避免预先设置的开机緩存文件被用户无意删除, 本实施例中优选所述 data分区的安全存储位置为用户访问不到的存储位 置。 当然, 也可设置所述 data分区的安全存储位置为用户可以访问的存储 位置, 只需对设置的开机緩存文件进行特别说明, 尤其是在用户删除设置 的开机緩存文件时, 提示用户设置的开机緩存文件的作用; 或直接设置设 置的开机緩存文件只有在开机过程中才能被用户删除等。 在本实施例中, 在所述 data分区的安全存储位置设置开机緩存文件具 体可通过所述移动终端系统相应的接口产生开机緩存文件; 且在本实施例 中, 设置开机緩存文件的方式包括但不限于以下三种方式: In this embodiment, in order to prevent the boot cache file that is set in advance from being unintentionally deleted by the user, in this embodiment, the secure storage location of the data partition is preferably a storage location that the user cannot access. Of course, the secure storage location of the data partition can also be set to a storage location accessible by the user, and only the set boot cache file needs to be specifically described, especially when the user deletes the set boot cache file, prompting the user to set the boot. The role of the cache file; or directly set the boot cache file can only be deleted by the user during the boot process. In this embodiment, the boot cache file is set in the secure storage location of the data partition, and the boot cache file is generated through the corresponding interface of the mobile terminal system; and in this embodiment, the manner of setting the boot cache file includes: Not limited to the following three ways:

方式一: 所述移动终端出厂前, 在所述 data分区的安全存储位置设置 一个以上开机緩存文件;  Manner 1: Before the mobile terminal leaves the factory, set more than one boot cache file in the secure storage location of the data partition;

方式二: 所述移动终端开机过程中, 在所述 data分区的安全存储位置 设置一个以上开机緩存文件, 然后完成开机;  Manner 2: During the booting process of the mobile terminal, set more than one boot cache file in the secure storage location of the data partition, and then complete booting;

方式三: 所述移动终端关机过程中, 在所述 data分区的安全存储位置 设置一个以上开机緩存文件, 然后完成关机。  Manner 3: During the shutdown process of the mobile terminal, more than one boot cache file is set in the secure storage location of the data partition, and then the shutdown is completed.

对于上述方式一, 其实现方式比较简单, 在此不再赘述; 但为了更好 的理解本发明, 下面结合附图对上述方式二和方式三进行具体的说明: 如图 2所示, 移动终端开机过程中, 在所述 data分区的安全存储位置 设置开机緩存文件的过程如下:  For the first mode, the implementation manner is relatively simple, and details are not described herein again. However, in order to better understand the present invention, the foregoing manners 2 and 3 are specifically described with reference to the accompanying drawings: As shown in FIG. 2, the mobile terminal During the boot process, the process of setting the boot cache file in the secure storage location of the data partition is as follows:

步驟 201 : 所述移动终端的开机系统开启;  Step 201: The booting system of the mobile terminal is turned on.

步驟 202: 判断所述 data分区的安全存储位置是否存在开机緩存文件, 并判断开机緩存文件的个数是否达到预设的个数, 换句话说, 判断所述安 全存储位置当前存储的所述开机緩存文件个数是否等于预设个数; 如果是, 转至步驟 205 , 否则, 转至步驟 203 ;  Step 202: Determine whether there is a boot cache file in the secure storage location of the data partition, and determine whether the number of boot cache files reaches a preset number. In other words, determine that the secure storage location is currently stored. Whether the number of cache files is equal to a preset number; if yes, go to step 205, otherwise, go to step 203;

步驟 203 : 判断所述 data分区当前的剩余存储空间是否足够存储一个 开机緩存文件, 如果是, 转至步驟 204; 否则, 转至步驟 205;  Step 203: Determine whether the current remaining storage space of the data partition is sufficient to store a boot cache file, and if so, go to step 204; otherwise, go to step 205;

步驟 204: 在所述安全存储位置设置开机緩存文件, 转至步驟 202; 步驟 205: 转至正常开机程序完成开机。  Step 204: Set a boot cache file in the secure storage location, and go to step 202; Step 205: Go to the normal boot process to complete booting.

请参见图 3所示, 移动终端开机过程中, 在所述 data分区的安全存储 位置设置开机緩存文件的过程还可如下:  Referring to FIG. 3, during the booting process of the mobile terminal, the process of setting the boot cache file in the secure storage location of the data partition may also be as follows:

步驟 301 : 所述移动终端的开机系统开启; 步驟 302: 判断所述 data分区的安全存储位置是否存在开机緩存文件, 并判断开机緩存文件的个数是否达到预设的个数, 换句话说, 判断所述安 全存储位置当前存储的所述开机緩存文件个数是否小于预设个数; 如果是, 转至步驟 303 , 否则, 转至步驟 306; Step 301: The booting system of the mobile terminal is turned on. Step 302: Determine whether there is a boot cache file in the secure storage location of the data partition, and determine whether the number of boot cache files reaches a preset number. In other words, determine that the secure storage location is currently stored. Whether the number of cache files is less than a preset number; if yes, go to step 303, otherwise, go to step 306;

步驟 303 :计算当前存储的所述开机緩存文件的个数与所述预设的个数 的差值 M;  Step 303: Calculate a difference M between the number of the currently stored boot cache files and the preset number;

步驟 304: 判断所述 data分区当前的剩余存储空间是否足够存储 M个 开机緩存文件, 如果是, 转至步驟 305; 否则, 转至步驟 306;  Step 304: Determine whether the current remaining storage space of the data partition is sufficient to store M boot cache files, and if yes, go to step 305; otherwise, go to step 306;

步驟 305: 在所述安全存储位置设置开机緩存文件, 转至步驟 306; 步驟 306: 转至正常开机程序完成开机。  Step 305: Set a boot cache file in the secure storage location, and go to step 306; Step 306: Go to the normal boot process to complete booting.

如图 4所示, 移动终端关机过程中, 在所述 data分区的安全存储位置 设置开机緩存文件的过程如下:  As shown in FIG. 4, during the shutdown process of the mobile terminal, the process of setting the boot cache file in the secure storage location of the data partition is as follows:

步驟 401 : 启动所述移动终端的关机系统;  Step 401: Start a shutdown system of the mobile terminal.

步驟 402: 判断所述 data分区的安全存储位置是否存在开机緩存文件, 并判断开机緩存文件的个数是否达到预设的个数, 换句话说, 判断所述安 全存储位置当前存储的所述开机緩存文件个数是否小于预设个数; 如果是, 转至步驟 403 , 否则, 转至步驟 405;  Step 402: Determine whether there is a boot cache file in the secure storage location of the data partition, and determine whether the number of boot cache files reaches a preset number. In other words, determine that the secure storage location is currently stored. Whether the number of cache files is less than a preset number; if yes, go to step 403, otherwise, go to step 405;

步驟 403: 判断所述 data分区当前的剩余存储空间是否足够存储一个 开机緩存文件, 如是, 转至步驟 404; 否则, 转至步驟 405;  Step 403: Determine whether the current remaining storage space of the data partition is sufficient to store a boot cache file, and if yes, go to step 404; otherwise, go to step 405;

步驟 404: 在所述安全存储位置设置开机緩存文件, 转至步驟 402; 步驟 405: 转至正常关机程序完成关机。  Step 404: Set a boot cache file in the secure storage location, and go to step 402; Step 405: Go to the normal shutdown program to complete the shutdown.

如图 5所示, 移动终端关机过程中, 在所述 data分区的安全存储位置 设置开机緩存文件的过程还可如下:  As shown in FIG. 5, during the shutdown process of the mobile terminal, the process of setting the boot cache file in the secure storage location of the data partition may also be as follows:

步驟 501 : 启动所述移动终端的关机系统进入关机模式;  Step 501: Start the shutdown system of the mobile terminal to enter a shutdown mode;

步驟 502: 判断所述 data分区的安全存储位置是否存在开机緩存文件, 并判断开机緩存文件的个数是否达到预设的个数, 换句话说, 判断所述安 全存储位置当前存储的所述开机緩存文件个数是否小于预设个数; 如果是, 转至步驟 503 , 否则, 转至步驟 506; Step 502: Determine whether a boot cache file exists in a secure storage location of the data partition. And determining whether the number of the boot cache files reaches a preset number. In other words, determining whether the number of the boot cache files currently stored in the secure storage location is less than a preset number; if yes, go to step 503 Otherwise, go to step 506;

步驟 503:计算当前存储的所述开机緩存文件的个数与所述预设的个数 的差值 M;  Step 503: Calculate a difference M between the number of the currently stored boot cache files and the preset number;

步驟 504: 判断所述 data分区当前的剩余存储空间是否足够存储 M个 开机緩存文件, 如果是, 转至步驟 505; 否则, 转至步驟 506;  Step 504: Determine whether the current remaining storage space of the data partition is sufficient to store M boot cache files, and if yes, go to step 505; otherwise, go to step 506;

步驟 505:在所述安全存储位置设置 M个开机緩存文件,转至步驟 506; 步驟 506: 转至正常关机程序完成关机。  Step 505: Set M boot cache files in the secure storage location, and go to step 506; Step 506: Go to the normal shutdown program to complete the shutdown.

根据上述分析可知, 本实施例开机緩存文件除了可在出厂之前预置外 , 还可在移动终端开机和关机过程中设置开机緩存文件。 在本实施例中, 在 开机过程中, 当确定所述 data分区当前的剩余存储空间大小不足以设置开 机緩存文件时, 还可发出提示用户预存存储空间不足的指令或发出强制用 户删除应用程序的指令。 当然在出厂设置之前, 通过第三方装置设置开机 緩存文件时, 移动终端也可发出提示用户预存存储空间不足的指令或发出 强制用户删除应用程序的指令。 下面本实施以在开机过程和关机过程为例 对本发明做进一步的说明:  According to the above analysis, in addition to being preset before leaving the factory, the boot cache file of this embodiment can also set a boot cache file during the startup and shutdown of the mobile terminal. In this embodiment, during the booting process, when it is determined that the current remaining storage space of the data partition is insufficient to set the boot cache file, the user may also be prompted to pre-store the insufficient storage space or issue a mandatory user deletion application. instruction. Of course, before setting the boot cache file through a third-party device before the factory setting, the mobile terminal can also issue an instruction prompting the user to pre-store insufficient storage space or issue an instruction to force the user to delete the application. The following embodiment further illustrates the present invention by taking the boot process and the shutdown process as an example:

在上述步驟 203和步驟 304中, 当确定所述 data分区当前的剩余存储 空间不足以设置开机緩存文件时, 在移动终端开机完成后, 可发送提示用 户预存存储空间不足的指令或发出强制用户删除应用程序的指令, 当发送 提示用户预存存储空间不足的指令时, 用户可根据该指令选择删除一些多 余的应用程序, 以使所述 data分区剩余存储空间足够存储开机緩存文件; 当发送强制用户删除应用程序指令时, 在移动终端开机完成后, 可自动转 至应用程序界面, 提示用户删除相应的应用程序, 且只有用户删除了某些 应用程序后, 才能进行操作转至其它操作界面。 请参见图 6所示, 本实施例中的移动终端可为智能手机、 iPad等终端, 所述移动终端包括: 指令接收模块及自救模块; 其中, In the foregoing step 203 and step 304, when it is determined that the current remaining storage space of the data partition is insufficient to set the boot cache file, after the mobile terminal is powered on, the user may be prompted to pre-store the insufficient storage space or issue a mandatory user deletion. The instruction of the application, when sending an instruction prompting the user to pre-store insufficient storage space, the user may select to delete some redundant applications according to the instruction, so that the remaining storage space of the data partition is sufficient to store the boot cache file; When the application instruction is started, after the mobile terminal is powered on, it can automatically transfer to the application interface, prompting the user to delete the corresponding application, and only after the user deletes some applications, the operation can be transferred to other operation interfaces. Referring to FIG. 6 , the mobile terminal in this embodiment may be a terminal such as a smart phone or an iPad, and the mobile terminal includes: an instruction receiving module and a self-rescue module;

指令接收模块, 配置为当移动终端系统的 data分区的剩余存储空间无 法满足正常开机启动程序时, 接收进入系统自救模式指令, 并进入自救模 式;  The instruction receiving module is configured to receive the instruction of entering the system self-rescue mode and enter the self-rescue mode when the remaining storage space of the data partition of the mobile terminal system cannot satisfy the normal startup startup procedure;

自救模块, 配置为在所述自救模式下, 从所述 data分区的安全存储位 置删除一个以上预设的开机緩存文件, 直至所述 data分区的剩余存储空间 满足正常开机启动程序所需的存储空间。  The self-rescue module is configured to delete one or more preset boot cache files from the secure storage location of the data partition in the self-rescue mode, until the remaining storage space of the data partition satisfies the storage space required by the normal boot startup program .

本实施例中, 所述自救模块, 还可配置为从所述 data分区的安全存储 位置删除一个以上预设的开机緩存文件后, 判断所述 data分区当前的剩余 存储空间是否满足所述移动终端正常开机的要求,如果不满足,从所述 data 分区的安全存储位置删除一个以上预设的开机緩存文件, 并再次判断所述 data分区当前的剩余存储空间是否满足移动终端正常开机的要求, 以此类 推, 直至删除预设的开机緩存文件后, 所述 data分区当前的剩余存储空间 满足所述移动终端正常开机的需求。  In this embodiment, the self-rescue module may be configured to: after deleting one or more preset boot cache files from the secure storage location of the data partition, determine whether the current remaining storage space of the data partition satisfies the mobile terminal. The normal boot request, if not satisfied, delete one or more preset boot cache files from the secure storage location of the data partition, and determine again whether the current remaining storage space of the data partition satisfies the normal booting requirement of the mobile terminal, After the preset boot cache file is deleted, the current remaining storage space of the data partition satisfies the normal booting requirement of the mobile terminal.

如图 7所示, 本实施例中的移动终端还包括文件设置模块, 配置为在 所述 data分区的安全存储位置设置一个以上开机緩存文件; 所述文件设置 模块具体可为所述移动终端系统的接口; 设置开机緩存文件的方式也包括 且不限于上述三种方式, 即:  As shown in FIG. 7, the mobile terminal in this embodiment further includes a file setting module, configured to set one or more boot cache files in a secure storage location of the data partition; the file setting module may specifically be the mobile terminal system. The interface; the way to set the boot cache file also includes and is not limited to the above three methods, namely:

文件设置模块可在移动终端出厂前, 在所述 data分区的安全存储位置 设置一个以上所述开机緩存文件;  The file setting module may set one or more boot cache files in the secure storage location of the data partition before the mobile terminal leaves the factory;

或在所述移动终端开机过程中, 在所述 data分区的安全存储位置设置 一个以上开机緩存文件, 然后返回正常开机程序实现开机;  Or during the booting process of the mobile terminal, setting more than one boot cache file in the secure storage location of the data partition, and then returning to the normal boot process to implement booting;

或在所述移动终端关机过程中, 当启动所述移动终端的关机系统后, 文件设置模块在所述 data分区的安全存储位置设置一个以上开机緩存文 件, 然后返回正常关机程序实现关机。 Or, during the shutdown process of the mobile terminal, after the shutdown system of the mobile terminal is started, the file setting module sets more than one boot cache file in the secure storage location of the data partition. Piece, then return to the normal shutdown program to achieve shutdown.

上述三种设置开机緩存文件的具体方式上面已进行详细说明, 此处不 再赘述。  The above three specific ways of setting the boot cache file have been described in detail above, and will not be described here.

如图 8所示, 本实施例中的移动终端还包括告警模块, 配置为在移动 终端开机过程中, 当确定所述 data分区当前的剩余存储空间大小不足够设 置所述开机緩存文件时, 发送提示用户预存存储空间不足的指令或发出强 制用户删除应用程序的指令; 具体发送方式上面已进行详细说明, 在此不 再赘述。  As shown in FIG. 8, the mobile terminal in this embodiment further includes an alarm module, configured to send, when the mobile terminal is powered on, when it is determined that the current remaining storage space of the data partition is insufficient to set the boot cache file, The user is prompted to pre-store the instruction that the storage space is insufficient, or the instruction to force the user to delete the application; the specific sending manner has been described in detail above, and will not be described here.

综上所述, 本发明通过在移动终端系统的 data分区预先设置开机緩存 文件, 在开机时当检测到所述 data分区的剩余存储空间小于开机阈值时, 则将设置的开机緩存文件删除, 以给移动终端系统足够的空间实现正常开 机, 而不需要进行刷机, 避免在重新刷机过程中导致用户存储的资料外泄 或丟失, 提高了用户体验的满意度。 能认定本发明的具体实施只局限于这些说明。 对于本发明所属技术领域的 普通技术人员来说, 在不脱离本发明构思的前提下, 还可以做出若干简单 推演或替换, 都应当视为属于本发明的保护范围。  In summary, the present invention pre-sets the boot cache file in the data partition of the mobile terminal system, and when detecting that the remaining storage space of the data partition is less than the boot threshold, the boot cache file is deleted. Give the mobile terminal system enough space to achieve normal booting, without brushing, to avoid leakage or loss of data stored by the user during the re-flashing process, and improve the satisfaction of the user experience. It is to be understood that the specific embodiments of the invention are limited only by the description. It is to be understood by those skilled in the art that the present invention may be practiced without departing from the spirit and scope of the invention.

Claims

权利要求书 claims 1、 一种移动终端开机方法, 所述方法包括: 1. A method for booting a mobile terminal, the method includes: 当移动终端系统的数据分区的剩余存储空间无法满足正常开机启动程 序时, 接收进入系统自救模式指令, 并进入自救模式; When the remaining storage space of the data partition of the mobile terminal system cannot satisfy the normal boot-up procedure, receive the command to enter the system self-rescue mode and enter the self-rescue mode; 在所述自救模式下, 从所述数据分区的安全存储位置删除一个以上预 设的开机緩存文件, 直至所述数据分区的剩余存储空间满足正常开机启动 程序所需的存储空间。 In the self-rescue mode, more than one preset boot cache file is deleted from the safe storage location of the data partition until the remaining storage space of the data partition meets the storage space required for the normal boot program. 2、 根据权利要求 1所述的移动终端开机方法, 所述方法还包括: 在所述数据分区的安全存储位置设置一个以上所述开机緩存文件。 2. The mobile terminal booting method according to claim 1, the method further comprising: setting more than one boot cache file in a secure storage location of the data partition. 3、 根据权利要求 2所述的移动终端开机方法, 其中, 所述在所述数据 分区的安全存储位置设置一个以上所述开机緩存文件, 包括: 3. The mobile terminal booting method according to claim 2, wherein the setting of more than one boot cache file in the secure storage location of the data partition includes: 所述移动终端出厂前, 在所述数据分区的安全存储位置设置一个以上 所述开机緩存文件; 或者, Before the mobile terminal leaves the factory, one or more boot cache files are set in the secure storage location of the data partition; or, 所述移动终端开机过程中, 在所述数据分区的安全存储位置设置一个 以上所述开机緩存文件; 或者, During the startup process of the mobile terminal, one or more of the startup cache files are set in the secure storage location of the data partition; or, 所述移动终端关机过程中, 在所述数据分区的安全存储位置设置一个 以上所述开机緩存文件。 During the shutdown process of the mobile terminal, one or more of the boot cache files are set in the safe storage location of the data partition. 4、 根据权利要求 3所述的移动终端开机方法, 其中, 所述在所述移动 终端开机或关机过程中, 在所述数据分区的安全存储位置设置一个以上所 述开机緩存文件, 包括: 4. The mobile terminal booting method according to claim 3, wherein during the booting or shutting down process of the mobile terminal, more than one boot cache file is set in the secure storage location of the data partition, including: 判断所述数据分区的安全存储位置当前存储的所述开机緩存文件个数 是否小于预设个数, 确定所述数据分区的安全存储位置当前存储的所述开 机緩存文件个数等于所述预设个数时, 转至正常开机或关机程序; 确定所 述数据分区的安全存储位置当前存储的所述开机緩存文件个数小于所述预 设个数时, 判断所述数据分区当前的剩余存储空间是否足够存储一个所述 开机緩存文件; 确定所述数据分区当前的剩余存储空间足够存储一个所述 开机緩存文件时, 在所述数据分区的安全存储位置设置一个所述开机緩存 文件, 再次判断所述数据分区的安全存储位置当前存储的所述开机緩存文 件个数是否小于预设个数, 以此类推, 直至所述数据分区当前的剩余存储 空间不足以设置一个所述开机緩存文件或所述开机緩存文件个数等于所述 预设个数。 Determine whether the number of boot cache files currently stored in the safe storage location of the data partition is less than a preset number, and determine whether the number of boot cache files currently stored in the safe storage location of the data partition is equal to the preset number. when the number of boot cache files is less than the preset number, determine the current remaining storage space of the data partition. is enough to store a Boot cache file; when it is determined that the current remaining storage space of the data partition is enough to store one boot cache file, set a boot cache file in the safe storage location of the data partition, and determine the safe storage of the data partition again. Whether the number of boot cache files currently stored in the location is less than the preset number, and so on, until the current remaining storage space of the data partition is insufficient to set one boot cache file or the number of boot cache files is equal to The preset number. 5、 根据权利要求 4所述的移动终端开机方法, 所述方法还包括: 在所 述移动终端开机过程中, 当所述数据分区当前的剩余存储空间不足够设置 一个所述开机緩存文件时, 发送提示用户预存存储空间不足的指令或发出 强制用户删除应用程序的指令。 5. The mobile terminal booting method according to claim 4, the method further comprising: during the booting process of the mobile terminal, when the current remaining storage space of the data partition is not enough to set one of the boot cache files, Send a command to prompt the user that there is insufficient pre-storage storage space or issue a command to force the user to delete the application. 6、 根据权利要求 1至 5任一项所述的移动终端开机方法, 其中, 所述 数据分区的安全存储位置为用户访问不到的存储位置。 6. The mobile terminal booting method according to any one of claims 1 to 5, wherein the safe storage location of the data partition is a storage location that is inaccessible to the user. 7、 一种移动终端, 所述移动终端包括: 指令接收模块及自救模块; 其 中, 7. A mobile terminal, the mobile terminal includes: an instruction receiving module and a self-rescue module; wherein, 所述指令接收模块, 配置为当移动终端系统的数据分区的剩余存储空 间无法满足正常开机启动程序时, 接收进入系统自救模式指令, 并进入自 救模式; The instruction receiving module is configured to receive an instruction to enter the system self-rescue mode and enter the self-rescue mode when the remaining storage space of the data partition of the mobile terminal system cannot satisfy the normal boot program; 所述自 模块, 配置为在所述自 模式下, 从所述数据分区的安全存 储位置删除一个以上预设的开机緩存文件, 直至所述数据分区的剩余存储 空间满足正常开机启动程序所需的存储空间。 The self-module is configured to, in the self-mode, delete more than one preset boot cache file from the safe storage location of the data partition until the remaining storage space of the data partition meets the requirements for the normal boot program. storage. 8、 根据权利要求 7所述的移动终端, 所述移动终端还包括: 文件设置模块, 配置为在所述数据分区的安全存储位置设置一个以上 所述开机緩存文件。 8. The mobile terminal according to claim 7, further comprising: a file setting module configured to set more than one boot cache file in a secure storage location of the data partition. 9、 根据权利要求 8所述的移动终端, 其中, 所述文件设置模块具体配 置为: 所述移动终端出厂前, 在所述数据分区的安全存储位置设置一个以 上所述开机緩存文件; 或者, 所述移动终端开机过程中, 在所述数据分区 的安全存储位置设置一个以上所述开机緩存文件; 或者, 所述移动终端关 机过程中, 在所述数据分区的安全存储位置设置一个以上所述开机緩存文 件。 9. The mobile terminal according to claim 8, wherein the file setting module is specifically configured to: before the mobile terminal leaves the factory, set a file in the safe storage location of the data partition. The above boot cache file; or, during the boot process of the mobile terminal, one or more of the boot cache files are set in the safe storage location of the data partition; or, during the shutdown process of the mobile terminal, in the data partition Set the safe storage location for a boot cache file as described above. 10、 根据权利要求 9所述的移动终端, 所述移动终端还包括: 告警模 块, 配置为在所述移动终端开机过程中, 当所述数据分区当前的剩余存储 空间不足够设置一个所述开机緩存文件时, 发送提示用户预存存储空间不 足的指令或发出强制用户删除应用程序的指令。 10. The mobile terminal according to claim 9, the mobile terminal further comprising: an alarm module configured to, during the booting process of the mobile terminal, when the current remaining storage space of the data partition is insufficient, the booting module is set to When caching files, send a command prompting the user that the pre-stored storage space is insufficient or issue a command forcing the user to delete the application.
PCT/CN2013/078063 2013-04-01 2013-06-26 Mobile terminal and startup method therefor WO2013167010A2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310112397.9A CN104102498B (en) 2013-04-01 2013-04-01 A kind of mobile terminal and its starting-up method
CN201310112397.9 2013-04-01

Publications (2)

Publication Number Publication Date
WO2013167010A2 true WO2013167010A2 (en) 2013-11-14
WO2013167010A3 WO2013167010A3 (en) 2014-03-06

Family

ID=49551341

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/078063 WO2013167010A2 (en) 2013-04-01 2013-06-26 Mobile terminal and startup method therefor

Country Status (2)

Country Link
CN (1) CN104102498B (en)
WO (1) WO2013167010A2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113504945A (en) * 2021-07-26 2021-10-15 努比亚技术有限公司 Mobile terminal, method and device for solving problem of incapability of starting mobile terminal and storage medium

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104408209A (en) * 2014-12-25 2015-03-11 中科创达软件股份有限公司 File processing method, file processing device and electronic equipment in start-up process of mobile operating system
CN105068844B (en) * 2015-08-26 2017-11-07 广东欧珀移动通信有限公司 It is a kind of to solve the method and device that Android terminal is not started shooting
CN105278987B (en) * 2015-09-30 2019-06-25 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN105589663B (en) * 2015-12-23 2019-01-15 努比亚技术有限公司 Mobile terminal and its data processing method
CN113741980B (en) * 2020-05-29 2024-07-12 青岛海信移动通信技术有限公司 Android system-based electronic equipment starting method, electronic equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2493196C (en) * 2002-07-23 2009-09-22 Research In Motion Limited Data store management system and method for wireless devices
US7284084B2 (en) * 2004-08-30 2007-10-16 International Business Machines Corporation ROM scan memory expander
CN100477776C (en) * 2007-08-29 2009-04-08 北京数码视讯科技股份有限公司 A system and method for sending MMS by using digital TV
CN101661393A (en) * 2008-08-25 2010-03-03 华硕电脑股份有限公司 Method for loading and updating CPU microcode of basic input/output system
CN102654872A (en) * 2011-03-03 2012-09-05 腾讯科技(深圳)有限公司 Method and device for cleaning junk files generated by application programs
CN102831173B (en) * 2012-07-27 2016-09-07 Tcl集团股份有限公司 Memory expanding method based on android system, device and terminal device
CN102902599B (en) * 2012-09-17 2016-08-24 华为技术有限公司 Virtual machine internal fault handling method, Apparatus and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113504945A (en) * 2021-07-26 2021-10-15 努比亚技术有限公司 Mobile terminal, method and device for solving problem of incapability of starting mobile terminal and storage medium

Also Published As

Publication number Publication date
CN104102498A (en) 2014-10-15
WO2013167010A3 (en) 2014-03-06
CN104102498B (en) 2018-06-22

Similar Documents

Publication Publication Date Title
CN104794014B (en) System operation method and intelligent terminal
KR102400384B1 (en) Electronic device having an external memory and method operating the same
WO2013167010A2 (en) Mobile terminal and startup method therefor
WO2014194865A1 (en) Firmware upgrade method and apparatus, and communication device
CN102646043B (en) Mobile terminal software upgrading method, upgrading device and mobile terminal
CN104503828B (en) A kind of process management method and terminal
US20140195491A1 (en) Remote backup system and remote backup method thereof
WO2014146256A1 (en) Upgrade method, intelligent terminal, and upgrade system
WO2014089734A1 (en) Terminal and application program restoration method
CN104461631B (en) A kind of system OTA upgrade methods and device
WO2017004927A1 (en) Method for controlling playing terminal, and playing terminal
US11586509B2 (en) Operating system repairs via electronic devices
CN107608828A (en) Method, system, device and the storage medium that data center's power down recovers automatically
CN115951949A (en) Method, device and computing device for recovering configuration parameters of BIOS
CN103235703B (en) Preset resource storage method and apparatus
CN105992188B (en) Application update method and device
WO2013123758A1 (en) Disk access control method, device and system
WO2018049798A1 (en) Method and apparatus for reconstructing cache partition
US10007529B2 (en) Data terminal running mode switching method, device, and data terminal
WO2016058188A1 (en) Software upgrading method and apparatus applied to terminal and terminal
CN104408209A (en) File processing method, file processing device and electronic equipment in start-up process of mobile operating system
WO2015074569A1 (en) Method and apparatus for displaying transmission status of cloud documents
WO2017096889A1 (en) Method and device for upgrading and downgrading system
CN114880003A (en) System upgrade method of intelligent terminal, intelligent terminal and storage medium
WO2017117854A1 (en) Method for providing pcie card configuration capacity in openpower cpu architecture server boot

Legal Events

Date Code Title Description
122 Ep: pct application non-entry in european phase

Ref document number: 13788308

Country of ref document: EP

Kind code of ref document: A2