Embodiment
For quote and know for the purpose of, the explanation of the technical term hereinafter using, write a Chinese character in simplified form or abridge and be summarized as follows:
RAID:Redundant Array of Inexpensive Disks, hard disk array or cheap hard disk redundant array;
LED:Light Emitting Diode, light emitting diode;
GPIO:General Purpose Input Output, universal input/output.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
By the known existing user of being of background technology or with taking in safeguarding the process of hard disk, because the structure of current hard disk array cannot be directly known the residing state of the hard disk in RAID group (being mainly the functional status of current hard disk) intuitively in physical hard disk upper, therefore the status information that need to rely on current hard disk shown on array management interface is finally identified the function of hard disk, causes user or with taking the problem directly perceived and not loaded down with trivial details to the operating process of hard disk.Therefore, the embodiment of the present invention increases display device on hard disk array, and be arranged on the display device on hard disk array by control, the function of indicating the current residing state of each hard disk in described hard disk array or having, thereby make user or only pass through the observation of the display device on hard disk array to realize the identification to hard disk current state or function with clothes, and then the disk state based on identified is realized the maintenance to hard disk.Concrete structure and control procedure are elaborated by following examples.
Embodiment mono-
In hard disk array, be equipped with as shown in Figure 1 a plurality ofhard disks 11, thishard disk 11 forms hard disk unit 1 together with harddisk handle bar 12, eachhard disk 11 correspondence is provided with display device, this display device is used for showing the identification indication information of indicating disk state, every kind of identification indication information that disk state is corresponding unique.As shown in Figure 2, for the process flow diagram of a kind of hard disk recognition methods disclosed by the invention, by this flow process, control and be arranged on the display device on hard disk array, indicate the current disk state of each hard disk in described hard disk array, the identification of realization to hard disk, mainly comprises the following steps:
Step S101, monitors the disk state of described hard disk;
In step S101, disk state is for distinguishing hard disk the role of hard disk array, that is to say, each hard disk has corresponding role in hard disk array, this hard disk institute role is relevant with its residing disk state in hard disk array, also can say that the function having or the role in this hard disk array is relevant with it, and also can change to some extent according to its institute's role in hard disk array of the change of its disk state.
For example, hard disk institute role comprises member's dish of described hard disk array, HotSpare disk, faulty disk, idle dish and power down dish.All set its role in hard disk array in hard disk array each hard disk, then by disk state, distinguish the role of hard disk in hard disk array.This disk state comprises the disk state of normal work, the disk state of fault, the disk state of work undetermined, idle disk state and/or the disk state of power down.
Generally, when creating hard disk array, to being arranged in the hard disk of hard disk array, all can set its corresponding role, corresponding what kind of role is relevant with the disk state that current hard disk has in hard disk array for each hard disk, a corresponding a kind of disk state of role.Its corresponding relation is: described member is coiled the disk state of corresponding normal work, the disk state of the corresponding work undetermined of HotSpare disk, the disk state of the corresponding fault of faulty disk, the corresponding idle disk state of idle dish, the disk state of the corresponding power down of power down dish.In a hard disk array, can comprise same role hard disk, also can comprise the combination of the hard disk of different role.
For disk state corresponding to above-mentioned hard disk, the corresponding identification indication information of each disk state, and show on array management interface.On this array management interface, show hard disk array information, this hard disk array information comprises the position of each hard disk in described hard disk array, and the identification indication information of the disk state of the described hard disk of correspondence showing one by one on described position.
Wherein, identification indication information corresponding to the hard disk of identical disk state in described hard disk array, the identification indication information corresponding to hard disk of different disk states.
Step S102, the corresponding relation according to default disk state with identification indication information, controls the identification indication information that described display device shows corresponding described disk state, and the state that described hard disk is current is indicated.In step S102, corresponding relation according to default disk state with identification indication information, obtain the identification indication information corresponding with the disk state of hard disk, utilize this identification indication information based on hardware interface module, to drive the display device be arranged on hard disk array should hard disk, make this display device show the disk state that this hard disk is current, for identifying indication.Thereby make user or pass through with clothes the shown information of display device on this hard disk of directly observing, determine intuitively the current disk state of this hard disk.
The embodiment of the present invention is by the disk state of the current correspondence of each hard disk in monitoring hard disk array, and the corresponding relation of default disk state and identification indication information when creating hard disk array information obtains the identification indication information corresponding to disk state of described hard disk; And control the identification indication information that display device corresponding to hard disk shows the disk state of corresponding described hard disk, realize the indication to the current state of hard disk.By the process of above-mentioned optimization identification indication, solved the problem that hard disk in prior art cannot Direct function description current state, avoid user or with the mistake plug taking when carrying out hard disk operation.
Simultaneously, also solve the Dependence Problem with clothes or user's pair array administration interface, directly the disk state of hard disk is directly showed on the display device of corresponding hard disk, with clothes or user, can directly by the deciphering of the information to shown on display device, recognize the disk state of current hard disk, need not administration interface too be relied on just and can directly be operated.
That is to say, by the disclosed method of the invention described above embodiment, make user or only need to realize the identification to the current disk state of hard disk by the direct observation to the display device on hard disk array with clothes, and then the disk state based on identified is realized the maintenance to hard disk.
Embodiment bis-
On the basis of the recognition methods of the invention described above embodiment mono-disclosed hard disk, the monitoring relating in carrying out thestep 101 shown in above-mentioned accompanying drawing 2 disk state that obtains described hard disk, there are two kinds of situations, in the time of under original state, the corresponding relation of default disk state and identification indication information when creating hard disk array information, obtain the disk state identification indication information corresponding with it corresponding to hard disk of setting role in hard disk array, and in follow-up indication process, on display device, show corresponding identification indication information, the current disk state of indication hard disk, indicate institute's role of hard disk in hard disk array.
Under the state of hard disk array operation, whether the disk state of monitoring described hard disk changes, if change, needs to change its role in hard disk array according to its current disk state, concrete:
When described in when the current disk state of a certain described hard disk and establishment hard disk array information, the disk state of hard disk is inconsistent, determine that the role of this hard disk in hard disk array changes, determine the disk state that the current disk state monitoring is this hard disk, and obtain.
In follow-up indication process, corresponding relation according to default disk state with identification indication information, obtain the identification indication information that this disk state is corresponding, on display device, show corresponding identification indication information, the current disk state of indication hard disk, indicates the institute role of hard disk in hard disk array.
On the basis of the recognition methods of the invention described above embodiment mono-disclosed hard disk, in carrying out thestep 102 shown in above-mentionedaccompanying drawing 2, relate to establishment hard disk array information time each hard disk disk state, and described disk state and the content of identifying the corresponding relation of indication information, when it is create at hard disk array initial, on array management interface, arranges and show the hard disk array information that the current hard disk array that will create is corresponding.As shown in Figure 3, mainly comprise the following steps:
Step S201, the role who sets in described hard disk array according to each hard disk in described hard disk array determines the disk state of described hard disk;
Wherein, the role of described hard disk in described hard disk array comprises that member coils, HotSpare disk, faulty disk, idle dish and power down dish, described member is coiled the disk state of corresponding normal work, the disk state of the corresponding work undetermined of HotSpare disk, the disk state of the corresponding fault of faulty disk, the corresponding idle disk state of idle dish, the disk state of the corresponding power down of power down dish, described hard disk array comprises the hard disk of same role or different role;
Step S202, arranges described disk state and the corresponding relation of identifying indication information, and described disk state of the same race arranges identical identification indication information;
Step S203, the hard disk array information that shows described hard disk array on array management interface, described hard disk array information comprises the position of each hard disk in hard disk array, and on described position, show the identification indication information of the disk state of corresponding described hard disk, make the identification indication information corresponding to hard disk of equal state in described hard disk array, the identification indication information corresponding to hard disk of different conditions.
Based on above-mentioned while creating its corresponding hard disk array information for a hard disk array on array management interface, when there is a plurality of hard disk array, need to create its corresponding hard disk array information to each hard disk array, now, on array management interface, divide different viewing areas, each region creates the hard disk array information of a hard disk array, make viewing area described in each show the hard disk array information of a described hard disk array, and the hard disk that is arranged in the disk state in normal work of different hard disk arrays adopt different identification indications to identify.
That is, for the zones of different of dividing, show hard disk array information described in each on described array management interface, described in each, in hard disk array information, the hard disk of the corresponding disk state in normal work adopts different identification indication informations to show.
The embodiment of the present invention adopts different identification indications to identify by the above-mentioned hard disk that makes to be arranged in the disk state in normal work of different hard disk arrays, can distinguish the distribution situation of different hard disk arrays.
Specifically, while there is a plurality of hard disk array in system, on this array management interface, for each hard disk array, mark off the region of this hard disk array information of corresponding demonstration, and configuration and show corresponding hard disk array information in this region.In each hard disk array of Real-Time Monitoring, during the disk state of each hard disk, its corresponding state variation can show equally on display device corresponding to current hard disk, carries out subregion demonstration on array management interface according to region simultaneously.When corresponding hard disk is safeguarded according to the pilot lamp on hard disk user or with clothes or after safeguarding, the hard disk array information of each hard disk array that also can show by the subregion on array management interface distinguishes the distribution situation of different hard disk arrays, further, can also be according to this distribution situation guides user or with taking the follow-up configuration to each hard disk array.
Or, in the time need to monitoring a plurality of hard disk arrays that are arranged in different system based on an array management interface simultaneously, the same said method that adopts marks off the region of this hard disk array information of corresponding demonstration on this array management interface for each hard disk array, and configuration and show corresponding hard disk array information in this region.Except above-mentioned, user or with clothes, when corresponding hard disk is safeguarded according to the pilot lamp on hard disk or the facility getting after safeguarding, by the subregion on array management interface, show that in the hard disk array that makes to show, the distribution situation of disk state is more clear separately on same array management interface.
Recognition methods based on the invention described above embodiment mono-disclosed hard disk, the default disk state and the corresponding relation of identifying indication information of foundation in carrying out the step S102 shown in above-mentionedaccompanying drawing 2, control the identification indication information that described display device shows corresponding described disk state, the state that described hard disk is current is indicated, detailed process as shown in Figure 4, mainly comprises:
Step S1021, the corresponding relation according to default disk state with identification indication information, obtains the identification indication information that described current disk state is corresponding;
Step S1022, changes described identification indication information into corresponding electric signal;
Described identification indication information being converted to corresponding electric signal in step S1022 is for convenient transmission.
Step S1023, stores described electric signal to register corresponding to the universal input/output interface circuit of described hard disk;
Step S1024, make described universal input/output interface circuit read and drive described display device according to described electric signal, make described display device according to identification indication information corresponding to described electric signal, show the identification indication of the disk state that corresponding described hard disk is current.
The embodiment of the present invention two in conjunction with the embodiment of the present invention one when there is a plurality of hard disk array, differentiation to hard disk array information corresponding to hard disk array on array management interface, and by optimization identify indication mode, thereby solved the problem that the distribution description of hard disk array in prior art and hard disk cannot Direct function description current states, avoided user or the mistake plug when carrying out hard disk operation with clothes.
Simultaneously, also solve the Dependence Problem with clothes or user's pair array administration interface, directly the disk state of hard disk is directly showed on the display device of corresponding hard disk, with clothes or user, can directly by the deciphering of the information to shown on display device, recognize the state of current hard disk, need not administration interface too be relied on just and can directly be operated, make user or only need to realize the identification to hard disk current state by the direct observation to the display device on hard disk array with clothes, and then the disk state based on identified is realized the maintenance to hard disk.
Embodiment tri-
Basis based on the invention described above embodiment mono-and the embodiment of the present invention two, identification indication information described above comprises colouring information, for the described disk state of hard disk in same described hard disk array and the corresponding relation of identification indication information, comprises:
The described identification indication information corresponding to disk state of described normal work is the first color;
The described identification indication information corresponding to disk state of described fault is the second color;
The described identification indication information corresponding to disk state of described work undetermined is the third color;
Described identification indication information corresponding to disk state of described free time is the 4th kind of color;
The described identification indication information corresponding to disk state of described power down is empty;
For the described disk state of hard disk in the described hard disk array of difference and the corresponding relation of described identification indication information, except described identification indication information corresponding to the disk state of described normal work is different, the described identification indication information that other disk states are corresponding is identical.
Based on foregoing, provide concrete application example one:
When adopting color LED pilot lamp as display device, when creating hard disk array information, the establishment interface going out as shown in Figure 6 creates corresponding hard disk array information for three group hard disc arrays on array management interface.Disk state corresponding to hard disk in this hard disk array selected by color picker, this selection can adopt the mode of artificial setting, also can adopt the mode of preset configuration to select the color of the identification indication information that different disk states are corresponding, last again according to selecting or the color of the configuration hardware setting of carrying out to color LED pilot lamp.
As shown in Figure 5, the shown color of hard disk under the disk state in normal work of RAID0 group is yellow, in Fig. 5, by the diagram of corresponding RAID0 group, identifies;
The shown color of hard disk under the disk state in normal work of RAID1 group is blue, in Fig. 5, by the diagram of corresponding RAID1 group, identifies;
The shown color of hard disk under the disk state in normal work of RAID2 group is pink, in Fig. 5, by the diagram of corresponding RAID2 group, identifies;
Be that in different hard disk arrays, the hard disk under the disk state in normal work adopts different colors to show.
The demonstration of the state of other hard disks except the disk state of normal work is as shown in Figure 5:
The color corresponding to disk state of described fault is red, and the diagram with corresponding faulty disk in Fig. 5 identifies;
The color corresponding to disk state of described work undetermined is purple, in Fig. 5, by the diagram of corresponding non-member's dish (HotSpare disk), identifies;
Color corresponding to disk state of described free time is green, not shown in Fig. 5;
The described identification indication information corresponding to disk state of described power down is empty, and not corresponding any color, that is to say that this color LED pilot lamp does not show, identifies by the diagram of corresponding power down dish in Fig. 5.
Adopt color LED pilot lamp, by different colours, distinguishes the disk state of hard disk and distribution that RAID organizes is described, and show accordingly in conjunction with array management interface.
Basis based on the invention described above embodiment mono-and the embodiment of the present invention two, identification indication information described above comprises numerical information, for the described disk state of hard disk in same described hard disk array and the corresponding relation of identification indication information, comprises:
The described identification indication information corresponding to disk state of described normal work is the first numeral;
The described identification indication information corresponding to disk state of described fault is the second numeral;
The described identification indication information corresponding to disk state of described work undetermined is the 3rd numeral;
Described identification indication information corresponding to disk state of described free time is the 4th numeral;
The described identification indication information corresponding to disk state of described power down is empty;
For the described disk state of hard disk in the described hard disk array of difference and the corresponding relation of described identification indication information, except described identification indication information corresponding to the disk state of described normal work is different, the described identification indication information that other disk state is corresponding is identical.
Based on foregoing, provide concrete application example two:
When adopting LED display as display device, when creating hard disk array information, the establishment interface going out as shown in Figure 6 creates corresponding hard disk array information for four group hard disc arrays on array management interface.Disk state corresponding to hard disk in this hard disk array selected by numerical selector, this selection can adopt the mode of artificial setting, also can adopt the mode of preset configuration to select the numeral of the identification indication information that different disk states are corresponding, last again according to selecting or the numeral of configuration is carried out hardware setting to LED display, make to show in this LED display corresponding numeral.
As shown in Figure 6, the shown numeral of the hard disk under normal operating conditions of RAID0 group is 1;
The shown numeral of hard disk under the disk state in normal work of RAID1 group is 2;
The shown numeral of hard disk under the disk state in normal work of RAID2 group is 3;
The shown numeral of hard disk under the disk state in normal work of RAID3 group is 4;
Be that in different hard disk arrays, the hard disk under the disk state in normal work adopts different numerals to show.
The demonstration of the state of other hard disks except the disk state of normal work is as shown in Figure 6:
The numeral corresponding to disk state of described fault is that in 5, Fig. 6, the diagram with corresponding faulty disk identifies;
The numeral corresponding to disk state of described work undetermined is by the diagram of corresponding non-member's dish (HotSpare disk), to identify in 0, Fig. 6;
Symbol corresponding to disk state of described free time is not shown in 6, Fig. 6;
The described identification indication information corresponding to disk state of described power down is empty, and not corresponding any numeral, that is to say that this LED display does not show, thenumeral 8 with corresponding power down dish in Fig. 6 identifies.
Adopt LED display, by different digital, distinguishes the disk state of hard disk and distribution that RAID organizes is described, and show accordingly in conjunction with array management interface.
Basis based on the invention described above embodiment mono-and the embodiment of the present invention two, identification indication information described above comprises symbolic information, for the described disk state of hard disk in same described hard disk array and the corresponding relation of identification indication information, comprises:
The described identification indication information corresponding to disk state of described normal work is the first symbol;
The described identification indication information corresponding to disk state of described fault is second symbol;
The described identification indication information corresponding to disk state of described work undetermined is the 3rd symbol;
Described identification indication information corresponding to disk state of described free time is the 4th symbol;
The described identification indication information corresponding to disk state of described power down is empty;
For the described disk state of hard disk in the described hard disk array of difference and the corresponding relation of described identification indication information, except described identification indication information corresponding to the disk state of described normal work is different, the described identification indication information that other disk state is corresponding is identical.
Based on foregoing, provide concrete application example three:
When adopting LED display as display device, when creating hard disk array information, the establishment interface going out as shown in Figure 7 creates corresponding hard disk array information for three group hard disc arrays on array management interface.Disk state corresponding to hard disk in this hard disk array selected by symbol selector, this selection can adopt the mode of artificial setting, also can adopt the mode of preset configuration to select the symbol of the identification indication information that different disk states are corresponding, last again according to selecting or the symbol of configuration carries out hardware setting to LED display, make to show in this LED display corresponding symbol.
As shown in Figure 7, the shown symbol of the hard disk under normal operating conditions of RAID0 group is triangle;
The shown symbol of hard disk under the disk state in normal work of RAID1 group is circular;
The shown symbol of hard disk under the disk state in normal work of RAID2 group is star-like;
Be that in different hard disk arrays, the hard disk under the disk state in normal work adopts different symbols to show.
The demonstration of the state of other hard disks except normal operating conditions is as shown in Figure 7:
The symbol corresponding to disk state of described fault is straight line, and the diagram with corresponding faulty disk in Fig. 7 identifies;
The symbol corresponding to disk state of described work undetermined is solid dot, in Fig. 7, by the diagram of corresponding non-member's dish (HotSpare disk), identifies;
Symbol corresponding to disk state of described free time is pentagon, not shown in Fig. 7;
The described identification indication information corresponding to disk state of described power down is empty, and not corresponding any symbol, that is to say that this LED display does not show, the grey entity with corresponding power down dish in Fig. 7 identifies.
Adopt LED display, by distinct symbols, distinguishes the disk state of hard disk and distribution that RAID organizes is described, and show accordingly in conjunction with array management interface.
It is above-mentioned that according to the difference of identification indication information, it adopts different selector switchs, it should be noted that, for above-mentioned selected color, numeral or symbol, be not limited in this in actual applications, as long as it is color, numeral or the symbol that can distinguish indication.Same, display device is also not limited in color LED or LED display.
The recognition methods of the embodiment of the present invention three based on the invention described above embodiment bis-and/or the embodiment of the present invention one disclosed hard disk, difference for display device, the identification indication information that pilot lamp after optimizing according to it or display screen can show, by being configured on array management interface, distinguishing and show hard disk array information corresponding to each hard disk array, thereby solved the problem that the distribution description of hard disk array in prior art and hard disk cannot Direct function description current states, avoided user or the mistake plug when carrying out hard disk operation with clothes.
Simultaneously, also solve the Dependence Problem with clothes or user's pair array administration interface, directly the disk state of hard disk is directly showed on the display device of corresponding hard disk, with clothes or user, can directly by the deciphering of the information to shown on display device, recognize the state of current hard disk, need not administration interface too be relied on just and can directly be operated, make user or only need to realize the identification to hard disk current state by the direct observation to the display device on hard disk array with clothes, and then the disk state based on identified is realized the maintenance to hard disk.
In the disclosed embodiment of the invention described above, describe a kind of recognition methods of hardware in detail, for the disclosed method of the embodiment of the present invention, can adopt the device of various ways to realize, therefore the present invention also corresponding the invention described above embodiment the recognition device of each self-corresponding hard disk is disclosed, provide specific embodiment below and be elaborated.
Embodiment tetra-
As shown in Figure 8, structural representation for the recognition device of the corresponding embodiment of the present invention one disclosed a kind of hard disk of the embodiment of the present invention four, this recognition device is for controlling the display device being arranged on hard disk array, by the current residing state of each hard disk in described hard disk sequence of indicating, hard disk is identified, this recognition device comprises:
Monitoring means 101, for monitoring the disk state of the current correspondence of each hard disk of hard disk array; Wherein, described disk state comprises the disk state of hard disk in normal work, the disk state of fault, the disk state of work undetermined, idle disk state and/or the disk state of power down; Described in each, described in disk state correspondence one, identify indication information;
In this monitoring means 101, include determining unit, for the process at monitoring disk state, when the initial disk state of the described hard disk of described current disk state and pre-stored inconsistent, the disk state that definite described current disk state is described hard disk.
Control module 102, the corresponding relation according to default disk state with identification indication information, controls the identification indication information that described display device shows corresponding described disk state, and the state that described hard disk is current is indicated.The implementation of the above-mentioned unit part corresponding with the embodiment of the present invention one is identical, no longer repeats here.
The structural representation of the recognition device based on the invention described above embodiment tetra-disclosed these hard disks, in conjunction with the embodiment of the present invention two, as shown in Figure 9, the structural representation of the recognition device of the corresponding embodiment of the present invention two disclosed another kind of hard disks of the embodiment of the present invention four, unit in conjunction with shown in Fig. 8, mainly comprises:
Pre-determining unit 103, for determining the disk state of described hard disk the role of the setting of described hard disk array according to each hard disk;
Wherein, the role of described hard disk in described hard disk array comprises that member coils, HotSpare disk, faulty disk, idle dish and power down dish, described member is coiled the disk state of corresponding normal work, the disk state of the corresponding work undetermined of HotSpare disk, the disk state of the corresponding fault of faulty disk, the corresponding idle disk state of idle dish, the disk state of the corresponding power down of power down dish, described hard disk array comprises the hard disk of same role or different role;
Pre-set unit 104, for described disk state and the corresponding relation of identifying indication information are set, for disk state described in same arranges identical identification indication information;
Display unit 105, for show the hard disk array information of described hard disk array on array management interface, described hard disk array information comprises the position of each hard disk in hard disk array, and on described position, show one by one the identification indication information of corresponding described disk state, make identification indication information corresponding to the hard disk in identical disk state in described hard disk array, identification indication information corresponding to hard disk in different disk states.
The implementation of the above-mentioned unit part corresponding with the embodiment of the present invention two is identical, no longer repeats here.
The structural representation of the recognition device based on the invention described above embodiment tetra-disclosed these hard disks,, also comprises in the recognition device of the embodiment of the present invention four Fig. 8 and the disclosed hard disk of Fig. 9 to the embodiment of the present invention three in conjunction with the embodiment of the present invention one:
Division unit, for divide different viewing areas on described array management interface, make viewing area described in each show the hard disk array information of a described hard disk array, described in each, in hard disk array, the hard disk of the disk state in normal work adopts different identification indication informations to show.
The concrete implementation of this unit can, referring to corresponding part in the embodiment of the present invention two, no longer repeat here.
Recognition device based on the invention described above embodiment tetra-disclosed each hard disks, the structure ofcontrol module 102 wherein as shown in figure 10, mainly comprises:
Acquisition module 1021, the corresponding relation for the disk state according to default with identification indication information, obtains the identification indication information that described current disk state is corresponding;
Modular converter 1022, for changing described identification indication information into corresponding electric signal;
Memory module 1023, for storing described electric signal to the register corresponding to universal input/output interface circuit of described hard disk;
Driver module 1024, be used for driving universal input/output interface circuit, make described universal input/output interface circuit read and drive described display device according to described electric signal, make described display device according to identification indication information corresponding to described electric signal, show the identification indication of the disk state that corresponding described hard disk is current;
Wherein, described identification indication information comprises: colouring information, numerical information or symbolic information.
The concrete implementation of this unit can, referring to corresponding part in the embodiment of the present invention two, no longer repeat here.
With the disclosed type for identification indication information in the embodiment of the present invention four, as colouring information, numerical information or symbolic information, the type of the display device relating in the embodiment of the present invention four or structure can, referring to the record in the embodiment of the present invention three, no longer repeat here.
By the recognition device of the disclosed hard disk of the invention described above embodiment, make user or only need to realize the identification to hard disk current state by the direct observation to the display device on hard disk array with clothes, and then the disk state based on identified is realized the maintenance to hard disk.
The storer that the recognition methods of the hardware of describing in conjunction with embodiment disclosed by the invention can directly use hardware, processor to carry out, or the combination of the two is implemented.Therefore, the present invention also corresponding the invention described above embodiment the methods and apparatus disclosed a kind of recognition system of hard disk is disclosed.Providing specific embodiment is below elaborated.
Embodiment five
As shown in figure 11, the structural representation for the recognition system of the embodiment of the present invention five disclosed a kind of hard disks, mainly comprises:storer 201,processor 202, input/output interface circuit 203 andhard disk array 204;
Describedhard disk array 204 comprises a plurality of hard disks and display device corresponding to hard disk described in each, described display device is for showing the identification indication information of indicating disk state, every kind of identification indication information that described disk state is corresponding unique, described disk state is for distinguishing described hard disk the role of described hard disk array;
Thestorer 201 with storage medium, described storage medium is used for storing recognition instruction, and this recognition instruction comprises the disk state of monitoring and obtain described hard disk; Corresponding relation according to default disk state with identification indication information, controls the identification indication information that described display device shows corresponding described disk state, and the state that described hard disk is current is indicated;
Thisstorer 201 can be the storage hardware of the storage medium of known any other form having in random access memory (RAM), internal memory, ROM (read-only memory) (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
With therecognition processor 202 that describedstorer 201 is connected, describedrecognition processor 202 for, call described recognizer and electric signal corresponding to the identification indication information of generation stored;
The universal input/output interface circuit 203 being connected with describedprocessor 202 for, read and drive thedisplay device 14 inhard disk array 204 according to described electric signal;
Describeddisplay device 14 is connected with described universal input/output interface circuit 203, receives and show according to the electric signal of described universal input/output interface circuit 203 transmission the identification indication of corresponding describedhard disk 11.
The preferred structure of thishard disk array 204 comprises as the combination of Fig. 1 and Figure 12: by hard disk handlebar 12, install with described hard disk handlebar 12 in the hard disk unit 1 that forms ofhard disk 11; Described in each, the interface ofhard disk 11 is arranged at the correspondence position of described array backboard 2 byadapter 13; Correspondinghard disk 11 described in each on described array backboard 2 or describedadapter 13 or described hard disk handlebar 12, is provided with the describeddisplay device 14 of the different conditions that is used to indicate current describedhard disk 11.
The implementation of above-mentioned each hardware device can, referring to the corresponding part of recording in the embodiment of the present invention one to embodiment tetra-, no longer repeat here.
It should be noted that, describeddisplay device 14 can be color LED pilot lamp, as shown in figure 13, colorLED pilot lamp 14 that shouldhard disk 11 is arranged on described array backboard 2 or described adapter 13.The shown a kind of color of described colorLED pilot lamp 14 is for identifying a kind of disk state of the current described hard disk of indication, when described color LED pilot lamp does not show described in identification corresponding to hard disk be designated as sky.Specifically can be referring to the example in the embodiment of the present invention three.
The part-structure schematic diagram of the hard disk array based on shown in accompanying drawing 13, as shown in figure 14, also comprise thebi-colour LED 15 being arranged on described hard disk handlebar 12, the shown a kind of color of describedbi-colour LED 15 is used to indicate the disk state (be generally red) of current described hard disk in normal work, and shown another kind of color is used to indicate the disk state (be generally yellow) of current described hard disk in non-normal working.Between describedbi-colour LED 15 and described colorLED pilot lamp 14, adopt light-guidingpillar 16 to be connected.
It should be noted that, describeddisplay device 14 can be LED display, as shown in figure 15,LED display 14 that shouldhard disk 11 is arranged on described array backboard 2 or described adapter 13.DescribedLED display 14 is arranged on described hard disk handlebar 12, in the control interface 21 connecting interface 18 being inserted on described array backboard 2 by connecting line 17.A kind of numeral that describedLED display 14 is shown or symbol for identify indication current described hard disk a kind of disk state, when describedLED display 14 does not show described in identification corresponding to hard disk be designated as sky.Specifically can be referring to the example in the embodiment of the present invention three.
It should be noted that, in the embodiment of the present invention one to embodiment five, in carrying out the process of above-mentioned hard disk identification, at display device, show in the process of identification indication information of corresponding described disk state, this identification indication information also the while on array management interface to showing on the position of hard disk.When the initial disk state of the described hard disk of described current disk state and pre-stored is inconsistent, same, obtain identification indication information the demonstration of change on array management interface that the current disk state of described hard disk is corresponding.
In sum:
The embodiment of the present invention increases display device on hard disk array, and be arranged on the display device on hard disk array by control, indicate the current residing state of each hard disk in described hard disk sequence, thereby make user or only pass through the observation of the display device on hard disk array to realize the identification to hard disk current state with clothes, and then the disk state based on identified is realized the maintenance to hard disk.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, between each embodiment identical similar part mutually referring to.For the disclosed device of embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part partly illustrates referring to method.
Above-mentioned explanation to the disclosed embodiments, makes professional and technical personnel in the field can realize or use the present invention.To the multiple modification of these embodiment, will be apparent for those skilled in the art, General Principle as defined herein can, in the situation that not departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.