CN103841129B - Cloud computing resource information acquisition server, cloud computing resource information acquisition client and information processing method - Google Patents

Cloud computing resource information acquisition server, cloud computing resource information acquisition client and information processing method Download PDF

Info

Publication number
CN103841129B
CN103841129B CN201210475585.3A CN201210475585A CN103841129B CN 103841129 B CN103841129 B CN 103841129B CN 201210475585 A CN201210475585 A CN 201210475585A CN 103841129 B CN103841129 B CN 103841129B
Authority
CN
China
Prior art keywords
resource
information
acquisition server
information acquisition
utilization rate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201210475585.3A
Other languages
Chinese (zh)
Other versions
CN103841129A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210475585.3A priority Critical patent/CN103841129B/en
Publication of CN103841129A publication Critical patent/CN103841129A/en
Application granted granted Critical
Publication of CN103841129B publication Critical patent/CN103841129B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a cloud computing resource information acquisition server, a cloud computing resource information acquisition client and an information processing method. The information processing method comprises the following steps: the resource information acquisition server acquires current processing capability information thereof; the resource information acquisition server compares the current processing capability with the preset maximum processing capability to generate a comparison result, and generates corresponding whether-or-not-to-report reference information based on the comparison result; and the resource information acquisition server sends the whether-or-not-to-report reference information to the cloud computing resource information acquisition client. The problem that the resource information acquisition client reports too much resource utilization information to cause an I/O port of the resource information acquisition server to become a bottleneck in the prior art is effectively solved.

Description

The resource information acquisition server of cloud computing and client, information processing method
Technical field
The application is related to the technical field of information processing of cloud computing, is specifically related to a kind of resource information collection of cloud computing Server, further relates to a kind of resource information collection client of cloud computing, additionally relates to a kind of resource information of cloud computing and adopt The information processing method and resource information of collection server gather the information processing method of client.
Background technology
In the resource management of cloud computing, in acquisition system, the resource using information of each node is a basic work( Energy;System acquisition to after each node resource use information can further be analyzed and be processed, and it is many that its analysis result can be applicable to upper strata Individual application, such as cloud computing resource management system dynamic adjustresources important reference.
For the collection of the resource using information of the node of cloud computing, generally using a Server end, (resource information is adopted Collection server) pattern to all nodes, and each node as Client ends (resource information collection client) by node itself Resource using information report resource information acquisition server.
During work, resource information acquisition server can arrange buffer queue:Each resource information gathers client After resource using information is reported to resource information acquisition server, the resource for receiving is made by resource information acquisition server first Buffer queue is write with information, then thread is processed by independent task and read from buffer queue, finally carry out data mart modeling point Analysis.
But, when data buffering queue will be overflowed, in prior art, typically part section can be lost using stream prosecutor formula The resource using information of point notifies that resource information collection client postpones to report.And with the increase of number of nodes, open up Buffer queue is increasing, and I/O (input/output terminal) mouth of resource information acquisition server will become bottleneck, cause resource to be believed Breath collection client report resource using information when postpone a meeting or conference it is increasing.
The content of the invention
In view of this, this application provides a kind of resource information acquisition server of cloud computing and client, information processing Method, to solve to cause resource information as resource information collection client reports resource using information excessive in prior art The input/output port of acquisition server becomes the problem of bottleneck.
To solve the above problems, the application first aspect provides a kind of information of the resource information acquisition server of cloud computing Processing method, information processing method include step:Resource information acquisition server obtains the current processing capabilities information of itself;Than Compared with current processing capabilities and default maximum processing capability, comparative result is produced, and is reported according to comparative result generation accordingly Whether reference information;Reference information whether will be reported to be sent to resource information collection client.
With reference in a first aspect, in the first possible implementation, whether will report reference information to be sent to resource letter Also include after the step of breath collection client:The resource using information that resource information collection client is gathered and reported is read, Resource using information is that resource information gathers client according to the information for whether reporting reference information to be reported.
With reference to the first possible implementation of first aspect, in second possible implementation, resource information The step of acquisition server obtains the current processing capabilities information of itself specifically includes:Resource information acquisition server obtains itself Present parallel read resource information collection client report resource using information when, corresponding disposal ability information.And Relatively current processing capabilities and default maximum processing capability, produce comparative result, and are produced on corresponding according to comparative result The step of whether reporting reference information specifically includes:Compared according to the pre-configured default maximum processing capability to itself of cloud computing and worked as Pre-treatment ability;When default maximum processing capability is more than current processing capabilities, reduce default resource using change threshold value Reference information whether is reported to generate, when default maximum processing capability is less than current processing capabilities, default resource is increased Generated using change threshold value and whether report reference information.Meanwhile, read the money that resource information collection client is gathered and reported The step of source use information, specifically includes:Read the resource using information that resource information collection client is gathered and reported, resource Use information is after resource information collection client collects the resource using information of node, will be calculated according to resource using information The dynamic resource utilization rate difference for obtaining and the resource whether reported in reference information using compared with change threshold value, and dynamic money Source utilization rate difference is more than or equal to resource using the resource using information just reported when changing threshold value.
With reference to second possible implementation of first aspect, in the third possible implementation, resource is used Change threshold value is initially set to 0.2, and when default maximum processing capability is more than current processing capabilities, reducing default resource makes Reference information whether to be reported to generate with change threshold value, when default maximum processing capability is less than current processing capabilities, increased Default resource generates the step of whether reporting reference information using change threshold value and specifically includes:In default maximum process energy When power is more than current processing capabilities, default resource is generated using change threshold value reduction 0.1 and whether report reference information, When default maximum processing capability is less than current processing capabilities, default resource is made to increase 0.1 with generation using change threshold value Whether report reference information.
Second possible or the third possible implementation with reference to first aspect, in the 4th kind of possible implementation In, the step of resource information acquisition server obtains the current processing capabilities information of itself before also include:Obtain newly-increased money Registration request and index item request that source information collection client is sended over;Will be including CPU usage according to index item request The resource metrics item of index, memory usage index and/or input/output port utilization rate index, and its corresponding weighted value Give newly-increased resource information collection client.And the resource that reading resource information collection client is gathered and reported is using letter Breath, resource using information are that resource information collection client has according to the step of the information for whether reporting reference information to be reported Body includes:The resource using information that resource information collection client is gathered according to resource metrics item and reported is read, resource is used Information is resource information collection client according to whether reporting reference information to carry out to report, including CPU usage, internal memory use The information of rate and/or input/output port utilization rate.
With reference to the first possible or second possible implementation of first aspect, first aspect, in the 5th kind of possibility Implementation in, include the step of resource information acquisition server obtains the current processing capabilities information of itself:Resource information Acquisition server obtains the current processing capabilities information of itself in real time.
To solve the above problems, the application second aspect provides a kind of resource information acquisition server of cloud computing, resource Information collection server includes:Acquisition module, for obtaining the current processing capabilities information of resource information acquisition server itself; Processing module, for comparing current processing capabilities and the default maximum processing capability that acquisition module gets, producing ratio is relatively tied Really, and produced according to comparative result and whether report reference information accordingly;Sending module, for what is obtained processing module process Reference information whether is reported to be sent to resource information collection client.
With reference to second aspect, in the first possible implementation, resource information acquisition server also includes:Read mould Block, for reading the resource using information that resource information collection client is gathered and reported, resource using information is resource information Collection client is according to the information for whether reporting reference information to be reported.
With reference to the first possible implementation of second aspect, in second possible implementation, acquisition module Present parallel specifically for obtaining resource information acquisition server itself reads the resource that resource information collection client is reported Disposal ability information during use information, corresponding.Processing module is specifically included:Judging unit, for prewired according to cloud computing Put and compare current processing capabilities to the default maximum processing capability of resource information acquisition server itself;Threshold adjustment unit, For when judging unit determines default maximum processing capability more than current processing capabilities, reducing default resource using change Whether more threshold value reports reference information to generate, and determines default maximum processing capability less than currently processed energy in judging unit During power, the default resource of increasing is generated using change threshold value and whether reports reference information.Meanwhile, read module is specifically for reading The resource using information that resource information collection client is gathered and reported is taken, wherein, resource using information is resource information collection After client collects the resource using information of node, will be poor according to the calculated dynamic resource utilization rate of resource using information Value and the resource whether reported in reference information using compared with change threshold value, and dynamic resource utilization rate difference be more than or equal to The resource using information just reported when resource is using change threshold value.
With reference to second possible implementation of second aspect, in the third possible implementation, resource is used Change threshold value is initially set to 0.2, and threshold adjustment unit is specifically for determining default maximum processing capability in judging unit During more than current processing capabilities, default resource is generated using change threshold value reduction 0.1 and whether report reference information, sentencing Disconnected unit judges to default maximum processing capability be less than current processing capabilities when, default resource is increased using change threshold value Whether 0.1 report reference information to generate.
Second possible or the third possible implementation with reference to second aspect, in the 4th kind of possible implementation In:The registration request and index item that acquisition module is sended over specifically for the newly-increased resource information collection client of acquisition please Ask;Sending module will be used including CPU usage index, internal memory specifically for the index item request got according to acquisition module The resource metrics item of rate index and/or input/output port utilization rate index, and its corresponding weighted value is sent to newly-increased money Source information gathers client;Read module specifically for read resource information collection client according to resource metrics item gather and on The resource using information of report, resource using information are resource information collection clients according to whether reporting reference information to be reported , including the information of CPU usage, memory usage and/or input/output port utilization rate.
With reference to the first possible or second possible implementation of second aspect, second aspect, in the 5th kind of possibility Implementation in:Acquisition module obtains the current processing capabilities information of resource information acquisition server itself in real time.
To solve the above problems, the application third aspect provides the information that a kind of resource information of cloud computing gathers client Processing method, information processing method include step:Whether what reception resource information acquisition server was sended over reports with reference to letter Whether breath, report reference information to be current processing capabilities information and default maximum of the resource information acquisition server according to itself Disposal ability compares the information for producing more afterwards;Obtain the resource using information of corresponding with itself node, and according to whether reporting Reference information judges whether for resource using information to report resource information acquisition server.
With reference to the third aspect, in the first possible implementation, receive resource information acquisition server and send over Specifically include the step of whether reporting reference information:Receive whether reporting of sending over of resource information acquisition server to refer to Resource in information is using change threshold value.The resource using information of node corresponding with itself is obtained, and is joined according to whether reporting The information of examining judges whether that the step of resource using information is reported resource information acquisition server specifically includes:Obtain and itself The resource using information including CPU usage, memory usage and/or input/output port utilization rate of corresponding node;Root The dynamic resource utilization rate difference of corresponding node is calculated according to resource using information;Relatively dynamic resource utilization rate difference and resource make With change threshold value size, and according to comparative result judge whether by resource using information report resource information collection service Device.
With reference to the first possible implementation of the third aspect, in second possible implementation, comparison is dynamic Resource utilization difference and resource are using the size for changing threshold value, and are judged whether on resource using information according to comparative result The step of offering resource information acquisition server specifically includes:Relatively dynamic resource utilization rate difference and resource are using change threshold value Size;When dynamic resource utilization rate difference uses change threshold value more than or equal to resource, resource using information is reported Resource information acquisition server, otherwise, does not perform the action that resource using information is reported resource information acquisition server.
With reference to the first possible or second possible implementation of the third aspect, in the third possible implementation In, obtain the money including CPU usage, memory usage and/or input/output port utilization rate of node corresponding with itself The step of source use information, specifically includes:Corresponding CPU usage, internal memory are obtained from node at the first moment of predetermined period The resource using information of utilization rate and/or input/output port utilization rate, obtained from node at the second moment in predetermined period Take the resource using information of corresponding CPU usage, memory usage and/or input/output port utilization rate.Made according to resource The step of dynamic resource utilization rate difference of corresponding node is calculated with information includes:Using the first moment corresponding resource using letter Breath and the second moment corresponding resource using information are calculated dynamic resource utilization rate difference.
With reference to the third possible implementation of the third aspect, in the 4th kind of possible implementation, first is utilized Moment corresponding resource using information and the second moment corresponding resource using information are calculated dynamic resource utilization rate difference Computing formula include:
Δ RCUL=(x*C1+y*M1+z*IO1)-(x*C2+y*M2+z*IO2)
In above formula, Δ RCUL be dynamic resource utilization rate difference, C1For the first moment corresponding CPU usage, M1For first Moment corresponding memory usage, IO1For the first moment corresponding input/output port utilization rate, C2It is corresponding for the second moment CPU usage, M2For the second moment corresponding memory usage, IO2For the second moment corresponding input/output port utilization rate, X, y and z are corresponding weighted value.
With reference to the 4th kind of possible implementation of the third aspect, in the 5th kind of possible implementation, resource is used Change threshold value is initially set to 0.2, is used using the first moment corresponding resource using information and the second moment corresponding resource Information is calculated in the formula of dynamic resource utilization rate difference:X be 0.6, y be 0.1, z be 0.3;Or one in x, y, z or Two is 0.
With reference to the first possible or second possible implementation of the third aspect, the third aspect, in the 6th kind of possibility Implementation in, receive resource information acquisition server send over the step of whether reporting reference information before also wrap Include:Resource information gathers client and sends registration request and index item request to resource information acquisition server;Receive resource letter Breath acquisition server is made including CPU usage, memory usage and/or input/output port according to what index item request returned With the resource metrics item of rate and its weighted value, so that the resource of node corresponding with itself is obtained according to resource metrics item using letter Breath.
To solve the above problems, the application fourth aspect provides a kind of resource information collection client of cloud computing, resource Information acquisition client includes:Receiver module, refers to for whether reporting of receiving that resource information acquisition server sends over Information, whether report reference information be resource information acquisition server according to itself current processing capabilities information and it is default most Big disposal ability compares the information for producing more afterwards;Processing module, for obtaining the resource using information of node corresponding with itself, And according to whether reporting reference information to judge whether for resource using information to report resource information acquisition server.
With reference to fourth aspect, in the first possible implementation, receiver module is adopted specifically for receiving resource information The resource whether reported in reference information that collection server is sended over is using change threshold value.Processing module is specifically included:Obtain Unit, for obtaining using including CPU usage, memory usage and/or input/output port for node corresponding with itself The resource using information of rate;Computing unit, the resource using information for being got according to acquiring unit calculate corresponding node Dynamic resource utilization rate difference;Comparing unit, for comparing dynamic resource utilization rate difference and the reception that computing unit is calculated Size of the resource that module is received using change threshold value;Reporting unit, for being judged to be according to the comparative result of comparing unit It is no that resource using information is reported into resource information acquisition server.
With reference to the first possible implementation of fourth aspect, in second possible implementation, reporting unit Specifically for comparing unit relatively obtain dynamic resource utilization rate difference more than or equal to resource using change threshold value when, will money Source use information reports resource information acquisition server, otherwise, does not perform and resource using information is reported resource information adopts The action of collection server.
With reference to the first possible or second possible implementation of fourth aspect, in the third possible implementation In, acquiring unit obtains corresponding CPU usage, memory usage from node specifically for the first moment in predetermined period And/or the resource using information of input/output port utilization rate, correspondence is obtained from node at the second moment in predetermined period CPU usage, memory usage and/or input/output port utilization rate resource using information;Computing unit utilizes first Moment corresponding resource using information and the second moment corresponding resource using information are calculated dynamic resource utilization rate difference.
With reference to the third possible implementation of fourth aspect, in the 4th kind of possible implementation, first is utilized Moment corresponding resource using information and the second moment corresponding resource using information are calculated dynamic resource utilization rate difference Computing formula include:
Δ RCUL=(x*C1+y*M1+z*IO1)-(x*C2+y*M2+z*IO2)
In above formula, Δ RCUL be dynamic resource utilization rate difference, C1For the first moment corresponding CPU usage, M1For first Moment corresponding memory usage, IO1For the first moment corresponding input/output port utilization rate, C2It is corresponding for the second moment CPU usage, M2For the second moment corresponding memory usage, IO2For the second moment corresponding input/output port utilization rate, X, y and z are corresponding weighted value.
With reference to the 4th kind of possible implementation of fourth aspect, in the 5th kind of possible implementation, resource is used Change threshold value is initially set to 0.2, is used using the first moment corresponding resource using information and the second moment corresponding resource Information is calculated in the formula of dynamic resource utilization rate difference:X be 0.6, y be 0.1, z be 0.3;Or one in x, y, z or Two is 0.
With reference to the first possible or second possible implementation of fourth aspect, fourth aspect, in the 6th kind of possibility Implementation in, resource information collection client also include:Registering modules, note for sending to resource information acquisition server Volume request and index item are asked;Receiver module is specifically for receiving the finger that resource information acquisition server is sent according to Registering modules The money including CPU usage, memory usage and/or input/output port utilization rate and its weighted value returned by mark item request Source index item, processing module is specifically for the resource using information according to resource metrics item acquisition node corresponding with itself.
The resource information acquisition server of the application cloud computing detects itself during resource information collection is carried out Current processing capabilities, and whether the ability of cloud computing according to shared by current processing capabilities judge itself exceedes default maximum Reason ability, produces according to judged result and whether reports reference information to be sent to resource information collection client, may finally pass through Reference information whether is reported to limit the quantity of the resource using information that resource information collection client is reported.The application is effectively solved In prior art of having determined due to the increase of number of nodes, the input/output port bottleneck of resource information acquisition server is caused to ask Topic.
Description of the drawings
Fig. 1 is the flow process of the information processing method first embodiment of the resource information acquisition server of the application cloud computing Schematic diagram;
Fig. 2 is the flow process of the information processing method second embodiment of the resource information acquisition server of the application cloud computing Schematic diagram;
Fig. 3 is the flow process of the 3rd embodiment of information processing method of the resource information acquisition server of the application cloud computing Schematic diagram;
Fig. 4 is the flow process of the 4th embodiment of information processing method of the resource information acquisition server of the application cloud computing Schematic diagram;
Fig. 5 is the system block diagram of the application cloud computing;
Fig. 6 is the schematic block diagram of the resource information acquisition server first embodiment of cloud computing shown in Fig. 5;
Fig. 7 is the schematic block diagram of the resource information acquisition server second embodiment of cloud computing shown in Fig. 5;
Fig. 8 is the flow process of the information processing method first embodiment of the resource information collection client of the application cloud computing Schematic diagram;
Fig. 9 is the flow process of the information processing method second embodiment of the resource information collection client of the application cloud computing Schematic diagram;
Figure 10 is the stream of the 3rd embodiment of information processing method of the resource information collection client of the application cloud computing Journey schematic diagram;
Figure 11 is the stream of the 4th embodiment of information processing method of the resource information collection client of the application cloud computing Journey schematic diagram;
Figure 12 is the schematic block diagram that the resource information of cloud computing shown in Fig. 5 gathers client first embodiment;And
Figure 13 is the schematic block diagram that the resource information of cloud computing shown in Fig. 5 gathers client second embodiment, wherein, also Show the signal trend between resource information collection client and resource information acquisition server.
Specific embodiment
In below describing, in order to illustrate rather than in order to limit, it is proposed that such as particular system structure, interface, technology it The detail of class, understands the application to cut thoroughly.However, it will be clear to one skilled in the art that not having these concrete The application can also be realized in the other embodiment of details.In other situations, omit to well-known device, circuit with And the detailed description of method, in case unnecessary details hinders the description of the present application.
Illustrate with specific embodiment below in conjunction with the accompanying drawings, and be described concisely for convenience, this Technical characteristic between multiple different embodiments of application can both be mutually distinguishable can also part be identical, and which can basis It is actually needed and staggeredly combines.
Fig. 1 is referred to, Fig. 1 is that the information processing method first of the resource information acquisition server of the application cloud computing is implemented The schematic flow sheet of mode, in the present embodiment, the information processing method of the resource information acquisition server of cloud computing includes But it is not limited to following steps.
Step S100, resource information acquisition server obtain the current processing capabilities information of itself.
In the step s 100, the current processing capabilities of resource information acquisition server are with SPC (Server Processing Capability) define, for refering in particular to the ability during capturing service of resource information acquisition server process resource use information; Its specifically can according to the different application scenarios of cloud computing, for example resource information acquisition server to the CPU usage of cloud computing, The dimension as SPC such as number of tasks of I/O mouths read-write frequency or resource using information collection.In addition, resource information collection service Device during work can in real time, periodically or sporadically obtain the SPC of itself, be not limited thereto.
Step S101, compares current processing capabilities and default maximum processing capability, produces comparative result, and according to comparing As a result produce and whether report reference information accordingly.
In step S101, the default maximum processing capability of resource information acquisition server is with MPC (Max Process Capability) define, for limiting the higher limit of the SPC of resource information acquisition server.It is not difficult to find out, by arranging MPC, Resource information acquisition server can be limited to the collection of the CPU usage of cloud computing, I/O mouths read-write frequency or resource using information Number of tasks etc. ability.It should be noted that as resource information collection only belongs to the relatively low business of rank in cloud computing, such as Fruit resource information acquisition server takes the resource of cloud computing too much, then will cause scheduling, monitoring and maintenance of cloud computing etc. Important service cannot be normally carried out, accordingly, it would be desirable to the higher limit of SPC is limited by MPC, by the resource of cloud computing more Apply in other important services;In the same manner, if SPC is not reaching to MPC, the system of being likely to result in cannot be to all node resources Effectively monitoring etc. is carried out, therefore, by way of setting MPC, it is ensured that the part resource of cloud computing is using specified In the business of resource information collection, it is acquired with the node that the condition of reference information whether is reported to satisfaction.Wherein, MPC tools Set-up mode and size of body etc., can be set according to actual needs, in the range of those skilled in the art understands, no It is construed as limiting.
Whether step S102, will report reference information to be sent to resource information collection client.
In step s 102, it is not difficult to find out after the size that step S101 compares SPC and MPC, whether generation reports Reference information, you can the resource using information that resource information collection client is reported is limited by whether reporting reference information Quantity, and resource information acquisition server is reduced due to the quantity of the resource using information for processing, then the value of its corresponding SPC will Accordingly diminish.In the same manner, whether reference information is reported by step S101, it is also possible to be gradually increased in the range of the value of MPC The value of SPC, so as to gather the resource using information of a number of node, with facilitate the monitoring resource for subsequently carrying out cloud computing and Scheduling etc..In addition, whether reporting reference information be that resource information acquisition server specifies all resource information collection visitors Family end within a specified time stops the resource using information for reporting all nodes, for example specify the time be 5 seconds, 10 seconds, 3 minutes or Person 5 minutes etc., is not limited thereto.Sum it up, through execution step S100 is repeated several times to step S102, can be by SPC Value be gradually adjusted in the range of the value of MPC, and ensure the number of the resource using information of resource information acquisition server collection Amount etc. in this way, efficiently avoid the excessive and caused I/O of number of node in the controllable scope of cloud computing The problem of mouth bottleneck.
The information processing method of the resource information acquisition server of the application cloud computing is in the mistake for carrying out resource information collection Cheng Zhong, detects the SPC of itself, and whether the ability of cloud computing according to shared by the value of SPC judges itself exceedes default MPC's Value, produces according to judged result and whether reports reference information to be sent to resource information collection client, may finally be by reporting Whether reference information limits the quantity that resource information gathers the resource using information that client is reported.The application is efficiently solved Due to the increase of number of nodes in prior art, the problem of the I/O mouth bottlenecks of resource information acquisition server is caused.
Fig. 2 is referred to, Fig. 2 is that the information processing method second of the resource information acquisition server of the application cloud computing is implemented The schematic flow sheet of mode, in the present embodiment, the information processing method of the resource information acquisition server of cloud computing includes But it is not limited to following steps.
Step S200, resource information acquisition server obtain the current processing capabilities information of itself.
Step S201, compares current processing capabilities and default maximum processing capability, produces comparative result, and according to comparing As a result produce and whether report reference information accordingly.
Whether step S202, will report reference information to be sent to resource information collection client.
Step S200 refers to the associated description of earlier embodiments to step S202, understands in those skilled in the art In the range of, do not repeat.
Step S203, reads the resource using information that resource information collection client is gathered and reported, resource using information It is that resource information gathers client according to the information for whether reporting reference information to be reported.
Resource information acquisition server read node resource using information during, due to the number of node it is excessive And/or the problem of I/O bottlenecks, resource information acquisition server may be caused to read in time or lose and to need process badly Resource information gather client resource using information.In order to solve this technical problem, in step S203, this embodiment party The resource information for needing process badly is gathered client and is correspondingly arranged with reference information whether is reported by formula, by whether reporting with reference to letter The effect of breath, can limit resource information collection client can just report under conditions of whether satisfaction reports reference information it is right Answer the resource using information of node so that resource information acquisition server can be read in time in the case where MPC is certain The resource using information for meeting the node for whether reporting reference information is taken, in case the processes such as follow-up scheduling are carried out to node.Lift For example, if cloud computing specifies some specific nodes (1,3,5, or front 100 nodes) to belong to priority other places Reason, then when resource information acquisition server is in busy over loading, can only read the node of this part priority treatment Resource using information, and the resource that cannot read or lose this part of nodes in time can be effectively prevented using letter Breath.Certainly, reference information whether is reported be set by other conditions, as long as guaranteeing resource information collection service Device will not lose or read not in time the resource using information of the node for needing process badly when being in busy over loading, at this Technical field personnel are not repeated in the range of understanding one by one.
Present embodiment can be according to the part resource information gathering for whether reporting the preferential reading of reference information to need process badly The resource using information reported by client.The application both efficiently avoid the I/O bottlenecks of resource information acquisition server Problem, can also avoid resource information acquisition server from reading in time or lose and need the resource information of process badly and adopt The problem of the resource using information of collection client.
Further referring to Fig. 3, Fig. 3 is the information processing method of the resource information acquisition server of the application cloud computing The schematic flow sheet of three embodiments, in the present embodiment, the information processing side of the resource information acquisition server of cloud computing Method includes but is not limited to following steps.
Step S300, resource information acquisition server obtain the present parallel of itself and read in resource information collection client Disposal ability information during the resource using information of report, corresponding.
Step S301, compares current processing capabilities according to the pre-configured default maximum processing capability to itself of cloud computing.
Step S302, when default maximum processing capability is more than current processing capabilities, reduces default resource using change Whether more threshold value reports reference information to generate, and when default maximum processing capability is less than current processing capabilities, increases default Resource generate and whether report reference information using change threshold value.
It should be noted that in step s 302, the default resource of present embodiment uses change threshold value with RCUL (Resource Changing Upper Limit) is represented, is defined as resource of the arbitrary node in predetermined time period and is used The rate of change of rate, and RCUL all resource informations of issuing a notice can be adopted by resource information acquisition server in a broadcast manner In collection client.For example, a certain node is in t1When resource utilization be 50%, in t2When resource utilization be 54%, Then the rate of change of its resource utilization is 0.04;Furthermore, if resource information acquisition server reads SPC is less than During MPC, which judges itself in the idle state of comparison, you can reduce RCUL so that the less section of the rate of change of resource utilization Point can also report the resource using information of itself, in case cloud computing is monitored and dispatches;And if resource information collection When server reads SPC more than MPC, which judges itself state in the busy over loading of comparison, then need corresponding increasing RCUL reports the resource using information of itself with the node for only allowing the rate of change of resource utilization larger, then which is monitored With scheduling etc..It is not difficult to find out, by way of setting RCUL, the number that resource information collection client is reported not only can be limited Amount, can also further ensure that priority treatment meets RCUL's when resource information acquisition server is in busy or over loading The resource using information of node, and the node larger to the rate of change of this part resource utilization rate is monitored and dispatches, with The utilization rate of the system resource of cloud computing is made more to optimize.
Whether step S303, will report reference information to be sent to resource information collection client.
Step S300 refers to the associated description of above one or more embodiments to step S303, in the art Personnel are not repeated in the range of understanding.
Step S304, reads the resource using information that resource information collection client is gathered and reported, resource using information Be after resource information collection client collects the resource using information of node, will be calculated dynamic according to resource using information State resource utilization difference and the resource whether reported in reference information using compared with change threshold value, and dynamic resource utilization rate Difference is more than or equal to resource using the resource using information just reported when changing threshold value.
In step s 304, resource information collection client needs to be calculated according to its resource using information for collecting node Dynamic resource utilization rate difference DELTA RCUL (i.e. the rate of change of resource utilization) is obtained, and in dynamic resource utilization rate difference DELTA RCUL is more than or equal to the resource using information just reported during RCUL.In other words, resource information collection client only reports change The resource using information of the larger node of rate.For example, resource of some node of cloud computing in predetermined time period makes 60% is jumped to from 2% with rate, its dynamic resource utilization rate difference DELTA RCUL is 0.58 or -0.58 (for convenience of description, this enforcement Mode takes positive number as minuend, i.e. dynamic resource utilization rate difference DELTA RCUL using the larger value of resource utilization), that is to say Illustrate that the node resource is in the low state for utilizing;And if the RCUL's set according to the resource or COS of cloud computing is first Beginning is set to 0.2, i.e. dynamic resource utilization rate difference 0.58 more than the 0.2 of RCUL, the dynamic resource utilization rate difference of the node Δ RCUL meets the condition for reporting, so the resource using information of the node is reported by its corresponding resource information collection client Give resource information acquisition server;After resource information acquisition server reads its resource using information, the node can be entered Row monitoring or trend analysiss etc., for example controlling host resource corresponding to the node etc. carries out other services or lower electricity shutdown To reduce number of nodes save energy etc., do not repeat in the range of those skilled in the art understands.Certainly, implement at other In mode, it is also possible to which the resource information for only reading dynamic resource utilization rate difference DELTA RCUL more than RCUL gathers what client was reported Resource using information, is not limited thereto.
Present embodiment by way of setting RCUL, is taken in resource information collection for previous embodiment During busy device, the over loading of being engaged in, without the need for carry out priority treatment according to the specific node of cloud computing setting, and only need to read dynamic money Source utilization rate difference DELTA RCUL meets the resource using information of the node of the condition of RCUL, so as to intelligently use to dynamic resource The larger node of rate difference DELTA RCUL carries out priority treatment, makes the node resource of cloud computing obtain significantly more efficient monitoring, analysis With scheduling etc., make the node resource of cloud computing rapidly realize load balancing.
Fig. 4 is referred to, Fig. 4 is the 4th enforcement of information processing method of the resource information acquisition server of the application cloud computing The schematic flow sheet of mode, in the present embodiment, the information processing method of the resource information acquisition server of cloud computing includes But it is not limited to following steps.
Step S400, obtains registration request and index item request that newly-increased resource information collection client is sended over.
In step S400, when newly added node in cloud computing, which can pass through the newly-increased resource information of correspondence first Collection client actively sends registration request and/or index item request to resource information acquisition server, and the mode of its registration exists Those skilled in the art is not repeated in the range of understanding.
Step S401, will be defeated including CPU usage index, memory usage index and/or input according to index item request The resource metrics item of exit port utilization rate index, and its corresponding weighted value is sent to newly-increased resource information collection client.
In step S401, resource information acquisition server can according to practical situation with subscribing manner to resource information Collection client send CPU usage index, one in internal memory (Memory) utilization rate index and I/O mouth utilization rate indexs, Any two or three resource metrics items and its corresponding weighted value;In other words, resource information acquisition server can basis One in the CPU usage index of node, Memory utilization rates index and I/O mouth utilization rate indexs, any two or three Situation and carry out the actions such as follow-up scheduling.Certainly, in other embodiments, it is also possible to send other resource metrics items, Or the combination with CPU usage index, Memory utilization rates index and I/O mouth utilization rate indexs, manage in those skilled in the art In the range of solution, it is not construed as limiting.
Step S402, resource information acquisition server obtain the present parallel of itself and read in resource information collection client Disposal ability information during the resource using information of report, corresponding.
In step S402, resource information acquisition server is reading resource information collection client parallel at current time The resource using information that reports of end, for example just read that the resource information collection client of 100 nodes is reported at the same time 100 Resource using information, now, the read action of resource information acquisition server needs CPU usage, the I/O mouths for taking cloud computing The resource of read-write frequency, that is, be embodied on aforesaid SPC, and its concrete principle refers to the associated description of earlier embodiments, This does not repeat.
Step S403, compares current processing capabilities according to the pre-configured default maximum processing capability to itself of cloud computing.
In step S403, cloud computing " is read to prevent resource information acquisition server from taking resource too much and going to perform Take the resource information collection resource using information that reports of client " action, therefore set aforesaid MPC, so that SPC is maintained In the range of MPC, its specific numerical values recited and operation principle refer to the associated description of earlier embodiments.
Step S404, when default maximum processing capability is more than current processing capabilities, reduces default resource using change Whether more threshold value reports reference information to generate, and when default maximum processing capability is less than current processing capabilities, increases default Resource generate and whether report reference information using change threshold value.
In step s 404, if RCUL is initially set to 0.2, when SPC is more than MPC, default RCUL is made to increase volume Whether definite value reports reference information to generate;And when SPC is less than MPC, makes default RCUL reduce rated value and reported with generating Whether reference information;Wherein, rated value can be the scope of 0.08-0.12, such as 0.1,0.11 etc., it is not limited thereto.When So, in other embodiments, RCUL can also be initially set to 0.3,0.4 or 0.25 etc., and rated value can be correspondingly arranged, In the range of those skilled in the art understands, do not repeat one by one.
Whether step S405, will report reference information to be sent to resource information collection client.
Step S406, the resource that reading resource information collection client is gathered according to resource metrics item and reported is using letter Breath, resource using information are resource information collection clients according to whether reporting reference information to carry out to report, including CPU uses The information of rate, memory usage and/or input/output port utilization rate.
In step S406, its corresponding CPU usage, Memory are gathered according to the resource metrics item of step S406 and is used One of rate and I/O mouth utilization rates, the information of any two or three resource metrics items, then cloud computing are included according to which Node situation carry out trend analysiss, monitoring or dispatch etc., those skilled in the art understand in the range of, be not construed as limiting.
Index item is registered and subscribed to present embodiment to the node of the new resource information collection client for adding, can be with When effectively prevent in cloud computing constantly newly added node, may caused by resource information acquisition server I/O bottlenecks Problem.
In addition, in said one or multiple embodiments, after repeatedly adjustment Δ RCUL, if detected default When MPC is equal to SPC, can keep initial setting up or RCUL value of the previous moment after adjustment sends it is constant, and make SPC Remain in the zone of reasonableness of MPC, and default MPC is employed entirely in and meet on the node of RCUL.
Below in conjunction with the application cloud computing and its resource information acquisition server the course of work to its information processing side Method is further described.
Refer to Fig. 5 and Fig. 6, Fig. 5 be the application cloud computing system block diagram, Fig. 6 is the resource letter of cloud computing shown in Fig. 5 The schematic block diagram of breath acquisition server first embodiment.
As shown in figure 5, cloud computing includes but is not limited to cloud computing management system 50 and cloud computing resources node 51, wherein, Cloud computing resources node 51 includes node 1, node 2 to node n, and n is natural number.
In the present embodiment, cloud computing management system 50 includes but is not limited to unified physics resource management module, unification Virtual resource management module, unified resource scheduler module, unified monitoring module, unified operation maintenance module, unified alert module, And by managing the resource information acquisition server 502, hardware management that bus 501 is connected with said one or multiple modules Server, Software Management services device and virtual machine access server etc..
And cloud computing resources node 51 then includes but is not limited to node 511 and the collection client of the resource information in node End 512.
It is not difficult to find out, resource information acquisition server 502 and resource information collection client 512 can be used as independent subsystems System is deployed in cloud computing, wherein, resource information acquisition server 502 is deployed in cloud computing management system as the form of component In 50, and resource information collection client 512 is also deployed directly on cloud computing resources node 51 in the form of component.By this The mode of kind, after resource information collection client 512 collects the resource using information of corresponding node, reports resource information Acquisition server 502, to support resource trends analysis, monitoring or change the actions such as scheduling, and realizes the resource load of cloud computing It is balanced.
As shown in fig. 6, in the present embodiment, resource information acquisition server 502 includes but is not limited to acquisition module 5021st, processing module 5022 and sending module 5023.
Acquisition module 5021 is used to obtain the current processing capabilities information of resource information acquisition server 502 itself (i.e. SPC).As it was previously stated, SPC is used for when refering in particular to the capturing service of 502 process resource use information of resource information acquisition server Ability;Which specifically can be according to the different application scenarios of cloud computing, and for example resource information acquisition server 502 is to cloud computing The dimension as SPC such as number of tasks of CPU usage, I/O mouths read-write frequency or resource using information collection.In addition, resource letter During work, acquisition module 5021 can in real time, periodically or sporadically obtain resource to breath acquisition server 502 Information collection server 502 SPC of itself, is not limited thereto.
Processing module 5022 is used to compare current processing capabilities and the default MPC that acquisition module 5021 gets, and produces Comparative result, and whether reference information is reported accordingly according to comparative result generation.MPC is used to limit resource information collection service The higher limit of the SPC of device 502.It is not difficult to find out, by arranging MPC, resource information acquisition server 502 can be limited to cloud computing CPU usage, I/O mouths read-write frequency or resource using information collection number of tasks etc. ability.It should be noted that due to Resource information collection only belongs to the relatively low business of rank in cloud computing, if resource information acquisition server 502 is taken too much The resource of cloud computing, then will cause the important services such as scheduling, monitoring and the maintenance of cloud computing be normally carried out, accordingly, it would be desirable to The higher limit of SPC is limited by MPC, the resource of cloud computing is more applied in other important services;In the same manner, if SPC is not reaching to MPC, then being likely to result in system cannot carry out effectively monitoring etc. to all node resources, therefore, by setting The mode of MPC, it is ensured that the part resource of cloud computing using in the business that specified resource information is gathered, with satisfaction The node of the condition of reference information whether is reported to be acquired.Wherein, the specific set-up modes of MPC and size etc., can be according to reality Border needs to be set, and in the range of those skilled in the art understands, is not construed as limiting.
Sending module 5023 is sent to resource letter for the reference information that whether reports for obtaining the process of processing module 5022 Breath collection client 512.
In addition, the concrete function of multiple modules of present embodiment also refers to the associated description of earlier embodiments, Those skilled in the art is repeated no more in the range of understanding.
, during resource information collection is carried out, detection is certainly for the resource information acquisition server 502 of the application cloud computing The SPC of body, and whether the ability of cloud computing according to shared by the value of SPC judges itself exceedes the value of default MPC, according to judgement As a result produce and whether report reference information to be sent to resource information collection client 512, may finally be referred to by whether reporting Information limits the quantity of the resource using information that resource information collection client 512 is reported.The application efficiently solves existing Due to the increase of number of nodes in technology, the problem of the I/O mouth bottlenecks of resource information acquisition server 502 is caused.
Fig. 7 is referred to, Fig. 7 is the schematic block of the resource information acquisition server second embodiment of cloud computing shown in Fig. 5 Figure, compared to previous embodiment, present embodiment resource information acquisition server 502 also includes read module 5024.
In the present embodiment, read module 5024 is used to read what resource information collection client 512 was gathered and reported Resource using information, resource using information are resource information collection clients 512 according to whether reporting reference information to be reported Information.
Specifically, acquisition module 5021 is specifically for obtaining 502 present parallel of itself of resource information acquisition server Read resource information collection client 512 report resource using information when, corresponding disposal ability information.
Now, processing module 5022 can specifically include judging unit 5025 and threshold adjustment unit 5026.Correspondingly, sentence Disconnected unit 5025 is for comparing SPC according to the pre-configured default MPC to resource information acquisition server 502 itself of cloud computing. Threshold adjustment unit 5026 is for when judging unit 5025 determines default MPC more than SPC, the default RCUL of reduction is with life Into reference information whether is reported, when judging unit 5025 determines default MPC less than SPC, default RCUL is increased with life Into reference information whether is reported, then, the RCUL after adjustment can be sent to all moneys with broadcast mode by sending module 5023 Source information gathers client 512.
Read module 5024 uses letter specifically for reading the resource that resource information collection client 512 is gathered and reported Breath.As it was previously stated, resource using information is resource information collection client 512 collect the resource using information of node after, will According to calculated dynamic resource utilization rate difference DELTA RCUL of resource using information and the RCUL whether reported in reference information Compare, and dynamic resource utilization rate difference DELTA RCUL resource using information for just reporting when being more than or equal to RCUL.
Furthermore, RCUL initially could be arranged to 0.2, and threshold adjustment unit 5026 is specifically in judging unit 5025 when determining default MPC more than SPC, makes default RCUL reduce 0.1 and whether reports reference information to generate, is judging When unit 5025 determines default MPC less than SPC, make default RCUL increase 0.1 and reference information whether is reported to generate, most The RCUL after adjustment is sent to broadcast mode by all resource informations by sending module 5023 eventually and gathers client 512.When So, in other embodiments, the size of its specific numerical value can be set according to actual needs, in the art Personnel are not construed as limiting in the range of understanding.
When newly added node in the cloud computing resources node 51 of cloud computing, by taking node 511 as an example, then resource information collection The acquisition module 5021 of server 502 is specifically for obtaining the registration that newly-increased resource information collection client 512 is sended over Request and index item are asked;Sending module 5023 will include specifically for the index item request got according to acquisition module 5021 The resource metrics item of CPU usage index, Memory utilization rates index and/or I/O mouth utilization rate indexs, and its corresponding weighting Value is sent to newly-increased resource information collection client 512;And read module 5024 is specifically for reading resource information collection visitor The resource using information that family end 512 gathers according to resource metrics item and reports, now, resource using information is resource information collection Client 512 according to it is whether reporting that reference information reported, including CPU usage, Memory utilization rates and/or I/O mouths The information of utilization rate.
In addition, the concrete function of multiple modules of present embodiment also refers to the phase of above one or more embodiments Description is closed, in the range of those skilled in the art understands, is repeated no more.
Present embodiment resource information acquisition server 502 can need place badly according to whether reporting reference information preferentially to read The resource using information reported by the part resource information acquisition client of reason, furthermore, by way of setting RCUL, The quantity that resource information collection client is reported not only can be limited, can also be further ensured that when resource information acquisition server 502 in busy or over loading when, priority treatment meets the resource using information of the node of RCUL, and this part resource is used The node that the rate of change of rate is larger is monitored and dispatches.The application both efficiently avoid resource information acquisition server The problem of 502 I/O bottlenecks, and by I/O bottlenecks " moving down " to resource information collection client, resource information can also be avoided Acquisition server 502 cannot read or lose the resource of the resource information collection client for needing process badly in time using letter The problem of breath.
Below in conjunction with resource information acquisition server 502 information processing method one or more embodiments to money The information processing method of source information collection client is described specifically.
Fig. 8 is referred to, Fig. 8 is that the information processing method first of the resource information collection client of the application cloud computing is implemented The schematic flow sheet of mode, in the present embodiment, the information processing method of the resource information acquisition server of cloud computing includes But it is not limited to following steps.
Whether step S800, what reception resource information acquisition server was sended over report reference information, whether report and join The information of examining is that resource information acquisition server is compared with default maximum processing capability according to the current processing capabilities information of itself The information for producing more afterwards.
As it was previously stated, resource information acquisition server need to be carried out according to the SPC of itself and default MPC in step S800 Compare, and whether generation reports the resource using information that the purpose of reference information is then that reduction resource information collection client is reported Quantity or increase the quantity of resource using information that resource information collection client is reported.
Step S801, obtains the resource using information of corresponding with itself node, and according to whether reporting reference information to sentence It is disconnected whether resource using information to be reported into resource information acquisition server.
In step S801, after resource information collection client collects the resource using information of itself corresponding node, Basis is needed whether to report reference information to carry out judging whether to report.For example, if whether reporting reference information to specify Resource information collection client within a specified time stops reporting the resource using information of all nodes, for example specifies the time to be 5 Second, 10 seconds, 3 minutes or 5 minutes etc., then at the appointed time partially or fully resource information collection client stops to resource Information collection server reports resource using information;And if whether reporting reference information to be intended merely to restricted part resource information The quantity of the resource using information that collection client is reported, then can lose the resource that part resource information acquisition client is reported Use information, and prevent all resource information collection clients from the resource using information of collection is adopted while reporting resource information Collect server and cause to bring it about the problem of I/O bottlenecks.Wherein, concrete " control mode " or the work of reference information whether are reported Mode may be referred to the specific descriptions of earlier embodiments, and therefore not to repeat here.
The information processing method of present embodiment resource information collection client is collecting the resource using information of node Afterwards, decide whether to report resource information acquisition server according to reference information whether is reported, it is to avoid due to nodes The resource using information quantity of the node that mesh is excessive, report is excessive, and caused resource information acquisition server occurs I/O bottlenecks Problem.Present embodiment gathers the direct filtration fraction of effect of client by resource information or limits in the specified time complete Portion's resource information collection client is reported to resource information acquisition server, so as to the problem of I/O bottlenecks is moved down into resource letter Breath collection client itself, while the resource for avoiding the excessive cloud computing of resource information acquisition server occupancy carrys out process resource The business of information gathering.
Further referring to Fig. 9, Fig. 9 is the information processing method the of the resource information collection client of the application cloud computing The schematic flow sheet of two embodiments, in the present embodiment, the information processing side of the resource information acquisition server of cloud computing Method includes but is not limited to following steps.
Step S900, receives the resource whether reported in reference information that resource information acquisition server sends over and uses Whether change threshold value, report reference information to be resource information acquisition server according to the current processing capabilities information of itself and preset Maximum processing capability compare the information for producing more afterwards.
In order that resource information acquisition server is under conditions of MPC is certain, fully can be needed badly using SPC priority treatments The node resource use information of process, resource information acquisition server are set or adjusted RCUL according to the comparison of SPC and MPC, And RCUL is sent to into resource information collection client.
Step S901, obtain corresponding with itself node including CPU usage, memory usage and/or input and output The resource using information of port utilization.
In step S901, resource information collection client can be according to the practical application scene of cloud computing or business service Deng needing, and included in CPU usage, Memory utilization rates and I/O mouth utilization rates is obtained from itself corresponding node The resource using information of individual, any two or three, so as to subsequently to monitoring or scheduling of the node etc..
Step S902, calculates the dynamic resource utilization rate difference of corresponding node according to resource using information.
In step S902, resource information gathers client and is used according to CPU usage, Memory utilization rates and I/O mouths One in rate, any two or three carry out calculating dynamic resource utilization rate difference DELTA RCUL.For example, when different, One or more in the CPU usage of node, Memory utilization rates or I/O mouth utilization rates are changed in real time, now, will Its corresponding utilization rate is carried out subtracting each other etc. and is processed, you can the dynamic resource utilization rate of the rate of change for obtaining representing that its resource is used is poor Value Δ RCUL, certainly, the situation of the size of corresponding its rate of change of size of dynamic resource utilization rate difference DELTA RCUL.
Step S903, compares the size of dynamic resource utilization rate difference and resource using change threshold value.
In step S903, dynamic resource utilization rate difference DELTA RCUL is judged according to RCUL, be also for each resource Information acquisition client arranges " reporting thresholds ", and realizes that follow-up all resource informations that prevent gather client while reporting money Source use information, and the problem of the bottleneck of caused resource information acquisition server.
Step S904, when dynamic resource utilization rate difference uses change threshold value more than or equal to resource, resource is used Information reporting gives resource information acquisition server, otherwise, does not perform and for resource using information to report resource information collection service The action of device.
The process that step S903 and step S904 are realized jointly is:Relatively dynamic resource utilization rate difference and resource are using change The size of more threshold value, and judge whether for resource using information to report resource information acquisition server according to comparative result.Lift For example, some resource utilization of the corresponding node of resource information collection client in predetermined time period is jumped from 2% 60% is changed to, its dynamic resource utilization rate difference DELTA RCUL is 0.58, that is to say the explanation node resource in the low shape for utilizing State;And if the RCUL's set according to the resource or COS of cloud computing is initially set to 0.2, i.e. dynamic resource utilization rate The 0.58 of difference DELTA RCUL more than RCUL 0.2, dynamic resource utilization rate difference DELTA RCUL of the node meet the condition for reporting, So the resource using information of the node is reported resource information acquisition server by its corresponding resource information collection client; After resource information acquisition server reads its resource using information, the node can be monitored or trend analysiss etc., example Host resource as corresponding to controlling the node etc. carries out other services or lower electricity shutdown to reduce number of nodes save energy Deng, those skilled in the art understand in the range of do not repeat.Certainly, in other embodiments, it is also possible to only read dynamic State resource utilization difference DELTA RCUL gathers the resource using information that client is reported more than the resource information of RCUL, and here is not made Limit.
Present embodiment by way of setting RCUL, is taken in resource information collection for previous embodiment Device is busy for business, over loading when, it is only necessary to read dynamic resource utilization rate difference DELTA RCUL meet RCUL condition node resource Use information, so as to intelligently larger to dynamic resource utilization rate difference DELTA RCUL node carries out priority treatment, makes cloud computing Node resource obtain significantly more efficient monitoring, analysis and scheduling etc., make the node resource of cloud computing rapidly realize that load is equal Weighing apparatus.
Figure 10 is referred to, Figure 10 is that the information processing method the 3rd of the resource information collection client of the application cloud computing is real The schematic flow sheet of mode is applied, in the present embodiment, the information processing method bag of the resource information acquisition server of cloud computing Include but be not limited to following steps.
Step S110, receives the resource whether reported in reference information that resource information acquisition server sends over and uses Whether change threshold value, report reference information to be resource information acquisition server according to the current processing capabilities information of itself and preset Maximum processing capability compare the information for producing more afterwards.
Step S111, obtains corresponding CPU usage, memory usage from node at the first moment of predetermined period And/or the resource using information of input/output port utilization rate, correspondence is obtained from node at the second moment in predetermined period CPU usage, memory usage and/or input/output port utilization rate resource using information.
It is that, in step S111, resource information gathers client with predetermined period with previous embodiment difference Carry out obtaining the action of collection, the first moment and the second moment can be the start time and finish time in predetermined period, Those skilled in the art is not defined to predetermined period, the first moment and the second moment in the range of understanding.
Step S112, using the first moment corresponding resource using information and the second moment corresponding resource using information meter Calculation obtains dynamic resource utilization rate difference.
In step S112, dynamic resource utilization rate difference DELTA RCUL can be by the first moment corresponding resource using letter The mode that breath and the second moment corresponding resource using information directly subtract each other is calculated, it is of course also possible to according to actual needs And calculated using certain conversion regime, it is not limited thereto.
Step S113, compares the size of dynamic resource utilization rate difference and resource using change threshold value.
Step S114, when dynamic resource utilization rate difference uses change threshold value more than or equal to resource, resource is used Information reporting gives resource information acquisition server, otherwise, does not perform and for resource using information to report resource information collection service The action of device.
Present embodiment resource information gathers client by way of predetermined period, the first moment and the second moment, can To be accurately calculated the node that dynamic resource utilization rate difference DELTA RCUL meets the condition of RCUL, to avoid any time from obtaining Take resource using information and calculated brought error, improve monitoring that cloud computing prepares to the effective of node resource, Analysis and scheduling etc., make the node resource of cloud computing rapidly realize load balancing.
Figure 11 is referred to, Figure 11 is that the information processing method the 4th of the resource information collection client of the application cloud computing is real The schematic flow sheet of mode is applied, in the present embodiment, the information processing method bag of the resource information acquisition server of cloud computing Include but be not limited to following steps.
Step S120, resource information gathers client please to resource information acquisition server transmission registration request and index item Ask.
In the step s 120, when newly added node in cloud computing, which can pass through the newly-increased resource information of correspondence first Collection client actively sends registration request and/or index item request to resource information acquisition server.
Step S121, receive resource information acquisition server according to index item request returned including CPU usage, interior Deposit the resource metrics item of utilization rate and/or input/output port utilization rate and its weighted value, with according to resource metrics item obtain with The resource using information of itself corresponding node.
In step S121, resource information acquisition server can according to practical situation with subscribing manner to resource information Collection client send CPU usage index, one in Memory utilization rates index and I/O mouth utilization rate indexs, any two Individual, or three resource metrics items and its corresponding weighted value;In other words, resource information acquisition server can be according to node One in CPU usage index, Memory utilization rates index and I/O mouth utilization rate indexs, the situation of any two or three And carry out the actions such as follow-up scheduling.Certainly, in other embodiments, it is also possible to send other resource metrics items or and CPU The combination of utilization rate index, Memory utilization rates index and I/O mouth utilization rate indexs, in the scope that those skilled in the art understands It is interior, it is not construed as limiting.
It is not difficult to find out, step S120 and step S121 are preparation process, gather can resource information by preparation process Server is monitored to arbitrarily newly-increased node.
Step S122, receives the resource whether reported in reference information that resource information acquisition server sends over and uses Whether change threshold value, report reference information to be resource information acquisition server according to the current processing capabilities information of itself and preset Maximum processing capability compare the information for producing more afterwards.
Step S123, obtains corresponding CPU usage, memory usage from node at the first moment of predetermined period And/or the resource using information of input/output port utilization rate, correspondence is obtained from node at the second moment in predetermined period CPU usage, memory usage and/or input/output port utilization rate resource using information.
Step S124, using the first moment corresponding resource using information and the second moment corresponding resource using information meter Calculation obtains dynamic resource utilization rate difference.
In step S124, using the first moment corresponding resource using information and the second moment corresponding resource using letter Breath is calculated the computing formula of dynamic resource utilization rate difference DELTA RCUL to be included:
Δ RCUL=(x*C1+y*M1+z*IO1)-(x*C2+y*M2+z*IO2)
In above-mentioned computing formula, C1For the first moment corresponding CPU usage, M1Make for the first moment corresponding Memory With rate, IO1For the first moment corresponding I/O mouths utilization rate, C2For the second moment corresponding CPU usage, M2For the second moment pair The Memory utilization rates answered, IO2For the second moment corresponding I/O mouths utilization rate, x, y and z are corresponding weighted value.RCUL is initial Could be arranged to 0.1,0.2 or 0.3 etc., and weighted value x be 0.1 for 0.6, y, z is 0.3, or x for 0.5, y be 0.1, z be 0.4, Or one or two in x, y, z is 0 etc..It is corresponding with earlier embodiments to be, at 502 end of resource information acquisition server, Rated value of its each adjustment RCUL can be 0.08-0.12, such as 0.1,0.11 etc..For example, one of scheme can be adopted: RCUL is initially set to 0.2, and weighted value x is 0.1 for 0.6, y, and z is 0.3, and the rated value of adjustment RCUL is 0.1 group every time Close.The concrete numerical value of present embodiment can be set according to the practical application scene of cloud computing or COS, This is not construed as limiting.
Step S125, compares the size of dynamic resource utilization rate difference and resource using change threshold value.
Step S126, when dynamic resource utilization rate difference uses change threshold value more than or equal to resource, resource is used Information reporting gives resource information acquisition server, otherwise, does not perform and for resource using information to report resource information collection service The action of device.
Index item is registered and subscribed to present embodiment to the node of the new resource information collection client for adding, can be with When effectively prevent in cloud computing constantly newly added node, may caused by resource information acquisition server I/O bottlenecks Problem.In addition, after repeatedly adjustment RCUL, if resource information acquisition server detects default MPC equal to SPC, Can keep initial setting up or RCUL value of the previous moment after adjustment sends it is constant, and make SPC remain at MPC Zone of reasonableness in, and default MPC is employed entirely in and is met on the node of RCUL.
The course of work of client 512 is gathered to its information processing side below in conjunction with the resource information of the application cloud computing Method is further described.
Figure 12 is referred to, Figure 12 is the signal that the resource information of cloud computing shown in Fig. 5 gathers client first embodiment Block diagram, wherein, resource information collection client 512 includes but is not limited to receiver module 5121 and processing module 5122.
In the present embodiment, receiver module 5121 is used to receive what resource information acquisition server 502 was sended over Reference information whether is reported, as it was previously stated, whether reporting reference information to be SPC of the resource information acquisition server 502 according to itself Information compares the information for producing more afterwards with default MPC.
Processing module 5122 is used for the resource using information for obtaining node corresponding with itself, and according to receiver module 5121 The reference information that whether reports for receiving judges whether for resource using information to report resource information acquisition server 502.
Specifically, after all resource information collection clients collect the resource using information of itself corresponding node, Basis is needed whether to report reference information to carry out judging whether to report.For example, if whether reporting reference information to specify resource Information acquisition client 512 within a specified time stops the resource using information for reporting all nodes, for example specifies the time to be 5 Second, 10 seconds, 3 minutes or 5 minutes etc., then at the appointed time partially or fully resource information collection client stops to resource Information collection server 502 reports resource using information;And if whether reporting reference information to be intended merely to restricted part resource The quantity of the resource using information that information acquisition client is reported, then can lose what part resource information acquisition client was reported Resource using information, and prevent all resource informations from gathering client by the resource using information of collection while reporting resource letter Cease acquisition server 502 and cause to bring it about the problem of I/O bottlenecks.
Present embodiment resource information gathers client 512 after the resource using information for collecting node, according to upper The reference information whether is reported to decide whether to report resource information acquisition server 502, it is to avoid as interstitial content is excessive, to report Node resource using information quantity it is excessive, and caused resource information acquisition server 502 occur I/O bottlenecks problem. Present embodiment gathers the direct filtration fraction of effect of client by resource information or whole resources is limited in the specified time Information acquisition client is reported to resource information acquisition server 502, is adopted so as to the problem of I/O bottlenecks is moved down into resource information Collection client itself, carrys out process resource while avoiding resource information acquisition server 502 and taking the resource of excessive cloud computing The business of information gathering.
Further referring to Figure 13, Figure 13 is the resource information collection client second embodiment of cloud computing shown in Fig. 5 Schematic block diagram, wherein, also show resource information collection client 512 and resource information acquisition server 502 between letter Number trend.
In the present embodiment, receiver module 5121 is sended over specifically for receiving resource information acquisition server 502 The RCUL whether reported in reference information.Correspondingly, processing module 5122 is specifically including but not limited to acquiring unit 5127, meter Calculate unit 5123, comparing unit 5124 and reporting unit 5125.
Acquiring unit 5127 be used to obtaining corresponding with itself node including CPU usage, Memory utilization rates and/or The resource using information of I/O mouth utilization rates.Wherein, resource information collection client 512 can be according to the practical application of cloud computing Scene or business service etc. need, and obtaining from itself corresponding node includes CPU usage, Memory utilization rates and I/O One in mouthful utilization rate, the resource using information of any two or three, so as to subsequently to monitoring or scheduling of the node etc..
Computing unit 5123 calculates the dynamic of corresponding node for the resource using information got according to acquiring unit 5127 State resource utilization difference DELTA RCUL.Resource information gathers client 512 according to CPU usage, Memory utilization rates and I/O mouths One in utilization rate, any two or three carry out calculating dynamic resource utilization rate difference DELTA RCUL.For example, when different Carve, one or more in the CPU usage of node, Memory utilization rates or I/O mouth utilization rates are changed in real time, this When, its corresponding utilization rate is carried out subtracting each other etc. processing, you can obtain representing its resource using the dynamic resource of rate of change make With rate difference DELTA RCUL, certainly, the situation of the size of corresponding its rate of change of size of dynamic resource utilization rate difference DELTA RCUL.
Comparing unit 5124 is used to comparing dynamic resource utilization rate difference DELTA RCUL that computing unit 5123 calculates and connects Receive the size of the RCUL that module 5121 is received.
Reporting unit 5125 is for judging whether to report resource using information according to the comparative result of comparing unit 5124 To resource information acquisition server 502.Specifically, reporting unit 5125 obtains dynamic money for comparing in comparing unit 5124 When source utilization rate difference DELTA RCUL is more than or equal to RCUL, resource using information is reported into resource information acquisition server 502, Otherwise, the action that resource using information is reported resource information acquisition server 502 is not performed.
For example, acquiring unit 5127 obtains correspondence from node 511 specifically for the first moment in predetermined period CPU usage, Memory utilization rates and/or I/O mouth utilization rates resource using information, and in predetermined period second when Quarter obtains the resource using information of corresponding CPU usage, Memory utilization rates and/or I/O mouth utilization rates from node 511, Then, computing unit 5123 utilizes the first moment corresponding resource using information and the second moment corresponding resource using information meter Calculation obtains dynamic resource utilization rate difference DELTA RCUL, and its computing formula is as follows:
Δ RCUL=(x*C1+y*M1+z*IO1)-(x*C2+y*M2+z*IO2)
In above-mentioned computing formula, C1For the first moment corresponding CPU usage, M1Make for the first moment corresponding Memory With rate, IO1For the first moment corresponding I/O mouths utilization rate, C2For the second moment corresponding CPU usage, M2For the second moment pair The Memory utilization rates answered, IO2For the second moment corresponding I/O mouths utilization rate, x, y and z are corresponding weighted value.RCUL is initial Could be arranged to 0.1,0.2 or 0.3 etc., and weighted value x be 0.1 for 0.6, y, z is 0.3, or x for 0.5, y be 0.1, z be 0.4, Or one or two in x, y, z is 0 etc..It is corresponding with earlier embodiments to be, at 502 end of resource information acquisition server, Rated value of its adjustment RCUL can be 0.08-0.12, such as 0.1,0.11 etc..For example, one of scheme can be adopted:RCUL 0.2 is initially set to, and weighted value x is 0.1 for 0.6, y, z is 0.3, the rated value of adjustment RCUL is 0.1 combination every time.This The concrete numerical value of embodiment can be set according to the practical application scene of cloud computing or COS, and here is not made Limit.
In addition, resource information collection client 512 can also include Registering modules 5126, Registering modules 5126 are for money Source information acquisition server 502 sends registration request and index item request, and then, receiver module 5121 receives resource information collection The index item request that server 502 is sent according to Registering modules 5126 returned including CPU usage, Memory utilization rates And/or the resource metrics item of I/O mouths utilization rate and its weighted value, processing module 5122 then according to resource metrics item obtain and itself The resource using information of corresponding node.
Present embodiment resource information gathers client by way of predetermined period, the first moment and the second moment, can To be accurately calculated the node that dynamic resource utilization rate difference DELTA RCUL meets the condition of RCUL, to avoid any time from obtaining Take resource using information and calculated brought error, improve monitoring that cloud computing prepares to the effective of node resource, Analysis and scheduling etc., make the node resource of cloud computing rapidly realize load balancing.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can To realize by another way.For example, device embodiments described above are only schematically, for example mould The division of block or unit, only a kind of division of logic function can have other dividing mode when actually realizing, such as multiple Unit or component can with reference to or be desirably integrated into another system, or some features can be ignored, or not perform.It is another Point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, device or The INDIRECT COUPLING of unit or communication connection, can be electrical, mechanical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can local to be located at one, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize present embodiment scheme Purpose.
In addition, each functional unit in the application each embodiment can be integrated in a processing unit, also may be used Being that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.It is above-mentioned integrated Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized and as independent production marketing or use using in the form of SFU software functional unit When, can be stored in a computer read/write memory medium.Based on such understanding, the technical scheme of the application is substantially The part for contributing to prior art in other words or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, use so that a computer including some instructions Equipment (can be personal computer, server, or network equipment etc.) or processor (processor) perform the application each The all or part of step of embodiment methods described.And aforesaid storage medium includes:USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD Etc. it is various can be with the medium of store program codes.
Presently filed embodiment is the foregoing is only, the protection domain of the application is not thereby limited, it is every using this Equivalent structure or equivalent flow conversion that application specification and accompanying drawing content are made, or directly or indirectly it is used in other correlations Technical field, is included in the scope of patent protection of the application in the same manner.

Claims (26)

1. a kind of information processing method of the resource information acquisition server of cloud computing, it is characterised in that described information process side Method includes:
Resource information acquisition server obtains the current processing capabilities information of itself;
The comparison current processing capabilities and default maximum processing capability, produce comparative result, and according to the comparative result Whether generation reports reference information accordingly;
Reference information whether is reported to be sent to resource information collection client by described, so that resource information collection client Obtain the resource using information of node corresponding with itself and whether report reference information to judge whether the money according to described Source use information reports the resource information acquisition server;
Wherein, it is described to compare current processing capabilities and default maximum processing capability, comparative result is produced, and according to the comparison As a result produce the step of whether reporting reference information accordingly to specifically include:
According to the pre-configured default maximum processing capability current processing capabilities to itself of cloud computing;
When the default maximum processing capability is more than the current processing capabilities, reduce default resource using change threshold value Whether to report reference information described in generation, when the default maximum processing capability is less than the current processing capabilities, plus Big default resource using change threshold value generate it is described whether report reference information, wherein, resource is using change threshold value to appoint The rate of change of meaning resource utilization of the node in predetermined time period.
2. information processing method according to claim 1, it is characterised in that described whether to report reference information to be sent to Also include after the step of resource information collection client:
The resource using information that the resource information collection client is gathered and reported is read, the resource using information is resource Information acquisition client is according to the information for whether reporting reference information to be reported.
3. information processing method according to claim 2, it is characterised in that:
The step of resource information acquisition server obtains the current processing capabilities information of itself specifically includes:
The resource information acquisition server obtains the present parallel of itself and reads what the resource information collection client was reported Disposal ability information during resource using information, corresponding;
The step of resource using information that the reading resource information collection client is gathered and reported, specifically includes:
The resource using information that the resource information collection client is gathered and reported is read, the resource using information is resource After information acquisition client collects the resource using information of node, will be according to the calculated dynamic of the resource using information Resource utilization difference and the resource whether reported in reference information using compared with change threshold value, and the dynamic resource Utilization rate difference is more than or equal to the resource using the resource using information just reported when changing threshold value.
4. information processing method according to claim 3, it is characterised in that the resource is using change threshold value initial setting up It is for 0.2, described when default maximum processing capability is more than the current processing capabilities, reduce default resource using change threshold Value with generate it is described whether report reference information, when the default maximum processing capability is less than the current processing capabilities, Increase default resource using change threshold value generate it is described whether report reference information the step of specifically include:
When the default maximum processing capability is more than the current processing capabilities, default resource is made to subtract using change threshold value Little 0.1 with generate it is described whether report reference information, be less than the current processing capabilities in the default maximum processing capability When, make default resource 0.1 be increased using change threshold value and generate described whether report reference information.
5. the information processing method according to Claims 2 or 3, it is characterised in that:
Also include before the step of resource information acquisition server obtains the current processing capabilities information of itself:
Obtain registration request and index item request that newly-increased resource information collection client is sended over;
To be used including CPU usage index, memory usage index and/or input/output port according to index item request The resource metrics item of rate index, and its corresponding weighted value is sent to newly-increased resource information collection client;
Described to read the resource using information that resource information collection client is gathered and reported, the resource using information is resource The step of information whether information acquisition client reports reference information to be reported according to described, specifically includes:
Read the resource using information that resource information collection client is gathered and reported according to the resource metrics item, the resource Use information be resource information collection client according to it is described whether report reference information to carry out reporting, including CPU usage, The information of memory usage and/or input/output port utilization rate.
6. the information processing method according to any one of claims 1 to 3, it is characterised in that the resource information collection clothes The step of business device obtains the current processing capabilities information of itself includes:
Resource information acquisition server obtains the current processing capabilities information of itself in real time.
7. the resource information acquisition server of a kind of cloud computing, it is characterised in that the resource information acquisition server includes:
Acquisition module, for obtaining the current processing capabilities information of the resource information acquisition server itself;
Processing module, the current processing capabilities got for the comparison acquisition module and default maximum process energy Power, produces comparative result, and whether reports reference information accordingly according to comparative result generation;
Sending module, for whether reporting reference information to be sent to resource information to adopt described in processing module process is obtained Collection client, so that resource information collection client obtains the resource using information of node corresponding with itself and according to institute State and whether report reference information to judge whether for the resource using information to report the resource information acquisition server;
Wherein, the processing module is specifically included:
Judging unit, for according to the pre-configured default maximum process to the resource information acquisition server itself of cloud computing The ability current processing capabilities;
Threshold adjustment unit, for determining the default maximum processing capability more than the current place in the judging unit During reason ability, reduce default resource using change threshold value generate it is described whether report reference information, in the judging unit When the default maximum processing capability is determined less than the current processing capabilities, increase default resource using change threshold value Whether to report reference information described in generation, wherein, resource use change threshold value is arbitrary node in predetermined time period The rate of change of resource utilization.
8. resource information acquisition server according to claim 7, it is characterised in that the resource information acquisition server Also include:
Read module, for reading the resource using information that the resource information collection client is gathered and reported, the resource Use information is that the resource information gathers client according to the information for whether reporting reference information to be reported.
9. resource information acquisition server according to claim 8, it is characterised in that:
The acquisition module reads the resource specifically for the present parallel for obtaining the resource information acquisition server itself Disposal ability information during the resource using information that information acquisition client is reported, corresponding;
The read module gathers the resource using information that client is gathered and reported specifically for reading the resource information, its In, the resource using information is after resource information collection client collects the resource using information of node, will be according to described The calculated dynamic resource utilization rate difference of resource using information is with the resource whether reported in reference information using change More threshold value compares, and the dynamic resource utilization rate difference more than or equal to the resource using change threshold value when just report Resource using information.
10. resource information acquisition server according to claim 9, it is characterised in that:The resource is using change threshold value 0.2 is initially set to, the threshold adjustment unit is specifically for determining the default maximum process in the judging unit When ability is more than the current processing capabilities, makes default resource reduce 0.1 using change threshold value and generate described whether reporting Reference information, when the judging unit determines the default maximum processing capability less than the current processing capabilities, makes Default resource increases 0.1 using change threshold value and generates and described whether reports reference information.
11. resource information acquisition servers according to claim 8 or claim 9, it is characterised in that:
The acquisition module is specifically for obtaining the registration request and index that newly-increased resource information collection client is sended over Item request;
The sending module will be including CPU usage specifically for the index item request got according to the acquisition module The resource metrics item of index, memory usage index and/or input/output port utilization rate index, and its corresponding weighted value Give newly-increased resource information collection client;
The read module is specifically for reading what resource information collection client was gathered and reported according to the resource metrics item Resource using information, the resource using information are whether resource information collection client reports reference information to carry out according to described It is reporting, including the information of CPU usage, memory usage and/or input/output port utilization rate.
The 12. resource information acquisition servers according to any one of claim 7~9, it is characterised in that the acquisition module The current processing capabilities information of the resource information acquisition server itself is obtained in real time.
A kind of resource information of 13. cloud computings gathers the information processing method of client, it is characterised in that described information process side Method includes:
Whether what reception resource information acquisition server was sended over reports reference information, described whether to report reference information to be money Source information acquisition server compares more afterwards produce with default maximum processing capability according to the current processing capabilities information of itself Information;
The resource using information of node corresponding with itself is obtained, and whether reports reference information to judge whether institute according to described State resource using information and report the resource information acquisition server;
Wherein, it is described whether report reference information be resource information acquisition server according to the current processing capabilities information of itself and Default maximum processing capability compares the information for producing more afterwards, specifically includes:It is described whether to report reference information to be described pre- If maximum processing capability when being more than the current processing capabilities resource information acquisition server reduce default resource and make With change information of the threshold value to generate, when the default maximum processing capability is less than the current processing capabilities, increase pre- If resource using the change information that generates of threshold value, wherein, resource is arbitrary node in the predetermined time using change threshold value The rate of change of the resource utilization in section.
14. information processing methods according to claim 13, it is characterised in that:
What the reception resource information acquisition server was sended over specifically includes the step of whether reporting reference information:
The resource whether reported in reference information for receiving that the resource information acquisition server sends over is using change threshold value;
The resource using information for obtaining node corresponding with itself, and whether report reference information to judge whether according to described The step of resource using information is reported the resource information acquisition server specifically includes:
Obtain the money including CPU usage, memory usage and/or input/output port utilization rate of node corresponding with itself Source use information;
The dynamic resource utilization rate difference of corresponding node is calculated according to the resource using information;
The relatively dynamic resource utilization rate difference and the resource is using the size for changing threshold value, and is judged according to comparative result Whether the resource using information is reported into the resource information acquisition server.
15. information processing methods according to claim 14, it is characterised in that described to compare dynamic resource utilization rate difference With the resource using the size for changing threshold value, and judge whether for the resource using information to report institute according to comparative result The step of stating resource information acquisition server specifically includes:
Relatively the dynamic resource utilization rate difference and the resource are using the size for changing threshold value;
When the dynamic resource utilization rate difference uses change threshold value more than or equal to the resource, by the resource using letter Breath reports the resource information acquisition server, otherwise, does not perform and for the resource using information to report the resource letter The action of breath acquisition server.
16. information processing methods according to claims 14 or 15, it is characterised in that:
It is described obtain corresponding with itself node including CPU usage, memory usage and/or input/output port utilization rate Resource using information the step of specifically include:
Corresponding CPU usage, memory usage are obtained from the node at the first moment of predetermined period and/or is input into defeated The resource using information of exit port utilization rate, corresponding CPU is obtained from the node at the second moment in predetermined period makes With the resource using information of rate, memory usage and/or input/output port utilization rate;
It is described according to resource using information calculate corresponding node dynamic resource utilization rate difference the step of include:
It is calculated using the first moment corresponding resource using information and the second moment corresponding resource using information described dynamic State resource utilization difference.
17. information processing methods according to claim 16, it is characterised in that described to utilize the first moment corresponding resource Use information and the second moment corresponding resource using information are calculated the computing formula of the dynamic resource utilization rate difference Including:
Δ RCUL=(x*C1+y*M1+z*IO1)-(x*C2+y*M2+z*IO2)
Wherein, Δ RCUL be dynamic resource utilization rate difference, C1For the first moment corresponding CPU usage, M1For the first moment pair The memory usage answered, IO1For the first moment corresponding input/output port utilization rate, C2Use for the second moment corresponding CPU Rate, M2For the second moment corresponding memory usage, IO2For the second moment corresponding input/output port utilization rate, x, y and z are Corresponding weighted value.
18. information processing methods according to claim 17, it is characterised in that the resource is initially set using change threshold value It is set to 0.2, it is described to utilize the first moment corresponding resource using information and the second moment corresponding resource using information to calculate To in the formula of the dynamic resource utilization rate difference:
X be 0.6, y be 0.1, z be 0.3;Or in x, y, z one or two be 0.
19. information processing methods according to any one of claim 13~15, it is characterised in that the reception resource information Also include before the step of whether what acquisition server was sended over reports reference information:
Resource information gathers client and sends registration request and index item request to resource information acquisition server;
Receive resource information acquisition server according to the index item request returned including CPU usage, memory usage And/or the resource metrics item of input/output port utilization rate and its weighted value, with according to the resource metrics item obtain and itself The resource using information of corresponding node.
The resource information collection client of 20. a kind of cloud computings, it is characterised in that the resource information collection client includes:
Receiver module, for receiving the reference information that whether reports that resource information acquisition server sends over, it is described report with No reference information is current processing capabilities information and default maximum processing capability of the resource information acquisition server according to itself Compare the information for producing more afterwards;
Whether processing module, for obtaining the resource using information of node corresponding with itself, and report with reference to letter according to described Breath judges whether for the resource using information to report the resource information acquisition server;
Wherein, it is described whether report reference information be resource information acquisition server according to the current processing capabilities information of itself and Default maximum processing capability compares the information for producing more afterwards, specifically includes:It is described whether to report reference information to be described pre- If maximum processing capability when being more than the current processing capabilities resource information acquisition server reduce default resource and make With change information of the threshold value to generate, when the default maximum processing capability is less than the current processing capabilities, increase pre- If resource using the change information that generates of threshold value, wherein, resource is arbitrary node in the predetermined time using change threshold value The rate of change of the resource utilization in section.
21. resource informations according to claim 20 gather client, it is characterised in that:
Whether the receiver module reports reference information specifically for what the reception resource information acquisition server was sended over In resource using change threshold value;
The processing module is specifically included:
Acquiring unit, for acquisition node corresponding with itself including CPU usage, memory usage and/or input and output The resource using information of port utilization;
Computing unit, the resource using information for being got according to the acquiring unit calculate the dynamic money of corresponding node Source utilization rate difference;
Comparing unit, the dynamic resource utilization rate difference and the receiver module calculated for the comparison computing unit are received Size of the resource for arriving using change threshold value;
Reporting unit, for judging whether for the resource using information to report institute according to the comparative result of the comparing unit State resource information acquisition server.
22. resource informations according to claim 21 gather clients, it is characterised in that the reporting unit specifically for When the comparing unit relatively obtains the dynamic resource utilization rate difference more than or equal to resource use change threshold value, The resource using information is reported into the resource information acquisition server, otherwise, is not performed the resource using information Report the action of the resource information acquisition server.
The 23. resource information collection clients according to claim 21 or 22, it is characterised in that:
The acquiring unit specifically for the first moment in predetermined period obtain from the node corresponding CPU usage, The resource using information of memory usage and/or input/output port utilization rate, the second moment in the predetermined period is from described The resource using information of corresponding CPU usage, memory usage and/or input/output port utilization rate is obtained in node;
The computing unit utilizes the first moment corresponding resource using information and the second moment corresponding resource using information meter Calculation obtains the dynamic resource utilization rate difference.
24. resource informations according to claim 23 gather client, it is characterised in that described to utilize the first moment correspondence Resource using information and the second moment corresponding resource using information be calculated the meter of the dynamic resource utilization rate difference Calculating formula includes:
Δ RCUL=(x*C1+y*M1+z*IO1)-(x*C2+y*M2+z*IO2)
Wherein, Δ RCUL be dynamic resource utilization rate difference, C1For the first moment corresponding CPU usage, M1For the first moment pair The memory usage answered, IO1For the first moment corresponding input/output port utilization rate, C2Use for the second moment corresponding CPU Rate, M2For the second moment corresponding memory usage, IO2For the second moment corresponding input/output port utilization rate, x, y and z are Corresponding weighted value.
25. resource informations according to claim 24 gather client, it is characterised in that the resource is using change threshold value It is initially set to 0.2, it is described to utilize the first moment corresponding resource using information and the second moment corresponding resource using information It is calculated in the formula of the dynamic resource utilization rate difference:
X be 0.6, y be 0.1, z be 0.3;Or in x, y, z one or two be 0.
The 26. resource information collection clients according to any one of claim 20~22, it is characterised in that the resource letter Breath collection client also includes:
Registering modules, for sending registration request and index item request to resource information acquisition server;
The receiver module please according to the index item that the Registering modules send specifically for receiving resource information acquisition server Seek the resource metrics including CPU usage, memory usage and/or input/output port utilization rate and its weighted value for being returned , the processing module is specifically for the resource using information according to resource metrics item acquisition node corresponding with itself.
CN201210475585.3A 2012-11-21 2012-11-21 Cloud computing resource information acquisition server, cloud computing resource information acquisition client and information processing method Expired - Fee Related CN103841129B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210475585.3A CN103841129B (en) 2012-11-21 2012-11-21 Cloud computing resource information acquisition server, cloud computing resource information acquisition client and information processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210475585.3A CN103841129B (en) 2012-11-21 2012-11-21 Cloud computing resource information acquisition server, cloud computing resource information acquisition client and information processing method

Publications (2)

Publication Number Publication Date
CN103841129A CN103841129A (en) 2014-06-04
CN103841129B true CN103841129B (en) 2017-04-26

Family

ID=50804260

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210475585.3A Expired - Fee Related CN103841129B (en) 2012-11-21 2012-11-21 Cloud computing resource information acquisition server, cloud computing resource information acquisition client and information processing method

Country Status (1)

Country Link
CN (1) CN103841129B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534231B (en) * 2015-09-09 2019-12-31 阿里巴巴集团控股有限公司 Method, device and system for controlling use limit of network resources
CN105357026B (en) * 2015-09-24 2019-07-23 华为技术有限公司 A kind of resource information collection method and calculate node
CN106375132B (en) * 2016-11-01 2021-04-13 Tcl科技集团股份有限公司 Cloud server system and management method thereof
CN106487925A (en) * 2016-11-29 2017-03-08 用友网络科技股份有限公司 Service access control method and service access control system
CN111488387B (en) * 2019-01-28 2024-03-01 阿里巴巴集团控股有限公司 Information recording and data query method
CN110245019B (en) * 2019-06-17 2021-07-06 广东金赋科技股份有限公司 Thread concurrency method and device for self-adaptive system resources
CN112306797A (en) * 2020-10-22 2021-02-02 深圳市欢太科技有限公司 Embedded point information reporting method and device, storage medium and electronic equipment
CN114422517A (en) * 2022-01-24 2022-04-29 广东三合电子实业有限公司 Server load balancing system and method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1972283A (en) * 2005-11-21 2007-05-30 华为技术有限公司 A network service issuing system and its control method of issuing service
CN101132448A (en) * 2006-08-23 2008-02-27 华为技术有限公司 Overload call limiting method and device thereof
CN102130959A (en) * 2011-03-22 2011-07-20 浪潮(北京)电子信息产业有限公司 System and method for scheduling cloud storage resource
CN102340825A (en) * 2011-08-12 2012-02-01 中国科学技术大学 Load-transfer-based energy-saving control method and system for mobile communication system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110225458A1 (en) * 2010-03-09 2011-09-15 Microsoft Corporation Generating a debuggable dump file for an operating system kernel and hypervisor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1972283A (en) * 2005-11-21 2007-05-30 华为技术有限公司 A network service issuing system and its control method of issuing service
CN101132448A (en) * 2006-08-23 2008-02-27 华为技术有限公司 Overload call limiting method and device thereof
CN102130959A (en) * 2011-03-22 2011-07-20 浪潮(北京)电子信息产业有限公司 System and method for scheduling cloud storage resource
CN102340825A (en) * 2011-08-12 2012-02-01 中国科学技术大学 Load-transfer-based energy-saving control method and system for mobile communication system

Also Published As

Publication number Publication date
CN103841129A (en) 2014-06-04

Similar Documents

Publication Publication Date Title
CN103841129B (en) Cloud computing resource information acquisition server, cloud computing resource information acquisition client and information processing method
CN105281981B (en) The data traffic monitoring method and device of network service
CN103516807B (en) A kind of cloud computing platform server load balancing system and method
CN109451072A (en) A kind of message caching system and method based on Kafka
CN103699447B (en) Cloud computing-based transcoding and distribution system for video conference
CN110381541A (en) A kind of smart grid slice distribution method and device based on intensified learning
CN109788315A (en) Video transcoding method, apparatus and system
CN103530185B (en) Method for optimizing resources and device
CN110430068A (en) A kind of Feature Engineering method of combination and device
CN103782270B (en) The management method of stream processing system and relevant device and system
CN106210129B (en) A kind of current-limiting method and system based on Web server configuration
CN112261120B (en) Cloud-side cooperative task unloading method and device for power distribution internet of things
CN107168853A (en) A kind of server performance information acquisition method, system and substrate control manager
CN113099410A (en) 5G power edge data transmission processing method, device, terminal and medium
CN108932182B (en) Message bus performance test method and system
CN106817314A (en) Big data acquisition method, device and system
CN103324538B (en) A kind of method for designing of the dystopy dispersion distributed concurrent process of cluster environment
CN103442087B (en) A kind of Web service system visit capacity based on response time trend analysis controls apparatus and method
CN109614228B (en) Comprehensive monitoring front-end system based on dynamic load balancing mode and working method
CN105094944B (en) A kind of virtual machine migration method and device
CN114706675A (en) Task deployment method and device based on cloud edge cooperative system
CN202841168U (en) Network resource monitoring system
CN110868330B (en) Evaluation method, device and evaluation system for CPU resources which can be divided by cloud platform
CN102045186A (en) Event analysis method and system
CN104468379B (en) Virtual Hadoop clustered nodes system of selection and device based on most short logical reach

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170426

Termination date: 20181121