CN103841129A - 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
CN103841129A
CN103841129A CN201210475585.3A CN201210475585A CN103841129A CN 103841129 A CN103841129 A CN 103841129A CN 201210475585 A CN201210475585 A CN 201210475585A CN 103841129 A CN103841129 A CN 103841129A
Authority
CN
China
Prior art keywords
resource
information
acquisition server
utilization rate
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201210475585.3A
Other languages
Chinese (zh)
Other versions
CN103841129B (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

Images

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 relates to the technical field of information processing of cloud computing, specifically relate to a kind of resource information acquisition server of cloud computing, the resource information that also relates to a kind of cloud computing gathers client, also relates in addition a kind of information processing method of resource information acquisition server and information processing method of resource information collection client of cloud computing.
Background technology
In the resource management of cloud computing, in acquisition system, the resource using information of each node is a basic function; System acquisition, after each node resource use information, can further be analyzed and process, and its analysis result can be applicable to the multiple application in upper strata, as the important reference of the dynamic adjustresources of resource management system as cloud computing.
For the collection of the resource using information of the node of cloud computing, conventionally adopt the pattern of a Server end (resource information acquisition server) to all nodes, and each node reports resource information acquisition server as Client end (resource information collection client) by the resource using information of node self.
In the process of work, resource information acquisition server can arrange buffer queue: after each resource information collection client reports resource using information to resource information acquisition server, first resource information acquisition server writes buffer queue by the resource using information receiving, read from buffer queue by task processing threads independently again, finally carry out data Machining Analysis.
But in the time that data buffering queue is about to overflow, resource using information or the notice resource information collection client that generally can adopt Flow Control mode to lose part of nodes in prior art postpone to report.And along with the increase of number of nodes, the buffer queue of opening up is increasing, the I/O(input/output terminal of resource information acquisition server) mouthful will become bottleneck, cause resource information gather client report resource using information time postpone a meeting or conference increasing.
Summary of the invention
In view of this, the application provides a kind of resource information acquisition server of cloud computing and client, information processing method, reports resource using information too much to cause the input/output port of resource information acquisition server to become the problem of bottleneck to solve in prior art because resource information gathers client.
For addressing the above problem, the application's first aspect provides a kind of information processing method of resource information acquisition server of cloud computing, and information processing method comprises step: resource information acquisition server obtains the current disposal ability information of self; More current disposal ability and default maximum processing capability, produce comparative result, and produce and whether report reference information accordingly according to comparative result; To whether report reference information to send to resource information to gather client.
In conjunction with first aspect, in the possible implementation of the first, the step that whether reports reference information to send to resource information to gather client is also comprised afterwards: read the resource using information that resource information gathers client collection and reports, resource using information is that resource information gathers client according to the information that whether reports reference information to report.
In conjunction with the possible implementation of the first of first aspect, in the possible implementation of the second, the step that resource information acquisition server obtains the current disposal ability information of self specifically comprises: current parallel when reading resource information and gathering the resource using information that client reports, corresponding disposal ability information that resource information acquisition server obtains self.And more current disposal ability and default maximum processing capability, produce comparative result, and produce and whether report the step of reference information specifically to comprise accordingly according to comparative result: according to the pre-configured more current disposal ability of default maximum processing capability to self of cloud computing; In the time that default maximum processing capability is greater than current disposal ability, reducing default resource uses change threshold value whether to report reference information to generate, in the time that default maximum processing capability is less than current disposal ability, strengthens default resource and use change threshold value whether to report reference information to generate.Simultaneously, reading the step that resource information gathers client collection the resource using information that reports specifically comprises: read the resource using information that resource information gathers client collection and reports, resource using information be resource information gather after the resource using information that client collects node, by the dynamic resource utilization rate difference calculating according to resource using information with whether report resource in reference information to use to change threshold and dynamic resource utilization rate difference to be more than or equal to resource to use the resource using information just reporting while changing threshold value.
In conjunction with the possible implementation of the second of first aspect, in the third possible implementation, resource is used change threshold value to be initially set to 0.2, in the time that default maximum processing capability is greater than current disposal ability, reducing default resource uses change threshold value whether to report reference information to generate, in the time that default maximum processing capability is less than current disposal ability, strengthening default resource uses change threshold value whether to report the step of reference information specifically to comprise to generate: in the time that default maximum processing capability is greater than current disposal ability, make default resource use change threshold value to reduce 0.1 and whether report reference information to generate, in the time that default maximum processing capability is less than current disposal ability, make default resource use change threshold value to strengthen 0.1 and whether report reference information to generate.
In conjunction with the second possibility or the third possible implementation of first aspect, in the 4th kind of possible implementation, the step that resource information acquisition server obtains the current disposal ability information of self also comprises before: obtain newly-increased resource information and gather registration request and the index item request that client sends over; The resource index item of CPU usage index, memory usage index and/or input/output port utilization rate index will be comprised according to index item request, and corresponding weighted value sends to newly-increased resource information to gather client.And the resource using information that reads resource information collection client collection and report, resource using information is that resource information gathers client and specifically comprises according to the step that whether reports the information that reference information reports: read resource information and gather client according to the collection of resource index item the resource using information that reports, resource using information is that resource information gathers client according to whether reporting reference information to report, comprise the information of CPU usage, memory usage and/or input/output port utilization rate.
In conjunction with the first possibility or the possible implementation of the second of first aspect, first aspect, in the 5th kind of possible implementation, the step that resource information acquisition server obtains the current disposal ability information of self comprises: resource information acquisition server obtains the current disposal ability information of self in real time.
For addressing the above problem, the application's second aspect provides a kind of resource information acquisition server of cloud computing, and resource information acquisition server comprises: acquisition module, for the current disposal ability information of Gains resources information collection server self; Processing module, the current disposal ability getting for comparison acquisition module and default maximum processing capability, produce comparative result, and produce and whether report reference information accordingly according to comparative result; Sending module, sends to resource information to gather client for the reference information that whether reports that processing module processing is obtained.
In conjunction with second aspect, in the possible implementation of the first, resource information acquisition server also comprises: read module, the resource using information that gathers client collection and report for reading resource information, resource using information is that resource information gathers client according to the information that whether reports reference information to report.
In conjunction with the possible implementation of the first of second aspect, in the possible implementation of the second, when acquisition module reads resource information and gathers the resource using information that client reports specifically for Gains resources information collection server self current parallel, corresponding disposal ability information.Processing module specifically comprises: judging unit, for according to the pre-configured more current disposal ability of default maximum processing capability of resource information acquisition server self of giving of cloud computing; Threshold adjustment unit, while being greater than current disposal ability for determining default maximum processing capability at judging unit, reducing default resource uses change threshold value whether to report reference information to generate, in the time that judging unit determines default maximum processing capability and is less than current disposal ability, strengthen default resource and use and change threshold value and whether report reference information to generate.Simultaneously, the resource using information that read module gathers client collection and reports specifically for reading resource information, wherein, resource using information be resource information gather client collect after the resource using information of node, by the dynamic resource utilization rate difference calculating according to resource using information with whether report resource in reference information to use to change threshold and dynamic resource utilization rate difference to be more than or equal to resource to use the resource using information just reporting while changing threshold value.
In conjunction with the possible implementation of the second of second aspect, in the third possible implementation, resource is used change threshold value to be initially set to 0.2, when threshold adjustment unit is greater than current disposal ability specifically for determine default maximum processing capability at judging unit, make default resource use change threshold value to reduce 0.1 and whether report reference information to generate, in the time that judging unit determines default maximum processing capability and is less than current disposal ability, default resource is used change threshold value to strengthen 0.1 and whether report reference information to generate.
In conjunction with the second possibility or the third possible implementation of second aspect, in the 4th kind of possible implementation: acquisition module gathers specifically for obtaining newly-increased resource information registration request and the index item request that client sends over; Sending module will comprise the resource index item of CPU usage index, memory usage index and/or input/output port utilization rate index specifically for the index item request getting according to acquisition module, and corresponding weighted value sends to newly-increased resource information to gather client; Read module gathers client according to the collection of resource index item the resource using information that reports specifically for reading resource information, and resource using information is that resource information gathers client according to whether reporting reference information to report, comprise the information of CPU usage, memory usage and/or input/output port utilization rate.
In conjunction with the first possibility or the possible implementation of the second of second aspect, second aspect, in the 5th kind of possible implementation: acquisition module is the current disposal ability information of Gains resources information collection server self in real time.
For addressing the above problem, the application's third aspect provides a kind of resource information of cloud computing to gather the information processing method of client, information processing method comprises step: receive the reference information that whether reports that resource information acquisition server sends over, the information that whether to report reference information be resource information acquisition server produces after comparing according to the current disposal ability information of self and default maximum processing capability; Obtain the resource using information of the node corresponding with self, and according to whether reporting reference information to judge whether resource using information to report resource information acquisition server.
In conjunction with the third aspect, in the possible implementation of the first, the step that whether reports reference information that reception resource information acquisition server sends over specifically comprises: whether what reception resource information acquisition server sended over reports the resource in reference information to use change threshold value.Obtain the resource using information of the node corresponding with self, and according to whether reporting reference information to judge whether that the step that resource using information is reported to resource information acquisition server specifically comprises: the resource using information that comprises CPU usage, memory usage and/or input/output port utilization rate that obtains the node corresponding with self; Calculate the dynamic resource utilization rate difference of corresponding node according to resource using information; Relatively dynamic resource utilization rate difference and resource are used the size that changes threshold value, and judge whether resource using information to report resource information acquisition server according to comparative result.
In conjunction with the possible implementation of the first of the third aspect, in the possible implementation of the second, relatively dynamic resource utilization rate difference and resource are used the size that changes threshold value, and judge whether that according to comparative result the step that resource using information is reported to resource information acquisition server specifically comprises: relatively dynamic resource utilization rate difference and resource are used the size that changes threshold value; In the time that dynamic resource utilization rate difference is more than or equal to resource use change threshold value, resource using information is reported to resource information acquisition server, otherwise, do not carry out the action that resource using information is reported to resource information acquisition server.
In conjunction with the first possibility or the possible implementation of the second of the third aspect, in the third possible implementation, obtain the CPU usage that comprises of the node corresponding with self, the step of the resource using information of memory usage and/or input/output port utilization rate specifically comprises: the first moment in predetermined period is obtained corresponding CPU usage from node, the resource using information of memory usage and/or input/output port utilization rate, the second moment in predetermined period is obtained corresponding CPU usage from node, the resource using information of memory usage and/or input/output port utilization rate.The step of calculating the dynamic resource utilization rate difference of corresponding node according to resource using information comprises: utilize resource using information corresponding to the first moment and resource using information corresponding to the second moment to calculate dynamic resource utilization rate difference.
In conjunction with the third possible implementation of the third aspect, in the 4th kind of possible implementation, the computing formula of utilizing resource using information corresponding to the first moment and resource using information corresponding to the second moment to calculate dynamic resource utilization rate difference comprises:
ΔRCUL=(x*C 1+y*M 1+z*IO 1)-(x*C 2+y*M 2+z*IO 2)
In above formula, Δ RCUL is dynamic resource utilization rate difference, C 1be CPU usage corresponding to the first moment, M 1be memory usage corresponding to the first moment, IO 1be input/output port utilization rate corresponding to the first moment, C 2be CPU usage corresponding to the second moment, M 2be memory usage corresponding to the second moment, IO 2be input/output port utilization rate corresponding to the second moment, x, y and z are corresponding weighted value.
In conjunction with the 4th kind of possible implementation of the third aspect, in the 5th kind of possible implementation, resource is used change threshold value to be initially set to 0.2, utilize resource using information corresponding to the first moment and resource using information corresponding to the second moment to calculate in the formula of dynamic resource utilization rate difference: x is 0.6, y is that 0.1, z is 0.3; Or one or two in x, y, z is 0.
In conjunction with the first possibility or the possible implementation of the second of the third aspect, the third aspect, in the 6th kind of possible implementation, before the step that whether reports reference information that reception resource information acquisition server sends over, also comprise: resource information gathers client and sends registration request and index item request to resource information acquisition server; Receive the resource information acquisition server resource index item that comprises CPU usage, memory usage and/or input/output port utilization rate and weighted value thereof that request is returned according to index item, to obtain the resource using information of the node corresponding with self according to resource index item.
For addressing the above problem, the application's fourth aspect provides a kind of resource information of cloud computing to gather client, resource information gathers client and comprises: receiver module, for receiving the reference information that whether reports that resource information acquisition server sends over, the information that whether to report reference information be resource information acquisition server produces after comparing according to the current disposal ability information of self and default maximum processing capability; Processing module, for obtaining the resource using information of the node corresponding with self, and according to whether reporting reference information to judge whether resource using information to report resource information acquisition server.
In conjunction with fourth aspect, in the possible implementation of the first, whether what receiver module sended over specifically for reception resource information acquisition server reports the resource in reference information to use change threshold value.Processing module specifically comprises: acquiring unit, for obtaining the resource using information that comprises CPU usage, memory usage and/or input/output port utilization rate of the node corresponding with self; Computing unit, calculates the dynamic resource utilization rate difference of corresponding node for the resource using information that gets according to acquiring unit; Comparing unit, the resource that the dynamic resource utilization rate difference calculating for comparison computing unit and receiver module receive is used the size that changes threshold value; Report unit, for judging whether resource using information to report resource information acquisition server according to the comparative result of comparing unit.
In conjunction with the possible implementation of the first of fourth aspect, in the possible implementation of the second, while reporting unit to be more than or equal to resource use change threshold value specifically for relatively obtain dynamic resource utilization rate difference at comparing unit, resource using information is reported to resource information acquisition server, otherwise, do not carry out the action that resource using information is reported to resource information acquisition server.
In conjunction with the first possibility or the possible implementation of the second of fourth aspect, in the third possible implementation, acquiring unit specifically for obtaining the resource using information of corresponding CPU usage, memory usage and/or input/output port utilization rate from node in the first moment of predetermined period, the second moment in predetermined period is obtained the resource using information of corresponding CPU usage, memory usage and/or input/output port utilization rate from node; Computing unit utilizes resource using information corresponding to the first moment and resource using information corresponding to the second moment to calculate dynamic resource utilization rate difference.
In conjunction with the third possible implementation of fourth aspect, in the 4th kind of possible implementation, the computing formula of utilizing resource using information corresponding to the first moment and resource using information corresponding to the second moment to calculate dynamic resource utilization rate difference comprises:
ΔRCUL=(x*C 1+y*M 1+z*I0 1)-(x*C 2+y*M 2+z*IO 2)
In above formula, Δ RCUL is dynamic resource utilization rate difference, C 1be CPU usage corresponding to the first moment, M 1be memory usage corresponding to the first moment, IO 1be input/output port utilization rate corresponding to the first moment, C 2be CPU usage corresponding to the second moment, M 2be memory usage corresponding to the second moment, IO 2be input/output port utilization rate corresponding to the second moment, x, y and z are corresponding weighted value.
In conjunction with the 4th kind of possible implementation of fourth aspect, in the 5th kind of possible implementation, resource is used change threshold value to be initially set to 0.2, utilize resource using information corresponding to the first moment and resource using information corresponding to the second moment to calculate in the formula of dynamic resource utilization rate difference: x is 0.6, y is that 0.1, z is 0.3; Or one or two in x, y, z is 0.
In conjunction with the first possibility or the possible implementation of the second of fourth aspect, fourth aspect, in the 6th kind of possible implementation, resource information gathers client and also comprises: Registering modules, for sending registration request and index item request to resource information acquisition server; The resource index item that comprises CPU usage, memory usage and/or input/output port utilization rate and weighted value thereof that receiver module returns according to the index item request of Registering modules transmission specifically for receiving resource information acquisition server, processing module is specifically for obtaining the resource using information of the node corresponding with self according to resource index item.
The resource information acquisition server of the application's cloud computing detects the current disposal ability of self in the process of carrying out resource information collection, and judge according to current disposal ability whether the ability of self shared cloud computing exceedes default maximum processing capability, produce and whether report reference information to send to resource information to gather client according to judged result, finally can be by whether reporting reference information restriction resource information to gather the quantity of the resource using information that client reports.The application has solved in prior art effectively due to the increase of number of nodes, causes the problem of the input/output port bottleneck of resource information acquisition server.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of information processing method first execution mode of the resource information acquisition server of the application's cloud computing;
Fig. 2 is the schematic flow sheet of information processing method second execution mode of the resource information acquisition server of the application's cloud computing;
Fig. 3 is the schematic flow sheet of information processing method the 3rd execution mode of the resource information acquisition server of the application's cloud computing;
Fig. 4 is the schematic flow sheet of information processing method the 4th execution mode of the resource information acquisition server of the application's cloud computing;
Fig. 5 is the system block diagram of the application's cloud computing;
Fig. 6 is the schematic block diagram of resource information acquisition server first execution mode of cloud computing shown in Fig. 5;
Fig. 7 is the schematic block diagram of resource information acquisition server second execution mode of cloud computing shown in Fig. 5;
Fig. 8 is the schematic flow sheet that the resource information of the application's cloud computing gathers information processing method first execution mode of client;
Fig. 9 is the schematic flow sheet that the resource information of the application's cloud computing gathers information processing method second execution mode of client;
Figure 10 is the schematic flow sheet that the resource information of the application's cloud computing gathers information processing method the 3rd execution mode of client;
Figure 11 is the schematic flow sheet that the resource information of the application's cloud computing gathers information processing method the 4th execution mode of client;
Figure 12 is the schematic block diagram that the resource information of cloud computing shown in Fig. 5 gathers client the first execution mode; And
Figure 13 is the schematic block diagram that the resource information of cloud computing shown in Fig. 5 gathers client the second execution mode, wherein, has also shown that resource information gathers the signal trend between client and resource information acquisition server.
Embodiment
In below describing, in order to illustrate instead of in order limiting, to have proposed the detail such as particular system structure, interface, technology, understand the application to thoroughly cut.But, it will be clear to one skilled in the art that and in other execution mode that there is no these details, also can realize the application.In other situation, omit the detailed description to well-known device, circuit and method, in order to avoid unnecessary details hinders the application's description.
Describe below in conjunction with accompanying drawing and concrete execution mode, and in order to facilitate brief and concise being described, the technical characterictic between the application's multiple different execution modes both can mutually distinguish also can part identical and its can be according to actual needs and staggered combination.
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of information processing method first execution mode of the resource information acquisition server of the application's cloud computing, in the present embodiment, the information processing method of the resource information acquisition server of cloud computing includes but not limited to following steps.
Step S100, resource information acquisition server obtains the current disposal ability information of self.
In step S100, the current disposal ability of resource information acquisition server is with SPC(Server Processing Capability) definition, the ability when being used for refering in particular to resource information acquisition server and processing the capturing service of resource using information; Its specifically can be different according to cloud computing application scenarios, such as the number of tasks that gathers of the CPU usage of resource information acquisition server to cloud computing, I/O mouth read-write frequency or resource using information etc. is as the dimension of SPC.In addition, resource information acquisition server in the process of work, can be in real time, periodically or not timing obtain self SPC, in this no limit.
Step S101, more current disposal ability and default maximum processing capability, produce comparative result, and produce and whether report reference information accordingly according to comparative result.
In step S101, the default maximum processing capability of resource information acquisition server is with MPC(Max Process Capability) definition, for limiting the higher limit of SPC of resource information acquisition server.Be not difficult to find out, by MPC is set, can limit the ability of number of tasks that the CPU usage of resource information acquisition server to cloud computing, I/O mouth read-write frequency or resource using information gather etc.It should be noted that, because resource information collection only belongs to the lower business of rank in cloud computing, if resource information acquisition server takies the resource of cloud computing too much, will cause the important service such as scheduling, monitoring and the maintenance of cloud computing normally to carry out, therefore, need to limit by MPC the higher limit of SPC, so that the resource of cloud computing is applied in other important service more; In like manner, if SPC does not reach MPC, may cause system to carry out effectively monitoring etc. to all node resources, therefore, by setting the mode of MPC, the part resource that can ensure cloud computing is used in the business gathering in the resource information of specifying, so that the node that meets the condition that whether reports reference information is gathered.Wherein, the set-up mode that MPC is concrete and size etc., can set according to actual needs, in the scope of understanding, is not construed as limiting the art personnel.
Whether step S102, will report reference information to send to resource information to gather client.
In step S102, be not difficult to find out after step S101 compares the size of SPC and MPC, whether what generate reports reference information, can gather by whether reporting reference information to limit resource information the quantity of the resource using information that reports of client, and resource information acquisition server due to process resource using information quantity reduce, the value of its corresponding SPC diminishes corresponding.In like manner, by the reference information that whether reports of step S101, also can in the scope of the value of MPC, strengthen gradually the value of SPC, thereby gather the resource using information of the node of some, to facilitate follow-up monitoring resource and the scheduling etc. of carrying out cloud computing.In addition, whether reporting reference information can be also the resource using information that resource information acquisition server specifies all resource informations to gather clients to stop reporting at the appointed time all nodes, for example the fixed time is 5 seconds, 10 seconds, 3 minutes or 5 minutes etc., in this no limit.Generally speaking, through repeated execution of steps S100 repeatedly to step S102, the value of SPC can be adjusted to gradually in the scope of value of MPC, and the quantity of the resource using information that guarantee resource information acquisition server gathers etc. are all in the controlled scope of cloud computing, in this way, effectively avoided the problem of the I/O mouth bottleneck that the number of node too much causes.
The information processing method of the resource information acquisition server of the application's cloud computing is carrying out in the process of resource information collection, detect the SPC of self, and judge according to the value of SPC whether the ability of self shared cloud computing exceedes the value of default MPC, produce and whether report reference information to send to resource information to gather client according to judged result, finally can be by whether reporting reference information restriction resource information to gather the quantity of the resource using information that client reports.The application has solved in prior art effectively due to the increase of number of nodes, causes the problem of the I/O mouth bottleneck of resource information acquisition server.
Refer to Fig. 2, Fig. 2 is the schematic flow sheet of information processing method second execution mode of the resource information acquisition server of the application's cloud computing, in the present embodiment, the information processing method of the resource information acquisition server of cloud computing includes but not limited to following steps.
Step S200, resource information acquisition server obtains the current disposal ability information of self.
Step S201, more current disposal ability and default maximum processing capability, produce comparative result, and produce and whether report reference information accordingly according to comparative result.
Whether step S202, will report reference information to send to resource information to gather client.
Step S200 refers to the associated description of execution mode above to step S202, in the scope of understanding, does not repeat the art personnel.
Step S203, reads the resource using information that resource information gathers client collection and reports, and resource using information is that resource information gathers client according to the information that whether reports reference information to report.
Resource information acquisition server is in the process of resource using information that reads node, due to the number of node too much and/or the problem of I/O bottleneck, may cause resource information acquisition server to read in time or lose the resource information of needing processing badly and gather the resource using information of client.In order to solve this technical problem, in step S203, present embodiment gathers the resource information of needing processing badly client and whether reports the corresponding setting of reference information, by whether reporting the effect of reference information, can limit resource information collection client and meet the resource using information that just can report corresponding node under the condition that whether reports reference information, make the resource information acquisition server can be in the situation that MPC is certain, can read in time the resource using information that meets the node that whether reports reference information, in order to node being carried out to the processes such as follow-up scheduling.For example, if some specific node (1,3,5 is specified in cloud computing ... or front 100 nodes) belong to priority level processing, when resource information acquisition server is during in busy excess load, the resource using information of the node of this part priority treatment can be only read, and the resource using information of this part node can be effectively prevented from reading in time or having lost.Certainly, whether reporting reference information can be also to set by other conditions, in the time of busy excess load, can not lose or read not in time the resource using information of the node of needing processing badly as long as guarantee resource information acquisition server, in the scope of understanding the art personnel, do not repeat one by one.
Present embodiment can gather the resource using information that client reports according to the part resource information that whether reports reference information preferentially to read to need badly processing.The application had both avoided the problem of the I/O bottleneck of resource information acquisition server effectively, the problem that can also avoid resource information acquisition server to read in time or lose the resource using information of the resource information collection client of needing processing badly.
Please further consult Fig. 3, Fig. 3 is the schematic flow sheet of information processing method the 3rd execution mode of the resource information acquisition server of the application's cloud computing, in the present embodiment, the information processing method of the resource information acquisition server of cloud computing includes but not limited to following steps.
Step S300, current parallel when reading resource information and gathering the resource using information that client reports, corresponding disposal ability information that resource information acquisition server obtains self.
Step S301, according to the pre-configured more current disposal ability of default maximum processing capability of giving self of cloud computing.
Step S302, in the time that default maximum processing capability is greater than current disposal ability, reducing default resource uses change threshold value whether to report reference information to generate, in the time that default maximum processing capability is less than current disposal ability, strengthens default resource and use change threshold value whether to report reference information to generate.
It should be noted that, in step S302, the default resource of present embodiment is used and changes threshold value with RCUL(Resource Changing Upper Limit) represent, be defined as the rate of change of the resource utilization of arbitrary node in predetermined time section, and resource information acquisition server can gather RCUL all resource informations of issuing a notice in clients in the mode of broadcast.For instance, a certain node is at t 1time resource utilization be 50%, at t 2time resource utilization be 54%, the rate of change of its resource utilization is 0.04; Furthermore, if resource information acquisition server reads SPC while being less than MPC, it judges that self is in more idle state, can reduce RCUL so that the less node of the rate of change of resource utilization also can report the resource using information of self, monitor and scheduling etc. in order to cloud computing; And if resource information acquisition server reads SPC while being greater than MPC, it judges self state in busier excess load, need corresponding increasing RCUL only to allow the larger node of rate of change of resource utilization to report self resource using information, then it is monitored and scheduling etc.Be not difficult to find out, by setting the mode of RCUL, not only can limit resource information and gather the quantity that client reports, can also further guarantee when resource information acquisition server is during in busy or excess load, priority treatment meets the resource using information of the node of RCUL, and the larger node of the rate of change of this part resource utilization is monitored and scheduling etc., so that the utilance of the system resource of cloud computing is more optimized.
Whether step S303, will report reference information to send to resource information to gather client.
Step S300 refers to the associated description of one or more execution modes above to step S303, in the scope of understanding, does not repeat the art personnel.
Step S304, read resource information and gather client collection the resource using information that reports, resource using information be resource information gather after the resource using information that client collects node, by the dynamic resource utilization rate difference calculating according to resource using information with whether report resource in reference information to use to change threshold and dynamic resource utilization rate difference to be more than or equal to resource to use the resource using information just reporting while changing threshold value.
In step S304, it is the rate of change of resource utilization that the resource using information that resource information collection client need to collect node according to it calculates dynamic resource utilization rate difference DELTA RCUL(), and the resource using information just reporting in the time that dynamic resource utilization rate difference DELTA RCUL is more than or equal to RCUL.In other words, resource information collection client only reports the resource using information of the node that rate of change is larger.For example, the resource utilization of some nodes of cloud computing in predetermined time section jumps to 60% from 2%, its dynamic resource utilization rate difference DELTA RCUL be 0.58 or-0.58(for convenience of describe, present embodiment is using the larger value of resource utilization as minuend, be that dynamic resource utilization rate difference DELTA RCUL all gets positive number), that is to say the state of this node resource of explanation in low utilization; And if the RCUL setting according to the resource of cloud computing or COS be initially set to 0.2, be that dynamic resource utilization rate difference 0.58 is greater than 0.2 of RCUL, the dynamic resource utilization rate difference DELTA RCUL of this node meets the condition reporting, so its corresponding resource information gathers client, the resource using information of this node is reported to resource information acquisition server; After resource information acquisition server reads its resource using information, can monitor or trend analysis etc. this node, for example control service or the lower electricity shutdown that the corresponding host resource of this node etc. carries out other and save the energy etc. to reduce number of nodes, in the scope of understanding the art personnel, do not repeat.Certainly, in other embodiments, also can only read the resource information that dynamic resource utilization rate difference DELTA RCUL is greater than RCUL and gather the resource using information that reports of client, in this no limit.
Present embodiment is than last execution mode, by setting the mode of RCUL, busy at resource information acquisition server, when excess load, carry out priority treatment without the specific node of setting according to cloud computing, and only need to read dynamic resource utilization rate difference DELTA RCUL and meet the resource using information of the node of the condition of RCUL, thereby intelligently the larger node of dynamic resource utilization rate difference DELTA RCUL is carried out to priority treatment, make the node resource of cloud computing obtain more effectively monitoring, analysis and scheduling etc., make the node resource of cloud computing realize rapidly load balancing.
Refer to Fig. 4, Fig. 4 is the schematic flow sheet of information processing method the 4th execution mode of the resource information acquisition server of the application's cloud computing, in the present embodiment, the information processing method of the resource information acquisition server of cloud computing includes but not limited to following steps.
Step S400, obtains newly-increased resource information and gathers registration request and the index item request that client sends over.
In step S400, when in cloud computing when newly added node, first it can gather client by the newly-increased resource information of correspondence and initiatively send registration request and/or index item request to resource information acquisition server, in the scope that the mode of its registration is understood the art personnel, do not repeat.
Step S401, will comprise the resource index item of CPU usage index, memory usage index and/or input/output port utilization rate index according to index item request, and corresponding weighted value sends to newly-increased resource information to gather client.
In step S401, resource information acquisition server can gather client with subscribing manner to resource information according to actual conditions and send, any two or three resource index item and corresponding weighted value thereof in CPU usage index, internal memory (Memory) utilization rate index and I/O mouth utilization rate index; In other words, resource information acquisition server can carry out the actions such as follow-up scheduling according to one in the CPU usage index of node, Memory utilization rate index and I/O mouth utilization rate index, any two or three s' situation.Certainly, in other embodiments, also can send other resource index item or the combination with CPU usage index, Memory utilization rate index and I/O mouth utilization rate index, in the scope of understanding the art personnel, be not construed as limiting.
Step S402, current parallel when reading resource information and gathering the resource using information that client reports, corresponding disposal ability information that resource information acquisition server obtains self.
In step S402, resource information acquisition server is walking abreast and is reading the resource using information that resource information collection client reports at current time, the resource information that for example reads just at the same time 100 nodes gathers 100 resource using informations that client reports, now, resource information acquisition server read the CPU usage that action need to take cloud computing, the resource of I/O mouth read-write frequency, be embodied on aforesaid SPC, its concrete principle refers to the associated description of execution mode above, and therefore not to repeat here.
Step S403, according to the pre-configured more current disposal ability of default maximum processing capability of giving self of cloud computing.
In step S403, cloud computing is in order to prevent that resource information acquisition server from taking too much resource and going to carry out the action of " read resource information and gather the resource using information that client reports ", therefore set aforesaid MPC, so that SPC maintains in the scope of MPC, the numerical values recited that it is concrete and operation principle refer to the associated description of execution mode above.
Step S404, in the time that default maximum processing capability is greater than current disposal ability, reducing default resource uses change threshold value whether to report reference information to generate, in the time that default maximum processing capability is less than current disposal ability, strengthens default resource and use change threshold value whether to report reference information to generate.
In step S404, if RCUL is initially set to 0.2,, in the time that SPC is greater than MPC, makes default RCUL strengthen rated value and whether report reference information to generate; And in the time that SPC is less than MPC, makes default RCUL reduce rated value and whether report reference information to generate; Wherein, rated value can be the scope of 0.08-0.12, such as 0.1,0.11 etc., in this no limit.Certainly, in other embodiments, RCUL also can be initially set to 0.3,0.4 or 0.25 etc., and rated value can correspondingly arrange, and in the scope of understanding, does not repeat one by one the art personnel.
Whether step S405, will report reference information to send to resource information to gather client.
Step S406, read resource information and gather client according to the collection of resource index item the resource using information that reports, resource using information is that resource information gathers client according to whether reporting reference information to report, comprise the information of CPU usage, memory usage and/or input/output port utilization rate.
In step S406, gather its corresponding CPU usage, Memory utilization rate and I/O mouth utilization rate one, the information of any two or three resource index item according to the resource index item of step S406, the situation of the node that then cloud computing comprises according to it is carried out trend analysis, monitoring or scheduling etc., in the scope of understanding the art personnel, be not construed as limiting.
Index item is registered and subscribed to the node that present embodiment gathers client to the resource information that newly adds, can effectively prevent in cloud computing constantly newly added node time, and the problem of the resource information acquisition server I/O bottleneck that may cause.
In addition, in above-mentioned one or more execution modes, through repeatedly adjusting after Δ RCUL, if detected when default MPC equals SPC, can keep initial setting up or to adjust RCUL value after sending constant the previous moment, and SPC is remained in the zone of reasonableness of MPC, and default MPC is all applied on the node that meets RCUL.
The course of work below in conjunction with the application's cloud computing and resource information acquisition server thereof is further described its information processing method.
Refer to Fig. 5 and Fig. 6, Fig. 5 is the system block diagram of the application's cloud computing, and Fig. 6 is the schematic block diagram of resource information acquisition server first execution mode of cloud computing shown in Fig. 5.
As shown in Figure 5, cloud computing includes but not limited to cloud computing management system 50 and cloud computing resources node 51, and wherein, cloud computing resources node 51 comprises node 1, node 2 to node n, and n is natural number.
In the present embodiment, cloud computing management system 50 includes but not limited to unified physics resource management module, unified virtual resource administration module, unified resource scheduler module, unified monitoring module, unified operation maintenance module, unified alert module and resource information acquisition server 502, hardware management server, software administration server and the virtual machine access server etc. that are connected with above-mentioned one or more modules by management bus 501.
Cloud computing resources node 51 includes but not limited to node 511 and is located at the resource information collection client 512 in node.
Be not difficult to find out, resource information acquisition server 502 and resource information collection client 512 can be used as independent particle system and are deployed in cloud computing, wherein, resource information acquisition server 502 is deployed in cloud computing management system 50 as the form of assembly, and resource information collection client 512 is also directly deployed on cloud computing resources node 51 with the form of assembly.In this way, after resource information collection client 512 collects the resource using information of corresponding node, report resource information acquisition server 502, to support resource trend analysis, monitoring or to change the actions such as scheduling, and realize the balancing resource load of cloud computing.
As shown in Figure 6, in the present embodiment, resource information acquisition server 502 includes but not limited to acquisition module 5021, processing module 5022 and sending module 5023.
Acquisition module 5021 is for the current disposal ability information (being SPC) of Gains resources information collection server 502 self.As previously mentioned, ability when SPC is used for refering in particular to resource information acquisition server 502 and processes the capturing service of resource using information; Its specifically can be different according to cloud computing application scenarios, such as the number of tasks that gathers of the CPU usage of resource information acquisition server 502 to cloud computing, I/O mouth read-write frequency or resource using information etc. is as the dimension of SPC.In addition, resource information acquisition server 502 is in the process of work, and acquisition module 5021 can be in real time, periodically or the SPC of not timing ground Gains resources information collection server 502 self, in this no limit.
The current disposal ability that processing module 5022 gets for comparison acquisition module 5021 and default MPC, produce comparative result, and produce and whether report reference information accordingly according to comparative result.MPC is used for the higher limit of the SPC that limits resource information acquisition server 502.Be not difficult to find out, by MPC is set, can limit the ability of number of tasks that the CPU usage of resource information acquisition server 502 to cloud computing, I/O mouth read-write frequency or resource using information gather etc.It should be noted that, because resource information collection only belongs to the lower business of rank in cloud computing, if resource information acquisition server 502 takies the resource of cloud computing too much, will cause the important service such as scheduling, monitoring and the maintenance of cloud computing normally to carry out, therefore, need to limit by MPC the higher limit of SPC, so that the resource of cloud computing is applied in other important service more; In like manner, if SPC does not reach MPC, may cause system to carry out effectively monitoring etc. to all node resources, therefore, by setting the mode of MPC, the part resource that can ensure cloud computing is used in the business gathering in the resource information of specifying, so that the node that meets the condition that whether reports reference information is gathered.Wherein, the set-up mode that MPC is concrete and size etc., can set according to actual needs, in the scope of understanding, is not construed as limiting the art personnel.
Sending module 5023 sends to resource information to gather client 512 for processing module 5022 being processed to the reference information that whether reports obtaining.
In addition, the concrete function of multiple modules of present embodiment also refers to the associated description of execution mode above, in the scope of understanding, repeats no more the art personnel.
The resource information acquisition server 502 of the application's cloud computing is carrying out in the process of resource information collection, detect the SPC of self, and judge according to the value of SPC whether the ability of self shared cloud computing exceedes the value of default MPC, produce and whether report reference information to send to resource information to gather client 512 according to judged result, finally can be by whether reporting reference information restriction resource information to gather the quantity of the resource using information that client 512 reports.The application has solved in prior art effectively due to the increase of number of nodes, causes the problem of the I/O mouth bottleneck of resource information acquisition server 502.
Refer to Fig. 7, Fig. 7 is the schematic block diagram of resource information acquisition server second execution mode of cloud computing shown in Fig. 5, and than last execution mode, present embodiment resource information acquisition server 502 also comprises read module 5024.
In the present embodiment, read module 5024 gathers for reading resource information the resource using information that client 512 gathers and reports, and resource using information is that resource information gathers client 512 according to the information that whether reports reference information to report.
Particularly, when acquisition module 5021 reads resource information and gathers the resource using information that client 512 reports specifically for Gains resources information collection server 502 self current parallel, corresponding disposal ability information.
Now, processing module 5022 specifically can comprise judging unit 5025 and threshold adjustment unit 5026.Correspondingly, judging unit 5025 is for according to the pre-configured relatively SPC of default MPC that gives resource information acquisition server 502 self of cloud computing.When threshold adjustment unit 5026 is greater than SPC for determining default MPC at judging unit 5025, reduce default RCUL and whether report reference information to generate, in the time that judging unit 5025 determines default MPC and is less than SPC, strengthen default RCUL and whether report reference information to generate, then, sending module 5023 can send to all resource informations to gather client 512 RCUL after adjusting with broadcast mode.
Read module 5024 gathers specifically for reading resource information the resource using information that client 512 gathers and reports.As previously mentioned, resource using information be resource information gather client 512 collect after the resource using information of node, by the dynamic resource utilization rate difference DELTA RCUL calculating according to resource using information and the resource using information that whether reports RCUL in reference information to compare and just report when dynamic resource utilization rate difference DELTA RCUL is more than or equal to RCUL.
Furthermore, RCUL initially can be set to 0.2, when threshold adjustment unit 5026 is greater than SPC specifically for determining default MPC at judging unit 5025, make default RCUL reduce 0.1 and whether report reference information to generate, in the time that judging unit 5025 determines default MPC and is less than SPC, make default RCUL strengthen 0.1 and whether report reference information to generate, finally send to all resource informations to gather client 512 RCUL after adjusting by sending module 5023 with broadcast mode.Certainly, in other embodiments, the size of its concrete numerical value can be set according to actual needs, in the scope of understanding, is not construed as limiting the art personnel.
When in the cloud computing resources node 51 of cloud computing when newly added node, taking node 511 as example, the acquisition module 5021 of resource information acquisition server 502 gathers specifically for obtaining newly-increased resource information registration request and the index item request that client 512 sends over; Sending module 5023 will comprise the resource index item of CPU usage index, Memory utilization rate index and/or I/O mouth utilization rate index specifically for the index item request getting according to acquisition module 5021, and corresponding weighted value sends to newly-increased resource information to gather client 512; And read module 5024 gathers client 512 according to the collection of resource index item the resource using information that reports specifically for reading resource information, now, resource using information is that resource information gathers client 512 according to whether reporting reference information to report, comprise the information of CPU usage, Memory utilization rate and/or I/O mouth utilization rate.
In addition, the concrete function of multiple modules of present embodiment also refers to the associated description of one or more execution modes above, in the scope of understanding, repeats no more the art personnel.
Present embodiment resource information acquisition server 502 can gather the resource using information that client reports according to the part resource information that whether reports reference information preferentially to read to need badly processing, furthermore, by setting the mode of RCUL, not only can limit resource information and gather the quantity that client reports, can also further guarantee when resource information acquisition server 502 is during in busy or excess load, priority treatment meets the resource using information of the node of RCUL, and the larger node of the rate of change of this part resource utilization is monitored and scheduling etc.The application had both avoided the problem of the I/O bottleneck of resource information acquisition server 502 effectively, and " being moved down " to resource information, I/O bottleneck gathers in client the problem that can also avoid resource information acquisition server 502 to read in time or lose the resource using information of the resource information collection client of needing processing badly.
The information processing method that resource information is gathered to client below in conjunction with one or more execution modes of the information processing method of resource information acquisition server 502 is described specifically.
Refer to Fig. 8, Fig. 8 is the schematic flow sheet that the resource information of the application's cloud computing gathers information processing method first execution mode of client, in the present embodiment, the information processing method of the resource information acquisition server of cloud computing includes but not limited to following steps.
Step S800, receive the reference information that whether reports that resource information acquisition server sends over, the information that whether to report reference information be resource information acquisition server produces after comparing according to the current disposal ability information of self and default maximum processing capability.
As previously mentioned, in step S800, resource information acquisition server need compare according to the SPC of self and default MPC, and producing and whether reporting the object of reference information is to reduce resource information to gather the quantity of the resource using information that client reports or increase resource information the quantity that gathers the resource using information that client reports.
Step S801, obtains the resource using information of the node corresponding with self, and according to whether reporting reference information to judge whether resource using information to report resource information acquisition server.
In step S801, resource information gathers after the resource using information of node that client collects self correspondence, needs according to whether reporting reference information to judge whether to report.For example, if whether reporting reference information allocated resource information gathering client to stop reporting the resource using information of all nodes at the appointed time, for example the fixed time is 5 seconds, 10 seconds, 3 minutes or 5 minutes etc., at the appointed time in partly or entirely resource information gather client and stop to resource information acquisition server reporting resource using information; If be only the quantity that gathers the resource using information that reports of client for restricted part resource information and whether report reference information, can lose part resource information and gather the resource using information that client reports, and prevent that all resource informations from gathering client and the resource using information of collection being reported to resource information acquisition server simultaneously and cause it that problem of I/O bottleneck occurs.Wherein, whether report concrete " control mode " of reference information or the working method can be with reference to the specific descriptions of execution mode above, therefore not to repeat here.
Present embodiment resource information gathers the information processing method of client after collecting the resource using information of node, according to whether reporting reference information to determine whether report resource information acquisition server, avoided resource using information quantity too much due to interstitial content, node that report excessive, and there is the problem of I/O bottleneck in the resource information acquisition server causing.Present embodiment gathers the direct filtration fraction of effect of client by resource information or in the fixed time, limits whole resource informations collection clients and reports to resource information acquisition server, thereby the problem of I/O bottleneck is moved down into resource information and gather client self, the resource of simultaneously having avoided resource information acquisition server to take too much cloud computing is processed the business that resource information gathers.
Please further consult Fig. 9, Fig. 9 is the schematic flow sheet that the resource information of the application's cloud computing gathers information processing method second execution mode of client, in the present embodiment, the information processing method of the resource information acquisition server of cloud computing includes but not limited to following steps.
Step S900, whether what receive that resource information acquisition server sends over reports resource in reference information to use to change threshold value, the information that whether to report reference information be resource information acquisition server produces after comparing according to the current disposal ability information of self and default maximum processing capability.
In order to make resource information acquisition server under the certain condition of MPC, the node resource that can utilize fully SPC priority treatment to need processing badly uses information, resource information acquisition server arranges or adjusts RCUL according to the comparison of SPC and MPC, and sends to resource information to gather client RCUL.
Step S901, obtains the resource using information that comprises CPU usage, memory usage and/or input/output port utilization rate of the node corresponding with self.
In step S901, resource information gathers client can be according to the needs such as practical application scene or business service of cloud computing, and from the node of self correspondence, obtain of comprising in CPU usage, Memory utilization rate and I/O mouth utilization rate, the resource using information of two or three arbitrarily, so that follow-up monitoring or scheduling etc. to this node.
Step S902, according to the dynamic resource utilization rate difference of resource using information calculating corresponding node.
In step S902, resource information gather client according to one in CPU usage, Memory utilization rate and I/O mouth utilization rate, two or three calculate dynamic resource utilization rate difference DELTA RCUL arbitrarily.For example, in the different moment, one or more in CPU usage, Memory utilization rate or the I/O mouth utilization rate of node change in real time, now, its corresponding utilization rate is subtracted each other etc. to processing, can obtain the dynamic resource utilization rate difference DELTA RCUL of the rate of change that represents its resource use, certainly, the big or small situation of corresponding its rate of change of the size of dynamic resource utilization rate difference DELTA RCUL.
Step S903, relatively dynamic resource utilization rate difference and resource are used the size that changes threshold value.
In step S903, judge dynamic resource utilization rate difference DELTA RCUL according to RCUL, that is be " to report threshold " for each resource information gathers client setting, and realize follow-up preventing, all resource informations from gathering client and reporting resource using information simultaneously, and the problem of the bottleneck of the resource information acquisition server causing.
Step S904, in the time that dynamic resource utilization rate difference is more than or equal to resource use change threshold value, reports resource information acquisition server by resource using information, otherwise, do not carry out the action that resource using information is reported to resource information acquisition server.
The common process realizing of step S903 and step S904 is: relatively dynamic resource utilization rate difference and resource are used the size that changes threshold value, and judge whether resource using information to report resource information acquisition server according to comparative result.For example, some resource informations gathers the resource utilization of node corresponding to client in predetermined time section and jumps to 60% from 2%, and its dynamic resource utilization rate difference DELTA RCUL is 0.58, that is to say the state of this node resource of explanation in low utilization; And if the RCUL setting according to the resource of cloud computing or COS be initially set to 0.2, be that 0.58 of dynamic resource utilization rate difference DELTA RCUL is greater than 0.2 of RCUL, the dynamic resource utilization rate difference DELTA RCUL of this node meets the condition reporting, so its corresponding resource information gathers client, the resource using information of this node is reported to resource information acquisition server; After resource information acquisition server reads its resource using information, can monitor or trend analysis etc. this node, for example control service or the lower electricity shutdown that the corresponding host resource of this node etc. carries out other and save the energy etc. to reduce number of nodes, in the scope of understanding the art personnel, do not repeat.Certainly, in other embodiments, also can only read the resource information that dynamic resource utilization rate difference DELTA RCUL is greater than RCUL and gather the resource using information that reports of client, in this no limit.
Present embodiment is than last execution mode, by setting the mode of RCUL, when, excess load busy at resource information acquisition server, only need to read dynamic resource utilization rate difference DELTA RCUL and meet the resource using information of the node of the condition of RCUL, thereby intelligently the larger node of dynamic resource utilization rate difference DELTA RCUL is carried out to priority treatment, make the node resource of cloud computing obtain more effectively monitoring, analyze and scheduling etc., make the node resource of cloud computing realize rapidly load balancing.
Refer to Figure 10, Figure 10 is the schematic flow sheet that the resource information of the application's cloud computing gathers information processing method the 3rd execution mode of client, in the present embodiment, the information processing method of the resource information acquisition server of cloud computing includes but not limited to following steps.
Step S110, whether what receive that resource information acquisition server sends over reports resource in reference information to use to change threshold value, the information that whether to report reference information be resource information acquisition server produces after comparing according to the current disposal ability information of self and default maximum processing capability.
Step S111, from node, obtain the resource using information of corresponding CPU usage, memory usage and/or input/output port utilization rate in the first moment of predetermined period, the second moment in predetermined period is obtained the resource using information of corresponding CPU usage, memory usage and/or input/output port utilization rate from node.
Be with last execution mode difference, in step S111, resource information collection client is obtained the action of collection with predetermined period, the first moment and the second moment can be the zero hour and the finish time in predetermined period, in the scope of understanding the art personnel, predetermined period, the first moment and the second moment are not limited.
Step S112, utilizes resource using information corresponding to the first moment and resource using information corresponding to the second moment to calculate dynamic resource utilization rate difference.
In step S112, the mode that dynamic resource utilization rate difference DELTA RCUL can directly subtract each other by resource using information corresponding to the first moment and resource using information corresponding to the second moment calculates, certainly, also can adopt according to actual needs certain conversion regime to calculate, in this no limit.
Step S113, relatively dynamic resource utilization rate difference and resource are used the size that changes threshold value.
Step S114, in the time that dynamic resource utilization rate difference is more than or equal to resource use change threshold value, reports resource information acquisition server by resource using information, otherwise, do not carry out the action that resource using information is reported to resource information acquisition server.
Present embodiment resource information gathers client by the mode in predetermined period, the first moment and the second moment, can accurately calculate the node that dynamic resource utilization rate difference DELTA RCUL meets the condition of RCUL, calculate to avoid any time Gains resources use information the error of being brought, improve monitoring, analysis and scheduling etc. that cloud computing is prepared the effective of node resource, made the node resource of cloud computing realize rapidly load balancing.
Refer to Figure 11, Figure 11 is the schematic flow sheet that the resource information of the application's cloud computing gathers information processing method the 4th execution mode of client, in the present embodiment, the information processing method of the resource information acquisition server of cloud computing includes but not limited to following steps.
Step S120, resource information gathers client and sends registration request and index item request to resource information acquisition server.
In step S120, when in cloud computing when newly added node, first it can gather client by the newly-increased resource information of correspondence initiatively send registration request and/or index item request to resource information acquisition server.
Step S121, receive the resource information acquisition server resource index item that comprises CPU usage, memory usage and/or input/output port utilization rate and weighted value thereof that request is returned according to index item, to obtain the resource using information of the node corresponding with self according to resource index item.
In step S121, resource information acquisition server can gather client with subscribing manner to resource information according to actual conditions and send, any two or three resource index item and corresponding weighted value thereof in CPU usage index, Memory utilization rate index and I/O mouth utilization rate index; In other words, resource information acquisition server can carry out the actions such as follow-up scheduling according to one in the CPU usage index of node, Memory utilization rate index and I/O mouth utilization rate index, any two or three s' situation.Certainly, in other embodiments, also can send other resource index item or the combination with CPU usage index, Memory utilization rate index and I/O mouth utilization rate index, in the scope of understanding the art personnel, be not construed as limiting.
Be not difficult to find out, step S120 and step S121 are preparation process, can make resource information acquisition server monitor any newly-increased node by preparation process.
Step S122, whether what receive that resource information acquisition server sends over reports resource in reference information to use to change threshold value, the information that whether to report reference information be resource information acquisition server produces after comparing according to the current disposal ability information of self and default maximum processing capability.
Step S123, from node, obtain the resource using information of corresponding CPU usage, memory usage and/or input/output port utilization rate in the first moment of predetermined period, the second moment in predetermined period is obtained the resource using information of corresponding CPU usage, memory usage and/or input/output port utilization rate from node.
Step S124, utilizes resource using information corresponding to the first moment and resource using information corresponding to the second moment to calculate dynamic resource utilization rate difference.
In step S124, the computing formula of utilizing resource using information corresponding to the first moment and resource using information corresponding to the second moment to calculate dynamic resource utilization rate difference DELTA RCUL comprises:
ΔRCUL=(x*C 1+y*M 1+z*I0 1)-(x*C 2+y*M 2+z*IO 2)
In above-mentioned computing formula, C 1be CPU usage corresponding to the first moment, M 1be Memory utilization rate corresponding to the first moment, IO 1be I/O mouth utilization rate corresponding to the first moment, C 2be CPU usage corresponding to the second moment, M 2be Memory utilization rate corresponding to the second moment, IO 2be I/O mouth utilization rate corresponding to the second moment, x, y and z are corresponding weighted value.RCUL initially can be set to 0.1,0.2 or 0.3 etc., and weighted value x is 0.6, and y is 0.1, and z is 0.3, or x is 0.5, and y is 0.1, and z is 0.4, or one or two in x, y, z is 0 etc.With execution mode is corresponding above, at resource information acquisition server 502 ends, its rated value of at every turn adjusting RCUL can be for 0.08-0.12, as 0.1,0.11 etc.For example, one of them scheme can adopt: RCUL is initially set to 0.2, and weighted value x is 0.6, and y is that 0.1, z is 0.3, the combination that the rated value of at every turn adjusting RCUL is 0.1.The concrete numerical value of present embodiment all can be set according to practical application scene or the COS of cloud computing, in this no limit.
Step S125, relatively dynamic resource utilization rate difference and resource are used the size that changes threshold value.
Step S126, in the time that dynamic resource utilization rate difference is more than or equal to resource use change threshold value, reports resource information acquisition server by resource using information, otherwise, do not carry out the action that resource using information is reported to resource information acquisition server.
Index item is registered and subscribed to the node that present embodiment gathers client to the resource information that newly adds, can effectively prevent in cloud computing constantly newly added node time, and the problem of the resource information acquisition server I/O bottleneck that may cause.In addition, through repeatedly adjusting after RCUL, if resource information acquisition server detects when default MPC equals SPC, can keep initial setting up or to adjust RCUL value after sending constant the previous moment, and SPC is remained in the zone of reasonableness of MPC, and default MPC is all applied on the node that meets RCUL.
The course of work that gathers client 512 below in conjunction with the resource information of the application's cloud computing is further described its information processing method.
Refer to Figure 12, Figure 12 is the schematic block diagram that the resource information of cloud computing shown in Fig. 5 gathers client the first execution mode, and wherein, resource information gathers client 512 and includes but not limited to receiver module 5121 and processing module 5122.
In the present embodiment, receiver module 5121 is for receiving the reference information that whether reports that resource information acquisition server 502 sends over, as previously mentioned, the information that whether to report reference information be resource information acquisition server 502 produces after comparing according to the SPC information of self and default MPC.
Processing module 5122 is for obtaining the resource using information of the node corresponding with self, and the reference information that whether reports receiving according to receiver module 5121 judges whether resource using information to report resource information acquisition server 502.
Particularly, all resource informations gather after the resource using information of node that clients collect self correspondence, need according to whether reporting reference information to judge whether to report.For example, if whether reporting reference information allocated resource information gathering client 512 to stop reporting the resource using information of all nodes at the appointed time, for example the fixed time is 5 seconds, 10 seconds, 3 minutes or 5 minutes etc., at the appointed time in partly or entirely resource information gather client and stop to resource information acquisition server 502 reporting resource using information; If be only the quantity that gathers the resource using information that reports of client for restricted part resource information and whether report reference information, can lose part resource information and gather the resource using information that client reports, and prevent that all resource informations from gathering client and the resource using information of collection being reported to resource information acquisition server 502 simultaneously and cause it that problem of I/O bottleneck occurs.
Present embodiment resource information gathers client 512 after collecting the resource using information of node, according to whether reporting reference information to determine whether to report resource information acquisition server 502, avoided resource using information quantity too much due to interstitial content, node that report excessive, and there is the problem of I/O bottleneck in the resource information acquisition server 502 causing.Present embodiment gathers the direct filtration fraction of effect of client by resource information or in the fixed time, limits whole resource informations collection clients and reports to resource information acquisition server 502, thereby the problem of I/O bottleneck is moved down into resource information and gather client self, the resource of simultaneously having avoided resource information acquisition server 502 to take too much cloud computing is processed the business that resource information gathers.
Please further consult Figure 13, Figure 13 is the schematic block diagram that the resource information of cloud computing shown in Fig. 5 gathers client the second execution mode, wherein, has also shown that resource information gathers the signal trend between client 512 and resource information acquisition server 502.
Whether what in the present embodiment, receiver module 5121 sended over specifically for reception resource information acquisition server 502 reports the RCUL in reference information.Correspondingly, processing module 5122 specifically includes but not limited to acquiring unit 5122, computing unit 5123, comparing unit 5124 and reports unit 5125.
Acquiring unit 5122 is for obtaining the resource using information that comprises CPU usage, Memory utilization rate and/or I/O mouth utilization rate of the node corresponding with self.Wherein, resource information gathers client 512 can be according to the needs such as practical application scene or business service of cloud computing, and from the node of self correspondence, obtain of comprising in CPU usage, Memory utilization rate and I/O mouth utilization rate, the resource using information of two or three arbitrarily, so that follow-up monitoring or scheduling etc. to this node.
Computing unit 5123 calculates the dynamic resource utilization rate difference DELTA RCUL of corresponding node for the resource using information getting according to acquiring unit 5122.Resource information gather client 512 according to one in CPU usage, Memory utilization rate and I/O mouth utilization rate, two or three calculate dynamic resource utilization rate difference DELTA RCUL arbitrarily.For example, in the different moment, one or more in CPU usage, Memory utilization rate or the I/O mouth utilization rate of node change in real time, now, its corresponding utilization rate is subtracted each other etc. to processing, can obtain the dynamic resource utilization rate difference DELTA RCUL of the rate of change that represents its resource use, certainly, the big or small situation of corresponding its rate of change of the size of dynamic resource utilization rate difference DELTA RCUL.
The size of the RCUL that the dynamic resource utilization rate difference DELTA RCUL that comparing unit 5124 calculates for comparison computing unit 5123 and receiver module 5121 receive.
Report unit 5125 for judging whether resource using information to report resource information acquisition server 502 according to the comparative result of comparing unit 5124.Specifically, while reporting unit 5125 to be more than or equal to RCUL for relatively obtain dynamic resource utilization rate difference DELTA RCUL at comparing unit 5124, resource using information is reported to resource information acquisition server 502, otherwise, do not carry out the action that resource using information is reported to resource information acquisition server 502.
For example, acquiring unit 5122 obtains corresponding CPU usage specifically for the first moment in predetermined period from node 511, the resource using information of Memory utilization rate and/or I/O mouth utilization rate, and the second moment in predetermined period from node 511, obtain corresponding CPU usage, the resource using information of Memory utilization rate and/or I/O mouth utilization rate, then, computing unit 5123 utilizes resource using information corresponding to the first moment and resource using information corresponding to the second moment to calculate dynamic resource utilization rate difference DELTA RCUL, its computing formula is as follows:
ΔRCUL=(x*C 1+y*M 1+z*I0 1)-(x*C 2+y*M 2+z*IO 2)
In above-mentioned computing formula, C 1be CPU usage corresponding to the first moment, M 1be Memory utilization rate corresponding to the first moment, IO 1be I/O mouth utilization rate corresponding to the first moment, C 2be CPU usage corresponding to the second moment, M 2be Memory utilization rate corresponding to the second moment, IO 2be I/O mouth utilization rate corresponding to the second moment, x, y and z are corresponding weighted value.RCUL initially can be set to 0.1,0.2 or 0.3 etc., and weighted value x is 0.6, and y is 0.1, and z is 0.3, or x is 0.5, and y is 0.1, and z is 0.4, or one or two in x, y, z is 0 etc.With execution mode is corresponding above, at resource information acquisition server 502 ends, it adjusts rated value of RCUL can be 0.08-0.12, as 0.1,0.11 etc.For example, one of them scheme can adopt: RCUL is initially set to 0.2, and weighted value x is 0.6, and y is that 0.1, z is 0.3, the combination that the rated value of at every turn adjusting RCUL is 0.1.The concrete numerical value of present embodiment all can be set according to practical application scene or the COS of cloud computing, in this no limit.
In addition, resource information gathers client 512 can also comprise Registering modules 5126, Registering modules 5126 is for sending registration request and index item request to resource information acquisition server 502, then, receiver module 5121 receives the resource index item that comprises CPU usage, Memory utilization rate and/or I/O mouth utilization rate and weighted value thereof that index item request that resource information acquisition server 502 sends according to Registering modules 5126 is returned, and 5122 of processing modules are obtained the resource using information of the node corresponding with self according to resource index item.
Present embodiment resource information gathers client by the mode in predetermined period, the first moment and the second moment, can accurately calculate the node that dynamic resource utilization rate difference DELTA RCUL meets the condition of RCUL, calculate to avoid any time Gains resources use information the error of being brought, improve monitoring, analysis and scheduling etc. that cloud computing is prepared the effective of node resource, made the node resource of cloud computing realize rapidly load balancing.
In the several execution modes that provide in the application, should be understood that, disclosed system, apparatus and method, can realize by another way.For example, device embodiments described above is only schematic, for example, the division of described module or unit, be only that a kind of logic function is divided, when actual realization, can have other dividing mode, for example multiple unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, it can be by some interfaces that shown or discussed coupling each other or direct-coupling or communication connect, the indirect coupling of device or unit or communication connect, and can be electrically, machinery or other form.
The described unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in multiple network element.Can select according to the actual needs some or all of unit wherein to realize the object of present embodiment scheme.
In addition, the each functional unit in each execution mode of the application can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, and also can adopt the form of SFU software functional unit to realize.
If described integrated unit is realized and during as production marketing independently or use, can be stored in a computer read/write memory medium using the form of SFU software functional unit.Based on such understanding, the all or part of of the part that the application's technical scheme contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprise that some instructions (can be personal computers in order to make a computer equipment, server, or the network equipment etc.) or processor (processor) carry out all or part of step of method described in each execution mode of the application.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CDs.
The foregoing is only the application's execution mode; not thereby limit the application's protection range; every equivalent structure or conversion of equivalent flow process that utilizes present specification and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in the application's scope of patent protection.

Claims (26)

1. an information processing method for the resource information acquisition server of cloud computing, is characterized in that, described information processing method comprises:
Resource information acquisition server obtains the current disposal ability information of self;
More described current disposal ability and default maximum processing capability, produce comparative result, and produce and whether report reference information accordingly according to described comparative result;
Described in inciting somebody to action, whether report reference information to send to resource information to gather client.
2. information processing method according to claim 1, is characterized in that, described will whether report reference information send to resource information also to comprise after gathering the step of client:
Read the resource using information that described resource information gathers client collection and reports, described resource using information be resource information gather client according to described in whether report reference information to report information.
3. information processing method according to claim 2, is characterized in that:
The step that described resource information acquisition server obtains the current disposal ability information of self specifically comprises:
Current parallel when reading described resource information and gathering the resource using information that client reports, corresponding disposal ability information that described resource information acquisition server obtains self;
Described more current disposal ability and default maximum processing capability, produce comparative result, and produce and whether report the step of reference information specifically to comprise accordingly according to described comparative result:
According to the pre-configured more described current disposal ability of default maximum processing capability of giving self of cloud computing;
In the time that described default maximum processing capability is greater than described current disposal ability, reducing default resource uses change threshold value whether to report reference information described in generating, in the time that described default maximum processing capability is less than described current disposal ability, strengthens default resource and use change threshold value whether to report reference information described in generating;
The step of the described resource using information that reads resource information collection client collection and report specifically comprises:
Read the resource using information that described resource information gathers client collection and reports, described resource using information be resource information gather after the resource using information that client collects node, by the dynamic resource utilization rate difference calculating according to described resource using information with described in whether report resource in reference information to use to change threshold and described dynamic resource utilization rate difference to be more than or equal to described resource to use the resource using information just reporting while changing threshold value.
4. information processing method according to claim 3, it is characterized in that, described resource is used change threshold value to be initially set to 0.2, it is described in the time that default maximum processing capability is greater than described current disposal ability, reducing default resource uses change threshold value whether to report reference information described in generating, in the time that described default maximum processing capability is less than described current disposal ability, strengthens default resource and use change threshold value whether to report the step of reference information specifically to comprise described in generating:
In the time that described default maximum processing capability is greater than described current disposal ability, make default resource use change threshold value to reduce 0.1 and whether report reference information described in generating, in the time that described default maximum processing capability is less than described current disposal ability, makes default resource use change threshold value to strengthen 0.1 and whether report reference information described in generating.
5. according to the information processing method described in claim 2 or 3, it is characterized in that:
The step that described resource information acquisition server obtains the current disposal ability information of self also comprises before:
Obtain newly-increased resource information and gather registration request and the index item request that client sends over;
The resource index item of CPU usage index, memory usage index and/or input/output port utilization rate index will be comprised according to described index item request, and corresponding weighted value sends to newly-increased resource information to gather client;
The described resource information that reads gathers client collection the resource using information that reports, described resource using information be resource information gather client according to described in whether report the step of the information that reference information reports specifically to comprise:
Read resource information and gather client according to the collection of described resource index item the resource using information that reports, described resource using information be resource information gather client according to described in whether report reference information to report, comprise the information of CPU usage, memory usage and/or input/output port utilization rate.
6. according to the information processing method described in claim 1 ~ 3 any one, it is characterized in that, the step that described resource information acquisition server obtains the current disposal ability information of self comprises:
Resource information acquisition server obtains the current disposal ability information of self in real time.
7. a resource information acquisition server for cloud computing, is characterized in that, described resource information acquisition server comprises:
Acquisition module, for obtaining the current disposal ability information of described resource information acquisition server self;
Processing module, the described current disposal ability getting for more described acquisition module and default maximum processing capability, produce comparative result, and produce and whether report reference information accordingly according to described comparative result;
Whether sending module, report reference information to send to resource information to gather client described in described processing module processing is obtained.
8. resource information acquisition server according to claim 7, is characterized in that, described resource information acquisition server also comprises:
Read module, the resource using information that gathers client collection and report for reading described resource information, described resource using information be described resource information gather client according to described in whether report reference information to report information.
9. resource information acquisition server according to claim 8, is characterized in that:
Current parallel when reading described resource information gathering resource using information that client report, the corresponding disposal ability information of described acquisition module specifically for obtaining described resource information acquisition server self;
Described processing module specifically comprises:
Judging unit, for according to the pre-configured more described current disposal ability of default maximum processing capability of described resource information acquisition server self of giving of cloud computing;
Threshold adjustment unit, while being greater than described current disposal ability for determining described default maximum processing capability at described judging unit, reducing default resource uses change threshold value whether to report reference information described in generating, in the time that described judging unit determines described default maximum processing capability and is less than described current disposal ability, strengthen default resource and use and change threshold value whether report reference information described in generating;
The resource using information that described read module gathers client collection and reports specifically for reading described resource information, wherein, described resource using information be resource information gather client collect after the resource using information of node, by the dynamic resource utilization rate difference calculating according to described resource using information with described in whether report resource in reference information to use to change threshold and described dynamic resource utilization rate difference to be more than or equal to described resource to use the resource using information just reporting while changing threshold value.
10. resource information acquisition server according to claim 9, it is characterized in that: described resource is used change threshold value to be initially set to 0.2, when described threshold adjustment unit is greater than described current disposal ability specifically for determine described default maximum processing capability at described judging unit, make default resource use change threshold value to reduce 0.1 and whether report reference information described in generating, in the time that described judging unit determines described default maximum processing capability and is less than described current disposal ability, make default resource use change threshold value to strengthen 0.1 and whether report reference information described in generating.
11. resource information acquisition servers according to claim 8 or claim 9, is characterized in that:
Described acquisition module gathers specifically for obtaining newly-increased resource information registration request and the index item request that client sends over;
Described sending module will comprise the resource index item of CPU usage index, memory usage index and/or input/output port utilization rate index specifically for the described index item request getting according to described acquisition module, and corresponding weighted value sends to newly-increased resource information to gather client;
Described read module gathers client according to the collection of described resource index item the resource using information that reports specifically for reading resource information, described resource using information be resource information gather client according to described in whether report reference information to report, comprise the information of CPU usage, memory usage and/or input/output port utilization rate.
12. according to the resource information acquisition server described in claim 7 ~ 9 any one, it is characterized in that, described acquisition module obtains the current disposal ability information of described resource information acquisition server self in real time.
The resource information of 13. 1 kinds of cloud computings gathers the information processing method of client, it is characterized in that, described information processing method comprises:
Receive the reference information that whether reports that resource information acquisition server sends over, described in information that whether to report reference information be resource information acquisition server produces after comparing according to the current disposal ability information of self and default maximum processing capability;
Obtain the resource using information of the node corresponding with self, and judge whether described resource using information to report described resource information acquisition server according to the described reference information that whether reports.
14. information processing methods according to claim 13, is characterized in that:
The step that whether reports reference information that described reception resource information acquisition server sends over specifically comprises:
Whether what receive that described resource information acquisition server sends over reports resource in reference information to use to change threshold value;
The described resource using information that obtains the node corresponding with self, and judge whether that according to the described reference information that whether reports the step that described resource using information is reported to described resource information acquisition server specifically comprises:
Obtain the resource using information that comprises CPU usage, memory usage and/or input/output port utilization rate of the node corresponding with self;
Calculate the dynamic resource utilization rate difference of corresponding node according to described resource using information;
More described dynamic resource utilization rate difference and described resource are used the size that changes threshold value, and judge whether described resource using information to report described resource information acquisition server according to comparative result.
15. information processing methods according to claim 14, it is characterized in that, described relatively dynamic resource utilization rate difference and described resource are used the size that changes threshold value, and judge whether that according to comparative result the step that described resource using information is reported to described resource information acquisition server specifically comprises:
More described dynamic resource utilization rate difference and described resource are used the size that changes threshold value;
In the time that described dynamic resource utilization rate difference is more than or equal to described resource use change threshold value, described resource using information is reported to described resource information acquisition server, otherwise, do not carry out the action that described resource using information is reported to described resource information acquisition server.
16. according to the information processing method described in claims 14 or 15, it is characterized in that:
The step of the described resource using information that comprises CPU usage, memory usage and/or input/output port utilization rate that obtains the node corresponding with self specifically comprises:
From described node, obtain the resource using information of corresponding CPU usage, memory usage and/or input/output port utilization rate in the first moment of predetermined period, the second moment in predetermined period is obtained the resource using information of corresponding CPU usage, memory usage and/or input/output port utilization rate from described node;
The described step according to the dynamic resource utilization rate difference of resource using information calculating corresponding node comprises:
Utilize resource using information corresponding to the first moment and resource using information corresponding to the second moment to calculate described dynamic resource utilization rate difference.
17. information processing methods according to claim 16, is characterized in that, the described computing formula of utilizing resource using information corresponding to the first moment and resource using information corresponding to the second moment to calculate described dynamic resource utilization rate difference comprises:
ΔRCUL=(x*C 1+y*M 1+z*I0 1)-(x*C 2+y*M 2+z*IO 2)
Wherein, Δ RCUL is dynamic resource utilization rate difference, C 1be CPU usage corresponding to the first moment, M 1be memory usage corresponding to the first moment, IO 1be input/output port utilization rate corresponding to the first moment, C 2be CPU usage corresponding to the second moment, M 2be memory usage corresponding to the second moment, IO 2be input/output port utilization rate corresponding to the second moment, x, y and z are corresponding weighted value.
18. information processing methods according to claim 17, it is characterized in that, described resource is used change threshold value to be initially set to 0.2, and described resource using information corresponding to the first moment and resource using information corresponding to the second moment of utilizing calculates in the formula of described dynamic resource utilization rate difference:
X is that 0.6, y is that 0.1, z is 0.3; Or one or two in x, y, z is 0.
19. according to the information processing method described in claim 13 ~ 15 any one, it is characterized in that, before the step that whether reports reference information that described reception resource information acquisition server sends over, also comprises:
Resource information gathers client and sends registration request and index item request to resource information acquisition server;
Receive the resource index item that comprises CPU usage, memory usage and/or input/output port utilization rate and weighted value thereof that resource information acquisition server returns according to described index item request, to obtain the resource using information of the node corresponding with self according to described resource index item.
The resource information of 20. 1 kinds of cloud computings gathers client, it is characterized in that, described resource information gathers client and comprises:
Receiver module, for receiving the reference information that whether reports that resource information acquisition server sends over, described in information that whether to report reference information be resource information acquisition server produces after comparing according to the current disposal ability information of self and default maximum processing capability;
Processing module, for obtaining the resource using information of the node corresponding with self, and judges whether described resource using information to report described resource information acquisition server according to the described reference information that whether reports.
21. resource informations according to claim 20 gather client, it is characterized in that:
Whether described receiver module reports resource in reference information to use to change threshold value specifically for what receive that described resource information acquisition server sends over;
Described processing module specifically comprises:
Acquiring unit, for obtaining the resource using information that comprises CPU usage, memory usage and/or input/output port utilization rate of the node corresponding with self;
Computing unit, calculates the dynamic resource utilization rate difference of corresponding node for the described resource using information getting according to described acquiring unit;
Comparing unit, the described resource that the dynamic resource utilization rate difference calculating for more described computing unit and described receiver module receive is used the size that changes threshold value;
Report unit, for judging whether according to the comparative result of described comparing unit, described resource using information is reported to described resource information acquisition server.
22. resource informations according to claim 21 gather client, it is characterized in that, the described unit that reports is more than or equal to described resource and uses while changing threshold value specifically for relatively obtain described dynamic resource utilization rate difference at described comparing unit, described resource using information is reported to described resource information acquisition server, otherwise, do not carry out the action that described resource using information is reported to described resource information acquisition server.
23. gather client according to the resource information described in claim 21 or 22, it is characterized in that:
Described acquiring unit specifically for obtaining the resource using information of corresponding CPU usage, memory usage and/or input/output port utilization rate from described node in the first moment of predetermined period, the second moment in predetermined period is obtained the resource using information of corresponding CPU usage, memory usage and/or input/output port utilization rate from described node;
Described computing unit utilizes resource using information corresponding to the first moment and resource using information corresponding to the second moment to calculate described dynamic resource utilization rate difference.
24. resource informations according to claim 23 gather client, it is characterized in that, the described computing formula of utilizing resource using information corresponding to the first moment and resource using information corresponding to the second moment to calculate described dynamic resource utilization rate difference comprises:
ΔRCUL=(x*C 1+y*M 1+z*I0 1)-(x*C 2+y*M 2+z*IO 2)
Wherein, Δ RCUL is dynamic resource utilization rate difference, C 1be CPU usage corresponding to the first moment, M 1be memory usage corresponding to the first moment, IO 1be input/output port utilization rate corresponding to the first moment, C 2be CPU usage corresponding to the second moment, M 2be memory usage corresponding to the second moment, IO 2be input/output port utilization rate corresponding to the second moment, x, y and z are corresponding weighted value.
25. resource informations according to claim 24 gather client, it is characterized in that, described resource is used change threshold value to be initially set to 0.2, and described resource using information corresponding to the first moment and resource using information corresponding to the second moment of utilizing calculates in the formula of described dynamic resource utilization rate difference:
X is that 0.6, y is that 0.1, z is 0.3; Or one or two in x, y, z is 0.
26. gather client according to the resource information described in claim 20 ~ 22 any one, it is characterized in that, described resource information gathers client and also comprises:
Registering modules, for sending registration request and index item request to resource information acquisition server;
The resource index item that comprises CPU usage, memory usage and/or input/output port utilization rate and weighted value thereof that described receiver module returns according to the index item request of described Registering modules transmission specifically for receiving resource information acquisition server, described processing module is specifically for obtaining the resource using information of the node corresponding with self according to described resource index item.
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 true CN103841129A (en) 2014-06-04
CN103841129B 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)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105357026A (en) * 2015-09-24 2016-02-24 华为技术有限公司 Resource information collection method and computing node
CN106375132A (en) * 2016-11-01 2017-02-01 Tcl集团股份有限公司 Managing method for cloud server system, and cloud server system
CN106487925A (en) * 2016-11-29 2017-03-08 用友网络科技股份有限公司 Service access control method and service access control system
WO2017041652A1 (en) * 2015-09-09 2017-03-16 阿里巴巴集团控股有限公司 Network resource usage quota control method, apparatus and system
CN110245019A (en) * 2019-06-17 2019-09-17 广东金赋科技股份有限公司 A kind of the thread concurrent method and device of Adaptable System resource
CN111488387A (en) * 2019-01-28 2020-08-04 阿里巴巴集团控股有限公司 Information recording and data inquiry method
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 (5)

* 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
US20110225458A1 (en) * 2010-03-09 2011-09-15 Microsoft Corporation Generating a debuggable dump file for an operating system kernel and hypervisor
CN102340825A (en) * 2011-08-12 2012-02-01 中国科学技术大学 Load-transfer-based energy-saving control method and system for mobile communication system

Patent Citations (5)

* 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
US20110225458A1 (en) * 2010-03-09 2011-09-15 Microsoft Corporation Generating a debuggable dump file for an operating system kernel and hypervisor
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

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017041652A1 (en) * 2015-09-09 2017-03-16 阿里巴巴集团控股有限公司 Network resource usage quota control method, apparatus and system
CN106534231A (en) * 2015-09-09 2017-03-22 阿里巴巴集团控股有限公司 Method, device and system for controlling use limit of network resources
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
CN105357026A (en) * 2015-09-24 2016-02-24 华为技术有限公司 Resource information collection method and computing node
CN106375132B (en) * 2016-11-01 2021-04-13 Tcl科技集团股份有限公司 Cloud server system and management method thereof
CN106375132A (en) * 2016-11-01 2017-02-01 Tcl集团股份有限公司 Managing method for cloud server system, and cloud server system
CN106487925A (en) * 2016-11-29 2017-03-08 用友网络科技股份有限公司 Service access control method and service access control system
CN111488387A (en) * 2019-01-28 2020-08-04 阿里巴巴集团控股有限公司 Information recording and data inquiry method
CN111488387B (en) * 2019-01-28 2024-03-01 阿里巴巴集团控股有限公司 Information recording and data query method
CN110245019A (en) * 2019-06-17 2019-09-17 广东金赋科技股份有限公司 A kind of the thread concurrent method and device of Adaptable System resource
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

Also Published As

Publication number Publication date
CN103841129B (en) 2017-04-26

Similar Documents

Publication Publication Date Title
CN103841129A (en) Cloud computing resource information acquisition server, cloud computing resource information acquisition client and information processing method
US10922452B2 (en) Digital simulation system of power distribution network
US11106560B2 (en) Adaptive thresholds for containers
US8484650B2 (en) Resource management system, resource information providing method and program for providing resource information relating to a plurality of resources
CN102111337A (en) Method and system for task scheduling
CN104038540A (en) Method and system for automatically selecting application proxy server
CN107124445A (en) A kind of collecting method and device
CN103856512A (en) Cloud computing management server, working host, idle host and resource scheduling method
US10263876B2 (en) Adaptive service timeouts
CN111352806A (en) Log data monitoring method and device
CN111200526B (en) Monitoring system and method of network equipment
CN104202220A (en) Pressure test method and pressure test device
CN104202388A (en) Automatic load balancing system based on cloud platform
CN112711479A (en) Load balancing system, method and device of server cluster and storage medium
WO2014194704A1 (en) A grouping processing method and system
CN108932182B (en) Message bus performance test method and system
CN106357469A (en) Dynamic adjustment method and device of resource monitoring mode
CN102510403B (en) Receive and the cluster distributed system and method for real-time analysis for vehicle data
CN105242955A (en) Virtual machine disk input and output scheduling method and system
WO2015122880A1 (en) Monitoring a computing environment
CN108134842A (en) System, the method that a kind of cloud host is migrated according to load strategy
KR102203204B1 (en) Method for controlling performance in virtualized environment and information processing device for the same
US9479579B2 (en) Grouping processing method and system
CN110377396A (en) A kind of virtual machine Autonomic Migration Framework method, system and electronic equipment
CN111682970B (en) System and method for rapidly expanding and contracting capacity of content networking based on containerization

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

Granted publication date: 20170426

Termination date: 20181121

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