CN101436146A - 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 PDFInfo
- Publication number
- CN101436146A CN101436146A CNA2008102412335A CN200810241233A CN101436146A CN 101436146 A CN101436146 A CN 101436146A CN A2008102412335 A CNA2008102412335 A CN A2008102412335A CN 200810241233 A CN200810241233 A CN 200810241233A CN 101436146 A CN101436146 A CN 101436146A
- 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.)
- Granted
Links
Images
Landscapes
- Selective Calling Equipment (AREA)
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
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, its priority can be too not high, because if 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
Purpose of the present 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 process management system.
The method of the priority of a kind of dynamic adjustments remote device management progress of the present invention is achieved through the following technical solutions.
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 priority 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 be solved by the following technical programs.
Described step b) realizes by following steps: b1) if system's control process detects the CPU usage of certain process 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; Described step c) realizes by 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 frequent situation of adjusting the priority of 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, described 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.
A kind of process management system that the present invention proposes is achieved through the following technical solutions.
This process management system is provided with timer and process status detection module, process status logging modle, process priority adjusting module, described process status detection module is according to the CPU usage state of each process of time detecting of timer settings, in process status table, described process priority adjusting module is adjusted the priority of remote device management progress to described process status logging modle according to the recorded information of process status table with detected CPU usage state recording.
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 adjusted the priority of remote device management progress to the process status logging modle according to the recorded information of process status table with detected CPU usage state recording.
As depicted in figs. 1 and 2, the method for the priority of the dynamic adjustments remote device management progress of this embodiment description may further comprise the steps.
1) set up a timer in system's control process, 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 height of system's control process can guarantee that process status table in time generates under the situation that device software breaks down.
2) if system control process check to the CPU usage of certain process above or when arriving 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 represents 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 be in conjunction with concrete preferred implementation to further describing that the present invention did, can not assert that concrete enforcement of the present invention is confined to these explanations.For the general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered 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 priority of other each processes according to the timing of timer;
B) if system's control process detects the CPU usage of certain process 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:
Described step b) realizes by following steps: b1) if system's control process detects the CPU usage of certain process 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;
Described step c) realizes by 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: described 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. process management system, it is characterized in that: be provided with timer and process status detection module, process status logging modle, process priority adjusting module, described process status detection module is according to the CPU usage state of each process of time detecting of timer settings, in process status table, described process priority adjusting module is adjusted the priority of remote device management progress to described process status logging modle according to the recorded information of process status table with detected CPU usage state recording.
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 true CN101436146A (en) | 2009-05-20 |
CN101436146B 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) |
Cited By (9)
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 |
CN102779066A (en) * | 2012-06-14 | 2012-11-14 | 中国电子科技集团公司第四十一研究所 | Method for reducing influence of antivirus software on operational efficiency of test instrument |
CN102841786A (en) * | 2011-06-24 | 2012-12-26 | 国基电子(上海)有限公司 | Electronic equipment and method thereof for setting process priority |
CN103577301A (en) * | 2012-07-20 | 2014-02-12 | 腾讯科技(深圳)有限公司 | Method and terminal for displaying progress information |
CN104904169A (en) * | 2012-04-23 | 2015-09-09 | 马维尔国际贸易有限公司 | Adjusting thread priority to improve throughput between peer-to-peer (P2P) devices |
CN105204970A (en) * | 2014-06-30 | 2015-12-30 | 北京金山安全软件有限公司 | Method and device for detecting CPU occupancy rate abnormity of APP and mobile terminal |
CN106095558A (en) * | 2016-06-16 | 2016-11-09 | 广东欧珀移动通信有限公司 | A kind of method of audio effect processing and terminal |
CN106919461A (en) * | 2017-03-10 | 2017-07-04 | 广东欧珀移动通信有限公司 | Broadcast recipients' queue regulation method, device and terminal device |
CN109117271A (en) * | 2018-08-10 | 2019-01-01 | 普联技术有限公司 | Automatically adjust method, storage medium and the terminal device of cpu load |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3772713B2 (en) * | 2001-09-12 | 2006-05-10 | 日本電気株式会社 | Priority dynamic control method, priority dynamic control method, and program for priority dynamic control |
US7690003B2 (en) * | 2003-08-29 | 2010-03-30 | Fuller Jeffrey C | System and method for increasing data throughput using thread scheduling |
CN100591052C (en) * | 2007-04-25 | 2010-02-17 | 华为技术有限公司 | Traffic control method and service processing system |
-
2008
- 2008-12-15 CN CN2008102412335A patent/CN101436146B/en not_active Expired - Fee Related
Cited By (18)
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 |
CN102841786A (en) * | 2011-06-24 | 2012-12-26 | 国基电子(上海)有限公司 | Electronic equipment and method thereof for setting process priority |
CN102841786B (en) * | 2011-06-24 | 2015-07-29 | 国基电子(上海)有限公司 | The method of electronic equipment and setting process priority thereof |
CN104904169A (en) * | 2012-04-23 | 2015-09-09 | 马维尔国际贸易有限公司 | Adjusting thread priority to improve throughput between peer-to-peer (P2P) devices |
CN104904169B (en) * | 2012-04-23 | 2018-01-26 | 马维尔国际贸易有限公司 | Thread priority is adjusted to improve the handling capacity between point-to-point (P2P) device |
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 |
CN103577301A (en) * | 2012-07-20 | 2014-02-12 | 腾讯科技(深圳)有限公司 | Method and terminal for displaying progress information |
US10169422B2 (en) | 2012-07-20 | 2019-01-01 | Tencent Technology (Shenzhen) Company Limited | Method and device for displaying process information |
CN105204970B (en) * | 2014-06-30 | 2018-06-01 | 北京金山安全软件有限公司 | Method and device for detecting CPU occupancy rate abnormity of APP and mobile terminal |
WO2016000543A1 (en) * | 2014-06-30 | 2016-01-07 | 北京金山安全软件有限公司 | Method, device and mobile terminal for detecting abnormal cpu occupancy rate of app |
CN105204970A (en) * | 2014-06-30 | 2015-12-30 | 北京金山安全软件有限公司 | Method and device for detecting CPU occupancy rate abnormity of APP and mobile terminal |
CN106095558A (en) * | 2016-06-16 | 2016-11-09 | 广东欧珀移动通信有限公司 | A kind of method of audio effect processing and terminal |
CN106095558B (en) * | 2016-06-16 | 2019-05-10 | Oppo广东移动通信有限公司 | A kind of method and terminal of audio effect processing |
US10853092B2 (en) | 2016-06-16 | 2020-12-01 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method and device for sound effect processing |
US11023254B2 (en) | 2016-06-16 | 2021-06-01 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method and device for sound effect processing and storage medium |
CN106919461A (en) * | 2017-03-10 | 2017-07-04 | 广东欧珀移动通信有限公司 | Broadcast recipients' queue regulation method, device and terminal device |
CN109117271A (en) * | 2018-08-10 | 2019-01-01 | 普联技术有限公司 | Automatically adjust method, storage medium and the terminal device of cpu load |
Also Published As
Publication number | Publication date |
---|---|
CN101436146B (en) | 2012-05-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101436146B (en) | Method and system for dynamically regulating priority of remote device management progress | |
CN107040415B (en) | Terminal, data reporting method, server and data receiving method | |
US8977905B2 (en) | Method and system for detecting abnormality of network processor | |
US20070198610A1 (en) | System and method for backing up a database | |
CN108092836A (en) | The monitoring method and device of a kind of server | |
US20120209921A1 (en) | Instant Message Management Method and Apparatus | |
CN109408328A (en) | A kind of monitoring method, device and the equipment of hard disk health status | |
GB2434670A (en) | Monitoring and management of distributed information systems | |
US6971094B1 (en) | Deployed agent used in the installation and maintenance of software | |
CN101296135A (en) | Fault information processing method and device | |
CN103117879A (en) | Network monitoring system for computer hardware processing parameters | |
CN106681869A (en) | Computer fault detection system | |
CN104035857B (en) | System junk cleaning performance detecting method and device | |
CN102880540A (en) | Method for ensuring normal operation of access controller (AC) under high load | |
CN105955444A (en) | Aligned wakeup method and apparatus | |
CN115277566B (en) | Load balancing method and device for data access, computer equipment and medium | |
CN105323184A (en) | Method and device for saving RAM resource and realizing traffic statistics | |
US8880792B2 (en) | Memory watch | |
CN102314392A (en) | Computer monitoring system and monitoring alarm method | |
CN103188103A (en) | Self-monitoring method of network management system | |
CN102981939A (en) | Disc monitoring method | |
CN107423620A (en) | The management method and device of storage server service processes | |
CN110413435A (en) | A kind of communication failure restoration methods, system and associated component | |
CN104506939B (en) | A kind of information uploading method and television terminal | |
CN106227672A (en) | A kind of built-in application program fault catches and processing method |
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 |