CN105512003A - Disk positioning method and device - Google Patents

Disk positioning method and device Download PDF

Info

Publication number
CN105512003A
CN105512003A CN201510861797.9A CN201510861797A CN105512003A CN 105512003 A CN105512003 A CN 105512003A CN 201510861797 A CN201510861797 A CN 201510861797A CN 105512003 A CN105512003 A CN 105512003A
Authority
CN
China
Prior art keywords
disk
bright light
described disk
light information
lighting time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510861797.9A
Other languages
Chinese (zh)
Other versions
CN105512003B (en
Inventor
蒋家福
车玉坤
李阳
付根希
杨浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin Zhongke Shuguang Storage Technology Co.,Ltd.
Original Assignee
Dawning Information Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dawning Information Industry Co Ltd filed Critical Dawning Information Industry Co Ltd
Priority to CN201510861797.9A priority Critical patent/CN105512003B/en
Publication of CN105512003A publication Critical patent/CN105512003A/en
Application granted granted Critical
Publication of CN105512003B publication Critical patent/CN105512003B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3037Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a memory, e.g. virtual memory, cache
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/325Display of status information by lamps or LED's

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The application provides a disk positioning method and device; the method comprises the following steps: receiving a disk positioning order; polling presetting disk lighting information in a disk lighting information cluster, wherein the disk lighting information cluster comprises one or more disk lighting information, the disk lighting information comprises a disk mark, a disk positioning lamp state, a lighting start time, and a lighting lasting time; controlling the disk positioning lamps to open or close according to the disk lighting information and the preset sequence. The method receives the disk positioning order, polling presets the disk lighting information in the disk lighting information cluster, and one or more disk positioning lamps can be controlled to open or close in sequence according to the disk lighting information, thus positioning the disk; in the prior art, the positioning lamps are opened one by one so as to test the disk position; the novel method is more convenient and faster.

Description

A kind of disk localization method and device
Technical field
The application relates to computer memory technical field, particularly relates to a kind of disk localization method and device.
Background technology
Along with the development of infotech, how storing mass data becomes the significant challenge that industry faces.Current most popular storage products is disk, the storage of mass data, be unable to do without the management to a large amount of disk.The work that technician usually faces to the replacement of disk, maintenance, installation, dismounting.Therefore, locate a disk in a production environment quickly and easily for increasing work efficiency, the reliability improving storage system is very meaningful.
At present, the technology positioned disk, normally for a disk, if will position multiple disk, then needs the positioning lamp lighting disk singly, judges that whether the panel number configuration of this disk is correct, operate more loaded down with trivial details with this.
Prior art deficiency is:
Existing disk location technology can only determine the position of disk by positioning lamp switch test singly, operate comparatively loaded down with trivial details.
Summary of the invention
The embodiment of the present application proposes a kind of disk localization method and device, to solve the position can only determining disk in prior art by positioning lamp switch test singly, operates comparatively loaded down with trivial details technical matters.
The embodiment of the present application provides a kind of disk localization method, comprises the steps:
Reception of magnetic disc positioning instruction;
Poll presets the disk bright light information in disk bright light information aggregate; Wherein, described disk bright light information aggregate comprises one or more disk bright light information, and described disk bright light information comprises disk mark, disk positioning lamp state, starts lighting time, continues lighting time and terminate lighting time;
Open or close according to the positioning lamp that described disk bright light information controls described disk according to preset order.
The embodiment of the present application provides a kind of disk locating device, comprising:
Receiver module, for reception of magnetic disc positioning instruction;
Poller module, presets the disk bright light information in disk bright light information aggregate for poll; Wherein, described disk bright light information aggregate comprises one or more disk bright light information, and described disk bright light information comprises disk mark, disk positioning lamp state, starts lighting time, continues lighting time and terminate lighting time;
Control module, opens or closes for the positioning lamp controlling described disk according to preset order according to described disk bright light information.
Beneficial effect is as follows:
The disk localization method that the embodiment of the present application provides and device, after receiving disk positioning instruction, the disk bright light information in disk bright light information aggregate is preset by poll, open or close according to the positioning lamp that described disk bright light information controls described disk according to preset order, realize the unlatching or the closedown that control the positioning lamp of one or more disk in order, thus reach the object of positioning disk, the mode of positioning lamp test Disk Locality is opened one by one compared to existing technology, the technical scheme adopting the embodiment of the present application to provide is convenient, fast.
Accompanying drawing explanation
The specific embodiment of the application is described below with reference to accompanying drawings, wherein:
Fig. 1 shows the schematic flow sheet that in the embodiment of the present application, disk localization method is implemented;
Fig. 2 shows the schematic diagram of disk bright light information aggregate and thread process in the embodiment of the present application;
Fig. 3 shows in the embodiment of the present application the process schematic increasing bright light disk;
Fig. 4 shows the schematic flow sheet of order bright light in the embodiment of the present application;
Fig. 5 shows the processing procedure schematic diagram of the embodiment of the present application thread traversal disk;
Fig. 6 shows the structural representation of disk locating device in the embodiment of the present application.
Embodiment
In order to the technical scheme and advantage that make the application are clearly understood, be described in more detail below in conjunction with the exemplary embodiment of accompanying drawing to the application, obviously, described embodiment is only a part of embodiment of the application, instead of all embodiments is exhaustive.And when not conflicting, the embodiment in this explanation and the feature in embodiment can be combined with each other.
For the deficiencies in the prior art, the embodiment of the present application proposes a kind of disk localization method and device, is described below.
Fig. 1 shows the schematic flow sheet that in the embodiment of the present application, disk localization method is implemented, and as shown in the figure, described disk localization method can comprise the steps:
Step 101, reception of magnetic disc positioning instruction;
Step 102, poll preset the disk bright light information in disk bright light information aggregate; Wherein, described disk bright light information aggregate comprises one or more disk bright light information, and described disk bright light information comprises disk mark, disk positioning lamp state, starts lighting time and lasting lighting time;
Step 103, the positioning lamp controlling described disk according to preset order according to described disk bright light information open or close.
In concrete enforcement, user can send disk positioning instruction by the device such as button, button, and the embodiment of the present application, after receiving disk positioning instruction, can start polling operation.
In the embodiment of the present application, disk bright light information aggregate can be pre-set, the bright light Information Organization of disks all on machine is got up, is formed as list, chained list or other forms of set, in described disk bright light information aggregate, one or more disk bright light information can be comprised.
Described disk bright light information can comprise: the mark, disk positioning lamp state, beginning lighting time, lasting lighting time, end lighting time etc. of disk.
Wherein, described end lighting time can refer to the termination time that disk is located, and from described end lighting time, the positioning lamp of described disk can not be lighted, again until receive disk positioning instruction next time.After receiving disk positioning instruction, reach described end lighting time before, the positioning lamp of all disks can circulate in order always light.
Such as: suppose to have 2 pieces of disks, current time is 00:00:00, the T.T. of all disk bright lights is 10s,
Disk 01, continue lighting time be 2s, beginning lighting time is 00:00:02, end lighting time is 00:00:10;
Disk 02, continue lighting time be 2s, beginning lighting time is 00:00:04, end lighting time is 00:00:10.
So, 00:00:02 disk 01 bright light, 00:00:04 disk 02 bright light; Owing to also not arriving 00:00:10, so 00:00:06 disk 01 bright light, 00:00:08 disk 02 bright light, reach 00:00:10 after disk 02 bright light, all disks terminate bright light, until receive disk positioning instruction next time.
In concrete enforcement, disk bright light information aggregate can leave in internal memory, also can deposit in non-volatile media, the memory organization mode of described disk bright light information aggregate can be the data structures such as array, chained list, Hash, supports the operations such as interpolation, deletion, traversal.
The disk localization method that the embodiment of the present application provides, by managing the opening and closing of one or more disk positioning lamp, the order that disk can be made to preset according to certain opens positioning lamp, to check whether the order that this is preset conforms to the order of reality, locates one or more disk easily and quickly.
In enforcement, the disk bright light information that described poll is preset in disk bright light information aggregate is specifically as follows:
All disk bright light information in disk bright light information aggregate is preset by multithreading or multi-process poll.
In concrete enforcement, can by the bright light information of each disk in disk bright light information aggregate described in one or more independently thread/process poll.
Described poll can be regularly/automatic regular polling, also can constantly poll until receive halt instruction.
Fig. 2 shows the schematic diagram of disk bright light information aggregate and thread process in the embodiment of the present application, as shown in the figure,
Disk bright light information can comprise: the information such as disk mark, disk positioning lamp state (ON/OFF), beginning lighting time, lasting lighting time, end lighting time.
Disk mark uniquely can determine certain disk on machine, and this disk can be utilized to identify, use small computer system interface (SCSI, SmallComputerSystemInterface) order or third party's instrument to control the switch of the positioning lamp at disk place.
Disk bright light information aggregate can leave in internal memory, also can leave in non-volatile media.The memory organization mode of disk bright light information aggregate can be the plurality of data structures such as array, chained list, Hash, supports the operations such as interpolation, deletion, traversal.
The embodiment of the present application passes through the mode poll of multithreading or multi-process, procedure division can be become multiple independently task, improve corresponding speed.
In enforcement, described method may further include:
Receive and increase disk requests; Described request comprises disk mark and continues lighting time;
Described disk is judged whether in described disk bright light information aggregate according to described disk mark;
If described disk in described disk bright light information aggregate, does not arrange the bright light information of described disk according to described lasting lighting time, and described disk bright light information is added into described disk bright light information aggregate.
In concrete enforcement, increase the lasting lighting time that a disk needs the mark of designated disk and described newly-increased disk, user by mode determination disk marks such as input through keyboard and can continue lighting time, and button click sends the request increasing disk.
In the embodiment of the present application, increase after disk requests receiving, first according to disk mark, judge described disk whether in described disk bright light information aggregate, that is, whether contained this disk in described disk bright light information aggregate.
If described disk is in described disk bright light information aggregate, then can revise the bright light information of described disk according to described lasting lighting time.Be specifically as follows, the beginning lighting time of described disk is set to current time, is set to the lasting lighting time inputted the lasting lighting time of described disk, is set to current time+described lasting lighting time the end lighting time of described disk.
If described disk is not in described disk bright light information aggregate, then the bright light information of described disk can be set according to described lasting lighting time.Be specifically as follows, the mark of described disk is set, the positioning lamp original state of described disk is set for turning off the light, the beginning lighting time arranging residing disk is current time, the lasting lighting time that lasting lighting time is input is set, is set to current time+described lasting lighting time the end lighting time of described disk.After the setup, using described disk bright light information as an element, be added into described disk bright light information aggregate.
Fig. 3 shows in the embodiment of the present application the process schematic increasing bright light disk, as shown in the figure, can comprise the steps:
The information such as step 301, input disk mark, lasting lighting time;
Step 302, judge whether comprised described disk in described disk bright light information aggregate;
If comprised, perform step 303;
If do not comprised, perform step 304;
Step 303, revise the bright light information of described disk;
The beginning lighting time of disk can be set to current time, be set to the lasting lighting time inputted the lasting lighting time of described disk, the end lighting time of described disk be set to current time and add described lasting lighting time.
Step 304, the bright light information of described disk is set;
The mark of described disk is set, the lighting lamp state of described disk be turn off the light, beginning lighting time of described disk is current time, the lasting lighting time of described disk is the lasting lighting time of input, the end lighting time of described disk is that current time adds described lasting lighting time.
Step 305, using the bright light information of described disk as an element, add in disk bright light information aggregate.
In enforcement, described preset order can be the panel order of disk, and described disk positioning lamp original state is for turning off the light, and the beginning lighting time of described disk is currentTime+I*T, it is T that disk continues lighting time, and it is currentTime+M that disk terminates lighting time; Wherein, described currentTime is current time, and I is disk sequence number, and M is the T.T. of order bright light.
Fig. 4 shows the schematic flow sheet of order bright light in the embodiment of the present application, as shown in the figure, can comprise the steps:
Step 401, the input T.T. M of bright light and the lasting lighting time T of each disk;
Step 402, by all disks on machine according to the panel number order sequence preset;
During concrete enforcement, default panel number can be number inconsistent with real panel.
Step 403, judge whether disk sequence number i is less than disk sum:
If be less than, then perform step 404;
If be not less than, then terminate;
Step 404, for sequence after each disk, every property value is set from i=0:
The mark of disk is set, the lighting lamp state of disk be turn off the light, beginning lighting time of disk is that current time adds that I is multiplied by T, the lasting lighting time of each disk is T, the end lighting time of each disk is that current time adds M.
Step 405, using the bright light information of each disk after sequence as an element, add in disk bright light information aggregate.
By pressing the positioning lamp of panel sequential illumination disk preset of disk, can facilitate, intuitively the panel number of chkdsk whether configure correctly.If the panel sequence consensus of the bright light of disk sequentially and on machine, so the panel configuration of disk is correct, otherwise the panel of disk number configuration mistake.
In enforcement, the described positioning lamp controlling described disk according to preset order according to described disk bright light information opens or closes, and is specifically as follows:
If the difference of the beginning lighting time of current time and described disk is greater than the lasting lighting time of described disk, and the current positioning lamp state of described disk is bright light, close the positioning lamp of described disk and described disk positioning lamp state be set to turn off the light, the beginning of described disk lighting time=current beginning lighting time+the disk sum continuing in lighting time * current collection;
If the difference of the beginning lighting time of current time and described disk is less than the lasting lighting time of described disk, and the current positioning lamp state of described disk is for turning off the light, and opens the positioning lamp of described disk and described disk positioning lamp state is set to bright light;
If current time exceedes the end lighting time of described disk, close the positioning lamp of described disk and described disk bright light information is deleted from described disk bright light information aggregate.
Fig. 5 shows the processing procedure schematic diagram of the embodiment of the present application thread traversal disk, as shown in the figure, can comprise the steps:
Step 501, judge whether i is less than disk sum:
If be less than, then perform step 502;
If be not less than, then terminate;
Step 502, selection i-th disk are the element when pre-treatment;
During concrete enforcement, thread can select an element in set, and this element represents the bright light information of a disk.
Step 503, judge whether current time has exceeded the end lighting time of disk:
If do not exceeded, then perform step 504;
If exceeded, then perform step 505;
Step 504, stop the positioning lamp of this disk, and described disk is deleted from set, jump to step 501;
Step 505, judge whether the difference of the initial lighting time of current time and described disk is greater than the lasting lighting time of disk, and the current lighting lamp state of described disk is bright light:
If so, then step 506 is performed;
If not, then perform step 510;
Step 506, close described disk positioning lamp and its disk lighting lamp state is set to turn off the light;
Step 507, judge whether current time exceedes the end lighting time of this disk:
If do not exceeded, then perform step 508;
If exceeded, then perform step 509;
Step 508, revise initial lighting time of this disk, the initial lighting time of described disk is set to current initial lighting time+the disk sum (supposing that the lasting lighting time of all disks is identical) continuing in lighting time * current collection;
Step 509, i=i+1, jump to step 501;
Step 510, judge whether the difference of the initial lighting time of current time and described disk is less than the lasting lighting time of described disk, and the current lighting lamp state of described disk is for turning off the light:
If so, then step 511 is performed;
If not, then perform step 509;
Step 511, open the positioning lamp of described disk, and the lighting lamp state of described disk is set to bright light, jump to step 509.
The embodiment of the present application can safeguard the set of a disk bright light information, in set, each element can represent the lighting lamp state of a disk, and by each disk in the constantly poll set of one or more independently thread (or process), and disk is processed accordingly, comprise bright light, stop bright light, reconfigure bright light information, delete from current collection.
Order bright light in the embodiment of the present application can refer in a period of time, and all disks are opened positioning lamp respectively according to certain order and continue for some time.
The bright light process of all disks is stopped to be in the embodiment of the present application:
Each disk in traversal disk bright light information aggregate, can do following process for each disk:
1) positioning lamp of this disk is stopped;
2) this disk is deleted from set.
The disk positioning lamp control method that the embodiment of the present application provides, list, chained list or other set can be used to be organized by the disk (comprising the initial time, end time, duration etc. of disk mark, location) just in bright light, by the disk in one or more thread/process timing traversal set, and control the switch of the positioning lamp of one or more disk, realize lighting disk positioning lamp in order, thus reach the object of positioning disk, whether the configuration that can also detect disk panel number is easily correct.
Based on same inventive concept, a kind of disk locating device is additionally provided in the embodiment of the present application, the principle of dealing with problems due to these equipment is similar to a kind of disk localization method, and therefore the enforcement of these equipment see the enforcement of method, can repeat part and repeat no more.
Fig. 6 shows the structural representation of disk locating device in the embodiment of the present application, and as shown in the figure, described disk locating device can comprise:
Receiver module 601, for reception of magnetic disc positioning instruction;
Poller module 602, presets the disk bright light information in disk bright light information aggregate for poll; Wherein, described disk bright light information aggregate comprises one or more disk bright light information, and described disk bright light information comprises disk mark, disk positioning lamp state, starts lighting time, continues lighting time and terminate lighting time;
Control module 603, opens or closes for the positioning lamp controlling described disk according to preset order according to described disk bright light information.
In enforcement, described poller module specifically may be used for presetting all disk bright light information in disk bright light information aggregate by multithreading or multi-process poll.
In enforcement, described device may further include:
Request receiving module 604, for receiving increase disk requests; Described request comprises disk mark and continues lighting time;
Judge module 605, for judging described disk whether in described disk bright light information aggregate according to described disk mark;
Disk increases module 606, if for described disk not in described disk bright light information aggregate, arrange the bright light information of described disk according to described lasting lighting time, and described disk bright light information is added into described disk bright light information aggregate.
In enforcement, described preset order is the panel order of disk, and described disk positioning lamp original state is for turning off the light, and the beginning lighting time of described disk is currentTime+I*T, it is T that disk continues lighting time, and it is currentTime+M that disk terminates lighting time; Wherein, described currentTime is current time, and I is disk sequence number, and M is the T.T. of order bright light.
In enforcement, described control module specifically can comprise:
To turn off the light unit 6031, if the difference for the beginning lighting time of current time and described disk is greater than the lasting lighting time of described disk, and the current positioning lamp state of described disk is bright light, close the positioning lamp of described disk and described disk positioning lamp state be set to turn off the light, the beginning of described disk lighting time=current beginning lighting time+the disk sum continuing in lighting time * current collection;
Bright light unit 6032, if the difference for the beginning lighting time of current time and described disk is less than the lasting lighting time of described disk, and the current positioning lamp state of described disk is for turning off the light, opens the positioning lamp of described disk and described disk positioning lamp state is set to bright light;
Delete cells 6033, if the end lighting time exceeding described disk for current time, closes the positioning lamp of described disk and described disk bright light information is deleted from described disk bright light information aggregate.
For convenience of description, each several part of the above device is divided into various module or unit to describe respectively with function.Certainly, the function of each module or unit can be realized in same or multiple software or hardware when implementing the application.
Those skilled in the art should understand, the embodiment of the application can be provided as method, system or computer program.Therefore, the application can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the application can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The application describes with reference to according to the process flow diagram of the method for the embodiment of the present application, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Although described the preferred embodiment of the application, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the application's scope.

Claims (10)

1. a disk localization method, is characterized in that, comprises the steps:
Reception of magnetic disc positioning instruction;
Poll presets the disk bright light information in disk bright light information aggregate; Wherein, described disk bright light information aggregate comprises one or more disk bright light information, and described disk bright light information comprises disk mark, disk positioning lamp state, starts lighting time and lasting lighting time;
Open or close according to the positioning lamp that described disk bright light information controls described disk according to preset order.
2. the method for claim 1, is characterized in that, the disk bright light information that described poll is preset in disk bright light information aggregate is specially:
All disk bright light information in disk bright light information aggregate is preset by multithreading or multi-process poll.
3. the method for claim 1, is characterized in that, comprises further:
Receive and increase disk requests; Described request comprises disk mark and continues lighting time;
Described disk is judged whether in described disk bright light information aggregate according to described disk mark;
If described disk in described disk bright light information aggregate, does not arrange the bright light information of described disk according to described lasting lighting time, and described disk bright light information is added into described disk bright light information aggregate.
4. the method for claim 1, is characterized in that, described preset order is the panel order of disk, and described disk positioning lamp original state is for turning off the light, and the beginning lighting time of described disk is currentTime+I*T, and it is T that disk continues lighting time; Wherein, described currentTime is current time, and I is disk sequence number.
5. the method for claim 1, is characterized in that, the described positioning lamp controlling described disk according to preset order according to described disk bright light information opens or closes, and is specially:
If the difference of the beginning lighting time of current time and described disk is greater than the lasting lighting time of described disk, and the current positioning lamp state of described disk is bright light, close the positioning lamp of described disk and described disk positioning lamp state be set to turn off the light, the beginning of described disk lighting time=current beginning lighting time+the disk sum continuing in lighting time * current collection;
If the difference of the beginning lighting time of current time and described disk is less than the lasting lighting time of described disk, and the current positioning lamp state of described disk is for turning off the light, and opens the positioning lamp of described disk and described disk positioning lamp state is set to bright light;
If current time exceedes the end lighting time of described disk, close the positioning lamp of described disk and described disk bright light information is deleted from described disk bright light information aggregate.
6. a disk locating device, is characterized in that, comprising:
Receiver module, for reception of magnetic disc positioning instruction;
Poller module, presets the disk bright light information in disk bright light information aggregate for poll; Wherein, described disk bright light information aggregate comprises one or more disk bright light information, and described disk bright light information comprises disk mark, disk positioning lamp state, starts lighting time and lasting lighting time;
Control module, opens or closes for the positioning lamp controlling described disk according to preset order according to described disk bright light information.
7. device as claimed in claim 6, it is characterized in that, described poller module is specifically for presetting all disk bright light information in disk bright light information aggregate by multithreading or multi-process poll.
8. device as claimed in claim 6, is characterized in that, comprise further:
Request receiving module, for receiving increase disk requests; Described request comprises disk mark and continues lighting time;
Judge module, for judging described disk whether in described disk bright light information aggregate according to described disk mark;
Disk increases module, if for described disk not in described disk bright light information aggregate, arrange the bright light information of described disk according to described lasting lighting time, and described disk bright light information is added into described disk bright light information aggregate.
9. device as claimed in claim 6, it is characterized in that, described preset order is the panel order of disk, and described disk positioning lamp original state is for turning off the light, and the beginning lighting time of described disk is currentTime+I*T, and it is T that disk continues lighting time; Wherein, described currentTime is current time, and I is disk sequence number.
10. device as claimed in claim 6, it is characterized in that, described control module specifically comprises:
To turn off the light unit, if the difference for the beginning lighting time of current time and described disk is greater than the lasting lighting time of described disk, and the current positioning lamp state of described disk is bright light, close the positioning lamp of described disk and described disk positioning lamp state be set to turn off the light, the beginning of described disk lighting time=current beginning lighting time+the disk sum continuing in lighting time * current collection;
Bright light unit, if the difference for the beginning lighting time of current time and described disk is less than the lasting lighting time of described disk, and the current positioning lamp state of described disk is for turning off the light, opens the positioning lamp of described disk and described disk positioning lamp state is set to bright light;
Delete cells, if the end lighting time exceeding described disk for current time, closes the positioning lamp of described disk and described disk bright light information is deleted from described disk bright light information aggregate.
CN201510861797.9A 2015-11-30 2015-11-30 A kind of disk localization method and device Active CN105512003B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510861797.9A CN105512003B (en) 2015-11-30 2015-11-30 A kind of disk localization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510861797.9A CN105512003B (en) 2015-11-30 2015-11-30 A kind of disk localization method and device

Publications (2)

Publication Number Publication Date
CN105512003A true CN105512003A (en) 2016-04-20
CN105512003B CN105512003B (en) 2018-06-26

Family

ID=55720004

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510861797.9A Active CN105512003B (en) 2015-11-30 2015-11-30 A kind of disk localization method and device

Country Status (1)

Country Link
CN (1) CN105512003B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108182136A (en) * 2018-01-11 2018-06-19 郑州云海信息技术有限公司 A kind of system and method for lighting disk positioning lamp in raid
CN108762689A (en) * 2018-06-14 2018-11-06 郑州云海信息技术有限公司 A kind of method, apparatus, equipment and storage medium automatically creating disk array
CN108958960A (en) * 2018-07-26 2018-12-07 郑州云海信息技术有限公司 Low-quality disk localization method, device, equipment and storage medium in distributed storage cluster
CN112000532A (en) * 2020-07-30 2020-11-27 浪潮电子信息产业股份有限公司 Method, device, equipment and system for detecting disk disorder

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101266814A (en) * 2008-05-08 2008-09-17 杭州华三通信技术有限公司 Disk location method in storage system and storage system for locating disk
US20090189089A1 (en) * 2005-07-05 2009-07-30 3M Innovative Properties Company Valve control system for a rotating multiplex fluorescence detection device
CN103117075A (en) * 2012-12-27 2013-05-22 华为技术有限公司 Magnetic disk block detection method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090189089A1 (en) * 2005-07-05 2009-07-30 3M Innovative Properties Company Valve control system for a rotating multiplex fluorescence detection device
CN101266814A (en) * 2008-05-08 2008-09-17 杭州华三通信技术有限公司 Disk location method in storage system and storage system for locating disk
CN103117075A (en) * 2012-12-27 2013-05-22 华为技术有限公司 Magnetic disk block detection method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108182136A (en) * 2018-01-11 2018-06-19 郑州云海信息技术有限公司 A kind of system and method for lighting disk positioning lamp in raid
CN108762689A (en) * 2018-06-14 2018-11-06 郑州云海信息技术有限公司 A kind of method, apparatus, equipment and storage medium automatically creating disk array
CN108762689B (en) * 2018-06-14 2020-09-25 苏州浪潮智能科技有限公司 Method, device and equipment for automatically creating disk array and storage medium
CN108958960A (en) * 2018-07-26 2018-12-07 郑州云海信息技术有限公司 Low-quality disk localization method, device, equipment and storage medium in distributed storage cluster
CN112000532A (en) * 2020-07-30 2020-11-27 浪潮电子信息产业股份有限公司 Method, device, equipment and system for detecting disk disorder
CN112000532B (en) * 2020-07-30 2022-03-22 浪潮电子信息产业股份有限公司 Method, device, equipment and system for detecting disk disorder

Also Published As

Publication number Publication date
CN105512003B (en) 2018-06-26

Similar Documents

Publication Publication Date Title
CN105512003A (en) Disk positioning method and device
CN101593249B (en) Suspicious file analyzing method and suspicious file analyzing system
CN108376100A (en) Container scheduling based on safety
KR20170008152A (en) Data property-based data placement in nonvolatile memory device
CN101587455B (en) Method for checking memory leak for vxWorks operating system
CN105446143B (en) information processing method and electronic equipment
CN104461521B (en) A kind of application program playback method and system
CN104503875A (en) Test method and test system of Android device
JP2009505278A5 (en)
RU2011117318A (en) INFORMATION PROCESSING DEVICE, INFORMATION PROCESSING METHOD AND PROGRAM
CN104978261A (en) Test method, device and system of application program
CN107784108A (en) A kind of data storage and management method, device and equipment
CN103777871A (en) Method and device for starting application in screen locking state
CN103049405A (en) Management method and system of android device files
CN106909480B (en) Cross debugging method and device for embedded system
CN110764978A (en) Hard disk lighting method and device, electronic equipment and storage medium
US20140330437A1 (en) Facility management device, facility management system, facility management method, and program
CN103885798A (en) Data processing method and electronic device
CN113076233B (en) IO performance detection method, device, equipment and storage medium
CN105975306A (en) Application program starting management method and application program starting management apparatus for electronic device
CN107291524B (en) Remote command processing method and device
CN104216839A (en) Information interaction method, device and terminal
CN104298418A (en) Displaying method and device for application program and terminal
CN104461603A (en) Information processing method and electronic equipment
WO2015127883A1 (en) Method, apparatus and medium for continuous playback of sound file

Legal Events

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

Effective date of registration: 20220124

Address after: 300450 3 / F, No. 15, Haitai Huake street, Huayuan Industrial Zone (outer ring), Tianjin Binhai New Area, Tianjin

Patentee after: Tianjin Zhongke Shuguang Storage Technology Co.,Ltd.

Address before: 300384 Xiqing District, Tianjin Huayuan Industrial Zone (outside the ring) 15 1-3, hahihuayu street.

Patentee before: DAWNING INFORMATION INDUSTRY Co.,Ltd.

TR01 Transfer of patent right