Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and system for automatically restarting application program

A technology of application program and restart, which is applied in the direction of program control device, response error generation, program loading/starting, etc., can solve the problems that cannot fully meet the needs of users, and achieve reliable design principles, outstanding substantive features, and simple structure Effect

Inactive Publication Date: 2018-09-21
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the contemporary era that advocates humanization and user experience, this laissez-faire approach can no longer fully meet the needs of users

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for automatically restarting application program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] The present invention will be described in detail below with reference to the accompanying drawings and specific embodiments. The following embodiments are explanations of the present invention, but the present invention is not limited to the following embodiments.

[0051] like figure 1 As shown, the embodiment of the present invention provides a method for automatically restarting an application program, including the following steps:

[0052] Start the application program, assign the first timer to the application program, and set the maximum counting time of the first timer as the first time threshold;

[0053] Create a monitoring program and initialize the monitoring program;

[0054] Among them, the initialization of the monitoring program includes:

[0055] Assigning a second timer to the monitoring program, setting the maximum counting time of the second timer as the second time threshold;

[0056] The first time threshold is greater than the second time thre...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a method and system for automatically restarting an application program. The method comprises the following steps that S1, a running state of the application program is monitored; S2, information of the monitored running state is written into a middle medium; S3, state information of the middle medium is monitored in real time, and if the state information of the middle medium is not updated in a set time threshold value, a restarting instruction is triggered. In the running process of a host process, the running state information can be written to a certain middle medium. Once it is found in the monitoring process that the running information of the host process in the middle medium does not update the middle medium any longer, the monitoring process judges that the host process is accidentally stopped, and the host process is restarted. The situation is avoided that since the application program without a response occupies system resources for a long time, the running efficiency is low; convenience is provided for users to effectively solve the problem that when the program breaks down, restarting is manually triggered, and the user experience is poor; the requirements of the users are completely met.

Description

technical field [0001] The invention belongs to the technical field of computer software, and in particular relates to a method and system for automatically restarting an application program. Background technique [0002] For applications running on the bottom layer of the operating system, unexpected termination, especially the unexpected termination of programs caused by program crashes, is often unavoidable. After the program terminates unexpectedly, the traditional processing often adopts the "ostrich strategy", that is, sit and watch the program crash and wait for the user to manually trigger a restart at an appropriate time. However, in the contemporary era that advocates humanization and user experience, this laissez-faire approach can no longer fully meet the needs of users. This is the weak point of prior art. Contents of the invention [0003] The object of the present invention is to provide a method and system for automatically restarting an application progr...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/07G06F11/30G06F9/445
CPCG06F11/0757G06F9/445G06F11/0793G06F11/302
Inventor 戴纯兴王唯融
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products