CN101788886B - Array card control method - Google Patents

Array card control method Download PDF

Info

Publication number
CN101788886B
CN101788886B CN2009100060590A CN200910006059A CN101788886B CN 101788886 B CN101788886 B CN 101788886B CN 2009100060590 A CN2009100060590 A CN 2009100060590A CN 200910006059 A CN200910006059 A CN 200910006059A CN 101788886 B CN101788886 B CN 101788886B
Authority
CN
China
Prior art keywords
interface
interface instruction
instruction
control method
array
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2009100060590A
Other languages
Chinese (zh)
Other versions
CN101788886A (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.)
Tao Haishan
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CN2009100060590A priority Critical patent/CN101788886B/en
Publication of CN101788886A publication Critical patent/CN101788886A/en
Application granted granted Critical
Publication of CN101788886B publication Critical patent/CN101788886B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention relates to an array card control method, wherein the array card is used for receiving at least one first interface instruction to control at least one device which is connected with a second interface on an array card; the array card control method includes the following steps of detecting at least one device which is connected with the second interface, establishing at least one first interface virtual device respectively corresponding to the at least one device, establishing a first interface instruction array, checking whether the first interface instruction array receives the at least one first interface instruction from a host machine every other period, translating the first interface instruction to at least one second interface instruction when the first interface instruction array receives the first interface instruction, controlling the device according to the second interface instruction, respectively sending a device message to the corresponding first interface virtual device by the device and returning the corresponding device message to the host machine by at least one first interface virtual device.

Description

Array card control method
Technical field
The invention relates to a kind of array card control method, and the array card control method of the device that is particularly connected with second interface on the array of controls card relevant for a kind of reception first interface instruction.
Background technology
In the system of Linux, normally come each device on the slim calculator system interface RAID card is controlled by slim calculator system interface type driver (SCSI generic driver).Yet, because the difference of RAID card manufacturer makes RAID card may see through different drivers and controls.Therefore, the application software that designs at slim calculator system interface type driver in the linux system, and the use of the RAID card of other driver of can't arranging in pairs or groups, and must redesign to support different drivers.Above-mentioned mode will be a process consuming time and effort, to stressing the scientific and technological industry of efficient, be quite disadvantageous.
Therefore, how designing a new array card control method, different drivers can be integrated with the default driver of supporting in the linux system, is the industry problem demanding prompt solution.
Summary of the invention
Therefore the object of the present invention is to provide a kind of array card control method, different drivers can be integrated with the default driver of supporting in the linux system.
To achieve these goals, the invention provides a kind of array card control method, wherein RAID card is in order to receiving at least one device that at least one first interface instruction is connected with second interface on the array of controls card, and array card control method comprises the following step: detect at least one device that is connected on second interface; Set up at least one first interface virtual bench, respectively corresponding at least one device; Set up the first interface instruction formation; Phase checks that whether the first interface instruction formation receives to few one first interface instruction from main frame week about, and when the first interface instruction formation receives first interface instruction, translating first interface instruction is at least one second interface instruction; According to the second interface instruction control device; Device transmits a device information respectively to the first corresponding interface virtual bench; And the device information of at least one first interface virtual bench passback correspondence is to main frame.
The invention has the advantages that to utilize and set up virtual bench, after conversion first interface instruction is second interface instruction, the device on second interface is carried out the control of essence, and reach above-mentioned purpose easily to receive first interface instruction from main frame.
Behind the embodiment of consulting accompanying drawing and describing subsequently, this technical field has knows that usually the knowledgeable just can understand purpose of the present invention, and technological means of the present invention and embodiment.
Description of drawings
For above and other objects of the present invention, feature, advantage and embodiment can be become apparent, being described in detail as follows of appended accompanying drawing:
Fig. 1 is the synoptic diagram of an array card system of setting up according to the array card control method of the first embodiment of the present invention; And
Fig. 2 is a process flow diagram of the array card control method of the first embodiment of the present invention.
[primary clustering symbol description]
1: RAID card system 10: RAID card
101: the first interface instructions of interface instruction formation in 100: the first
102,104,103: the second interface instructions of 106: the first interface virtual benchs
12,14,16: device 108: translation module
18: main frame 121,141,161: device information
Embodiment
Please refer to Fig. 1, be the synoptic diagram of an array card system 1 of setting up according to the array card control method of the first embodiment of the present invention.RAID card system 1 comprises RAID card 10 and three devices 12,14,16.RAID card 10 is in order to receive the device 12,14,16 that first interface instruction 101 is connected with RAID card 10 by second interface (not illustrating) on the RAID card 10 with control from a main frame 18.First interface and second interface are the slim calculator system interface of two inequalities in one embodiment.Among one embodiment, application program in the main frame 18 in fact only provides first interface instruction 101, yet because the form of first interface instruction 101 is to be 12,14,16 identifications of the device on second interface, can't directly control, therefore need provide a new mechanism so that first interface instruction 101 can be controlled installing 12,14,16 indirectly to the device on second interface 12,14,16.After RAID card 10 passes through second interface and device 12,14,16 is connected, RAID card 10 will be set up the first interface virtual bench 102,104,106 of corresponding intrument 12,14,16, and set up one first interface instruction formation 100.The first interface instruction formation 100 is in order to receive first interface instruction 101 from main frame 18.RAID card 10 will be carried out first interface instruction 101 in the mode of poll, anticipate promptly the phase week about, and RAID card 10 will check whether received first interface instruction 101 in the first interface instruction formation 100.Among one embodiment, RAID card 10 is to judge by a quene state parameter, and when the first interface instruction formation 100 does not receive any first interface instruction 101, then the quene state parameter setting is non-busy condition, and RAID card 10 will be left intact.If the first interface instruction formation 100 has received at least one first interface instruction 101, then the quene state parameter will be set at busy condition, RAID card 10 will take out all first interface instructions 101 in the first interface instruction formation 100, and further make first interface instruction 101 translate to second interface instruction 103 by translation module 108.RAID card 10 further transmits the device 12,14,16 of second interface instruction 103 to correspondence, to carry out access according to second interface instruction, 103 control device 12,14,16.After device 12,14,16 is finished the indicated control action of second interface instruction 103, with the first interface virtual bench 102,104,106 of difference conveyer information 121,141,161 to correspondence, after the first interface virtual bench 102,104,106 receives, device information 121,141,161 is back to an application program of main frame 18 again, so that main frame 18 learns that control action is finished.
Fig. 2 is a process flow diagram of the array card control method of the first embodiment of the present invention.Array card control method is in order to receive at least one device that at least one first interface instruction is connected with second interface on the array of controls card, the RAID card interface control method comprises the following step: in step 201, detect at least one device that is connected on second interface; In step 202, set up at least one first interface virtual bench, respectively corresponding at least one device; In step 203, set up the first interface instruction formation; In step 204, the phase checks that whether the first interface instruction formation receives to few one first interface instruction from main frame week about, and when the first interface instruction formation receives first interface instruction, translating first interface instruction is at least one second interface instruction; In step 205, according to the second interface instruction control device; In step 206, device transmits a device information respectively to the first corresponding interface virtual bench; And in step 207, first interface virtual bench passback device information is to main frame.
The invention has the advantages that to utilize and set up virtual bench, after conversion first interface instruction is second interface instruction, the device on second interface is carried out the control of essence to receive first interface instruction from main frame.
Though the present invention discloses as above with a preferred embodiment; right its is not in order to limit the present invention; any person skilled in the art; without departing from the spirit and scope of the present invention; when can being used for a variety of modifications and variations, so protection scope of the present invention is when being as the criterion with the scope that claims were defined.

Claims (4)

1. an array card control method is characterized in that, this RAID card is in order to receiving at least one device that at least one first interface instruction is connected with one second interface of controlling on this RAID card, and this array card control method comprises the following step:
Detect this at least one device that is connected on this second interface;
Set up at least one first interface virtual bench, respectively to should at least onely installing;
Set up one first interface instruction formation;
Phase checks whether this first interface instruction formation receives this at least one first interface instruction from a main frame week about, when this this at least one first interface instruction of first interface instruction formation reception, translating this at least one first interface instruction is at least one second interface instruction;
According to this at least one this at least one device of second interface instruction control;
This at least one device transmits a device information respectively to one first corresponding interface virtual bench; And
This at least one first interface virtual bench returns corresponding device information respectively to this main frame.
2. array card control method according to claim 1, it is characterized in that the phase checks that whether this first interface instruction formation is to check a quene state parameter of this first interface instruction formation from the step that this main frame receives this at least one first interface instruction week about.
3. array card control method according to claim 1 is characterized in that, the device information of this at least one first interface virtual bench passback correspondence to the step of this main frame is the application program of this device information of passback to this main frame.
4. array card control method according to claim 1 is characterized in that, first interface and second interface are the slim calculator system interface of two kinds of different sizes.
CN2009100060590A 2009-01-22 2009-01-22 Array card control method Expired - Fee Related CN101788886B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100060590A CN101788886B (en) 2009-01-22 2009-01-22 Array card control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100060590A CN101788886B (en) 2009-01-22 2009-01-22 Array card control method

Publications (2)

Publication Number Publication Date
CN101788886A CN101788886A (en) 2010-07-28
CN101788886B true CN101788886B (en) 2011-09-07

Family

ID=42532115

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100060590A Expired - Fee Related CN101788886B (en) 2009-01-22 2009-01-22 Array card control method

Country Status (1)

Country Link
CN (1) CN101788886B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6023752A (en) * 1997-11-25 2000-02-08 The United States Of America As Represented By The Secretary Of The Navy Digital data apparatus for transferring data between NTDS and bus topology data buses
CN1924786A (en) * 2006-09-29 2007-03-07 我想科技股份有限公司 Individual disc redundancy array system
CN101169703A (en) * 2007-11-05 2008-04-30 湖南源科创新科技股份有限公司 Solid state hard disk memory card based on RAID technology

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6023752A (en) * 1997-11-25 2000-02-08 The United States Of America As Represented By The Secretary Of The Navy Digital data apparatus for transferring data between NTDS and bus topology data buses
CN1924786A (en) * 2006-09-29 2007-03-07 我想科技股份有限公司 Individual disc redundancy array system
CN101169703A (en) * 2007-11-05 2008-04-30 湖南源科创新科技股份有限公司 Solid state hard disk memory card based on RAID technology

Also Published As

Publication number Publication date
CN101788886A (en) 2010-07-28

Similar Documents

Publication Publication Date Title
CN102567063B (en) Method and device for automatically installing software
CN103034510A (en) UEFI and BIOS (unified extensible firmware interface and basic input output system) rapidly and safely starting method capable of being dynamically adjusted as requirements
CN102375786A (en) Automatic operating system identifying method and system for USB (Universal Serial Bus) equipment
CN101937351A (en) Method and system for automatically installing application software
CN101957771A (en) Method and device for installing mobile software for multiple mobile phones simultaneously
CN101295255B (en) Firmware updating system and method
WO2015062217A1 (en) Connection processing method and device for peripheral in virtual desktop system
CN102693192A (en) Automatic network card sorting method, system and corresponding electronic device
CN104538058A (en) Semi-automatic burning device and method
CN102253703B (en) Switch-on and switch-off system of motherboards
CN104010077A (en) Information processing method and electronic equipment
CN106610885A (en) Server failure detection system and method
US9465597B2 (en) System for operating a device as a storage device and a modem device
US20130305026A1 (en) System and method for input tool invocation and proxy device
CN101387993A (en) Method and system for dynamically collocating resource for equipment in computer system
CN102621898A (en) Digital household appliance control apparatus, control method and control system thereof
CN101788886B (en) Array card control method
CN102981675A (en) Multi-point touch data processing method and multi-point touch data processing system thereof
CN102591689A (en) Drive loading method and system of USB (universal serial bus) printer
CN102170428A (en) Dynamic expansion management method of isomerous virtual machine platform
EP2562649B1 (en) Method for repairing communication abnormality between data card and host
CN103902312B (en) The sending method and device of a kind of application program
CN102591839B (en) USB (universal serial bus) multiprotocol self-adaptive method
CN104679438A (en) Serial Attached SCSI (SAS) interface card drive mounting system and method
CN103677928A (en) System and method for achieving rapid software serial port upgrading in GNSS receiver

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CB03 Change of inventor or designer information

Inventor after: Tao Haishan

Inventor before: Sun Youliang

CB03 Change of inventor or designer information
TR01 Transfer of patent right

Effective date of registration: 20170329

Address after: Tianjin city Xiqing District Jingwu town of JINGWAH in Ruian 9-4-403

Patentee after: Tao Haishan

Address before: Taipei City, Taiwan Chinese Shilin District Hougang Street No. sixty-six

Patentee before: Inventec Corporation

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

Granted publication date: 20110907

Termination date: 20170122

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