CN106708616A - Process control method and process control device - Google Patents

Process control method and process control device Download PDF

Info

Publication number
CN106708616A
CN106708616A CN201611085355.0A CN201611085355A CN106708616A CN 106708616 A CN106708616 A CN 106708616A CN 201611085355 A CN201611085355 A CN 201611085355A CN 106708616 A CN106708616 A CN 106708616A
Authority
CN
China
Prior art keywords
local system
system processes
ems memory
occupation value
memory occupation
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.)
Pending
Application number
CN201611085355.0A
Other languages
Chinese (zh)
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.)
Shenzhen Tinno Wireless Technology Co Ltd
Original Assignee
Shenzhen Tinno Wireless 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 Shenzhen Tinno Wireless Technology Co Ltd filed Critical Shenzhen Tinno Wireless Technology Co Ltd
Priority to CN201611085355.0A priority Critical patent/CN106708616A/en
Publication of CN106708616A publication Critical patent/CN106708616A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a process control method and a process control device. The process control method comprises the steps that a memory usage value of a local system process is detected; whether the memory usage value is greater than a preset maximum threshold value or not is determined; and the local system process is rebooted when it is determined that the memory usage value is greater than the preset maximum threshold value. Through the technical scheme, system abnormal problems caused by memory leakage can be solved in time by rebooting the local system process, so that relevant functions of the local system process are normal. Therefore, system halt, crash and other problems caused by leakage of the local system process are avoided, and system stability is improved.

Description

Course control method and progress control unit
【Technical field】
The present invention relates to field of terminal technology, more particularly to a kind of course control method and a kind of progress control unit.
【Background technology】
In actual applications, the system of various terminals is not unalterable, and with the development of information technology, system is past Toward needing the renewal and modification of function, and for local system processes, the renewal or modification of system and system are in itself Leak is all likely to cause RAM leakage.
However, local system processes are the guarantees of system trouble-free operation, it is past when local system processes occur RAM leakage It is past to cause various abnormal problems such as system interim card, collapse.
Such as, if system vulnerability is cracked, often make local system processes produce illegal memory to consume, that is, cause interior Leakage is deposited, illegal memory consumption excessively can trigger system interim card, the configuration of system is forced all kinds of abnormal problems such as change.Enter one Step ground, as internal memory continues to be consumed, system can restart, and the configuration of forcibly changing comes into force because restarting, which results in system Security cannot be ensured.
Therefore, the system exception problem brought because RAM leakage local system processes occurs how is avoided, as current Technical problem urgently to be resolved hurrily.
【The content of the invention】
The embodiment of the invention provides a kind of course control method and a kind of progress control unit, it is intended to solve because of local system The system exception problem that system process occurs RAM leakage and brings, system exception is asked caused by can in time repairing RAM leakage Topic, increases the stability of system.
In a first aspect, a kind of course control method is the embodiment of the invention provides, including:Detect the interior of local system processes Deposit occupation value;Determine the EMS memory occupation value whether more than default max-thresholds;When it is determined that the EMS memory occupation value is more than described During default max-thresholds, the local system processes are restarted.
In the above embodiment of the present invention, alternatively, before the step of detecting the EMS memory occupation value of local system processes, Also include:When the local system processes are started, during the ID of the local system processes is recorded added to monitored object;Inspection The step of surveying the EMS memory occupation value of local system processes, including:According to the ID in monitored object record, detect described ID pairs The EMS memory occupation value of the local system processes answered.
In the above embodiment of the present invention, alternatively, the step of restart the local system processes, specifically include:Close The local system processes, and delete the ID of the local system processes in monitored object record;It is again started up institute State local system processes.
In the above embodiment of the present invention, alternatively, detect local system processes EMS memory occupation value the step of, including: The EMS memory occupation value of all local system processes being currently running is traveled through every scheduled duration;Or specified every scheduled duration traversal The EMS memory occupation value of several local system processes being currently running of classification.
In the above embodiment of the present invention, optionally it is determined that whether the EMS memory occupation value is more than default max-thresholds Step, specifically includes:Whether have in the EMS memory occupation value of detection traversal and accounted for more than the abnormal internal memory of the default max-thresholds With value;When it is determined that the EMS memory occupation value is more than the default max-thresholds, the step of restart the local system processes, tool Body includes:When having the abnormal EMS memory occupation value in the EMS memory occupation value that testing result is the traversal, restart described different The corresponding local system processes of normal EMS memory occupation value.
It is alternatively, described when tool in the EMS memory occupation value that testing result is the traversal in the above embodiment of the present invention When having the abnormal EMS memory occupation value, also include:Preserve the exception of the corresponding local system processes of the abnormal EMS memory occupation value Progress information.
Second aspect, the embodiment of the invention provides a kind of progress control unit, including:EMS memory occupation value detection unit, Detect the EMS memory occupation value of local system processes;Whether determining unit, determine the EMS memory occupation value more than default max-thresholds; Local system processes restart unit, when it is determined that the EMS memory occupation value is more than the default max-thresholds, restart described local System process.
In the above embodiment of the present invention, alternatively, also include:ID recording units, detect single in the EMS memory occupation value Before the EMS memory occupation value of unit's detection local system processes, when starting the local system processes, by the local system processes ID added to monitored object record in;The EMS memory occupation value detection unit is used for:According in monitored object record ID, detects the EMS memory occupation value of the corresponding local system processes of the ID.
In the above embodiment of the present invention, alternatively, the local system processes restart unit specifically for:Close described Local system processes, delete the ID of the local system processes in monitored object record, and be again started up described Ground system process.
In the above embodiment of the present invention, alternatively, the EMS memory occupation value detection unit is used for:Every scheduled duration time Go through the EMS memory occupation value of all local system processes being currently running, or every scheduled duration traversal specify classification several just In the EMS memory occupation value of the local system processes of operation.
In the above embodiment of the present invention, alternatively, the determining unit specifically for:Detect the EMS memory occupation value of traversal In whether have more than the default max-thresholds abnormal EMS memory occupation value;The local system processes restart unit to be used for: When having the abnormal EMS memory occupation value in the EMS memory occupation value that testing result is the traversal, restart the abnormal internal memory and account for With the corresponding local system processes of value.
In the above embodiment of the present invention, alternatively, also include:Abnormal process information holding unit, when the detection knot When fruit in the EMS memory occupation value of the traversal to have the abnormal EMS memory occupation value, the abnormal EMS memory occupation value correspondence is preserved Local system processes abnormal process information.
The third aspect, the embodiment of the invention provides a kind of terminal, including the process any one of above-described embodiment Control device, therefore, the terminal have and above-described embodiment any one of progress control unit identical technique effect, Will not be repeated here.
By above technical scheme, for correlation technique in because RAM leakage local system processes occurs bring be System abnormal problem, the EMS memory occupation value to local system processes is detected, exceeds in EMS memory occupation value and preset max-thresholds When, determine that the local system processes there occurs exception, so as to restart to the local system processes, RAM leakage is repaired in time Caused system exception problem so that the correlation function of the local system processes is normal, so as to avoid because of local system processes Leakage caused by system interim card, paralysis the problems such as, improve the stability of system.
【Brief description of the drawings】
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be attached to what is used needed for embodiment Figure is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this area For those of ordinary skill, without having to pay creative labor, can also obtain other attached according to these accompanying drawings Figure.
Fig. 1 shows the flow chart of course control method according to an embodiment of the invention;
Fig. 2 shows the flow chart of course control method according to another embodiment of the invention;
Fig. 3 shows the flow chart for restarting local system processes in Fig. 2 embodiments of the invention;
Fig. 4 shows the block diagram of progress control unit according to an embodiment of the invention;
Fig. 5 shows the block diagram of terminal according to an embodiment of the invention.
【Specific embodiment】
In order to be better understood from technical scheme, the embodiment of the present invention is retouched in detail below in conjunction with the accompanying drawings State.
It will be appreciated that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Base Embodiment in the present invention, those of ordinary skill in the art obtained under the premise of creative work is not made it is all its Its embodiment, belongs to the scope of protection of the invention.
The term for using in embodiments of the present invention is the purpose only merely for description specific embodiment, and is not intended to be limiting The present invention." one kind ", " described " and " being somebody's turn to do " of singulative used in the embodiment of the present invention and appended claims It is also intended to include most forms, unless context clearly shows that other implications.
Fig. 1 shows the flow chart of course control method according to an embodiment of the invention.
As shown in figure 1, the course control method of one embodiment of the present of invention, including:
Step 102, detects the EMS memory occupation value of local system processes.
Specifically, can be with the EMS memory occupation value of the important local system processes of several in monitoring system, it is also possible to supervise The EMS memory occupation value of all local system processes in control system, further to determine corresponding local system according to EMS memory occupation value System process whether normal operation.
Whether step 104, determine EMS memory occupation value more than default max-thresholds.
The default max-thresholds are the maximum memory value taken when local system processes normally run, that is to say, that internal memory Occupation value is that, in normal operating condition, EMS memory occupation value is more than less than or equal to the local system processes of the default max-thresholds The local system processes of the default max-thresholds are in abnormal operating condition.
Wherein, max-thresholds are preset by developer for system is set, it is also possible to by system in itself according to actual motion needs Voluntarily set, different local system processes can preset max-thresholds, certainly, different local system processes using identical Because its function is different, corresponding EMS memory occupation value is also different, therefore, different local system processes can also have different Default max-thresholds.
Step 106, when it is determined that EMS memory occupation value is more than default max-thresholds, restarts local system processes.
When EMS memory occupation value exceeds default max-thresholds, illustrate that corresponding local system processes have occurred that internal memory is let out Dew, with the potential safety hazard for the abnormal conditions such as configuration change, process collapse occur, now, restarts the local system processes, Specifically, just it is off making the operation of the local system processes, makes the functional rehabilitation of the local system processes normal, and again The local system processes are run, so as to repair system exception problem caused by RAM leakage in time, are eliminated safe hidden trouble, it is to avoid Because the problems such as system interim card, paralysis, being also positioning abnormal problem, repairing abnormal asking in time caused by the leakage of local system processes Topic has striven for the time, improves the stability of system.
Fig. 2 shows the flow chart of course control method according to another embodiment of the invention.
As shown in Fig. 2 the course control method of an alternative embodiment of the invention, including:
Step 202, starts local system processes, and the ID of local system processes is added in monitored object record.
In startup local system processes just record its ID added to monitored object, can be direct in operation for system ID in monitored object record is addressed to the local system processes, and further, it is right that system can travel through monitoring in operation All local system processes in as record.
Wherein, the implementation of monitored object record can be writing record form, tabular form or block diagram fonn.
Step 204, according to the ID in monitored object record, the corresponding local system processes of the ID is traveled through every scheduled duration EMS memory occupation value.
Specifically, can be with the EMS memory occupation value of the important local system processes of several in monitoring system, it is also possible to supervise The EMS memory occupation value of all local system processes in control system, further to determine corresponding local system according to EMS memory occupation value System process whether normal operation.
Wherein, scheduled duration in itself or can operate user to be configured according to actual needs by system, and this cycle Property detection mode, can constantly circulate the monitoring to local system processes, it is to avoid single detection after system occur internal memory let out Dew, greatly improves the security of system.
Also, the object of traversal, can be the EMS memory occupation value of all local system processes being currently running, in specified feelings Under condition, or specified classification several local system processes being currently running EMS memory occupation value, when only travel through specify During classification, the detection of generation RAM leakage can be made whether in view of the service of the specified classification, it is adaptable to specialized scene, The energy consumption and EMS memory occupation of system can also be reduced.
Whether step 206, detects in the EMS memory occupation value of traversal there is the abnormal EMS memory occupation for being more than default max-thresholds Value, when judged result is to be, into step 208, when judged result is no, terminates.
The default max-thresholds are the maximum memory value taken when local system processes normally run, that is to say, that internal memory Occupation value is in normal operating condition less than or equal to the local system processes of the default max-thresholds.EMS memory occupation value is more than The local system processes of the default max-thresholds are that now, the EMS memory occupation value is that abnormal internal memory is accounted in abnormal operating condition With value.
Wherein, max-thresholds are preset by developer for system is set, it is also possible to by system in itself according to actual motion needs Voluntarily set, different local system processes can preset max-thresholds, certainly, different local system processes using identical Because its function is different, corresponding EMS memory occupation value is also different, therefore, different local system processes can also have different Default max-thresholds.
Step 208, preserves the abnormal process information of the corresponding local system processes of abnormal EMS memory occupation value, restarts abnormal interior Deposit the corresponding local system processes of occupation value, and return to step 202.
When EMS memory occupation value exceeds default max-thresholds, illustrate that corresponding local system processes have occurred that internal memory is let out Dew, with the potential safety hazard for the abnormal conditions such as configuration change, process collapse occur, now, restarts the local system processes, Specifically, just it is off making the operation of the local system processes, makes the functional rehabilitation of the local system processes normal, and again The local system processes are run, so as to repair system exception problem caused by RAM leakage in time, are eliminated safe hidden trouble, it is to avoid Because the problems such as system interim card, paralysis, being also positioning abnormal problem, repairing abnormal asking in time caused by the leakage of local system processes Topic has striven for the time, improves the stability of system.
Wherein, by abnormal process information preserve implementation, can for write-in journal file, be uploaded to other systems or Terminal etc., so as to facilitate staff to find, understand and solve problem.
With reference to Fig. 3 specifically describe step 208 in the step of restarting local system processes.
As shown in figure 3, the step of restarting local system processes, specifically includes:
Step 302, sends local system processes reset command.
Step 304, closes local system processes, that is, stop making the operation of the local system processes.
Step 306, deletes the ID of local system processes in monitored object record.
Step 308, starts local system processes, that is, restart the local system processes, makes the local system processes Functional rehabilitation is normal.
Step 310, by the ID of local system processes added in monitored object record, can be for system basis in operation ID in monitored object record is addressed to local system processes, and continuation carries out the monitoring of EMS memory occupation value to it.
Wherein, when default max-thresholds are exceeded to the EMS memory occupation value for there are the corresponding local system processes of ID again, return Step 302 is returned, proceeds to restart.
Certainly, if not detecting the local system processes that EMS memory occupation value exceeds default max-thresholds, no longer Restart, the step is not shown in figure 3.
Fig. 4 shows the block diagram of progress control unit according to an embodiment of the invention.
As shown in figure 4, the progress control unit 400 of one embodiment of the present of invention, including:EMS memory occupation value detection unit 402nd, determining unit 404 and local system processes restart unit 406.
EMS memory occupation value detection unit 402 is used to detect the EMS memory occupation value of local system processes, specifically, Ke Yijian The EMS memory occupation value of several the important local system processes in control system, it is also possible to all local system processes in monitoring system EMS memory occupation value, so as to further according to EMS memory occupation value determine corresponding local system processes whether normal operation.
Whether determining unit 404 is used to determine EMS memory occupation value more than default max-thresholds, and the default max-thresholds are this The maximum memory value that ground system process takes when normally running, that is to say, that EMS memory occupation value is less than or equal to the default maximum The local system processes of threshold value are that, in normal operating condition, EMS memory occupation value is entered more than the local system of the default max-thresholds Journey is in abnormal operating condition.
Wherein, max-thresholds are preset by developer for system is set, it is also possible to by system in itself according to actual motion needs Voluntarily set, different local system processes can preset max-thresholds, certainly, different local system processes using identical Because its function is different, corresponding EMS memory occupation value is also different, therefore, different local system processes can also have different Default max-thresholds.
Local system processes restart unit 406 for when it is determined that EMS memory occupation value is more than default max-thresholds, restarting this Ground system process.When EMS memory occupation value exceeds default max-thresholds, illustrate that corresponding local system processes have occurred that interior Leakage is deposited, with the potential safety hazard for the abnormal conditions such as configuration change, process collapse occur, now, the local system is restarted Process, specifically, is just off making the operation of the local system processes, makes the functional rehabilitation of the local system processes normal, And the local system processes are run again, so as to repair system exception problem caused by RAM leakage in time, eliminate safe hidden trouble, The problems such as system interim card caused by the leakage because of local system processes, paralysis is avoided, is also positioning abnormal problem, repaired in time Abnormal problem has striven for the time, improves the stability of system.
In the above embodiment of the present invention, alternatively, progress control unit 400 also includes ID recording units 408, ID records Unit 408 was used for before the EMS memory occupation value of EMS memory occupation value detection unit detection local system processes, started local system During process, during the ID of local system processes is recorded added to monitored object.Just its ID is added local system processes are started Into monitored object record, ID that can be for system in operation directly in monitored object record is addressed to the local system Process, further, system can travel through all local system processes in monitored object record in operation.
Wherein, the implementation of monitored object record can be writing record form, tabular form or block diagram fonn.
Then, EMS memory occupation value detection unit 402 is additionally operable to:According to the ID in monitored object record, ID is corresponding for detection The EMS memory occupation value of local system processes.
Specifically, can be with the EMS memory occupation value of the important local system processes of several in monitoring system, it is also possible to supervise The EMS memory occupation value of all local system processes in control system, further to determine corresponding local system according to EMS memory occupation value System process whether normal operation.
In the above embodiment of the present invention, alternatively, EMS memory occupation value detection unit 402 is additionally operable to:Every scheduled duration The EMS memory occupation value of all local system processes being currently running of traversal, or specify several of classification every scheduled duration traversal The EMS memory occupation value of the local system processes being currently running.
Scheduled duration in itself or can operate user to be configured according to actual needs by system, and this periodic inspection Survey mode, can constantly circulate the monitoring to local system processes, it is to avoid system occurs RAM leakage after single detection, significantly Improve the security of system.
Also, the object of traversal, can be the EMS memory occupation value of all local system processes being currently running, in specified feelings Under condition, or specified classification several local system processes being currently running EMS memory occupation value, when only travel through specify During classification, the detection of generation RAM leakage can be made whether in view of the service of the specified classification, it is adaptable to specialized scene, The energy consumption and EMS memory occupation of system can also be reduced.
In the above embodiment of the present invention, alternatively, local system processes restart unit 406 specifically for:Close local System process, deletes the ID of local system processes in monitored object record, and be again started up local system processes.
The local system processes are restarted, specifically, is just off making the operation of the local system processes, make this The functional rehabilitation of ground system process is normal, and runs the local system processes again, so that caused by repairing RAM leakage in time System exception problem, eliminates safe hidden trouble, it is to avoid because system interim card, paralysis etc. are asked caused by the leakage of local system processes Topic is also positioning abnormal problem, repair abnormal problem in time has striven for the time, improves the stability of system.
In the above embodiment of the present invention, optionally it is determined that unit 404 specifically for:Detect the EMS memory occupation value of traversal In whether there is abnormal EMS memory occupation value more than default max-thresholds;Local system processes are restarted unit 406 and are additionally operable to:Work as inspection Survey when there is abnormal EMS memory occupation value in the EMS memory occupation value that result is traversal, restart the corresponding local system of abnormal EMS memory occupation value System process.
The default max-thresholds are the maximum memory value taken when local system processes normally run, that is to say, that internal memory Occupation value is in normal operating condition less than or equal to the local system processes of the default max-thresholds.EMS memory occupation value is more than The local system processes of the default max-thresholds are that now, the EMS memory occupation value is that abnormal internal memory is accounted in abnormal operating condition With value.
In the above embodiment of the present invention, alternatively, progress control unit 400 also includes also being protected including abnormal process information Memory cell 410, abnormal process information holding unit 410 is used for abnormal interior when having in the EMS memory occupation value that testing result is traversal When depositing occupation value, the abnormal process information of the corresponding local system processes of abnormal EMS memory occupation value is preserved.
The implementation that abnormal process information is preserved, can be write-in journal file, be uploaded to other systems or terminal Deng so as to facilitate staff to find, understand and solve problem.
Fig. 5 shows the block diagram of terminal according to an embodiment of the invention.
As shown in figure 5, terminal according to an embodiment of the invention 500, including the progress control unit shown in Fig. 4 400, therefore, the terminal 500 have and Fig. 4 shown in the identical technique effect of progress control unit 400, will not be repeated here.
Technical scheme is described in detail above in association with accompanying drawing, by technical scheme, can pass through Restart local system processes and repair system exception problem caused by RAM leakage in time so that the correlation of the local system processes Function is normal, so as to avoid the problems such as system interim card, paralysis caused by the leakage because of local system processes, improves system Stability.
The preferred embodiments of the present invention are these are only, is not intended to limit the invention, for those skilled in the art For member, the present invention can have various modifications and variations.All any modifications within the spirit and principles in the present invention, made, Equivalent, improvement etc., should be included within the scope of the present invention.
Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determining " or " in response to detection ".Similarly, depending on linguistic context, phrase " if it is determined that " or " if detection (condition or event of statement) " can be construed to " when it is determined that when " or " in response to determine " or " when the detection (condition of statement Or event) when " or " in response to detection (condition or event of statement) ".
It should be noted that terminal involved in the embodiment of the present invention can include but is not limited to personal computer (Personal Computer, PC), personal digital assistant (Personal Digital Assistant, PDA), wireless handheld Equipment, panel computer (Tablet Computer), mobile phone, MP3 player, MP4 players etc..
In several embodiments provided by the present invention, it should be understood that disclosed system, apparatus and method, can be with Realize by another way.For example, device embodiment described above is only schematical, for example, the unit Divide, only a kind of division of logic function there can be other dividing mode when actually realizing, for example, multiple units or group Part can be combined or be desirably integrated into another system, or some features can be ignored, or not performed.It is another, it is shown Or the coupling each other that discusses or direct-coupling or communication connection can be by some interfaces, device or unit it is indirect Coupling is communicated to connect, and can be electrical, mechanical or other forms.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list Unit can both be realized in the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit to realize.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can store and be deposited in an embodied on computer readable In storage media.Above-mentioned SFU software functional unit storage is in a storage medium, including some instructions are used to so that a computer Device (can be personal computer, server, or network equipment etc.) or processor (Processor) perform the present invention each The part steps of embodiment methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. it is various Can be with the medium of store program codes.
Presently preferred embodiments of the present invention is the foregoing is only, is not intended to limit the invention, it is all in essence of the invention Within god and principle, any modification, equivalent substitution and improvements done etc. should be included within the scope of protection of the invention.

Claims (12)

1. a kind of course control method, it is characterised in that including:
Detect the EMS memory occupation value of local system processes;
Determine the EMS memory occupation value whether more than default max-thresholds;
When it is determined that the EMS memory occupation value is more than the default max-thresholds, the local system processes are restarted.
2. course control method according to claim 1, it is characterised in that in the EMS memory occupation of detection local system processes Before the step of value, also include:
When the local system processes are started, during the ID of the local system processes is recorded added to monitored object;
The step of detecting the EMS memory occupation value of local system processes, including:
According to the ID in monitored object record, the EMS memory occupation value of the corresponding local system processes of the ID is detected.
3. course control method according to claim 2, it is characterised in that the step of restarting the local system processes, Specifically include:
The local system processes are closed, and deletes the ID of the local system processes in monitored object record;
It is again started up the local system processes.
4. course control method according to any one of claim 1 to 3, it is characterised in that detection local system processes EMS memory occupation value the step of, including:
The EMS memory occupation value of all local system processes being currently running is traveled through every scheduled duration;Or
The EMS memory occupation value of several local system processes being currently running of classification is specified every scheduled duration traversal.
5. course control method according to claim 4, it is characterised in that determine the EMS memory occupation value whether more than pre- If the step of max-thresholds, specifically include:
Detect in the EMS memory occupation value of traversal whether there is the abnormal EMS memory occupation value for being more than the default max-thresholds;
When it is determined that the EMS memory occupation value is more than the default max-thresholds, the step of restart the local system processes, tool Body includes:
When having the abnormal EMS memory occupation value in the EMS memory occupation value that testing result is the traversal, the exception is restarted interior Deposit the corresponding local system processes of occupation value.
6. course control method according to claim 5, it is characterised in that described when testing result is the interior of the traversal Deposit when there is the abnormal EMS memory occupation value in occupation value, also include:
Preserve the abnormal process information of the corresponding local system processes of the abnormal EMS memory occupation value.
7. a kind of progress control unit, it is characterised in that including:
EMS memory occupation value detection unit, detects the EMS memory occupation value of local system processes;
Whether determining unit, determine the EMS memory occupation value more than default max-thresholds;
Local system processes restart unit, when it is determined that the EMS memory occupation value is more than the default max-thresholds, restart described Local system processes.
8. progress control unit according to claim 7, it is characterised in that also include:
ID recording units, before the EMS memory occupation value of EMS memory occupation value detection unit detection local system processes, start During the local system processes, during the ID of the local system processes is recorded added to monitored object;
The EMS memory occupation value detection unit is used for:
According to the ID in monitored object record, the EMS memory occupation value of the corresponding local system processes of the ID is detected.
9. progress control unit according to claim 8, it is characterised in that it is specific that the local system processes restart unit For:
The local system processes are closed, the ID of the local system processes is deleted in monitored object record, and again It is secondary to start the local system processes.
10. the progress control unit according to any one of claim 7 to 9, it is characterised in that the EMS memory occupation value inspection Surveying unit is used for:
The EMS memory occupation value of all local system processes being currently running is traveled through every scheduled duration, or every scheduled duration traversal Specify the EMS memory occupation value of several local system processes being currently running of classification.
11. progress control units according to claim 10, it is characterised in that the determining unit specifically for:
Detect in the EMS memory occupation value of traversal whether there is the abnormal EMS memory occupation value for being more than the default max-thresholds;
The local system processes are restarted unit and are additionally operable to:
When having the abnormal EMS memory occupation value in the EMS memory occupation value that testing result is the traversal, the exception is restarted interior Deposit the corresponding local system processes of occupation value.
12. progress control units according to claim 11, it is characterised in that also include:
Abnormal process information holding unit, when interior with the exception in the EMS memory occupation value that the testing result is the traversal When depositing occupation value, the abnormal process information of the corresponding local system processes of the abnormal EMS memory occupation value is preserved.
CN201611085355.0A 2016-11-29 2016-11-29 Process control method and process control device Pending CN106708616A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611085355.0A CN106708616A (en) 2016-11-29 2016-11-29 Process control method and process control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611085355.0A CN106708616A (en) 2016-11-29 2016-11-29 Process control method and process control device

Publications (1)

Publication Number Publication Date
CN106708616A true CN106708616A (en) 2017-05-24

Family

ID=58935262

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611085355.0A Pending CN106708616A (en) 2016-11-29 2016-11-29 Process control method and process control device

Country Status (1)

Country Link
CN (1) CN106708616A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108108258A (en) * 2017-12-29 2018-06-01 杭州迪普科技股份有限公司 The restorative procedure and device of a kind of RAM leakage
CN109634740A (en) * 2018-11-08 2019-04-16 华为技术有限公司 EMS memory management process and device
CN110209548A (en) * 2018-04-19 2019-09-06 深圳市腾讯计算机***有限公司 Service control method, system, electronic equipment and computer readable storage medium
CN111381996A (en) * 2020-03-16 2020-07-07 Oppo(重庆)智能科技有限公司 Memory exception handling method and device
CN112035289A (en) * 2020-09-03 2020-12-04 浙江大华技术股份有限公司 Method and device for determining data block leakage, storage medium and electronic device
CN112306371A (en) * 2019-07-30 2021-02-02 伊姆西Ip控股有限责任公司 Method, apparatus and computer program product for storage management
CN113381895A (en) * 2021-06-16 2021-09-10 杭州迪普科技股份有限公司 Network fault detection method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060212852A1 (en) * 2005-03-16 2006-09-21 Jinwoo Hwang Methods, systems and computer program products for detecting memory leaks
CN103324500A (en) * 2013-05-06 2013-09-25 广州市动景计算机科技有限公司 Method and device for recycling internal memory
CN103914322A (en) * 2013-01-05 2014-07-09 腾讯科技(深圳)有限公司 Terminal acceleration method and terminal
CN104133757A (en) * 2013-11-28 2014-11-05 腾讯科技(成都)有限公司 Method for obtaining memory information and terminal
CN104714874A (en) * 2015-02-28 2015-06-17 深圳市中兴移动通信有限公司 Method for intelligently optimizing internal storage of mobile terminal and mobile terminal
CN105302637A (en) * 2015-10-13 2016-02-03 广东欧珀移动通信有限公司 Restoration method and apparatus for jamming caused by system process runtime exception and mobile terminal
CN105511963A (en) * 2015-11-30 2016-04-20 Tcl集团股份有限公司 Memory optimization method and system based on Android system
CN105868012A (en) * 2016-03-30 2016-08-17 北京小米移动软件有限公司 Method and device for processing user request
CN105871633A (en) * 2016-05-31 2016-08-17 中国建设银行股份有限公司 Application control method, device and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060212852A1 (en) * 2005-03-16 2006-09-21 Jinwoo Hwang Methods, systems and computer program products for detecting memory leaks
CN103914322A (en) * 2013-01-05 2014-07-09 腾讯科技(深圳)有限公司 Terminal acceleration method and terminal
CN103324500A (en) * 2013-05-06 2013-09-25 广州市动景计算机科技有限公司 Method and device for recycling internal memory
CN104133757A (en) * 2013-11-28 2014-11-05 腾讯科技(成都)有限公司 Method for obtaining memory information and terminal
CN104714874A (en) * 2015-02-28 2015-06-17 深圳市中兴移动通信有限公司 Method for intelligently optimizing internal storage of mobile terminal and mobile terminal
CN105302637A (en) * 2015-10-13 2016-02-03 广东欧珀移动通信有限公司 Restoration method and apparatus for jamming caused by system process runtime exception and mobile terminal
CN105511963A (en) * 2015-11-30 2016-04-20 Tcl集团股份有限公司 Memory optimization method and system based on Android system
CN105868012A (en) * 2016-03-30 2016-08-17 北京小米移动软件有限公司 Method and device for processing user request
CN105871633A (en) * 2016-05-31 2016-08-17 中国建设银行股份有限公司 Application control method, device and system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108108258A (en) * 2017-12-29 2018-06-01 杭州迪普科技股份有限公司 The restorative procedure and device of a kind of RAM leakage
CN108108258B (en) * 2017-12-29 2020-11-06 杭州迪普科技股份有限公司 Memory leak repairing method and device
CN110209548A (en) * 2018-04-19 2019-09-06 深圳市腾讯计算机***有限公司 Service control method, system, electronic equipment and computer readable storage medium
CN109634740A (en) * 2018-11-08 2019-04-16 华为技术有限公司 EMS memory management process and device
CN112306371A (en) * 2019-07-30 2021-02-02 伊姆西Ip控股有限责任公司 Method, apparatus and computer program product for storage management
CN111381996A (en) * 2020-03-16 2020-07-07 Oppo(重庆)智能科技有限公司 Memory exception handling method and device
CN111381996B (en) * 2020-03-16 2023-06-06 Oppo(重庆)智能科技有限公司 Memory exception handling method and device
CN112035289A (en) * 2020-09-03 2020-12-04 浙江大华技术股份有限公司 Method and device for determining data block leakage, storage medium and electronic device
CN113381895A (en) * 2021-06-16 2021-09-10 杭州迪普科技股份有限公司 Network fault detection method and device
CN113381895B (en) * 2021-06-16 2022-06-24 杭州迪普科技股份有限公司 Network fault detection method and device

Similar Documents

Publication Publication Date Title
CN106708616A (en) Process control method and process control device
CN103092700B (en) Internal memory method for cleaning, device and terminal unit
CN102141942B (en) A kind of monitoring and protection method of equipment and device
CN103324500A (en) Method and device for recycling internal memory
CN108872762B (en) Electronic equipment leakage detection method and device, electronic equipment and storage medium
CN109738719B (en) Electrostatic discharge ESD detection method and related product
CN109614267A (en) A kind of method, apparatus, storage medium and terminal for repairing booting abnormal problem
CN104750589B (en) A kind of memory parameter adjusting method and mobile terminal
CN106201843A (en) The processing method of a kind of terminal data, device and terminal
WO2019024646A1 (en) Application management and control method, apparatus, and electronic device
CN106326065B (en) Terminal use duration management method and device
CN110908880A (en) Embedded point code injection method, event reporting method and related equipment thereof
CN103902011A (en) Electronic device controlling method and electronic device
CN103500138A (en) Power management method and system and mobile terminal
CN107679423A (en) Partition integrity inspection method and device
CN103870319A (en) Method and device for information processing and electronic device
CN105893221B (en) The alarm method and device of terminal operating duration
CN103837835A (en) Method and device for detecting capacity decreasing degree of mobile device battery
CN106371879A (en) Method and system for shielding non-deletable application of mobile terminal
CN107436830A (en) Use control method, system and electronic equipment
CN104063288A (en) Process management method and device
CN111221586A (en) Privacy cleaning method for application program, readable storage medium and terminal equipment
CN105354491B (en) Intelligent terminal standby mode detection method and device
CN109634782B (en) Method and device for detecting system robustness, storage medium and terminal
CN104503881B (en) The method of handheld device consumption detection, device and handheld device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170524