Method and apparatus for performing process recycling in application

A technology of recycling processing and application programs, which is applied in the computer field, can solve the problems of occupying memory resources, cannot realize timely recovery of processes, and terminal equipment cannot operate normally, so as to achieve the effect of ensuring normal operation

Active Publication Date: 2016-05-25
BEIJING QIHOO TECH CO LTD
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although this alleviates the situation of insufficient memory to a certain extent, the existing method of reclaiming processes according to the activity of the process sometimes causes the process of the operating system application to be recycled, resulting in the defect that the terminal device cannot operate normally.
In addition, when the memory drops to the threshold set by the system, the system will recycle the process according to the activity of the process, which cannot realize the timely recycling of the process, and the process will still occupy the memory resources for a long time before recycling

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 apparatus for performing process recycling in application
  • Method and apparatus for performing process recycling in application
  • Method and apparatus for performing process recycling in application

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0084] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art. It should be noted that, on the premise of no conflict, the embodiments of the present invention and the technical features in the embodiments may be combined with each other.

[0085] figure 1 A flowchart showing a method for process recycling in an application program according to an embodiment of the present invention. like figure 1 As shown, the method includes:

[0086] Step S102, monitoring a preset process recycling event; ...

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 provides a method and an apparatus for performing process recycling in an application. The method comprises the steps of monitoring a preset process recycling event; when the preset process recycling event is monitored, reflecting a call activity management interface, obtaining a Map reference relationship of each component of a current process through an activity monitor object, and obtaining attribute information of each component running in the current process based on the Map reference relationship; and comparing the attribute information of each component running in the current process with attribute information of a component corresponding to a process recycling rule to determine whether the current process is recycled or not. According to the technical scheme provided by the invention, the purpose of recycling the process in time can be achieved and the problem that a process still takes up memory resources for a long term before being recycled due to the fact that the process cannot be recycled in time in the prior art is solved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for process recycling in application programs. Background technique [0002] In terminal equipment, due to cost considerations, the system memory is very limited. When the system is running under a heavy load, it is easy to have insufficient memory. [0003] At present, in the Android (Android) operating system, the system will recycle the process according to the activity of the process when the memory is reduced to the threshold set by the system. Although this alleviates the situation of insufficient memory to a certain extent, the existing method of reclaiming processes according to the activity of the processes sometimes causes the processes of operating system applications to be reclaimed, resulting in the defect that the terminal device cannot operate normally. In addition, the system will recycle the process according to the activity of the process ...

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): G06F9/50
CPCG06F9/5022G06F2209/509
Inventor 宋照春张炅轩姚彤
Owner BEIJING QIHOO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products