CN103713966A - Start protection method and start protection device for system of mobile terminal - Google Patents
Start protection method and start protection device for system of mobile terminal Download PDFInfo
- Publication number
- CN103713966A CN103713966A CN201310535903.5A CN201310535903A CN103713966A CN 103713966 A CN103713966 A CN 103713966A CN 201310535903 A CN201310535903 A CN 201310535903A CN 103713966 A CN103713966 A CN 103713966A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- startup
- terminal system
- list
- protection
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Telephone Function (AREA)
- Stored Programmes (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明提供了一种移动终端系统启动保护方法,包括:启动移动终端系统;在其他应用程序启动之前启动保护程序;保护程序分析移动终端系统的启动记录,查看上次启动是否成功,若成功,则正常启动,反之,则在移动终端系统启动过程中停止移动终端系统中应用程序的启动。本发明还提供一种实现前述方法的移动终端系统启动保护装置。本发明的移动终端系统启动保护方法及装置,能够在计算机或移动终端的系统启动过程中保护移动终端系统能够正常启动,避免出现多次启动都无法成功的情况出现。
The present invention provides a mobile terminal system startup protection method, comprising: starting the mobile terminal system; starting the protection program before other application programs are started; the protection program analyzes the startup record of the mobile terminal system to check whether the last startup is successful, Then start normally, otherwise, stop the startup of the application program in the mobile terminal system during the startup process of the mobile terminal system. The present invention also provides a mobile terminal system startup protection device for realizing the aforementioned method. The mobile terminal system start-up protection method and device of the present invention can protect the mobile terminal system from being able to start normally during the system start-up process of a computer or a mobile terminal, and avoid the situation that multiple starts fail to succeed.
Description
本发明专利申请是申请日为2011年06月20日、申请号为201110166450.4、名称为“操作系统启动保护方法和装置”的中国发明专利申请的分案申请。 The patent application of the present invention is a divisional application of the Chinese invention patent application with the filing date of June 20, 2011, the application number of 201110166450.4, and the title of "Operating System Boot Protection Method and Device". the
技术领域 technical field
本发明涉及应用程序启动技术领域,特别是涉及一种移动终端系统启动保护方法和装置。 The invention relates to the technical field of application startup, in particular to a mobile terminal system startup protection method and device. the
背景技术 Background technique
一般情况下,在计算机或移动终端中,用户可以根据自己的需要来安装各种各样的应用程序。其中,较多应用程序具可以在开机时自启动,即随着计算机或移动终端开机会自行启动。但是,因为自启动应用程序与移动终端系统的兼容性,或者不同自启动应用程序之间的兼容性,或者在启动过程中应用程序自身出现的意外错误等问题都可能会导致计算机或移动终端无法正常启动的情况。移动终端,特别是常见的智能手机,因为其中的移动终端系统的稳定性还有待加强,应用程序在自启动的过程中经常会因为自身异常而导致其无法正常开机。 Generally, in a computer or a mobile terminal, a user can install various application programs according to his needs. Among them, many application tools can be started automatically when the computer or mobile terminal is turned on. However, problems such as the compatibility between the self-starting application program and the mobile terminal system, or the compatibility between different self-starting application programs, or unexpected errors in the application program itself during the startup process may cause the computer or mobile terminal to fail. The case of normal startup. Mobile terminals, especially common smart phones, because the stability of the mobile terminal system therein needs to be strengthened, and the application program often fails to start normally due to its own abnormality during the self-starting process. the
例如,对于智能手机而言,如果在存储卡上安装了自启动应用程序,而存储卡文件系统出现了故障,那么手机可能也会因此而无法正常开机。再比如,一个自启动的应用程序被不正常删除,因为移动终端内通常会记录自启动应用程序的启动路径,那么就可能会出现应用程序被删除,但是该应用程序的启动路径并未被删除,当重新开机时,移动终端系统无法根据启动路径找到应用程序,就会出现系统错误,导致无法正常开机。 For example, for a smart phone, if a self-starting application is installed on the memory card, and the file system of the memory card fails, the phone may not be able to boot normally. Another example, a self-starting application is deleted abnormally, because the startup path of the self-starting application is usually recorded in the mobile terminal, then the application may be deleted, but the startup path of the application has not been deleted , when restarting, the mobile terminal system cannot find the application program according to the startup path, and a system error will occur, resulting in failure to boot normally. the
因为计算机或者移动终端的移动终端系统通常情况下无法自动识别错误产生的原因,当出现前述的异常而导致无法正常启动的时候,如果不是人为干预,如对故障进行修复或者对计算机或移动终端进行格式化, 通常情况下,计算机或移动终端无法自行改变这种因为应用程序自身异常而导致的无法正常启动的情况。也就是说,可能会出现反复启动多次都无法成功的情况,这无疑会影响计算机或移动终端正常使用,给用户带来不便。 Because the mobile terminal system of a computer or mobile terminal usually cannot automatically identify the cause of the error, when the above-mentioned abnormality occurs and the normal startup cannot be started, if it is not human intervention, such as repairing the fault or repairing the computer or mobile terminal Formatting, under normal circumstances, the computer or mobile terminal cannot change the situation that cannot be started normally due to the abnormality of the application itself. That is to say, there may be a situation where the repeated startup fails for many times, which will undoubtedly affect the normal use of the computer or mobile terminal and bring inconvenience to the user. the
发明内容 Contents of the invention
本发明所要解决的技术问题是提供一种移动终端系统启动保护方法及装置,能够在计算机或移动终端的系统启动过程中保护移动终端系统能够正常启动,避免出现多次启动都无法成功的情况出现。 The technical problem to be solved by the present invention is to provide a mobile terminal system start-up protection method and device, which can protect the mobile terminal system from starting up normally during the system start-up process of a computer or mobile terminal, and avoid the situation that multiple starts fail to succeed. . the
为了解决上述问题,本发明公开了一种移动终端系统启动保护方法,包括以下步骤: In order to solve the above problems, the present invention discloses a mobile terminal system start-up protection method, comprising the following steps:
启动移动终端系统; Start the mobile terminal system;
在其他应用程序启动之前启动保护程序; Start the saver before other applications start;
保护程序分析移动终端系统的启动记录,查看上次启动是否成功,若成功,则正常启动,反之,则在移动终端系统启动过程中停止移动终端系统中应用程序的启动。 The protection program analyzes the startup record of the mobile terminal system to check whether the last startup was successful, and if successful, it starts normally; otherwise, it stops the startup of the application program in the mobile terminal system during the startup process of the mobile terminal system. the
进一步地,所述方法还包括: Further, the method also includes:
若上次启动成功,则在本次启动中,将启动记录修改为启动失败,读取预先存储的安全启动列表,逐项启动安全启动列表中的应用程序,在全部应用程序启动成功后将启动记录修改为启动成功。 If the last startup was successful, in this startup, modify the startup record to startup failure, read the pre-stored safe startup list, start the applications in the safe startup list one by one, and start all the applications after they are successfully started. The record is modified to start successfully. the
进一步地,所述判断移动终端系统成功启动的标准包括: Further, the criteria for judging the successful startup of the mobile terminal system include:
设置系统性能稳定阈值,根据系统性能是否稳定至阈值区间确定移动终端系统是否成功启动;或 Set the system performance stability threshold, and determine whether the mobile terminal system is successfully started according to whether the system performance is stable to the threshold interval; or
在移动终端系统中设置启动结束标识,根据启动结束标识确定移动终端系统是否成功启动。 Set the start-up mark in the mobile terminal system, and determine whether the mobile terminal system is successfully started according to the start-up mark. the
进一步地,所述在其他应用程序启动之前启动保护程序包括: Further, said starting the protection program before other application programs start includes:
将保护程序添加到移动终端系统自带的启动列表中; Add the protection program to the startup list that comes with the mobile terminal system;
删除移动终端系统自带的启动列表中除保护程序以外的所有应用程序记录。 Delete all application program records except the protection program in the startup list of the mobile terminal system. the
进一步地,所述方法还包括: Further, the method also includes:
在每次启动失败后,上传安全启动列表中的应用程序记录到服务器; After each startup failure, upload the application program records in the safe startup list to the server;
服务器根据上传的应用程序记录分析导致启动失败的应用程序; The server analyzes the application that causes the startup failure according to the uploaded application record;
服务器将分析结果反馈给保护程序; The server feeds back the analysis results to the protection program;
保护程序根据反馈结果给出相应处理。 The protection program gives corresponding treatment according to the feedback result. the
进一步地,所述方法还包括: Further, the method also includes:
将保护程序预存的安全启动列表中的所有应用程序记录提供给用户;或 provide the user with a record of all applications in the protector's pre-stored Safe Boot list; or
将分析得出的导致启动失败的应用程序记录提供给用户。 Provide the user with the analyzed records of the application that caused the startup failure. the
进一步地,所述方法还包括: Further, the method also includes:
用户根据获取的应用程序记录对应用程序进行相应处理。 The user processes the application according to the obtained application record. the
进一步地,所述方法还包括: Further, the method also includes:
在移动终端系统使用保护程序时,保护程序记录在移动终端系统中正常启动的应用程序,建立安全启动列表。 When the mobile terminal system uses the protection program, the protection program records the application programs normally started in the mobile terminal system, and establishes a safe start list. the
进一步地,所述保护程序建立安全启动列表的过程为: Further, the process for the protection program to establish a safe boot list is:
扫描移动终端系统中存储的启动列表; Scan the startup list stored in the mobile terminal system;
将移动终端系统的启动列表中除保护程序以外正常启动的应用程序记录在安全启动列表中; Record the applications normally started in the startup list of the mobile terminal system except the protection program in the safe startup list;
删除移动终端系统的启动列表中除保护程序以外的应用程序。 Delete applications other than the protection program from the startup list of the mobile terminal system. the
进一步地,所述方法还包括: Further, the method also includes:
更新安全启动列表。 Update the safe boot list. the
进一步地,所述更新安全启动列表包括: Further, the updated safe boot list includes:
监测移动终端系统中应用程序的状态变化; Monitor the state changes of applications in the mobile terminal system;
判断状态发生变化的应用程序是否是自启动应用程序,若是,则更新安全启动列表。 Determine whether the application whose state changes is a self-starting application, and if so, update the safe startup list. the
为了解决上述问题,本发明还公开了移动终端系统启动保护方法,包括以下步骤: In order to solve the above problems, the present invention also discloses a mobile terminal system startup protection method, comprising the following steps:
启动移动终端系统; Start the mobile terminal system;
分析移动终端系统上次自身启动进程,若上次启动成功,则允许移动终端系统正常启动,反之,则停止移动终端系统以外的其他进程启动。 Analyze the last self-starting process of the mobile terminal system. If the last startup is successful, the mobile terminal system is allowed to start normally. Otherwise, other processes other than the mobile terminal system are stopped from starting. the
为了解决上述问题,本发明还公开了一种移动终端系统启动保护装置,包括: In order to solve the above problems, the present invention also discloses a mobile terminal system startup protection device, including:
移动终端系统启动模块,用于启动移动终端系统; The mobile terminal system startup module is used to start the mobile terminal system;
保护程序模块,用于在其他应用程序启动之前启动保护程序; A saver module to start a saver before other applications start;
启动记录分析模块,用于分析移动终端系统的启动记录,查看上次启动是否成功,若成功,则正常启动,反之,则在移动终端系统启动过程中停止移动终端系统中应用程序的启动。 The start-up record analysis module is used to analyze the start-up record of the mobile terminal system to check whether the last start is successful, if successful, then start normally, otherwise, stop the start-up of the application program in the mobile terminal system during the start-up process of the mobile terminal system. the
进一步地,所述装置还包括: Further, the device also includes:
启动确定模块,若移动终端系统的上次启动记录为启动成功,则在本次启动中将启动记录修改为启动失败,读取预先存储的安全启动列表,逐项启动安全启动列表中的应用程序,然后将启动记录修改为启动成功。 Start the determination module, if the last startup record of the mobile terminal system is a successful startup, then modify the startup record to startup failure in this startup, read the pre-stored safe startup list, and start the application programs in the safe startup list item by item , and then modify the startup record to start successfully. the
进一步地,所述装置还包括: Further, the device also includes:
移动终端系统成功启动判断模块,用于根据系统性能是否稳定至阈值区间确定移动终端系统是否成功启动;或 The mobile terminal system successfully starts the judging module, which is used to determine whether the mobile terminal system is successfully started according to whether the system performance is stable to the threshold interval; or
根据启动结束标识确定移动终端系统是否成功启动。 Whether the mobile terminal system is successfully started is determined according to the start-up completion identifier. the
进一步地,所述保护程序启动模块包括: Further, the protection program startup module includes:
保护程序添加单元,用于将保护程序添加到移动终端系统自带的启动列表中; The protection program adding unit is used to add the protection program to the startup list that comes with the mobile terminal system;
应用程序记录删除单元,用于删除移动终端系统自带的启动列表中除保护程序以外的所有应用程序记录。 The application program record deletion unit is used for deleting all application program records in the startup list of the mobile terminal system except the protection program. the
进一步地,所述装置还包括: Further, the device also includes:
上传模块,在每次启动失败后,上传安全启动列表中的应用程序记录到服务器; Upload module, after each startup failure, upload the application program records in the safe startup list to the server;
分析模块,用于服务器根据上传的应用程序记录分析导致启动失败的应用程序; The analysis module is used for the server to analyze the application program that causes the startup failure according to the uploaded application program record;
反馈模块,用于服务器将分析结果反馈给保护程序; The feedback module is used for the server to feed back the analysis results to the protection program;
处理模块,用于保护程序根据反馈结果给出相应处理。 The processing module is used for the protection program to provide corresponding processing according to the feedback result. the
进一步地,所述装置还包括: Further, the device also includes:
提醒模块,用于将保护程序预存的安全启动列表中的所有应用程序记录提供给用户;或将分析得出的导致启动失败的应用程序记录提供给用户。 The reminder module is configured to provide the user with all the application records in the safe boot list stored in the protection program; or provide the user with the analyzed application records that cause the startup failure. the
进一步地,所述装置还包括: Further, the device also includes:
安全启动列表建立模块,用于在移动终端系统使用保护程序时,根据移动终端系统中正常启动的应用程序建立安全启动列表。 The safe start list establishing module is used for establishing a safe start list according to the normally started application programs in the mobile terminal system when the mobile terminal system uses the protection program. the
进一步地,所述安全启动列表建立模块包括: Further, the safe boot list establishment module includes:
扫描单元,用于扫描移动终端系统中存储的启动列表; The scanning unit is used to scan the startup list stored in the mobile terminal system;
存储单元,用于将扫描到的启动列表中除保护程序以外正常启动的应用程序存储在保护程序的安全启动列表中; The storage unit is used to store the applications normally started in the scanned startup list except the protection program in the safe startup list of the protection program;
删除单元,删除移动终端系统的启动列表中除保护程序以外的应用程序记录。 The deletion unit is used to delete the application program records except the protection program in the startup list of the mobile terminal system. the
进一步地,所述装置还包括: Further, the device also includes:
更新模块,用于对安全启动列表进行更新。 The update module is used to update the safe boot list. the
进一步地,所述更新模块包括: Further, the update module includes:
状态监测单元,用于监测移动终端系统中应用程序的状态变化; The state monitoring unit is used to monitor the state change of the application program in the mobile terminal system;
自启动检测单元,用于判断状态发生变化的应用程序是否是自启动应用程序,若是,则更新安全启动列表。 The self-starting detection unit is used for judging whether the application program whose state has changed is a self-starting application program, and if so, updating the safe start list. the
为了解决上述问题,本发明还公开了一种移动终端系统启动保护装置,包括: In order to solve the above problems, the present invention also discloses a mobile terminal system startup protection device, including:
移动终端系统启动模块,用于启动移动终端系统; The mobile terminal system startup module is used to start the mobile terminal system;
移动终端系统进程分析模块,用于分析移动终端系统上次自身启动进程,若上次启动成功,则允许移动终端系统正常启动,反之,则停止移动终端系统以外的其他进程启动。 The mobile terminal system process analysis module is used to analyze the last self-starting process of the mobile terminal system. If the last startup is successful, the mobile terminal system is allowed to start normally, otherwise, other processes other than the mobile terminal system are stopped from starting. the
与现有技术相比,本发明具有以下优点: Compared with prior art, the present invention has the following advantages:
本发明的移动终端系统启动保护方法和装置通过在移动终端系统启 动的同时对于移动终端系统上次启动是否成功进行判断,通过保护程序建立安全启动列表,当保护程序启动后再根据移动终端系统的上次启动记录来确定是否启动安全启动列表中的应用程序,可以避免因为应用程序自身异常而造成的移动终端系统多次无法正常启动的情况,也可以避免不能启动所造成的需要格式化系统、丢失用户信息等情况。 The mobile terminal system start protection method and device of the present invention judge whether the mobile terminal system was successfully started last time while the mobile terminal system is started, establish a safe start list through the protection program, and then according to the mobile terminal system after the protection program starts The last boot record to determine whether to start the application program in the safe boot list can avoid the situation that the mobile terminal system cannot be started normally due to the abnormality of the application program itself, and can also avoid the need to format the system caused by the failure to start , loss of user information, etc. the
进一步地,在判断上次成功启动后,首先是将本次启动记录修改为启动失败,当所有应用程序都成功启动后再将本次启动记录修改为启动成功,可以避免在启动应用程序过程中出现意外,而没有修改启动记录的情况,保证启动记录中所记载的启动状态准确可靠。 Further, after judging the last successful startup, first of all, modify the startup record to startup failure, and then modify the startup record to startup success after all applications are successfully started, which can avoid In the event of an accident without modifying the startup record, ensure that the startup status recorded in the startup record is accurate and reliable. the
另外,对于安全启动列表中实时更新,可以保证启动保护的及时性、准确性和有效性。 In addition, the real-time update of the safe boot list can ensure the timeliness, accuracy and effectiveness of boot protection. the
附图说明 Description of drawings
图1是本发明的移动终端系统启动保护方法实施例一的流程图; Fig. 1 is the flow chart of the first embodiment of the mobile terminal system startup protection method of the present invention;
图2是本发明的移动终端系统启动保护方法实施例二的流程图; Fig. 2 is the flow chart of the second embodiment of the mobile terminal system startup protection method of the present invention;
图3是本发明的移动终端系统启动保护方法实施例三的流程图; Fig. 3 is the flow chart of the third embodiment of the mobile terminal system startup protection method of the present invention;
图4是本发明的移动终端系统启动保护装置实施例一的结构示意图; Fig. 4 is a schematic structural diagram of Embodiment 1 of the mobile terminal system startup protection device of the present invention;
图5是本发明的移动终端系统启动保护装置实施例二的结构示意图; Fig. 5 is a schematic structural diagram of Embodiment 2 of the mobile terminal system startup protection device of the present invention;
图6是本发明的移动终端系统启动保护装置实施例三的结构示意图。 FIG. 6 is a schematic structural diagram of Embodiment 3 of the mobile terminal system startup protection device of the present invention. the
图7示出本发明的移动终端系统启动保护装置的实施例三的结构示意图; FIG. 7 shows a schematic structural view of Embodiment 3 of the mobile terminal system startup protection device of the present invention;
图8示出本发明实施例四的移动终端系统启动保护装置的结构示意图。 FIG. 8 shows a schematic structural diagram of a mobile terminal system startup protection device according to Embodiment 4 of the present invention. the
具体实施方式 Detailed ways
为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。 In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. the
本发明的移动终端系统启动保护方法及装置应用于计算机、手机等客户端,用于对客户端的开机启动进行保护,使其能正常的启动。具体的,本申请的移动终端系统启动保护方法及装置可以通过计算机程序实现,并安装于客户端中,通过处理器的运行来执行。 The mobile terminal system start-up protection method and device of the present invention are applied to clients such as computers and mobile phones, and are used to protect the start-up of the client terminal so that it can be started normally. Specifically, the mobile terminal system start-up protection method and device of the present application can be realized by a computer program, installed in a client, and executed by running a processor. the
参照图1,示出本发明的移动终端系统启动保护方法的实施例一,包括以下步骤: Referring to Fig. 1, it shows the first embodiment of the mobile terminal system startup protection method of the present invention, comprising the following steps:
步骤101,启动移动终端系统。
启动移动终端系统可以根据用户的命令来启动或根据预定的启动时间来启动。 Activation The mobile terminal system can be activated according to a user's command or according to a predetermined activation time. the
步骤102,在其他应用程序启动之前启动保护程序。
可以预先将保护程序安装于计算机或手机等客户端内,当客户端用户启动客户端的移动终端系统时,在其他应用程序启动之前由移动终端系统首先启动保护程序。具体的,可以将保护程序添加到移动终端系统自带的启动列表中,当移动终端系统启动时,启动列表中的保护程序也会自启动。 The protection program can be pre-installed in clients such as computers or mobile phones, and when the client user starts the mobile terminal system of the client, the mobile terminal system first starts the protection program before other application programs are started. Specifically, the protection program can be added to the start-up list of the mobile terminal system, and when the mobile terminal system starts up, the protection program in the start-up list will also start automatically. the
为了保证在移动终端系统启动是仅有保护程序一个应用程序启动,在将保护程序添加到移动终端系统自带的启动列表中后,需要删除移动终端系统中自带的启动列表中除保护程序以外的所有应用程序记录。 In order to ensure that only the protection program is started when the mobile terminal system is started, after the protection program is added to the startup list of the mobile terminal system, it is necessary to delete all the programs except the protection program from the startup list of the mobile terminal system. All application records for . the
步骤103,保护程序分析移动终端系统的启动记录,查看上次启动是否成功,若成功,则正常启动移动终端系统,反之,则在移动终端系统启动过程中停止移动终端系统中应用程序的启动。
保护程序会在每次启动后根据实际启动情况来记录移动终端系统的启动状态,并自动覆盖前次的记录,保证记录的启动状态为前一次启动的实际情况。例如,若本次启动成功,则会将存储的启动状态修改为启动成功,反之,则将存储的启动状态修改为启动失败。在每次移动终端系统启动时,通过查看上次的启动状态来确定本次需要做的操作。 The protection program will record the startup state of the mobile terminal system according to the actual startup situation after each startup, and automatically overwrite the previous record to ensure that the recorded startup status is the actual situation of the previous startup. For example, if the current startup is successful, the stored startup status will be modified to startup success; otherwise, the stored startup status will be modified to startup failure. When the mobile terminal system is started each time, the operation to be performed this time is determined by checking the last startup state. the
若上次的启动状态为失败,则说明在自启动应用程序中出现了异常,异常可能是由某一个应用程序产生的,也可能是由几个应用程序组合产生的。所以,在发现上次的启动记录为启动失败,保护程序会在移动终端系统启动过程中停止移动终端系统中的其他自启动程序的启动,以保证移动终端系统的正常启动。进一步地,在移动终端系统正常启动后,还可以给出用户提醒信息,由用户来查找无法正常启动的原因。 If the last startup status is failure, it means that an exception has occurred in the self-starting application program, and the exception may be generated by a certain application program, or by a combination of several application programs. Therefore, when it is found that the last startup record is startup failure, the protection program will stop the startup of other self-starting programs in the mobile terminal system during the startup process of the mobile terminal system, so as to ensure the normal startup of the mobile terminal system. Furthermore, after the mobile terminal system starts up normally, a reminder message can also be given to the user, and the user can find out the reason why the mobile terminal system cannot be started up normally. the
参照图2,示出本发明的移动终端系统启动保护方法实施例二,进一步地,在实施例一的步骤103之后还包括以下步骤:
Referring to Fig. 2, it shows the second embodiment of the mobile terminal system startup protection method of the present invention, further, after the
步骤201,若上次启动成功,则在本次启动中,将启动记录修改为启动失败,读取预先存储的安全启动列表,逐项启动安全启动列表中的应用程序,在全部应用程序启动成功后将启动记录修改为启动成功。
当上次的启动记录为启动成功时,则将启动记录暂时修改为启动失败,这是为了避免在后续启动安全启动列表中的应用程序出现失败,而无法修改启动状态的情况出现。例如,当在逐项启动安全启动列表中的应用程序时,启动到某一项出现问题,那么可能会导致移动终端系统的启动失败,如果不预先修改启动记录,那么在下次重新启动时,保护程序中记录的启动状态仍然为在上次启动之前一次的启动记录,即启动成功,这就可能会导致真是的启动状态无法被记录的情况。因此,需要直到安全启动列表中的应用程序全都成功启动后,再将启动记录修改为启动成功。 When the last boot record is successful boot, temporarily modify the boot record to boot failure, this is to avoid the failure of subsequent boot applications in the safe boot list, and the situation that the boot state cannot be modified. For example, when starting an application program in the safe boot list item by item, if there is a problem with booting to a certain item, it may cause the booting failure of the mobile terminal system. If the booting record is not modified in advance, then the protection will The startup status recorded in the program is still the startup record before the last startup, that is, the startup is successful, which may lead to the situation that the real startup status cannot be recorded. Therefore, it is necessary to modify the boot record to start successfully after all the applications in the safe boot list are successfully started. the
其中,在判断移动终端系统成功启动的标准可以通过设置系统性能稳定阈值来确定,即根据系统性能是否稳定至阈值区间确定移动终端系统是否成功启动,例如,设定系统性能稳定阈值设为若内存占用率或CPU使用率降至30%。另外,也可以通过在移动终端系统中设置启动结束标识,根据启动结束标识确定移动终端系统是否成功启动。 Among them, the criteria for judging the successful startup of the mobile terminal system can be determined by setting the system performance stability threshold, that is, determining whether the mobile terminal system is successfully started according to whether the system performance is stable to the threshold interval, for example, setting the system performance stability threshold as if the memory Occupancy or CPU usage drops to 30%. In addition, it is also possible to determine whether the mobile terminal system is successfully started according to the start-up mark by setting the start-up mark in the mobile terminal system. the
进一步地,保护程序在给出用户提醒信息的同时,还可以给出分析结果,即可能导致移动终端系统无法正常启动的应用程序的列表。列表中的应用程序可以是安全启动列表中的所有的应用程序,也可以是根据自己分析得出的部分应用程序。 Furthermore, while the protection program gives the user reminder information, it can also give an analysis result, that is, a list of application programs that may cause the mobile terminal system to fail to start normally. The applications in the list can be all the applications in the safe boot list, or some applications obtained according to your own analysis. the
根据自己分析得出的部分应用程序可以通过下述方式来实现:在每次启动失败后,上传安全启动列表中的应用程序记录到服务器,服务器根据上传的应用程序记录分析导致启动失败的应用程序。例如,在不同的客户端的移动终端系统中的,启动失败后上传的安全启动列表的应用程序记录中都包括某一个或者某几个应用程序,服务器可以通过分析得知,这些应用程序导致启动失败的可能性较大,从而获取导致启动失败的应用程序。服务器获取导致启动失败的应用程序会反馈给保护程序,保护程序根据反馈结果给出相 应处理。 Part of the applications obtained from your own analysis can be achieved in the following way: After each startup failure, upload the application records in the safe startup list to the server, and the server analyzes the applications that cause startup failures based on the uploaded application records . For example, in the mobile terminal systems of different clients, the application records of the uploaded secure startup list after startup failures all include one or several applications, and the server can know through analysis that these applications cause startup failures more likely to get the application that caused the startup failure. The server obtains the application program that causes the startup failure to be fed back to the protection program, and the protection program gives corresponding processing according to the feedback result. the
另外,用户可以根据保护程序提供的列表来对各种程序进行检测或相应的处理。例如,根据在保护程序提供的列表中逐项选择其中的一个应用程序进行启动,或者选择其中的某两个或者某几个程序来进行启动,在查找到导致移动终端系统无法正常启动的应用程序时,则可以删除该应用程序或者对其进行修复等等操作。 In addition, the user can detect or deal with various programs according to the list provided by the protection program. For example, according to selecting one of the application programs in the list provided by the protection program to start, or selecting two or some programs to start, after finding the application program that causes the mobile terminal system to fail to start normally , you can delete the application or repair it and so on. the
参照图3,示出本发明的移动终端系统启动保护方法的实施例二,进一步地,在步骤101之前还包括如下步骤:
Referring to Fig. 3, it shows the second embodiment of the mobile terminal system startup protection method of the present invention, further, before
步骤301,在移动终端系统使用保护程序时,保护程序记录在移动终端系统中正常启动的应用程序,建立安全启动列表。 Step 301, when the mobile terminal system uses the protection program, the protection program records the application programs normally started in the mobile terminal system, and establishes a safe start list. the
安全启动列表的建立可以在保护程序安装于移动终端系统后,第一次使用时通过保护程序建立。其中建立的过程如下: The establishment of the safe start list can be established through the protection program when the protection program is used for the first time after it is installed in the mobile terminal system. The established process is as follows:
步骤D1,扫描移动终端系统中存储的启动列表。 Step D1, scanning the activation list stored in the mobile terminal system. the
步骤D2,将移动终端系统的启动列表中除保护程序以外正常启动的应用程序记录在保护程序的安全启动列表中。 Step D2, recording the normally started applications in the startup list of the mobile terminal system except the protection program in the safe startup list of the protection program. the
步骤D3,删除移动终端系统的启动列表中除保护程序以外的应用程序记录。 Step D3, delete the application program records except the protection program in the startup list of the mobile terminal system. the
因为在移动终端系统中一般都会自带一个启动列表,用于记录需要自启动的应用程序,保护程序通过扫描移动终端系统中存储的启动列表将除了保护程序自身以外的应用程序都存储在安全启动列表中,并删除启动列表中这些应用程序的记录。当再次启动时,移动终端系统自带的启动列表中所包含的自启动程序就只包含保护程序,这就可以使保护程序能随着移动终端系统的启动而启动,并控制其他程序的启动。 Because the mobile terminal system generally has a startup list to record the applications that need to be started automatically, the protection program stores all applications except the protection program itself in the secure startup list by scanning the startup list stored in the mobile terminal system. list, and delete the records of these applications in the startup list. When starting again, the self-starting program contained in the startup list carried by the mobile terminal system only includes the protection program, which can enable the protection program to start with the startup of the mobile terminal system and control the startup of other programs. the
进一步地,在步骤201之后还包括如下步骤:
Further, after
更新安全启动列表。 Update the safe boot list. the
为了保证安全启动列表的及时性和有效性,需要对安全启动列表实时更新,具体包括以下步骤: In order to ensure the timeliness and effectiveness of the secure boot list, it is necessary to update the secure boot list in real time, specifically including the following steps:
步骤S1,监测移动终端系统中应用程序的状态变化。 Step S1, monitoring the status changes of the application programs in the mobile terminal system. the
状态变化包括原有应用程序的删除、新应用程序的安装等等。通过对应用程序的安装及删除信息可以获取到状态变化信息。 State changes include deletion of old applications, installation of new applications, and so on. The status change information can be obtained through the installation and deletion information of the application program. the
步骤S2,判断状态发生变化的应用程序是否是自启动应用程序,若是,则更新安全启动列表。 Step S2, judging whether the application whose state has changed is a self-starting application, and if so, updating the safe startup list. the
若状态变化是原有自启动应用程序的删除,那么更新安全启动列表为删除安全启动列表中对应的应用程序记录。 If the state change is the deletion of the original self-starting application, then updating the secure boot list is to delete the corresponding application record in the secure boot list. the
若状态变化时新自启动应用程序的安装,那么更新安全启动列表为将对应的应用程序记录添加到安全启动列表中,同时删除移动终端系统中存储的启动列表中该应用程序记录。 If a new self-starting application is installed when the state changes, then updating the secure startup list is to add the corresponding application record to the secure startup list, and delete the application record in the startup list stored in the mobile terminal system. the
参照图4,示出本发明的移动终端系统启动保护方法实施例四,包括以下步骤: Referring to Fig. 4, it shows the fourth embodiment of the mobile terminal system startup protection method of the present invention, including the following steps:
步骤401,启动移动终端系统。
步骤402,分析移动终端系统上次自身启动进程,若上次启动成功,则允许移动终端系统正常启动,反之,则停止移动终端系统以外的其他进程启动。
在每次移动终端系统启动后,保护程序记录下当次移动终端系统的自身启动进程,在移动终端系统下次启动时,通过对进程的分析,来确定移动终端系统上次是否启动成功,并根据判断结果来确定是否允许移动终端系统以外的其他进程启动。 After each mobile terminal system is started, the protection program records the self-starting process of the mobile terminal system, and when the mobile terminal system is started next time, it determines whether the mobile terminal system was successfully started last time by analyzing the process, and Determine whether to allow other processes other than the mobile terminal system to start according to the judgment result. the
参照图5,示出本发明的移动终端系统启动保护装置的实施例一,该系统中的各个模块是指基于计算机语言编写的计算机程序,存储于客户端中,并通过处理器运行。 Referring to FIG. 5 , it shows the first embodiment of the mobile terminal system start-up protection device of the present invention. Each module in the system refers to a computer program written based on a computer language, stored in the client, and run by a processor. the
移动终端系统启动保护装置包括移动终端系统启动模块10、保护程序启动模块20、启动记录分析模块30及启动确定模块40。
The mobile terminal system startup protection device includes a mobile terminal
移动终端系统启动模块10,用于启动移动终端系统。
The mobile terminal
保护程序启动模块20,用于在其他应用程序启动之前启动保护程序。
The protection
启动记录分析模块30,用于分析移动终端系统的启动记录,查看上次启动是否成功,,若成功,则正常启动,反之,则在移动终端系统启动 过程中停止移动终端系统中应用程序的启动。
Start
参照图6,进一步地,移动终端系统启动保护装置还包括启动确定模块40,用于根据启动记录分析模块30所分析的移动终端系统的上次启动记录来确定移动终端系统的后续启动过程。若移动终端系统的上次启动记录为启动成功,则将启动记录修改为启动失败,读取预先存储的安全启动列表,逐项启动安全启动列表中的应用程序,然后将启动记录修改为启动成功。若上次启动记录为启动失败,则停止启动移动终端系统中的其他自启动应用程序,并给出提醒信息。
Referring to FIG. 6 , further, the mobile terminal system startup protection device further includes a
进一步地,移动终端系统启动保护装置还包括移动终端系统成功启动判断模块,用于根据系统性能是否稳定至阈值区间确定移动终端系统是否成功启动;或根据启动结束标识确定移动终端系统是否成功启动。 Further, the mobile terminal system startup protection device also includes a mobile terminal system successful startup judging module, which is used to determine whether the mobile terminal system is successfully started according to whether the system performance is stable to a threshold interval; or determine whether the mobile terminal system is successfully started according to the start-up end sign. the
进一步地,保护程序启动模块包括保护程序添加模块和应用程序记录删除模块。其中,保护程序添加单元,用于将保护程序添加到移动终端系统自带的启动列表中。应用程序记录删除单元,用于删除移动终端系统自带的启动列表中除保护程序以外的所有应用程序记录。 Further, the protection program starting module includes a protection program addition module and an application program record deletion module. Wherein, the protection program adding unit is used for adding the protection program to the startup list of the mobile terminal system. The application program record deletion unit is used for deleting all application program records in the startup list of the mobile terminal system except the protection program. the
优选地,移动终端系统启动保护装置还包括上传模块、分析模块、反馈模块和处理模块。 Preferably, the mobile terminal system startup protection device further includes an upload module, an analysis module, a feedback module and a processing module. the
其中,上传模块,在每次启动失败后,上传安全启动列表中的应用程序记录到服务器。 Wherein, the upload module uploads the application program records in the safe startup list to the server after each startup failure. the
分析模块,用于根据上传的应用程序记录分析导致启动失败的应用程序。 The analysis module is used to analyze the applications that cause startup failure according to the uploaded application records. the
反馈模块,用于服务器将分析结果反馈给保护程序。 The feedback module is used for the server to feed back the analysis result to the protection program. the
处理模块,用于保护程序根据反馈结果给出相应处理。 The processing module is used for the protection program to provide corresponding processing according to the feedback result. the
进一步地,移动终端系统启动保护装置还包括提醒模块,用于将保护程序预存的安全启动列表中的所有应用程序记录提供给用户;或将分析得出的导致启动失败的应用程序记录提供给用户。 Further, the mobile terminal system startup protection device also includes a reminder module, which is used to provide the user with all the application program records in the safe startup list stored in the protection program; or provide the user with the analyzed application program records that lead to startup failure . the
参照图7,示出本发明的移动终端系统启动保护装置的实施例三,进一步地,还包括安全启动列表建立模块50,用于在移动终端系统使用保护 程序时,根据移动终端系统中正常启动的应用程序建立并存储安全启动列表。
Referring to Fig. 7, it shows the third embodiment of the mobile terminal system startup protection device of the present invention, and further includes a safe startup
具体的,安全启动列表建立模块50包括扫描单元、存储单元及删除单元。
Specifically, the secure boot
扫描单元,用于扫描移动终端系统中存储的启动列表。 The scanning unit is used for scanning the startup list stored in the mobile terminal system. the
存储单元,用于将扫描到的启动列表中除保护程序以外正常启动的应用程序存储在保护程序的安全启动列表中。 The storage unit is configured to store the scanned applications normally started except the protection program in the safe start list of the protection program. the
删除单元,删除移动终端系统的启动列表中除保护程序以外的应用程序记录。 The deletion unit is used to delete the application program records except the protection program in the startup list of the mobile terminal system. the
进一步地,本发明的移动终端系统启动保护装置还包括更新模块,用于对安全启动列表进行更新。 Further, the mobile terminal system startup protection device of the present invention also includes an update module, which is used to update the security startup list. the
具体的,更新模块包括状态监测单元和自启动检测单元。 Specifically, the update module includes a status monitoring unit and a self-starting detection unit. the
状态监测单元,用于监测移动终端系统中应用程序的状态变化。例如,原有应用程序的删除、新应用程序的安装等等。 The status monitoring unit is used for monitoring status changes of application programs in the mobile terminal system. For example, deletion of an existing application program, installation of a new application program, and so on. the
自启动检测单元,用于判断状态发生变化的应用程序是否是自启动应用程序,若是,则更新安全启动列表。其中,更新安全列表包括删除或添加安全启动列表中的某一项或多项应用程序记录。 The self-starting detection unit is used for judging whether the application program whose state has changed is a self-starting application program, and if so, updating the safe start list. Wherein, updating the safe list includes deleting or adding one or more application records in the safe boot list. the
参照图8,示出本发明实施例四的移动终端系统启动保护装置,包括移动终端系统启动模块80和移动终端系统进程分析模块90。
Referring to FIG. 8 , it shows a mobile terminal system startup protection device according to Embodiment 4 of the present invention, including a mobile terminal
移动终端系统启动模块80,用于启动移动终端系统。
The mobile terminal
移动终端系统进程分析模块90,用于分析移动终端系统上次自身启动进程,若上次启动成功,则允许移动终端系统正常启动,反之,则停止移动终端系统以外的其他进程启动。
The mobile terminal system
本发明的移动终端系统启动保护方法和装置通过在移动终端系统启动的同时对于移动终端系统上次启动是否成功进行判断,通过保护程序建立安全启动列表,当保护程序启动后再根据移动终端系统的上次启动记录来确定是否启动安全启动列表中的应用程序,可以避免因为应用程序自身异常而造成的移动终端系统多次无法正常启动的情况,也可以避 免不能启动所造成的需要格式化系统、丢失用户信息等情况。 The mobile terminal system start protection method and device of the present invention judge whether the mobile terminal system was successfully started last time while the mobile terminal system is started, establish a safe start list through the protection program, and then according to the mobile terminal system after the protection program is started. The last startup record is used to determine whether to start the application in the safe startup list, which can avoid the situation that the mobile terminal system cannot be started normally for many times due to the abnormality of the application itself, and can also avoid the need to format the system caused by the failure to start , loss of user information, etc. the
进一步地,在判断上次成功启动后,首先是将本次启动记录修改为启动失败,当所有应用程序都成功启动后再将本次启动记录修改为启动成功,可以避免在启动应用程序过程中出现意外,而没有修改启动记录的情况。保证启动记录中所记载的启动状态准确可靠。 Further, after judging the last successful startup, first of all, modify the startup record to startup failure, and then modify the startup record to startup success after all applications are successfully started, which can avoid Unexpectedly, without modifying the boot record. Ensure that the startup status recorded in the startup record is accurate and reliable. the
另外,对于安全启动列表中实时更新,可以保证启动保护的及时性、准确性和有效性。 In addition, the real-time update of the safe boot list can ensure the timeliness, accuracy and effectiveness of boot protection. the
本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。对于系统实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。 Each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other. As for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for the related parts, please refer to the part of the description of the method embodiment. the
以上对本发明所提供的移动终端系统启动保护方法和装置进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。 The mobile terminal system start-up protection method and device provided by the present invention have been introduced in detail above. The principles and implementation methods of the present invention have been explained by using specific examples in this paper. The descriptions of the above embodiments are only used to help understand the present invention. method and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and application scope. Invention Limitations. the
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310535903.5A CN103713966B (en) | 2011-06-20 | 2011-06-20 | Mobile terminal system starting protection method and apparatus |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310535903.5A CN103713966B (en) | 2011-06-20 | 2011-06-20 | Mobile terminal system starting protection method and apparatus |
CN201110166450.4A CN102262573B (en) | 2011-06-20 | 2011-06-20 | Operating system startup protection method and device |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110166450.4A Division CN102262573B (en) | 2011-06-20 | 2011-06-20 | Operating system startup protection method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103713966A true CN103713966A (en) | 2014-04-09 |
CN103713966B CN103713966B (en) | 2018-04-13 |
Family
ID=50406967
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310535903.5A Expired - Fee Related CN103713966B (en) | 2011-06-20 | 2011-06-20 | Mobile terminal system starting protection method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103713966B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113568770A (en) * | 2020-04-29 | 2021-10-29 | 阿里巴巴集团控股有限公司 | Emergency rescue method for real-time operating system, electronic device and computer storage medium |
CN118963847A (en) * | 2024-10-18 | 2024-11-15 | 深圳开鸿数字产业发展有限公司 | Device quick startup method, system, terminal and readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1869999A (en) * | 2006-06-28 | 2006-11-29 | 北京飞天诚信科技有限公司 | Protection method and device for opening computer |
US20070011493A1 (en) * | 2003-05-06 | 2007-01-11 | Lenovo (Beijing) Limited | Method for renovating the computer operating system |
CN101377803A (en) * | 2008-09-28 | 2009-03-04 | 北京飞天诚信科技有限公司 | Method and system for implementing start-up protection |
CN101493776A (en) * | 2009-02-18 | 2009-07-29 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal and power-on method and system thereof |
CN101587456A (en) * | 2009-07-08 | 2009-11-25 | 腾讯科技(深圳)有限公司 | Protection processing method and apparatus of software operation |
CN101882085A (en) * | 2010-06-23 | 2010-11-10 | 迈普通信技术股份有限公司 | System starting method and embedded equipment |
-
2011
- 2011-06-20 CN CN201310535903.5A patent/CN103713966B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070011493A1 (en) * | 2003-05-06 | 2007-01-11 | Lenovo (Beijing) Limited | Method for renovating the computer operating system |
CN1869999A (en) * | 2006-06-28 | 2006-11-29 | 北京飞天诚信科技有限公司 | Protection method and device for opening computer |
CN101377803A (en) * | 2008-09-28 | 2009-03-04 | 北京飞天诚信科技有限公司 | Method and system for implementing start-up protection |
CN101493776A (en) * | 2009-02-18 | 2009-07-29 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal and power-on method and system thereof |
CN101587456A (en) * | 2009-07-08 | 2009-11-25 | 腾讯科技(深圳)有限公司 | Protection processing method and apparatus of software operation |
CN101882085A (en) * | 2010-06-23 | 2010-11-10 | 迈普通信技术股份有限公司 | System starting method and embedded equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113568770A (en) * | 2020-04-29 | 2021-10-29 | 阿里巴巴集团控股有限公司 | Emergency rescue method for real-time operating system, electronic device and computer storage medium |
CN118963847A (en) * | 2024-10-18 | 2024-11-15 | 深圳开鸿数字产业发展有限公司 | Device quick startup method, system, terminal and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN103713966B (en) | 2018-04-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108121559B (en) | Configuration file pushing method, server and storage medium | |
CN102262574B (en) | Boot protecting method and device of operating system | |
US9124669B2 (en) | Cooperative client and server logging | |
WO2014146256A1 (en) | Upgrade method, intelligent terminal, and upgrade system | |
CN105760200A (en) | Terminal equipment and its system upgrading method | |
WO2020224238A1 (en) | Blockchain node depolyment method, device and equipment, and storage medium | |
CN100432949C (en) | Method and device for storing user data on computer when software crashing | |
CN102262573B (en) | Operating system startup protection method and device | |
CN110347571A (en) | A kind of crash log acquisition method, analysis method and relevant apparatus | |
CN110063042A (en) | A kind of response method and its terminal of database failure | |
CN113672306B (en) | Method, device, system and medium for recovery from abnormal self-checking of server components | |
CN112948190A (en) | Hardware testing method, system and related device of server | |
CN116033466A (en) | Fault detection system, method and storage medium | |
WO2019137280A1 (en) | Terminal anomaly repair method, apparatus, mobile terminal, and storage medium | |
WO2019169771A1 (en) | Electronic device, access instruction information acquisition method and storage medium | |
CN103713966B (en) | Mobile terminal system starting protection method and apparatus | |
JP2007272774A (en) | Event information management system | |
CN113127029A (en) | Firmware updating method and device, electronic equipment and storage medium | |
CN103713920B (en) | Portable device system starting protection method and apparatus | |
WO2020233044A1 (en) | Plug-in verification method and device, and server and computer-readable storage medium | |
CN103309769A (en) | Operation system starting protection method and device | |
CN109634782B (en) | A system robustness detection method, device, storage medium and terminal | |
WO2016131294A1 (en) | Version upgrade processing method and device | |
US9128738B2 (en) | Information processing program and information processing method | |
TW201015296A (en) | Method for auto-testing environment variable setting |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180413 |