Out-of-band management method for storage device, baseboard management controller and storage device
The baseboard management controller communicates with the microcontrol unit of the storage device to obtain and process information, which solves the problem of limited out-of-band management functions in the existing technology, realizes efficient management and control of the storage device, and reduces downtime and costs. .
Patent Information
- Application Number
- CN202210626146.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-02
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2042-06-02
AI Technical Summary
Existing baseboard management controllers have limited out-of-band management functions for storage devices and are difficult to meet user needs, especially when storage devices are abnormal and cannot effectively monitor and control them.
The baseboard management controller communicates with the microcontrol unit of the storage device to obtain the product information and status information of the storage device, and operates based on this information, which enhances the out-of-band management function and improves control capabilities under abnormal conditions.
Achieve more efficient management and control of storage devices, ensure data integrity, and reduce downtime and production costs.
Smart Images

Figure CN114840456B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of storage, and more particularly to an out-of-band management method for a storage device, a baseboard management controller and a storage device. Background Art
[0002] Recently, storage devices such as solid state drives (SSD), non-volatile memory express (NVMe), embedded multi media cards (eMMC), universal flash memory (UFS), etc. have been widely used.
[0003] Generally, storage devices can perform operations under the management of the host. The host is connected to the storage device through an interface so that the host's operating system can operate the storage device. This is the in-band management method of the host managing the storage device. The baseboard management controller (BMC) on the host is also connected to the storage device through an interface. The BMC communicates with the storage device without going through the operating system. This is the out-of-band management method of the BMC managing the storage device.
[0004] However, the out-of-band management function of the existing BMC for storage devices is limited and cannot meet the needs of users. Summary of the invention
[0005] The object of the present invention is to provide an out-of-band management method for a storage device, a baseboard management controller and a storage device.
[0006] According to one aspect of the present invention, there is provided an out-of-band management method for a storage device, the out-of-band management method comprising: communicating with a microcontroller unit of a storage device through a baseboard management controller to obtain at least one of product information of the storage device and status information of the storage device; and operating the storage device through the baseboard management controller based on the at least one information.
[0007] Optionally, the product information of the storage device includes key product data information, and the status information of the storage device includes at least one of voltage, humidity, temperature, current, fan status information and power status information.
[0008] Optionally, the step of operating the storage device through the baseboard management controller may include: in response to the at least one information indicating that the storage device is in an abnormal state, sending information for operating the storage device to the micro control unit through the baseboard management controller.
[0009] Optionally, the step of communicating with the micro control unit through the baseboard management controller includes: communicating with the micro control unit through the baseboard management controller based on an internal integrated circuit bus or a system management bus.
[0010] According to one aspect of the present invention, a baseboard management controller is provided, which includes: a communication unit configured to communicate with a microcontroller unit of a storage device to obtain at least one of product information of the storage device and status information of the storage device; and an operation unit configured to operate the storage device based on the at least one information.
[0011] Optionally, the product information of the storage device includes key product data information, and the status information of the storage device includes at least one of voltage, humidity, temperature, current, fan status information and power status information.
[0012] Optionally, the operating unit may be configured to: in response to the at least one information indicating that the storage device is in an abnormal state, send information for operating the storage device to the micro control unit through the communication unit.
[0013] Optionally, the communication unit is configured to communicate with the micro control unit based on an internal integrated circuit bus or a system management bus.
[0014] According to one aspect of the present invention, a host system is provided, comprising a processor and a baseboard management controller, wherein the baseboard management controller executes any one of the out-of-band management methods described above.
[0015] According to one aspect of the present invention, there is provided an out-of-band management method for a storage device, the out-of-band management method comprising: monitoring status information of the storage device through a microcontroller unit of the storage device; communicating with a baseboard management controller through the microcontroller unit to send at least one of the status information of the storage device and product information of the storage device to the baseboard management controller.
[0016] Optionally, the micro control unit uses a persistent memory to store the status information and product information of the storage device.
[0017] According to one aspect of the present invention, a storage device is provided, comprising a micro control unit, wherein the micro control unit is configured to: monitor status information of the storage device; store at least one of the status information of the storage device and product information of the storage device; and send the at least one information to a baseboard management controller by communicating with the baseboard management controller.
[0018] Optionally, the micro control unit includes: a persistent memory for storing the at least one information.
[0019] According to one aspect of the present invention, there is provided a storage system, which includes a host and a storage device, wherein the host includes a baseboard management controller, and the storage device includes a micro control unit, wherein the baseboard management controller executes any out-of-band management method as described in any one of the above items.
[0020] According to one aspect of the present invention, a storage system is provided, the storage system comprising a host and a storage device, wherein the host comprises a baseboard management controller, the storage device comprises a micro control unit, wherein the micro control unit executes any out-of-band management method as described above.
[0021] According to one aspect of the present invention, a data center is provided, comprising: an application server; a storage server configured to communicate with the application server via a network, wherein at least one of the application server and the storage server is configured to execute any out-of-band management method as described above.
[0022] In an out-of-band management method for a storage device, a baseboard management controller, and a storage device according to an example embodiment of the present invention, the baseboard management controller can control the operation of the storage device based on information received from a microcontroller unit, thereby enhancing the management function of the baseboard management controller on the storage device (e.g., out-of-band management function).
[0023] In the out-of-band management method of a storage device, a baseboard management controller, and a storage device according to an exemplary embodiment of the present invention, the baseboard management controller can communicate with the microcontroller unit when the storage device is abnormal. Therefore, the control capability of the baseboard management controller over the storage device can be improved when the storage device is abnormal.
[0024] In the out-of-band management method of a storage device, a baseboard management controller, and a storage device according to an exemplary embodiment of the present invention, the baseboard management controller can communicate with the microcontroller unit based on an internal integrated circuit bus or a system management bus. Therefore, the baseboard management controller can communicate with the microcontroller unit efficiently.
[0025] In the out-of-band management method of a storage device, a baseboard management controller, and a storage device according to an example embodiment of the present invention, since the microcontroller unit can send at least one of the status information of the storage device and the product information of the storage device to the external baseboard management controller, the out-of-band management function of the storage device is enhanced.
[0026] In the out-of-band management method of a storage device, a baseboard management controller, and a storage device according to an example embodiment of the present invention, the micro control unit may include a persistent memory for storing at least one of the state information of the storage device and the product information of the storage device. Therefore, at least one of the state information of the storage device and the product information of the storage device can be reliably stored in the micro control unit.
[0027] In the out-of-band management method of a storage device, a baseboard management controller, and a storage device according to example embodiments of the present invention, the baseboard management controller can receive information from the micro control unit through out-of-band management, thereby expanding the ability to collect information from the storage device.
[0028] In an out-of-band management method for a storage device, a baseboard management controller, and a storage device according to an example embodiment of the present invention, the baseboard management controller can control the operation of the storage device based on information received from the micro control unit through out-of-band management, thereby enhancing the control capability of the storage device.
[0029] In the out-of-band management method of a storage device, a baseboard management controller, and a storage device according to an example embodiment of the present invention, since a persistent memory for storing various information of the storage device (for example, at least one of key product data, software information, and hardware information of the storage device) is provided in the microcontroller unit, the microcontroller unit can send various information to the baseboard management controller through out-of-band management, thereby enhancing and expanding the out-of-band management capability of the storage device.
[0030] In the out-of-band management method, baseboard management controller, and storage device of the storage device according to the example embodiment of the present invention, the communication capability between the baseboard management controller and the microcontroller unit can be enhanced by implementing the software communication protocol stack between the baseboard management controller and the microcontroller unit, so that more messages and commands can be sent between the two, etc., and the out-of-band management capability of the baseboard management controller for the storage device is enhanced and expanded, so that the baseboard management controller can better monitor and manage the storage device. For example, when the baseboard management controller detects that the host has an abnormal power failure, the baseboard management controller can send a message to the storage device through out-of-band management to allow the storage device to take countermeasures. This can ensure data integrity and prevent data loss.
[0031] In the out-of-band management method of a storage device, a baseboard management controller, and a storage device according to an example embodiment of the present invention, since the microcontroller is configured with a persistent memory to store any type of information, the electrically erasable programmable read-only memory can be removed from the storage device, saving space on the mainboard of the storage device and reducing the cost of the storage device.
[0032] In the out-of-band management method of a storage device, a baseboard management controller, and a storage device according to example embodiments of the present invention, since power can be supplied to the micro control unit using one of a power supply unit and a backup power supply, stable out-of-band management can be achieved.
[0033] In the out-of-band management method, baseboard management controller and storage device of the storage device according to the example embodiment of the present invention, when the main controller of the storage device is in an abnormal state and cannot communicate in-band, the baseboard management controller can communicate with the storage device through the out-of-band management method of the example embodiment of the present invention, obtain information before and after the main controller of the storage device has an error (for example, hardware monitoring information, log information, etc.), and use this information to perform fault analysis, so as to quickly locate the cause of the fault and repair the fault. Effectively reducing the fault time can greatly reduce the production loss and cost caused by storage device failure in industrial production.
[0034] In the out-of-band management method, baseboard management controller and storage device of the storage device according to the example embodiment of the present invention, the internal hardware information of the storage device can be collected by the baseboard management controller and stored in the persistent memory of the microcontroller unit. Then, the baseboard management controller communicates with the microcontroller unit through out-of-band management, thereby solving the problem that the host cannot monitor the internal hardware of the storage device when the main controller of the storage device is abnormal. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The above and other objects and features of the present invention will become more apparent through the following description in conjunction with the accompanying drawings which exemplarily illustrate an example, in which:
[0036] Figure 1 A schematic diagram showing communication between a host and a storage device in a storage system according to the prior art;
[0037] Figure 2 is a block diagram illustrating a storage system according to an example embodiment of the present invention;
[0038] Figure 3 is a block diagram illustrating a storage system according to an example embodiment of the present invention;
[0039] Figure 4 is a block diagram illustrating a storage system according to an example embodiment of the present invention;
[0040] Figure 5A is a flow chart illustrating an out-of-band management method according to an example embodiment of the present invention;
[0041] Figure 5B is a flow chart illustrating an out-of-band management method according to an example embodiment of the present invention;
[0042] Fig. 6A A flowchart illustrating an out-of-band management method according to an exemplary embodiment of the present invention;
[0043] Figure 6B A flowchart illustrating an out-of-band management method according to an exemplary embodiment of the present invention;
[0044] Figure 6C A flowchart illustrating an out-of-band management method according to an exemplary embodiment of the present invention;
[0045] Figure 7 is a schematic diagram of a system using a storage device according to an embodiment;
[0046] Figure 8 is a block diagram of a host storage system according to an exemplary embodiment;
[0047] Fig. 9 is a block diagram of a storage system according to an embodiment of the present invention;
[0048] Fig.10 is a block diagram of a UFS system according to an embodiment.
[0049] Fig.11 is a block diagram of a storage system according to an embodiment of the present invention;
[0050] Fig.12 The block diagram is a data center using a storage device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0051] The following specific embodiments are provided to help the reader obtain a comprehensive understanding of the method, device and / or system described herein. However, after understanding the disclosure of the application, various changes, modifications and equivalents of the method, device and / or system described herein will be clear. For example, the order of operations described herein is only an example, and is not limited to those orders set forth herein, but can be changed as it will be clear after understanding the disclosure of the application, except for the operations that must occur in a specific order. In addition, for increased clarity and conciseness, the description of features known after understanding the disclosure of the application can be omitted.
[0052] The features described herein can be implemented in different forms and should not be construed as being limited to the examples described herein. Rather, the examples described herein have been provided to illustrate only some of the many possible ways to implement the methods, devices, and / or systems described herein that will be clear after understanding the disclosure of the present application.
[0053] Throughout the specification, when a component is described as being "connected to" or "coupled to" another component, the component may be directly "connected to" or "coupled to" the other component, or there may be one or more other components between them. Conversely, when an element is described as being "directly connected to" or "directly coupled to" another element, there may be no other elements between them. Similarly, similar expressions (e.g., "between" versus "immediately between" and "adjacent to" versus "immediately adjacent to") should also be interpreted in the same manner. As used herein, the term "and / or" includes any one of the relevant listed items or any combination of any two or more of the relevant listed items.
[0054] Although terms such as "first", "second" and "third" may be used to describe various components, components, regions, layers or parts herein, these components, components, regions, layers or parts are not limited by these terms. Instead, these terms are only used to distinguish one component, component, region, layer or part from another component, component, region, layer or part. Therefore, without departing from the teachings of the examples described herein, the first component, first component, first region, first layer or first part referred to in the examples may also be referred to as the second component, second component, second region, second layer or second part.
[0055] The terms used herein are only used to describe various examples and will not be used to limit the disclosure. Unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. The terms "comprise", "include" and "have" indicate the presence of the stated features, quantities, operations, components, elements and / or combinations thereof, but do not exclude the presence or addition of one or more other features, quantities, operations, components, elements and / or combinations thereof.
[0056] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as those generally understood by those skilled in the art based on the understanding of the disclosure of the present application and the present disclosure. Unless explicitly defined as such herein, terms (such as those defined in general dictionaries) should be interpreted as having a meaning consistent with their meaning in the context of the relevant field and the disclosure of the present application, and should not be interpreted in an idealized or overly formal way. The use of the term "may" with respect to an example or embodiment herein (e.g., with respect to what an example or embodiment may include or implement) indicates that there is at least one example or embodiment that includes or implements such a feature, and all examples are not limited thereto.
[0057] Hereinafter, examples will be described in detail with reference to the accompanying drawings.
[0058] Figure 1A schematic diagram showing communication between a host and a storage device in a storage system according to the prior art.
[0059] Reference Figure 1 , a host 110 and a storage device 120 may be included in a storage system 100 .
[0060] The host 110 may include a central processing unit (CPU) 111 and a baseboard management controller (BMC) 112. The CPU 111 and the BMC 112 may communicate with each other.
[0061] The storage device 120 may include a main controller 121, a microcontroller unit (MCU) 122, a sensor 123, and an electrically erasable programmable read-only memory (EEPROM) 124. The main controller 121 may communicate with the microcontroller unit 122. The microcontroller unit 122 may receive sensing information of the sensor 123 from the sensor 123. As an example, the storage device 120 may include a plurality of sensors 123. The sensor 123 may be an integrated module and may sense one or more parameters of the storage device 120. For example, the sensor 123 may include, but is not limited to, a NAND voltage sensor, a dynamic random access memory (DRAM) voltage sensor, an external voltage sensor, a temperature sensor, and a humidity sensor. The electrically erasable programmable read-only memory 124 may store information such as, but not limited to, critical product data (VPD) of the storage device (e.g., basic information such as the serial number and model of the storage device). The key product data information of the storage device 120 is written into the electrically erasable programmable read-only memory 124 by the main controller 121 of the storage device 120 once when the storage device 120 leaves the factory. The key product data information will not be changed after being written and can only be read. The electrically erasable programmable read-only memory 124 also includes a temperature sensor 124 for detecting the temperature of the electrically erasable programmable read-only memory 124, and the detected temperature is recorded in the electrically erasable programmable read-only memory 124. The value of the temperature can be updated in real time as the temperature of the electrically erasable programmable read-only memory 124 changes.
[0062] The management of the storage device 120 by the host 110 is divided into two types: in-band management and out-of-band management. The in-band management of the storage device 120 by the host 110 refers to the host 110 communicating with the main controller 121 of the storage device 120 through the central processing unit 111, the operating system, etc., and operating the storage device 120. The host 110 monitors the status information of the storage device 120 in an in-band management manner. The micro control unit 122 transmits the relevant information obtained from the sensor 123 to the main controller of the storage device 120, and the main controller 121 transmits the information to the host 110 in an in-band management manner, so that the host 110 can use it to monitor and manage the internal hardware status of the storage device 120. The out-of-band management of the storage device 120 refers to the process in which the baseboard management controller 112 of the host 110 is connected to the storage device 120 through an interface and reads information from the electrically erasable programmable read-only memory 124 of the storage device 120.
[0063] Figure 2 is a block diagram illustrating a storage system according to an example embodiment of the present invention.
[0064] Reference Figure 2 , a storage system 200 according to an example embodiment of the present invention may include a host 210 and a storage device 220 .
[0065] The host 210 may include a BMC 211. The storage device 220 may include an MCU 221. The baseboard management controller 211 may communicate with the micro control unit 221 of the storage device 220 to obtain at least one of product information of the storage medium in the storage device 220 and status information of the storage medium. For example, the baseboard management controller 211 may include a communication unit (not shown). The communication unit may communicate with the micro control unit 221 of the storage device 220 to obtain at least one of product information of the storage medium in the storage device 220 and status information of the storage medium.
[0066] Afterwards, based on the at least one information obtained from the micro control unit 221, the baseboard management controller 211 may operate the storage device 220. For example, the baseboard management controller 211 may include an operation unit (not shown). The operation unit may operate the storage device 220 based on the at least one information obtained through the communication unit. In one embodiment, in response to the at least one information indicating that the storage device 220 is in an abnormal state, the operation unit may send information for operating the storage device 220 to the micro control unit 221 through the communication unit.
[0067] That is, the baseboard management controller 211 according to the example embodiment of the present invention may control the operation of the storage device 220 based on the information received from the micro control unit, thereby enhancing the management function (eg, out-of-band management function) of the baseboard management controller 211 on the storage device 220 .
[0068] More specifically, returning a reference Figure 1 It can be seen that the out-of-band management of the storage device 120 in the prior art has the following two major drawbacks: 1) The out-of-band management function of the baseboard management controller 112 on the storage device 120 is limited, and the baseboard management controller 112 can only obtain the VPD information of the storage device 120 and the temperature information of the EEPROM 124 from the EEPROM 124 of the storage device 120 through out-of-band management; 2) The host 110 completely processes the information collected by the micro control unit 122 in the storage device 120 in an in-band management manner. In this case, once the host CPU or the main controller of the storage device is abnormal, the host will not be able to obtain the status information of the storage device 120 and cannot perform management operations on the CPU.
[0069] In contrast, the baseboard management controller 211 of the present application has the ability to obtain the status information of the storage device 220 from the micro control unit, thus expanding the out-of-band management capability of collecting information from the storage device 220. In addition, the baseboard management controller 211 according to the exemplary embodiment of the present invention can control the operation of the storage device 220 based on the information received from the micro control unit 221 through communication, thus enhancing the control capability of the host over the storage device 220.
[0070] The storage device 220 may include various types of storage devices (e.g., volatile storage devices, non-volatile storage devices) for storing data. The product information of the storage device 220 may include VPD information. For example, the VPD information may include basic information such as the serial number and model of the storage device 220. The status information of the storage device may include, but is not limited to, at least one of voltage, humidity, temperature, current, fan status information, and power status information. In addition, the status information of the storage device 220 may be obtained in various ways. For example, as an example only, the status information of the storage device 220 may be obtained by a sensor.
[0071] In one example, the baseboard management controller 211 may send at least one information obtained from the micro control unit 221 to a processor (not shown) of the host 210, so that the processor of the host 210 determines an operation instruction for the storage device 220 based on the at least one information. The baseboard management controller 211 may receive the operation instruction for the storage device 220 from the processor of the host 210. Afterwards, the baseboard management controller 211 may send the operation instruction to the micro control unit 221 by communicating with the micro control unit 221. For example, the micro control unit 222 may perform a corresponding operation based on the received operation instruction.
[0072] In another example, the baseboard management controller 211 may determine an operation instruction for the storage device 220 based on at least one information obtained from the micro control unit 221. The baseboard management controller 211 may send the operation instruction to the micro control unit 221 by communicating with the micro control unit 221. For example, the micro control unit 222 may perform a corresponding operation based on the received operation instruction.
[0073] That is, the baseboard management controller can directly or indirectly control the operation of the storage device 220 based on at least one information obtained from the micro control unit 221, thereby enhancing the management function of the baseboard management controller 211 on the storage device 220 (eg, out-of-band management function).
[0074] In one embodiment, in response to at least one information indicating that the storage device 220 is in an abnormal state, the baseboard management controller 211 may send information for operating the storage device 220 to the micro control unit 221. The storage device 220 may perform corresponding operations based on the received information for operating the storage device 220. For example, the information for operating the storage device 220 may be at least one of a message and a command. That is, in this embodiment, the baseboard management controller 211 may communicate with the micro control unit 221 when the storage device 220 is abnormal. Therefore, the control capability of the baseboard management controller 211 over the storage device 220 can be improved when the storage device 220 is abnormal.
[0075] The communication may have various forms. In one example, the baseboard management controller 211 may continuously communicate with the micro control unit 221. In another example, the baseboard management controller 211 may indirectly (eg, periodically or aperiodically) communicate with the micro control unit 221.
[0076] In addition, the baseboard management controller 211 can determine whether the storage device 220 is abnormal in various ways. For example, the baseboard management controller 211 can determine whether the storage device 220 is abnormal based on a signal of a processor of the host 210. However, the above examples are only exemplary and the present invention is not limited thereto.
[0077] In one example, the baseboard management controller 211 can communicate with the micro control unit 221 based on the internal integrated circuit bus or the system management bus. Therefore, the baseboard management controller 211 can communicate efficiently with the micro control unit 221. However, the above example is only exemplary, and the present invention is not limited thereto, and the bus or protocol based on which the communication is based can be any other bus or protocol.
[0078] In the storage device 220, the micro control unit 221 may monitor the status information of the storage device 220. As described above, the status information of the storage device may include but is not limited to at least one of voltage, humidity, temperature, current, fan status information, and power status information. In addition, the micro control unit 221 may store at least one of the status information of the storage device 220 and the product information of the storage device 220. As described above, the product information of the storage device 220 may include VPD information. For example, the VPD information may include basic information such as the serial number and model of the storage device 220. The micro control unit 221 may communicate with the baseboard management controller 220 to send at least one information to the baseboard management controller.
[0079] Since the micro control unit 221 can send at least one of the status information of the storage device 220 and the product information of the storage device 220 to the external baseboard management controller, the management function (eg, out-of-band management function) regarding the storage device 220 is enhanced.
[0080] In one embodiment, the micro control unit may include a persistent memory (not shown). The persistent memory may be used to store at least one of the state information of the storage device 220 and the product information of the storage device 220. Therefore, at least one of the state information of the storage device 220 and the product information of the storage device 220 may be reliably stored in the micro control unit.
[0081] Will be combined later Figures 3 to 6B The various components or operations of the various components of the present invention are described, however, these descriptions are only exemplary and the present invention is not limited thereto.
[0082] Figure 3 is a block diagram illustrating a storage system according to an example embodiment of the present invention.
[0083] Reference Figure 3According to an example embodiment of the present invention, a storage system 300 may include a host 310 and a storage device 320. The storage device 320 may include an MCU 321. The microcontroller unit 321 may acquire information of the storage device 320. The host 310 may include a BMC 311. The baseboard management controller 311 may receive information from the microcontroller unit 321 through out-of-band management and control the operation of the storage device 320 based on the information. That is, the host 310, the storage device 320, the microcontroller unit 321, and the baseboard management controller 311 may communicate with each other respectively. Figure 2 The host 210, storage device 220, micro control unit 221 and baseboard management controller 211 are similar. Therefore, repeated description will be omitted, and the following will refer to Figure 3 Main description Figure 3 and Figure 2 The difference.
[0084] In one embodiment, the micro control unit 311 may include a persistent memory 322. The persistent memory 322 may store information of the storage device 320 acquired by the micro control unit 321. The information of the storage device 320 may include at least one of key product data, software information, and hardware information of the storage device 320. For example, the hardware information may be information about the hardware inside the storage device 320 (e.g., voltage, capacitance state, temperature, humidity, power supply, fan, etc., as examples only), and may be obtained by, for example, a sensor inside the storage device 320. The software information may be information about the software and / or program inside the storage device 320 (e.g., running status information, etc., as examples only).
[0085] Return to reference Figure 1 ,exist Figure 1 In the storage system 100 of the prior art, a electrically erasable programmable read-only memory 124 is set in the storage device 120 to store limited specific information (i.e., key product data information of the storage device 120 and temperature information of the electrically erasable programmable read-only memory 124), which makes the out-of-band management capability of the storage device 120 insufficient.
[0086] In contrast, in this embodiment, since a persistent memory 322 for storing various information of the storage device 320 (for example, at least one of key product data, software information, and hardware information of the storage device 320) is provided in the microcontroller unit 311, the microcontroller unit 311 can send various information to the baseboard management controller 311 through out-of-band management, thereby enhancing and expanding the out-of-band management capability of the storage device 320.
[0087] In one embodiment, out-of-band management between the baseboard management controller 311 and the microcontroller unit 321 may be implemented through a software communication protocol stack between the baseboard management controller 311 and the microcontroller unit 321, wherein the software communication protocol stack may include at least one of an internal integrated circuit bus and a system management bus.
[0088] The software communication protocol stack between the baseboard management controller 311 and the micro control unit 321 can enable the baseboard management controller 311 and the micro control unit 321 to have one or more functions such as assembling messages, transmitting messages, receiving messages, parsing messages, and processing messages. The baseboard management controller 311 can send messages to the MCU through its own software communication protocol stack, and the micro control unit 321 can receive messages and complete related operations through its own software communication protocol stack and reply to the BMC, thereby achieving the function of out-of-band communication. In one example, the software communication protocol stack between the baseboard management controller 311 and the micro control unit 321 can be an internal integrated circuit (Inter-Integrated Circuit, I2C) bus. In another example, the software communication protocol stack between the baseboard management controller 311 and the micro control unit 321 can be a system management bus (SystemManagement Bus, SMBus). However, the above examples are only exemplary, and the software communication protocol stack between the baseboard management controller 311 and the micro control unit 321 of the present invention is not limited thereto, and can be any other bus or a combination of multiple buses.
[0089] In this embodiment, by implementing a software communication protocol stack between the baseboard management controller 311 and the micro control unit 321, the communication capability between the baseboard management controller 311 and the micro control unit 321 is enhanced, so that more messages and commands can be sent between the two, and the out-of-band management capability of the baseboard management controller 311 for the storage device is enhanced and expanded, so that the baseboard management controller 311 can better monitor and manage the storage device. For example, when the baseboard management controller 311 detects an abnormal power failure of the host, the baseboard management controller 311 can send a message to the storage device 320 through out-of-band management, so that the storage device 320 can take countermeasures. In this way, data integrity can be guaranteed and data loss can be prevented.
[0090] In one embodiment, the storage device 320 may not include an EEPROM. For example, the EEPROM may be a reference Figure 1 In other words, the storage device 320 may not include an EEPROM (e.g., Figure 1 Electrically erasable programmable read-only memory 124).
[0091] In this embodiment, since the EEPROM is removed from the storage device 320 , the space on the main board of the storage device 320 is saved and the cost of the storage device 320 is reduced.
[0092] In addition, optionally, the host 310 may further include a central processor (not shown), and the storage device 320 may further include a main controller (not shown) communicating with the micro control unit 321. The central processor may communicate with the main controller through in-band management.
[0093] In addition, optionally, the storage device 320 further includes a power supply unit (not shown) and a backup power supply (not shown) configured to supply power to the micro control unit 321. When the power supply unit cannot supply power, the backup power supply supplies power to the micro control unit 321. Since the micro control unit 321 can be supplied with power using one of the power supply unit and the backup power supply, stable out-of-band management can be achieved.
[0094] In one embodiment, when the main controller of the storage device 320 is unable to communicate with the micro control unit 321 due to a fault, the baseboard management controller 311 can receive information related to the fault from the micro control unit through out-of-band management, and determine the cause of the fault and / or repair the fault based on the information related to the fault.
[0095] That is, when the main controller of the storage device 320 is in an abnormal state and cannot communicate in-band, the baseboard management controller 311 can communicate with the storage device 320 through the out-of-band management method according to the exemplary embodiment of the present invention, obtain the information before and after the main controller of the storage device 320 has an error (for example, hardware monitoring information, log information, etc.), and use this information to perform fault analysis, so as to quickly locate the cause of the fault and repair the fault. Effectively reducing the fault time can greatly reduce the production loss and cost caused by the failure of the storage device 320 in industrial production.
[0096] In addition, the storage system 300 according to the exemplary embodiment of the present invention can collect the internal hardware information of the storage device 320 through the baseboard management controller 311 and store it in the persistent memory 322 of the micro control unit 321. Then, the baseboard management controller 311 communicates with the micro control unit 321 through out-of-band management, thereby solving the problem of Figure 1 When the main controller of a storage device in the host fails, the host cannot monitor the internal hardware of the storage device.
[0097] Figure 4 is a block diagram illustrating a storage system according to an example embodiment of the present invention.
[0098] Reference Figure 4, a storage system 400 according to an example embodiment of the present invention may include a host 410 and a storage device 420. The storage device 420 may include an MCU 421. The microcontroller unit 421 may acquire information of the storage device 420. The host 410 may include a BMC 411. The baseboard management controller 411 may receive information from the microcontroller unit 421 through out-of-band management, and control the operation of the storage device 420 based on the information. The microcontroller unit 421 may include a persistent memory 422. The persistent memory 422 may store information of the storage device 420 acquired by the microcontroller unit 421. That is, the host 410, the storage device 420, the microcontroller unit 421, the baseboard management controller 411, and the persistent memory 422 may be respectively connected to Figure 3 The host 310, storage device 320, micro control unit 321, baseboard management controller 311 and persistent memory 322 are similar. Therefore, repeated description will be omitted, and the following will refer to Figure 4 Main description Figure 4 and Figure 3 The difference.
[0099] The microcontroller unit 421 may be a control device. The microcontroller unit 421 may be connected to the sensor 424 inside the storage device 420 and obtain hardware information (for example, voltage, power, current, etc.). The microcontroller unit 421 includes a persistent memory 422. The persistent memory 422 may be used to store one or more of the collected hardware information, key product data information, and other information that may be used.
[0100] The first power supply unit (PSU1) 441 and the second power supply unit (PSU2) 442 may respectively supply power to the main controller 423 and the micro control unit 421. In one example, the main controller 423 may operate with a voltage of 12 V, and the micro control unit 421 may operate with a voltage of 3.3 V. However, the above example is merely exemplary, and the operating voltages of the main controller 423 and the micro control unit 421 of the present invention are not limited thereto, and may be any other voltage value.
[0101] When the first power supply unit 441 fails to supply power, the backup power supply 432 can continue to supply power to the micro control unit 421, so that the out-of-band management continues to work, thereby ensuring stable out-of-band management. When the second power supply unit 442 fails to supply power, the backup power supply 432 can continue to supply power to the main controller 423.
[0102] Although Figure 4The first power supply unit 441 and the second power supply unit 442 are shown to be located in the host 410, but the arrangement position of the first power supply unit 441 and the second power supply unit 442 of the present invention is not limited thereto and may be any other position (for example, a position in the storage device 420 or a position outside the host 410 and the storage device 420).
[0103] In addition, the first power supply unit 441 and the second power supply unit 442 may receive power from an external power source 430. For example, the power source 430 may include an alternating current (AC) power source 431 and a backup power source 432.
[0104] Compared to Figure 1 According to an exemplary embodiment of the present invention, the hardware architecture of the storage device 100 of the prior art is improved, and the electrically erasable programmable read-only memory is removed from the storage device 400, thereby saving space on the main board of the storage device 400 and reducing the cost of the storage device.
[0105] Return to reference Figure 1 , Figure 1 The information stored in the EEPROM 124 in the storage device 120 of the prior art is limited, and the EEPROM 124 only stores the key product data information of the storage device and the temperature information of the EEPROM. In contrast, the storage system 400 according to the exemplary embodiment of the present invention uses the microcontroller unit 421 in the storage device 420 as the core component of the out-of-band management of the storage device 420. The microcontroller unit 421 is connected to the internal sensor of the storage device 420 and is responsible for collecting the hardware information (for example, voltage, capacitance state, temperature, etc., as an example only) and / or other information of the storage device 420. This information will be stored in the persistent memory 422 of the microcontroller unit 421. The persistent memory 412 of the microcontroller unit 421 can store not only the key product data information of the original storage device, but also the hardware information and / or other information of the storage device, thereby enhancing and expanding the out-of-band management capability of the storage device.
[0106] In addition, the storage system 400 according to the example embodiment of the present invention can collect hardware information and / or other information inside the storage device 420 through the micro control unit 421, and store this information in the persistent memory 422 of the micro control unit 421. Then the baseboard management controller 411 communicates with the micro control unit 421 through out-of-band management. This solves the problem that the host 410 (for example, CPU 412) cannot monitor the hardware inside the storage device 420 when the main controller of the storage device 420 is abnormal.
[0107] Generally, the MTBF of the main controller of the storage device is 1.5 million hours, while the baseboard management controller on the host and the micro control unit in the storage device are the source elements with the highest MTBF, with the baseboard management controller having an MTBF of 7.35 billion hours; and the micro control unit having an MTBF of 100 million hours. Therefore, the storage system 400 according to the exemplary embodiment of the present invention can use the micro control unit 421 as the main component of the out-of-band management of the storage device 420, and perform out-of-band management through the baseboard management controller 411 and the micro control unit 421, thereby expanding and enhancing the out-of-band management function of the storage device 420, and the high availability of the micro control unit 421 also greatly improves the stability of the out-of-band management of the storage device 420. Moreover, when the power supply unit cannot supply power, the backup battery can provide a voltage (for example, 3.3V as an example only) to continue to supply power to the micro control unit 421, so that the out-of-band management continues to work, thereby ensuring the stability and reliability of the out-of-band management.
[0108] In addition, according to the storage system 400 of the exemplary embodiment of the present invention, when the main controller 423 of the storage device 420 is in an abnormal state and cannot communicate in-band, the baseboard management controller 411 can communicate with the storage device 420 through an out-of-band management method, obtain information before and after the main controller 423 of the storage device 420 has an error (for example, hardware monitoring information, log information, etc.), and use this information to perform fault analysis, so as to quickly locate the cause of the fault and repair the fault. In other words, the storage system 400 according to the exemplary embodiment of the present invention can effectively reduce the fault time and can greatly reduce the production loss and cost caused by the failure of the storage device 420 in industrial production.
[0109] Return to reference Figure 1 , Figure 1The out-of-band management of the storage device 420 by the baseboard management controller 112 in the storage system 100 of the prior art is only that the baseboard management controller 112 obtains the key product data information of the storage device 120 and the sensor information of the EEPROM 124, and the baseboard management controller 112 cannot operate or control the storage device 120 through the out-of-band management. In contrast, the storage system 400 according to the exemplary embodiment of the present invention enhances the communication capability between the baseboard management controller 411 and the micro control unit 421 of the storage device 420 by implementing the software communication protocol stack between the baseboard management controller 411 and the micro control unit 421, so that more messages, commands, etc. can be sent between the baseboard management controller 411 and the micro control unit 421 of the storage device 420, and the out-of-band management capability of the baseboard management controller 411 to the storage device 420 is enhanced and expanded, so that the baseboard management controller 411 can better monitor and manage the storage device 420. For example, when the baseboard management controller 411 detects that the host 410 is abnormally powered off, the baseboard management controller 411 can send a message to the storage device 420 through out-of-band management to allow the storage device 420 to take countermeasures. This can ensure data integrity and prevent data loss.
[0110] Figure 5A is a flow chart illustrating an out-of-band management method according to an example embodiment of the present invention.
[0111] Reference Figure 5A In operation S510, the baseboard management controller may communicate with the micro control unit of the storage device to obtain at least one of product information of the storage device and status information of the storage device. Operation S510 may be performed by referring to Figures 2 to 4 Therefore, for the sake of brevity, operation S510 will not be described in detail here.
[0112] In operation S520, based on at least one information, the baseboard management controller may operate the storage device. Operation S520 may be performed by referring to Figures 2 to 4 Therefore, for the sake of brevity, operation S520 will not be described in detail here.
[0113] Figure 5B is a flow chart illustrating an out-of-band management method according to an example embodiment of the present invention.
[0114] Reference Figure 5B In operation S530, the micro control unit may monitor the status information of the storage device. Operation S530 may be performed by referring to Figures 2 to 4Therefore, for the sake of brevity, operation S530 will not be described in detail here.
[0115] In operation S540, the micro control unit may store at least one of the state information of the storage device and the product information of the storage device. Operation S540 may be performed by referring to Figures 2 to 4 Therefore, for the sake of brevity, operation S540 will not be described in detail here.
[0116] In operation S550, the micro control unit may send at least one information to the baseboard management controller by communicating with the baseboard management controller. Operation S550 may be performed by referring to Figures 2 to 4 Therefore, for the sake of brevity, operation S550 will not be described in detail here.
[0117] Fig. 6A A flow chart showing an out-of-band management method according to an example embodiment of the present invention is shown.
[0118] Reference Fig. 6A In operation S610a, the host is powered on and the BMC starts to work. In one example, the BMC can work normally regardless of whether there is an operating system or not and whether the operating system is normal.
[0119] In operation S620a, the BMC can communicate with the MCU through out-of-band management, and monitor, record and manage the relevant status and information of the storage device. In one example, the BMC can continuously communicate with the MCU through out-of-band management, and monitor, record and manage the relevant status and information of the storage device.
[0120] In operation S630a, when the storage system is abnormal, the BMC can send a message to the storage device through out-of-band communication, and the storage device can take corresponding measures for the abnormal situation to improve the error response capability of the SSD and prevent the occurrence of errors in the storage device. That is, according to the method of the exemplary embodiment of the present invention, when the storage system (for example, the storage device) is in an abnormal state, the in-band communication has been unable to work, and the out-of-band communication of the storage device is not affected. The BMC can still communicate with the SSD through out-of-band management to obtain relevant information of the SSD.
[0121] Figure 6B A flow chart showing an out-of-band management method according to an example embodiment of the present invention is shown.
[0122] Reference Figure 6B In operation S610b, the host is powered on and the BMC starts to work. In one example, the BMC can work normally regardless of whether there is an operating system or not and whether the operating system is normal.
[0123] In operation S620b, the BMC can communicate with the MCU through out-of-band management, and monitor, record and manage the relevant status and information of the storage device. In one example, the BMC can continuously communicate with the MCU through out-of-band management, and monitor, record and manage the relevant status and information of the storage device.
[0124] In operation S630b, when the storage device is abnormal, the out-of-band communication of the storage device is not affected, and the BMC obtains the relevant information of the storage device before and after the error through the out-of-band communication to perform fault analysis. That is, when the storage device is abnormal, the in-band communication can no longer work, and the out-of-band communication of the storage device is not affected. The BMC can still communicate with the storage device through out-of-band management to obtain the relevant information of the storage device before and after the error, perform fault analysis, and thus quickly locate the problem and repair the fault.
[0125] Figure 6C A flow chart showing an out-of-band management method according to an example embodiment of the present invention is shown.
[0126] Reference Figure 6C In operation S610c, the host is powered on and the BMC starts to work. In one example, the BMC can work normally regardless of whether there is an operating system or not and whether the operating system is normal.
[0127] In operation S620c, the BMC can communicate with the MCU through out-of-band management, and monitor, record and manage the relevant status and information of the storage device. In one example, the BMC can continuously communicate with the MCU through out-of-band management, and monitor, record and manage the relevant status and information of the storage device.
[0128] In operation S630c, when the storage device is abnormal, the out-of-band communication of the storage device is not affected, and the BMC can still obtain the required information from the storage device through out-of-band management. In other words, if the storage system is abnormal, the BMC can send a message to the storage device through out-of-band management, so that the storage device can take corresponding measures in advance for the abnormal situation, take preemptive action on system errors, improve the error response capability of the storage device, and prevent the occurrence of storage device errors.
[0129] Figure 7 FIG. 1 is a schematic diagram of a system 1000 to which a storage device is applied according to an embodiment. Figure 1 The system 1000 (eg, electronic system) may be a mobile system such as a portable communication terminal (eg, mobile phone), a smart phone, a tablet personal computer (PC), a wearable device, a healthcare device, or an Internet of Things (IOT) device. However, Figure 7The system 1000 is not necessarily limited to a mobile system, and may be a PC, a laptop, a server, a media player, or an automotive device (eg, a navigation device).
[0130] Reference Figure 7 , the system 1000 may include a main processor 1100, a memory (e.g., 1200a and 1200b), and a storage device (e.g., 1300a and 1300b). In addition, the system 1000 may include at least one of an image capture device 1410, a user input device 1420, a sensor 1430, a communication device 1440, a display 1450, a speaker 1460, a power supply device 1470, and a connection interface 1480.
[0131] In some embodiments, the system 1000 further includes a baseboard management controller (not shown). For example, the memory (e.g., 1200a and 1200b) and the storage device (e.g., 1300a and 1300b) include a microcontroller unit (not shown). The baseboard management controller may be a reference Figure 2 To at least one of the baseboard management controllers described in FIG. 6 , the microcontroller unit may be a reference Figure 2 To at least one of the microcontroller units described in FIG. 6 .
[0132] The main processor 1100 may control all operations of the system 1000, and more specifically, may control operations of other components included in the system 1000. The main processor 1100 may be implemented as a general-purpose processor, a dedicated processor, an application processor, or the like.
[0133] The main processor 1100 may include at least one central processing unit (CPU) core 1110, and also include a controller 1120 for controlling memories 1200a and 1200b and / or storage devices 1300a and 1300b. In some embodiments, the main processor 1100 may further include an accelerator 1130, which is a dedicated circuit for high-speed data operations such as artificial intelligence (AI) data operations. The accelerator 1130 may include a graphics processing unit (GPU), a neural processing unit (NPU), and / or a data processing unit (DPU), etc., and is implemented as a chip physically separated from other components of the main processor 1100.
[0134] The memories 1200a and 1200b may be used as main storage devices of the system 1000. Although the memories 1200a and 1200b may respectively include volatile memories, such as static random access memory (SRAM) and / or dynamic random access memory (DRAM), etc., the memories 1200a and 1200b may respectively include non-volatile memories, such as flash memory, phase change random access memory (PRAM) and / or resistive random access memory (RRAM), etc. The memories 1200a and 1200b may be implemented in the same package as the main processor 1100.
[0135] The storage devices 1300a and 1300b may be used as non-volatile storage devices, which are configured to store data regardless of whether they are powered on and have a larger storage capacity than the memories 1200a and 1200b. The storage devices 1300a and 1300b may include memory controllers (STRG CTRL) 1310a and 1310b and non-volatile memories (NVM) 1320a and 1320b, respectively, which are configured to store data via the control of the memory controllers 1310a and 1310b. Although the NVMs 1320a and 1320b may include V-NAND flash memories having a two-dimensional (2D) or three-dimensional (3D) structure, the NVMs 1320a and 1320b may include other types of NVMs, such as PRAM and / or RRAM, etc.
[0136] The storage devices 1300a and 1300b may be physically separated from the main processor 1100 and included in the system 1000, or may be implemented in the same package as the main processor 1100. In addition, the storage devices 1300a and 1300b may have a type of solid-state devices (SSDs) or memory cards, and may be removably combined with other components of the system 100 through an interface such as a connection interface 1480 to be described later. The storage devices 1300a and 1300b may be devices to which a standard protocol such as Universal Flash Storage (UFS), Embedded Multimedia Card (eMMC), or NVMe is applied, but are not limited thereto.
[0137] The image capture device 1410 can capture still images or moving images. The image capture device 1410 may include a camera, a camcorder, and / or a webcam, etc.
[0138] The user input device 1420 may receive various types of data input by a user of the system 1000 and includes a touch pad, a keypad, a keyboard, a mouse, a microphone, and the like.
[0139] The sensor 1430 may detect various types of physical quantities that may be obtained from the outside of the system 1000 and convert the detected physical quantities into electrical signals. The sensor 1430 may include a temperature sensor, a pressure sensor, an illumination sensor, a position sensor, an acceleration sensor, a biosensor, and / or a gyro sensor, etc.
[0140] The communication device 1440 may transmit and receive signals between other devices outside the system 1000 according to various communication protocols. The communication device 1440 may include an antenna, a transceiver, a modem, or the like.
[0141] Display 1450 and speaker 1460 may be used as output devices configured to output visual information and auditory information, respectively, to a user of system 1000 .
[0142] The power supply device 1470 may appropriately convert power supplied from a battery (not shown) embedded in the system 1000 and / or an external power source, and supply the converted power to each component of the system 1000 .
[0143] The connection interface 1480 may provide a connection between the system 1000 and an external device that is connected to the system 1000 and is capable of transmitting and receiving data to and from the system 1000. The connection interface 1480 may be implemented by using various interface schemes, for example, Advanced Technology Attachment (ATA), Serial ATA (SATA), External Serial ATA (e-SATA), Small Computer System Interface (SCSI), Serial Attached SCSI (SAS), Peripheral Component Interconnect (PCI), PCI express (PCIe), NVMe, IEEE 1394, Universal Serial Bus (USB) interface, Secure Digital (SD) card interface, Multimedia Card (MMC) interface, Embedded Multimedia Card (eMMC) interface, UFS interface, Embedded UFS (eUFS) interface, Compact Flash (CF) card interface, and the like.
[0144] Figure 8 is a block diagram of a host storage system 8000 according to an exemplary embodiment.
[0145] The host storage system 8000 may include a host 8100 and a storage device 8200. In addition, the storage device 8200 may include a memory controller 8210 and an NVM 8220. According to an exemplary embodiment of the present invention, the host 8100 may include a host controller 8110 and a host memory 8120. The host memory 8120 may be used as a buffer memory configured to temporarily store data to be transmitted to or received from the storage device 8200.
[0146] In some embodiments, the host 8100 further includes a baseboard management controller (not shown). For example, the storage device 8200 further includes a microcontroller unit (not shown). The baseboard management controller may be a reference Figures 2 to 6C At least one of the baseboard management controllers described herein, the microcontroller unit may be a reference Figures 2 to 6C At least one microcontroller unit as described.
[0147] The storage device 8200 may include a storage medium configured to store data in response to a request from the host 8100. As an example, the storage device 8200 may include at least one of an SSD, an embedded memory, and a removable external memory. When the storage device 8200 is an SSD, the storage device 8200 may be a device that complies with the NVMe standard. When the storage device 8200 is an embedded memory or an external memory, the storage device 8200 may be a device that complies with the UFS standard or the eMMC standard. Both the host 8100 and the storage device 8200 may generate a packet and send the packet according to the adopted standard protocol.
[0148] When the NVM 8220 of the storage device 8200 includes a flash memory, the flash memory may include a 2D NAND memory array or a 3D (or vertical) NAND (VNAND) memory array. As another example, the storage device 8200 may include various other types of NVM. For example, the storage device 8200 may include a magnetic random access memory (MRAM), a spin transfer torque MRAM, a conductive bridge RAM (CBRAM), a ferroelectric RAM (FRAM), a PRAM, a RRAM, and various other types of memory.
[0149] According to an embodiment, the host controller 8110 and the host memory 8120 may be implemented as separate semiconductor chips. Alternatively, in some embodiments, the host controller 8110 and the host memory 8120 may be integrated in the same semiconductor chip. As an example, the host controller 8110 may be any one of a plurality of modules included in an application processor (AP). The AP may be implemented as a system on chip (SoC). In addition, the host memory 8120 may be an embedded memory included in the AP or a memory module outside the AP.
[0150] The host controller 8110 may manage an operation of storing data (eg, write data) of a buffer area of the host memory 8120 in the NVM 8220 or an operation of storing data (eg, read data) of the NVM 8220 in the buffer area.
[0151] The memory controller 8210 may include a host interface 8211, a memory interface 8212, and a CPU 8213. In addition, the memory controller 8210 may further include a flash translation layer (FTL) 8124, a packet manager 8215, a buffer memory 8216, an error correction code (ECC) engine 8217, and an advanced encryption standard (AES) engine 8218. The memory controller 8210 may further include a working memory (not shown) in which the FTL 8124 is loaded. The CPU 8213 may execute the FTL 8124 to control data write and read operations on the NVM 8220.
[0152] The host interface 8211 may transmit and receive packets to and from the host 8100. The packet transmitted from the host 8100 to the host interface 8211 may include a command or data to be written to the NVM 8220, etc. The packet transmitted from the host interface 8211 to the host 8100 may include a response to a command or data read from the NVM 8220, etc. The memory interface 8212 may transmit data to be written to the NVM 8220 to the NVM 8220 or receive data read from the NVM 8220. The memory interface 8212 may be configured to comply with a standard protocol such as Toggle or Open NAND Flash Interface (ONFI).
[0153] The FTL 8124 may perform various functions, such as an address mapping operation, a wear leveling operation, and a garbage collection operation. The address mapping operation may be an operation of converting a logical address received from the host 8100 into a physical address for actually storing data in the NVM 8220. The wear leveling operation may be a technique for preventing excessive degradation of a specific block by allowing the blocks of the NVM 8220 to be used evenly. As an example, the wear leveling operation may be implemented by using a firmware technique that balances the erase counts of physical blocks. The garbage collection operation may be a technique for ensuring available capacity in the NVM 8220 by erasing an existing block after copying valid data of the existing block to a new block.
[0154] The packet manager 8215 may generate a packet according to a protocol agreed to an interface of the host 8100, or parse various types of information from a packet received from the host 8100. In addition, the buffer memory 8216 may temporarily store data to be written to or read from the NVM 8220. Although the buffer memory 8216 may be a component included in the memory controller 8210, the buffer memory 8216 may be outside the memory controller 8210.
[0155] The ECC engine 8217 may perform error detection and correction operations on read data read from the NVM 8220. More specifically, the ECC engine 8217 may generate parity bits for write data to be written to the NVM 8220, and the generated parity bits may be stored together with the write data in the NVM 8220. During reading of data from the NVM 8220, the ECC engine 8217 may correct errors in the read data by using the read data and the parity bits read from the NVM 8220, and output the error-corrected read data.
[0156] The AES engine 8218 may perform at least one of an encryption operation and a decryption operation on data input to the memory controller 8210 by using a symmetric key algorithm.
[0157] Fig. 9 is a block diagram of a storage system 9000 according to an embodiment of the present invention.
[0158] Reference Fig. 9 , the memory system 9000 may include a memory device 9200 and a memory controller 9100. The memory system 9000 may support a plurality of channels CH1 to CHm, and the memory device 9200 may be connected to the memory controller 9100 through the plurality of channels CH1 to CHm. For example, the memory system 9000 may be implemented as a memory device such as an SSD.
[0159] In some embodiments, the storage system 9000 may correspond to Figures 2 to 6C For example, the storage system 9000 may further include a micro control unit (not shown). The micro control unit may be a reference Figures 2 to 6C At least one microcontroller unit as described.
[0160] The memory device 9200 may include a plurality of NVM devices NVM11 to NVMmn. Each of the NVM devices NVM11 to NVMmn may be connected to one of the plurality of channels CH1 to CHm through a path corresponding thereto. For example, the NVM devices NVM11 to NVM1n may be connected to the first channel CH1 through paths W11 to W1n, and the NVM devices NVM21 to NVM2n may be connected to the second channel CH2 through paths W21 to W2n. In an exemplary embodiment, each of the NVM devices NVM11 to NVM1n may be implemented as an arbitrary storage element that may be operated according to a separate command from the memory controller 9100. For example, each of the NVM devices NVM11 to NVM1n may be implemented as a chip or a die, but the present invention is not limited thereto.
[0161] The memory controller 9100 may transmit and receive signals to and from the memory device 9200 through a plurality of channels CH1 to CHm. For example, the memory controller 9100 may transmit commands CMDa to CMDm, addresses ADDRa to ADDRm, and data DATAa to DATAm to the memory device 9200 through the channels CH1 to CHm, or may receive data DATAa to DATAm from the memory device 9200.
[0162] The memory controller 9100 may select one from among the NVM devices NVM11 to NVMmn connected to each of the channels CH1 to CHm by using a corresponding one of the channels CH1 to CHm, and transmit and receive signals to and from the selected NVM device. For example, the memory controller 9100 may select the NVM device NVM11 from among the NVM devices NVM11 to NVM1n connected to the first channel CH1. The memory controller 9100 may transmit a command CMDa, an address ADDRa, and data DATAa to the selected NVM device NVM11 through the first channel CH1, or receive data DATAa from the selected NVM device NVM11.
[0163] The memory controller 9100 may transmit and receive signals to and from the memory device 9200 in parallel through channels different from each other. For example, the memory controller 9100 may transmit a command CMDa to the memory device 9200 through the first channel CH1 while transmitting a command CMDb to the memory device 9200 through the second channel CH2. For example, the memory controller 9100 may receive data DATAa from the memory device 9200 through the first channel CH1 while receiving data DATAb from the memory device 9200 through the second channel CH2.
[0164] The memory controller 9100 may control all operations of the memory device 9200. The memory controller 9100 may send signals to the channels CH1 to CHm and control each of the NVM devices NVM11 to NVMmn connected to the channels CH1 to CHm. For example, the memory controller 9100 may send a command CMDa and an address ADDRa to the first channel CH1 and control one selected from the NVM devices NVM11 to NVM1n.
[0165] Each of the NVM devices NVM11 to NVMmn may operate via the control of the memory controller 9100. For example, the NVM device NVM11 may program data DATAa based on a command CMDa, an address ADDRa, and data DATAa provided to the first channel CH1. For example, the NVM device NVM21 may read data DATAb based on a command CMDb and an address ADDb provided to the second channel CH2, and transmit the read data DATAb to the memory controller 9100.
[0166] although Fig. 9 An example is shown in which the memory device 9200 communicates with the memory controller 9100 through m channels and includes n NVM devices corresponding to each channel, but the number of channels and the number of NVM devices connected to one channel may be changed.
[0167] Fig.10 FIG. 2 is a block diagram of a UFS system 2000 according to an embodiment.
[0168] The UFS system 2000 may be a system conforming to the UFS standard announced by the Joint Electronic Engineering Design Development Council (JEDEC), and includes a UFS host 2100, a UFS device 2200, and a UFS interface 2300. Fig.10 To the extent that the description conflicts, Figure 7 The above description of system 1000 can also be applied to Fig.10 UFS system 2000.
[0169] In some embodiments, the UFS host 2100 may include a baseboard management controller (not shown). For example, the UFS device 2200 may include a microcontroller unit (not shown). The baseboard management controller may be a reference Figures 2 to 6C At least one of the baseboard management controllers described herein, the microcontroller unit may be a reference Figures 2 to 6C At least one microcontroller unit as described.
[0170] Reference Fig.10 , the UFS host 2100 may be connected to the UFS device 2200 through the UFS interface 2300. Fig.10 When the main processor 1100 is an application processor, the UFS host 2100 may be implemented as a part of the application processor. The UFS host controller 2110 and the host memory 2140 may correspond to Figure 7 The UFS device 2200 may correspond to the main processor 1100 and the controller 1120 and the memories 1200a and 1200b. Figure 7The storage devices 1300a and 1300b, and the UFS device controller 2210 and the NVM 2220 may correspond to Figure 7 Memory controllers 1310a and 1310b and NVMs 1320a and 1320b.
[0171] The UFS host 2100 may include a UFS host controller 2110, an application 2120, a UFS driver 2130, a host memory 2140, and a UFS interconnect (UIC) layer 2150. The UFS device 2200 may include a UFS device controller 2210, an NVM 2220, a storage interface 2230, a device memory 2240, a UIC layer 2250, and a regulator 2260. The NVM 2220 may include a plurality of storage elements 2221. Although each storage element 2221 may include a V-NAND flash memory having a 2D structure or a 3D structure, each storage element 2221 may include another NVM, such as a PRAM and / or an RRAM, etc. The UFS device controller 2210 may be connected to the NVM 2220 through a storage interface 2230. The storage interface 2230 may be set to comply with a standard protocol such as Toggle or ONFI.
[0172] The application 2120 may refer to a program that wants to communicate with the UFS device 2200 to use the functions of the UFS device 2200. The application 2120 may send an input-output request (IOR) to the UFS driver 2130 for an input / output (I / O) operation on the UFS device 2200. The IOR may refer to a data read request, a data storage (or write) request, and / or a data erase (or discard) request, but is not limited thereto.
[0173] The UFS driver 2130 may manage the UFS host controller 2110 through a UFS-Host Controller Interface (UFS-HCI). The UFS driver 2130 may convert the IOR generated by the application 2120 into a UFS command defined by the UFS standard, and send the UFS command to the UFS host controller 2110. One IOR may be converted into a plurality of UFS commands. Although the UFS command may be basically defined by the SCSI standard, the UFS command may be a command dedicated to the UFS standard.
[0174] The UFS host controller 2110 may transmit the UFS command converted by the UFS driver 2130 to the UIC layer 2250 of the UFS device 2200 through the UIC layer 2150 and the UFS interface 2300. During transmission of the UFS command, the UFS host register 2111 of the UFS host controller 2110 may function as a command queue (CQ).
[0175] The UIC layer 2150 on the UFS host 2100 side may include a Mobile Industry Processor Interface (MIPI) M-PHY 2151 and a MIPI UniPro 2152 , and the UIC layer 2150 on the UFS device 2200 side may also include a MIPI M-PHY 2251 and a MIPI UniPro 2252 .
[0176] The UFS interface 2300 may include a line configured to transmit a reference clock signal REF_CLK, a line configured to transmit a hardware reset signal RESET_n of the UFS device 2200 , a pair of lines configured to transmit a pair of differential input signals DIN_t and DIN_c, and a pair of lines configured to transmit a pair of differential output signals DOUT_t and DOUT_c.
[0177] The frequency of the reference clock signal REF_CLK provided from the UFS host 2100 to the UFS device 2200 may be one of 19.2 MHz, 26 MHz, 38.4 MHz, and 52 MHz, but is not limited thereto. The UFS host 2100 may change the frequency of the reference clock signal REF_CLK during operation, that is, during a data transmission / reception operation between the UFS host 2100 and the UFS device 2200. The UFS device 2200 may generate a clock signal having various frequencies from the reference clock signal REF_CLK provided by the UFS host 2100 by using a phase-locked loop (PLL). And, the UFS host 2100 may set the data rate between the UFS host 2100 and the UFS device 2200 by using the frequency of the reference clock signal REF_CLK. That is, the data rate may be determined according to the frequency of the reference clock signal REF_CLK.
[0178] The UFS interface 2300 may support multiple channels, each of which may be implemented as a pair of differential lines. For example, the UFS interface 2300 may include at least one receiving channel and at least one transmitting channel. Fig.10 In the embodiment, a pair of lines configured to transmit a pair of differential input signals DIN_T and DIN_C may constitute a receiving channel, and a pair of lines configured to transmit a pair of differential output signals DOUT_T and DOUT_C may constitute a transmitting channel. Fig.10 One transmission channel and one reception channel are shown in FIG. 1 , but the number of transmission channels and the number of reception channels may be changed.
[0179] The receiving channel and the transmitting channel may transmit data based on a serial communication scheme. Due to the structure in which the receiving channel is separated from the transmitting channel, full-duplex communication between the UFS host 2100 and the UFS device 2200 may be enabled. That is, while receiving data from the UFS host 2100 through the receiving channel, the UFS device 2200 may transmit data to the UFS host 2100 through the transmitting channel. In addition, control data (e.g., commands) from the UFS host 2100 to the UFS device 2200 and user data to be stored in the NVM 2220 of the UFS device 2200 or read from the NVM 2220 by the UFS host 2100 may be transmitted through the same channel. Therefore, between the UFS host 2100 and the UFS device 2200, in addition to a pair of receiving channels and a pair of transmitting channels, there is no need to further provide a separate channel for data transmission.
[0180] The UFS device controller 2210 of the UFS device 2200 may control all operations of the UFS device 2200. The UFS device controller 2210 may manage the NVM 2220 by using a logical unit (LU) 2211, which is a logical data storage unit. The number of LUs 2211 may be 8, but is not limited thereto. The UFS device controller 2210 may include an FTL, and convert a logical data address (e.g., a logical block address (LBA)) received from the UFS host 2100 into a physical data address (e.g., a physical block address (PBA)) by using address mapping information of the FTL. A logical block configured to store user data in the UFS system 2000 may have a size within a predetermined range. For example, the minimum size of a logical block may be set to 4Kbyte.
[0181] When a command from the UFS host 2100 is applied to the UFS device 2200 through the UIC layer 2250 , the UFS device controller 2210 may perform an operation in response to the command and transmit a completion response to the UFS host 2100 when the operation is completed.
[0182] As an example, when the UFS host 2100 intends to store user data in the UFS device 2200, the UFS host 2100 may send a data storage command to the UFS device 2200. When receiving a response (“Ready to Transfer” response) indicating that the UFS host 2100 is ready to receive user data (Ready to Transfer) from the UFS device 2200, the UFS host 2100 may send the user data to the UFS device 2200. The UFS device controller 2210 may temporarily store the received user data in the device memory 2240, and store the user data temporarily stored in the device memory 2240 in a selected location of the NVM 2220 based on the address mapping information of the FTL.
[0183] As another example, when the UFS host 2100 intends to read user data stored in the UFS device 2200, the UFS host 2100 may send a data read command to the UFS device 2200. The UFS device controller 2210, which has received the command, may read the user data from the NVM 2220 based on the data read command, and temporarily store the read user data in the device memory 2240. During the read operation, the UFS device controller 2210 may detect and correct errors in the read user data by using an ECC engine (not shown) embedded therein. More specifically, the ECC engine may generate parity bits for write data to be written to the NVM 2220, and the generated parity bits may be stored in the NVM 2220 together with the write data. During the reading of data from the NVM 2220, the ECC engine may correct errors in the read data by using the read data and the parity bits read from the NVM 2220, and output the error-corrected read data.
[0184] In addition, the UFS device controller 2210 may transmit the user data temporarily stored in the device memory 2240 to the UFS host 2100. Also, the UFS device controller 2210 may further include an AES engine (not shown). The AES engine may perform at least one of an encryption operation and a decryption operation on the data transmitted to the UFS device controller 2210 by using a symmetric key algorithm.
[0185] The UFS host 2100 may sequentially store commands to be sent to the UFS device 2200 in the UFS host register 2111, which may be used as a common queue, and sequentially send the commands to the UFS device 2200. In this case, even when the previously sent command is still being processed by the UFS device 2200, that is, even before receiving a notification that the previously sent command has been processed by the UFS device 2200, the UFS host 2100 may send the next command on standby in the CQ to the UFS device 2200. Therefore, during the processing of the previously sent command, the UFS device 2200 may also receive the next command from the UFS host 2100. The maximum number of commands (or queue depth) that can be stored in the CQ may be, for example, 32. Also, the CQ may be implemented as a circular queue in which the start and end of the command line stored in the queue are indicated by a head pointer and a tail pointer.
[0186] Each of the plurality of storage elements 2221 may include a storage cell array (not shown) and a control circuit (not shown) configured to control the operation of the storage cell array. The storage cell array may include a 2D storage cell array or a 3D storage cell array. The storage cell array may include a plurality of storage cells. Although each storage cell is a single-layer cell (SLC) configured to store 1 bit of information, each storage cell may be a cell configured to store 2 or more bits of information, such as a multi-layer cell (MLC), a triple-layer cell (TLC), and a quad-layer cell (QLC). The 3D storage cell array may include a vertical NAND string in which at least one storage cell is vertically oriented and located on another storage cell.
[0187] Voltages VCC, VCCQ, and VCCQ2, etc., may be applied to the UFS device 2200 as power supply voltages. The voltage VCC may be a main power supply voltage for the UFS device 2200, and may be in the range of 2.4V to 3.6V. The voltage VCCQ may be a power supply voltage mainly used to supply a low voltage to the UFS device controller 2210, and may be in the range of 1.14V to 1.26V. The voltage VCCQ2 may be a power supply voltage mainly used to supply a voltage lower than the voltage VCC and higher than the voltage VCCQ to an I / O interface such as the MIPI M-PHY 2251, and may be in the range of 1.7V to 1.95V. The power supply voltage may be provided to the various components of the UFS device 2200 by the regulator 2260. The regulator 2260 may be implemented as a group of unit regulators, which are respectively connected to different power supply voltages among the above-mentioned power supply voltages.
[0188] Fig.11 FIG. 3 is a block diagram of a storage system 3000 according to an embodiment of the present invention. Fig.11 , the memory system 3000 may include a memory device 3200 and a memory controller 3100. The memory device 3200 may correspond to one of the NVM devices NVM11 to NVMmn, which is based on Fig. 9 The memory controller 3100 may communicate with one of the plurality of channels CH1 to CHm. Fig. 9 Memory controller 9100.
[0189] In some embodiments, the storage system 3000 may correspond to Figures 2 to 6C For example, the storage system 3000 may use a microcontroller unit (not shown) to perform a reference Figures 1 to 6C At least one out-of-band management method.
[0190] The memory device 3200 may include first to eighth pins P11 to P18 , a memory interface circuit 3210 , a control logic circuit 3220 , and a memory cell array 3330 .
[0191] The memory interface circuit 3210 may receive a chip enable signal nCE from the memory controller 3100 through the first pin P11. The memory interface circuit 3210 may send and receive signals to and from the memory controller 3100 through the second to eighth pins P12 to P18 in response to the chip enable signal nCE. For example, when the chip enable signal nCE is in an enabled state (e.g., a low level), the memory interface circuit 3210 may send and receive signals to and from the memory controller 3100 through the second to eighth pins P12 to P18.
[0192] The memory interface circuit 3210 can receive a command latch enable signal CLE, an address latch enable signal ALE, and a write enable signal nWE from the memory controller 3100 through the second to fourth pins P12 to P14. The memory interface circuit 3210 can receive a data signal DQ from the memory controller 3100 through the seventh pin P17, or send the data signal DQ to the memory controller 3100. The command CMD, the address ADDR, and the data can be transmitted via the data signal DQ. For example, the data signal DQ can be transmitted through a plurality of data signal lines. In this case, the seventh pin P17 may include a plurality of pins corresponding to the plurality of data signals DQ, respectively.
[0193] The memory interface circuit 3210 may obtain a command CMD from a data signal DQ received in an enable interval (e.g., a high level state) of a command latch enable signal CLE based on a switching time point of a write enable signal nWE. The memory interface circuit 3210 may obtain an address ADDR from a data signal DQ received in an enable interval (e.g., a high level state) of an address latch enable signal ALE based on a switching time point of a write enable signal nWE.
[0194] In an exemplary embodiment, the write enable signal nWE can be maintained at a static state (e.g., a high level or a low level) and switched between a high level and a low level. For example, the write enable signal nWE can be switched in the interval of sending a command CMD or an address ADDR. Therefore, the memory interface circuit 3210 can obtain the command CMD or the address ADDR based on the switching time point of the write enable signal nWE.
[0195] The memory interface circuit 3210 may receive a read enable signal nRE from the memory controller 3100 through a fifth pin P15. The memory interface circuit 3210 may receive a data strobe signal DQS from the memory controller 3100 through a sixth pin P16, or may transmit the data strobe signal DQS to the memory controller 3100.
[0196] In the data (DATA) output operation of the memory device 3200, the memory interface circuit 3210 may receive a read enable signal nRE switched by the fifth pin P15 before outputting the data DATA. The memory interface circuit 3210 may generate a data strobe signal DQS, which is switched based on the switching of the read enable signal nRE. For example, the memory interface circuit 3210 may generate a data strobe signal DQS based on the switching start time of the read enable signal nRE, which starts switching after a predetermined delay (e.g., tDQSRE). The memory interface circuit 3210 may send a data signal DQ including data DATA based on the switching time point of the data strobe signal DQS. Therefore, the data DATA may be aligned with the switching time point of the data strobe signal DQS and sent to the memory controller 3100.
[0197] In the data (DATA) input operation of the memory device 3200, when the data signal DQ including the data DATA is received from the memory controller 3100, the memory interface circuit 3210 may receive the switched data strobe signal DQ and the data DATA. The memory interface circuit 3210 may obtain the data DATA from the data signal DQ based on the switching time point of the data strobe signal DQS. For example, the memory interface circuit 3210 may sample the data signal DQ at the rising edge and the falling edge of the data strobe signal DQS and obtain the data DATA.
[0198] The memory interface circuit 3210 may transmit the ready / busy output signal nR / B to the memory controller 3100 through the eighth pin P18. The memory interface circuit 3210 may transmit the state information of the memory device 3200 to the memory controller 3100 through the ready / busy output signal nR / B. When the memory device 3200 is in a busy state (i.e., when an operation is being performed in the memory device 3200), the memory interface circuit 3210 may transmit the ready / busy output signal nR / B indicating the busy state to the memory controller 3100. When the memory device 3200 is in a ready state (i.e., when an operation is not being performed or completed in the memory device 3200), the memory interface circuit 3210 may transmit the ready / busy output signal nR / B indicating the ready state to the memory controller 3100. For example, when the memory device 3200 reads data DATA from the memory cell array 3330 in response to a page read command, the memory interface circuit 3210 may transmit a ready / busy output signal nR / B indicating a busy state (e.g., a low level) to the memory controller 3100. For example, when the memory device 3200 programs data DATA to the memory cell array 3330 in response to a program command, the memory interface circuit 3210 may transmit a ready / busy output signal nR / B indicating a busy state to the memory controller 3100.
[0199] The control logic circuit 3220 may control all operations of the memory device 3200. The control logic circuit 3220 may receive a command / address CMD / ADDR obtained from the memory interface circuit 3210. The control logic circuit 3220 may generate a control signal for controlling other components of the memory device 3200 in response to the received command / address CMD / ADDR. For example, the control logic circuit 3220 may generate various control signals for programming data DATA to the memory cell array 3330 or reading data DATA from the memory cell array 3330.
[0200] The memory cell array 3330 may store the data DATA obtained from the memory interface circuit 3210 via the control of the control logic circuit 3220. The memory cell array 3330 may output the stored data DATA to the memory interface circuit 3210 via the control of the control logic circuit 3220.
[0201] The memory cell array 3330 may include a plurality of memory cells. For example, the plurality of memory cells may be flash memory cells. However, the present invention is not limited thereto, and the memory cells may be RRAM cells, FRAM cells, PRAM cells, thyristor RAM (TRAM) cells, or MRAM cells. Hereinafter, an embodiment in which the memory cells are NAND flash memory cells will be mainly described.
[0202] The memory controller 3100 may include first to eighth pins P21 to P28 and a controller interface circuit 3110. The first to eighth pins P21 to P28 may correspond to first to eighth pins P11 to P18 of the memory device 3200, respectively.
[0203] The controller interface circuit 3110 may send a chip enable signal nCE to the memory device 3200 through the first pin P21. The controller interface circuit 3110 may send and receive signals to and from the memory device 3200 through the second to eighth pins P22 to P28, wherein the memory device 3200 is selected by the chip enable signal nCE.
[0204] The controller interface circuit 3110 may send a command latch enable signal CLE, an address latch enable signal ALE, and a write enable signal nWE to the memory device 3200 through the second to fourth pins P22 to P24. The controller interface circuit 3110 may send or receive a data signal DQ to or from the memory device 3200 through the seventh pin P27.
[0205] The controller interface circuit 3110 may transmit the data signal DQ including the command CMD or the address ADDR and the switched write enable signal nWE together to the memory device 3200. The controller interface circuit 3110 may transmit the data signal DQ including the command CMD to the memory device 3200 by transmitting the command latch enable signal CLE having an enable state. Also, the controller interface circuit 3110 may transmit the data signal DQ including the address ADDR to the memory device 3200 by transmitting the address latch enable signal ALE having an enable state.
[0206] The controller interface circuit 3110 may transmit the read enable signal nRE to the memory device 3200 through the fifth pin P25. The controller interface circuit 3110 may receive the data strobe signal DQS from the memory device 3200 or transmit the data strobe signal DQS to the memory device 3200 through the sixth pin P26.
[0207] In the data (DATA) output operation of the memory device 3200, the controller interface circuit 3110 may generate a switched read enable signal nRE and send the read enable signal nRE to the memory device 3200. For example, before outputting the data DATA, the controller interface circuit 3110 may generate a read enable signal nRE that changes from a static state (e.g., a high level or a low level) to a switched state. Therefore, the memory device 3200 may generate a switched data strobe signal DQS based on the read enable signal nRE. The controller interface circuit 3110 may receive a data signal DQ including data DATA and a switched data strobe signal DQS from the memory device 3200. The controller interface circuit 3110 may obtain data DATA from the data signal DQ based on the switching time point of the data strobe signal DQS.
[0208] In the data (DATA) input operation of the memory device 3200, the controller interface circuit 3110 may generate a switched data strobe signal DQS. For example, before sending the data DATA, the controller interface circuit 3110 may generate a data strobe signal DQS that changes from a static state (e.g., a high level or a low level) to a switched state. The controller interface circuit 3110 may send a data signal DQ including data DATA to the memory device 3200 based on a switching time point of the data strobe signal DQS.
[0209] The controller interface circuit 3110 may receive the ready / busy output signal nR / B from the memory device 3200 through the eighth pin P28. The controller interface circuit 3110 may determine the status information of the memory device 3200 based on the ready / busy output signal nR / B.
[0210] Fig.12 FIG. 4 is a block diagram of a data center 4000 to which a storage device is applied according to an embodiment of the present invention.
[0211] Reference Fig.12 , the data center 4000 may be a facility that collects various types of data and provides services, and is referred to as a data storage center. The data center 4000 may be a system for operating a search engine and a database, and may be a computing system used by a company (such as a bank) or a government agency. The data center 4000 may include application servers 4100 to 4100n and storage servers 4200 to 4200m. According to an embodiment, the number of applications 4100 to 4100n and the number of storage servers 4200 to 4200m may be selected differently. The number of application servers 4100 to 4100n and the number of storage servers 4200 to 4200m may be different from each other.
[0212] In some embodiments, the storage server 4200 and / or the application server 4100 may use a baseboard management controller (not shown) and / or a micro control unit (not shown) to perform a reference Figures 1 to 6C At least one out-of-band management method.
[0213] The application server 4100 or the storage server 4200 may include at least one of the processors 4110 and 4210 and the memories 4120 and 4220. Now, the storage server 4200 will be described as an example. The processor 4210 may control all operations of the storage server 4200, access the memory 4220, and execute instructions and / or data loaded into the memory 4220. The memory 4220 may be a double data rate synchronous DRAM (DDR SDRAM), a high bandwidth memory (HBM), a hybrid memory cube (HMC), a dual in-line memory module (DIMM), an Optane DIMM, or a non-volatile DIMM (NVMDIMM). In some embodiments, the number of processors 4210 and memories 4220 included in the storage server 4200 may be selected differently. In one embodiment, the processor 4210 and the memory 4220 may provide a processor-memory pair. In one embodiment, the number of processors 4210 and the number of memories 4220 may be different from each other. The processor 4210 may include a single-core processor or a multi-core processor. The above description of the storage server 4200 may be similarly applied to the application server 4100. In some embodiments, the application server 4100 may not include the storage device 4150. The storage server 4200 may include at least one storage device 4250. According to embodiments, the number of storage devices 4250 included in the storage server 4200 may be variously selected.
[0214] The application servers 4100 to 4100n can communicate with the storage servers 4200 to 4200m through the network 4300. The network 4300 can be implemented by using a fiber channel (FC) or Ethernet. In this case, FC can be a medium for relatively high-speed data transmission, and an optical switch with high performance and high availability can be used. According to the access method of the network 4300, the storage servers 4200 to 4200m can be set to file storage, block storage, or object storage.
[0215] In one embodiment, network 4300 may be a network dedicated to storage, such as a storage area network (SAN). For example, the SAN may be an FC-SAN, which uses an FC network and is implemented according to an FC protocol (FCP). As another example, the SAN may be an Internet Protocol (IP)-SAN, which uses a transmission control protocol (TCP) / IP network and is implemented according to a SCSI or Internet SCSI (iSCSI) protocol over TCP / IP. In another embodiment, network 4300 may be a general-purpose network, such as a TCP / IP network. For example, network 4300 may be implemented according to protocols such as FC over Ethernet (FCoE), network attached storage (NAS), and NVMe over fabric (NVMe-oF).
[0216] Hereinafter, the application server 4100 and the storage server 4200 will be mainly described. The description of the application server 4100 may be applied to another application server 4100n, and the description of the storage server 4200 may be applied to another storage server 4200m.
[0217] The application server 4100 may store data requested to be stored by a user or client in one of the storage servers 4200 to 4200m through the network 4300. In addition, the application server 4100 may obtain data requested to be read by a user or client from one of the storage servers 4200 to 4200m through the network 4300. For example, the application server 4100 may be implemented as a network server or a database management system (DBMS).
[0218] The application server 4100 may access a memory 4120n or a storage device 4150n included in another application server 4100n through the network 4300. Alternatively, the application server 4100 may access memories 4220 to 4220m or storage devices 4250 to 4250m included in storage servers 4200 to 4200m through the network 4300. Thus, the application server 4100 may perform various operations on data stored in the application servers 4100 to 4100n and / or the storage servers 4200 to 4200m. For example, the application server 4100 may execute instructions for moving or copying data between the application servers 4100 to 4100n and / or the storage servers 4200 to 4200m. In this case, data may be moved from storage devices 4250 to 4250m of storage servers 4200 to 4200m through memories 4220 to 4220m of storage servers 4200 to 4200m or directly to memories 4120 to 4120n of application servers 4100 to 4100n. Data moved through network 4300 may be data encrypted for security or privacy.
[0219] The storage server 4200 will now be described as an example. The interface 4254 can provide a physical connection between the processor 4210 and the controller 4251 and a physical connection between the network interface card (NIC) 4240 and the controller 4251. For example, the interface 4254 can be implemented using a direct attached storage (DAS) solution, in which the storage device 4250 is directly connected to a dedicated cable. For example, the interface 4254 can be implemented using various interface solutions, such as ATA, SATA, e-SATA, SCSI, SAS, PCI, PCIe, NVMe, IEEE 1394, USB interface, SD card interface, MMC interface, eMMC interface, UFS interface, eUFS interface, and CF card interface.
[0220] The storage server 4200 may further include a switch 4230 and a network interconnect (NIC) 4240. The switch 4230 may selectively connect the processor 4210 to the storage device 4250 or selectively connect the NIC 4240 to the storage device 4250 via the control of the processor 4210.
[0221] In one embodiment, the NIC 4240 may include a network interface card and a network adapter. The NIC 4240 may be connected to the network 4300 through a wired interface, a wireless interface, a Bluetooth interface, or an optical interface. The NIC 4240 may include an internal memory, a digital signal processor (DSP), and a host bus interface, and is connected to the processor 4210 and / or the switch 4230 through the host bus interface. The host bus interface may be implemented as one of the above examples of the interface 4254. In one embodiment, the NIC 4240 may be integrated with at least one of the processor 4210, the switch 4230, and the storage device 4250.
[0222] In the storage servers 4200 to 4200m or the application servers 4100 to 4100n, the processor may send a command to the storage devices 4150 to 4150n and 4250 to 4250m or the memories 4120 to 4120n and 4220 to 4220m and program or read data. In this case, the data may be data in which an error is corrected by an ECC engine. The data may be data on which a data bus inversion (DBI) operation or a data masking (DM) operation is performed, and may include cyclic redundancy coding (CRC) information. The data may be data encrypted for security or privacy.
[0223] The storage devices 4150 to 4150n and 4250 to 4250m may send control signals and command / address signals to the NAND flash memory devices 4252 to 4252m in response to a read command received from the processor. Therefore, when data is read from the NAND flash memory devices 4252 to 4252m, a read enable (RE) signal may be input as a data output control signal, and thus, the data may be output to the DQ bus. The data strobe signal DQS may be generated using the RE signal. Depending on the rising edge or falling edge of the write enable (WE) signal, the command and address signals may be latched in the page buffer.
[0224] The controller 4251 may control all operations of the storage device 4250. In one embodiment, the controller 4251 may include an SRAM. The controller 4251 may write data to the NAND flash memory device 4252 in response to a write command, or read data from the NAND flash memory device 4252 in response to a read command. For example, a write command and / or a read command may be provided from the processor 4210 of the storage server 4200, the processor 4210m of another storage server 4200m, or the processors 4110 and 4110n of the application servers 4100 and 4100n. The DRAM 3253 may temporarily store (or buffer) data to be written to the NAND flash memory device 4252 or data to be read from the NAND flash memory device 4252. And, the DRAM 3253 may store metadata. Here, the metadata may be user data or data generated by the controller 4251 for managing the NAND flash memory device 4252. The storage device 4250 may include a secure element (SE) for security or privacy.
[0225] In an out-of-band management method for a storage device, a baseboard management controller, and a storage device according to an example embodiment of the present invention, the baseboard management controller can control the operation of the storage device based on information received from a microcontroller unit, thereby enhancing the management function of the baseboard management controller on the storage device (e.g., out-of-band management function).
[0226] In the out-of-band management method of a storage device, a baseboard management controller, and a storage device according to an exemplary embodiment of the present invention, the baseboard management controller can communicate with the microcontroller unit when the storage device is abnormal. Therefore, the control capability of the baseboard management controller over the storage device can be improved when the storage device is abnormal.
[0227] In the out-of-band management method of a storage device, a baseboard management controller, and a storage device according to an exemplary embodiment of the present invention, the baseboard management controller can communicate with the microcontroller unit based on an internal integrated circuit bus or a system management bus. Therefore, the baseboard management controller can communicate with the microcontroller unit efficiently.
[0228] In the out-of-band management method of a storage device, a baseboard management controller, and a storage device according to an example embodiment of the present invention, since the microcontroller unit can send at least one of the status information of the storage device and the product information of the storage device to the external baseboard management controller, the out-of-band management function of the storage device is enhanced.
[0229] In the out-of-band management method of a storage device, a baseboard management controller, and a storage device according to an example embodiment of the present invention, the micro control unit may include a persistent memory for storing at least one of the state information of the storage device and the product information of the storage device. Therefore, at least one of the state information of the storage device and the product information of the storage device can be reliably stored in the micro control unit.
[0230] In the out-of-band management method of a storage device, a baseboard management controller, and a storage device according to example embodiments of the present invention, the baseboard management controller can receive information from the micro control unit through out-of-band management, thereby expanding the ability to collect information from the storage device.
[0231] In an out-of-band management method for a storage device, a baseboard management controller, and a storage device according to an example embodiment of the present invention, the baseboard management controller can control the operation of the storage device based on information received from the micro control unit through out-of-band management, thereby enhancing the control capability of the storage device.
[0232] In the out-of-band management method of a storage device, a baseboard management controller, and a storage device according to an example embodiment of the present invention, since a persistent memory for storing various information of the storage device (for example, at least one of key product data, software information, and hardware information of the storage device) is provided in the microcontroller unit, the microcontroller unit can send various information to the baseboard management controller through out-of-band management, thereby enhancing and expanding the out-of-band management capability of the storage device.
[0233] In the out-of-band management method, baseboard management controller, and storage device of the storage device according to the exemplary embodiment of the present invention, the communication capability between the baseboard management controller and the microcontroller unit can be enhanced by implementing the software communication protocol stack between the baseboard management controller and the microcontroller unit, so that more messages and commands can be sent between the two, etc., and the out-of-band management capability of the baseboard management controller for the storage device is enhanced and expanded, so that the baseboard management controller can better monitor and manage the storage device. For example, when the baseboard management controller detects that the host has an abnormal power failure, the baseboard management controller can send a message to the storage device through out-of-band management, so that the storage device can take countermeasures. In this way, data integrity can be guaranteed and data loss can be prevented.
[0234] In the out-of-band management method of a storage device, a baseboard management controller, and a storage device according to an example embodiment of the present invention, since the microcontroller is configured with a persistent memory to store any type of information, the electrically erasable programmable read-only memory can be removed from the storage device, thereby saving space on the mainboard of the storage device and reducing the cost of the storage device.
[0235] In the out-of-band management method of a storage device, a baseboard management controller, and a storage device according to example embodiments of the present invention, since power can be supplied to the micro control unit using one of a power supply unit and a backup power supply, stable out-of-band management can be achieved.
[0236] In the out-of-band management method, baseboard management controller and storage device of the storage device according to the example embodiment of the present invention, when the main controller of the storage device is in an abnormal state and cannot communicate in-band, the baseboard management controller can communicate with the storage device through the out-of-band management method of the example embodiment of the present invention, obtain information before and after the main controller of the storage device has an error (for example, hardware monitoring information, log information, etc.), and use this information to perform fault analysis, so as to quickly locate the cause of the fault and repair the fault. Effectively reducing the fault time can greatly reduce the production loss and cost caused by storage device failure in industrial production.
[0237] In the out-of-band management method, baseboard management controller and storage device of the storage device according to the example embodiment of the present invention, the internal hardware information of the storage device can be collected by the baseboard management controller and stored in the persistent memory of the microcontroller unit. Then, the baseboard management controller communicates with the microcontroller unit through out-of-band management, thereby solving the problem that the host cannot monitor the internal hardware of the storage device when the main controller of the storage device is abnormal.
[0238] According to one or more example embodiments, the processor described above may be implemented using hardware, a combination of hardware and software, or a non-transitory storage medium storing executable software for performing its functions. The hardware may be implemented using a processing circuit (such as, but not limited to, one or more processors, one or more central processing units (CPUs), one or more controllers, one or more arithmetic logic units (ALUs), one or more digital signal processors (DSPs), one or more microcomputers, one or more field programmable gate arrays (FPGAs), one or more systems on chips (SoCs), one or more programmable logic units (PLUs), one or more microprocessors, one or more application specific integrated circuits (ASICs), or any other device capable of responding to and executing instructions in a defined manner).
[0239] Software may include computer programs, program codes, instructions, or some combination thereof that are used to independently or collectively instruct or configure hardware devices to operate as desired. Computer programs and / or program codes may include programs or computer-readable instructions, software components, software modules, data files, data structures, etc. that can be implemented by one or more hardware devices (such as, one or more of the hardware devices mentioned above). Examples of program code include both machine code generated by a compiler and high-level program code executed using an interpreter.
[0240] For example, when the hardware device is a computer processing device (e.g., one or more processors, CPUs, controllers, ALUs, DSPs, microcomputers, microprocessors, etc.), the computer processing device may be configured to execute a program code that performs arithmetic, logic, and input / output operations according to the program code. Once the program code is loaded into the computer processing device, the computer processing device may be programmed to execute the program code, thereby converting the computer processing device into a special-purpose computer processing device. In a more specific example, when the program code is loaded into the processor, the processor becomes programmed to execute the program code and operations corresponding thereto, thereby converting the processor into a special-purpose processor. In another example, the hardware device may be an integrated circuit (e.g., ASIC) customized as a special-purpose processing circuit.
[0241] A hardware device (such as a computer processing device) can run an operating system (OS) and one or more software applications running on the OS. In response to the execution of the software, the computer processing device can also access, store, manipulate, process and create data. For the sake of simplicity, one or more example embodiments may be exemplified as a computer processing device, however, those skilled in the art will understand that the hardware device may include multiple processing elements and multiple types of processing elements. For example, the hardware device may include multiple processors or a processor and a controller. In addition, other processing configurations are feasible, such as parallel processors.
[0242] The software and / or data may be implemented permanently or temporarily in any type of storage medium (storage medium includes, but is not limited to, any machine, component, physical or virtual device or computer storage medium or device capable of providing instructions or data to a hardware device, or capable of providing instructions or data to be interpreted by a hardware device). The software may also be distributed on networked computer systems so that the software is stored and executed in a distributed manner. Specifically, for example, the software and data may be stored by one or more computer-readable recording media including tangible or non-transitory computer-readable storage media as discussed herein.
[0243] For example, according to an exemplary embodiment of the present invention, a computer-readable storage medium storing a computer program is provided, wherein when the computer program is executed by a processor, at least the following out-of-band management method is implemented: communicating with a micro-control unit of a storage device through a baseboard management controller to obtain at least one of product information of the storage device and status information of the storage device; based on the at least one information, operating the storage device through the baseboard management controller. For another example, according to an exemplary embodiment of the present invention, a computer-readable storage medium storing a computer program is provided, wherein when the computer program is executed by a processor, at least the following out-of-band management method is implemented: monitoring the status information of the storage device through the micro-control unit of the storage device; communicating with a baseboard management controller through the micro-control unit to send at least one of the status information of the storage device and the product information of the storage device to the baseboard management controller. In addition, other methods of the present invention may also be similarly implemented by a computer-readable storage medium storing a computer program.
[0244] The storage medium may also include: one or more storage devices in the unit and / or device according to one or more example embodiments. One or more storage devices may be tangible or non-temporary computer-readable storage media (such as random access memory (RAM), read-only memory (ROM), permanent mass storage device (such as disk drive) and / or any other similar data storage structure capable of storing and recording data). One or more storage devices may be configured to store computer programs, program codes, instructions, or some combinations thereof for one or more operating systems and / or for implementing the example embodiments described herein. A drive mechanism may also be used to load a computer program, program code, instruction, or some combination thereof from a separate computer-readable storage medium to one or more storage devices and / or one or more computer processing devices. Such a separate computer-readable storage medium may include a universal serial bus (USB) flash drive, a memory stick, a Blu-ray / DVD / CD-ROM drive, a memory card, and / or other similar computer-readable storage media. A computer program, program code, instruction, or some combination thereof may be loaded from a remote data storage device to one or more storage devices and / or one or more computer processing devices via a network interface rather than via a computer-readable storage medium. In addition, the computer program, program code, instructions, or some combination thereof may be loaded from a remote computing system over a network into one or more storage devices and / or one or more processors, wherein the remote computing system is configured to transmit and / or distribute the computer program, program code, instructions, or some combination thereof over a network. The remote computing system may transmit and / or distribute the computer program, program code, instructions, or some combination thereof via a wired interface, an air interface, and / or any other similar medium.
[0245] One or more hardware devices, storage media, computer programs, program codes, instructions, or some combination thereof may be specially designed and constructed for the purposes of the example embodiments, or they may be known devices altered and / or modified for the purposes of the example embodiments.
[0246] The foregoing is an illustration of example embodiments and should not be construed as limiting the example embodiments. Although some example embodiments have been described, it will be readily appreciated by those skilled in the art that many modifications may be made in the example embodiments without substantially departing from the novel teachings and advantages of the example embodiments of the present invention. Therefore, all such modifications are intended to be included within the scope of the example embodiments of the present invention as defined in the claims. Therefore, it will be understood that the foregoing description is an illustration of various example embodiments and should not be construed as being limited to the specific example embodiments disclosed, and modifications to the disclosed example embodiments as well as other example embodiments are intended to be included within the scope of the appended claims.
Claims
1. A method for out-of-band management of a storage device, include: Communicate with the micro control unit of the storage device through the baseboard management controller to obtain at least one of product information of the storage device and status information of the storage device; Based on the at least one information, the storage device is operated by the baseboard management controller. The step of communicating with the microcontroller unit through the baseboard management controller includes: When the main controller of the storage device is in an abnormal state and cannot perform in-band communication, out-of-band communication is performed with the micro control unit of the storage device through the baseboard management controller.
2. The out-of-band management method according to claim 1, in, The product information of the storage device includes key product data information, and the status information of the storage device includes at least one of voltage, humidity, temperature, current, fan status information, and power status information.
3. The out-of-band management method according to claim 1, in, The steps of operating the storage device through the baseboard management controller include: In response to the at least one information indicating that the storage device is in an abnormal state, information for operating the storage device is sent to the micro control unit through the baseboard management controller.
4. The out-of-band management method according to claim 1, in, The step of communicating with the micro control unit through the baseboard management controller includes: communicating with the micro control unit through the baseboard management controller based on an internal integrated circuit bus or a system management bus.
5. A baseboard management controller, include: a communication unit configured to communicate with a micro control unit of the storage device to obtain at least one of product information of the storage device and status information of the storage device; an operating unit, configured to operate the storage device based on the at least one information, Wherein, the communication unit is configured as follows: When the main controller of the storage device is in an abnormal state and cannot perform in-band communication, out-of-band communication is performed with the micro control unit of the storage device.
6. The baseboard management controller according to claim 5, in, The product information of the storage device includes key product data information, and the status information of the storage device includes at least one of voltage, humidity, temperature, current, fan status information, and power status information.
7. The baseboard management controller according to claim 5, in, The operating unit is configured as: In response to the at least one information indicating that the storage device is in an abnormal state, information for operating the storage device is sent to the micro control unit through the communication unit.
8. The baseboard management controller according to claim 5, in, The communication unit is configured to communicate with the micro control unit based on the internal integrated circuit bus or the system management bus.
9. A host system comprising a processor and a baseboard management controller, in, The baseboard management controller executes the out-of-band management method as described in any one of claims 1 to 4.
10. A method for out-of-band management of a storage device, include: Monitoring the status information of the storage device through the micro control unit of the storage device; The microcontroller unit communicates with the baseboard management controller to send at least one of the status information of the storage device and the product information of the storage device to the baseboard management controller. The step of communicating with the baseboard management controller through the micro control unit includes: When the main controller of the storage device is in an abnormal state and cannot perform in-band communication, out-of-band communication is performed with the baseboard management controller through the micro control unit.
11. The out-of-band management method according to claim 10, in, The microcontroller unit uses a persistent memory to store the status information and product information of the storage device.
12. A storage device comprising a micro control unit, in, The microcontroller unit is configured as: Monitor the status information of storage devices; storing at least one of status information of the storage device and product information of the storage device; By communicating with the baseboard management controller, the at least one information is sent to the baseboard management controller, Wherein, the micro control unit is configured as: When the main controller of the storage device is in an abnormal state and cannot perform in-band communication, out-of-band communication is performed with the baseboard management controller.
13. The storage device according to claim 12, wherein the micro control unit include: A persistent memory is used to store the at least one information.
14. A storage system comprising a host and a storage device, in, The host comprises a baseboard management controller, and the storage device comprises a micro control unit, wherein the baseboard management controller executes the out-of-band management method as described in any one of claims 1-4, and the storage device executes the out-of-band management method as described in any one of claims 10-11.
15. A data center, wherein include: Application server; A storage server is configured to communicate with the application server via a network, Wherein, at least one of the application server and the storage server is configured to execute the out-of-band management method as described in any one of claims 1-4 and 10-11.
Citation Information
Patent Citations
Serial connection between management controller and microcontroller
CN109558371A
Local management console for storage devices
CN110058803A
Memory information reading device and method for server mainboard and server
CN112667483A
System and Method for Server Information Handling System Management Through Local I / O Devices
US20080005222A1
Virtual baseboard management controller
US20140289570A1
