CN108509291B - Application program operation abnormity repairing method and system and mobile terminal - Google Patents
Application program operation abnormity repairing method and system and mobile terminal Download PDFInfo
- Publication number
- CN108509291B CN108509291B CN201810161581.5A CN201810161581A CN108509291B CN 108509291 B CN108509291 B CN 108509291B CN 201810161581 A CN201810161581 A CN 201810161581A CN 108509291 B CN108509291 B CN 108509291B
- Authority
- CN
- China
- Prior art keywords
- application program
- mobile terminal
- application
- operating abnormally
- abnormal
- 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.)
- Expired - Fee Related
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/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0706—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
- G06F11/0736—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in functional embedded systems, i.e. in a data processing system designed as a combination of hardware and software dedicated to performing a certain function
- G06F11/0742—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in functional embedded systems, i.e. in a data processing system designed as a combination of hardware and software dedicated to performing a certain function in a data processing system embedded in a mobile device, e.g. mobile phones, handheld devices
-
- 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/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/079—Root cause analysis, i.e. error or fault diagnosis
-
- 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/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0793—Remedial or corrective actions
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Stored Programmes (AREA)
- Telephone Function (AREA)
Abstract
Description
技术领域technical field
本申请涉及移动通信装置领域,尤其涉及一种能够自动修复应用程序运行异常的移动终端及其应用程序运行异常修复方法和系统。The present application relates to the field of mobile communication devices, and in particular, to a mobile terminal capable of automatically repairing abnormal operation of an application program, and a method and system for repairing abnormal operation of an application program.
背景技术Background technique
随着移动互联网的发展,基于移动互联网的应用程序也日益增多,各种应用程序为用户提供了丰富多彩的服务。应用程序分为客户端(即:客户端应用)及服务端两部分。其中,客户端应用运行在移动通讯设备中,供用户使用;而服务端部分运行在服务器中,为客户端应用提供后台服务。With the development of the mobile Internet, there are more and more applications based on the mobile Internet, and various applications provide users with a variety of services. The application is divided into two parts: the client (ie: client application) and the server. The client application runs in the mobile communication device for users to use; and the server part runs in the server to provide background services for the client application.
应用程序的客户端应用在使用时可能出现启动或运行异常的情况,使得用户无法正常使用应用程序,例如,由于客户端应用使用本地缓存而导致的运行异常等。目前,人们通常通过手动去排查应用程序发生运行异常的原因,或者直接删除应用程序并重新下载安装。上述的应用程序发生运行异常时的原因排查以及修复步骤繁琐,会给用户带来很大的不便,从而影响了用户的使用体验。The client application of the application may start or run abnormally when it is used, so that the user cannot use the application normally, for example, the abnormal operation caused by the client application using the local cache, etc. At present, people usually manually check the reason for the abnormal operation of the application, or directly delete the application and download and install it again. When the above-mentioned application program runs abnormally, the cause investigation and repair steps are cumbersome, which will bring great inconvenience to the user, thereby affecting the user's use experience.
发明内容SUMMARY OF THE INVENTION
本申请实施例的目的在于提供一种能够便捷地排查应用程序运行异常原因的移动终端及其应用程序运行异常修复方法和系统,以协助用户修复应用程序运行异常,从而解决上述技术问题。The purpose of the embodiments of the present application is to provide a mobile terminal and a method and system for repairing the abnormal operation of an application program, which can conveniently check the cause of abnormal operation of an application program, so as to assist a user to repair the abnormal operation of an application program, thereby solving the above technical problems.
本申请实施例提供一种应用程序运行异常修复方法,其特征在于,应用于应用程序运行异常修复系统以及配置有该应用程序运行异常修复系统的移动终端。应用程序运行异常修复方法包括:检测移动终端的国际移动设备识别码是否正常,若是,则获取移动终端的系统时间和移动终端所处当地时间,比较当地时间与系统时间是否一致,若是,则检测应用程序本身是否存在异常,若否,则;切换应用程序的登录帐号,并检测应用程序运行是否异常,若是,则恢复应用程序的原始版本。An embodiment of the present application provides a method for repairing abnormal operation of an application program, which is characterized in that it is applied to a system for repairing abnormal operation of an application program and a mobile terminal configured with the system for repairing abnormal operation of an application program. The method for repairing the abnormal operation of the application program includes: detecting whether the international mobile equipment identification code of the mobile terminal is normal; Whether the application itself is abnormal, if not, switch the login account of the application, and detect whether the application is running abnormally, if so, restore the original version of the application.
在其中一些实施方式中,检测应用程序本身是否存在异常,包括:检测应用程序是否处于禁用状态,若是,则解除应用程序的禁用。In some of the implementations, detecting whether the application program itself is abnormal includes: detecting whether the application program is in a disabled state, and if so, canceling the disablement of the application program.
在其中一些实施方式中,解除应用程序的禁用,包括:解除应用程序服务的禁用以及解除应用程序框架的禁用。In some of the implementations, releasing the disabling of the application includes: disabling the application service and disabling the application framework.
在其中一些实施方式中,解除应用程序的禁用后,还包括:检测应用程序运行是否异常,若是,则清除应用程序的应用数据。In some of the implementations, after the disabling of the application is released, the method further includes: detecting whether the application is running abnormally, and if so, clearing the application data of the application.
在其中一些实施方式中,清除应用程序的应用数据,包括:清除应用程序服务、应用程序框架以及应用程序本身的数据。In some of the implementations, clearing the application data of the application includes: clearing the data of the application service, the application framework and the application itself.
在其中一些实施方式中,切换应用程序的登录帐号,包括:退出当前登录的应用程序账号,接收用户登录的另一账号,登录应用程序。恢复应用程序的原始版本,包括:卸载更新应用程序,使应用程序的版本恢复为出厂时的出厂版本。In some of the embodiments, switching the login account of the application includes: logging out of the currently logged-in application account, receiving another account logged in by the user, and logging in to the application. Restoring the original version of the application, including: uninstalling the updated application to restore the version of the application to the factory version.
在其中一些实施方式中,移动终端为使用安卓操作系统的移动终端,应用程序为google商店,应用程序运行异常修复方法应用于google商店的异常修复。In some of the embodiments, the mobile terminal is a mobile terminal using an Android operating system, the application is a google store, and the method for repairing an abnormality in the running of an application is applied to anomaly repair of the google store.
在其中一些实施方式中,获取移动终端的系统时间和移动终端所处当地时间,比较当地时间与系统时间是否一致,若否,则将系统时间修正为当地时间。In some of the embodiments, the system time of the mobile terminal and the local time where the mobile terminal is located are obtained, and whether the local time is consistent with the system time is compared, and if not, the system time is corrected to the local time.
在其中一些实施方式中,在检测移动终端的国际移动设备识别码是否正常之前,还包括:检测应用程序的运行状态,若检测到应用程序运行出现异常或检测到应用程序发出运行异常报错时,则执行检测移动终端的国际移动设备识别码是否正常。In some of these embodiments, before detecting whether the international mobile equipment identification code of the mobile terminal is normal, the method further includes: detecting the running state of the application program, if it is detected that the application program is running abnormally or it is detected that the application program issues an abnormal operation error, Then, check whether the International Mobile Equipment Identity of the mobile terminal is normal.
在其中一些实施方式中,检测移动终端的国际移动设备识别码是否正常,包括:检测国际移动设备识别码是否为空、检测国际移动设备识别码的长度是否规范、检测国际移动设备识别码的检验码是否规范。In some of the embodiments, detecting whether the IMEI code of the mobile terminal is normal includes: detecting whether the IMEI code is empty, detecting whether the length of the IMEI code is standardized, and detecting whether the IMEI code is checked. Is the code standard.
本申请实施例还提供一种应用程序运行异常修复系统,运行于移动终端,应用程序运行异常修复系统用于执行上述任一项的应用程序运行异常修复方法。应用程序运行异常修复系统包括:IMEI检测单元,用于检测移动终端的国际移动设备识别码(IMEI)是否正常;系统时间检测单元,用于获取移动终端的系统时间和移动终端所处当地时间,并用于比较当地时间与系统时间是否一致;应用程序修复模块,用于检测应用程序本身的异常;异常判定模块,用于检测应用程序运行是否异常;账号切换模块,用于切换应用程序的登录帐号;以及恢复模块,用于恢复应用程序的原始版本。The embodiment of the present application further provides a system for repairing abnormal operation of an application program, which runs on a mobile terminal, and the system for repairing abnormal operation of an application program is used to execute any one of the above methods for repairing abnormal operation of an application program. The application program running abnormal repair system includes: an IMEI detection unit for detecting whether the International Mobile Equipment Identity (IMEI) of the mobile terminal is normal; a system time detection unit for acquiring the system time of the mobile terminal and the local time where the mobile terminal is located, And it is used to compare whether the local time is consistent with the system time; the application repair module is used to detect the abnormality of the application itself; the abnormality determination module is used to detect whether the application is running abnormally; the account switching module is used to switch the login account of the application ; and the restore module, which restores the original version of the application.
本申请实施例还提供一种移动终端,包括电子本体部、一个或多个处理器、存储器;以及上述的应用程序运行异常修复系统,该应用程序运行异常修复系统被存储在该存储器中并被配置为由该一个或多个处理器执行。Embodiments of the present application further provide a mobile terminal, including an electronic body part, one or more processors, and a memory; and the above-mentioned system for repairing abnormal operation of an application program, where the system for repairing abnormal operation of an application program is stored in the memory and is configured to be executed by the one or more processors.
相对于现有技术,本实施例提供的应用程序运行异常修复方法及系统,能够在应用程序发生运行异常的时候,首先排查移动终端本机的异常状态并修复,在应用程序的异常未解决的情况下继续排查应用程序本身存在的异常,通过自动地排查运行异常原因进行运行异常修复,在较大程度上能够帮助用户解决应用程序运行异常的修复,充分简化了用户操作,提高修复效率,用户的使用体验得到改善。Compared with the prior art, the method and system for repairing abnormal operation of an application program provided by this embodiment can firstly check the abnormal state of the mobile terminal and repair it when the abnormal operation of an application program occurs. Continue to check the abnormality of the application itself under the circumstance, and repair the abnormal operation by automatically checking the cause of the abnormal operation, which can help the user to solve the repair of the abnormal operation of the application program to a large extent, which fully simplifies the user operation and improves the repair efficiency. The user experience has been improved.
附图说明Description of drawings
为了更清楚地说明本申请的技术方案,下面将对实施方式中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the present application more clearly, the following briefly introduces the accompanying drawings used in the implementation manner. Obviously, the accompanying drawings in the following description are only some implementations of the present application, which are common in the art. As far as technical personnel are concerned, other drawings can also be obtained based on these drawings without any creative effort.
图1是本申请第一实施例提供的应用程序运行异常修复方法的流程示意图;FIG. 1 is a schematic flowchart of a method for repairing abnormal operation of an application program provided by the first embodiment of the present application;
图2是本申请第二实施例提供的应用程序运行异常修复方法的流程示意图;FIG. 2 is a schematic flowchart of a method for repairing abnormal operation of an application program provided by the second embodiment of the present application;
图3是本申请实施例提供的应用程序运行异常修复系统的功能模块示意图;3 is a schematic diagram of functional modules of a system for repairing abnormal operation of an application program provided by an embodiment of the present application;
图4是本申请实施例提供的移动终端的示意图;4 is a schematic diagram of a mobile terminal provided by an embodiment of the present application;
图5是图4所示移动终端的硬件环境的示意图。FIG. 5 is a schematic diagram of a hardware environment of the mobile terminal shown in FIG. 4 .
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
作为在本申请实施例中使用的“通信终端”(或简称为“终端”)包括,但不限于被设置成经由有线线路连接(如经由公共交换电话网络(PSTN)、数字用户线路(DSL)、数字电缆、直接电缆连接,以及/或另一数据连接/网络)和/或经由(例如,针对蜂窝网络、无线局域网(WLAN)、诸如DVB-H网络的数字电视网络、卫星网络、AM-FM广播发送器,以及/或另一通信终端的)无线接口接收/发送通信信号的装置。被设置成通过无线接口通信的通信终端可以被称为“无线通信终端”、“无线终端”以及/或“移动终端”。移动终端的示例包括,但不限于卫星或蜂窝电话;可以组合蜂窝无线电电话与数据处理、传真以及数据通信能力的个人通信系统(PCS)终端;可以包括无线电电话、寻呼机、因特网/内联网接入、Web浏览器、记事簿、日历以及/或全球定位系统(GPS)接收器的PDA;以及常规膝上型和/或掌上型接收器或包括无线电电话收发器的其它电子装置。下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。A "communication terminal" (or simply a "terminal") as used in the embodiments of the present application includes, but is not limited to, is configured to be connected via a wired line (eg, via a public switched telephone network (PSTN), a digital subscriber line (DSL) , digital cable, direct cable connection, and/or another data connection/network) and/or via (eg, for cellular networks, wireless local area networks (WLAN), digital television networks such as DVB-H networks, satellite networks, AM- FM broadcast transmitter, and/or another communication terminal's) wireless interface to receive/transmit communication signals. A communication terminal arranged to communicate over a wireless interface may be referred to as a "wireless communication terminal", a "wireless terminal" and/or a "mobile terminal". Examples of mobile terminals include, but are not limited to, satellite or cellular telephones; Personal Communication System (PCS) terminals that may combine cellular radio telephones with data processing, fax, and data communication capabilities; may include radio telephones, pagers, Internet/Intranet access , a PDA with a web browser, memo pad, calendar, and/or a global positioning system (GPS) receiver; and conventional laptop and/or palm receivers or other electronic devices including radiotelephone transceivers. The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application.
请参阅图1,本申请第一实施例提供一种应用程序运行异常修复方法。该应用程序运行异常修复方法通过自动地排查移动终端的应用程序发生运行异常的原因,并进行修复,能够简化应用程序出现运行异常时的修复步骤。在本发明实施例中,该应用程序的实例包括但不限于为:软件商店(如google商店、OPPO商店等)、购物软件(如手机淘宝、手机京东等)、游戏软件、阅读软件、音乐软件。上述的应用程序运行异常修复方法,在实际应用时,应用于移动终端,该应用程序也称为APP或应用、应用软件或软件。优选地,在一些实施方式中,该移动终端为手机或平板电脑,该移动终端的操作系统为安卓系统,该应用程序为google商店,该应用程序运行异常修复方法应用于google商店的运行异常修复。Referring to FIG. 1 , a first embodiment of the present application provides a method for repairing abnormal operation of an application program. The method for repairing abnormal operation of an application program can simplify the repairing steps when the abnormal operation of the application program occurs by automatically checking the cause of the abnormal operation of the application program of the mobile terminal and repairing it. In this embodiment of the present invention, examples of the application include, but are not limited to, software stores (such as google stores, OPPO stores, etc.), shopping software (such as mobile Taobao, mobile Jingdong, etc.), game software, reading software, music software . The above-mentioned method for repairing abnormal operation of an application program is applied to a mobile terminal in actual application, and the application program is also called APP or application, application software or software. Preferably, in some embodiments, the mobile terminal is a mobile phone or a tablet computer, the operating system of the mobile terminal is an Android system, the application program is the google store, and the method for repairing abnormal operation of the application program is applied to the operation abnormality repairing of the google store .
在一些实施例中,上述的应用程序运行异常修复方法应用于如图3所示的应用程序运行异常修复系统300以及配置有该应用程序运行异常修复系统300的移动终端100(图4)。移动终端100的实例包括但不限于:手机、平板电脑、智能相机或者便携式计算机等移动终端设备。上述的应用程序运行异常修复方法可以包括以下步骤:In some embodiments, the above application program abnormality repairing method is applied to the application program operation abnormality repairing system 300 shown in FIG. 3 and the mobile terminal 100 ( FIG. 4 ) configured with the application program operation abnormality repairing system 300 . Examples of the mobile terminal 100 include, but are not limited to, mobile terminal devices such as mobile phones, tablet computers, smart cameras, or portable computers. The above-mentioned method for repairing abnormal operation of an application program may include the following steps:
步骤S101:应用程序出现运行异常时,检测移动终端的国际移动设备识别码(International Mobile Equipment Identity,简称IMEI码)是否正常,若不正常,则执行步骤S103,若正常,则执行步骤S105。Step S101: When the application program runs abnormally, check whether the International Mobile Equipment Identity (IMEI code) of the mobile terminal is normal, if not, go to step S103, if it is normal, go to step S105.
进一步地,在启动运行异常修复的步骤之前,检测应用程序的运行状态,并在检测到应用程序运行出现异常或检测到应用程序发出运行异常报错时,自动地进一步检测移动终端的IMEI码是否正常,若不正常,则执行步骤S103,若正常,则执行步骤S105。在一些实施方式中,应用程序出现运行异常时,可以由用户启动运行异常修复的步骤,例如,移动终端中内置异常修复选项,若用户发现应用程序出现运行异常,则启动运行异常修复选项,移动终端则开始执行步骤S101。Further, before starting the step of repairing the abnormal operation, the running state of the application program is detected, and when it is detected that the application program is running abnormally or it is detected that the application program sends out an abnormal operation error, it is further detected automatically whether the IMEI code of the mobile terminal is normal. , if it is not normal, go to step S103, if it is normal, go to step S105. In some embodiments, when the application program runs abnormally, the user can initiate the operation abnormality repairing step. For example, an abnormality repairing option is built in the mobile terminal. The terminal starts to execute step S101.
在本发明实施方式中,应用程序的运行异常表现可以包括但不限于包括:闪退、白屏、执行功能运行异常等。例如,以google商店作为应用程序的例子,其运行异常表现可以包括但不限于包括:闪退、白屏、无法下载应用软件等。In the embodiment of the present invention, the abnormal running performance of the application program may include, but is not limited to, including: flashback, white screen, abnormal running of execution functions, and the like. For example, taking the google store as an example of an application, its abnormal running performance may include, but is not limited to, flashback, white screen, failure to download application software, and the like.
国际移动设备识别码(简称IMEI码),是由15位数字组成的“电子串号”,它与每台移动终端(如移动电话机)一一对应,而且每台移动中的IMEI码是全世界唯一的。每台移动终端在组装完成后都将被赋予一个全球唯一的一组IMEI码,该IMEI码从生产到交付使用都将被生产厂商所记录。The International Mobile Equipment Identity (IMEI for short) is an "electronic serial number" composed of 15 digits, which corresponds to each mobile terminal (such as a mobile phone) one-to-one, and the IMEI code in each mobile is full. The only one in the world. Each mobile terminal will be assigned a unique set of IMEI codes in the world after assembly, and the IMEI codes will be recorded by the manufacturer from production to delivery.
由于应用程序在运行时依赖应用程序服务,而应用程序服务在启动时会检测IMEI码,若IMEI码产生异常,应用程序也会发生运行异常。例如,以google商店作为应用程序的例子,在实际运行中google商店依赖google服务,而google服务会检测IMEI码是否正常,若IMEI码产生异常,必然会导致google商店运行异常。Since the application relies on the application service at runtime, and the application service will detect the IMEI code when it is started, if the IMEI code is abnormal, the application will also run abnormally. For example, taking the google store as an example of an application, in actual operation, the google store relies on the google service, and the google service will detect whether the IMEI code is normal. If the IMEI code is abnormal, it will inevitably cause the google store to run abnormally.
在本发明实施方式中,IMEI码可能发生的异常情况包括:IMEI码为空,IMEI码不规范(包括字符长度不规范、检验码不规范等)等情况。进一步地,检测移动终端的国际移动设备识别码是否正常,可以包括以下检测步骤中的任一个或多个步骤的组合:检测国际移动设备识别码是否为空、检测国际移动设备识别码的长度是否规范、检测国际移动设备识别码的检验码是否规范。In the embodiment of the present invention, the abnormal situations that may occur in the IMEI code include: the IMEI code is empty, the IMEI code is not standardized (including irregular character length, irregular check code, etc.) and the like. Further, detecting whether the International Mobile Equipment Identity of the mobile terminal is normal, can include any one or a combination of steps in the following detection steps: detecting whether the International Mobile Equipment Identity is empty, detecting whether the length of the International Mobile Equipment Identity is not. Standardize and check whether the verification code of the International Mobile Equipment Identity is standardized.
在一些实施方式中,IMEI码可能发生的异常情况还包括:移动终端上的IMEI码与其包装盒上标明的IMEI码不同。此时,需用户比对移动终端上的IMEI码和其包装盒上标明的IMEI码。在此情况下,步骤S101可以为:应用程序出现运行异常时,提示用户检查移动终端的国际移动设备识别码(International Mobile Equipment Identity,简称IMEI码)是否正常,若不正常,则执行步骤S103,若正常,则执行步骤S107。进一步地,检测到应用程序出现运行异常时,进一步提示用户检查移动终端的IMEI码是否正常,若接收到用户判断IMEI码不正常的指令,则执行步骤S103,若接收到用户判断IMEI码正常的指令,则执行步骤S105。In some embodiments, the possible abnormal situation of the IMEI code further includes: the IMEI code on the mobile terminal is different from the IMEI code marked on the packaging box. At this time, the user needs to compare the IMEI code on the mobile terminal with the IMEI code marked on the packaging box. In this case, step S101 may be: when the application program runs abnormally, prompting the user to check whether the International Mobile Equipment Identity (IMEI code for short) of the mobile terminal is normal, if not, then execute step S103, If it is normal, step S107 is executed. Further, when it is detected that the application program runs abnormally, the user is further prompted to check whether the IMEI code of the mobile terminal is normal. instruction, step S105 is executed.
步骤S103:提示IMEI码异常,并退出修复,程序结束。Step S103: Prompt that the IMEI code is abnormal, exit the repair, and end the procedure.
进一步地,以弹窗的形式在移动终端的显示界面中提示IMEI码异常,并退出修复。此时,需用户寻求移动终端售后服务的帮助。进一步地,在一些实施方式中,若IMEI码异常,提示用户IMEI码异常的同时,提示用户寻求移动终端售后服务的帮助。Further, in the form of a pop-up window, an abnormal IMEI code is prompted in the display interface of the mobile terminal, and the repair is exited. At this time, the user needs to seek help from the after-sales service of the mobile terminal. Further, in some embodiments, if the IMEI code is abnormal, the user is prompted to seek help for after-sales service of the mobile terminal while the IMEI code is abnormal.
步骤S105:检测移动终端的系统时间是否正常,若不正常,则执行步骤S107,若正常,则执行步骤S111。Step S105: Detect whether the system time of the mobile terminal is normal, if not, go to step S107, and if it is normal, go to step S111.
进一步地,检测移动终端的系统时间与移动终端所处当地时间是否一致,若一致,则认为移动终端的系统时间正常,若不一致,则认为移动终端的系统时间不正常。Further, it is detected whether the system time of the mobile terminal is consistent with the local time where the mobile terminal is located. If they are consistent, the system time of the mobile terminal is considered to be normal.
进一步地,在一些实施方式中,检测移动终端的系统时间是否正常,包括步骤:获取移动终端所处当地时间,获取移动终端的系统时间,比较移动终端的系统时间与移动终端所处当地时间是否一致,若一致,则认为移动终端的系统时间正常,若不一致,则认为移动终端的系统时间不正常。Further, in some embodiments, detecting whether the system time of the mobile terminal is normal includes the steps of: acquiring the local time where the mobile terminal is located, acquiring the system time of the mobile terminal, and comparing whether the system time of the mobile terminal and the local time where the mobile terminal is located are If they are consistent, it is considered that the system time of the mobile terminal is normal, and if they are inconsistent, it is considered that the system time of the mobile terminal is abnormal.
步骤S107:矫正移动终端的系统时间。进一步地,自动地矫正移动终端的系统时间,将移动终端的系统时间修正为移动终端所处当地的时间。Step S107: Correct the system time of the mobile terminal. Further, the system time of the mobile terminal is automatically corrected, and the system time of the mobile terminal is corrected to the local time where the mobile terminal is located.
在一些实施方式中,可以在接收用户矫正时间的指令后,自动地矫正移动终端的系统时间。例如,当检测到移动终端的系统时间不正常时,向用户发出是否矫正时间的询问,若用户确认矫正时间,则自动地矫正移动终端的系统时间。In some embodiments, the system time of the mobile terminal may be automatically corrected after receiving an instruction from the user to correct the time. For example, when it is detected that the system time of the mobile terminal is abnormal, a query is sent to the user whether to correct the time, and if the user confirms the correct time, the system time of the mobile terminal is automatically corrected.
步骤S109:检测应用程序运行异常是否解决,若已解决,则结束,若未解决,则执行步骤S111。Step S109: Detect whether the abnormality of the running of the application program is resolved, if it is resolved, end, if not, perform step S111.
步骤S111:检测应用程序的禁用状态是否正常,若不正常,则执行步骤S113,若正常,则执行步骤S117。Step S111: Detect whether the disabled state of the application program is normal, if not, go to step S113, and if it is normal, go to step S117.
进一步地,应用程序的禁用状态包括应用程序服务的禁用状态以及应用程序框架的禁用状态,在步骤S111中,检测应用程序服务的禁用状态以及应用程序框架的禁用状态,若应用程序服务、应用程序框架二者的均未被禁用,则认为应用程序的禁用状态正常,也即,应用程序未处于禁用状态;若应用程序服务、应用程序框架二者的其中之一被禁用,则认为应用程序的禁用状态不正常,也即,应用程序处于禁用状态。例如,以google商店作为应用程序的例子,在实际运行中google商店依赖google服务以及google框架,若google服务以及google框架中的任一个被禁用,则google商店处于禁用状态,必然会导致google商店运行异常。Further, the disabled state of the application includes the disabled state of the application service and the disabled state of the application framework. In step S111, the disabled state of the application service and the disabled state of the application framework are detected. If neither of the frameworks is disabled, it is considered that the disabled state of the application is normal, that is, the application is not in the disabled state; if one of the application service and the application framework is disabled, it is considered that the application The disabled state is abnormal, that is, the application is disabled. For example, taking google store as an example of an application, in actual operation, google store relies on google services and google framework. If either google service or google framework is disabled, google store is in a disabled state, which will inevitably cause google store to run. abnormal.
步骤S113:解除应用程序的禁用。Step S113: Release the disabling of the application.
进一步地,解除应用程序的禁用,包括解除应用程序服务的禁用以及解除应用程序框架的禁用,使移动终端对应用程序的禁用状态恢复正常。例如,以google商店作为应用程序的例子,在实际运行中google商店依赖google服务以及google框架,解除google商店的禁用时,同时解除google服务以及google框架的禁用,使google商店的禁用状态恢复正常。Further, the disabling of the application program includes disabling the disabling of the application program service and the disabling of the application program framework, so that the disabled state of the application program by the mobile terminal is restored to normal. For example, taking google store as an example of an application, in actual operation, google store relies on google services and google framework. When the disabling of google store is released, the disabling of google service and google framework is simultaneously released, so that the disabled state of google store returns to normal.
步骤S115:检测应用程序运行异常是否解决,若已解决,则结束,若未解决,则执行步骤S117。Step S115: Detect whether the abnormality of the running of the application program is resolved, if it is resolved, the process ends, and if it is not resolved, step S117 is performed.
步骤S117:清除应用程序的应用数据。Step S117: Clear application data of the application.
进一步地,清除应用程序的应用数据,包括清除应用程序服务、应用程序框架以及应用程序本身的数据。例如,以google商店作为应用程序的例子,在实际运行中google商店依赖google服务以及google框架,清除google商店的应用数据时,同时清除google服务、google框架以及google商店本身的数据。Further, clearing the application data of the application includes clearing the application service, the application framework and the data of the application itself. For example, taking the google store as an example of an application, in actual operation, the google store relies on the google service and the google framework. When clearing the application data of the google store, the data of the google service, the google framework and the google store itself are also cleared.
步骤S119:检测应用程序运行异常是否解决,若已解决,则结束,若未解决,则执行步骤S121。Step S119 : Detect whether the abnormality of the running of the application program is resolved, if it is resolved, end, if not, perform step S121 .
步骤S121:切换应用程序的登录帐号。进一步地,切换应用程序的登录帐号,包括:退出当前登录的应用程序账号,并接收用户登录的另一账号,登录应用程序。Step S121: Switch the login account of the application. Further, switching the login account of the application program includes: logging out of the currently logged in application program account, and receiving another account logged in by the user to log in to the application program.
步骤S123:检测应用程序运行异常是否解决,若已解决,则结束,若未解决,则执行步骤S125。Step S123 : Detect whether the abnormality of the running of the application program is resolved, if it is resolved, the process ends, and if it is not resolved, step S125 is performed.
步骤S125:恢复应用程序的原始版本,程序结束。Step S125: The original version of the application is restored, and the procedure ends.
应当理解的是,恢复应用程序的原始版本,也称“卸载更新应用程序”,即,卸载更新之后的应用程序,使应用程序的版本恢复为原始版本。该原始版本应当理解为应用程序出厂时的出厂版本。It should be understood that restoring the original version of the application is also referred to as "uninstalling the updated application", that is, uninstalling the updated application to restore the version of the application to the original version. The original version should be understood as the factory version of the application when it was shipped from the factory.
相对于现有技术,本实施例提供的应用程序运行异常修复方法,能够在应用程序发生运行异常的时候,自动地排查运行异常原因,不需要用户寻求售后服务的帮助,在较大程度上能够帮助用户解决应用程序运行异常的修复,充分简化了用户操作,提高修复效率,用户的使用体验得到改善。另外,通过自动地、逐一地排查移动终端以及应用程序的运行异常,并在发现运行异常时及时地修复运行异常,在每个运行异常的原因修复后,均确认应用程序运行异常是否解决,若已解决,则结束,若未解决,则继续排查运行异常,能够提高应用程序修复的效率以及成功率。Compared with the prior art, the method for repairing abnormal operation of an application program provided by this embodiment can automatically check the cause of abnormal operation when an application program is abnormally operating, without requiring the user to seek after-sales service assistance, and to a large extent. Help users solve the repair of abnormal operation of the application, fully simplify the user operation, improve the repair efficiency, and improve the user experience. In addition, by automatically and one by one checking the running abnormality of the mobile terminal and the application program, and repairing the running abnormality in time when the running abnormality is found, after the cause of each running abnormality is repaired, it is confirmed whether the running abnormality of the application program is solved. If it has been solved, it will end. If it has not been solved, continue to check the operation abnormality, which can improve the efficiency and success rate of application repair.
请同时参阅图2,基于上述第一实施例的应用程序运行异常修复方法,本申请第二实施例还提供另一种应用程序运行异常修复方法,第二实施例的应用程序运行异常修复方法通过自动地排查移动终端的应用程序发生运行异常的原因,并进行修复,能够简化应用程序发生运行异常时的修复步骤。在具体的实施例中,应用程序运行异常修复方法应用于如图3所示的应用程序运行异常修复系统300以及配置有该应用程序运行异常修复系统300的移动终端100(图4)。本申请第二实施例提供的应用程序运行异常修复方法可以包括以下步骤:Please also refer to FIG. 2 , based on the method for repairing abnormal running of an application program in the first embodiment, the second embodiment of the present application further provides another method for repairing abnormal running of an application program. The method for repairing abnormal running of an application program in the second embodiment is The reason for the abnormal operation of the application program of the mobile terminal is automatically checked and repaired, which can simplify the repair steps when the application program of the mobile terminal is abnormally operated. In a specific embodiment, the method for repairing abnormal execution of an application program is applied to the system 300 for repairing abnormal operation of an application program as shown in FIG. The method for repairing abnormal running of an application program provided by the second embodiment of the present application may include the following steps:
步骤S201:应用程序出现运行异常时,检测移动终端本机是否正常,若不正常,则修复移动终端本机的异常状态,并在修复成功后执行步骤S203,若不能修复则结束;若移动终端本机正常,则执行步骤S205。Step S201: When the application program runs abnormally, it is detected whether the mobile terminal is normal. If it is not normal, the abnormal state of the mobile terminal is repaired, and step S203 is performed after the repair is successful. If it cannot be repaired, end; If the local machine is normal, step S205 is executed.
在本实施例中,应用程序出现运行异常时,检测移动终端本机的状态是否正常,上述的移动终端本机的状态包括:移动终端的IMEI码以及移动终端的系统时间。若移动终端的IMEI码以及移动终端的系统时间均为正常状态,则认为移动终端本机的状态正常,若移动终端的IMEI码以及移动终端的系统时间其中之一不正常,则认为移动终端本机的状态不正常。在步骤S201中,检测并修复移动终端本机的状态,可以通过第一实施例中的步骤S101、S103、S105、S107来实现,本说明书不作一一赘述。In this embodiment, when the application program runs abnormally, it is detected whether the state of the mobile terminal is normal, and the state of the mobile terminal includes: the IMEI code of the mobile terminal and the system time of the mobile terminal. If the IMEI code of the mobile terminal and the system time of the mobile terminal are both normal, it is considered that the local state of the mobile terminal is normal. The state of the machine is abnormal. In step S201, the state of the mobile terminal itself is detected and repaired, which can be implemented through steps S101, S103, S105, and S107 in the first embodiment, which will not be described in detail in this specification.
步骤S203:检测应用程序运行异常是否解决,若已解决,则结束,若未解决,则执行步骤S205。Step S203: Detect whether the abnormality of the running of the application program is resolved, if it has been resolved, it will end, and if it has not been resolved, then step S205 will be executed.
步骤S205:检测应用程序本身是否存在异常,若是,则修复应用程序本身的异常,若否,则执行步骤S207。Step S205: Detect whether the application program itself is abnormal, if so, repair the abnormality of the application program itself, if not, execute step S207.
通过步骤S201对移动终端本机的修复之后,或在移动终端本机的状态正常的情况下,若应用程序运行异常依然存在,则进一步地检测应用程序本身是否存在异常,若应用程序本身存在异常,则需修复应用程序本身存在的异常。在本实施方式中,应用程序本身存在的异常,可以包括:应用程序的禁用状态异常、应用程序的数据异常。After the repair of the mobile terminal itself through step S201, or in the case that the state of the mobile terminal itself is normal, if the abnormal operation of the application program still exists, then further detect whether the application program itself is abnormal, if the application program itself is abnormal , you need to fix the exception that exists in the application itself. In this embodiment, the abnormality existing in the application program itself may include: abnormality in the disabled state of the application program, and abnormality in the data of the application program.
在一些实施方式中,修复应用程序的禁用状态异常,包括:检测移动终端关于应用程序的禁用状态是否正常,若移动终端禁用了应用程序,则认为移动终端关于应用程序的禁用状态不正常,也即,应用程序的禁用状态异常。进一步地,应用程序的禁用状态包括应用程序服务的禁用状态以及应用程序框架的禁用状态,若应用程序服务、应用程序框架二者均未被禁用,则认为应用程序的禁用状态正常;若应用程序服务、应用程序框架二者的其中之一被禁用,则认为应用程序的禁用状态异常。在步骤S205中,检测并修复应用程序的禁用异常,可以通过第一实施例中的步骤S111、S113来实现,本说明书不作一一赘述。In some implementation manners, repairing the abnormal disabled state of the application includes: detecting whether the disabled state of the mobile terminal about the application is normal, if the mobile terminal disables the application, it is considered that the disabled state of the mobile terminal about the application is abnormal, and also That is, the disabled state of the application is abnormal. Further, the disabled state of the application includes the disabled state of the application service and the disabled state of the application framework. If neither the application service nor the application framework is disabled, it is considered that the disabled state of the application is normal; If one of the service and the application framework is disabled, the disabled state of the application is considered abnormal. In step S205 , detecting and repairing the disabled abnormality of the application program can be implemented through steps S111 and S113 in the first embodiment, which will not be described in detail in this specification.
在一些实施方式中,步骤S205可以进一步地清除应用程序的数据以修复应用程序本身的异常,此时,步骤S205可以通过第一实施例中的步骤S117实现。换而言之,在一些实施方式中,步骤S205可以包括第一实施例中的步骤S111、S113、S115、S117,本说明书不作一一赘述。In some embodiments, step S205 may further clear the data of the application program to repair the abnormality of the application program itself. In this case, step S205 may be implemented by step S117 in the first embodiment. In other words, in some embodiments, step S205 may include steps S111 , S113 , S115 , and S117 in the first embodiment, which will not be described in detail in this specification.
步骤S207:检测应用程序运行异常是否解决,若已解决,则结束,若未解决,则执行步骤S209。Step S207: Detect whether the abnormality of the running of the application program is resolved, if it is resolved, the process ends, and if it is not resolved, step S209 is executed.
步骤S209:切换应用程序的登录帐号。Step S209: Switch the login account of the application.
通过步骤S205对应用程序本身异常的修复之后,或在应用程序本身正常的情况下,若应用程序运行异常依然存在,则可认为应用程序运行异常是由登录帐号异常所导致,则需切换应用程序的登录账号以进一步排除应用程序运行异常原因。进一步地,切换应用程序的登录帐号,包括:退出当前登录的应用程序账号,并接收用户登录的另一账号,登录应用程序。After the abnormality of the application itself is repaired in step S205, or if the application itself is normal, if the abnormality of the application program still exists, it can be considered that the abnormality of the application program is caused by the abnormal login account, and the application program needs to be switched. login account to further rule out the reason for the abnormal operation of the application. Further, switching the login account of the application program includes: logging out of the currently logged in application program account, and receiving another account logged in by the user to log in to the application program.
步骤S211:检测应用程序运行异常是否解决,若已解决,则结束,若未解决,则执行步骤S213。Step S211: Detect whether the abnormality of the running of the application program is resolved, if it is resolved, end, if not, perform step S213.
步骤S213:恢复应用程序的原始版本,程序结束。Step S213: Restore the original version of the application program, and the program ends.
应当理解的是,恢复应用程序的原始版本,也称“卸载更新应用程序”,即,卸载更新之后的应用程序,使应用程序的版本恢复为原始版本。该原始版本应当理解为应用程序出厂时的出厂版本。It should be understood that restoring the original version of the application is also referred to as "uninstalling the updated application", that is, uninstalling the updated application to restore the version of the application to the original version. The original version should be understood as the factory version of the application when it was shipped from the factory.
相对于现有技术,本实施例提供的应用程序运行异常修复方法,能够在应用程序发生运行异常的时候,首先排查移动终端本机的异常状态并修复,在应用程序的运行异常未解决的情况下继续排查应用程序本身存在的异常,通过自动地排查运行异常原因进行运行异常修复,在较大程度上能够帮助用户解决应用程序运行异常的修复,充分简化了用户操作,提高修复效率,用户的使用体验得到改善。Compared with the prior art, the method for repairing the abnormal operation of the application program provided by this embodiment can firstly check the abnormal state of the mobile terminal and repair it when the abnormal operation of the application program occurs. Continue to check the abnormality of the application itself, and repair the abnormal operation by automatically checking the cause of the abnormal operation, which can help the user to solve the repair of the abnormal operation of the application program to a large extent, which fully simplifies the user operation and improves the repair efficiency. The user experience is improved.
请参阅图3,基于上述实施例提供的应用程序运行异常修复方法,本申请实施方式提供一种应用程序运行异常修复系统300,运行于如图4所示的移动终端100上。应用程序运行异常修复系统300用于执行上述的应用程序运行异常修复方法,以通过自动地排查移动终端的应用程序发生运行异常的原因,并进行修复,能够简化应用程序出现运行异常时的修复步骤。在本申请实施方式中,应用程序运行异常修复系统300被存储在移动终端100的存储器中,并被配置为由移动终端100的一个或多个处理器执行。Referring to FIG. 3 , based on the method for repairing abnormal operation of an application program provided by the above embodiment, an embodiment of the present application provides a system 300 for repairing abnormal operation of an application program, which runs on the mobile terminal 100 as shown in FIG. 4 . The system 300 for repairing abnormal operation of an application program is configured to execute the above-mentioned method for repairing abnormal operation of an application program, so as to automatically check the cause of abnormal operation of an application program of a mobile terminal and repair it, so as to simplify the repair steps when an abnormal operation of an application program occurs . In the embodiment of the present application, the application program abnormality repair system 300 is stored in the memory of the mobile terminal 100 and is configured to be executed by one or more processors of the mobile terminal 100 .
具体在图3所示的实施例中,应用程序运行异常修复系统300包括本机修复模块310、应用程序修复模块320、账号切换模块330、异常判定模块340以及恢复模块350。本机修复模块310用于在应用程序出现运行异常时,检测移动终端本机是否正常,并用于在移动终端本机异常时修复移动终端本机的异常状态。应用程序修复模块320用于修复应用程序本身存在的异常。账号切换模块330用于切换应用程序的登录账号。异常判定模块340用于在本机修复模块310、应用程序修复模块320以及账号切换模块330中的任一个执行修复步骤后检测应用程序运行异常是否解决。恢复模块350用于恢复应用程序的原始版本。可以理解的是,上述各模块可以为运行于计算机可读存储介质中的程序模块,上述各个模块的用途及工作具体如下:Specifically, in the embodiment shown in FIG. 3 , the system 300 for repairing abnormal operation of an application program includes a local repair module 310 , an application program repair module 320 , an account switching module 330 , an abnormality determination module 340 and a recovery module 350 . The local repair module 310 is used to detect whether the local machine of the mobile terminal is normal when the application program runs abnormally, and is used to repair the abnormal state of the local machine of the mobile terminal when the local machine of the mobile terminal is abnormal. The application repair module 320 is used to repair the abnormality existing in the application itself. The account switching module 330 is used for switching the login account of the application. The abnormality determination module 340 is configured to detect whether the abnormality of the running of the application is resolved after any one of the local repairing module 310, the application repairing module 320 and the account switching module 330 performs the repairing step. The restore module 350 is used to restore the original version of the application. It can be understood that the above-mentioned modules can be program modules running in a computer-readable storage medium, and the purpose and work of each of the above-mentioned modules are as follows:
本机修复模块310用于在应用程序出现运行异常时,检测移动终端本机是否正常,若不正常,则修复移动终端本机的异常状态。进一步地,本机修复模块310包括IMEI检测单元311以及系统时间检测单元313。The local repair module 310 is used to detect whether the local machine of the mobile terminal is normal when the application program runs abnormally, and if not, repair the abnormal state of the local machine of the mobile terminal. Further, the local repair module 310 includes an IMEI detection unit 311 and a system time detection unit 313 .
IMEI检测单元311用于检测移动终端的国际移动设备识别码(InternationalMobile Equipment Identity,简称IMEI码)是否正常,并用于在IMEI码异常时,提示IMEI码异常。进一步地,IMEI检测单元311用于以弹窗的形式在移动终端的显示界面中提示IMEI码异常,并退出修复。此时,需用户寻求移动终端售后服务的帮助。进一步地,在一些实施方式中,若IMEI码异常,IMEI检测单元311用于提示用户IMEI码异常的同时,还用于提示用户寻求移动终端售后服务的帮助。The IMEI detection unit 311 is configured to detect whether the International Mobile Equipment Identity (IMEI code for short) of the mobile terminal is normal, and to indicate that the IMEI code is abnormal when the IMEI code is abnormal. Further, the IMEI detection unit 311 is configured to prompt an abnormal IMEI code in the display interface of the mobile terminal in the form of a pop-up window, and exit the repair. At this time, the user needs to seek help from the after-sales service of the mobile terminal. Further, in some embodiments, if the IMEI code is abnormal, the IMEI detection unit 311 is used for not only prompting the user that the IMEI code is abnormal, but also prompting the user to seek help for after-sales service of the mobile terminal.
系统时间检测单元313用于检测移动终端的系统时间是否正常,并在移动终端的系统时间不正常时矫正系统时间。进一步地,系统时间检测单元313用于检测移动终端的系统时间与移动终端所处当地时间是否一致,若一致,则认为移动终端的系统时间正常,若不一致,则认为移动终端的系统时间不正常。The system time detection unit 313 is configured to detect whether the system time of the mobile terminal is normal, and correct the system time when the system time of the mobile terminal is abnormal. Further, the system time detection unit 313 is used to detect whether the system time of the mobile terminal is consistent with the local time where the mobile terminal is located. If they are consistent, the system time of the mobile terminal is considered to be normal. If they are inconsistent, the system time of the mobile terminal is considered to be abnormal. .
进一步地,在一些实施方式中,系统时间检测单元313用于获取移动终端所处当地时间,获取移动终端的系统时间,比较移动终端的系统时间与移动终端所处当地时间是否一致,若一致,则认为移动终端的系统时间正常,若不一致,则认为移动终端的系统时间不正常。Further, in some embodiments, the system time detection unit 313 is configured to obtain the local time of the mobile terminal, obtain the system time of the mobile terminal, and compare whether the system time of the mobile terminal is consistent with the local time of the mobile terminal. The system time of the mobile terminal is considered to be normal, and if it is inconsistent, the system time of the mobile terminal is considered to be abnormal.
进一步地,系统时间检测单元313还用于在接收用户矫正时间的指令后,矫正移动终端的系统时间。例如,当检测到移动终端的系统时间不正常时,系统时间检测单元313用于向用户发出是否矫正时间的询问,若用户确认矫正时间,则系统时间检测单元313矫正移动终端的系统时间。Further, the system time detection unit 313 is further configured to correct the system time of the mobile terminal after receiving the user's instruction to correct the time. For example, when it is detected that the system time of the mobile terminal is abnormal, the system time detection unit 313 is configured to send a query to the user whether to correct the time. If the user confirms the correct time, the system time detection unit 313 corrects the system time of the mobile terminal.
在一些实施方式中,本机修复模块310还包括异常检测单元315,异常检测单元315用于检测应用程序的运行异常。进一步地,异常检测单元315用于检测应用程序出现运行异常或检测应用程序发出的运行异常报错,使应用程序运行异常修复系统300能够及时获知应用程序运行异常并执行修复。In some embodiments, the native repair module 310 further includes an anomaly detection unit 315, and the anomaly detection unit 315 is configured to detect the running anomaly of the application program. Further, the abnormality detection unit 315 is configured to detect the abnormal operation of the application program or detect the abnormal operation of the application program to report an error, so that the application program abnormality repair system 300 can timely know the abnormal operation of the application program and perform the repair.
应用程序修复模块320用于修复应用程序本身存在的异常。通过本机修复模块对移动终端本机的修复之后,或在移动终端本机的状态正常的情况下,若应用程序运行异常依然存在,则应用程序修复模块320用于判定应用程序运行异常是由本身的异常所导致,应用程序修复模块320用于修复应用程序本身存在的异常。应用程序修复模块320包括禁用状态检测单元321以及数据清除单元323。The application repair module 320 is used to repair the abnormality existing in the application itself. After the local machine of the mobile terminal is repaired by the local repair module, or when the state of the mobile terminal is normal, if the abnormal operation of the application program still exists, the application program repair module 320 is used to determine whether the abnormal operation of the application program is caused by The application repairing module 320 is used to repair the abnormality existing in the application itself. The application repair module 320 includes a disabled state detection unit 321 and a data clearing unit 323 .
禁用状态检测单元321用于应用程序的禁用状态是否正常,并在应用程序的禁用状态异常时,解除应用程序的禁用。进一步地,禁用状态检测单元321用于检测应用程序服务的禁用状态以及应用程序框架的禁用状态,若应用程序服务、应用程序框架二者的均未被禁用,则认为应用程序的禁用状态正常;若应用程序服务、应用程序框架二者的其中之一被禁用,则认为应用程序的禁用状态不正常。进一步地,禁用状态检测单元321还用于解除应用程序服务、应用程序框架的禁用,使移动终端对应用程序的禁用状态恢复正常。The disabling state detection unit 321 is used for whether the disabling state of the application program is normal, and when the disabling state of the application program is abnormal, cancel the disabling of the application program. Further, the disabled state detection unit 321 is used to detect the disabled state of the application program service and the disabled state of the application program framework, if both of the application program service and the application program framework are not disabled, then the disabled state of the application program is considered to be normal; If one of the application service and the application framework is disabled, it is considered that the disabled state of the application is abnormal. Further, the disabling state detection unit 321 is further configured to cancel the disabling of the application program service and the application program framework, so that the disabling state of the application program by the mobile terminal is restored to normal.
数据清除单元323清除应用程序的应用数据。进一步地,数据清除单元323用于清除应用程序服务、应用程序框架以及应用程序本身的数据。The data clearing unit 323 clears application data of the application. Further, the data clearing unit 323 is used to clear the data of the application service, the application framework and the application itself.
账号切换模块330用于切换应用程序的登录帐号。进一步地,账号切换模块330用于退出当前登录的应用程序账号,并接收用户登录的另一账号,登录应用程序。The account switching module 330 is used for switching the login account of the application. Further, the account switching module 330 is configured to log out of the currently logged in application account, and receive another account logged in by the user to log in to the application.
相对于现有技术,本实施例提供的应用程序运行异常修复系统,能够在应用程序发生运行异常的时候,首先排查移动终端本机的异常状态并修复,在应用程序的运行异常未解决的情况下继续排查应用程序本身存在的异常,通过自动地排查运行异常原因进行运行异常修复,在较大程度上能够帮助用户解决应用程序运行异常的修复,充分简化了用户操作,提高修复效率,用户的使用体验得到改善。Compared with the prior art, the system for repairing the abnormal operation of the application program provided by this embodiment can firstly check the abnormal state of the mobile terminal and repair it when the abnormal operation of the application program occurs. Continue to check the abnormality of the application itself, and repair the abnormal operation by automatically checking the cause of the abnormal operation, which can help the user to solve the repair of the abnormal operation of the application program to a large extent, which fully simplifies the user operation and improves the repair efficiency. The user experience is improved.
请同时参阅图4及图5,基于上述的应用程序运行异常修复系统200及应用程序运行异常修复方法,本申请实施例还提供一种移动终端100,其包括电子本体部10,电子本体部10包括壳体12及设置在壳体12上的主显示屏14。壳体12可采用金属、如钢材、铝合金制成。本实施例中,主显示屏14通常包括显示面板111,也可包括用于响应对显示面板111进行触控操作的电路等。显示面板111可以为一个液晶显示面板(LiquidCrystalDisplay,LCD),在一些实施例中,显示面板111同时为一个触摸屏109。Please refer to FIG. 4 and FIG. 5 at the same time. Based on the system 200 for repairing abnormal operation of an application program and the method for repairing abnormal operation of an application program, an embodiment of the present application further provides a mobile terminal 100 , which includes an electronic body part 10 and an electronic body part 10 It includes a casing 12 and a main display screen 14 arranged on the casing 12 . The casing 12 can be made of metal, such as steel or aluminum alloy. In this embodiment, the main display screen 14 generally includes a display panel 111 , and may also include a circuit for responding to a touch operation on the display panel 111 , and the like. The display panel 111 may be a liquid crystal display panel (Liquid Crystal Display, LCD). In some embodiments, the display panel 111 is a touch screen 109 at the same time.
请参阅图5,在实际的应用场景中,移动终端100可作为智能手机终端进行使用,在这种情况下电子本体部10通常还包括一个或多个(图5中仅示出一个)处理器102、存储器104、射频(RadioFrequency,RF)模块106、音频电路110、传感器114、输入模块118、电源模块122、射频扫描模组124。本领域普通技术人员可以理解,图5所示的结构仅为示意,其并不对电子本体部10的结构造成限定。例如,电子本体部10还可包括比图5中所示更多或者更少的组件,或者具有与图5所示不同的配置。Referring to FIG. 5 , in an actual application scenario, the mobile terminal 100 can be used as a smart phone terminal. In this case, the electronic body 10 usually further includes one or more processors (only one is shown in FIG. 5 ) 102 , a memory 104 , a radio frequency (RF) module 106 , an audio circuit 110 , a sensor 114 , an input module 118 , a power module 122 , and a radio frequency scanning module 124 . Those skilled in the art can understand that the structure shown in FIG. 5 is only for illustration, and does not limit the structure of the electronic body portion 10 . For example, the electronic body 10 may also include more or fewer components than shown in FIG. 5 , or have a different configuration than that shown in FIG. 5 .
本领域普通技术人员可以理解,相对于处理器102来说,所有其他的组件均属于外设,处理器102与这些外设之间通过多个外设接口124相耦合。外设接口124可基于以下标准实现:通用异步接收/发送装置(UniversalAsynchronousReceiver/Transmitter,UART)、通用输入/输出(GeneralPurposeInputOutput,GPIO)、串行外设接口(SerialPeripheralInterface,SPI)、内部集成电路(Inter-IntegratedCircuit,I2C),但不并限于上述标准。在一些实例中,外设接口124可仅包括总线;在另一些实例中,外设接口124还可包括其他元件,如一个或者多个控制器,例如用于连接显示面板111的显示控制器或者用于连接存储器的存储控制器。此外,这些控制器还可以从外设接口124中脱离出来,而集成于处理器102内或者相应的外设内。Those of ordinary skill in the art can understand that, with respect to the processor 102 , all other components belong to peripheral devices, and the processor 102 and these peripheral devices are coupled through a plurality of peripheral device interfaces 124 . The peripheral interface 124 may be implemented based on the following standards: Universal Asynchronous Receiver/Transmitter (UART), General Purpose Input/Output (GPIO), Serial Peripheral Interface (SPI), Inter-Integrated Circuit (Inter -IntegratedCircuit, I2C), but not limited to the above standards. In some instances, the peripherals interface 124 may only include a bus; in other instances, the peripherals interface 124 may also include other elements, such as one or more controllers, such as a display controller for connecting to the display panel 111 or A storage controller for connecting to storage. In addition, these controllers can also be separated from the peripheral interface 124 and integrated in the processor 102 or in corresponding peripherals.
存储器104可用于存储软件程序以及模块,处理器102通过运行存储在存储器104内的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器104可进一步包括相对于处理器102远程设置的存储器,这些远程存储器可以通过网络连接至电子本体部10或主显示屏14。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 104 can be used to store software programs and modules, and the processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104 . Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, and these remote memories may be connected to the electronic body 10 or the main display screen 14 through a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
射频模块106用于接收以及发送电磁波,实现电磁波与电信号的相互转换,从而与通讯网络或者其他设备进行通讯。射频模块106可包括各种现有的用于执行这些功能的电路元件,例如,天线、射频收发器、数字信号处理器、加密/解密芯片、用户身份模块(SIM)卡、存储器等等。射频模块106可与各种网络如互联网、企业内部网、无线网络进行通讯或者通过无线网络与其他设备进行通讯。上述的无线网络可包括蜂窝式电话网、无线局域网或者城域网。上述的无线网络可以使用各种通信标准、协议及技术,包括但并不限于全球移动通信系统(GlobalSystemforMobileCommunication,GSM)、增强型移动通信技术(EnhancedDataGSMEnvironment,EDGE),宽带码分多址技术(widebandcodedivisionmultipleaccess,W-CDMA),码分多址技术(Codedivisionaccess,CDMA)、时分多址技术(timedivisionmultipleaccess,TDMA),无线保真技术(Wireless,Fidelity,WiFi)(如美国电气和电子工程师协会标准IEEE802.10A,IEEE802.11b,IEEE802.11g和/或IEEE802.11n)、网络电话(Voiceoverinternetprotocal,VoIP)、全球微波互联接入(WorldwideInteroperabilityforMicrowaveAccess,Wi-MaX)、其他用于邮件、即时通讯及短消息的协议,以及任何其他合适的通讯协议,甚至可包括那些当前仍未被开发出来的协议。The radio frequency module 106 is used for receiving and sending electromagnetic waves, realizing mutual conversion between electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The radio frequency module 106 may include various existing circuit elements for performing these functions, eg, antennas, radio frequency transceivers, digital signal processors, encryption/decryption chips, subscriber identity module (SIM) cards, memory, and the like. The radio frequency module 106 can communicate with various networks such as the Internet, an intranet, a wireless network, or communicate with other devices through a wireless network. The aforementioned wireless network may include a cellular telephone network, a wireless local area network, or a metropolitan area network. The above-mentioned wireless network can use various communication standards, protocols and technologies, including but not limited to Global System for Mobile Communication (GSM), enhanced mobile communication technology (Enhanced Data GSM Environment, EDGE), wideband code division multiple access technology (widebandcodeddivisionmultipleaccess, W-CDMA), code division multiple access technology (Codedivision access, CDMA), time division multiple access technology (time division multiple access, TDMA), wireless fidelity technology (Wireless, Fidelity, WiFi) (such as the American Institute of Electrical and Electronics Engineers standard IEEE802.10A, IEEE802.11b, IEEE802.11g and/or IEEE802.11n), Internet telephony (Voiceoverinternetprotocal, VoIP), Worldwide Interoperability for Microwave Access (Wi-Max), other protocols for mail, instant messaging and short messages, and Any other suitable communication protocol, even those that have not yet been developed.
音频电路110、扬声器101、声音插孔103、麦克风105共同提供用户与电子本体部10或主显示屏14之间的音频接口。具体地,音频电路110从处理器102处接收声音数据,将声音数据转换为电信号,将电信号传输至扬声器101。扬声器101将电信号转换为人耳能听到的声波。音频电路110还从麦克风105处接收电信号,将电信号转换为声音数据,并将声音数据传输给处理器102以进行进一步的处理。音频数据可以从存储器104处或者通过射频模块106获取。此外,音频数据也可以存储至存储器104中或者通过射频模块106进行发送。The audio circuit 110 , the speaker 101 , the sound jack 103 , and the microphone 105 together provide an audio interface between the user and the electronic body 10 or the main display screen 14 . Specifically, the audio circuit 110 receives sound data from the processor 102 , converts the sound data into electrical signals, and transmits the electrical signals to the speaker 101 . The speaker 101 converts electrical signals into sound waves that can be heard by the human ear. Audio circuitry 110 also receives electrical signals from microphone 105, converts the electrical signals into sound data, and transmits the sound data to processor 102 for further processing. Audio data may be obtained from memory 104 or through radio frequency module 106 . In addition, audio data may also be stored in the memory 104 or transmitted through the radio frequency module 106 .
传感器114设置在电子本体部10内或主显示屏14内,传感器114的实例包括但并不限于:光传感器、运行传感器、压力传感器、重力加速度传感器、以及其他传感器。The sensor 114 is disposed in the electronic body part 10 or in the main display screen 14. Examples of the sensor 114 include, but are not limited to, a light sensor, a motion sensor, a pressure sensor, a gravitational acceleration sensor, and other sensors.
具体地,光传感器可包括环境光线传感器114F及接近传感器,其中,环境光线传感器114F可以感测环境光的明暗,进而允许处理器102执行的一些模块利用环境光线传感器114F的输出数据来自动调节显示的输出。进一步地,光线传感器114F通过光敏元件检测环境中可见光的强度,进而允许处理器102利用光线传感器114F的数据来执行上述的应用程序运行异常修复方法。具体地在本实施例中,光线传感器114F邻近显示面板111设置。接近传感器可在有物体靠近主显示屏14时,例如电子本体部10移动到耳边时,处理器102关闭显示输出。Specifically, the light sensor may include an ambient light sensor 114F and a proximity sensor, wherein the ambient light sensor 114F may sense the brightness of the ambient light, thereby allowing some modules executed by the processor 102 to use the output data of the ambient light sensor 114F to automatically adjust the display Output. Further, the light sensor 114F detects the intensity of visible light in the environment through the photosensitive element, thereby allowing the processor 102 to use the data of the light sensor 114F to execute the above-mentioned method for repairing abnormal operation of an application program. Specifically, in this embodiment, the light sensor 114F is disposed adjacent to the display panel 111 . The proximity sensor can cause the processor 102 to turn off the display output when an object approaches the main display screen 14 , for example, when the electronic body 10 moves to the ear.
作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端100姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等。另外,电子本体部10还可配置陀螺仪、气压计、湿度计、温度计等其他传感器,在此不再赘述,As a kind of motion sensor, the gravitational acceleration sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when stationary, and can be used for applications that recognize the posture of the mobile terminal 100 (such as switching between horizontal and vertical screens). , related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc. In addition, other sensors such as gyroscopes, barometers, hygrometers, and thermometers can also be configured on the electronic body 10, which will not be repeated here.
本实施例中,输入模块118可包括设置在主显示屏14上的触摸屏109,触摸屏109可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触摸屏109上或在触摸屏109附近的操作),并根据预先设定的程序驱动相应的连接装置。可选的,触摸屏109可包括触摸检测装置和触摸控制器。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将该触摸信息转换成触点坐标,再送给处理器102,并能接收处理器102发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触摸屏109的触摸检测功能。除了触摸屏109,在其它变更实施方式中,输入模块118还可以包括其他输入设备,如按键107。按键107例如可包括用于输入字符的字符按键,以及用于触发控制功能的控制按键。控制按键的实例包括“返回主屏”按键、开机/关机按键等等。In this embodiment, the input module 118 may include a touch screen 109 disposed on the main display screen 14, and the touch screen 109 may collect the user's touch operations on or near it (for example, the user uses a finger, a stylus, or any other suitable object or accessory to operation on or near the touch screen 109 ), and drive the corresponding connection device according to a preset program. Optionally, the touch screen 109 may include a touch detection device and a touch controller. The touch detection device detects the touch orientation of the user, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, and converts the touch information into contact coordinates , and then send it to the processor 102, and can receive the command sent by the processor 102 and execute it. In addition, the touch detection function of the touch screen 109 can be realized by various types such as resistive type, capacitive type, infrared ray, and surface acoustic wave. In addition to the touch screen 109 , in other modified embodiments, the input module 118 may also include other input devices, such as the keys 107 . The keys 107 may include, for example, character keys for inputting characters, and control keys for triggering control functions. Examples of control buttons include a "back to home screen" button, a power on/off button, and the like.
主显示屏14用于显示由用户输入的信息、提供给用户的信息以及电子本体部10的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、数字、视频和其任意组合来构成,在一个实例中,触摸屏109可设置于显示面板111上从而与显示面板111构成一个整体。The main display screen 14 is used to display information entered by the user, information provided to the user, and various graphical user interfaces of the electronic body 10, which may consist of graphics, text, icons, numbers, video, and any combination thereof. Composition, in one example, the touch screen 109 may be disposed on the display panel 111 so as to form an integral body with the display panel 111 .
电源模块122用于向处理器102以及其他各组件提供电力供应。具体地,电源模块122可包括电源管理系统、一个或多个电源(如电池或者交流电)、充电电路、电源失效检测电路、逆变器、电源状态指示灯以及其他任意与电子本体部10或主显示屏14内电力的生成、管理及分布相关的组件。The power module 122 is used to provide power supply to the processor 102 and various other components. Specifically, the power module 122 may include a power management system, one or more power sources (eg, batteries or alternating current), charging circuits, power failure detection circuits, inverters, power status indicators, and any other components associated with the electronics body 10 or mains. Components related to the generation, management and distribution of power within the display screen 14 .
射频扫描模组120设置于电子本体部10,电子本体部10上对应地设有对外的取景窗口。用于扫描立体对象的外形轮廓获取立体对象的图像,并获取立体对象的尺寸信息。射频扫描模组120可以与移动终端100的摄像头集成于一起,也可以单独设置。The radio frequency scanning module 120 is disposed on the electronic body portion 10 , and the electronic body portion 10 is correspondingly provided with an external viewing window. It is used to scan the outline of the solid object to obtain the image of the solid object, and obtain the size information of the solid object. The radio frequency scanning module 120 can be integrated with the camera of the mobile terminal 100, or can be set independently.
移动终端100还包括定位器119,定位器119用于确定移动终端100所处的实际位置。本实施例中,定位器119采用定位服务来实现移动终端100的定位,定位服务,应当理解为通过特定的定位技术来获取移动终端100的位置信息(如经纬度坐标),在电子地图上标出被定位对象的位置的技术或服务。The mobile terminal 100 also includes a locator 119 for determining the actual location where the mobile terminal 100 is located. In this embodiment, the locator 119 uses the positioning service to realize the positioning of the mobile terminal 100. The positioning service should be understood as obtaining the position information (such as latitude and longitude coordinates) of the mobile terminal 100 through a specific positioning technology, and marking it on the electronic map. A technology or service that locates the location of an object.
应当理解的是,上述的移动终端100并不局限于智能手机终端,其应当指可以在移动中使用的计算机设备。具体而言,移动终端100,是指搭载了智能操作系统的移动计算机设备,移动终端100包括但不限于智能手机、智能手表、笔记本、平板电脑、POS机甚至包括车载电脑,等等。It should be understood that the above-mentioned mobile terminal 100 is not limited to a smart phone terminal, but should refer to a computer device that can be used on the move. Specifically, the mobile terminal 100 refers to a mobile computer device equipped with an intelligent operating system. The mobile terminal 100 includes but is not limited to a smartphone, a smart watch, a notebook, a tablet computer, a POS machine, or even a car computer, and so on.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, description with reference to the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples", etc., mean specific features described in connection with the embodiment or example , structure, material or feature is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, those skilled in the art may combine and combine the different embodiments or examples described in this specification, as well as the features of the different embodiments or examples, without conflicting each other.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "first" and "second" are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature delimited with "first", "second" may expressly or implicitly include at least one of that feature. In the description of the present application, "plurality" means at least two, such as two, three, etc., unless expressly and specifically defined otherwise.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。Any description of a process or method in the flowcharts or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing a specified logical function or step of the process , and the scope of the preferred embodiments of the present application includes alternative implementations in which the functions may be performed out of the order shown or discussed, including performing the functions substantially concurrently or in the reverse order depending upon the functions involved, which should It is understood by those skilled in the art to which the embodiments of the present application belong.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(移动终端),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得程序,然后将其存储在计算机存储器中。The logic and/or steps represented in flowcharts or otherwise described herein, for example, may be considered an ordered listing of executable instructions for implementing the logical functions, may be embodied in any computer-readable medium, For use with, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other system that can fetch instructions from and execute instructions from an instruction execution system, apparatus, or apparatus) or equipment. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport the program for use by or in connection with an instruction execution system, apparatus, or apparatus. More specific examples (non-exhaustive list) of computer readable media include the following: electrical connections with one or more wiring (mobile terminals), portable computer disk cartridges (magnetic devices), random access memory (RAM), Read Only Memory (ROM), Erasable Editable Read Only Memory (EPROM or Flash Memory), Fiber Optic Devices, and Portable Compact Disc Read Only Memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program may be printed, as may be done, for example, by optically scanning the paper or other medium, followed by editing, interpretation, or other suitable means as necessary process to obtain the program electronically and then store it in computer memory.
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that various parts of this application may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or a combination of the following techniques known in the art: Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, Programmable Gate Arrays (PGA), Field Programmable Gate Arrays (FPGA), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。此外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。Those of ordinary skill in the art can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing the relevant hardware through a program, and the program can be stored in a computer-readable storage medium, and the program can be executed when the program is executed. , including one or a combination of the steps of the method embodiment. In addition, each functional unit in each embodiment of the present application may be integrated into one processing module, or each unit may exist physically alone, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. If the integrated modules are implemented in the form of software functional modules and sold or used as independent products, they may also be stored in a computer-readable storage medium.
上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, and the like. Although the embodiments of the present application have been shown and described above, it should be understood that the above embodiments are exemplary and should not be construed as limitations to the present application. Embodiments are subject to variations, modifications, substitutions and variations.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or some technical features thereof are equivalently replaced; and these modifications or replacements do not drive the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810161581.5A CN108509291B (en) | 2018-02-27 | 2018-02-27 | Application program operation abnormity repairing method and system and mobile terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810161581.5A CN108509291B (en) | 2018-02-27 | 2018-02-27 | Application program operation abnormity repairing method and system and mobile terminal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN108509291A CN108509291A (en) | 2018-09-07 |
| CN108509291B true CN108509291B (en) | 2019-09-10 |
Family
ID=63375121
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810161581.5A Expired - Fee Related CN108509291B (en) | 2018-02-27 | 2018-02-27 | Application program operation abnormity repairing method and system and mobile terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108509291B (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110545488A (en) * | 2019-09-20 | 2019-12-06 | 广州易方信息科技股份有限公司 | Audio and video zero-fault playing method and system in web player publishing |
| CN111221327B (en) * | 2020-03-17 | 2021-04-20 | 北京汽车股份有限公司 | Vehicle fault detection method and device, storage medium and vehicle |
| CN112328422A (en) * | 2020-11-06 | 2021-02-05 | 深圳市锐尔觅移动通信有限公司 | Abnormal repair method, device, electronic device and storage medium |
| CN116700768B (en) * | 2022-10-20 | 2024-04-02 | 荣耀终端有限公司 | An applied processing method and related device |
| CN118779041A (en) * | 2023-04-03 | 2024-10-15 | 荣耀终端有限公司 | Application identification display method, electronic device and readable storage medium |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1456998A (en) * | 2002-05-10 | 2003-11-19 | 斯伦贝谢神码(北京)信息技术有限公司 | Intelligent card replacing method and system |
| CN101859275A (en) * | 2010-03-08 | 2010-10-13 | 宇龙计算机通信科技(深圳)有限公司 | Method, system and mobile terminal for monitoring application program |
| EP2346291A1 (en) * | 2010-01-19 | 2011-07-20 | HTC Corporation | Method of network paging user equipment for error recovery in wireless communication system and related communication device |
| CN104951377A (en) * | 2015-05-28 | 2015-09-30 | 小米科技有限责任公司 | Exception handling method and device for smart home terminal |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102256290B (en) * | 2011-01-21 | 2014-04-30 | 珠海世纪鼎利通信科技股份有限公司 | Method for collecting abnormal data of TD-SCDMA (Time Division-Synchronization Code Division Multiple Access) wireless communication network user terminal |
| CN102857358A (en) * | 2011-06-29 | 2013-01-02 | 环旭电子股份有限公司 | Customer premise equipment capable of repairing firmware and firmware repairing method of customer premise equipment |
| US9026842B2 (en) * | 2012-03-20 | 2015-05-05 | Blackberry Limited | Selective fault recovery of subsystems |
| CN104239163B (en) * | 2013-06-19 | 2016-04-13 | 腾讯科技(深圳)有限公司 | Software repair and device |
| CN103995715B (en) * | 2014-05-06 | 2017-11-17 | 百度在线网络技术(北京)有限公司 | Restorative procedure, device and the server of application program |
-
2018
- 2018-02-27 CN CN201810161581.5A patent/CN108509291B/en not_active Expired - Fee Related
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1456998A (en) * | 2002-05-10 | 2003-11-19 | 斯伦贝谢神码(北京)信息技术有限公司 | Intelligent card replacing method and system |
| EP2346291A1 (en) * | 2010-01-19 | 2011-07-20 | HTC Corporation | Method of network paging user equipment for error recovery in wireless communication system and related communication device |
| CN101859275A (en) * | 2010-03-08 | 2010-10-13 | 宇龙计算机通信科技(深圳)有限公司 | Method, system and mobile terminal for monitoring application program |
| CN104951377A (en) * | 2015-05-28 | 2015-09-30 | 小米科技有限责任公司 | Exception handling method and device for smart home terminal |
Non-Patent Citations (1)
| Title |
|---|
| 移动终端接入网络的安全研究;曹淑华;《全国优秀硕士学位论文全文数据库信息科技辑》;20071231;全文 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN108509291A (en) | 2018-09-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108509291B (en) | Application program operation abnormity repairing method and system and mobile terminal | |
| CN108093099B (en) | Drop protection method and system for mobile terminal, and mobile terminal | |
| CN106201733B (en) | Method for processing input between devices and electronic device thereof | |
| CN106101979B (en) | Method for short-range wireless communication and electronic device using the same | |
| CN108710456B (en) | Application icon processing method, device and mobile terminal | |
| CN106331370B (en) | A data transmission method and terminal device | |
| CN108769514A (en) | Camera control method, device, electronic device and storage medium | |
| CN109104521B (en) | Proximity state correction method, device, mobile terminal and storage medium | |
| CN108777731B (en) | Key configuration method and device, mobile terminal and storage medium | |
| CN109521978B (en) | A content display method and terminal device | |
| CN108512997B (en) | Display method, display device, mobile terminal and storage medium | |
| CN108932102B (en) | Data processing method, device and mobile terminal | |
| CN106658354B (en) | Data transmission method and equipment | |
| CN108037990B (en) | Task information processing method, device and server | |
| CN107908939B (en) | Terminal alarm method, device and mobile terminal | |
| CN108075899B (en) | An authentication method, mobile terminal and computer-readable storage medium | |
| TWI494755B (en) | Method,device and computer readable storage component for software repair | |
| CN110221882B (en) | Display method, display device, mobile terminal and storage medium | |
| CN108650335A (en) | Method, device and testing equipment for communication connection with mobile terminal to be tested | |
| CN108810284B (en) | Mode switching method of camera and electronic equipment | |
| CN110351418A (en) | Screen control method, device, mobile terminal and computer-readable medium | |
| CN110557499A (en) | Information processing method and device and mobile terminal | |
| CN108803961B (en) | Data processing method, device and mobile terminal | |
| WO2017000496A1 (en) | Method and device for adding contact | |
| CN107918517B (en) | Response method, device, mobile terminal and storage medium for screen rotation |
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 | ||
| CB02 | Change of applicant information | ||
| CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
| 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: 20190910 |