CN107766177A - Boot optimization method, device, storage medium and terminal equipment - Google Patents
Boot optimization method, device, storage medium and terminal equipment Download PDFInfo
- Publication number
- CN107766177A CN107766177A CN201710947487.8A CN201710947487A CN107766177A CN 107766177 A CN107766177 A CN 107766177A CN 201710947487 A CN201710947487 A CN 201710947487A CN 107766177 A CN107766177 A CN 107766177A
- Authority
- CN
- China
- Prior art keywords
- boot
- file
- damage
- detecting
- damaged
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operations
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/142—Reconfiguring to eliminate the error
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operations
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1417—Boot up procedures
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
本申请实施例中提供的一种开机优化方法、装置、存储介质和终端设备,该方法通过确定与终端设备的开机启动关联的开机关联文件;在检测到系统核心进程重启时,检测所述开机关联文件是否损坏;如果检测到损坏的开机关联文件,则对损坏的开机关联文件进行异常处理。本申请实施例的优点在于可以优化开机过程。
The embodiments of the present application provide a method, device, storage medium and terminal device for boot optimization, which determine the boot-related file associated with the boot-up of the terminal device; when the system core process restart is detected, detect whether the boot-related file is damaged; if a damaged boot-related file is detected, perform exception processing on the damaged boot-related file. The embodiment of the present application has the advantage that the boot process can be optimized.
Description
技术领域technical field
本申请实施例涉及智能终端领域,具体涉及一种开机优化方法、装置、存储介质和终端设备。The embodiments of the present application relate to the field of smart terminals, and in particular to a boot optimization method, device, storage medium, and terminal equipment.
背景技术Background technique
随着移动智能终端设备的发展,安卓(Android)系统发展为智能终端中的一个主流操作系统。在安卓系统开机启动时,需要调用与系统开机启动关联的关键文件和配置文件。这些关键文件和配置文件一般是在终端设备首次使用时生成的,后续的开机启动过程,需要调用上述关键文件和配置文件才能实现正常的开机启动,如果后续使用中不更新终端设备的系统,或者更改系统设置,则每次开机启动都会调用相同的关键文件和配置文件。With the development of mobile smart terminal devices, the Android (Android) system has developed into a mainstream operating system in smart terminals. When the Android system is started, it is necessary to call the key files and configuration files associated with the system. These key files and configuration files are generally generated when the terminal device is used for the first time. In the subsequent startup process, the above key files and configuration files need to be called to achieve normal startup. If the system of the terminal device is not updated during subsequent use, or If the system settings are changed, the same key files and configuration files will be invoked every time the system is turned on.
上述关键文件和配置文件一般保存在智能终端的eMMC(Embedded Multi MediaCard,内嵌式存储器)中,在智能终端使用不当的时候上述关键文件和配置文件可能会发生损坏。例如,eMMC在使用过程中难免会发生坏块,坏块指的是存储装置在读写过程中突然掉电或受到外界的震动等因素,导致存储装置的磁头比较容易划伤介质而产生的。如果坏块正好发生在上述关键文件或配置文件所在的位置,就会导致配置文件损坏,进而导致手机无法正常开机,影响用户使用,所以对此需要进行优化。The above-mentioned key files and configuration files are generally stored in the eMMC (Embedded Multi Media Card, embedded memory) of the smart terminal, and the above-mentioned key files and configuration files may be damaged when the smart terminal is used improperly. For example, eMMC will inevitably have bad blocks during use. Bad blocks refer to factors such as sudden power failure or external vibration during the reading and writing process of the storage device, which makes the magnetic head of the storage device more likely to scratch the medium. If the bad block happens to be where the above key files or configuration files are located, the configuration files will be damaged, which will cause the phone to fail to boot normally and affect the user's use, so it needs to be optimized.
发明内容Contents of the invention
本申请实施例提供一种开机优化方法、装置、存储介质及终端设备,可以优化开机过程。Embodiments of the present application provide a boot optimization method, device, storage medium, and terminal device, which can optimize a boot process.
第一方面,本申请实施例提供了一种开机优化方法,包括:In the first aspect, the embodiment of the present application provides a startup optimization method, including:
确定与终端设备的开机启动关联的开机关联文件;Determine the boot associated file associated with the boot of the terminal device;
在检测到系统核心进程重启时,检测所述开机关联文件是否损坏;When it is detected that the system core process is restarted, it is detected whether the boot-related file is damaged;
如果检测到损坏的开机关联文件,则对损坏的开机关联文件进行异常处理。If a damaged boot association file is detected, abnormal processing is performed on the damaged boot association file.
第二方面,本申请实施例提供了一种开机优化装置,包括:In the second aspect, the embodiment of the present application provides a boot optimization device, including:
文件确定模块,用于确定与终端设备的开机启动关联的开机关联文件;A file determination module, configured to determine a boot-related file associated with the boot of the terminal device;
损坏检测模块,用于在检测到系统核心进程重启时,检测所述开机关联文件是否损坏;A damage detection module, configured to detect whether the boot-associated file is damaged when it is detected that the system core process restarts;
异常处理模块,用于如果检测到损坏的开机关联文件,则对损坏的开机关联文件进行异常处理。The exception processing module is used to perform abnormal processing on the damaged boot associated file if a damaged boot associated file is detected.
第三方面,本申请实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本申请实施例所述的一种开机优化方法。In a third aspect, the embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the boot optimization method as described in the embodiment of the present application is implemented.
第四方面,本申请实施例提供了一种终端设备,包括存储器,处理器及存储在存储器上并可在处理器运行的计算机程序,所述处理器执行所述计算机程序时实现如本申请实施例所述的一种开机优化方法。In the fourth aspect, the embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the implementation of the present application is implemented. A startup optimization method described in the example.
本申请实施例中提供的一种开机优化方法,通过确定与终端设备的开机启动关联的开机关联文件;在检测到系统核心进程重启时,检测所述开机关联文件是否损坏;如果检测到损坏的开机关联文件,则对损坏的开机关联文件进行异常处理。本申请实施例可以通过检测系统核心进程是否重启,来判断是否需要检测开机关联文件是否损坏,避免因为开机关联文件损坏导致无法开机的问题。通过采用上述技术方案,可以优化开机过程。In the boot optimization method provided in the embodiment of the present application, by determining the boot-related file associated with the boot of the terminal device; when the system core process is detected to be restarted, it is detected whether the boot-related file is damaged; if the damaged If there is no boot associated file, abnormal processing will be performed on the damaged boot associated file. In the embodiment of the present application, by detecting whether the system core process is restarted, it can be judged whether it is necessary to detect whether the boot-related file is damaged, so as to avoid the problem that the boot cannot be started due to the damage of the boot-related file. By adopting the above technical solution, the boot process can be optimized.
附图说明Description of drawings
图1为本申请实施例提供的一种开机优化方法的流程示意图;FIG. 1 is a schematic flow chart of a startup optimization method provided in an embodiment of the present application;
图2为本申请实施例提供的另一种开机优化方法的流程示意图;FIG. 2 is a schematic flowchart of another boot optimization method provided in the embodiment of the present application;
图3为本申请实施例提供的另一种开机优化方法的流程示意图;FIG. 3 is a schematic flow chart of another startup optimization method provided by the embodiment of the present application;
图4为本申请实施例提供的开机启动指令的使用示意图;FIG. 4 is a schematic diagram of the use of the boot command provided by the embodiment of the present application;
图5为本申请实施例提供的一种开机优化装置的结构框图;FIG. 5 is a structural block diagram of a boot optimization device provided in an embodiment of the present application;
图6为本申请实施例提供的一种终端设备的结构示意图。FIG. 6 is a schematic structural diagram of a terminal device provided in an embodiment of the present application.
具体实施方式Detailed ways
下面结合附图并通过具体实施方式来进一步说明本申请的技术方案。可以理解的是,此处所描述的具体实施例仅仅用于解释本申请,而非对本申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本申请相关的部分而非全部结构。The technical solution of the present application will be further described below in conjunction with the accompanying drawings and through specific implementation methods. It should be understood that the specific embodiments described here are only used to explain the present application, but not to limit the present application. In addition, it should be noted that, for the convenience of description, only some structures related to the present application are shown in the drawings but not all structures.
在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各步骤描述成顺序的处理,但是其中的许多步骤可以被并行地、并发地或者同时实施。此外,各步骤的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe the steps as sequential processing, many of the steps may be performed in parallel, concurrently, or simultaneously. Additionally, the order of steps may be rearranged. The process may be terminated when its operations are complete, but may also have additional steps not included in the figure. The processing may correspond to a method, function, procedure, subroutine, subroutine, or the like.
终端设备包括智能手机、平板电脑和其他的安卓系统运行终端设备。终端设备在开机启动时,一般是通过启动系统核心进程,系统核心进程调用开机启动关联的开机关联文件,以完成开机的操作。而如果开机关联文件异常或损坏时,系统核心进程无法调用开机关联文件,也就无法完成开机的操作。Terminal devices include smartphones, tablets, and other Android-based terminal devices. When the terminal device starts up, it generally starts the system core process, and the system core process calls the boot-up associated file associated with the boot-up to complete the boot-up operation. If the boot-related file is abnormal or damaged, the system core process cannot call the boot-related file, and the boot operation cannot be completed.
图1为本发明实施例提供的一种开机优化方法的流程示意图,该方法可以由开机优化装置执行,其中该装置可以由软件和/或硬件实现,一般可以集成在终端设备中,也可以集成在其他安装有操作系统的电子设备中。如图1所示,该方法包括:Figure 1 is a schematic flowchart of a boot optimization method provided by an embodiment of the present invention. The method can be executed by a boot optimization device, wherein the device can be implemented by software and/or hardware, and generally can be integrated in a terminal device or can be integrated In other electronic devices installed with an operating system. As shown in Figure 1, the method includes:
S110、确定与终端设备的开机启动关联的开机关联文件。S110. Determine a startup-associated file associated with startup of the terminal device.
其中,开机关联文件可以是终端设备在开机启动时,从系统文件中调用的文件。所述开机关联文件可包括开机关键文件和/或开机配置文件,开机关键文件包括与开机启动关联的核心服务在开机启动时候所需要调用的关键文件,核心服务包括电源管理服务、传感器管理服务、蓝牙管理服务、启动电话注册服务和Activity管理服务等,开机关键文件存储于data/system目录内。开机配置文件包括开机启动的时候需要读取的配置文件,开机配置文件存储于data/property目录内。Wherein, the start-up associated file may be a file called from system files when the terminal device starts up. The boot-associated file may include a boot-up key file and/or a boot-up configuration file. The boot-up key file includes a key file that needs to be invoked by a core service associated with boot-up. The core service includes a power management service, a sensor management service, Bluetooth management service, startup phone registration service and Activity management service, etc., the key files for startup are stored in the data/system directory. The boot configuration file includes the configuration file that needs to be read when booting, and the boot configuration file is stored in the data/property directory.
其中,如果终端设备没有选择更新系统,或者更改系统的开机设置信息,则终端设备每次开机启动时所调用的开机关键文件和开机配置文件都是相同的,所以可以统计终端设备每次开机启动时会调用的核心服务的开机关键文件以及开机配置文件,并确定为开机关联文件。开机关联文件可以是单个的文件,也可以是一个文件夹内的所有文件,统计确定所有与终端设备的开机启动关联的开机关联文件。Among them, if the terminal device does not choose to update the system, or change the boot setting information of the system, the boot key file and boot configuration file called each time the terminal device is started are the same, so it can be counted every time the terminal device starts The boot-up key file and boot configuration file of the core service that will be called at time, and determined as the boot-up associated file. The start-up associated file may be a single file, or all files in a folder, and all the start-up associated files associated with the start-up of the terminal device shall be statistically determined.
S120、在检测到系统核心进程重启时,检测所述开机关联文件是否损坏。S120. When it is detected that the system core process is restarted, detect whether the boot-related file is damaged.
可选地,系统核心进程包括系统服务进程,如SystemServer进程和/或Zygote进程。安卓系统在启动时候,第一个被启动的进程是init进程,Zygote进程由init进程孵化而来,Zygote进程是安卓系统的核心,安卓系统的大多数应用进程和系统进程都是有Zygote进程生成的,包括SystemServer进程。Zygote进程作为SystemServer进程的父进程,在安卓系统启动时,由Zygote进程启动SystemServer进程,SystemServer进程则调用开机关联文件,启动系统的关键服务,进入正常的开机操作。SystemServer进程用于启动系统的各种服务,用户使用终端设备的各种系统性服务均是在系统服务进程中启动的,终端设备上安装的应用程序(APP,Application)如果需要使用各种系统服务,也需要通过与系统服务进程通讯获取各种服务对象的句柄,才能进行相应的操作。系统服务进程中有多个系统线程,提供所有系统的核心服务,也包括与开机启动关联的核心服务。Optionally, the system core process includes a system service process, such as a SystemServer process and/or a Zygote process. When the Android system starts, the first process to be started is the init process. The Zygote process is hatched from the init process. The Zygote process is the core of the Android system. Most of the application processes and system processes of the Android system are generated by the Zygote process. , including the SystemServer process. The Zygote process is the parent process of the SystemServer process. When the Android system is started, the SystemServer process is started by the Zygote process, and the SystemServer process calls the boot-related files, starts the key services of the system, and enters the normal boot operation. The SystemServer process is used to start various services of the system. All kinds of system services used by the user to use the terminal device are started in the system service process. If the application program (APP, Application) installed on the terminal device needs to use various system services , it is also necessary to obtain the handles of various service objects through communication with the system service process in order to perform corresponding operations. There are multiple system threads in the system service process, providing core services of all systems, including core services associated with booting.
SystemServer进程中的核心服务在开机启动时,调用开机关键文件和开机配置文件进行开机。而如果被调用的开机关键文件或开机配置文件损坏了,则会导致Zygote进程或SystemServer进程被“杀死”,即结束Zygote进程或SystemServer进程的运行。其中,如果SystemServer进程发生异常崩溃被“杀死”,则Zygote进程会自行结束其运行。而如果Zygote被“杀死”,也会结束SystemServer进程的运行。Zygote进程或SystemServer进程在被“杀死”之后,Zygote进程将会重启,并再次启动SystemServer进程。所以如果系统核心进程重启,则表示开机关联文件里可能有损坏的文件。所以通过在检测到系统核心进程重启的时候,遍历检测确定的所有开机关联文件,以找到损坏的开机关联文件。When the core service in the SystemServer process starts up, it invokes the boot key file and the boot configuration file for booting. And if the called start-up key file or the start-up configuration file is damaged, it will cause the Zygote process or the SystemServer process to be "killed", that is, end the operation of the Zygote process or the SystemServer process. Among them, if the SystemServer process crashes abnormally and is "killed", the Zygote process will end its operation by itself. And if Zygote is "killed", it will also end the running of the SystemServer process. After the Zygote process or the SystemServer process is "killed", the Zygote process will restart and start the SystemServer process again. Therefore, if the system core process restarts, it means that there may be damaged files in the boot-related files. Therefore, when the restart of the system core process is detected, all the boot-related files determined by the detection are traversed to find the damaged boot-related files.
可选地,在检测到系统核心进程的进程标识符发生变化时,检测所述开机关联文件是否损坏。Optionally, when it is detected that the process identifier of the system core process changes, it is detected whether the boot-related file is damaged.
其中,进程标识符(PID,Process Identifier)是进程运行时的身份标识,进程在运行时,系统会自动分配一个唯一的进程标识符给进程。而在进程结束运行时,进程之前使用的进程标识符将会被系统回收,也可能分配给另一个新的进程。Wherein, a process identifier (PID, Process Identifier) is an identity when the process is running. When the process is running, the system will automatically assign a unique process identifier to the process. When the process finishes running, the process identifier previously used by the process will be reclaimed by the system, and may also be assigned to another new process.
Zygote进程或SystemServer进程在终端设备开机时最初启动,系统会给Zygote进程或SystemServer进程分配一个唯一的进程标识符,并存储该进程标识符。而在Zygote进程或SystemServer进程重启后,系统会再次给Zygote进程或SystemServer进程分配一个新的进程标识符。所以,可以通过判断Zygote进程或SystemServer进程的进程标识符是否发生变化,来判断系统核心进程是否重启,进而可以判断是否需要检测开机关联文件。通过检测进程标识符是否发生变化,可以比较快捷地检测系统核心进程是否重启,而无需持续检测系统核心进程的工作过程,可以提高检测效率。The Zygote process or SystemServer process is initially started when the terminal device is turned on, and the system will assign a unique process identifier to the Zygote process or SystemServer process and store the process identifier. After the Zygote process or the SystemServer process is restarted, the system will assign a new process identifier to the Zygote process or the SystemServer process again. Therefore, by judging whether the process identifier of the Zygote process or the SystemServer process changes, it can be judged whether the system core process is restarted, and then it can be judged whether it is necessary to detect the boot-related files. By detecting whether the process identifier changes, it is possible to quickly detect whether the system core process is restarted without continuously detecting the working process of the system core process, which can improve detection efficiency.
可选地,在检测到系统核心进程重启时,读取并解析所述开机关联文件以确定所述开机关联文件是否抛出异常;在所述开机关联文件抛出异常时,判定为损坏。Optionally, when the restart of the system core process is detected, the boot-related file is read and parsed to determine whether the boot-related file throws an exception; when the boot-related file throws an exception, it is determined to be damaged.
其中,抛出异常(Throw Exception)是JAVA中的一个程序处理动作,即函数编译成功,但是无法执行,通过抛出异常的方法可以确定开机关联文件是否损坏。读取开机关联文件并进行解析以判断该开机关联文件是否抛出异常,如果抛出异常,则表示该开机关联文件无法执行,判定为损坏。Wherein, throwing an exception (Throw Exception) is a program processing action in JAVA, that is, the function is compiled successfully, but cannot be executed, and it can be determined whether the boot-related file is damaged by throwing an exception. Read the boot-related file and analyze it to determine whether the boot-related file throws an exception. If an exception is thrown, it means that the boot-related file cannot be executed and is determined to be damaged.
S130、如果检测到损坏的开机关联文件,则对损坏的开机关联文件进行异常处理。S130. If a damaged boot-related file is detected, abnormal processing is performed on the damaged boot-related file.
其中,异常处理可以是对损坏的开机关联文件进行修复或者重建。Wherein, the exception handling may be repairing or rebuilding the damaged boot association file.
可选地,所述对损坏的开机关联文件进行异常处理包括:Optionally, the abnormal handling of the damaged boot association file includes:
将损坏的开机关联文件删除后重新生成,或获取备份的开机关联文件以替换损坏的开机关联文件。Delete the damaged boot association file and regenerate it, or obtain a backup boot association file to replace the damaged boot association file.
可选地,将损坏的开机关联文件删除后重新生成,可以在删除损坏的开机关联文件后通过系统预设程序重新生成,或通过联网从服务器获取相应的服务以重新生成。Optionally, after the damaged boot association file is deleted and then regenerated, it can be regenerated through a system preset program after deleting the damaged boot association file, or can be regenerated by obtaining a corresponding service from a server through networking.
可选地,获取备份的开机关联文件以替换损坏的开机关联文件,可以通过在系统预存的备份文件中获取备份的开机关联文件,并替换损坏的开机关联文件。获取备份的开机关联文件并进行替换,可以在系统预设程序损坏或系统无法联网的时候恢复开机关联文件。Optionally, obtaining a backup boot association file to replace a damaged boot association file may be obtained by obtaining a backup boot association file from a backup file stored in the system and replacing the damaged boot association file. Obtain the backup boot association file and replace it, and restore the boot association file when the system default program is damaged or the system cannot be connected to the Internet.
需要说明的是,如果是因为eMMC发生坏块导致开机关联文件的损坏,即原始存储开机关联文件的位置已经发生损坏,所以在将损坏的开机关联文件进行恢复,新的开机关联文件会随机存储在eMMC上新的存储位置,而坏块的位置将不再进行存储。It should be noted that if the boot-related file is damaged due to a bad block in the eMMC, that is, the location where the original boot-related file is stored has been damaged, so after restoring the damaged boot-related file, the new boot-related file will be randomly stored. The new storage location on the eMMC, and the location of the bad block will no longer be stored.
图2为本申请实施例提供的另一种开机优化方法的流程示意图,在上述实施例所提供的技术方案的基础上,该方法包括:Fig. 2 is a schematic flowchart of another startup optimization method provided by the embodiment of the present application. On the basis of the technical solution provided by the above embodiment, the method includes:
S110、确定与终端设备的开机启动关联的开机关联文件。S110. Determine a startup-associated file associated with startup of the terminal device.
S120、在检测到系统核心进程重启时,检测所述开机关联文件是否损坏。S120. When it is detected that the system core process is restarted, detect whether the boot-related file is damaged.
S130、如果检测到损坏的开机关联文件,则对损坏的开机关联文件进行异常处理。其中,上述操作的具体实施方式可以参考上文中的相关描述,在此不再赘述。S130. If a damaged boot-related file is detected, abnormal processing is performed on the damaged boot-related file. Wherein, for specific implementation manners of the above operations, reference may be made to relevant descriptions above, and details are not repeated here.
S140、将损坏的开机关联文件上报至后台监控端。S140. Report the damaged boot-related file to the background monitoring terminal.
可选地,将损坏的开机关联文件的关联信息上报至后台监控端,关联信息包括开机关联文件的属性信息和损坏关联信息,可包括开机关联文件的文件名、存储目录和损坏异常处理信息等。通过开机文件的文件名、存储目录可以获知开机关联文件的相关的属性信息,通过损坏异常处理信息可以获知开机关联文件发生损坏的位置,恢复开机关联文件所使用的异常处理信息等损坏关联信息。而将损坏的开机关联文件的关联信息上报至后台监控端,可以使后台监控端的管理员统计开机关联文件损坏的情况,获取终端设备在开机过程中较容易损坏的开机关联文件,进而辅助优化系统的开机过程。Optionally, report the associated information of the damaged boot-associated file to the background monitoring terminal. The associated information includes the attribute information and damage-associated information of the boot-associated file, which may include the file name, storage directory, and damage exception handling information of the boot-associated file. . The relevant attribute information of the boot-associated file can be obtained through the file name and the storage directory of the boot-up file, and the location where the boot-associated file is damaged can be known through the damage exception processing information, and damage-associated information such as abnormal handling information used to restore the boot-associated file. And report the related information of the damaged boot-related files to the background monitoring terminal, so that the administrator of the background monitoring terminal can count the damage of the boot-related files, obtain the boot-related files that are more likely to be damaged during the boot process of the terminal device, and then assist in optimizing the system boot process.
图3为本申请实施例提供的另一种开机优化方法的流程示意图,在上述实施例所提供的技术方案的基础上,该方法包括:Fig. 3 is a schematic flowchart of another startup optimization method provided by the embodiment of the present application. On the basis of the technical solution provided by the above embodiment, the method includes:
S100、在接收到开机启动指令时,记录当前时间为第一开机时间。S100. Record the current time as the first boot time when the power-on instruction is received.
其中,开机启动指令可以是接收到的外部的开机启动指令,如图4所示,用户手动按下开机按键,使终端设备上电开机启动的指令。开机启动指令还可以是内部的开机启动指令,例如系统设定的自动开机,达到设定条件的时候,内部将会发出触发系统启动的开机启动指令。将接收到开机启动指令的时间记录为第一开机时间,即开机操作的最初的时间。Wherein, the power-on command may be a received external power-on command, as shown in FIG. 4 , the user manually presses the power-on button to power on the terminal device and start the command. The boot command can also be an internal boot command, such as the automatic boot command set by the system. When the set condition is reached, the internal boot command will be issued to trigger the system boot. Record the time when the power-on instruction is received as the first power-on time, that is, the initial time of the power-on operation.
S110、确定与终端设备的开机启动关联的开机关联文件。S110. Determine a startup-associated file associated with startup of the terminal device.
S120、在检测到系统核心进程重启时,检测所述开机关联文件是否损坏。S120. When it is detected that the system core process is restarted, detect whether the boot-related file is damaged.
S130、如果检测到损坏的开机关联文件,则对损坏的开机关联文件进行异常处理。其中,上述操作的具体实施方式可以参考上文中的相关描述,在此不再赘述。S130. If a damaged boot-related file is detected, abnormal processing is performed on the damaged boot-related file. Wherein, for specific implementation manners of the above operations, reference may be made to relevant descriptions above, and details are not repeated here.
S141、监听系统广播。S141. Monitor the system broadcast.
S142、在监听到开机启动广播时,记录当前时间为第二开机时间。S142. Record the current time as the second power-on time when the start-up broadcast is heard.
S143、将损坏的开机关联文件、第一开机时间和第二开机时间上报至后台监控端。S143. Report the damaged boot-related file, the first boot time, and the second boot time to the background monitoring terminal.
可选地,将损坏的开机关联文件的关联信息、第一开机时间和第二开机时间上报至后台监控端。其中,开机关联文件的关联信息包括开机关联文件的属性信息和损坏关联信息,可包括开机关联文件的文件名、存储目录和损坏异常处理信息等。通过开机文件的文件名、存储目录可以获知开机关联文件的相关的属性信息,通过损坏异常处理信息可以获知开机关联文件发生损坏的位置,恢复开机关联文件所使用的异常处理信息等损坏关联信息。Optionally, report the associated information of the damaged boot-related file, the first boot time and the second boot time to the background monitoring terminal. Wherein, the associated information of the boot-associated file includes the attribute information and damage-associated information of the boot-associated file, and may include the file name, storage directory and damage exception handling information of the boot-associated file. The relevant attribute information of the boot-associated file can be obtained through the file name and the storage directory of the boot-up file, and the location where the boot-associated file is damaged can be known through the damage exception processing information, and damage-associated information such as abnormal handling information used to restore the boot-associated file.
其中,开机启动广播为在系统广播在系统启动完毕后发出的,即开机操作已经成功完成后所发出的全局性开机启动广播。通过监听系统广播,在监听到开机启动广播的时候,记录当前时间为第二时间,即开机操作成功完成的时间。通过第一开机时间和第二开机时间,即开机操作的最初的时间和开机操作成功完成的时间可以确定系统本次开机的整个开机操作所消耗的时间,其中包括了系统核心进程重启所消耗的时间、检测开机关联文件所消耗的时间、对开机关联文件进行异常处理所消耗的时间以及开机关联文件恢复后再次开机启动所消耗的时间。通过将第一开机时间、第二开机时间和开机关联文件的关联信息上报至后台监控端,可以使后台监控端的管理员统计开机关联文件损坏的情况,以及其该开机关联损坏后所对应的开机操作所消耗的时间,可以进一步辅助管理员优化系统的开机过程。Wherein, the start-up broadcast is a global start-up broadcast sent after the system start-up is completed, that is, after the start-up operation has been successfully completed. By monitoring the system broadcast, when the boot broadcast is heard, the current time is recorded as the second time, that is, the time when the boot operation is successfully completed. Through the first boot time and the second boot time, that is, the initial time of the boot operation and the time when the boot operation is successfully completed, the time consumed by the entire boot operation of the system this time can be determined, including the time consumed by the restart of the system core process time, the time consumed for detecting the boot-related files, the time consumed for abnormal processing of the boot-related files, and the time consumed for restarting after the boot-related files are restored. By reporting the associated information of the first boot time, the second boot time, and the boot associated file to the background monitoring terminal, the administrator of the background monitoring terminal can count the damage of the boot associated file and the corresponding boot time after the boot association is damaged. The time consumed by the operation can further assist the administrator to optimize the booting process of the system.
需要说明的是,在接收到开机启动指令时,记录当前时间为第一开机时间的操作,和确定与终端设备的开机启动关联的开机关联文件的操作的执行顺序不限于此,也可以先执行确定与终端设备的开机启动关联的开机关联文件的操作。It should be noted that when a boot command is received, the execution sequence of the operation of recording the current time as the first boot time and determining the boot associated file associated with the boot of the terminal device is not limited to this, and may also be executed first Determine the operation of the boot-associated file associated with the boot-up of the terminal device.
图5为本申请实施例提供的一种开机优化装置的结构框图,该装置可以执行开机优化方法。如图5所示,该装置包括:FIG. 5 is a structural block diagram of a boot optimization device provided by an embodiment of the present application, and the device can execute a boot optimization method. As shown in Figure 5, the device includes:
文件确定模块210,用于确定与终端设备的开机启动关联的开机关联文件;A file determination module 210, configured to determine a boot-related file associated with the boot of the terminal device;
损坏检测模块220,用于在检测到系统核心进程重启时,检测所述开机关联文件是否损坏;The damage detection module 220 is used to detect whether the boot-related file is damaged when it is detected that the system core process is restarted;
异常处理模块230,用于如果检测到损坏的开机关联文件,则对损坏的开机关联文件进行异常处理。The abnormal processing module 230 is configured to perform abnormal processing on the damaged boot-related file if a damaged boot-related file is detected.
本申请实施例中提供的一种开机优化装置,通过确定与终端设备的开机启动关联的开机关联文件;在检测到系统核心进程重启时,检测所述开机关联文件是否损坏;如果检测到损坏的开机关联文件,则对损坏的开机关联文件进行异常处理。开机优化装置可以通过检测系统核心进程是否重启,来判断是否需要检测开机关联文件是否损坏,避免因为开机关联文件损坏导致无法开机的问题。通过采用上述技术方案,可以优化开机过程。A boot optimization device provided in an embodiment of the present application determines whether the boot-related file associated with the boot of the terminal device is detected; when the system core process is restarted, detects whether the boot-related file is If there is no boot associated file, abnormal processing will be performed on the damaged boot associated file. The boot optimization device can judge whether it is necessary to detect whether the boot-related file is damaged by detecting whether the system core process is restarted, so as to avoid the problem that the boot cannot be started due to the damage of the boot-related file. By adopting the above technical solution, the boot process can be optimized.
可选地,所述损坏检测模块具体用于:Optionally, the damage detection module is specifically used for:
在检测到系统核心进程的进程标识符发生变化时,检测所述开机关联文件是否损坏。When it is detected that the process identifier of the system core process changes, it is detected whether the boot associated file is damaged.
可选地,所述损坏检测模块具体用于:Optionally, the damage detection module is specifically used for:
在检测到系统核心进程重启时,读取并解析所述开机关联文件以确定所述开机关联文件是否抛出异常;When it is detected that the system core process restarts, read and parse the boot-related file to determine whether the boot-related file throws an exception;
可选地,所述异常处理模块具体用于:Optionally, the exception handling module is specifically used for:
将损坏的开机关联文件删除后重新生成,或获取备份的开机关联文件以替换损坏的开机关联文件。Delete the damaged boot association file and regenerate it, or obtain a backup boot association file to replace the damaged boot association file.
可选地,开机优化装置还包括:Optionally, the boot optimization device also includes:
第一上报模块,用于将损坏的开机关联文件上报至后台监控端。The first reporting module is used to report the damaged boot-related file to the background monitoring terminal.
可选地,开机优化装置还包括:Optionally, the boot optimization device also includes:
第一时间确定模块,用于在接收到开机启动指令时,记录当前时间为第一开机时间;The first time determination module is used to record the current time as the first boot time when receiving the boot command;
广播监听模块,用于监听系统广播;The broadcast monitoring module is used to monitor the system broadcast;
第二时间确定模块,用于在监听到开机启动广播时,记录当前时间为第二开机时间;The second time determination module is used to record the current time as the second power-on time when the start-up broadcast is heard;
第二上报模块,用于将损坏的开机关联文件、第一开机时间和第二开机时间上报至后台监控端。The second reporting module is used to report the damaged boot-related file, the first boot time and the second boot time to the background monitoring terminal.
可选地,所述开机关联文件包括开机关键文件和/或开机配置文件;Optionally, the boot-associated file includes a boot-up key file and/or a boot-up configuration file;
相应地,所述系统核心进程包括用系统服务进程。Correspondingly, the system core process includes a system service process.
本申请实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上所述的开机优化操作,还可以执行本申请任意实施例所提供的一种开机优化方法中的相关操作。A storage medium containing computer-executable instructions provided in an embodiment of the present application, the computer-executable instructions are not limited to the boot optimization operation described above, and may also execute a boot optimization method provided in any embodiment of the present application related operations.
存储介质——任何的各种类型的存储器设备或存储设备。术语“存储介质”旨在包括:安装介质,例如CD-ROM、软盘或磁带装置;计算机系统存储器或随机存取存储器,诸如DRAM、DDR RAM、SRAM、EDO RAM,兰巴斯(Rambus)RAM等;非易失性存储器,诸如闪存、磁介质(例如硬盘或光存储);寄存器或其它相似类型的存储器元件等。存储介质可以还包括其它类型的存储器或其组合。另外,存储介质可以位于程序在其中被执行的第一计算机系统中,或者可以位于不同的第二计算机系统中,第二计算机系统通过网络(诸如因特网)连接到第一计算机系统。第二计算机系统可以提供程序指令给第一计算机用于执行。术语“存储介质”可以包括可以驻留在不同位置中(例如在通过网络连接的不同计算机系统中)的两个或更多存储介质。存储介质可以存储可由一个或多个处理器执行的程序指令(例如具体实现为计算机程序)。storage medium - any of various types of memory devices or storage devices. The term "storage medium" is intended to include: installation media such as CD-ROMs, floppy disks or tape drives; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc. ; non-volatile memory, such as flash memory, magnetic media (eg hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. Also, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network such as the Internet. The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems connected by a network. The storage medium may store program instructions (eg embodied as computer programs) executable by one or more processors.
本申请实施例提供了一种终端设备,该终端设备中可集成本申请实施例提供的一种开机优化装置。图6为本申请实施例提供的一种终端设备的结构示意图。如图6所示,该终端设备可以包括:壳体(图中未示出)、触摸屏(图中未示出)、触摸按键(图中未示出)、存储器301、中央处理器(Central Processing Unit,CPU)302(又称处理器,以下简称CPU)、电路板(图中未示出)和电源电路(图中未示出)。所述电路板安置在所述壳体围成的空间内部;所述CPU302和所述存储器301设置在所述电路板上;所述电源电路,用于为所述终端设备的各个电路或器件供电;所述存储器301,用于存储可执行程序代码;所述CPU302通过读取所述存储器301中存储的可执行程序代码来运行与所述可执行程序代码对应的计算机程序,以实现以下步骤:An embodiment of the present application provides a terminal device, and the terminal device can be integrated with a boot optimization device provided in the embodiment of the present application. FIG. 6 is a schematic structural diagram of a terminal device provided in an embodiment of the present application. As shown in Figure 6, the terminal device may include: a housing (not shown in the figure), a touch screen (not shown in the figure), a touch button (not shown in the figure), a memory 301, a central processing unit (Central Processing Unit, CPU) 302 (also known as processor, hereinafter referred to as CPU), a circuit board (not shown in the figure) and a power circuit (not shown in the figure). The circuit board is placed inside the space surrounded by the housing; the CPU 302 and the memory 301 are arranged on the circuit board; the power supply circuit is used to supply power to each circuit or device of the terminal device The memory 301 is used to store executable program codes; the CPU302 executes a computer program corresponding to the executable program codes by reading the executable program codes stored in the memory 301, to achieve the following steps:
确定与终端设备的开机启动关联的开机关联文件;Determine the boot associated file associated with the boot of the terminal device;
在检测到系统核心进程重启时,检测所述开机关联文件是否损坏;When it is detected that the system core process is restarted, it is detected whether the boot-related file is damaged;
如果检测到损坏的开机关联文件,则对损坏的开机关联文件进行异常处理。所述终端设备还包括:外设接口303、RF(Radio Frequency,射频)电路305、音频电路306、扬声器311、电源管理芯片308、输入/输出(I/O)子系统309、触摸屏312、其他输入/控制设备310以及外部端口304,这些部件通过一个或多个通信总线或信号线307来通信。If a damaged boot association file is detected, abnormal processing is performed on the damaged boot association file. The terminal device also includes: peripheral interface 303, RF (Radio Frequency, radio frequency) circuit 305, audio circuit 306, speaker 311, power management chip 308, input/output (I/O) subsystem 309, touch screen 312, other Input/control devices 310 and external ports 304 , these components communicate via one or more communication buses or signal lines 307 .
应该理解的是,图示终端设备300仅仅是终端设备的一个范例,并且终端设备300可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that the illustrated terminal device 300 is only an example of a terminal device, and the terminal device 300 may have more or fewer components than those shown in the figure, and two or more components may be combined, Or can have a different component configuration. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application specific integrated circuits.
下面就本实施例提供的用于优化开机的终端设备进行详细的描述,该终端设备以手机为例。The following describes in detail the terminal device used for optimizing booting provided by this embodiment, and the terminal device takes a mobile phone as an example.
存储器301,所述存储器301可以被CPU302、外设接口303等访问,所述存储器301可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件、闪存器件、或其他易失性固态存储器件。Memory 301, the memory 301 can be accessed by the CPU 302, the peripheral interface 303, etc., the memory 301 can include a high-speed random access memory, and can also include a non-volatile memory, such as one or more disk storage devices, flash memory devices , or other volatile solid-state storage devices.
外设接口303,所述外设接口303可以将设备的输入和输出外设连接到CPU302和存储器301。Peripheral interface 303 , which can connect the input and output peripherals of the device to CPU 302 and memory 301 .
I/O子系统309,所述I/O子系统309可以将设备上的输入输出外设,例如触摸屏312和其他输入/控制设备310,连接到外设接口303。I/O子系统309可以包括显示控制器3091和用于控制其他输入/控制设备310的一个或多个输入控制器3092。其中,一个或多个输入控制器3092从其他输入/控制设备310接收电信号或者向其他输入/控制设备310发送电信号,其他输入/控制设备310可以包括物理按钮(按压按钮、摇臂按钮等)、拨号盘、滑动开关、操纵杆、点击滚轮。值得说明的是,输入控制器3092可以与以下任一个连接:键盘、红外端口、USB接口以及诸如鼠标的指示设备。The I/O subsystem 309 , the I/O subsystem 309 can connect input and output peripherals on the device, such as a touch screen 312 and other input/control devices 310 , to the peripheral interface 303 . I/O subsystem 309 may include a display controller 3091 and one or more input controllers 3092 for controlling other input/control devices 310 . Among them, one or more input controllers 3092 receive electrical signals from or send electrical signals to other input/control devices 310, which may include physical buttons (push buttons, rocker buttons, etc.) ), dials, slide switches, joysticks, click wheels. It should be noted that the input controller 3092 can be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
触摸屏312,所述触摸屏312是用户终端设备与用户之间的输入接口和输出接口,将可视输出显示给用户,可视输出可以包括图形、文本、图标、视频等。A touch screen 312, the touch screen 312 is an input interface and an output interface between the user terminal device and the user, and displays visual output to the user, and the visual output may include graphics, text, icons, videos, and the like.
I/O子系统309中的显示控制器3091从触摸屏312接收电信号或者向触摸屏312发送电信号。触摸屏312检测触摸屏上的接触,显示控制器3091将检测到的接触转换为与显示在触摸屏312上的用户界面对象的交互,即实现人机交互,显示在触摸屏312上的用户界面对象可以是运行游戏的图标、联网到相应网络的图标等。值得说明的是,设备还可以包括光鼠,光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸。The display controller 3091 in the I/O subsystem 309 receives electrical signals from the touch screen 312 or sends electrical signals to the touch screen 312 . The touch screen 312 detects the contact on the touch screen, and the display controller 3091 converts the detected contact into an interaction with the user interface object displayed on the touch screen 312, that is, realizes human-computer interaction, and the user interface object displayed on the touch screen 312 can be a running Icons for games, icons for networking to appropriate networks, etc. It is worth noting that the device may also include an optical mouse, which is a touch-sensitive surface that does not display visual output, or that is an extension of a touch-sensitive surface formed by a touch screen.
RF电路305,主要用于建立手机与无线网络(即网络侧)的通信,实现手机与无线网络的数据接收和发送。例如收发短信息、电子邮件等。具体地,RF电路305接收并发送RF信号,RF信号也称为电磁信号,RF电路305将电信号转换为电磁信号或将电磁信号转换为电信号,并且通过该电磁信号与通信网络以及其他设备进行通信。RF电路305可以包括用于执行这些功能的已知电路,其包括但不限于天线系统、RF收发机、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、CODEC(COder-DECoder,编译码器)芯片组、用户标识模块(Subscriber Identity Module,SIM)等等。The RF circuit 305 is mainly used to establish communication between the mobile phone and the wireless network (that is, the network side), and realize data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving short messages, e-mails, etc. Specifically, the RF circuit 305 receives and sends RF signals, which are also called electromagnetic signals, and the RF circuit 305 converts electrical signals into electromagnetic signals or converts electromagnetic signals into electrical signals, and communicates with communication networks and other devices through the electromagnetic signals to communicate. RF circuitry 305 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC ( COder-DECoder, Codec) Chipset, Subscriber Identity Module (Subscriber Identity Module, SIM) and so on.
音频电路306,主要用于从外设接口303接收音频数据,将该音频数据转换为电信号,并且将该电信号发送给扬声器311。The audio circuit 306 is mainly used to receive audio data from the peripheral interface 303 , convert the audio data into electrical signals, and send the electrical signals to the speaker 311 .
扬声器311,用于将手机通过RF电路305从无线网络接收的语音信号,还原为声音并向用户播放该声音。The speaker 311 is used to restore the voice signal received by the mobile phone from the wireless network through the RF circuit 305 into sound and play the sound to the user.
电源管理芯片308,用于为CPU302、I/O子系统及外设接口所连接的硬件进行供电及电源管理。The power management chip 308 is used for power supply and power management for the hardware connected to the CPU 302 , the I/O subsystem and the peripheral interface.
本申请实施例提供的终端设备,可以优化开机过程。The terminal device provided in the embodiment of the present application can optimize the booting process.
上述实施例中提供的一种开机优化装置、存储介质及终端设备可执行本申请任意实施例所提供的一种开机优化方法,具备执行该方法相应的功能模块和有益效果。未在上述实施例中详尽描述的技术细节,可参见本申请任意实施例所提供的一种开机优化方法。The boot optimization device, storage medium, and terminal device provided in the above embodiments can execute a boot optimization method provided in any embodiment of the present application, and have corresponding functional modules and beneficial effects for executing the method. For technical details not exhaustively described in the foregoing embodiments, reference may be made to a boot optimization method provided in any embodiment of the present application.
注意,上述仅为本申请的较佳实施例及所运用技术原理。本领域技术人员会理解,本申请不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本申请的保护范围。因此,虽然通过以上实施例对本申请进行了较为详细的说明,但是本申请不仅仅限于以上实施例,在不脱离本申请构思的情况下,还可以包括更多其他等效实施例,而本申请的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments and technical principles used in this application. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present application. Therefore, although the present application has been described in detail through the above embodiments, the present application is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present application, and the present application The scope is determined by the scope of the appended claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710947487.8A CN107766177A (en) | 2017-10-12 | 2017-10-12 | Boot optimization method, device, storage medium and terminal equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710947487.8A CN107766177A (en) | 2017-10-12 | 2017-10-12 | Boot optimization method, device, storage medium and terminal equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN107766177A true CN107766177A (en) | 2018-03-06 |
Family
ID=61267268
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710947487.8A Pending CN107766177A (en) | 2017-10-12 | 2017-10-12 | Boot optimization method, device, storage medium and terminal equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107766177A (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109634782A (en) * | 2018-12-06 | 2019-04-16 | Oppo广东移动通信有限公司 | Method and device for detecting system robustness, storage medium and terminal |
| CN109918340A (en) * | 2019-03-18 | 2019-06-21 | 维沃移动通信有限公司 | A kind of document handling method and terminal device |
| CN110719341A (en) * | 2018-07-12 | 2020-01-21 | 中兴通讯股份有限公司 | Data processing method and device, DHCP server and storage medium |
| CN110764825A (en) * | 2018-07-27 | 2020-02-07 | 华为技术有限公司 | Starting method and terminal equipment |
| CN111625385A (en) * | 2020-05-25 | 2020-09-04 | 广东小天才科技有限公司 | Method, system, terminal device and storage medium for processing dead halt by adjusting RPM |
| CN113886144A (en) * | 2021-10-21 | 2022-01-04 | 上海闻泰信息技术有限公司 | Starting control method and device of electronic equipment, electronic equipment and storage medium |
| CN115509620A (en) * | 2022-09-27 | 2022-12-23 | 展讯半导体(成都)有限公司 | Method and device for determining module to be updated |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104133730A (en) * | 2014-07-30 | 2014-11-05 | 深圳市中兴移动通信有限公司 | Method and device for repairing system abnormality and mobile terminal |
| CN105068891A (en) * | 2015-08-14 | 2015-11-18 | 惠州Tcl移动通信有限公司 | Method and terminal for repairing eMMC file |
-
2017
- 2017-10-12 CN CN201710947487.8A patent/CN107766177A/en active Pending
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104133730A (en) * | 2014-07-30 | 2014-11-05 | 深圳市中兴移动通信有限公司 | Method and device for repairing system abnormality and mobile terminal |
| CN105068891A (en) * | 2015-08-14 | 2015-11-18 | 惠州Tcl移动通信有限公司 | Method and terminal for repairing eMMC file |
Non-Patent Citations (2)
| Title |
|---|
| 戚桂杰,王瑞金: "《信息系统理论、方法与技术应用》", 31 October 2005, 济南:山东大学出版社 * |
| 陈军,肖东,吴志攀: "《新编计算机应用基础 Windows8+Office2013 第2版》", 31 March 2014, 广州:暨南大学出版社 * |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110719341A (en) * | 2018-07-12 | 2020-01-21 | 中兴通讯股份有限公司 | Data processing method and device, DHCP server and storage medium |
| CN110764825A (en) * | 2018-07-27 | 2020-02-07 | 华为技术有限公司 | Starting method and terminal equipment |
| CN110764825B (en) * | 2018-07-27 | 2021-02-09 | 华为技术有限公司 | Starting method and terminal equipment |
| CN109634782A (en) * | 2018-12-06 | 2019-04-16 | Oppo广东移动通信有限公司 | Method and device for detecting system robustness, storage medium and terminal |
| CN109634782B (en) * | 2018-12-06 | 2021-05-04 | Oppo广东移动通信有限公司 | A system robustness detection method, device, storage medium and terminal |
| CN109918340A (en) * | 2019-03-18 | 2019-06-21 | 维沃移动通信有限公司 | A kind of document handling method and terminal device |
| CN111625385A (en) * | 2020-05-25 | 2020-09-04 | 广东小天才科技有限公司 | Method, system, terminal device and storage medium for processing dead halt by adjusting RPM |
| CN113886144A (en) * | 2021-10-21 | 2022-01-04 | 上海闻泰信息技术有限公司 | Starting control method and device of electronic equipment, electronic equipment and storage medium |
| CN115509620A (en) * | 2022-09-27 | 2022-12-23 | 展讯半导体(成都)有限公司 | Method and device for determining module to be updated |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107766177A (en) | Boot optimization method, device, storage medium and terminal equipment | |
| CN109542744B (en) | Method, device, storage medium and terminal for detecting abnormal starting problem of terminal | |
| CN107402835B (en) | Application program exception handling method and device, storage medium and mobile terminal | |
| CN107861830A (en) | Detection method, device, storage medium and the mobile terminal of application crash | |
| CN110442426B (en) | Password resetting method, device and storage medium | |
| CN106528158B (en) | Method, device and mobile terminal for mounting memory card | |
| CN109408465B (en) | File ownership information recording method, device, storage medium and terminal | |
| CN108153647A (en) | log processing method, device, terminal device and storage medium | |
| CN108038231A (en) | log processing method, device, terminal device and storage medium | |
| WO2014173135A1 (en) | Method, apparatus, server and system for adpating a client to a hardware environment | |
| CN107861738A (en) | Application exception handling method, device, storage medium and terminal equipment | |
| CN108733797B (en) | File processing method and related device | |
| CN107632901A (en) | A kind of self-repair method and device of application program operation exception | |
| CN107832214A (en) | Test method, device, storage medium, terminal equipment and system | |
| CN107066343A (en) | Method and device for repairing partition table in mobile terminal and mobile terminal | |
| CN107831886B (en) | Control method and device for associated starting application, storage medium and intelligent terminal | |
| CN107423064A (en) | Message processing method, device, terminal device and storage medium | |
| CN113412480B (en) | Mounting processing method, mounting processing device, electronic equipment and computer readable storage medium | |
| CN115509578A (en) | System upgrading method and device, electronic equipment and storage medium | |
| CN107391174A (en) | Control method and control device for online upgrading of system | |
| CN104951348B (en) | A kind of interruptable recovery upgrade method and device | |
| CN108170585A (en) | Log processing method and device, terminal equipment and storage medium | |
| CN109634782B (en) | A system robustness detection method, device, storage medium and terminal | |
| CN106776847B (en) | Method and device for deleting media file and mobile terminal | |
| CN114995852A (en) | Device upgrade method, device and computer-readable storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180306 |