Double-controller storage system
By using converters to implement protocol conversion and data interface connection in a dual-controller storage system, the problem of high construction cost of dual-controlled storage systems is solved, and low-cost storage system design and data reliability guarantee are achieved.
Patent Information
- Application Number
- CN202420023781.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-02
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2034-01-02
AI Technical Summary
The existing dual-control storage system needs to be configured separately when constructing, which leads to high costs and is difficult to save system construction costs while ensuring data reliability.
Using a dual controller storage system, including a first controller, a second controller, a converter, a first disk array and a second disk array, the protocol conversion and data interface connection are realized through the converter to avoid the separate settings of each controller. Hardware, uses low-cost SATA disks, and automatically takes over the disk array in the event of any controller failure, ensuring system reliability.
It effectively reduces the cost of the storage system, reduces the waste of hardware resources, and ensures the reliability and continuity of data storage in the event of controller failure.
Smart Images

Figure CN221977369U_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of storage technology, and in particular to a dual-controller storage system. Background Art
[0002] With the advent of the data age, how to ensure the reliability of data storage has received more and more attention. The dual-control storage system can provide continuous business support through two controllers, and the load balancing between the two controllers is an effective way to ensure data reliability. However, in the prior art, in order to build a dual-control storage system, it is usually necessary to configure hardware that matches each controller. When the dual-control storage system is working, one of the controllers is interconnected with the entire disk array through its own matching hardware, and the other controller is standby. The disk array must be a Serial Attached SCSI (SAS) disk, resulting in a high cost of the storage system. In view of this, how to improve the reliability of the storage system and save the cost of system construction has become an urgent problem to be solved. Utility Model Content
[0003] The main technical problem solved by the present application is to provide a dual-controller storage system, which can improve the reliability of the storage system and save system construction costs.
[0004] To solve the above technical problems, the present application provides a dual-controller storage system, which includes: a first controller, a second controller, a converter, a first disk array and a second disk array; the converter includes an upstream first control interface and a second control interface, and a downstream first data interface and a second data interface, the first controller is connected to the first control interface, and the second controller is connected to the second control interface; wherein, when the first controller and the second controller both work normally, the first data interface is connected to the first control interface, and the second data interface is connected to the second control interface, and when only one of the first controller and the second controller works normally, the first data interface and the second data interface are both connected to the control interface corresponding to the controller that works normally; the first disk array is connected to the first data interface, and the second disk array is connected to the second data interface.
[0005] In the above scheme, the converter in the dual-controller storage system includes an upstream first control interface and a second control interface, and a downstream first data interface and a second data interface. The first controller is connected to the first control interface, the second controller is connected to the second control interface, the first disk array is connected to the first data interface, and the second disk array is connected to the second data interface. The first controller and the second controller can work normally at the same time. At this time, the first data interface is connected to the first control interface, and the second data interface is connected to the second control interface. The first controller is interconnected with the first disk array through the converter, and the second controller is interconnected with the second disk array through the converter. When the first controller or the second controller fails, only one of the first controller and the second controller works normally, and the first data interface and the second data interface are both connected to the control interface corresponding to the normally working controller, so the first disk array and the second disk array are both interconnected with the normally working controller. Therefore, the first controller and the second controller correspond to the same converter, which avoids setting up hardware for each controller separately, and the first disk array and the second disk array have been pre-divided, and the first disk array and the second disk array can use low-cost serial advanced technology attachment (SATA) disks, thereby effectively reducing the cost of the storage system. The first controller and the second controller can work simultaneously through the converter to reduce the waste of hardware resources, and when any controller fails, the normally working controller can take over all disk arrays to ensure the reliability of the storage system. BRIEF DESCRIPTION OF THE DRAWINGS
[0006] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:
[0007] Figure 1 It is a structural diagram of an embodiment of a dual-controller storage system of the present application;
[0008] Figure 2 It is a structural diagram of another embodiment of the dual-controller storage system of the present application. DETAILED DESCRIPTION
[0009] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0010] In this document, terms such as "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", etc., indicating orientations or positional relationships are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
[0011] The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the objects associated before and after are in an "or" relationship. In addition, "many" in this article means two or more than two. In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the said features.
[0012] See also Figure 1 , Figure 1 1 is a schematic diagram of the structure of an embodiment of a dual-controller storage system of the present application. The dual-controller storage system 10 includes a first controller 101, a second controller 102, a converter 103, a first disk array 104 and a second disk array 105.
[0013] Specifically, the converter 103 includes a first control interface and a second control interface upstream, and a first data interface and a second data interface downstream, the first controller 101 is connected to the first control interface, the second controller 102 is connected to the second control interface, the first disk array 104 is connected to the first data interface, and the second disk array 105 is connected to the second data interface.
[0014] Furthermore, when the first controller 101 and the second controller 102 are both working normally, the first data interface is connected to the first control interface, and the second data interface is connected to the second control interface; when only one of the first controller 101 and the second controller 102 is working normally, the first data interface and the second data interface are both connected to the control interface corresponding to the controller working normally.
[0015] Optionally, the first controller 101 and the second controller 102 respectively correspond to their own operating programs. The first controller 101 and the second controller 102 can be of the same model or different models. The first controller 101 and the second controller 102 can specifically be a central processing unit (CPU), and this application does not impose any specific restrictions on this.
[0016] Furthermore, the converter 103 is at least used for protocol conversion, the first control interface and the second control interface use a protocol that matches the controller, and the first data interface and the second data interface use a protocol that matches the disk array. Figure 1 As shown in L0_D, the number of the second control interface is one, such as Figure 1 As shown in L1_D, the first data interface includes multiple disk interfaces matching the first disk array 104, such as Figure 1 Medium p0-p n As shown, the second data interface includes multiple disk interfaces matching the second disk array 105, such as Figure 1 Medium n+1 -p m shown.
[0017] In one application, the first disk array 104 and the second disk array 105 are both SATA disk arrays, the first control interface and the second control interface both use the PCIE protocol, and the converter 103 is used to implement mutual conversion between the PCIE protocol and the SATA protocol.
[0018] Specifically, the first controller 101 and the second controller 102 correspond to the same converter 103, avoiding the need to set up hardware for each controller separately, and the first disk array 104 and the second disk array 105 have been pre-divided, and the first disk array 104 and the second disk array 105 can use low-cost SATA disks, thereby effectively reducing the cost of the storage system.
[0019] It should be noted that the PCIE protocol is a high-speed serial computer expansion bus standard protocol. In other applications, the first disk array 104 and the second disk array 105 may also use other types of disks, and this application does not impose specific restrictions on this.
[0020] It can be understood that, inside the converter 103, the control interface to which the first data interface and the second data interface are connected is related to the states of the first controller 101 and the second controller 102. When both the first controller 101 and the second controller 102 are operating normally, the first data interface is connected to the first control interface, the second data interface is connected to the second control interface, the first controller 101 is interconnected with the first disk array 104 through the converter 103, and the second controller 102 is interconnected with the second disk array 105 through the converter 103.
[0021] Further, when the second controller 102 fails and only the first controller 101 works normally, the first data interface and the second data interface are both connected to the first control interface corresponding to the first controller 101 that works normally, and the first disk array 104 and the second disk array 105 are both connected to the first controller 101; when the first controller 101 fails and only the second controller 102 works normally, the first data interface and the second data interface are both connected to the second control interface corresponding to the second controller 102 that works normally, and the first disk array 104 and the second disk array 105 are both connected to the second controller 102. That is, when the first controller 101 or the second controller 102 fails, only one of the first controller 101 and the second controller 102 works normally, and the first data interface and the second data interface are both connected to the control interface corresponding to the controller that works normally, so the first disk array 104 and the second disk array 105 are interconnected with the controller that works normally.
[0022] It can be understood that when the first data interface is connected to the first control interface and the second data interface is connected to the second control interface, the data of the data port configured by the first controller 101 is stored in the first disk array 104 after passing through the converter 103, and the data of the data port configured by the second controller 102 is stored in the second disk array 105 after passing through the converter 103.
[0023] Further, when both the first data interface and the second data interface are connected to the first controller 101 interface, the first controller 101 takes over the data port configured by the second controller 102, and the first controller 101 receives data from all data ports and stores them in the first disk array 104 and the second disk array 105 according to the load balancing principle. When both the first data interface and the second data interface are connected to the second controller 102 interface, the second controller 102 takes over the data port configured by the first controller 101, and the second controller 102 receives data from all data ports and stores them in the first disk array 104 and the second disk array 105 according to the load balancing principle. Therefore, the first controller 101 and the second controller 102 can work simultaneously through the converter 103 to reduce the waste of hardware resources, and when any controller fails, the normally working controller can take over all disk arrays to ensure the reliability of the storage system.
[0024] In one application scenario, the first controller 101 and the second controller 102 are interconnected through a communication network, and the first controller 101 and the second controller 102 transmit their respective keep-alive signals to each other. When the first controller 101 can receive the keep-alive signal of the second controller 102, and the second controller 102 can receive the keep-alive signal of the first controller 101, the first controller 101 and the second controller 102 both operate normally. When the first controller 101 sends the keep-alive signal normally, and the first controller 101 does not receive the keep-alive signal of the second controller 102 after a time threshold, if the second controller 102 fails, only the first controller 101 operates normally. When the second controller 102 sends the keep-alive signal normally, and the second controller 102 does not receive the keep-alive signal of the first controller 101 after a time threshold, if the first controller 101 fails, only the second controller 102 operates normally.
[0025] In another application scenario, the first controller 101 and the second controller 102 are interconnected through a communication network. The first controller 101 and the second controller 102 send configuration information to each other at a preset period interval. The configuration information at least includes port information of the data port connected to the controller. When the preset period is reached, the first controller 101 can receive the configuration information of the second controller 102, and the second controller 102 can receive the configuration information of the first controller 101, and the first controller 101 and the second controller 102 both operate normally. When the preset period is reached, the first controller 101 sends the configuration information normally, and the first controller 101 does not receive the configuration information of the second controller 102, when the second controller 102 fails, only the first controller 101 operates normally. When the second controller 102 sends the configuration information normally, and the second controller 102 does not receive the configuration information of the first controller 101, when the first controller 101 fails, only the second controller 102 operates normally.
[0026] Optionally, the first controller 101 and the second controller 102 are interconnected via a communication network; wherein the first controller 101 transmits first configuration information and a first keep-alive signal to the second controller 102 via the communication network, and the second controller 102 transmits second configuration information and a second keep-alive signal to the second controller 102 via the communication network, the first configuration information includes port information of the data port configured by the first controller 101 and array information of the first disk array 104, and the second configuration information includes port information of the data port configured by the second controller 102 and array information of the second disk array 105.
[0027] Specifically, the first controller 101 and the second controller 102 communicate with each other through the communication network, the first configuration information and the first keep-alive signal are transmitted to the second controller 102, the second configuration information and the second keep-alive signal are transmitted to the second controller 102, the first controller 101 can determine the working status of the second controller 102 based on the second keep-alive signal, and the second controller 102 can determine the working status of the first controller 101 based on the first keep-alive signal. When the second controller 102 fails, the first controller 101 can determine which data ports to obtain data from based on the second configuration information, and still store the data of the corresponding data ports in the second disk array 105. When the first controller 101 fails, the second controller 102 can determine which data ports to obtain data from based on the first configuration information, and still store the data of the corresponding data ports in the first disk array 104, thereby improving the stability of data storage.
[0028] In the above scheme, the converter 103 in the dual-controller storage system 10 includes a first control interface and a second control interface upstream, and a first data interface and a second data interface downstream. The first controller 101 is connected to the first control interface, the second controller 102 is connected to the second control interface, the first disk array 104 is connected to the first data interface, and the second disk array 105 is connected to the second data interface. The first controller 101 and the second controller 102 can work normally at the same time. At this time, the first data interface is connected to the first control interface, and the second data interface is connected to the second control interface. The first controller 101 is interconnected with the first disk array 104 through the converter 103, and the second controller 102 is interconnected with the second disk array 105 through the converter 103. When the first controller 101 or the second controller 102 fails, only one of the first controller 101 and the second controller 102 works normally. The first data interface and the second data interface are both connected to the control interface corresponding to the normally working controller, so the first disk array 104 and the second disk array 105 are both interconnected with the normally working controller. Therefore, the first controller 101 and the second controller 102 correspond to the same converter 103, which avoids the need to set up hardware for each controller separately, and the first disk array 104 and the second disk array 105 have been pre-divided, and the first disk array 104 and the second disk array 105 can use low-cost SATA disks, thereby effectively reducing the cost of the storage system. The first controller 101 and the second controller 102 can work simultaneously through the converter 103 to reduce the waste of hardware resources, and when any controller fails, the normally operating controller can take over all disk arrays to ensure the reliability of the storage system.
[0029] See also Figure 2 , Figure 2 It is a structural diagram of another embodiment of the dual-controller storage system of the present application. In addition to the first controller 101, the second controller 102, the converter 103, the first disk array 104 and the second disk array 105, the dual-controller storage system 10 also includes a clock generator 106.
[0030] Specifically, the clock generator 106 is connected to the first controller 101, the second controller 102 and the converter 103; wherein the first controller 101 also includes a first clock request port (unlabeled) for issuing a first clock request signal to be transmitted to the clock generator 106, and the clock generator 106 responds to the first clock request signal and sends a homologous clock signal to the first controller 101 and the converter 103, and the second controller 102 also includes a second clock request port (unlabeled) for issuing a second clock request signal to be transmitted to the clock generator 106, and the clock generator 106 responds to the second clock request signal and sends a homologous clock signal to the second controller 102 and the converter 103.
[0031] It can be understood that when the first controller 101 works normally, the first controller 101 continuously sends the first clock request signal to the clock generator 106 through the first clock request port, and when the second controller 102 works normally, the second controller 102 continuously sends the second clock request signal to the clock generator 106 through the second clock request port. The clock generator 106 can be triggered to start working by at least one of the first clock request signal and the second clock request signal. The clock generator 106 responds to the first clock request signal and sends the same source clock signal to the first controller 101 and the converter 103. The clock generator 106 responds to the second clock request signal and sends the same source clock signal to the second controller 102 and the converter 103. Therefore, as long as at least one of the first controller 101 and the second controller 102 works normally, the converter 103 can receive the same source clock signal, thereby ensuring the clock consistency between the converter 103 and the controller and ensuring the phase reliability of the link communication.
[0032] In one application scenario, the converter 103 also includes an upstream first clock interface and a second clock interface, which are respectively connected to the clock generator 106, and the first clock interface is used to receive a homologous clock signal emitted by the clock generator 106 in response to a first clock request signal, and the second clock interface is used to receive a homologous clock signal emitted by the clock generator 106 in response to a second clock request signal.
[0033] Specifically, the first clock interface is as follows: Figure 2 As shown in L0_C, the second clock interface is as follows Figure 2 As shown in L1_C, when the first controller 101 works normally, the clock generator 106 receives the first clock request signal and sends the same source clock signal to the first controller 101 and its corresponding first clock interface. When the second controller 102 works normally, the clock generator 106 receives the second clock request signal and sends the same source clock signal to the second controller 102 and its corresponding second clock interface. When the first controller 101 fails, the first clock request signal fails, and the clock generator 106 no longer sends the same source clock signal to the first controller 101 and its corresponding first clock interface. At this time, the second clock interface can still receive the same source clock signal. When the second controller 102 fails, the second clock request signal fails, and the clock generator 106 no longer sends the same source clock signal to the second controller 102 and its corresponding second clock interface. At this time, the first clock interface can still receive the same source clock signal, thereby ensuring that the converter 103 continues to receive the same source clock signal.
[0034] In one implementation scenario, the converter 103 also includes a first conversion partition (unidentified) and a second conversion partition (unidentified), the first conversion partition is connected to the first data interface, and the data port configured by the first controller 101 is bound to the first conversion partition; the second conversion partition is connected to the second data interface, and the data port configured by the second controller 102 is bound to the second conversion partition; wherein, when the first controller 101 and the second controller 102 are both working normally, the first conversion partition is connected to the first control interface, and the second conversion partition is connected to the second control interface, and when only one of the first controller 101 and the second controller 102 is working normally, the first conversion partition and the second conversion partition are both connected to the control interface corresponding to the normally working controller.
[0035] Specifically, the converter 103 is internally divided into a physically isolated first conversion partition and a second conversion partition, the first conversion partition is connected to the first data interface, and the second conversion partition is connected to the second data interface, so that the downstream is grouped by the first conversion partition and the second conversion partition to obtain a first disk array 104 corresponding to the first conversion partition, and a second disk array 105 corresponding to the second conversion partition.
[0036] Furthermore, the first conversion partition is bound to the data port of the first controller 101, and the second conversion partition is bound to the data port of the second controller 102. When the first controller 101 and the second controller 102 are both working normally, the first conversion partition is connected to the first control interface, and the second conversion partition is connected to the second control interface. When only one of the first controller 101 and the second controller 102 is working normally, the first conversion partition and the second conversion partition are both connected to the control interface corresponding to the controller that is working normally. Therefore, as long as at least one of the first controller 101 and the second controller 102 is working, after the data of the data port is transmitted to the controller, the conversion partition corresponding to the data can be determined using the data port, so that the data of the data port configured by the first controller 101 can always be stored in the first disk array 104, and the data of the data port configured by the second controller 102 can always be stored in the second disk array 105, so as to facilitate the tracing and searching of the stored data.
[0037] It can be understood that when both the first controller 101 and the second controller 102 work normally, the converter 103 is in the dual-port mode, and when only one of the first controller 101 and the second controller 102 works normally, the converter 103 is in the single-port mode.
[0038] In one implementation scenario, the converter 103 also includes a reset port (unmarked), which is connected to the first controller 101 and the second controller 102 respectively, and is used to receive a conversion signal issued by a normally operating controller during mode conversion; wherein, when the reset port receives the conversion signal, the converter 103 restarts, and the mode conversion includes a first conversion mode from a single-port mode to a dual-port mode, and a second conversion mode from a dual-port mode to a single-port mode.
[0039] Specifically, the conversion signal received by the reset port includes at least a reset instruction and an enable instruction, so that the converter 103 can be powered on again after being powered off, so that the converter 103 can perform driving and service unloading, thereby performing a mode conversion. When the mode is converted to the first conversion mode, the controller that works normally before the conversion sends a conversion signal to the reset port. When the conversion mode is the second conversion mode, the controller that has not failed sends a conversion signal to the reset port.
[0040] Furthermore, the converter 103 also includes a storage unit (unmarked), which is connected to the first controller 101 and the second controller 102 respectively; wherein the storage unit stores a first firmware program corresponding to the first conversion mode and a second firmware program corresponding to the second conversion mode, and the first firmware program or the second firmware program is loaded when the converter 103 is restarted.
[0041] Specifically, the register unit of the converter 103 stores a first firmware program corresponding to the first conversion mode and a second firmware program corresponding to the second conversion mode. When the conversion mode is the first conversion mode, the first firmware program is loaded when the converter 103 is restarted. When the conversion mode is the second conversion mode, the second firmware program is loaded when the converter 103 is restarted, thereby ensuring that the mode conversion can be accurately completed by loading the corresponding firmware program.
[0042] It should be noted that the dual-controller storage system 10 also includes a first system disk 107 and a second system disk 108. The first system disk 107 is connected to the first controller 101 and is used to store the running program of the first controller 101; the second system disk 108 is connected to the second controller 102 and is used to store the running program of the second controller 102.
[0043] Specifically, the first system disk 107 is connected to the first controller 101 through a disk interface so that the first controller 101 can load and run programs to operate normally. The second system disk 108 is connected to the second controller 102 through a disk interface so that the second controller 102 can load and run programs to operate normally.
[0044] It should be noted that, after the first controller 101 sends a conversion signal, the first system disk 107 is also used to temporarily store the data output by the data ports configured by the first controller 101 and the second controller 102 during the restart process of the converter 103; and after the second controller 102 sends a conversion signal, the second system disk 108 is also used to temporarily store the data output by the data ports configured by the first controller 101 and the second controller 102 during the restart process of the converter 103.
[0045] Specifically, when mode conversion is required, a normally functioning controller will send a conversion signal, and the system disk can be used as a backup disk during the restart of the converter 103 to ensure the continuity and integrity of data storage.
[0046] For ease of explanation, taking the failure of the second controller 102 as an example, when the first controller 101 and the second controller 102 are both working normally, the second controller 102 fails, and the second conversion mode needs to be adopted. The first controller 101 takes over the data port configured by the second controller 102, and the first controller 101 sends a conversion signal so that the converter 103 restarts and loads the second firmware program from the register unit when restarting. During the restart of the converter 103, the first controller 101 temporarily stores the data transmitted by all data ports in the first system disk 107. When only the first controller 101 is working normally and the second controller 102 is restored, the first conversion mode needs to be adopted. The first controller 101 sends a conversion signal so that the converter 103 restarts and loads the first firmware program from the register unit when restarting. During the restart of the converter 103, the first controller 101 temporarily stores the data transmitted by all data ports in the first system disk 107.
[0047] It can be understood that, when the mode conversion is completed, the data temporarily stored in the first system disk 107 is written into the disk array that matches the port information of the data port, thereby ensuring the continuity and integrity of the data storage.
[0048] It should be noted that in different application scenarios, the data ports configured by the first controller 101 and the second controller 102 match the scenarios. For example, the data port in the monitoring scenario is the data output port of the network camera. This application does not impose specific restrictions on this.
[0049] In this embodiment, the clock generator 106 ensures the clock consistency between the converter 103 and the controller, and ensures the phase reliability of the link communication. The converter 103 also includes a first conversion partition and a second conversion partition. The first conversion partition is bound to the data port of the first controller 101, and the second conversion partition is bound to the data port of the second controller 102, so that the data of the data port configured by the first controller 101 can always be stored in the first disk array 104, and the data of the data port configured by the second controller 102 can always be stored in the second disk array 105, so as to facilitate the tracing and searching of the stored data. When the first controller 101 and the second controller 102 are both working normally, the converter 103 is in a dual-port mode. When only one of the first controller 101 and the second controller 102 is working normally, the converter 103 is in a single-port mode. When mode conversion is required, the normally working controller will send a conversion signal, and the reset port will receive the conversion signal. The converter 103 restarts and loads the corresponding firmware program from the register unit to complete the mode conversion. The system disk can be used as a backup disk during the restart process of the converter 103 to ensure the continuity and integrity of data storage.
[0050] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A dual-controller storage system, It is characterized in that include: a first controller and a second controller; A converter, comprising a first control interface and a second control interface upstream, and a first data interface and a second data interface downstream, wherein the first controller is connected to the first control interface, and the second controller is connected to the second control interface; wherein, when both the first controller and the second controller are working normally, the first data interface is connected to the first control interface, and the second data interface is connected to the second control interface; and when only one of the first controller and the second controller is working normally, the first data interface and the second data interface are both connected to the control interface corresponding to the controller working normally; A first disk array and a second disk array, wherein the first disk array is connected to the first data interface, and the second disk array is connected to the second data interface.
2. The dual-controller storage system according to claim 1, It is characterized in that The converter further comprises: A first conversion partition is connected to the first data interface, and a data port configured by the first controller is bound to the first conversion partition; A second conversion partition is connected to the second data interface, and a data port configured by the second controller is bound to the second conversion partition; Among them, when the first controller and the second controller are both working normally, the first conversion partition is connected to the first control interface, and the second conversion partition is connected to the second control interface; when only one of the first controller and the second controller is working normally, the first conversion partition and the second conversion partition are both connected to the control interface corresponding to the controller working normally.
3. The dual-controller storage system according to claim 1, It is characterized in that When both the first controller and the second controller operate normally, the converter is in a dual-port mode, and when only one of the first controller and the second controller operates normally, the converter is in a single-port mode; The converter further comprises: A reset port is connected to the first controller and the second controller respectively, and is used to receive a conversion signal sent by a normally operating controller during mode conversion; wherein, when the reset port receives the conversion signal, the converter restarts, and the mode conversion includes a first conversion mode from the single-port mode to the dual-port mode, and a second conversion mode from the dual-port mode to the single-port mode.
4. The dual-controller storage system according to claim 3, It is characterized in that The converter further comprises: A register unit is connected to the first controller and the second controller respectively; wherein the register unit stores a first firmware program corresponding to the first conversion mode and a second firmware program corresponding to the second conversion mode, and the first firmware program or the second firmware program is loaded when the converter is restarted.
5. The dual-controller storage system according to claim 3, It is characterized in that Also includes: A first system disk, connected to the first controller, and used to store a running program of the first controller; The second system disk is connected to the second controller and is used to store the running program of the second controller.
6. The dual-controller storage system according to claim 5, It is characterized in that After the first controller sends the conversion signal, the first system disk is also used to temporarily store the data output by the data ports configured by the first controller and the second controller during the restart of the converter. After the second controller sends the conversion signal, the second system disk is also used to temporarily store the data output by the data ports configured by the first controller and the second controller during the restart of the converter.
7. The dual-controller storage system according to claim 1, It is characterized in that Also includes: A clock generator is connected to the first controller, the second controller and the converter; wherein the first controller also includes a first clock request port for issuing a first clock request signal to the clock generator, and the clock generator responds to the first clock request signal and sends a homologous clock signal to the first controller and the converter; the second controller also includes a second clock request port for issuing a second clock request signal to the clock generator, and the clock generator responds to the second clock request signal and sends a homologous clock signal to the second controller and the converter.
8. The dual-controller storage system according to claim 7, It is characterized in that The converter further comprises: The upstream first clock interface and the second clock interface are respectively connected to the clock generator, and the first clock interface is used to receive the homologous clock signal issued by the clock generator in response to the first clock request signal, and the second clock interface is used to receive the homologous clock signal issued by the clock generator in response to the second clock request signal.
9. The dual-controller storage system according to claim 1, It is characterized in that The first controller and the second controller are interconnected via a communication network; The first controller transmits first configuration information and a first keep-alive signal to the second controller through the communication network, and the second controller transmits second configuration information and a second keep-alive signal to the second controller through the communication network, the first configuration information includes port information of the data port configured by the first controller and array information of the first disk array, and the second configuration information includes port information of the data port configured by the second controller and array information of the second disk array.
10. The dual-controller storage system according to claim 1, It is characterized in that The first disk array and the second disk array are both SATA disk arrays, the first control interface and the second control interface both use the PCIE protocol, and the converter is used to realize mutual conversion between the PCIE protocol and the SATA protocol.
