CN101499854B - Method for converting data between optical fiber signal and SAS signal - Google Patents
Method for converting data between optical fiber signal and SAS signal Download PDFInfo
- Publication number
- CN101499854B CN101499854B CN 200910014024 CN200910014024A CN101499854B CN 101499854 B CN101499854 B CN 101499854B CN 200910014024 CN200910014024 CN 200910014024 CN 200910014024 A CN200910014024 A CN 200910014024A CN 101499854 B CN101499854 B CN 101499854B
- Authority
- CN
- China
- Prior art keywords
- signal
- sas
- data
- unit
- buffer memory
- 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.)
- Active
Links
- 239000013307 optical fiber Substances 0.000 title claims abstract description 10
- 238000000034 method Methods 0.000 title claims description 11
- 239000000872 buffer Substances 0.000 claims abstract description 44
- 230000003287 optical effect Effects 0.000 claims abstract description 10
- 238000006243 chemical reaction Methods 0.000 claims description 22
- 238000013519 translation Methods 0.000 claims description 6
- 238000004891 communication Methods 0.000 claims description 4
- 230000000694 effects Effects 0.000 claims description 4
- 238000012545 processing Methods 0.000 claims description 4
- 238000012546 transfer Methods 0.000 claims description 3
- 230000009466 transformation Effects 0.000 abstract 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
Images
Landscapes
- Memory System Of A Hierarchy Structure (AREA)
- Information Transfer Systems (AREA)
- Optical Communication System (AREA)
Abstract
The invention discloses a data processor that is used for mutual transformation between optical fiber signals and SAS signals and characterized by comprising the following components: 1. an optical signal receiving interface; 2. a photoelectric converting unit; 3. a decoding unit; 4. an SAS encoding unit, (5-7). buffers; 8. a signal driving and emitting unit; 9. a system clock; 10. a data redundant backup control unit; 11. an external buffer interface; 12. an optical signal emitting unit; 13. an SAS signal interface; and 14. a flash memory.
Description
Technical field
The present invention relates to the Computer Storage field, the method for a kind of specifically fiber-optic signal and the mutual translation data of SAS signal.
Technical background
The development of Along with computer technology, the capacity of storage is increasing, and is increasingly high to the reading speed requirement of storage system; But the common SAS hard disk reading speed of using at present is slow; Reach not to required requirement, optical fiber hard-disk interface speed is high, can make the moment data transmission rate very high; But light controller price is high, causes realizing the storage system of low-cost and high-performance.
Summary of the invention
The present invention provides the method for a kind of fiber-optic signal and the mutual translation data of SAS signal.
Method of the present invention realizes that by following mode system comprises: light signal receiving interface, photoelectric conversion unit, decoding unit, SAS coding unit, buffer memory, signal driving and transmitter unit, system clock, data redundancy backup control unit, external cache interface, light signal transmitter unit, SAS signal receiving interface, flash memory;
Concrete steps do;
Be converted into the SAS signal A, optical fiber number
The light signal receiving interface receives after the light signal, and light signal is passed to photoelectric conversion unit, and photoelectric conversion unit is the signal of telecommunication with the conversion of signals that receives, and sends to decoding unit and decipher; The 8B/10B coded system that optical fiber communication is at present used, the data after the decoding step will encode are exactly reduced, and are stored in then among the buffer memory A, in buffer memory A; Definition enables variable, comprises definition CS signal, when high level is idle; Low level is for enabling, and when this enables variable when being chosen by decoding unit, signal is dragged down; And write data to buffer memory A, and mode writes for order, and the SAS coding unit can read the state of CS signal in real time; Fashionable when finding have data to write, just the address lowest order from buffer memory A begins, and data are encoded; Data behind the recompile are stored among the buffer memory B, because chip internal is different with electrical characteristic with the external signal definition; Signal drives and transmitter unit, and the data among the buffer memory B are seen off according to the form of SAS signal, accomplishes the transfer process from fiber-optic signal to the SAS signal;
B, SAS signal are converted into fiber-optic signal
SAS signal receiving interface receives after the SAS signal, with the SAS signal storage in buffer memory C; Same buffer memory C also has the variable of enabling, and enables variable and is pulled to after the low level, and data are deposited in; The signal of telecommunication changes the state that optical signal cell reads the CS signal in real time, and after the CS signal enabled, this unit began decoding and conversion; Light signal after the decoding is sent to the light signal transmitter unit, and the light signal transmitter unit sends light signal;
C, data redundancy are handled
Data redundancy backup control unit with the data among buffer memory A and the buffer memory C, sends to outside memory through the external cache interface; The effect of data redundancy backup control unit is; The data of handling are carried out back-up processing, when system breaks down, when perhaps being reset; It can read the data of losing from external cache, do not have the work of accomplishing before continuing;
D, clock signal of system are handled
For avoiding inserting too much clock signal; The internal system signal is caused interference, after the system clock interface receives external timing signal, can clock signal be converted into multichannel in IC inside; And be transmitted to the receipts external timing signal, and be transmitted to the light signal receiving element: photoelectric conversion unit; Decoding unit; The SAS coding unit; SAS signal receiving interface; Data redundancy backup control unit; The signal of telecommunication changes optical signal cell; The light signal transmitter unit.
Excellent effect of the present invention is: make the common SAS hard disk of low speed can be applied in the light storage system at a high speed, greatly reduce use cost, improved the cost performance of system.
Description of drawings
Accompanying drawing 1 optical fiber is to SAS data processing principle sketch map
Accompanying drawing 2 light signals are converted into the data flowchart of SAS signal;
Accompanying drawing 3SAS signal is converted into the data flowchart of light signal;
Embodiment
Below in conjunction with accompanying drawing, the method for a kind of fiber-optic signal of the present invention and the mutual translation data of SAS signal is described in detail.
The method of a kind of fiber-optic signal and the mutual translation data of SAS signal; System comprises light signal receiving interface, photoelectric conversion unit, decoding unit, SAS coding unit, buffer memory, signal driving and transmitter unit, system clock, data redundancy backup control unit, external cache interface, light signal transmitter unit, SAS signal receiving interface, flash memory, wherein:
Light signal receiving interface: be responsible for receiving optical signals, and send to photoelectric conversion unit.
Photoelectric conversion unit: the main light signal of being responsible for receiving, carry out conversion of signals, light signal is converted into the signal of telecommunication, export to decoding unit.
Decoding unit: this step is used for deciphering, and what light communication used at present is the coding and decoding of 8B/10, and decoding unit is deciphered according to 8B/10B decoding principle.And with decoding storage in buffer memory A.
The SAS coding unit: this step reading of data from buffer memory A, and, carry out recompile according to the cryptoprinciple of SAS agreement to data, and it is left among the buffer memory B.
Buffer memory A; Buffer memory B; Buffer memory C; Record data.
Signal drives and transmitter unit: the data after will deciphering, and according to of the definition of SAS agreement, data serial output system clock interface is received external timing signal, and be transmitted to the light signal receiving element signal strength signal intensity;
Photoelectric conversion unit; Decoding unit; The SAS coding unit; SAS signal receiving interface; Data redundancy backup control unit; The signal of telecommunication changes optical signal cell; The light signal transmitter unit.
Data redundancy backup control unit: read buffer memory B, the data among the buffer memory C, and through the external cache interface, be stored in the exterior storage medium.
External cache interface: exterior storage medium interface management.
Light signal transmitter unit: emission light signal.
SAS signal receiving interface: reception SAS signal also is stored among the buffer memory C.
Flash memory: exterior storage medium;
The mutual data converted processing method of a kind of fiber-optic signal and SAS signal comprises being converted into the SAS signal A, optical fiber number; B, SAS signal are converted into fiber-optic signal; C, data redundancy are handled; D, clock signal of system are handled, and concrete treatment step is:
The first step: fiber-optic signal is converted into the SAS signal.
The FC/SAS data processor has the fiber-optic signal interface, receives after the FC signal, and light signal is passed to photoelectric conversion unit, and photoelectric conversion unit is the signal of telecommunication with the conversion of signals that receives, and sends to decoding unit and decipher.The 8B/10B coded system that optical fiber communication is at present used, the data after the decoding step will encode are exactly reduced, and are stored in then among the buffer memory A.In buffer memory A step, definition enables variable (for example define the CS signal, when high level be idle, low level is for enabling), and when this vector was chosen by decoding unit, signal was dragged down, and write data to buffer memory A, and mode is to write in proper order.The SAS coding unit can read the state of CS signal in real time, when finding that the CS signal enables or found that data write fashionablely that just the address lowest order from buffer memory A begins, and data are encoded.
Data behind the recompile are stored among the buffer memory B.Because chip internal is different with electrical characteristic with the external signal definition, signal drives and transmitter unit, the data among the buffer memory B is installed the form of SAS signal and sees off.The transfer process of completion from fiber-optic signal to the SAS signal.
Second step: the SAS signal is converted into fiber-optic signal
The FC/SAS data processor has SAS signal receiving interface, receives after the SAS signal, and with SAS signal storage (same buffer memory C also has the variable of enabling) in buffer memory C, enable signal is pulled to after the low level, and data are deposited in.The signal of telecommunication changes the state that optical signal cell reads the CS signal in real time, and after the CS signal enabled, this unit began decoding and conversion, and the light signal after the decoding is sent to the light signal transmitter unit, and the light signal transmitter unit sends light signal.
The 3rd step: data redundancy
Data redundancy backup control unit is with the data among buffer memory A and the buffer memory C, through the external cache interface
Send to outside memory, the effect of data redundancy backup control unit is that the data of handling are carried out back-up processing; When system breaks down; When perhaps being reset, it can read the data of losing from external cache, does not have the work of accomplishing before continuing.
The 4th step: clock signal of system is treated to avoids inserting too much clock signal; The internal system signal is caused interference; After the system clock interface receives external timing signal, can clock signal be converted into multichannel, and be transmitted to the light signal receiving element: photoelectric conversion unit in IC inside; Decoding unit; The SAS coding unit; SAS signal receiving interface; Data redundancy backup control unit; The signal of telecommunication changes optical signal cell; The light signal transmitter unit.
Claims (1)
1. the method for fiber-optic signal and the mutual translation data of SAS signal is characterized in that comprising light signal receiving interface, photoelectric conversion unit, decoding unit, SAS coding unit, buffer memory, signal driving and transmitter unit, system clock, data redundancy backup control unit, external cache interface, light signal transmitter unit, SAS signal receiving interface, flash memory;
Concrete steps are:
Be converted into the SAS signal A, optical fiber number
The light signal receiving interface receives after the light signal, and light signal is passed to photoelectric conversion unit, and photoelectric conversion unit is the signal of telecommunication with the conversion of signals that receives, and sends to decoding unit and decipher; The 8B/10B coded system that optical fiber communication is at present used, the data after the decoding step will encode are exactly reduced, and are stored in then among the buffer memory A, in buffer memory A; Definition enables variable, comprises definition CS signal, when high level is idle; Low level is for enabling, and when this enables variable when being chosen by decoding unit, signal is dragged down; And write data to buffer memory A, and mode writes for order, and the SAS coding unit can read the state of CS signal in real time; Fashionable when finding have data to write, just the address lowest order from buffer memory A begins, and data are encoded; Data behind the recompile are stored among the buffer memory B, because chip internal is different with electrical characteristic with the external signal definition; Signal drives and transmitter unit, and the data among the buffer memory B are seen off according to the form of SAS signal, accomplishes the transfer process from fiber-optic signal to the SAS signal;
B, SAS signal are converted into fiber-optic signal
SAS signal receiving interface receives after the SAS signal, with the SAS signal storage in buffer memory C; Same buffer memory C also has the variable of enabling, and enables variable and is pulled to after the low level, and data are deposited in; The signal of telecommunication changes the state that optical signal cell reads the CS signal in real time, and after the CS signal enabled, this unit began decoding and conversion; Light signal after the decoding is sent to the light signal transmitter unit, and the light signal transmitter unit sends light signal;
C, data redundancy are handled
Data redundancy backup control unit with the data among buffer memory A and the buffer memory C, sends to outside memory through the external cache interface; The effect of data redundancy backup control unit is; The data of handling are carried out back-up processing, when system breaks down, when perhaps being reset; It reads the data of losing from external cache, do not have the work of accomplishing before continuing;
D, clock signal of system are handled
For avoiding inserting too much clock signal the internal system signal is caused interference; After the system clock interface receives external timing signal; In IC inside clock signal is converted into multichannel, and is transmitted to the light signal receiving element: photoelectric conversion unit, decoding unit, SAS coding unit, SAS signal receiving interface, data redundancy backup control unit, the signal of telecommunication change optical signal cell and light signal transmitter unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910014024 CN101499854B (en) | 2009-02-01 | 2009-02-01 | Method for converting data between optical fiber signal and SAS signal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910014024 CN101499854B (en) | 2009-02-01 | 2009-02-01 | Method for converting data between optical fiber signal and SAS signal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101499854A CN101499854A (en) | 2009-08-05 |
CN101499854B true CN101499854B (en) | 2012-02-15 |
Family
ID=40946750
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200910014024 Active CN101499854B (en) | 2009-02-01 | 2009-02-01 | Method for converting data between optical fiber signal and SAS signal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101499854B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103065458A (en) * | 2012-12-26 | 2013-04-24 | 青岛乾程电子科技有限公司 | Decoding method of intelligent terminal for reception of optical-fiber signal of fault indicator |
CN109039955A (en) * | 2018-06-28 | 2018-12-18 | 郑州云海信息技术有限公司 | A kind of storage system based on optical-fibre channel |
CN111431610B (en) * | 2020-02-21 | 2021-06-04 | 北京仿真中心 | Serial communication relay device and system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201072545Y (en) * | 2007-05-30 | 2008-06-11 | 徐欣 | Electric hard disk array type memory device based on optical fiber channel |
CN201174115Y (en) * | 2008-02-19 | 2008-12-31 | 浪潮电子信息产业股份有限公司 | Storage control device with multiple host interfaces |
-
2009
- 2009-02-01 CN CN 200910014024 patent/CN101499854B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201072545Y (en) * | 2007-05-30 | 2008-06-11 | 徐欣 | Electric hard disk array type memory device based on optical fiber channel |
CN201174115Y (en) * | 2008-02-19 | 2008-12-31 | 浪潮电子信息产业股份有限公司 | Storage control device with multiple host interfaces |
Also Published As
Publication number | Publication date |
---|---|
CN101499854A (en) | 2009-08-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109271335B (en) | FPGA implementation method for DDR cache of multi-channel data source | |
CN101859283B (en) | Method for controlling built-in radio frequency identification (RFID) encrypted solid-state hard disk | |
WO2014086085A1 (en) | Control apparatus and control method for multi-channel flash memory card | |
CN102411548B (en) | Flash memory controller and method for transmitting data among flash memories | |
KR20130042370A (en) | Test method for ufs interface and memory device testing by the same method | |
CN103885909A (en) | SSD controller based on native PCIe interface and control method thereof | |
US11829626B2 (en) | Storage device and operating method of storage device | |
CN106095334A (en) | A kind of high-speed data acquisition storage system based on FPGA | |
CN107145311B (en) | IO data processing method and system | |
CN101710270A (en) | High-speed mass memory based on flash memory and chip data management method | |
CN102520892A (en) | Multifunctional solid state data storage playback instrument | |
CN101499854B (en) | Method for converting data between optical fiber signal and SAS signal | |
US20130275652A1 (en) | Methods and structure for transferring additional parameters through a communication interface with limited parameter passing features | |
CN109800195A (en) | A kind of fibre channel adapter and data transmission method based on FPGA | |
US20120102251A1 (en) | Serial attached small computer system interface (sas) domain access through a universal serial bus interface of a data processing device | |
CN204215404U (en) | A kind of cryptographic storage dish | |
US20080279289A1 (en) | Transmitter, receiver, method for transmitting, method for receiving, fixed length serial burst data transfer system, semiconductor device, and hybrid semiconductor device | |
US8443113B2 (en) | Communication apparatus | |
CN102568605B (en) | System bus error detection and error correction method and NAND FLASH controller | |
CN102207921B (en) | Based on system and the method thereof of UASP protocol realization multiport Storage Media | |
CN109213710B (en) | High-speed serial interface device and data transmission method thereof | |
CN112416830A (en) | NVME and SATA protocol conversion realization circuit | |
CN203788300U (en) | Unidirectional data transmission device | |
CN1737782A (en) | Method for realizing output control and device for controlling interface card by mainboard | |
WO2019168610A1 (en) | Data storage system for improving data throughput and decode capabilities |
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 |