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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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 ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 