CN1766847A - Processing resource monitoring and pre-warning method for computer system - Google Patents

Processing resource monitoring and pre-warning method for computer system Download PDF

Info

Publication number
CN1766847A
CN1766847A CN 200410086131 CN200410086131A CN1766847A CN 1766847 A CN1766847 A CN 1766847A CN 200410086131 CN200410086131 CN 200410086131 CN 200410086131 A CN200410086131 A CN 200410086131A CN 1766847 A CN1766847 A CN 1766847A
Authority
CN
China
Prior art keywords
index
resource requirement
resource
assembly
requirement index
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
Application number
CN 200410086131
Other languages
Chinese (zh)
Other versions
CN100349129C (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.)
Nanjing Rong Bao Technology Industry Co., Ltd.
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 CNB2004100861312A priority Critical patent/CN100349129C/en
Publication of CN1766847A publication Critical patent/CN1766847A/en
Application granted granted Critical
Publication of CN100349129C publication Critical patent/CN100349129C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a computer system processing source monitoring and alarming method which comprises: 1) reading the preset source need index threshold value when the system starts; 2) it enrolls the group source need index to the system when the group starts; 3) the system captures the group source need index and accumulates; 4) the system quotes weather the accumulated source need index exceed to the presetting threshold value, if it exceeds to the presetting threshold value, it sends the alarm clue information and feedbacks the abnormal operating result to the group, otherwise it feedbacks the normal operating result to the group.

Description

A kind of computer system processor resource monitoring and method for early warning
Technical field
The present invention relates to the distributed computer application,, initiatively avoid the method for computer system processor resource exhaustion in particular to a kind of processing resource real time monitoring and early warning to computer system.。
Background technology
Based on distributed application software system, each is the computing machine permission a plurality of application software functional units of load operating (calling assembly in the following text) independently, each assembly can take certain Computer Processing resource, particularly can consume certain central processing unit (CPU) processing time, take the internal storage (RAM) of a constant volume simultaneously.Though, progress along with The present computer technology, the processing resource of computing machine is than horn of plenty, but because but the component count of load operating is hard-core in principle, therefore tend to take place the situation of Computer Processing inadequate resource, at this time the typical consequence of Chan Shenging is exactly to increase all operating assembly stand-by period, and it is slow that the user is operated response, and serious meeting causes the computing machine machine of delaying.
In the prior art, the general system resource monitoring mechanism that provides by means of operating system is such as the performance monitor (Windows NT Performance Monitor) that Windows provides, the relevant handling property data of real time monitoring computer system.Owing to the current actual operating state of the data based computer system of this mode is measured and get, therefore when performance monitor discovery system handles inadequate resource, might system be in and have delayed the machine edge.For assembly self, unless assembly management of performance monitor voluntarily, it also is to know whether system handles resource actually can allow the operation of self.
Therefore, in the prior art, generally only after component responds is slow, the user just can know the Computer Processing inadequate resource; On the other hand, want to avoid occurring handling the situation of inadequate resource, often need to be grasped the relevant knowledge of a lot of computer operating systems, this is a very high requirement for domestic consumer.
Summary of the invention
Purpose of the present invention is exactly at above-mentioned the deficiencies in the prior art, proposes a kind of computer system processor resource monitoring and method for early warning.
Core concept of the present invention is: by being accumulated at the processing resource requirement index of registering at the beginning of the assembly startup, can before the assembly commencement of commercial operation, assess the computer system processor resource, if may surpass preset threshold value, provide warning information immediately, the assembly in starting feeds back unusual register information simultaneously.
A kind of computer system processor resource monitoring and method for early warning comprise the following steps:
Read default resource requirement index threshold when the first step, system start-up;
When second step, assembly startup, to system's registration component resource requirement index;
The resource requirement index of the 3rd step, system's securing component, and add up;
The 4th step, system judge whether the resource requirement index after the accumulative total surpasses preset threshold value, if surpass then provide alarm prompt, to assembly feedback abnormal operation result; Otherwise to assembly feedback normal running result.
The method that adopts the present invention to propose, on the one hand, under supervision of the present invention, assembly can just be accepted to handle the assessment of resource requirement index at the beginning of starting, for some assembly, and can be according to unusual registration feedback information, selection stops to continue to start, to avoid producing adverse consequences.On the other hand, for the common computer user, random charging assembly, up to receiving warning information, at this moment, the user can be according to information, selection stops some non-critical component that has loaded, perhaps selects for use more powerful computer system to continue the operation said modules.And these operations do not need the computer user that very high computer literacy is arranged, and general personnel just can be according to the information complete operation.
Description of drawings
Fig. 1 is the composition structural representation of surveillance in one embodiment of the present of invention;
Fig. 2 is the detail flowchart of one embodiment of the present of invention.
Embodiment
Below in conjunction with the drawings and specific embodiments realization of the present invention is described in further detail.
Fig. 1 is the composition structural representation of surveillance in one embodiment of the present of invention.As shown in Figure 1, in one embodiment of the invention, be the method that realizes that the present invention proposes, system needs several and handles resource registration unit and a processing resource record unit; Conventional application software functional unit (assembly) refers to the assembly that need handle the resource requirement registration, and the present invention provides the service of handling the registration of resource requirement index to these assemblies.As a selectable unit, handle the resource registration unit and be used for providing indication mechanism cut-in method more easily, and feed back concrete enrollment results to assembly.Because the existence of this selectable unit makes that general assembly can need not to be concerned about the position of handling the resource record unit, thereby can reduce the access complexity of assembly.Handle the resource record unit, be used for response registration request, when accumulative total was handled the resource requirement index, whether judgment processing resource requirement index had surpassed threshold value, and embodied judged result in the registration feedback information.Said units is the carrier that proposition method of the present invention is implemented.
Fig. 2 is the detail flowchart that the foregoing description is implemented the method for the present invention's proposition.As shown in Figure 2, implementation step comprises in the embodiments of the invention:
1, reads processing resource requirement index threshold: when processing resource record unit begins to start, read default demand index threshold value; Handling the resource requirement index threshold refers to: to the quantitative information of each computer resource of being comprised in this index, a ratings of She Dinging respectively.As a kind of optional expansion means, handling the resource requirement index threshold can write in the external memory storage in some way in advance, such as the configuration file in the hard disk, cooperates an extra threshold setting program simultaneously, can make the adjustment of threshold value convenient more like this.
2, fill assembly is handled the resource requirement index: when assembly starts, at first need the processing resource requirement index of self is write in the storer, make this partial memory comprise the processing resource requirement index of this assembly; Described processing resource requirement index includes but not limited to the quantitative information of following computer resource: the CPU processing time; The RAM capacity that takies.
3, the executive module operation is registered: the log-on operation when executive module starts, transmission records assembly and handles the memory cell of resource requirement index to handling the resource record unit in operation.
4, obtain processing resource requirement index: handle the resource record unit and from the storer of receiving, obtain processing resource requirement index.
5, accumulative total is handled the resource requirement index.The accumulative total of handling the resource requirement index is referred to: the quantitative information to each computer resource of being comprised in this index adds up respectively.
6, whether judgment processing resource requirement index has surpassed threshold value: whether judgment processing resource requirement index has surpassed threshold value refers to: compare the relation of the quantitative information of each computer resource with threshold value respectively, as long as there is one to surpass the threshold value restricted portion, think that then handling the resource requirement index surpasses threshold value.
7, if the processing resource requirement index of accumulative total has surpassed threshold value, information in some way then gives a warning.In general, this warning message can by but the following mode that provides be provided express, such as: be recorded in the journal file of external memory storage, perhaps the mode with instant information warning represents to the user.Then, handle the resource record unit and will feed back unusual enrollment results to assembly; If the processing resource requirement index of accumulative total does not surpass threshold value, then directly feed back normal enrollment results to assembly.
Whether assembly is normal according to the enrollment results of feedback, can take suitable subsequent operation, and in general, the operation of being taked can be but be not limited to following method, such as: ignore abnormal signal, continue to start; Perhaps send instant information warning to the operator; Perhaps will register exception record in journal file; Perhaps after sending instant information warning, stop automatically starting or the like.
In step described above, about the processing resource requirement index of assembly self, generally can by but be not limited to following mode and obtain, such as empirical value---handle the resource requirement exponential estimation according to the suitable assembly of some functions and get; Calculate numerical value---according to the groundwork that assembly is born, calculate data such as its CPU processing time that needs, EMS memory occupation situation.As a kind of supplementary means, handle the real value of resource requirement index, can constantly adjust in actual applications, make it more realistic applicable cases.
On the other hand, can cooperate and handle the resource requirement index threshold, increase a computer-system capabilities coefficient, with the relative processing capacity variance of expression various computing machine system.Such as, suppose to have certain assembly X, its CPU processing time demand index is 30, CPU processing time demand index threshold setting is 25, and the capacity factor of computer system A is 1, therefore, in this system, in case start X, it is handled the resource requirement index and exceeds standard immediately, and this just represents that this assembly should not move in the A system.Hypothesis has an other cover computer system B now, its processing power is more intense, the note capacity factor is 2 (be A system 2 times), after then X starts in the B system, its actual CPU processing time demand index is 15 (that is: 30 ÷ 2), within threshold range, this just represents that this assembly can move in the B system.

Claims (8)

1, a kind of computer system processor resource monitoring and method for early warning is characterized in that comprising the following steps:
Read default resource requirement index threshold when the first step, system start-up;
When second step, assembly startup, to system's registration component resource requirement index;
The resource requirement index of the 3rd step, system's securing component, and add up;
The 4th step, system judge whether the resource requirement index after the accumulative total surpasses preset threshold value, if surpass then provide alarm prompt, to assembly feedback abnormal operation result; Otherwise to assembly feedback normal running result.
2, method according to claim 1 is characterized in that the system resource requirements index threshold in the described first step writes in the external memory storage of computer system in some way.
3, method according to claim 2 is characterized in that described system resource requirements index threshold writes in the configuration file of computer system hard.
4,, it is characterized in that described system resource requirements index threshold can dynamically adjust according to claim 2 or 3 described methods.
5, method according to claim 1, it is characterized in that assembly to the mode of system's registration component resource requirement index is in described second step: assembly writes its other resources demand index in the specific memory device, and system reads this resource requirement index from the specific memory device.
6, method according to claim 1 is characterized in that described resource requirement index comprises CPU processing time and RAM demand capacity.
7, method according to claim 6 is characterized in that the accumulative total of carrying out the resource requirement index in described the 3rd step is meant each resource requirement index is added up respectively; If the index of any one accumulative total surpasses preset threshold value, think that then the system resource requirements index surpasses preset threshold value.
8, method according to claim 1 is characterized in that the alarm prompt in described the 4th step offers the user in the mode of instant information warning, and is recorded in the journal file of system.
CNB2004100861312A 2004-10-27 2004-10-27 Processing resource monitoring and pre-warning method for computer system Expired - Fee Related CN100349129C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100861312A CN100349129C (en) 2004-10-27 2004-10-27 Processing resource monitoring and pre-warning method for computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100861312A CN100349129C (en) 2004-10-27 2004-10-27 Processing resource monitoring and pre-warning method for computer system

Publications (2)

Publication Number Publication Date
CN1766847A true CN1766847A (en) 2006-05-03
CN100349129C CN100349129C (en) 2007-11-14

Family

ID=36742744

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100861312A Expired - Fee Related CN100349129C (en) 2004-10-27 2004-10-27 Processing resource monitoring and pre-warning method for computer system

Country Status (1)

Country Link
CN (1) CN100349129C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014187431A1 (en) * 2013-05-21 2014-11-27 华为技术有限公司 Method and device for determining resource leakage and for predicting resource usage state
CN104239196A (en) * 2014-09-17 2014-12-24 北京金山安全软件有限公司 Method and device for detecting abnormal operation of application program and mobile terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7249179B1 (en) * 2000-11-09 2007-07-24 Hewlett-Packard Development Company, L.P. System for automatically activating reserve hardware component based on hierarchical resource deployment scheme or rate of resource consumption
CN1125405C (en) * 2001-12-04 2003-10-22 上海复旦光华信息科技股份有限公司 Distributed type emergency reaction control system
CN100373385C (en) * 2003-01-17 2008-03-05 中兴通讯股分有限公司 Method for back-up and restoring important data
CN1280753C (en) * 2003-10-24 2006-10-18 中兴通讯股份有限公司 Method of multibusiness platform multikind resources comprehensive alignment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014187431A1 (en) * 2013-05-21 2014-11-27 华为技术有限公司 Method and device for determining resource leakage and for predicting resource usage state
US9846601B2 (en) 2013-05-21 2017-12-19 Huawei Technologies Co., Ltd. Method and apparatuses for determining a leak of resource and predicting usage of resource
CN104239196A (en) * 2014-09-17 2014-12-24 北京金山安全软件有限公司 Method and device for detecting abnormal operation of application program and mobile terminal

Also Published As

Publication number Publication date
CN100349129C (en) 2007-11-14

Similar Documents

Publication Publication Date Title
CN111352806B (en) Log data monitoring method and device
US8209511B2 (en) Storage management apparatus, a storage management method and a storage management program
US9965498B2 (en) Predictive resource management
EP1679595A1 (en) Information system, load control method, load control program, and recording medium
EP1834261B1 (en) Systems, methods, and software for distributed loading of databases
CN109067597A (en) A kind of distributed system dynamic and intelligent service administering method
CN109766198B (en) Stream processing method, device, equipment and computer readable storage medium
CN114189482A (en) Control method, device and system for cluster resources
CN110370288B (en) Robot safety control method, device, equipment and storage medium
WO2024152746A1 (en) Nginx log compression and analysis method and device, and readable storage medium
CN111427674A (en) Micro-service management method, device and system
CN112711515B (en) Real-time monitoring method and device and electronic equipment
US20090300381A1 (en) Thin client and power management method thereof
CN1766847A (en) Processing resource monitoring and pre-warning method for computer system
CN117234322A (en) Management method, system, equipment and storage medium of server
EP2528373B1 (en) Method, apparatus and system for reducing power consumption of service system
CN103180824A (en) Distributing information
CN116302790A (en) Operation resource management method, cloud gateway, electronic device and storage medium
JP2002366393A (en) Method for collecting computer operation information, implementing system therefor, and its processing program
CN113438250A (en) Abnormal event processing method and equipment
CN117041172B (en) White box switch interface request processing method and device
CN110826824A (en) Power grid enterprise related party relation monitoring system for risk management and control
CN117435320B (en) Man-machine interaction control method and device, server and storage medium
CN116962523B (en) Data uploading method and device, computer equipment and storage medium
CN116010207A (en) Distributed monitoring method and device for full stack cloud environment

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
ASS Succession or assignment of patent right

Owner name: NANJING YUHUATAI INTELLECTUAL PROPERTY CENTER

Free format text: FORMER OWNER: ZTE CORPORATION

Effective date: 20140421

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 518057 SHENZHEN, GUANGDONG PROVINCE TO: 210012 NANJING, JIANGSU PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20140421

Address after: 210012 A building, 12, blue valley mansion, No. 106 software Avenue, Yuhuatai District, Jiangsu, Nanjing

Patentee after: Nanjing Yuhuatai Intellectual Property Center

Address before: 518057 Nanshan District, Guangdong high tech Industrial Park, science and Technology Industrial Park, ZTE building, block A, layer 6, layer

Patentee before: ZTE Corporation

ASS Succession or assignment of patent right

Owner name: NANJING RONGBAO TECHNOLOGY INDUSTRIAL CO., LTD.

Free format text: FORMER OWNER: NANJING YUHUATAI INTELLECTUAL PROPERTY CENTER

Effective date: 20141124

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 210012 NANJING, JIANGSU PROVINCE TO: 210046 NANJING, JIANGSU PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20141124

Address after: The science and Technology Park in Qixia District of Nanjing City, Jiangsu province 210046 Days Road No.

Patentee after: Nanjing Rong Bao Technology Industry Co., Ltd.

Address before: 210012 A building, 12, blue valley mansion, No. 106 software Avenue, Yuhuatai District, Jiangsu, Nanjing

Patentee before: Nanjing Yuhuatai Intellectual Property Center

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

Granted publication date: 20071114

Termination date: 20151027

EXPY Termination of patent right or utility model