CN101436146B - Method and system for dynamically regulating priority of remote device management progress - Google Patents

Method and system for dynamically regulating priority of remote device management progress Download PDF

Info

Publication number
CN101436146B
CN101436146B CN2008102412335A CN200810241233A CN101436146B CN 101436146 B CN101436146 B CN 101436146B CN 2008102412335 A CN2008102412335 A CN 2008102412335A CN 200810241233 A CN200810241233 A CN 200810241233A CN 101436146 B CN101436146 B CN 101436146B
Authority
CN
China
Prior art keywords
priority
remote device
device management
value
status table
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2008102412335A
Other languages
Chinese (zh)
Other versions
CN101436146A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2008102412335A priority Critical patent/CN101436146B/en
Publication of CN101436146A publication Critical patent/CN101436146A/en
Application granted granted Critical
Publication of CN101436146B publication Critical patent/CN101436146B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and a system for dynamically regulating the priority of remote equipment management processes. The method comprises the following steps: a) a process state table is established, and a system control process periodically inspects the priority of other processes according to the timing of a timer; b) if the CPU occupancy rate of a certain process is more than or equal to a limit value, the process is marked as abnormal in the process state table; the priority of the process is recorded; and the priority of a remote equipment management process is raised to be higher than that of the process; and c) if the system control process detects that the CPU occupancy rate of the process marked as abnormal is lower than the limit value, the process is marked as normal in the process state table, and the priority of a remote equipment management process is restored to the initial priority. The invention can still manage the remote equipment when network equipment software is abnormal, thereby guaranteeing the realization of remote management function.

Description

The method and system of the priority of dynamic adjustments remote device management progress
Technical field
The present invention relates to communication technical field, specifically relate to a kind of method and system of priority of dynamic adjustments remote device management progress.
Background technology
Along with popularizing of communication, the communication facilities in the communication network is more and more, and each communication facilities is deployed in physical space everywhere, and the management to the equipment of different physical locations just very big problem occurred like this.If there is not a kind of method of long-range equipment control, the network manager just can't manage at the extensive equipment of physical space deploy.In the prior art, adopt the Telnet Telnet, solved the problem of remote device management.In general; The telemanagement process is as the process of an independent operating in the device software, and its priority can be too not high, if because this process priority is too high; When the online remote management apparatus of many people or when running into Telnet and attacking; The priority of telemanagement process can make this process take cpu resource for a long time, will certainly influence the operation of regular traffic process, so generally can be lower than the priority of business process.
But; Other processes occur under the unusual situation in the network operation; When situation that endless loop, resource do not discharge appears in the process that particularly is higher than the telemanagement process priority; Remote management capability has just lost effect needing most when using, and at this moment just needs a kind of method to address this problem.
Summary of the invention
The object of the invention solves above technical matters exactly, proposes a kind of method of priority of dynamic adjustments remote device management progress, makes that equipment manager still can management equipment when remote equipment is unusual.
The present invention also proposes a kind of system of dynamic adjustments remote device management progress priority.
The method of the priority of a kind of dynamic adjustments remote device management progress of the present invention realizes through following technical scheme.
The method of the priority of this dynamic adjustments remote device management progress may further comprise the steps: a) set up process status table, system's control process is made regular check on the CPU usage of other each processes according to the timing of timer; B) if the CPU usage that system's control process detects certain process more than or equal to ultimate value then in process status table with this Processes Tag for unusual; Write down the priority of this process, and the priority of remote device management progress is brought up to the priority that is higher than this process; C), then in process status table, delete the abnormal marking of this process, and the priority of remote device management progress is returned to initial priority if system's control process detects the CPU usage that is labeled as unusual process and is lower than ultimate value.
Compared with prior art, when this method abnormal conditions occur in network equipment process, the priority of remote device management progress is improved, thereby guaranteed that the equipment control keeper occurs still can managing remote equipment when unusual in network device software; Initial priority that can the restorer managing process after unusual the elimination guarantees the operate as normal of other software process.
The method of the priority of above-mentioned dynamic adjustments remote device management progress can also further solve through following technical scheme.
Said step b) realizes through following steps: b1) if system's control process detect certain process CPU usage more than or equal to ultimate value; Then in process status table, the anomalous counts value of this process is added 1; And judge whether this anomalous counts value is equal to or greater than setting value, if this anomalous counts value is equal to or greater than setting value, be unusual then with this Processes Tag; Write down the priority of this process, and the priority of remote device management progress is brought up to the priority that is higher than this process; Said step c) realizes through following steps: c1) if system's control process detects the CPU usage that is labeled as unusual process and is lower than ultimate value; Then in process status table with the anomalous counts value zero setting of this process; With this Processes Tag is normal, and the priority of remote device management progress is returned to initial priority.The setting value of anomalous counts can be set so as required, occur the situation of the priority of frequent adjustment remote device management progress when the process operate as normal of avoiding takies CPU.
In the method for the priority of above-mentioned dynamic adjustments remote device management progress; Said step b1) in; If system's control process detect certain anomalous counts value between 0 and setting value between the CPU usage of process be lower than ultimate value, then in process status table with the anomalous counts value zero setting of this process.Can avoid erroneous judgement disconnected like this, after process self has been recovered normally, just needn't adjust the priority of remote device management progress again.
The system of a kind of dynamic adjustments remote device management progress priority that the present invention proposes realizes through following technical scheme.
The system of this dynamic adjustments remote device management progress priority comprises:
Be used to set up process status table, make regular check on the process situation record cell of the CPU usage of other each processes according to the timing of timer;
Be used for CPU usage in detected certain process more than or equal to ultimate value after; In process status table, be unusual with this Processes Tag; Write down the priority of this process, and the priority of remote device management progress is brought up to first adjustment unit of the priority that is higher than this process;
Be used for after detecting the CPU usage that is labeled as unusual process and being lower than ultimate value, the abnormal marking of this process of deletion in process status table, and the priority of remote device management progress returned to second adjustment unit of initial priority.
Description of drawings
Fig. 1 is a process flow diagram of heightening the priority of telemanagement process in the embodiment;
Fig. 2 is the process flow diagram that recovers the priority of telemanagement process in the embodiment.
Embodiment
A kind of process management system that this embodiment is described is provided with timer and process status detection module, process status logging modle, process priority adjusting module.The process status detection module is according to the CPU usage state of each process of time detecting of timer settings; In process status table, the process priority adjusting module is according to the priority of the recorded information adjustment remote device management progress of process status table with detected CPU usage state recording for the process status logging modle.
As depicted in figs. 1 and 2, the method for the priority of the dynamic adjustments remote device management progress that this embodiment is described may further comprise the steps.
1) in system's control process, set up a timer, the CPU usage of quantitative check computer system other each software process in service is set up a process status table, and the CPU usage state recording of at every turn checking is got off.Because the priority of system's control process is high, can guarantee that process status table in time generates under the situation that device software breaks down.
2) if system control process check is when the CPU usage of certain process surpasses or arrive a ultimate value, for example: 90%, 95% or 100% etc., then the anomalous counts value with this process correspondence in the process status table adds 1.And judge whether amended anomalous counts value meets or exceeds a setting value, for example: 50 or 100.Because timer time is fixed at interval, when the anomalous counts value meets or exceeds setting value, just representes that CPU is taken in the period at this section by certain process, thinks that this process is continuing to take cpu resource always.Be labeled as this process unusually this moment in process status table, and note the priority of this process, and execution in step 3 then).
Recorded in process status table for certain and to be equal to or greater than 1 anomalous counts value but this anomalous counts value does not meet or exceed the process of setting value again as yet; If system control process check is when its CPU usage is lower than the ultimate value of regulation, system control process then in process status table with the anomalous counts value zero setting of process.Continue the inspection of other processes then or return step 1).
3) system's control process is brought up to the priority of remote device management progress and is higher than the priority that is labeled as unusual process in the state record table.
4) in process status table, be labeled as unusual process for certain; If system control process check is when its CPU usage is lower than the ultimate value of regulation; System control process then in process status table with the anomalous counts value zero setting of process, and with the abnormal marking deletion of this process.
5) system's control process is recovered remote device management progress to initial priority.
Above content is to combine concrete preferred implementation to the further explain that the present invention did, and can not assert that practical implementation of the present invention is confined to these explanations.For the those of ordinary skill of technical field under the present invention, under the prerequisite that does not break away from the present invention's design, can also make some simple deduction or replace, all should be regarded as belonging to protection scope of the present invention.

Claims (4)

1. the method for the priority of a dynamic adjustments remote device management progress is characterized in that, may further comprise the steps:
A) set up process status table, system's control process is made regular check on the CPU usage of other each processes according to the timing of timer;
B) if system's control process detect certain process CPU usage more than or equal to ultimate value; In process status table, be unusual then with this Processes Tag; Write down the priority of this process, and the priority of remote device management progress is brought up to the priority that is higher than this process;
C), then in process status table, delete the abnormal marking of this process, and the priority of remote device management progress is returned to initial priority if system's control process detects the CPU usage that is labeled as unusual process and is lower than ultimate value.
2. the method for the priority of dynamic adjustments remote device management progress as claimed in claim 1 is characterized in that:
Said step b) realizes through following steps: b1) if system's control process detect certain process CPU usage more than or equal to ultimate value; Then in process status table, the anomalous counts value of this process is added 1; And judge whether this anomalous counts value is equal to or greater than setting value, if this anomalous counts value is equal to or greater than setting value, be unusual then with this Processes Tag; Write down the priority of this process, and the priority of remote device management progress is brought up to the priority that is higher than this process;
Said step c) realizes through following steps: c1) if system's control process detects the CPU usage that is labeled as unusual process and is lower than ultimate value; Then in process status table with the anomalous counts value zero setting of this process; With this Processes Tag is normal, and the priority of remote device management progress is returned to initial priority.
3. the method for the priority of dynamic adjustments remote device management progress as claimed in claim 2; It is characterized in that: said step b1); If system's control process detect certain anomalous counts value between 0 and setting value between the CPU usage of process be lower than ultimate value, then in process status table with the anomalous counts value zero setting of this process.
4. the system of a dynamic adjustments remote device management progress priority is characterized in that, comprising:
Be used to set up process status table, make regular check on the process situation record cell of the CPU usage of other each processes according to the timing of timer;
Be used for CPU usage in detected certain process more than or equal to ultimate value after; In process status table, be unusual with this Processes Tag; Write down the priority of this process, and the priority of remote device management progress is brought up to first adjustment unit of the priority that is higher than this process;
Be used for after detecting the CPU usage that is labeled as unusual process and being lower than ultimate value, the abnormal marking of this process of deletion in process status table, and the priority of remote device management progress returned to second adjustment unit of initial priority.
CN2008102412335A 2008-12-15 2008-12-15 Method and system for dynamically regulating priority of remote device management progress Expired - Fee Related CN101436146B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008102412335A CN101436146B (en) 2008-12-15 2008-12-15 Method and system for dynamically regulating priority of remote device management progress

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008102412335A CN101436146B (en) 2008-12-15 2008-12-15 Method and system for dynamically regulating priority of remote device management progress

Publications (2)

Publication Number Publication Date
CN101436146A CN101436146A (en) 2009-05-20
CN101436146B true CN101436146B (en) 2012-05-09

Family

ID=40710595

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008102412335A Expired - Fee Related CN101436146B (en) 2008-12-15 2008-12-15 Method and system for dynamically regulating priority of remote device management progress

Country Status (1)

Country Link
CN (1) CN101436146B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102307224A (en) * 2011-05-17 2012-01-04 华为软件技术有限公司 Method and device for realizing service isolation in cloud computing system, and cloud server
CN102841786B (en) * 2011-06-24 2015-07-29 国基电子(上海)有限公司 The method of electronic equipment and setting process priority thereof
US9152459B2 (en) * 2012-04-23 2015-10-06 Marvell World Trade Ltd. Adjusting thread priority to improve throughput between peer-to-peer (P2P) devices
CN102779066A (en) * 2012-06-14 2012-11-14 中国电子科技集团公司第四十一研究所 Method for reducing influence of antivirus software on operational efficiency of test instrument
CN103577301B (en) * 2012-07-20 2017-12-05 腾讯科技(深圳)有限公司 A kind of method and terminal of show process information
CN105204970B (en) * 2014-06-30 2018-06-01 北京金山安全软件有限公司 Method and device for detecting CPU occupancy rate abnormity of APP and mobile terminal
CN106095558B (en) 2016-06-16 2019-05-10 Oppo广东移动通信有限公司 A kind of method and terminal of audio effect processing
CN106919461B (en) * 2017-03-10 2022-07-15 Oppo广东移动通信有限公司 Method and device for adjusting broadcast receiver queue and terminal equipment
CN109117271B (en) * 2018-08-10 2021-03-23 普联技术有限公司 Method for automatically adjusting CPU load, storage medium and terminal equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003084989A (en) * 2001-09-12 2003-03-20 Nec Corp Priority dynamic control system, priority dynamic control method, and priority dynamic control program
CN1595361A (en) * 2003-08-29 2005-03-16 微软公司 System and method for increasing data throughput using thread scheduling
CN101056264A (en) * 2007-04-25 2007-10-17 华为技术有限公司 Traffic control method and service processing system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003084989A (en) * 2001-09-12 2003-03-20 Nec Corp Priority dynamic control system, priority dynamic control method, and priority dynamic control program
CN1595361A (en) * 2003-08-29 2005-03-16 微软公司 System and method for increasing data throughput using thread scheduling
CN101056264A (en) * 2007-04-25 2007-10-17 华为技术有限公司 Traffic control method and service processing system

Also Published As

Publication number Publication date
CN101436146A (en) 2009-05-20

Similar Documents

Publication Publication Date Title
CN101436146B (en) Method and system for dynamically regulating priority of remote device management progress
CN107515796B (en) Equipment abnormity monitoring processing method and device
CN107040415B (en) Terminal, data reporting method, server and data receiving method
US8977905B2 (en) Method and system for detecting abnormality of network processor
CN109408328A (en) A kind of monitoring method, device and the equipment of hard disk health status
US20070198610A1 (en) System and method for backing up a database
CN108092836A (en) The monitoring method and device of a kind of server
CN1577258A (en) Detection of out of memory and graceful shutdown
CN103116531A (en) Storage system failure predicting method and storage system failure predicting device
CN101296135A (en) Fault information processing method and device
CN103927239A (en) Method and device for restoring system of terminal equipment
CN109240836B (en) Method and device for configuring messages of message queue
CN106681869A (en) Computer fault detection system
CN102014012B (en) Synchronous alarming method and device
CN103475696A (en) System and method for monitoring state of cloud computing cluster server
CN102694678A (en) Method, system, network management server and network element device for alarm message transmission
CN105323184A (en) Method and device for saving RAM resource and realizing traffic statistics
CN102314392A (en) Computer monitoring system and monitoring alarm method
WO2014114089A1 (en) Method and system for optimizing load balance of distributed file system
CN102622291A (en) Method and system for monitoring processes
CN103995901B (en) A kind of method for determining back end failure
CN102981939A (en) Disc monitoring method
CN103297264A (en) Cloud platform failure recovery method and system
CN103500138A (en) Power management method and system and mobile terminal
US8959058B1 (en) Linking dynamic computer data protection to an external state

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120509

Termination date: 20171215

CF01 Termination of patent right due to non-payment of annual fee