Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
The advantages of to make technical solution of the present invention, is clearer, makees specifically to the present invention with reference to the accompanying drawings and examples
It is bright.
The embodiment of the invention provides a kind of cloud disk monitoring methods, as shown in Figure 1, which comprises
101, the current operating parameter of each interface of cloud disk is obtained from cloud disk history log information.
Wherein, the operating parameter is used to indicate the working condition of each interface of current cloud disk, and the operating parameter can be with are as follows:
There is the operation time of each interface of the number of error code, cloud disk in the corresponding parameter of each interface of cloud disk, each interface of cloud disk
Number etc., the embodiment of the present invention is not specifically limited.For the embodiment of the present invention, the current operating parameter of each interface of cloud disk can be from
It is obtained in cloud disk history log information.
102, operating parameter threshold value corresponding with current slot is obtained.
Wherein, the operating parameter threshold value is obtained according to the history log information of cloud disk, in embodiments of the present invention,
Operating parameter threshold value corresponding with current slot can be obtained from initialized data base or preset mapping table.For this
Inventive embodiments, the operating parameter threshold value are that basis counts the operating parameter of each interface history of cloud disk and obtains,
For example, obtaining the operating parameter of cloud disk interface history by the log information of cloud disk, analyzed by the log information to cloud disk
Following cloud disk interface historical operating parameter out: the number for the operation that May 1, morning 8:00-9:00 cloud disk functional interface 1 occurred is
300 times, the number of operations that May 2, morning 8:00-9:00 cloud disk functional interface 1 occurred is 400 times, May 3 morning 8:00-9:
The number of operations that 00 cloud disk functional interface 1 occurs is 600 times, the behaviour that May 4, morning 8:00-9:00 cloud disk functional interface 1 occurred
Making number is 500 times.To above-mentioned cloud disk interface historical operating parameter carry out statistics obtain every morning 8:00-9:00 this when
Between section cloud disk functional interface 1 occur number of operations be 450 times, that is, cloud disk functional interface 1 the period be 8:00-9:00
When corresponding operating parameter threshold value.
103, whether the current operating parameter of each interface of cloud disk according to the operating parameter threshold decision is normal.
For example, the operating parameter that current each interface of cloud disk obtains are as follows: 2 operand of cloud disk functional interface is 400, cloud disk function
3 operand of interface is 800, and the corresponding 2 operand threshold value of functional interface of cloud disk current slot is obtained from initialized data base
It is 700 for 500, cloud disk functional interface, 3 operand threshold value.Then each interface of cloud disk according to the operating parameter threshold decision
Whether current operating parameter is normal, if the operating parameter of each interface of current cloud disk is greater than operating parameter threshold value, illustrates cloud disk
The current operating parameter of each interface is abnormal;If the operating parameter of each interface of current cloud disk is less than or equal to operating parameter threshold value,
Then illustrate that the current operating parameter of each interface of cloud disk is normal.In this example, current 2 operation amount of cloud disk functional interface is 400 small
In 2 operand threshold value 500 of cloud disk functional interface, illustrate that 2 operation amount of cloud disk functional interface of current cloud disk is normal;Current cloud disk
3 operation amount of functional interface is 800 greater than 3 operand threshold value 700 of cloud disk functional interface, illustrates that current cloud disk functional interface 3 is grasped
It is abnormal to make quantity.
If 104, being alerted in the current operating parameter of each interface of cloud disk there are abnormal operating parameter.
For the embodiment of the present invention, when the operating parameter of the current each interface of cloud disk is abnormal, the side of voice can be passed through
Formula is alerted, and can also be alerted by way of popping up dialog box, in addition it can pass through the side of output text information
Formula is alerted, and the embodiment of the present invention is not specifically limited.For example, if alarm mode be voice when, when cloud disk currently respectively connects
When the operating parameter of mouth is abnormal, then speech prompt information " note that current cloud disk interface operation is abnormal " is exported;If alarm
Mode be pop-up dialog box, when the operating parameter of the current each interface of cloud disk is abnormal, then popping up dialog box " note that and work as
Preceding cloud disk interface operation is abnormal ";If the mode of alarm is text information, when the operating parameter of the current each interface of cloud disk is abnormal
When, then output " note that current cloud disk interface operation is abnormal " is rolled on the screen.
For the embodiment of the present invention, specific application scenarios can be as follows, but is not limited only to this, comprising: gets
The number of operations of the cloud disk functional interface 4 of period 14:00-15:00 is 400, then acquisition and time from initialized data base
The corresponding 4 operand threshold value of cloud disk functional interface of section 14:00-15:00, wherein the 4 operand threshold value of cloud disk functional interface of acquisition
It is 300.It is whether normal further according to the operating parameter of the current each interface of cloud disk described in the operating parameter threshold decision, if described work as
The parameter of preceding operation is less than or equal to operating parameter threshold value, then illustrates each interface normal operation of cloud disk;If the currently running ginseng
Number is greater than preset operating parameter threshold value, then illustrates that cloud disk operation is abnormal, alerted, in this application scene, cloud disk function
The number of operations 400 of interface 4 is greater than 4 operand threshold value 300 of cloud disk functional interface, and it is abnormal to illustrate that cloud disk functional interface 4 is run,
Export the warning information of speech prompt information " it is abnormal to note that current cloud disk functional interface 4 is run ".
The embodiment of the present invention provides a kind of cloud disk monitoring method, obtains each interface of cloud disk from cloud disk history log information first
Current operating parameter;Then operating parameter threshold value corresponding with current slot is obtained, the operating parameter threshold value is basis
What the history log information of cloud disk obtained;The finally current operation of each interface of cloud disk according to the operating parameter threshold decision
Whether parameter is normal;If being alerted in the current operating parameter of each interface of cloud disk there are abnormal operating parameter.With mesh
It is preceding when being monitored to each interface of cloud disk, judge each time cloud disk whether by attack when, require the magnanimity to collection
Journal file carries out analysis and compares, and the embodiment of the present invention is respectively connect by configuring cloud disk in different time sections according to history log information
Mouthful normality threshold, and be monitored by operating condition of the normality threshold to the current each interface of cloud disk, and then improve pair
The Efficiency and accuracy of cloud disk interface monitoring.
The embodiment of the invention provides another cloud disk monitoring methods, as shown in Figure 2, which comprises
201, the current operating parameter of each interface of cloud disk is obtained from cloud disk history log information.
Wherein, the operating parameter is used to indicate the working condition of each interface of current cloud disk, and the operating parameter can be with are as follows:
There is the operation time of each interface of the number of error code, cloud disk in the corresponding parameter of each interface of cloud disk, each interface of cloud disk
Number etc., the embodiment of the present invention is not specifically limited.For the embodiment of the present invention, the current operating parameter of each interface of cloud disk can be from
It is obtained in cloud disk history log information.
202, inquiry whether there is operating parameter threshold value corresponding with current slot.
For the embodiment of the present invention, by the data in inquiry initialized data base or preset mapping table, judgement is
It is no to there is the operating parameter threshold value corresponding with current slot, wherein the initialized data base or preset mapping table
In preserve cloud disk each interface each period corresponding operating parameter threshold value.
203a, if it exists, then directly acquire the operating parameter threshold value.
For example, getting the cloud disk operating parameter that the period is 18:00-19:00 in step 201, preset number is then inquired
According in library or preset mapping table whether there is operating parameter threshold value corresponding with period 18:00-19:00, and if it exists,
Then directly acquiring with the period is the corresponding operating parameter threshold value of 18:00-19:00.
203b, if it does not exist, then according to the history log information of the cloud disk obtain it is corresponding with current slot described in
Operating parameter threshold value.
Wherein, step 203b and step 203a is step arranged side by side.
For the embodiment of the present invention, obtained according to the history log information of the cloud disk corresponding with current slot described
Operating parameter threshold value includes: the history log information for obtaining the cloud disk;The history log information is analyzed, institute is obtained
Each interface of cloud disk is stated in the corresponding historical operating parameter of current slot;It is corresponding in current slot according to each interface of the cloud disk
Historical operating parameter, generate each interface of the cloud disk in the corresponding operating parameter threshold value of current slot.For example, described in obtaining
The history log information of cloud disk is analyzed by the history log information to cloud disk and obtains following cloud disk interface historical operating parameter: 6
The number of operations that month 1 morning 7:00-9:00 cloud disk functional interface 6 occurs is 300 times, June 2 morning 7:00-9:00 cloud disk
The number of operations that functional interface 6 occurs is 400 times, the number of operations that June 3, morning 7:00-9:00 cloud disk functional interface 6 occurred
It is 600 times, the number of operations that June 4, morning 7:00-9:00 cloud disk functional interface 6 occurred is 500 times.Above-mentioned cloud disk is gone through
It is 450 times that history operating parameter, which carries out the number of operations that cloud disk functional interface 6 occurs when statistics obtains every morning 8:00-9:00,
That is the corresponding operating parameter threshold value of cloud disk functional interface 6.
Further, operating parameter threshold value corresponding with current slot is being obtained according to the history log information for stating cloud disk
Later, further includes: save each interface of the cloud disk in the corresponding operating parameter threshold value of current slot.For the present invention
Embodiment, by by each interface of the cloud disk the corresponding operating parameter threshold value of current slot be stored in initialized data base or
In preset mapping table, the real-time update to the content saved in initialized data base or preset mapping table may be implemented, when again
Obtain cloud disk currently the operating parameter of each interface when, directly obtain and to be saved from initialized data base or preset mapping table
Operating parameter threshold value corresponding with current slot, then according to the operation obtained from initialized data base or preset mapping table
Parameter threshold directly judges whether each interface operating status of cloud disk is normal, without again from the history log information of cloud disk
Operating parameter threshold value is obtained, to improve the monitoring efficiency of cloud disk.
204, whether the current operating parameter of each interface of cloud disk according to the operating parameter threshold decision is normal.
For the embodiment of the present invention, the current operation of each interface of cloud disk according to the operating parameter threshold decision
Before whether parameter is normal further include: determine the normal floating model of the operating parameter threshold value according to the size of operating parameter threshold value
It encloses, the normal floating range of the operating parameter threshold value is saved.It should be noted that operating parameter threshold value is bigger, say
The bright operating parameter threshold value is closer to alarm critical value, and operating parameter threshold value danger coefficient is higher at this time, therefore in operating parameter
When the normal floating range of threshold value, a lesser floating range preset to the operating parameter that operating parameter threshold value is big is needed;Phase
Anti-, operating parameter threshold value is smaller, illustrates the operating parameter threshold value farther out from alarm critical value, operating parameter threshold value is dangerous at this time
Coefficient is lower, therefore in the normal floating range of operating parameter threshold value, needs the operating parameter small to operating parameter threshold value can
With a preset biggish floating range.
For example, the normal floating range of the operating parameter threshold value can be 0-40 when operating parameter threshold value is 20;Operation
When parameter threshold is 100, the normal floating range of the operating parameter threshold value can be 90-110.In embodiments of the present invention,
Be arranged operating parameter threshold value normal floating range can make it is subsequent judge the cloud disk currently each interface operating parameter whether
Normally become more accurate, and then improves cloud disk alarm accuracy.
At this point, whether the current operating parameter of each interface of cloud disk according to the operating parameter threshold decision is normal
It include: whether just the current operating parameter of each interface of the cloud disk is judged according to the normal floating range of the operating parameter threshold value
Often.For example, the number that a certain interface error code occurs in current cloud disk is 100, the corresponding mistake of the interface in initialized data base
The normal floating range of code frequency threshold value is 80-150, then according to the number and preset data of the appearance of current cloud disk interface error code
The normal floating range of the interface error code frequency threshold value saved in library judges what the interface error code of the current cloud disk occurred
Whether number is normal, if the number of current cloud disk interface error code appearance is in the normal floating range of interface error code frequency threshold value
Interior, then the number for illustrating that the current interface error code of cloud disk occurs is normal;If the number that current cloud disk interface error code occurs is not
In the normal floating range of interface error code frequency threshold value, then illustrate number that the current interface error code of cloud disk occurs not just
Often.In this example, the number that the interface error code occurs in current cloud disk is 100 in the normal floating of interface error code frequency threshold value
In dynamic range 80-150, the number for illustrating that the current interface error code occurs is normal.In embodiments of the present invention, according to the fortune
The normal floating range of row parameter threshold judges whether the operating parameter of the current each interface of the cloud disk is normal, can further improve
Judge the whether normal precision of each interface operating parameter of current cloud disk, and then improves the accuracy of cloud disk alarm.
It is described if the current operating parameter of each interface of the cloud disk is the operation amount of interface for the embodiment of the present invention
It whether normally include: to judge the interface according to the current operating parameter of each interface of cloud disk described in the operating parameter threshold decision
Operation amount whether be greater than corresponding operation amount threshold value, if more than, it is determined that in the current operating parameter of each interface of cloud disk
There are abnormal operating parameters;If being not more than, it is determined that the current operating parameter of each interface of cloud disk is normal.For example, current cloud
The operation amount of disk interface is 1233, and the operation amount threshold value saved in initialized data base is 1500, then to current interface
The operation amount threshold value saved in operation amount and initialized data base is compared, in this example, the operation of current cloud disk interface
Quantity is 1233 less than operation amount threshold value 1500, illustrates that the operation amount of current cloud disk interface is normal.In the embodiment of the present invention
In, it is each according to cloud disk described in the operation amount threshold decision saved in the operation amount of the interface of current cloud disk and initialized data base
Interface whether normal operation, the interface operation unusual condition that can occur in real time to cloud disk alert, and then improve cloud disk
The efficiency of alarm.
For the embodiment of the present invention, if the current operating parameter of each interface of the cloud disk is time that interface error code occurs
Whether number, the current operating parameter of each interface of cloud disk according to the operating parameter threshold decision normally include: judgement
Whether the number that the interface error code occurs is greater than corresponding interface error code frequency threshold value;If more than, it is determined that cloud disk is each
There are abnormal operating parameters in the current operating parameter of interface;If being not more than, it is determined that the current operation of each interface of cloud disk
Parameter is normal.For example, the number that current 1 error code of cloud disk functional interface occurs is 180, saved in initialized data base corresponding
Error code frequency threshold value is 150, is then compared the number and error code frequency threshold value of the error code appearance of functional interface 1
Compared in this example, the number that the error code of current functional interface 1 occurs is 180 to be greater than corresponding error code frequency threshold value and be
150, then the number for illustrating that current 1 error code of functional interface occurs is abnormal.In embodiments of the present invention, each according to current cloud disk
The corresponding error code frequency threshold value saved in the number and initialized data base that the error code of interface occurs judges that the cloud disk is
No normal operation, the error code unusual condition that can occur in real time to each interface of cloud disk alert, and then improve cloud disk announcement
Alert efficiency.
If 205, being alerted in the current operating parameter of each interface of cloud disk there are abnormal operating parameter.
For example, if obtain cloud disk current interface operation amount be 200, and from initialized data base obtain with it is current when
Between the corresponding operation amount threshold value of section be 300, therefore the operation amount of the interface be less than the operation amount threshold value, illustrate this
Interface operating status is normal, without alarm;If the number that current 2 error code of cloud disk functional interface obtained occurs is 500, and
It is 400 that error code frequency threshold value corresponding with current slot functional interface 2 is obtained from initialized data base, and the error code goes out
Existing number is greater than the error code frequency threshold value, and 2 operating status of functions interface is abnormal, is alerted.
It specifically, can also be in cloud disk as shown in figure 5, when being alerted to the operation of cloud disk interface is abnormal
Some interface is alerted.For example, when the quantity of current 7 operation of cloud disk functional interface is greater than 7 operand threshold value of functional interface, then
Dialog box is popped up, the current cloud disk functional interface 7 of backstage personnel is prompted to operate abnormal warning information.In embodiments of the present invention,
The accuracy of cloud disk alarm can further be improved by carrying out alarm for some interface in cloud disk.
For the embodiment of the present invention, specific application scenarios can be as follows, but is not limited only to this, comprising: acquisition
The number that the operation amount of a certain interface of cloud disk is 400, error code occurs is 500, when obtaining from initialized data base and is current
Between the corresponding operation amount threshold value of the section interface be 700, error code frequency threshold value is 420.Then judge the operation of the interface
Whether quantity is greater than the operation amount threshold value, and in this application scene, the operation amount of the interface is less than the operand
Threshold value is measured, is not required to alert cloud disk interface;Whether the number for judging that the error code occurs is greater than the error code number
Threshold value, in this application scene, the number that the error code occurs is greater than the error code frequency threshold value, illustrates the interface error
There is exception in code number, as shown in fig. 6, pop-up " interface error code number occurs abnormal " dialog box, to the cloud disk mistake of appearance
Code frequency abnormality situation is alerted.
The embodiment of the present invention provides another cloud disk monitoring method, obtains cloud disk from cloud disk history log information first and respectively connects
The current operating parameter of mouth;Then operating parameter threshold value corresponding with current slot is obtained, the operating parameter threshold value is root
It is obtained according to the history log information of cloud disk;The finally current fortune of each interface of cloud disk according to the operating parameter threshold decision
Whether row parameter is normal;If being alerted in the current operating parameter of each interface of cloud disk there are abnormal operating parameter.With
At present when being monitored to each interface of cloud disk, when whether judging each interface of cloud disk each time by attack, require to searching
The massive logs file of collection carries out analysis and compares, and the embodiment of the present invention according to history log information by configuring in different time sections
The normality threshold of each interface of cloud disk, and be monitored by the normality threshold operating condition current to each interface of cloud disk, in turn
Improve the Efficiency and accuracy to cloud disk interface monitoring.
The embodiment of the present invention provides a kind of cloud disk monitoring device, as shown in figure 3, the cloud disk monitoring device includes: to obtain
Unit 31, judging unit 32, Alarm Unit 33.
Acquiring unit 31, for obtaining the current operating parameter of each interface cloud disk from cloud disk history log information.
The acquiring unit 31 is also used to obtain operating parameter threshold value corresponding with current slot, the operating parameter
Threshold value is obtained according to the history log information of the cloud disk.
Judging unit 32, each interface of cloud disk described in the operating parameter threshold decision for being obtained according to the acquiring unit 31
Whether current operating parameter is normal.
Alarm Unit 33, if there are abnormal operating parameter in the operating parameter current for each interface of the cloud disk,
Then alerted.
It should be noted that other of each functional unit involved by cloud disk monitoring device provided in an embodiment of the present invention are corresponding
Description, can be with reference to the corresponding description of method shown in Fig. 1, and details are not described herein.
The embodiment of the present invention provides a kind of cloud disk monitoring device, obtains each interface of cloud disk from cloud disk history log information first
Current operating parameter;Then operating parameter threshold value corresponding with current slot is obtained, the operating parameter threshold value is basis
What the history log information of cloud disk obtained;The finally current operation of each interface of cloud disk according to the operating parameter threshold decision
Whether parameter is normal;If being alerted in the current operating parameter of each interface of cloud disk there are abnormal operating parameter.With mesh
It is preceding when being monitored to each interface of cloud disk, judge each time each interface of cloud disk whether by attack when, require to collection
Massive logs file carry out analysis compare, the embodiment of the present invention pass through according to history log information configure different time sections in cloud
The normality threshold of each interface of disk, and be monitored by the normality threshold operating condition current to each interface of cloud disk, Jin Erti
The high Efficiency and accuracy to cloud disk interface monitoring.
Further, the embodiment of the present invention provides another cloud disk monitoring device, as shown in figure 4, cloud disk monitoring dress
Set includes: acquiring unit 41, judging unit 42, Alarm Unit 43.
Acquiring unit 41, for obtaining the current operating parameter of each interface cloud disk from cloud disk history log information.
The acquiring unit 41 is also used to obtain operating parameter threshold value corresponding with current slot, the operating parameter
Threshold value is obtained according to the history log information of the cloud disk.
Judging unit 42, each interface of cloud disk described in the operating parameter threshold decision for being obtained according to the acquiring unit 41
Whether current operating parameter is normal.
Alarm Unit 43, if there are abnormal operating parameter in the operating parameter current for each interface of the cloud disk,
Then alerted.
Further, described device further include: query unit 44.
The query unit 44 whether there is the operating parameter threshold value for inquiring.
The acquiring unit 41 is specifically used for the operating parameter threshold value if it exists, then directly acquires the operating parameter
Threshold value.
The acquiring unit 41 is specifically also used to the operating parameter threshold value if it does not exist, then going through according to the cloud disk
History log information obtains the operating parameter threshold value corresponding with current slot.
Further, described device further include: analytical unit 45, generation unit 46.
The acquiring unit 41, is also used to obtain the history log information of the cloud disk.
The analytical unit 45, the history log information for obtaining to the acquiring unit 41 are analyzed.
The acquiring unit 41, specifically for the history log information analyzed according to the analytical unit 45, described in acquisition
Each interface of cloud disk is in the corresponding historical operating parameter of current slot.
The generation unit 46, the cloud disk for being obtained according to the acquiring unit 41 is in the corresponding history of current slot
Operating parameter generates each interface of the cloud disk in the corresponding operating parameter threshold value of current slot.
Storage unit 47, each interface of cloud disk for generating the generation unit 46 is in the corresponding operation of current slot
Parameter threshold is saved.
Further, described device further include: determination unit 48.
The determination unit 48, for determining the normal floating of the operating parameter threshold value according to the size of operating parameter threshold value
Dynamic range.
The storage unit 47, the normal floating range for the operating parameter threshold value for being also used to determine the determination unit 48
It is saved.
The judging unit 42, specifically for judging the cloud disk according to the normal floating range of the operating parameter threshold value
Whether the current operating parameter of each interface is normal.
The judging unit 42, if being specifically also used to the operand that the current operating parameter of each interface of the cloud disk is interface
Amount, judges whether the operation amount of the interface is greater than corresponding operation amount threshold value.
The determination unit 48, if the operation amount for being specifically also used to the interface is greater than corresponding operation amount threshold value,
Then determine that there are abnormal operating parameters in the current operating parameter of each interface of cloud disk.
The determination unit 48, if the operation amount for being specifically also used to the interface is less than or equal to corresponding operation amount
Threshold value, it is determined that the current operating parameter of each interface of cloud disk is normal.
The judging unit 42, if being specifically also used to the current operating parameter of the cloud disk is time that interface error code occurs
Whether number, the number for judging that the interface error code occurs are greater than corresponding interface error code frequency threshold value.
The determination unit 48, if being specifically also used to the number that the interface error code occurs is greater than corresponding interface error
Code frequency threshold value, it is determined that there are abnormal operating parameters in the current operating parameter of each interface of cloud disk.
The determination unit 48, if being specifically also used to the number that the error code occurs is less than or equal to corresponding interface mistake
Error code frequency threshold value, it is determined that the current operating parameter of each interface of cloud disk is normal.
The embodiment of the present invention provides another cloud disk monitoring device, obtains cloud disk from cloud disk history log information first and respectively connects
The current operating parameter of mouth;Then operating parameter threshold value corresponding with current slot is obtained, the operating parameter threshold value is root
It is obtained according to the history log information of cloud disk;The finally current fortune of each interface of cloud disk according to the operating parameter threshold decision
Whether row parameter is normal;If being alerted in the current operating parameter of each interface of cloud disk there are abnormal operating parameter.With
At present when being monitored to each interface of cloud disk, when whether judging cloud disk each time by attack, the sea to collection is required
Amount journal file carries out analysis and compares, and the embodiment of the present invention is each by configuring cloud disk in different time sections according to history log information
The normality threshold of interface, and be monitored by the normality threshold operating condition current to each interface of cloud disk, and then improve
To the Efficiency and accuracy of cloud disk interface monitoring.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, reference can be made to the related descriptions of other embodiments.
It is understood that the correlated characteristic in the above method and device can be referred to mutually.In addition, in above-described embodiment
" first ", " second " etc. be and not represent the superiority and inferiority of each embodiment for distinguishing each embodiment.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein.
Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system
Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various
Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect
Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself
All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment
Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any
Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed
All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
Meaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors
Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice
Microprocessor or digital signal processor (DSP) are realized in cloud disk monitoring method according to an embodiment of the present invention and device
The some or all functions of some or all components.The present invention is also implemented as executing method as described herein
Some or all device or device programs (for example, computer program and computer program product).Such reality
Existing program of the invention can store on a computer-readable medium, or may be in the form of one or more signals.
Such signal can be downloaded from an internet website to obtain, and perhaps be provided on the carrier signal or in any other forms
It provides.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability
Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch
To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame
Claim.
The invention discloses A1, a kind of cloud disk monitoring method, which comprises
The current operating parameter of each interface of cloud disk is obtained from cloud disk history log information;
Operating parameter threshold value corresponding with current slot is obtained, the operating parameter threshold value is the history day according to cloud disk
Will acquisition of information;
According to each interface of cloud disk described in the operating parameter threshold decision, whether current operating parameter is normal;
If being alerted in the current operating parameter of each interface of cloud disk there are abnormal operating parameter.
A2, method as described in a1, it is described to obtain corresponding with current slot operating parameter threshold value and include:
Inquiry whether there is the operating parameter threshold value;
If it exists, then the operating parameter threshold value is directly acquired;
If it does not exist, then the operation corresponding with current slot is obtained according to the history log information of the cloud disk to join
Number threshold value.
A3, the method as described in A 2 obtain institute corresponding with current slot according to the history log information of the cloud disk
Stating operating parameter threshold value includes:
Obtain the history log information of the cloud disk;
The history log information is analyzed, obtains each interface of the cloud disk in the corresponding history fortune of current slot
Row parameter;
According to each interface of the cloud disk in the corresponding historical operating parameter of current slot, generates each interface of the cloud disk and exist
The corresponding operating parameter threshold value of current slot.
A4, the method as described in A3 are obtaining fortune corresponding with current slot according to the history log information for stating cloud disk
After row parameter threshold, further includes:
Each interface of the cloud disk is saved in the corresponding operating parameter threshold value of current slot.
A5, the method as described in A3, it is described to be joined according to each interface of the cloud disk in the corresponding history run of current slot
Number, generates each interface of the cloud disk after the corresponding operating parameter threshold value of current slot, further includes:
The normal floating range of the operating parameter threshold value is determined according to the size of operating parameter threshold value;
The normal floating range of the operating parameter threshold value is saved.
A6, method as described in a5, the current fortune of each interface of cloud disk according to the operating parameter threshold decision
Row parameter whether normally include:
Judge that the current operating parameter of each interface of the cloud disk is according to the normal floating range of the operating parameter threshold value
It is no normal.
A7, the method as described in A1-A6, if the current operating parameter of each interface of the cloud disk is the operation amount of interface,
The current operating parameter of each interface of cloud disk according to the operating parameter threshold decision whether normally include:
Judge whether the operation amount of the interface is greater than corresponding operation amount threshold value;
If more than, it is determined that there are abnormal operating parameters in the current operating parameter of each interface of cloud disk;
If being not more than, it is determined that the current operating parameter of each interface of cloud disk is normal.
A8, the method as described in A1-A6, if the current operating parameter of each interface of the cloud disk is what interface error code occurred
Number, the current operating parameter of each interface of cloud disk according to the operating parameter threshold decision whether normally include:
Whether the number for judging that the interface error code occurs is greater than corresponding interface error code frequency threshold value;
If more than, it is determined that there are abnormal operating parameters in the current operating parameter of each interface of cloud disk;
If being not more than, it is determined that the current operating parameter of each interface of cloud disk is normal.
The invention discloses B9, a kind of cloud disk monitoring device, comprising:
Acquiring unit, for obtaining the current operating parameter of each interface cloud disk from cloud disk history log information;
The acquiring unit is also used to obtain operating parameter threshold value corresponding with current slot, the operating parameter threshold
Value is obtained according to the history log information of the cloud disk;
Judging unit, each interface of cloud disk described in the operating parameter threshold decision for being obtained according to the acquiring unit are current
Operating parameter it is whether normal;
Alarm Unit, if there are abnormal operating parameter in the operating parameter current for each interface of the cloud disk,
It is alerted.
B10, the cloud disk monitoring device as described in B9, described device further include: query unit,
The query unit whether there is the operating parameter threshold value for inquiring;
The acquiring unit is specifically used for the operating parameter threshold value if it exists, then directly acquires the operating parameter threshold
Value;
The acquiring unit is specifically also used to the operating parameter threshold value if it does not exist, then according to the history of the cloud disk
Log information obtains the operating parameter threshold value corresponding with current slot.
B11, the cloud disk monitoring device as described in B10, described device further include: analytical unit, generation unit,
The acquiring unit is also used to obtain the history log information of the cloud disk;
The analytical unit, the history log information for obtaining to the acquiring unit are analyzed;
The acquiring unit obtains the cloud disk specifically for the history log information analyzed according to the analytical unit
Each interface is in the corresponding historical operating parameter of current slot;
The generation unit, each interface of cloud disk for being obtained according to the acquiring unit are gone through current slot is corresponding
History operating parameter generates each interface of the cloud disk in the corresponding operating parameter threshold value of current slot.
B12, cloud disk monitoring device as described in b11, the cloud disk monitoring device further include:
Storage unit, each interface of cloud disk for generating the generation unit is in the corresponding operating parameter of current slot
Threshold value is saved.
B13, cloud disk monitoring device as described in b11,
The determination unit, for determining the normal floating of the operating parameter threshold value according to the size of operating parameter threshold value
Range;
The normal floating range of the storage unit, the operating parameter threshold value for being also used to determine the determination unit carries out
It saves.
B14, the cloud disk monitoring device as described in B13,
The judging unit, specifically for judging that the cloud disk is each according to the normal floating range of the operating parameter threshold value
Whether the current operating parameter of interface is normal.
B15, the cloud disk monitoring device as described in B9-B14,
The judging unit, if being specifically also used to the operand that the current operating parameter of each interface of the cloud disk is interface
Amount, judges whether the operation amount of the interface is greater than corresponding operation amount threshold value;
The determination unit, if the operation amount for being specifically also used to the interface is greater than corresponding operation amount threshold value,
Determine that there are abnormal operating parameters in the current operating parameter of each interface of cloud disk;
The determination unit, if the operation amount for being specifically also used to the interface makees quantity threshold less than or equal to corresponding
Value, it is determined that the current operating parameter of each interface of cloud disk is normal.
B16, the cloud disk monitoring device as described in B9-B14,
The judging unit, if being specifically also used to the current operating parameter of the cloud disk is time that interface error code occurs
Whether number, the number for judging that the interface error code occurs are greater than corresponding interface error code frequency threshold value;
The determination unit, if being specifically also used to the number that the interface error code occurs is greater than corresponding interface error code
Frequency threshold value, it is determined that there are abnormal operating parameters in the current operating parameter of each interface of cloud disk;
The determination unit, if being specifically also used to the number that the error code occurs is less than or equal to corresponding interface error
Code frequency threshold value, it is determined that the current operating parameter of each interface of cloud disk is normal.