CN105045526A - Method for improving transmission reliability of PCIe solid-state disk - Google Patents
Method for improving transmission reliability of PCIe solid-state disk Download PDFInfo
- Publication number
- CN105045526A CN105045526A CN201510231544.3A CN201510231544A CN105045526A CN 105045526 A CN105045526 A CN 105045526A CN 201510231544 A CN201510231544 A CN 201510231544A CN 105045526 A CN105045526 A CN 105045526A
- Authority
- CN
- China
- Prior art keywords
- data
- solid state
- main frame
- host
- hard disc
- 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.)
- Pending
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 21
- 238000000034 method Methods 0.000 title claims abstract description 16
- 239000007787 solid Substances 0.000 claims abstract description 33
- 230000000977 initiatory effect Effects 0.000 claims description 2
- 230000004044 response Effects 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000012795 verification Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
The present invention discloses a method for improving transmission reliability of a PCIe solid-state disk. The method comprises the following steps: when initializing a host, determining a data size as a check data element; before starting up the host, assigning the above information to the solid state disk; when the solid state disk responds to a read command of the host, generating check data according to a data unit; before the solid state disk sends information that the response to the read command is completed to the host, sending the check data to the host; after the host receives, from the solid state disk, the information of completion of the read command, checking read data and determining whether the read data are reliable; the host submitting data determined to be reliable to the user, so as to ensure that a user always obtains correct data. The method can greatly improve reliability of data transmission.
Description
Technical field
The present invention relates to a kind of method improving PCIe solid state hard disc transmission reliability.
Background technology
Solid state hard disc, due to plurality of advantages such as its performance are high, reliability is high, has become current most popular memory device, and application is more and more extensive.The physical interface of solid state hard disc mainly contains two kinds: SATA and PCIe.Wherein PCIe interface is due to the advantage of himself, has irreplaceable status in some application scenario.
At present, the physical interface of Based PC Ie, when solid state hard disc writes data to host memory, the former writes data in the latter, then comprises main frame and writes process and complete, if control flow does not occur exception, main frame will think that data transmission is correct, and submits to user to use data.Its main flow is as Fig. 2.
Due to PCIe transmission in, equipment to the process of Host Transfer data, main frame not perception, and only have after data end of transmission, by the information that completes of equipment, main frame just knows that data are transmitted, and only know that data are transmitted, and whether normally do not know in data transmission procedure.The packet sent to main frame when solid state hard disc is on the transmission path from solid state hard disc to host memory, and when going wrong because some is abnormal, data finally fail and arrive the assigned address of host memory.Owing to there is no verification scheme in whole flow process, thus main frame may and do not know data transmission wrong, then by the data of mistake as correct data use.Its typical scene is as Fig. 3: the original correct data of solid state hard disc transmission is A1, B1, C1, D1, E1.But the data that user finally obtains are A1, B1, C, D1, E1.Wherein C1 is misinformated in order to C.But do not have which parts to find error in data in whole process, thus cause the unreliable of data transmission.
Summary of the invention
Technical matters to be solved by this invention is, not enough for prior art, provides a kind of method improving PCIe solid state hard disc transmission reliability.
For solving the problems of the technologies described above, the technical solution adopted in the present invention is: a kind of method improving PCIe solid state hard disc transmission reliability, comprises the following steps:
1) main frame is when initialization, determines using certain size of data as checking data unit;
2) main frame is before initiation of services, will as above information configuration to solid state hard disc;
3) solid state hard disc is when responding the read command of main frame, by data unit, produces checking data;
4) solid state hard disc is before the information reporting read command to respond to main frame, and checking data is sent to main frame;
5), after the read command that main frame receives solid state hard disc completes information, read data is verified, judges that whether read data is reliable;
6) main frame will be judged as reliable data and submit to user, ensure that user always obtains correct data.
Compared with prior art, the beneficial effect that the present invention has is: the present invention by adding checking data in transmission data, the transmission of data between solid state hard disc and main frame can be screened out whether normal, avoid the data of mistake to be used by user, then improve the reliability of data transmission.
Accompanying drawing explanation
When Fig. 1 is PCIe solid state hard disc response main frame read command, read data is with the schematic diagram of checking data scene;
Interaction diagrams when Fig. 2 is PCIe solid state hard disc response main frame read command;
When Fig. 3 is PCIe solid state hard disc response main frame read command, occur extremely causing user to obtain the scene schematic diagram of misdata;
Fig. 4 is the schematic flow sheet of raising transmission reliability method described in the invention.
Embodiment
Method flow of the present invention as shown in Figure 4.
Embodiment:
1) when host computer system carries out initialization to solid state hard disc, transfer custom command by driver to solid state hard disc, verification data unit size is configured to equipment, such as data cell is a read command; Checking algorithm is configured to equipment, and equipment can support multiple checking algorithm, such as CRC, checksum, ECC etc., and main frame is wherein a kind of by command selection; The deposit position of checking data is configured to equipment, such as deposits immediately following after data;
2) after main frame driver have sent read command to solid state hard disc, solid state hard disc extracts read data from storage space, and by above-mentioned initialization information, uses by the algorithm engine selected data cell, calculate the check information of read data, and check information is written to the position that main frame specifies;
3) solid state hard disc completes the data of a data cell and the transmission of check information, is sent completely information to main frame, informs that Host Command completes;
4) whether main frame driver is according to completing information, utilizes the checking algorithm unit of host computer side, obtains the check information of data cell, and compare the check information calculated and mate with the check information that solid state hard disc is brought, and judges verification whether success with this;
5) driver only will verify information matches, namely verify correct data and give user, to ensure the reliability of the data delivering to user.
Claims (1)
1. improve a method for PCIe solid state hard disc transmission reliability, it is characterized in that, comprise the following steps:
1) main frame is when initialization, determines using certain size of data as checking data unit;
2) main frame is before initiation of services, will as above information configuration to solid state hard disc;
3) solid state hard disc is when responding the read command of main frame, by data unit, produces checking data;
4) solid state hard disc is before the information reporting read command to respond to main frame, and checking data is sent to main frame;
5), after the read command that main frame receives solid state hard disc completes information, read data is verified, judges that whether read data is reliable;
6) main frame will be judged as reliable data and submit to user, ensure that user always obtains correct data.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510231544.3A CN105045526A (en) | 2015-05-08 | 2015-05-08 | Method for improving transmission reliability of PCIe solid-state disk |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510231544.3A CN105045526A (en) | 2015-05-08 | 2015-05-08 | Method for improving transmission reliability of PCIe solid-state disk |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN105045526A true CN105045526A (en) | 2015-11-11 |
Family
ID=54452097
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510231544.3A Pending CN105045526A (en) | 2015-05-08 | 2015-05-08 | Method for improving transmission reliability of PCIe solid-state disk |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN105045526A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11010095B2 (en) | 2019-07-25 | 2021-05-18 | Western Digital Technologies, Inc. | Dynamic and adaptive data read request scheduling |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101335785A (en) * | 2007-06-28 | 2008-12-31 | 王忱 | Telephone data terminal system and data automatic transmission method thereof |
| CN101800071A (en) * | 2009-02-10 | 2010-08-11 | 三星电子株式会社 | Solid state disk device and program fail processing method thereof |
| CN103533045A (en) * | 2013-10-12 | 2014-01-22 | 江苏华丽网络工程有限公司 | Method for high-performance fault tolerance of PCIE (Peripheral Component Interface Express) data link layer |
| CN103907088A (en) * | 2011-11-17 | 2014-07-02 | 华为技术有限公司 | Method and apparatus for scalable low-latency solid-state drive interface |
-
2015
- 2015-05-08 CN CN201510231544.3A patent/CN105045526A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101335785A (en) * | 2007-06-28 | 2008-12-31 | 王忱 | Telephone data terminal system and data automatic transmission method thereof |
| CN101800071A (en) * | 2009-02-10 | 2010-08-11 | 三星电子株式会社 | Solid state disk device and program fail processing method thereof |
| CN103907088A (en) * | 2011-11-17 | 2014-07-02 | 华为技术有限公司 | Method and apparatus for scalable low-latency solid-state drive interface |
| CN103533045A (en) * | 2013-10-12 | 2014-01-22 | 江苏华丽网络工程有限公司 | Method for high-performance fault tolerance of PCIE (Peripheral Component Interface Express) data link layer |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11010095B2 (en) | 2019-07-25 | 2021-05-18 | Western Digital Technologies, Inc. | Dynamic and adaptive data read request scheduling |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN100583066C (en) | Storage control system, control method for storage control system, port selector, and controller | |
| CN111522264B (en) | Control method and device of equipment, storage medium and electronic device | |
| CN103620565B (en) | Apparatus and method for providing data integrity | |
| US8583840B1 (en) | Methods and structure for determining mapping information inconsistencies in I/O requests generated for fast path circuits of a storage controller | |
| TWI537969B (en) | Response control for memory modules that include or interface with non-compliant memory technologies | |
| US20150019918A1 (en) | Method and Apparatus for Reducing Read Latency | |
| JP2008539474A (en) | Power safe disk storage device, system and method | |
| CN113419684B (en) | Data processing method, device and equipment and readable storage medium | |
| CN103019880B (en) | A kind of data verification method and storage device, storage system | |
| CN107766180B (en) | Storage medium management method and device and readable storage medium | |
| US20220377054A1 (en) | Data storage device data recovery using remote network storage | |
| WO2019210844A1 (en) | Anomaly detection method and apparatus for storage device, and distributed storage system | |
| CN115587055A (en) | Bus transmission method, system, device and storage medium | |
| CN103763067A (en) | Method and device for error correction and calibration of communication data packets | |
| CN102291408B (en) | Processing method and device for iSCSI (Internet small computer system interface) protocol message | |
| CN103678517B (en) | Method for fixing logical errors of hard disk and controller | |
| CN102866900A (en) | Method and system for updating configuration data of FPGA (Field Programmable Gate Array) control unit | |
| CN117193643A (en) | A data protection method, device, equipment and medium | |
| CN105045526A (en) | Method for improving transmission reliability of PCIe solid-state disk | |
| CN109240856A (en) | A kind of storage metadata damage analogy method, device, terminal and storage medium | |
| US20170060674A1 (en) | Persistent checksum data validation | |
| CN105575439A (en) | Memory cell failure error correction method and memory | |
| CN111143181A (en) | Server maintenance method, system, equipment and computer readable storage medium | |
| CN103049218B (en) | Data storage method and controller | |
| CN107423185B (en) | A test method and device for compatibility and adaptation of disk array and host |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| CB02 | Change of applicant information |
Address after: 410125 Hunan, Changsha economic and Technological Development Zone, the east side of the south section of the No. ten road, Tong Tong Street, No. Applicant after: GOKE MICROELECTRONICS CO., LTD. Address before: 410125 No. 9, East ten, South Road, Changsha economic and Technological Development Zone, Hunan Applicant before: Hunan Guoke Microelectronics Co., Ltd. |
|
| COR | Change of bibliographic data | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20151111 |