Method for data interaction of host and storage device and storage controller

A technology for storage controllers and storage devices, applied in the direction of input/output to record carriers, etc., can solve problems such as data loss, data transmission cannot be completed normally, and achieve the effect of improving compatibility and ensuring read and write performance

Inactive Publication Date: 2015-12-02
NOREL SYST
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, all mainstream operating systems support USB mass storage devices, including Windows, Unix, Linux and MacOS used on PCs, and Android and IOS used on mobile devices, among which the mobile operating system IOS developed by Apple uses USBBulk The protocol carries out the transmission of basic data blocks, but logically it is a data stream transmission mode. No matter whether it is a command, data or status information, the packet format is not distinguished, and all are transmitted in the form of a serial data stream. Transmission characteristics often lead to data overflow and loss, making data transmission impossible to complete normally. Therefore, how to solve the problem of data flow overflow and loss based on the efficient USBBulk transmission protocol has become a technical problem that attracts attention.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for data interaction of host and storage device and storage controller
  • Method for data interaction of host and storage device and storage controller
  • Method for data interaction of host and storage device and storage controller

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The method for the host to read data from the storage device, the method for the host to write data to the storage device, and the storage controller of the present invention will be further described below in conjunction with the embodiments in the accompanying drawings.

[0043] Such as figure 1 As shown, the method for data interaction between the host and the storage device includes a method for the host to read data from the storage device and a method for the host to write data to the storage device. A storage controller 7 of the present invention includes a host interface unit 2 and a command processing unit 3 , data processing unit 4 and memory interface unit 5, host interface unit 2 is connected host computer 1, and memory interface unit 5 is connected memory 6, and wherein host interface unit 2 is apple lightning (Lightning) interface unit, and memory interface unit 5 is embedded A multimedia card (eMMC) interface unit, the memory 6 is an embedded multimedia c...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for data interaction of a host and a storage device and a storage controller. The method comprises a method for the host to read data from the storage device and a method for the host to write the data into the storage device, the storage controller receives a data operation command sent by the host, whether the data operation command is a writing command or a reading command is judged by the storage controller, and a command response is sent to the host; when the data operation command is the writing command, the data operation command is received and sent to the storage device, when the data operation command is the reading command, the data operation command is received and sent to the host, after data transmission is completed, the storage controller sends a command completing state to the host, and transmission is carried out based on a USB Bulk transmission protocol. When a data stream transmission mode is adopted in the host, data overflowing and loss are effectively avoided, and on the premise of guaranteeing read-write performance, the compatibility of the device and the host is improved to the maximum degree.

Description

technical field [0001] The present invention relates to a method for data interaction between a host and a storage device and a storage controller, in particular to a method for the host to read data from the storage device based on the USBBulk transmission protocol between the host and the storage device, and a method for the host to write data to the storage device. Data method and storage controller. Background technique [0002] The English of Universal Serial Bus is UniversalSerialBus, abbreviated as USB, which is one of the most widely used electronic device interfaces. USB defines four transfer protocols, Control Transfer Protocol (ControlTransfer), Isochronous Transfer Protocol (IsochronousTransfer), Interrupt Transfer Protocol and Bulk Transfer Protocol (BulkTransfer) because the Bulk transfer protocol can guarantee the correctness of data transfer, and because of the large data block As a data unit, it can provide high transmission efficiency, so it is widely used...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/06
Inventor 王辉张萌陈淼王元龙
Owner NOREL SYST
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products