CN111367698A - Application program flash back detection and processing method and device and electronic equipment - Google Patents

Application program flash back detection and processing method and device and electronic equipment Download PDF

Info

Publication number
CN111367698A
CN111367698A CN201811605038.6A CN201811605038A CN111367698A CN 111367698 A CN111367698 A CN 111367698A CN 201811605038 A CN201811605038 A CN 201811605038A CN 111367698 A CN111367698 A CN 111367698A
Authority
CN
China
Prior art keywords
application program
flash back
detecting
preset
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811605038.6A
Other languages
Chinese (zh)
Other versions
CN111367698B (en
Inventor
宋立
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Microlive Vision Technology Co Ltd
Original Assignee
Beijing Microlive Vision Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Microlive Vision Technology Co Ltd filed Critical Beijing Microlive Vision Technology Co Ltd
Priority to CN201811605038.6A priority Critical patent/CN111367698B/en
Publication of CN111367698A publication Critical patent/CN111367698A/en
Application granted granted Critical
Publication of CN111367698B publication Critical patent/CN111367698B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error 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/0766Error or fault reporting or storing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3055Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/323Visualisation of programs or trace data

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Data Mining & Analysis (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the application discloses a method and a device for detecting and processing application program flash back and an electronic device. The method comprises the following steps: when detecting that a flash back event of any application program in the terminal equipment reaches a preset condition, determining the application program as a to-be-processed application program; and clearing corresponding user data in the application program to be processed based on a preset clearing set so as to enable the application program to be processed to normally run after being restarted. The embodiment of the application realizes the purpose of automatically detecting the flash back event of the application program, ensures the normal starting of the application program and improves the experience of the user in using the application program.

Description

Application program flash back detection and processing method and device and electronic equipment
Technical Field
The present disclosure relates to the field of anomaly detection technologies, and in particular, to a method and an apparatus for detecting and processing application program flash back, and an electronic device.
Background
The flash quit is a phenomenon that a user suddenly quits when starting an application program APP by using a terminal device or in a certain function process of operating the APP, and generally shows that an APP picture flashes and then returns to a desktop.
For a flash back event, the following problems generally exist in the related art: firstly, a flash back event cannot be detected; and secondly, the flash back event can be detected, but the detected flash back event cannot be reported in time, and correspondingly, the detected flash back event cannot be repaired correspondingly. Therefore, normal use of the application program by the user cannot be guaranteed, and use experience of the application program by the user is directly influenced.
Disclosure of Invention
In view of the above, the present application provides a method, an apparatus, and an electronic device for detecting and processing application program flash back, which can achieve the above technical problems.
In order to solve the above problems, the present application mainly provides the following technical solutions:
in a first aspect, the present application provides a method for detecting and processing application program flash back, where the method includes:
when detecting that a flash back event of any application program in the terminal equipment reaches a preset condition, determining the application program as a to-be-processed application program;
and clearing corresponding user data in the application program to be processed based on the preset clearing set so that the application program to be processed normally runs after being restarted.
In a second aspect, the present application further provides an apparatus for detecting and processing application program flash back, where the apparatus includes:
the detection module is used for determining the application program to be processed when detecting that a flash back event generated by any application program in the terminal equipment reaches a preset condition;
and the processing module is used for clearing corresponding user data in the application program to be processed based on the preset clearing set so that the application program to be processed can normally run after being restarted.
In a third aspect, the present application further provides an electronic device, including:
at least one processor;
and at least one memory, bus connected with the processor; wherein the content of the first and second substances,
the processor and the memory complete mutual communication through the bus;
the processor is used for calling the program instructions in the memory so as to execute the method for detecting and processing the application program flash back.
In a fourth aspect, the present application further provides a non-transitory computer-readable storage medium storing computer instructions, where the computer instructions cause a computer to execute the method for detecting and processing the application program flash back.
The technical scheme provided by the embodiment of the application has the following beneficial effects: when the situation that a flash quit event of any application program in the terminal equipment reaches a preset condition is detected, the application program is determined as the application program to be processed, corresponding user data in the application program to be processed is cleared based on a preset clearing set, so that the application program to be processed can normally run after being restarted, the purpose of automatically detecting the flash quit event of the application program is achieved, meanwhile, the normal starting and running of the application program after the flash quit are ensured through a mode of clearing related user data, and the experience of a user in using the application program is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments of the present application will be briefly described below.
Fig. 1 is a schematic flowchart illustrating a method for detecting and processing application program flash back according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram illustrating an apparatus for detecting and processing application program flash back according to an embodiment of the present disclosure;
fig. 3 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
In the prior art, a flash back phenomenon occurs when an application program is executed incorrectly, and the application program is switched to a desktop of the terminal equipment. Therefore, when the flash back event occurs, the user cannot report the occurred flash back event, and the maintainer cannot determine whether the application program on the terminal device is flash back or not, and cannot determine the reason of the flash back, so that the use experience of the user on the application program is directly influenced.
The embodiment of the application program flash back detection and processing method and device, the electronic device and the computer readable storage medium aims to solve the technical problems in the prior art.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
In one embodiment, as shown in fig. 1, the present application provides a method for detecting and processing application program flash back, including the steps of: s101 and step S102.
Step S101, when a flash back event generated by any application program in the terminal equipment is detected to reach a preset condition, the application program is determined to be the application program to be processed.
In actual application, when a user operates any application program on the terminal device, such as click start operation for an application program icon, control operation for a function key in an application program interface, and the like, if it is detected that a flash back event occurs to the application program and the occurred flash back event reaches a preset condition, the application program is determined to be the application program to be processed. In practical application, the application programs on the terminal device may include various types of application programs such as a photographing type application program, a computing type application program, an instant messaging type application program, a multimedia type application program, and the like.
Specifically, the terminal device may be an electronic device such as a mobile phone, a Pad, a notebook, a PC, and a wearable device.
And S102, clearing corresponding user data in the application program to be processed based on a preset clearing set so that the application program to be processed can normally run after being restarted.
In the embodiment of the application, the user data comprises operation records of the use user of the terminal device aiming at different application programs. Therefore, in actual application, the user data of the user of different terminal devices for the same application program may be different.
For example, if the application is an XX camera, the XX camera provides functions of beauty, filter, large eye, face thinning, etc., wherein the beauty function provides a beauty level of 1 to 6 levels, ten choices of filter style 1 to filter style 10 are provided in the filter function, and the large eye function provides a large eye level of 1 to 4 levels. If user A has settings for XX camera: 6 degrees of beauty, and the style of a filter is 1; and user B's settings for the XX camera are: large eye 3 degrees, filter style 10, so for the application of XX camera, the user data for user a is different from the user data for user B, and thus different when cleanup is required.
In the embodiment of the application, when the flash back event occurring in any application program in the terminal equipment is detected to reach the preset condition, the application program to be processed is determined, corresponding user data in the application program to be processed is cleared based on the preset clearing set, so that the application program to be processed can normally run after being restarted, the purpose of automatically detecting the flash back event occurring in the application program is achieved, meanwhile, the normal starting and running of the application program after flash back are ensured through a mode of clearing related user data, and the experience of a user in using the application program is improved.
In one implementation, determining that a flashback event occurring in any application program in the terminal device reaches a preset condition when any one of the following situations is detected includes:
detecting that a flash back event occurs when any application program is started; or
The frequency of detecting that any application program generates the flash back event reaches a preset frequency threshold value.
In the embodiment of the present application, the determination manner of the preset condition includes two manners: the first mode is that a flash back event occurs when an application program is started, and the other mode is that the frequency of the flash back event reaches a preset frequency threshold value. In practical application, in the case that whether the flash back events of the application program meet the preset conditions is judged according to the times of the flash back events, the flash back events can all occur during starting or during running; but also both on start-up and during operation.
For example, assuming that the threshold of the predetermined number of times is 3, if a certain application in the terminal device generates a flash back event when the application is started for the first time, it is determined that the application is a to-be-processed application, and the user data in the application is cleared, so that the application can be normally started when the application is started for the second time, and after the application is started, if the application generates a flash back event when a certain function (such as camera recording) is executed, because the number of times of the flash back event generated by the application at this time does not reach 3, the application is not cleared; if the application program is normally started for the third time, if a flash-back event occurs again when the application program executes a certain function (such as shooting and recording), since the number of times of the flash-back event occurring in the application program reaches 3 at this time, the application program is determined to be the application program to be processed, and the user data of the application program is cleared, so that the application program can normally run after being restarted for the next time.
In one implementation manner, detecting that a flash back event occurring in any application program in the terminal device reaches a preset condition includes: counting the times of the flash back events of any application program through an abnormality detection tool, and determining whether the flash back events occur when the application program is started.
The method and the device for judging the flash back of the application program achieve the purpose of judging whether the flash back event of any application program on the terminal device reaches the preset condition or not by adopting the abnormity detection tool.
In another implementation manner, detecting that a flash back event occurring in any application program in the terminal device reaches a preset condition includes: a flashback event of the pre-registered application is detected by an anomaly detection tool.
According to the embodiment of the application, the detection object is indicated for the abnormality detection tool through the pre-registered application program, and the function of targeted detection is achieved, so that the detection efficiency of the abnormality detection tool is improved.
For example, the pre-registered applications are XX camera and XX music, and in actual application, the anomaly detection tool does not need to detect all applications on the terminal device, and only needs to detect the flash back events of the XX camera and the XX music, and if the anomaly detection tool detects that the XX camera has a flash back event and is a flash back event occurring during starting, or the frequency of the flash back event reaches a preset frequency threshold, it is determined that the flash back event occurring in the XX camera reaches a preset condition.
In another implementation, counting the number of times of a flash back event occurring in any application program in the terminal device by a counter includes:
when any application program is started, the counting variable of the counter is increased by one;
if any application program is not closed within a preset time length after starting, the counting variable is reduced by one;
if any application program is closed within a preset time length after being started, the counting variable is unchanged;
and determining the times of the flash back events of any application program in the terminal equipment according to the counting variable.
According to the embodiment of the application, the flash back event of any application program on the terminal equipment is counted by using the counter, and the purpose of determining the frequency of the flash back event of any application program on the terminal equipment according to the counting variable is achieved.
For example, assume that when the application program 1 is started, the count variable of the counter is 1, and if the application program 1 is not closed (no flash back occurs) within 5 seconds after the application program 1 is started (i.e., a predetermined time), the count variable is adjusted to 0, which indicates that the application program 1 is successfully started; if the application program 1 is closed (flash back occurs) within 5 seconds after the application program 1 is started, the counting variable is still determined to be 1, a flash back event occurs to the application program 1, if the application program 1 is still closed within 5 seconds after the application program 1 is started next time, the counting variable is adjusted to be 2, and the like, the counting variable is accumulated, and finally the purpose of determining the frequency of the flash back event occurring to the application program 1 according to the value of the counting variable is achieved.
In another implementation, as shown in fig. 1, before clearing the corresponding user data in the application to be processed based on the preset clean set, the method further includes: step S103 (not shown in the figure) and step S104 (not shown in the figure).
Step S103, determining user data to be deleted in the application program to be processed based on a preset cleaning set;
and step S104, backing up the user data to determine the reason of the flash back event according to the backed up user data.
According to the embodiment of the application, the user data to be deleted in the application program to be processed is determined through the preset cleaning set so as to be convenient for backup, and data guarantee is provided for the reason that the flash back event occurs in the application program to be processed is determined according to the backed-up user data.
For example, assuming that a preset cleaning set points to several data files, such as data, files, and config, and it is determined that user data to be deleted in the application to be processed is data in config, before deletion, the data in the config file is backed up and then deleted. Because the data in the config file is deleted, the user data in the original config file cannot be read when the application program to be processed is started or in operation, and a flash-back event cannot occur due to the fact that the user data in the original config file is read.
In yet another implementation, as shown in fig. 1, the method further comprises: step S105 (not shown in the figure), step S105, obtaining the flash quit information of the application program to be processed, and reporting the flash quit information to the cloud server through the preset interface.
In the embodiment of the application, the purpose of reporting the flash quit information of the application program to be processed is achieved through the preset interface, and query conditions are provided for subsequent maintenance personnel to analyze the reason of the flash quit event according to the flash quit information received by the cloud server. In practical application, the preset interface may be an http interface.
In another embodiment, a schematic structural diagram of an apparatus for detecting and processing application program flash back according to an embodiment of the present application is shown in fig. 2, where the apparatus 20 includes: a detection module 201 and a processing module 202.
The detection module 201 is configured to determine that an application program to be processed is determined when a flashback event occurring in any application program in the terminal device reaches a preset condition;
the processing module 202 is configured to clear corresponding user data in the application program to be processed based on a preset clear set, so that the application program to be processed operates normally after being restarted.
The application program flash backing detection and processing device determines the application program to be processed when a flash backing event occurring in any application program in the terminal equipment reaches a preset condition, clears corresponding user data in the application program to be processed based on a preset clearing set, enables the application program to be processed to normally run after being restarted, achieves the purpose of automatically detecting the flash backing event occurring in the application program, guarantees the normal starting of the application program through a mode of clearing related user data, and improves the experience of a user in using the application program.
Further, when the detecting module 201 detects any one of the following situations, determining that a flash back event occurring in any application program in the terminal device reaches a preset condition includes: detecting that a flash back event occurs when any application program is started; the frequency of detecting that any application program generates the flash back event reaches a preset frequency threshold value.
Further, the detecting module 201 detects that a flash back event occurring in any application program in the terminal device reaches a preset condition, including: and detecting whether a flash back event occurs in any application program when the application program is started through an abnormality detection tool, and counting the occurring flash back events.
Further, the detection module 201 is also configured to detect a flashback event of the pre-registered application program through an anomaly detection tool.
Further, the detecting module 201 counts the number of times of the flash back event occurring in any application program in the terminal device through a counter, including:
when any application program is started, the counting variable of the counter is increased by one;
if any application program is not closed within a preset time length after starting, the counting variable is reduced by one;
if any application program is closed within a preset time length after being started, the counting variable is unchanged;
and determining the times of the flash back events of any application program in the terminal equipment according to the counting variable.
Further, before the processing module 202 removes the corresponding user data in the application program to be processed based on the preset cleaning set, the processing module determines the user data to be deleted in the application program to be processed based on the preset cleaning set; and backing up the user data so as to determine the reason of the occurrence of the flash back event according to the backed up user data.
Further, the processing module 202 is further configured to obtain the flash quit information of the application program to be processed, and report the flash quit information to the cloud server through the preset interface.
The device for detecting and processing application program flash back according to the embodiment of the present application can execute the method for detecting and processing application program flash back according to the embodiment of the present application, and the implementation principles are similar, and are not described herein again.
In yet another embodiment, an electronic device is provided in the embodiments of the present application, as shown in fig. 3, which shows a schematic structural diagram of an electronic device 300 suitable for implementing the embodiments of the present application. The terminal device in the embodiments of the present application may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 3, the electronic device 300 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 301 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)302 or a program loaded from a storage means 308 into a Random Access Memory (RAM) 303. In the RAM 303, various programs and data necessary for the operation of the electronic apparatus 300 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input/output (I/O) interface 305 is also connected to bus 304.
Generally, the following devices may be connected to the I/O interface 305: input devices 306 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 307 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage devices 308 including, for example, magnetic tape, hard disk, etc.; and a communication device 309. The communication means 309 may allow the electronic device 300 to communicate wirelessly or by wire with other devices to exchange data. While fig. 3 illustrates an electronic device 300 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to embodiments of the application, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 309, or installed from the storage means 308, or installed from the ROM 302. The computer program, when executed by the processing device 301, performs the above-described functions defined in the methods of the embodiments of the present application.
It should be noted that the computer readable medium mentioned above in the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device executes the method for detecting and processing the application program flash back provided by the embodiment
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present application may be implemented by software or hardware. The name of the module does not in some cases form a limitation of the module itself, for example, the first obtaining module may also be described as a "module for obtaining at least two internet protocol addresses".
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the disclosure. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (10)

1. A method for detecting and processing application program flash back is characterized by comprising the following steps:
when detecting that a flash back event of any application program in the terminal equipment reaches a preset condition, determining the application program as a to-be-processed application program;
and clearing corresponding user data in the application program to be processed based on a preset clearing set so as to enable the application program to be processed to normally run after being restarted.
2. The method according to claim 1, wherein the determining that the flashback event occurring in any application program in the terminal device reaches the preset condition when any one of the following situations is detected comprises:
detecting that a flash back event occurs when any application program is started; or
The method comprises the steps of detecting that the frequency of occurrence of a flash back event of any application program in the terminal equipment reaches a preset frequency threshold value.
3. The method according to claim 2, wherein the detecting that a flashback event occurs in any application program in the terminal device reaches a preset condition includes:
counting the times of the flash back events of any application program through an abnormality detection tool, and determining whether the flash back events occur when the application program is started.
4. The method according to claim 3, wherein the detecting that a flashback event occurs in any application program in the terminal device reaches a preset condition includes:
a flashback event of the pre-registered application is detected by an anomaly detection tool.
5. The method according to claim 2, wherein counting the number of flash back events occurring in any application program in the terminal device by a counter comprises:
when any application program is started, the counting variable of the counter is increased by one;
if any application program is not closed within a preset time length after being started, subtracting one from the counting variable;
if any application program is closed within a preset time length after being started, the counting variable is unchanged;
and determining the times of the flash back events of any application program in the terminal equipment according to the counting variable.
6. The method of claim 1, wherein before clearing the corresponding user data in the application to be processed based on the preset clean-up set, the method further comprises:
determining user data to be deleted in the application program to be processed based on a preset cleaning set;
and backing up the user data so as to determine the reason of the occurrence of the flash back event according to the backed up user data.
7. The method of claim 1, further comprising:
and acquiring the flash back information of the application program to be processed, and reporting the flash back information to a cloud server through a preset interface.
8. An apparatus for detecting and processing application program flash back, comprising:
the detection module is used for determining the application program to be processed when detecting that a flash back event generated by any application program in the terminal equipment reaches a preset condition;
and the processing module is used for clearing corresponding user data in the application program to be processed based on a preset clearing set so as to enable the application program to be processed to normally run after being restarted.
9. An electronic device, comprising:
at least one processor;
and at least one memory, bus connected with the processor; wherein the content of the first and second substances,
the processor and the memory complete mutual communication through the bus;
the processor is configured to call program instructions in the memory to perform the method for detecting and processing application program flash back of any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method for detecting and processing application flashback according to any one of claims 1 to 7.
CN201811605038.6A 2018-12-26 2018-12-26 Application program flash back detection and processing method and device and electronic equipment Active CN111367698B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811605038.6A CN111367698B (en) 2018-12-26 2018-12-26 Application program flash back detection and processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811605038.6A CN111367698B (en) 2018-12-26 2018-12-26 Application program flash back detection and processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111367698A true CN111367698A (en) 2020-07-03
CN111367698B CN111367698B (en) 2022-08-26

Family

ID=71206154

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811605038.6A Active CN111367698B (en) 2018-12-26 2018-12-26 Application program flash back detection and processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111367698B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113282458A (en) * 2021-05-25 2021-08-20 挂号网(杭州)科技有限公司 Anti-flash-back method and device for application program, electronic equipment and storage medium
CN113485929A (en) * 2021-07-12 2021-10-08 北大方正集团有限公司 Data processing method, device, equipment, storage medium and program product
CN116088955A (en) * 2022-06-17 2023-05-09 荣耀终端有限公司 Process processing method and terminal equipment
CN116700768A (en) * 2022-10-20 2023-09-05 荣耀终端有限公司 Application processing method and related device
CN116701134A (en) * 2022-10-14 2023-09-05 荣耀终端有限公司 Data processing method and electronic equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6675295B1 (en) * 2000-06-19 2004-01-06 Microsoft Corporation Method and computer system for detecting and correcting a failure in a computer application program during startup
US20060179353A1 (en) * 2005-02-04 2006-08-10 Fujitsu Limited Computer shutoff condition monitoring method, information processing apparatus, program and computer readable information recording medium
CN107153648A (en) * 2016-03-02 2017-09-12 阿里巴巴集团控股有限公司 It is a kind of to prevent the method and device of system crash
CN107463419A (en) * 2017-09-21 2017-12-12 青岛海信移动通信技术股份有限公司 Using method for restarting, device and computer-readable recording medium
CN107861830A (en) * 2017-12-01 2018-03-30 深圳乐信软件技术有限公司 Detection method, device, storage medium and the mobile terminal of application crash
CN107894949A (en) * 2017-10-11 2018-04-10 五八有限公司 The method, apparatus and equipment of abnormality processing
US9983937B1 (en) * 2016-06-29 2018-05-29 EMC IP Holding Company LLC Smooth restart of storage clusters in a storage system
CN108152706A (en) * 2017-12-18 2018-06-12 Tcl移动通信科技(宁波)有限公司 Mobile terminal and power management chip restart detection process method and storage medium
CN108170550A (en) * 2017-12-29 2018-06-15 五八有限公司 The method, apparatus and equipment of abnormality processing
CN108519925A (en) * 2018-03-06 2018-09-11 北京酷我科技有限公司 Preservation tactics are moved back in a kind of iOS sudden strain of a muscle

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6675295B1 (en) * 2000-06-19 2004-01-06 Microsoft Corporation Method and computer system for detecting and correcting a failure in a computer application program during startup
US20060179353A1 (en) * 2005-02-04 2006-08-10 Fujitsu Limited Computer shutoff condition monitoring method, information processing apparatus, program and computer readable information recording medium
CN107153648A (en) * 2016-03-02 2017-09-12 阿里巴巴集团控股有限公司 It is a kind of to prevent the method and device of system crash
US9983937B1 (en) * 2016-06-29 2018-05-29 EMC IP Holding Company LLC Smooth restart of storage clusters in a storage system
CN107463419A (en) * 2017-09-21 2017-12-12 青岛海信移动通信技术股份有限公司 Using method for restarting, device and computer-readable recording medium
CN107894949A (en) * 2017-10-11 2018-04-10 五八有限公司 The method, apparatus and equipment of abnormality processing
CN107861830A (en) * 2017-12-01 2018-03-30 深圳乐信软件技术有限公司 Detection method, device, storage medium and the mobile terminal of application crash
CN108152706A (en) * 2017-12-18 2018-06-12 Tcl移动通信科技(宁波)有限公司 Mobile terminal and power management chip restart detection process method and storage medium
CN108170550A (en) * 2017-12-29 2018-06-15 五八有限公司 The method, apparatus and equipment of abnormality processing
CN108519925A (en) * 2018-03-06 2018-09-11 北京酷我科技有限公司 Preservation tactics are moved back in a kind of iOS sudden strain of a muscle

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113282458A (en) * 2021-05-25 2021-08-20 挂号网(杭州)科技有限公司 Anti-flash-back method and device for application program, electronic equipment and storage medium
CN113485929A (en) * 2021-07-12 2021-10-08 北大方正集团有限公司 Data processing method, device, equipment, storage medium and program product
CN116088955A (en) * 2022-06-17 2023-05-09 荣耀终端有限公司 Process processing method and terminal equipment
CN116088955B (en) * 2022-06-17 2024-04-02 荣耀终端有限公司 Process processing method and terminal equipment
CN116701134A (en) * 2022-10-14 2023-09-05 荣耀终端有限公司 Data processing method and electronic equipment
CN116701134B (en) * 2022-10-14 2024-05-17 荣耀终端有限公司 Data processing method and electronic equipment
CN116700768A (en) * 2022-10-20 2023-09-05 荣耀终端有限公司 Application processing method and related device
CN116700768B (en) * 2022-10-20 2024-04-02 荣耀终端有限公司 Application processing method and related device

Also Published As

Publication number Publication date
CN111367698B (en) 2022-08-26

Similar Documents

Publication Publication Date Title
CN111367698B (en) Application program flash back detection and processing method and device and electronic equipment
CN109446309B (en) Question feedback method and device
CN110377341B (en) Method, device, medium and electronic equipment for monitoring no-response exception
CN110471738B (en) Theme switching method and device of application program, electronic equipment and storage medium
CN111258736B (en) Information processing method and device and electronic equipment
CN111274503A (en) Data processing method and device, electronic equipment and computer readable medium
CN110554918B (en) Current limiting method, current limiting device, electronic equipment and computer readable storage medium
CN109492163B (en) List display recording method and device, terminal equipment and storage medium
CN113760503A (en) Task migration method and device, electronic equipment and computer readable medium
CN112860513A (en) Application non-response monitoring method, device, equipment and storage medium
CN111367720A (en) Data protection method and device, electronic equipment and computer readable storage medium
CN111198853B (en) Data processing method, device, electronic equipment and computer readable storage medium
CN113360348B (en) Abnormal request processing method and device, electronic equipment and storage medium
CN114385096B (en) Display control method, device, terminal and storage medium
CN115033469A (en) Website system performance test method and device, equipment and storage medium
CN110377362B (en) Method, device, terminal and storage medium for cleaning application program
CN109815429B (en) Browser page closing processing method and device
CN110633566A (en) Intrusion detection method, device, terminal equipment and medium
CN114398233B (en) Load abnormality detection method and device, server and storage medium
CN110413525B (en) Safety testing method and device
CN112199250B (en) Picture monitoring method and device, electronic equipment and storage medium
CN117667326A (en) Control processing method, device, equipment and storage medium
CN110471714B (en) Method, device, terminal and storage medium for controlling application starting
CN113946353B (en) Data processing method and device, electronic equipment and storage medium
CN117939241A (en) Video special effect editing method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant