Unlock instant, AI-driven research and patent intelligence for your innovation.

Port control method and apparatus, and solid state disk

A port control and port technology, which is applied in the field of solid-state hard drives and port control, can solve the problems of inconvenient use of SSD devices and limited port use, etc., and achieve the effects of increasing applicability, avoiding address conflicts, and enhancing flexibility

Inactive Publication Date: 2009-06-24
HUAWEI DIGITAL TECH (CHENGDU) CO LTD
View PDF0 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, since the user can only access one port at a time for data read and write operations, the use of each port in the SSD device is limited. At the same time, the user must first manually switch to select a specific port when using the SSD device. ports, which also brings a lot of inconvenience to users in using SSD devices

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
  • Port control method and apparatus, and solid state disk
  • Port control method and apparatus, and solid state disk
  • Port control method and apparatus, and solid state disk

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] see figure 1 , figure 1 It is a flow chart of a port control method disclosed in Embodiment 1 of the present invention, and the method includes the following steps:

[0026] Step 101: receiving the write request command of the port;

[0027] Among them, see figure 2 , figure 2 It is a schematic diagram of the SSD architecture with multiple ports in this embodiment. The SSD system can provide at least 2 ports, and each port can be of any type, such as SATA (Serial Advanced Technology Attachment, serial advanced technology attachment), SAS (Serial Attached SCSI, serially connected small computer system dedicated Interface), FC (FiberChannel, Fiber Channel interface), Ethernet Ethemet, Universal Serial Bus USB, PCIE, etc. The back end of each port is connected to the corresponding port controller, and the port controller is responsible for functions such as protocol analysis and data encapsulation. All port controllers are connected to the storage controller, and t...

Embodiment 2

[0036] see image 3 , image 3 It is a flowchart of a port control method disclosed in Embodiment 2 of the present invention. The difference between this embodiment and Embodiment 1 is that before caching the write request command of the port, it is first judged whether the target address of the write request command is the same as The currently executing write operation has a target address conflict. The method specifically includes the following steps:

[0037] Step 301: receiving the write request command of the port;

[0038] Step 302: judging whether the target address of the write request command is the same as the target address of the currently executing write operation, if yes, go to step 303, if not, go to step 304;

[0039]Wherein, in this embodiment, each port is allowed to perform a write operation. Still taking three ports as an example, when the storage controller receives the write request commands of the respective ports sent by the port 1 controller, port...

Embodiment 3

[0046] see Figure 4 , Figure 4 It is a flow chart of a port control method disclosed in Embodiment 3 of the present invention. The difference between this embodiment and Embodiment 1 and Embodiment 2 is that among multiple ports, only one port is used as a port for writing operations, and the other port as the port for read operations. The method specifically includes the following steps:

[0047] Step 401: pre-setting one port as a port for writing operations, and setting other ports as ports for reading operations;

[0048] Among them, continue to take three ports as an example, only port 1 is set as a port for writing operations, and port 2 and port 3 are both set as ports for reading operations. When the storage controller receives the port After the write request command of 1 is executed, the write request command is executed to write data into the storage medium, and port 2 and port 3 can simultaneously perform read operations.

[0049] Step 402: receiving a write ...

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 an interface control method, which comprises the following steps: after receiving write request command from the interface, caching the write request commands according to the sequence of the received write request command, and executing the cached write request command in sequence according to the caching sequence; or, determining whether the target address of the write request command is as same as that of the currently executing write operation or not; if yes, caching the write request command according to the sequence of the write request command; executing the cached write request command in sequence according to the caching sequence; if no, executing the write request command; or, setting the interface as an interface used for performing the write operation in advance; setting other interfaces as the interfaces used for performing the read operation; and executing the write request command of the interface used for performing the write operation. Correspondingly, the embodiment of the invention further provides an interface control device and a solid state hard disk. The applicability and the flexibility of the solid state hard disk can be increased according to the embodiment of the invention.

Description

technical field [0001] The invention relates to the field of data storage, in particular to a port control method, device and solid-state hard disk. Background technique [0002] SSD (Solid State Disk, solid state drive), also known as electronic hard disk or solid state electronic disk, is a hard disk composed of a control unit and a solid state storage unit. Since SSD does not have a mechanical rotating device, compared with ordinary hard disks, SSD has the advantages of high read and write performance, strong shock resistance, and low power consumption, and has been widely used in military, vehicle, industrial control, video surveillance, and network surveillance. , network terminals, electric power, medical, aviation, navigation equipment and other fields. [0003] Among them, SSD devices mostly use dual ports, that is, SSD devices can provide a USB (Universal Serial BUS, Universal Serial Bus) port and a PCIE (Peripheral Component Interconnect Express, Rapid Peripheral ...

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
IPC IPC(8): G06F3/06
Inventor 柯乔
Owner HUAWEI DIGITAL TECH (CHENGDU) CO LTD