CN104991854B - A kind of monitoring statisticss method and system of server resource - Google Patents

A kind of monitoring statisticss method and system of server resource Download PDF

Info

Publication number
CN104991854B
CN104991854B CN201510325701.7A CN201510325701A CN104991854B CN 104991854 B CN104991854 B CN 104991854B CN 201510325701 A CN201510325701 A CN 201510325701A CN 104991854 B CN104991854 B CN 104991854B
Authority
CN
China
Prior art keywords
resource
node
data
server
database
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.)
Active
Application number
CN201510325701.7A
Other languages
Chinese (zh)
Other versions
CN104991854A (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.)
Beijing Hongxiang Technical Service Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510325701.7A priority Critical patent/CN104991854B/en
Publication of CN104991854A publication Critical patent/CN104991854A/en
Application granted granted Critical
Publication of CN104991854B publication Critical patent/CN104991854B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of monitoring statisticss method and system of server resource, this method includes:The service condition of server resource in one or more nodes is monitored in real time, resource is obtained and uses data;Resource is saved in resource using data and resource using the generation time correspondence of data to use in database;It is for statistical analysis using data using the resource in database to resource, obtain the utilization rate of the server resource in each node.Technical solution provided by the invention obtains the utilization rate of the server resource in each node by processes such as the monitoring, acquisition, statistical analysis of the service condition to the server resource in one or more nodes;On the one hand, for the operation maintenance personnel of IDC, the distribution of data center resource can be made more to rationalize;On the other hand, for the manager of node, significant distribution and management can be timely and effectively carried out to server resource, improve effective rate of utilization of the server to resource.

Description

A kind of monitoring statisticss method and system of server resource
Technical field
The present invention relates to internet cloud monitoring fields, and in particular to a kind of monitoring statisticss method of server resource and is System.
Background technology
For a monitored system, the service condition of server resource can directly reflect the operation shape of the system State is that an effective and reasonable system status information knows approach.However in the prior art, cloud prison is being implemented to monitored system During control, often ignores the concern to the service condition of all kinds of server resources to each node in monitored system, lead Cause the manager of monitored system that can not know the utilization rate of all kinds of server resources, and then can not be according to all kinds of server resources Utilization rate the distribution of server resource is timely and effectively adjusted.
Invention content
In view of the above problems, it is proposed that the present invention overcoming the above problem in order to provide one kind or solves at least partly State a kind of monitoring statisticss method and system of server resource of problem.
One side according to the present invention, provides a kind of monitoring statisticss method of server resource, and this method includes:
The service condition of server resource in one or more nodes is monitored in real time, resource is obtained and uses number According to;Wherein, a node includes one or more servers;
Resource is saved in resource using data and resource using the generation time correspondence of data to use in database;
It is for statistical analysis using data using the resource in database to resource, obtain the server resource in each node Utilization rate.
Optionally, one or more during the server resource includes as follows:CPU, hard disk, memory, network interface card.
Optionally, described for statistical analysis using data using the resource in database to resource, it obtains in each node The utilization rate of server resource include:
For each node, the generation time of data is used using the resource of the node in database according to resource, it is raw At the utilization rate report of all kinds of server resources in every day/week/month/year of the node.
Optionally, this method further comprises:
For each node, number is used using data and resource using the resource of the node in database according to resource According to generation time, obtain the utilization rate curve of all kinds of server resources of the node on a timeline;
For the utilization rate curve of every class server resource, a formula being fitted the most with the curve is determined;
The future usage requirement forecasting data of such server resource of the node are obtained according to the formula.
Optionally, this method further comprises:
The fault condition of server resource in one or more nodes is monitored in real time, faulty resource number is obtained According to;
The generation time of faulty resource data and faulty resource data correspondence is saved in faulty resource database;
It is for statistical analysis to the faulty resource data in faulty resource database, obtain the service of different brands and model The failure rate of device resource.
Optionally, this method further comprises:
According to the failure rate of different brands and the server resource of model, the recommendation of the server resource of future usage is obtained Brand and model data.
Optionally, this method further comprises:
User setting interface is provided, the setting for specifying node to be monitored is instructed by interface user, and The communication mode specified by interface user;
The server resource utilization rate of the specified node of acquisition is sent to user by the communication mode that user specifies.
Other side according to the present invention, provides a kind of monitoring statisticss system of server resource, which includes:
Monitoring unit is monitored in real time suitable for the service condition to the server resource in one or more nodes, is obtained It obtains resource and uses data, resource is saved in resource using data and resource using the generation time correspondence of data uses data In library;Wherein, a node includes one or more servers;
Storage unit is suitable for preserving resource and uses database;
Statistic unit is suitable for using data for statistical analysis using the resource in database resource, obtains each node In server resource utilization rate.
Optionally, one or more during the server resource of the monitoring unit monitoring includes as follows:It is CPU, hard Disk, memory, network interface card.
Optionally, the statistic unit, is suitable for for each node, and the money of the node in database is used according to resource Source uses the generation time of data, generates the utilization rate report of all kinds of server resources in every day/week/month/year of the node.
Optionally, which further comprises:
Using predicting unit, it is suitable for for each node, is used using the resource of the node in database according to resource Data and resource use the generation time of data, and it is bent to obtain the utilization rate of all kinds of server resources of the node on a timeline Line;For the utilization rate curve of every class server resource, a formula being fitted the most with the curve is determined;It is obtained according to the formula Obtain the future usage requirement forecasting data of such server resource of the node.
Optionally, the monitoring unit is further adapted for the failure feelings to the server resource in one or more nodes Condition is monitored in real time, and faulty resource data are obtained;The generation time of faulty resource data and faulty resource data is corresponded to It is saved in faulty resource database;
The storage unit is further adapted for storage resource Mishap Database;
The statistic unit, be further adapted for it is for statistical analysis to the faulty resource data in faulty resource database, Obtain the failure rate of different brands and the server resource of model.
Optionally, which further comprises:
Resource recommendation unit is suitable for the failure rate according to different brands and the server resource of model, obtains future usage Server resource recommended brands and model data.
Optionally, which further comprises:
Interface setting unit is adapted to provide for user setting interface, is supervised to specified node by interface user The setting of control instructs, and the communication mode specified by interface user;
Transmission unit, suitable for the communication mode for specifying the server resource utilization rate of the specified node obtained by user It is sent to user.
It can be seen from the above, technical solution provided by the invention passes through to operating in one or more nodes on IDC The processes such as monitoring, acquisition, preservation, the statistical analysis of the service condition of server resource obtain the server resource in each node Utilization rate.For the operation maintenance personnel of IDC, it can be known in data by the utilization rate of the server resource in each node The utilization power of heart resource, and then weigh the allocation strategy of data center resource so that trusteeship service more rationalizes.For section For the manager of point, the utilization rate of the server resource obtained can provide effective decision support so that manager's energy It is enough that significant distribution and management are timely and effectively carried out to server resource, improve efficiently using for all kinds of server resources Rate reduces management cost, improves the efficiency of management, meets the demand of the manager of node.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technical means of the present invention, And can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, below the special specific implementation mode for lifting the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit are common for this field Technical staff will become clear.Attached drawing only for the purpose of illustrating preferred embodiments, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of flow chart of the monitoring statisticss method of server resource according to an embodiment of the invention;
Fig. 2 shows a kind of schematic diagrames of the monitoring statisticss system of server resource according to an embodiment of the invention;
Fig. 3 shows a kind of signal of the monitoring statisticss system of server resource in accordance with another embodiment of the present invention Figure.
Specific implementation mode
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Completely it is communicated to those skilled in the art.
With the continuous development of internet, Internet data center (IDC, Internet Data Center) meet the tendency of and It is raw, become an important ring indispensable in new century Internet industry.IDC be ICP, enterprise, media and All kinds of websites provide extensive, high quality, safe and reliable proficient service device trustship, space rental, network bandwidth, using clothes Business supply (ASP, Application Service Provider) and e-commerce (EC, Electronic Commerce) Etc. business.
In general, the managed object on IDC is operated in the formal distribution of dendrogram, many nodes is formed, for IDC Operation maintenance personnel for, need the profit that data center resource is known by understanding the service condition of the server resource in each node Use situation;For the manager of one or more of nodes, need by understanding in the one or more node The service condition of server resource to carry out rationally effective distribution and management to server resource.Based on the demand, this hair It is bright to provide a kind of monitoring statisticss scheme of server resource, by being united in the enterprising monitoring deployment of racking of IDC to execute the monitoring The process of meter.
Manager due to for IDC, operating in each managed object on IDC is end user, therefore, herein " user " occurred refers both to:Operate in the manager of the managed object (node) on IDC.
Fig. 1 shows a kind of flow chart of the monitoring statisticss method of server resource according to an embodiment of the invention. As shown in Figure 1, this method includes:
Step S110 monitors the service condition of the server resource in one or more nodes in real time, is provided Source uses data.
A node described in this step includes one or more servers.In one embodiment of the invention, it takes Business device resource include it is following in it is one or more:CPU, hard disk, memory, network interface card.
Resource is saved in resource using the generation time correspondence of data using data and resource and uses number by step S120 According in library.
Step S130, it is for statistical analysis using data using the resource in database to resource, it obtains in each node The utilization rate of server resource.
As it can be seen that method shown in FIG. 1 passes through to operating in making for the server resource in one or more nodes on IDC With processes such as the monitoring of situation, acquisition, preservation, statistical analyses, the utilization rate of the server resource in each node is obtained.For For the operation maintenance personnel of IDC, the utilization of data center resource can be known by the utilization rate of the server resource in each node Situation, and then weigh the allocation strategy of data center resource so that trusteeship service more rationalizes.The manager of node is come It says, the utilization rate of the server resource obtained can provide effective decision support so that manager can be timely and effectively Carry out significant distribution and management to server resource, improve the effective rate of utilization of all kinds of server resources, reduce management at This, improves the efficiency of management, meets the demand of the manager of node.
For example, system A is operated in as managed object on IDC, system A include multiple node A1, A2 ..., An.According to The demand of the manager of system A carries out the CPU of the server in the node A1 in system A, the service condition of memory source real When monitor, obtain resource and use data, which is saved in using data and resource using the generation time correspondence of data Resource uses in database;It is for statistical analysis using data using the resource in database to resource, it obtains in node A1 The CPU of server, the utilization rate of memory source.If it find that cpu load is relatively low and memory usage is excessively high, then prompt user into Row calculates Pooled resources adjustment, and extra cpu resource is recycled, row dilatation is internally deposited into, effectively improves the utilization of server resource Rate.Similarly, statistics can be monitored to other resources of the server in node A1, to formulate the resource for other resources Allocation strategy;Can also in system A other nodes A2, A3 ..., the server resource of An be monitored statistics, to formulate For the resource allocation policy between each node in system A.As it can be seen that the monitoring based on server resource provided by the invention Statistical project can obtain the use demand of one or more of each node in system A resource of server, according to each The distribution condition of the resource use demand adjustment server resource of a server, improves server and is efficiently used to resource Rate so that the distribution of the server resource in system A more rationalizes.
Due in the step S120 of method shown in Fig. 1, being when resource is used the generation of data using data and resource Between the corresponding resource that is saved in using in database, then step S130 divides resource using the resource in database using data Analysing the utilization rate for the server resource that statistics obtains is and time correlation.Therefore, in one embodiment of the invention, step S130 includes:For each node, the generation time of data is used using the resource of the node in database according to resource, it is raw At the utilization rate report of all kinds of server resources in every day/week/month/year of the node.According to the every of each node obtained above It/the utilization rate reports of all kinds of server resources in week/moon/year, it can be in different times to all kinds of services in each node Device resource carries out the distribution adjustment of adaptability.
Further, the generation time for using data using data and resource according to the resource of each node, can analyze system The utilization rate for counting all kinds of resources for obtaining each node changes with time situation, and then can predict all kinds of servers of each node The variation tendency of the service condition of resource.Based on this, in another embodiment of the present invention, method shown in FIG. 1 is further Including step S140, resource is counted using data and resource using the generation time of data using the resource in database Analysis, obtains the future usage requirement forecasting data of all kinds of resources in each node;It is specifically divided into the following steps:
Step S141, for each node, according to resource using the resource of the node in database using data and Resource uses the generation time of data, obtains the utilization rate curve of all kinds of server resources of the node on a timeline.
Step S142 determines the public affairs being fitted the most with the curve for the utilization rate curve of every class server resource Formula.
Step S143 obtains the future usage requirement forecasting data of such server resource of the node according to the formula.
For example, for the node A1 in system A, number is used using data and cpu resource according to cpu resource therein According to generation time, obtain the utilization rate curve of the cpu resource of node A1 whithin a period of time, which intended It closes, determines that the utilization rate curve approximation meets parabolic equation, i.e. the utilization rate of the cpu resource of node A1 and the relationship of time is close Seemingly meet parabolic equation, then according to the parabolic equation, the CPU moneys of the corresponding node A1 of arbitrary effective time point can be obtained The utilization rate in source, i.e. the future usage requirement forecasting data of cpu resource.Similarly, the other types server resource of node A1 with And the future usage requirement forecasting data of all kinds of server resources of other nodes can be obtained by the above method, that is, it is right The trend of distribution and the management of future server resource has carried out rational prediction.
The present invention is monitored by the cloud being deployed on IDC and is counted come implementing monitoring, and the object of monitoring statisticss is a variety of more Sample, both included the monitoring statisticss to the service condition of resource, also includes the monitoring statisticss to the fault condition of resource.Therefore, In one embodiment of the invention, method shown in FIG. 1 further comprises step S150, in the service for monitoring each node in real time While the service condition of device resource, the fault condition of the server resource of each node can also be monitored in real time;It is divided into following several Step:
Step S151 monitors the fault condition of the server resource in one or more nodes in real time, is provided Source fault data.
The generation time of faulty resource data and faulty resource data correspondence is saved in faulty resource number by step S152 According in library.
Step S153, it is for statistical analysis to the faulty resource data in faulty resource database, obtain different brands and The failure rate of the server resource of model.
Further, in one embodiment, the above process further includes:According to the server resource of different brands and model Failure rate, obtain the recommended brands and model data of the server resource of future usage.
For example, being monitored in real time to the fault condition of the node A1 in system A, the hard disk resources in node A2, obtain The hard disk resources fault data of node A1 and the hard disk resources fault data of node A2;Respectively to the hard disk resources failure of node A1 The hard disk resources fault data of data and node A2 are for statistical analysis, obtain the hard disk of the brand and model corresponding to node A1 The failure rate of resource and corresponding to node A2 brand and model hard disk resources failure rate.Compare two kinds of brands and model The failure rate of hard disk resources, the hard disk resources for choosing failure rate low brand and model are pushed away as the hard disk resources of future usage Recommend brand and model data.Similarly, it is also possible to obtain the failure rate of other types resource, for same type resource, Neng Gouxuan Obtain the recommended brands and model data of optimal future usage.This programme makes manager by reasonable manner to service The brand and model of device resource are assessed, for server resource buying, select, distribute all there is important reference meaning Justice.
In addition, during the fault condition of the server resource to each node is monitored statistics, it can be according to each The failure rate of class server resource and the correspondence of time of origin, check the failure rate of which time point server resource compared with Height, and then carry out corresponding improvement processing for the special circumstances at these time points.
In one embodiment of the invention, method shown in FIG. 1 further comprises step S160, is handed over user Mutually;It is divided into the following steps:
Step S161 provides user setting interface, the setting by interface user to specifying node to be monitored It instructs, and the communication mode specified by interface user.
Step S162 sends the server resource utilization rate of the specified node of acquisition by the communication mode that user specifies To user.
Wherein, the communication mode that user specifies includes:Email, SMS, instant communication message etc..
Fig. 2 shows a kind of schematic diagrames of the monitoring statisticss system of server resource according to an embodiment of the invention. As shown in Fig. 2, the monitoring statisticss system 200 of the server resource includes:
Monitoring unit 210 monitors in real time suitable for the service condition to the server resource in one or more nodes, It obtains resource and uses data, resource is saved in resource using data and resource using the generation time correspondence of data uses number According in library.
Wherein, the node that monitoring unit 210 is monitored includes one or more servers.At one of the present invention In embodiment, server resource that monitoring unit 210 is monitored include it is following in it is one or more:CPU, hard disk, memory, net Card.
Storage unit 220 is suitable for preserving resource and uses database.
Statistic unit 230 is suitable for using data for statistical analysis using the resource in database resource, obtains each section The utilization rate of server resource in point.
As it can be seen that system shown in Fig. 2 passes through to operating in making for the server resource in one or more nodes on IDC With processes such as the monitoring of situation, acquisition, preservation, statistical analyses, the utilization rate of the server resource in each node is obtained.For For the operation maintenance personnel of IDC, the utilization of data center resource can be known by the utilization rate of the server resource in each node Situation, and then weigh the allocation strategy of data center resource so that trusteeship service more rationalizes.The manager of node is come It says, the utilization rate of the server resource obtained can provide effective decision support so that manager can be timely and effectively Carry out significant distribution and management to server resource, improve the effective rate of utilization of all kinds of server resources, reduce management at This, improves the efficiency of management, meets the demand of the manager of node.
In one embodiment of the invention, the statistic unit 230 of system shown in Figure 2, is suitable for for each node, according to Resource uses the resource of the node in database to use the generation time of data, generates every day/week/month/year of the node The utilization rate report of all kinds of server resources.
Fig. 3 shows a kind of signal of the monitoring statisticss system of server resource in accordance with another embodiment of the present invention Figure.As shown in figure 3, the monitoring statisticss system 300 of the server resource includes:Monitoring unit 310, storage unit 320, statistics are single Member 330 uses predicting unit 340, resource recommendation unit 350, interface setting unit 360 and transmission unit 370.
In the present embodiment, monitoring unit 310, storage unit 320, statistic unit 330 and system shown in Figure 2 monitoring list First 210, storage unit 220, statistic unit 230 correspond to identical, and details are not described herein.
Using predicting unit 340, it is suitable for, for each node, according to resource being made using the resource of the node in database The generation time that data are used with data and resource, obtains the utilization rate of all kinds of server resources of the node on a timeline Curve;For the utilization rate curve of every class server resource, a formula being fitted the most with the curve is determined;According to the formula Obtain the future usage requirement forecasting data of such server resource of the node.
In one embodiment of the invention, system shown in Fig. 3 is monitoring making for the server resource of each node in real time While with situation, the fault condition of the server resource of each node can also be monitored in real time:
Monitoring unit 310 is further adapted for carrying out the fault condition of the server resource in one or more nodes real When monitor, obtain faulty resource data;The generation time of faulty resource data and faulty resource data correspondence is saved in money In the Mishap Database of source.
Storage unit 320 is further adapted for storage resource Mishap Database.
Statistic unit 330, is further adapted for for statistical analysis to the faulty resource data in faulty resource database, obtains Obtain the failure rate of different brands and the server resource of model.
Resource recommendation unit 350, is suitable for according to the failure rates of different brands and the server resource of model, obtains future and makes The recommended brands and model data of server resource.
In one embodiment of the invention, system shown in Fig. 3 has the function of being interacted with user:
Interface setting unit 360 is adapted to provide for user setting interface, is carried out to specified node by interface user The setting of monitoring instructs, and the communication mode specified by interface user;
Transmission unit 370, suitable for the communication for specifying the server resource utilization rate of the specified node obtained by user Mode is sent to user.
Each embodiment of the monitoring statisticss system of Fig. 2-server resources shown in Fig. 3 and server resource shown in FIG. 1 Each embodiment of monitoring statisticss method correspond to identical, be above described in detail, details are not described herein.
In conclusion technical solution provided by the invention passes through to operating in the clothes in one or more nodes on IDC The processes such as monitoring, acquisition, preservation, the statistical analysis of service condition of device resource of being engaged in, obtain the server resource in each node Utilization rate, and then can predict the future usage demand of all kinds of server resources;And by operation how one on IDC Or the processes such as monitoring, acquisition, preservation, statistical analysis of the fault condition of the server resource in multiple nodes, obtain each section The failure rate of all kinds of server resources in point, and then the recommended brands and model of all kinds of server resources can be chosen.For For the operation maintenance personnel of IDC, the utilization power and fault condition of data center resource can be known, and then weigh data center's money The allocation managing strategy in source so that trusteeship service more rationalizes, improvement.It, can be timely for the manager of node Significant distribution and management are effectively carried out to server resource, improve institute's management node to the effective of all kinds of server resources Utilization rate reduces management cost, improves the efficiency of management, meets the demand of the manager of node.
It should be noted that:
Algorithm and display be not inherently related to any certain computer, virtual bench or miscellaneous equipment provided herein. Various fexible units can also be used together with teaching based on this.As described above, it constructs required by this kind of device Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that can utilize various Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention Example can be put into practice without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each inventive aspect, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:It is i.e. required to protect Shield the present invention claims the more features of feature than being expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific implementation mode are expressly incorporated in the specific implementation mode, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment Change and they are arranged in the one or more equipment different from the embodiment.It can be the module or list in embodiment Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it may be used any Combination is disclosed to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power Profit requires, abstract and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed One of meaning mode can use in any combination.
The all parts embodiment of the present invention can be with hardware realization, or to run on one or more processors Software module realize, or realized with combination thereof.It will be understood by those of skill in the art that can use in practice Microprocessor or digital signal processor (DSP) realize a kind of monitoring system of server resource according to the ... of the embodiment of the present invention The some or all functions of some or all components in meter systems.The present invention is also implemented as executing institute here Some or all equipment or program of device of the method for description are (for example, computer program and computer program production Product).It is such to realize that the program of the present invention may be stored on the computer-readable medium, or can have one or more The form of signal.Such signal can be downloaded from internet website and be obtained, and either be provided on carrier signal or to appoint What other forms provides.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference mark between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be by the same hardware branch To embody.The use of word first, second, and third does not indicate that any sequence.These words can be explained and be run after fame Claim.
The invention discloses the monitoring statisticss methods of B1, a kind of server resource, wherein this method includes:
The service condition of server resource in one or more nodes is monitored in real time, resource is obtained and uses number According to;Wherein, a node includes one or more servers;
Resource is saved in resource using data and resource using the generation time correspondence of data to use in database;
It is for statistical analysis using data using the resource in database to resource, obtain the server resource in each node Utilization rate.
B2, the method as described in B1, wherein the server resource include it is following in it is one or more:CPU, hard disk, Memory, network interface card.
B3, the method as described in B1, wherein described that statistical is carried out using data using the resource in database to resource Analysis, the utilization rate for obtaining the server resource in each node include:
For each node, the generation time of data is used using the resource of the node in database according to resource, it is raw At the utilization rate report of all kinds of server resources in every day/week/month/year of the node.
B4, the method as described in B1, wherein this method further comprises:
For each node, number is used using data and resource using the resource of the node in database according to resource According to generation time, obtain the utilization rate curve of all kinds of server resources of the node on a timeline;
For the utilization rate curve of every class server resource, a formula being fitted the most with the curve is determined;
The future usage requirement forecasting data of such server resource of the node are obtained according to the formula.
B5, the method as described in B1, wherein this method further comprises:
The fault condition of server resource in one or more nodes is monitored in real time, faulty resource number is obtained According to;
The generation time of faulty resource data and faulty resource data correspondence is saved in faulty resource database;
It is for statistical analysis to the faulty resource data in faulty resource database, obtain the service of different brands and model The failure rate of device resource.
B6, the method as described in B5, wherein this method further comprises:
According to the failure rate of different brands and the server resource of model, the recommendation of the server resource of future usage is obtained Brand and model data.
B7, the method as described in any one of B1-B6, wherein this method further comprises:
User setting interface is provided, the setting for specifying node to be monitored is instructed by interface user, and The communication mode specified by interface user;
The server resource utilization rate of the specified node of acquisition is sent to user by the communication mode that user specifies.
The invention also discloses the monitoring statisticss systems of C8, a kind of server resource, wherein the system includes:
Monitoring unit is monitored in real time suitable for the service condition to the server resource in one or more nodes, is obtained It obtains resource and uses data, resource is saved in resource using data and resource using the generation time correspondence of data uses data In library;Wherein, a node includes one or more servers;
Storage unit is suitable for preserving resource and uses database;
Statistic unit is suitable for using data for statistical analysis using the resource in database resource, obtains each node In server resource utilization rate.
C9, the system as described in C8, wherein the server resource of monitoring unit monitoring include it is following in one Kind is a variety of:CPU, hard disk, memory, network interface card.
C10, the system as described in C8, wherein
The statistic unit, is suitable for for each node, is used using the resource of the node in database according to resource The generation time of data generates the utilization rate report of all kinds of server resources in every day/week/month/year of the node.
C11, the system as described in C8, wherein the system further comprises:
Using predicting unit, it is suitable for for each node, is used using the resource of the node in database according to resource Data and resource use the generation time of data, and it is bent to obtain the utilization rate of all kinds of server resources of the node on a timeline Line;For the utilization rate curve of every class server resource, a formula being fitted the most with the curve is determined;It is obtained according to the formula Obtain the future usage requirement forecasting data of such server resource of the node.
C12, the system as described in C8, wherein
The monitoring unit is further adapted for carrying out the fault condition of the server resource in one or more nodes real When monitor, obtain faulty resource data;The generation time of faulty resource data and faulty resource data correspondence is saved in money In the Mishap Database of source;
The storage unit is further adapted for storage resource Mishap Database;
The statistic unit, be further adapted for it is for statistical analysis to the faulty resource data in faulty resource database, Obtain the failure rate of different brands and the server resource of model.
C13, the system as described in C12, wherein the system further comprises:
Resource recommendation unit is suitable for the failure rate according to different brands and the server resource of model, obtains future usage Server resource recommended brands and model data.
C14, the system as described in any one of C8-C13, wherein the system further comprises:
Interface setting unit is adapted to provide for user setting interface, is supervised to specified node by interface user The setting of control instructs, and the communication mode specified by interface user;
Transmission unit, suitable for the communication mode for specifying the server resource utilization rate of the specified node obtained by user It is sent to user.

Claims (10)

1. a kind of monitoring statisticss method of server resource, wherein this method includes:
The service condition of server resource in one or more nodes is monitored in real time, resource is obtained and uses data;Its In, a node includes one or more servers, and the node is the trustship pair operated on Internet data center IDC As;
Resource is saved in resource using data and resource using the generation time correspondence of data to use in database;
It is for statistical analysis using data using the resource in database to resource, obtain making for the server resource in each node With rate;
The fault condition of server resource in one or more nodes is monitored in real time, faulty resource data are obtained;
The generation time of faulty resource data and faulty resource data correspondence is saved in faulty resource database;
It is for statistical analysis to the faulty resource data in faulty resource database, obtain the server money of different brands and model The failure rate in source;
According to the failure rate of different brands and the server resource of model, the recommended brands of the server resource of future usage is obtained And model data.
One or more during 2. the method for claim 1, wherein the server resource includes as follows:It is CPU, hard Disk, memory, network interface card.
3. the method for claim 1, wherein described count resource using the resource in database using data Analysis, the utilization rate for obtaining the server resource in each node include:
For each node, the generation time of data is used using the resource of the node in database according to resource, generating should The utilization rate report of all kinds of server resources in the every day/week/month of node/year.
4. the method for claim 1, wherein this method further comprises:
For each node, data are used using data and resource using the resource of the node in database according to resource Generation time obtains the utilization rate curve of all kinds of server resources of the node on a timeline;
For the utilization rate curve of every class server resource, a formula being fitted the most with the curve is determined;
The future usage requirement forecasting data of such server resource of the node are obtained according to the formula.
5. the method as described in any one of claim 1-4, wherein this method further comprises:
User setting interface is provided, the setting for specifying node to be monitored is instructed by interface user, and passes through The communication mode that interface user specifies;
The server resource utilization rate of the specified node of acquisition is sent to user by the communication mode that user specifies.
6. a kind of monitoring statisticss system of server resource, wherein the system includes:
Monitoring unit is monitored in real time suitable for the service condition to the server resource in one or more nodes, is provided Source uses data, and resource is saved in resource using data and resource using the generation time correspondence of data uses database In;Wherein, a node includes one or more servers, and the node operates on Internet data center IDC Managed object;
Storage unit is suitable for preserving resource and uses database;
Statistic unit is suitable for using data for statistical analysis using the resource in database resource, obtain in each node The utilization rate of server resource;
The monitoring unit is further adapted for supervising the fault condition of the server resource in one or more nodes in real time Control obtains faulty resource data;The generation time of faulty resource data and faulty resource data correspondence is saved in resource event Hinder in database;
The storage unit is further adapted for storage resource Mishap Database;
The statistic unit is further adapted for, acquisition for statistical analysis to the faulty resource data in faulty resource database The failure rate of different brands and the server resource of model;
The system further comprises:
Resource recommendation unit is suitable for the failure rate according to different brands and the server resource of model, obtains the clothes of future usage The recommended brands and model data for device resource of being engaged in.
7. system as claimed in claim 6, wherein during the server resource of the monitoring unit monitoring includes following It is one or more:CPU, hard disk, memory, network interface card.
8. system as claimed in claim 6, wherein
The statistic unit, is suitable for for each node, and data are used using the resource of the node in database according to resource Generation time, generate the utilization rate report of all kinds of server resources in every day/week/month/year of the node.
9. system as claimed in claim 6, wherein the system further comprises:
Using predicting unit, it is suitable for for each node, data is used using the resource of the node in database according to resource And resource uses the generation time of data, obtains the utilization rate curve of all kinds of server resources of the node on a timeline; For the utilization rate curve of every class server resource, a formula being fitted the most with the curve is determined;It is obtained according to the formula The future usage requirement forecasting data of such server resource of the node.
10. the system as described in any one of claim 6-9, wherein the system further comprises:
Interface setting unit is adapted to provide for user setting interface, by interface user to specifying node to be monitored Setting instructs, and the communication mode specified by interface user;
Transmission unit, suitable for sending the server resource utilization rate of the specified node obtained by the communication mode that user specifies To user.
CN201510325701.7A 2015-06-12 2015-06-12 A kind of monitoring statisticss method and system of server resource Active CN104991854B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510325701.7A CN104991854B (en) 2015-06-12 2015-06-12 A kind of monitoring statisticss method and system of server resource

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510325701.7A CN104991854B (en) 2015-06-12 2015-06-12 A kind of monitoring statisticss method and system of server resource

Publications (2)

Publication Number Publication Date
CN104991854A CN104991854A (en) 2015-10-21
CN104991854B true CN104991854B (en) 2018-09-04

Family

ID=54303670

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510325701.7A Active CN104991854B (en) 2015-06-12 2015-06-12 A kind of monitoring statisticss method and system of server resource

Country Status (1)

Country Link
CN (1) CN104991854B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105607948A (en) * 2015-12-18 2016-05-25 国云科技股份有限公司 Virtual machine migration prediction method based on SLA
CN106067852A (en) * 2016-06-08 2016-11-02 智者四海(北京)技术有限公司 The monitoring method and device of server usage amount
CN107329881B (en) * 2017-06-02 2021-12-03 腾讯科技(深圳)有限公司 Application system performance test method and device, computer equipment and storage medium
CN109165045A (en) * 2018-08-09 2019-01-08 网宿科技股份有限公司 A kind of method and apparatus for the hardware configuration adjusting server
CN109324896A (en) * 2018-08-22 2019-02-12 北京奇虎科技有限公司 The dispatching method and device of database instance
CN109783319A (en) * 2019-01-17 2019-05-21 珠海金山网络游戏科技有限公司 A kind of method of server and process performance index grab sampling and generation report
TWI712880B (en) * 2019-04-11 2020-12-11 臺灣銀行股份有限公司 Information service availability management method and system
CN110460491B (en) * 2019-07-05 2021-05-18 锐捷网络股份有限公司 RDMA (remote direct memory Access) -based performance test method and device
CN110995536B (en) * 2019-11-29 2022-04-26 紫光华山科技有限公司 Resource utilization rate statistical method and device
CN111752710B (en) * 2020-06-23 2023-01-31 中国电力科学研究院有限公司 Data center PUE dynamic optimization method, system and equipment and readable storage medium
CN117149395A (en) * 2023-10-10 2023-12-01 广东广信通信服务有限公司 IDC machine room resource management method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075425A (en) * 2008-12-16 2011-05-25 中国移动通信集团北京有限公司 Business allocation method and load balancer
CN102801792A (en) * 2012-07-26 2012-11-28 华南理工大学 Statistical-prediction-based automatic cloud CDN (Content Delivery Network) resource automatic deployment method
CN103873498A (en) * 2012-12-11 2014-06-18 中国电信股份有限公司 Cloud platform resource self-adaptive early warning method and system
CN103942105A (en) * 2014-03-20 2014-07-23 华为技术有限公司 Method and device for acquiring resource utilization situation
CN104184819A (en) * 2014-08-29 2014-12-03 城云科技(杭州)有限公司 Multi-hierarchy load balancing cloud resource monitoring method
CN104202254A (en) * 2014-08-14 2014-12-10 江苏省邮电规划设计院有限责任公司 An intelligent load balancing method based on a cloud calculation platform server

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005182641A (en) * 2003-12-22 2005-07-07 Hitachi Information Systems Ltd Dynamic load distribution system and dynamic load distribution method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075425A (en) * 2008-12-16 2011-05-25 中国移动通信集团北京有限公司 Business allocation method and load balancer
CN102801792A (en) * 2012-07-26 2012-11-28 华南理工大学 Statistical-prediction-based automatic cloud CDN (Content Delivery Network) resource automatic deployment method
CN103873498A (en) * 2012-12-11 2014-06-18 中国电信股份有限公司 Cloud platform resource self-adaptive early warning method and system
CN103942105A (en) * 2014-03-20 2014-07-23 华为技术有限公司 Method and device for acquiring resource utilization situation
CN104202254A (en) * 2014-08-14 2014-12-10 江苏省邮电规划设计院有限责任公司 An intelligent load balancing method based on a cloud calculation platform server
CN104184819A (en) * 2014-08-29 2014-12-03 城云科技(杭州)有限公司 Multi-hierarchy load balancing cloud resource monitoring method

Also Published As

Publication number Publication date
CN104991854A (en) 2015-10-21

Similar Documents

Publication Publication Date Title
CN104991854B (en) A kind of monitoring statisticss method and system of server resource
US11537101B2 (en) Adaptive distributed analytics system
US11373123B2 (en) System and method for designing and executing control loops in a cloud environment
CN105183625B (en) A kind of daily record data treating method and apparatus
US8880560B2 (en) Agile re-engineering of information systems
US9876703B1 (en) Computing resource testing
US20130067182A1 (en) Data processing method and system
CN109120428B (en) Method and system for wind control analysis
CN104956325A (en) Physical resource allocation
US20230115255A1 (en) Systems and methods for predictive assurance
US20160205127A1 (en) Determining a risk level for server health check processing
CN111294217A (en) Alarm analysis method, device, system and storage medium
CN107924360A (en) Diagnosis frame in computing system
US20210303532A1 (en) Streamlined transaction and dimension data collection
GB2521376A (en) System and method for securely managing data of industrial control systems
Natu et al. Holistic performance monitoring of hybrid clouds: Complexities and future directions
US9195535B2 (en) Hotspot identification
Lazarova‐Molnar et al. Data analytics framework for Industry 4.0: enabling collaboration for added benefits
US20190215262A1 (en) System and method for dynamically testing networked target systems
US11212173B2 (en) Model-driven technique for virtual network function rehoming for service chains
CN107301488B (en) Production material supply chain interruption management system and production method
WO2014205108A1 (en) Sorted event monitoring by context partition
US20200213203A1 (en) Dynamic network health monitoring using predictive functions
US10459432B2 (en) Slicing and merging production events
CN108776618A (en) Distributed workflow management method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220802

Address after: 300450 No. 9-3-401, No. 39, Gaoxin 6th Road, Binhai Science Park, Binhai New Area, Tianjin

Patentee after: 3600 Technology Group Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230627

Address after: 1765, floor 17, floor 15, building 3, No. 10 Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: Beijing Hongxiang Technical Service Co.,Ltd.

Address before: 300450 No. 9-3-401, No. 39, Gaoxin 6th Road, Binhai Science Park, Binhai New Area, Tianjin

Patentee before: 3600 Technology Group Co.,Ltd.