An electronic device and a control method of an electronic device
By using an independent clock module and a collaborative design between the management controller and the backplane controller, the problem of wasted cables and connectors in the CXL dual-port solution was solved, enabling flexible access to target devices and improved system performance.
Patent Information
- Application Number
- CN202611342177.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-31
- Publication Date
- 2026-11-24
AI Technical Summary
In the existing CXL dual-port solution, the backplane needs to reserve two x8 cables and two sets of connectors, resulting in a serious waste of cables, connectors and wiring space.
By employing an independent clock module and a collaborative design between the management controller and the backplane controller, and through independent signal paths and reset control, a single target device can support dual ports, avoiding the waste of redundant cables and connectors.
It enables flexible access to individual target devices, reduces waste of cables and connectors, lowers the cost and complexity of system design, and improves system availability and maintainability.
Smart Images

Figure CN123157647A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic equipment technology, and more particularly to an electronic device and a method for controlling the electronic device. Background Technology
[0002] Existing CXL dual-port solutions typically use a backplane to split the PCIe x8 signal into two x4 paths to connect two hosts. This has the following drawbacks: even if only a single CXL device is installed, the backplane still needs to reserve two complete x8 cables and two sets of connectors, resulting in a serious waste of cables, connectors, and cabling space. Summary of the Invention
[0003] In view of the above-mentioned technical problems existing in the current technology, this application provides an electronic device and a control method for the electronic device.
[0004] This application provides an electronic device, including a target device, a management controller, and a backplane controller. The target device has a first port and a second port. The first port is used to connect to a first host via a first signal path to establish a first link between the first host and the target device. The second port is used to connect to a second host via a second signal path to establish a second link between the second host and the target device. The target device is configured to establish the second link using an independent clock module. The management controller is used to receive reset requests corresponding to the first port and the second port, respectively. The backplane controller is used to receive port reset control commands from the management controller and control the first port and the second port to reset according to the port reset control commands.
[0005] In some embodiments, the junction of the first port and the second port is connected to a backplane controller so that the second host can obtain the presence signal of the target device corresponding to the second port.
[0006] In some embodiments, the management controller receives reset requests from the first host and the second host respectively, and sends the port reset control command to the backplane controller via the communication bus.
[0007] In some embodiments, the management controller and the backplane controller control the first port to be in a reset state according to the reset request of the first host; and / or, the management controller and the backplane controller control the second port to be in a reset state according to the reset request of the second host.
[0008] In some embodiments, the target device is in a first state, a first link is established between the first host and the target device, and a second link is established between the second host and the target device; the target device is in a second state, a first link is established between the first host and the target device, and the target device operates in a high-speed extended bus four-channel mode through a first signal path.
[0009] This application also provides a control method for an electronic device, comprising: sending a reset request to a management controller via a first host connected to a first port of a target device and / or a second host connected to a second port of the target device; receiving reset requests corresponding to the first port and the second port via the management controller; receiving a port reset control command from the management controller via a backplane controller, and controlling the first port and the second port to reset according to the port reset control command.
[0010] In some embodiments, the method further includes: sending an presence signal to the backplane controller via the first port and the second port; wherein the junction of the first port and the second port is connected to the backplane controller; and sending the presence signal to the management controller via the backplane controller to send the presence signal to a host connected to the first port and the second port via the management controller.
[0011] In some embodiments, the method further includes: establishing a second link between the second host and the target device via an independent clock module of the target device.
[0012] In some embodiments, receiving the port reset control command from the management controller via the backplane controller specifically includes: the backplane controller receiving the port reset control command from the management controller via a communication bus.
[0013] In some embodiments, the method further includes: controlling the first port to a reset state via the management controller and the backplane controller according to a reset request from the first host; and / or controlling the second port to a reset state via the management controller and the backplane controller according to a reset request from the second host. Attached Figure Description
[0014] In drawings that are not necessarily drawn to scale, the same reference numerals may describe similar parts in different views. The drawings generally illustrate various embodiments by way of example rather than limitation and are used, together with the description and claims, to illustrate the disclosed embodiments. Where appropriate, the same reference numerals are used in all drawings to refer to the same or similar parts. Such embodiments are illustrative and not intended to be exhaustive or exclusive embodiments of the apparatus or method.
[0015] Figure 1 This is a simplified structural block diagram of the electronic device according to an embodiment of this application.
[0016] Figure 2 This is a side view of the target device of the electronic device in the embodiment of this application.
[0017] Figure 3 This is a structural block diagram of an electronic device according to an embodiment of this application, showing the data flow path with a reset signal.
[0018] Figure 4 This is a structural block diagram of an electronic device according to an embodiment of this application, showing the data flow path of the in-situ signal.
[0019] Figure 5 This is a first flowchart of a control method for an electronic device according to an embodiment of this application.
[0020] Figure 6 This is a second flowchart of a control method for an electronic device according to an embodiment of this application.
[0021] Figure 7 This is a third flowchart of the control method for an electronic device according to an embodiment of this application. Detailed Implementation
[0022] It should be understood that various modifications can be made to the embodiments described herein. Therefore, the above description should not be considered as limiting, but merely as an example of embodiments. Other modifications within the scope and spirit of this application will be apparent to those skilled in the art.
[0023] The accompanying drawings, which are included in and form part of this specification, illustrate embodiments of the present application and, together with the general description of the present application given above and the detailed description of the embodiments given below, serve to explain the principles of the present application.
[0024] These and other features of this application will become apparent from the following description of preferred forms of embodiments given as non-limiting examples, with reference to the accompanying drawings.
[0025] It should also be understood that although this application has been described with reference to some specific examples, those skilled in the art can certainly implement many other equivalent forms of this application.
[0026] The above and other aspects, features and advantages of this application will become more apparent when taken in conjunction with the accompanying drawings and in view of the following detailed description.
[0027] Specific embodiments of this application are described thereafter with reference to the accompanying drawings; however, it should be understood that the embodiments are merely examples of this application, which may be implemented in various ways. Well-known and / or repeated functions and structures are not described in detail to avoid unnecessary or redundant details that could obscure the application. Therefore, the specific structural and functional details herein are not intended to be limiting, but merely serve as the basis and representative basis for the claims to teach those skilled in the art to use this application in a variety of substantially any suitable detailed structures.
[0028] This specification may use the phrases “in one embodiment,” “in another embodiment,” “in yet another embodiment,” or “in other embodiments,” all of which may refer to one or more of the same or different embodiments according to this application.
[0029] This application provides an electronic device 100. For example... Figures 1 to 4 As shown, the electronic device 100 includes a target device 101, a management controller 102, and a backplane controller 103. The target device 101 has a first port and a second port. The first port is used to connect to a first host 104 via a first signal path to establish a first link between the first host 104 and the target device 101. The second port is used to connect to a second host 105 via a second signal path to establish a second link between the second host 105 and the target device 101. The target device 101 is configured to establish the second link using an independent clock module. The management controller 102 is used to receive reset requests corresponding to the first port and the second port, respectively. The backplane controller 103 is used to receive port reset control commands from the management controller 102 and control the first port and the second port to reset according to the port reset control commands.
[0030] The aforementioned target device 101 can be an expansion device with dual-port capability that can be accessed by two hosts simultaneously or separately. Specifically, it can be an expansion device that supports the CXL (Compute Express Link) protocol, such as a CXL memory expansion card or a CXL accelerator card.
[0031] like Figure 2As shown, the target device 101 has a first port P1 and a second port P2. P1 and P2 are two physical partition ports on the target device 101. They can share an EDSFF (Enterprise and Data Center Standard Form Factor) connector in terms of physical structure. The connector has a snap-fit notch (i.e., Key bit) in the middle, which divides the connector into the P1 area and the P2 area.
[0032] The first signal path can be understood as a high-speed signal connection (such as PCIe traces and cables) between the first host 104 and P1, and the second signal path can be understood as a high-speed signal connection between the second host 105 and P2.
[0033] The first link mentioned above can be understood as a high-speed extended bus connection established between the corresponding first host 104 and the target device 101 via the first port. The second link can be understood as a high-speed extended bus connection established between the corresponding first host 104 and the target device 101 via the second port.
[0034] The aforementioned first port P1 is connected to the first host 104 through a first signal path. The first signal path is the cable corresponding to P1. One end of the cable is connected to the P1 area of the target device 101, and the other end is connected to the first host 104, which is used to establish a first link between the first port and the first host 104.
[0035] The second port P2 is connected to the second host 105 through the second signal path. The second signal path is the cable corresponding to P2. One end of the cable is connected to the P2 area of the target device 101, and the other end is connected to the second host 105, which is used to establish a second link between the second port and the second host 105.
[0036] The first port P1 and the second port P2 operate independently without interfering with each other. Both the first link and the second link can be CXL links based on the PCIe physical layer, and each link operates in PCIe x4 channel mode.
[0037] The aforementioned independent clock module can be understood as a local reference clock circuit located inside the target device 101, used to provide a local reference clock for the second link, eliminating the need to obtain an external common clock from the host or backplane, thus improving link reliability. Specifically, the target device 101 can operate in SRIS independent clock mode, where its internal clock module generates a reference clock for use by the P2 port. The P2 region is connected to the second host 105 via a second signal path. In this way, the P2 region does not require an externally provided clock signal or additional clock buffering.
[0038] Specifically, taking the SRIS (Separate Refclk Independent SSC) clocking architecture as an example, the PCIe SRIS architecture allows devices at both ends of the link to use independent reference clocks without needing to transmit a shared reference clock signal over cables. In this architecture, each end of the link is equipped with an independent crystal oscillator and clock generator to produce a reference clock with spread spectrum (SSC) to reduce electromagnetic interference. Since the clock sources at both ends are independent and have a certain frequency deviation, SRIS uses a port-level clock recovery mechanism combined with link-layer compensation technology for clock synchronization. Compared to traditional shared reference clock architectures, SRIS reduces cable complexity and cost, improves PCIe connectivity flexibility, and is suitable for applications such as PCIe SSDs.
[0039] The aforementioned management controller 102 can be understood as a BMC (Baseboard Management Controller). The management controller 102 is used to receive reset requests corresponding to the first port and the second port, respectively. That is, when the first host 104 or the second host 105 needs to perform a reset operation on its corresponding port, it sends a reset request to the BMC. The signal corresponding to the reset request is PERST (reset signal), used to perform a hardware reset on the port of the target device 101.
[0040] The aforementioned backplane controller 103 can be understood as a PSOC (Programmable System-on-Chip), specifically located on the backplane. It can integrate a logic control unit and a microcontroller, and is responsible for receiving and processing instructions from the management controller 102, and performing control operations on the underlying hardware such as port reset and presence detection.
[0041] The backplane controller 103 is used to receive port reset control commands from the management controller 102, and control the first port and the second port to reset according to the port reset control commands. Specifically, the BMC converts the received reset request into a port reset control command and sends it to the PSOC through the I2C out-of-band management bus. The PSOC triggers the corresponding reset signal PERST1 (for P1) or PERST2 (for P2) according to the command content, and transmits it to the corresponding port of the target device 101 through the signal path, so that the port performs a reset operation.
[0042] like Figure 3 and Figure 4As shown, the backplane controller 103PSOC can include multiple GPIO pins, with PERST1 and PERST2 occupying different GPIO pins to achieve independent output control of the first and second ports. Through the cooperation of the management controller 102 and the backplane controller 103, the data flow path of the reset signal is host → BMC → PSOC → target device 101 port.
[0043] With the above configuration, a single target device 101 can be connected as needed in single-port or dual-port mode, avoiding the waste caused by reserving redundant cables and connectors for a single device. At the same time, the management controller 102BMC and the backplane controller 103PSoC work together to complete the port reset control, making dual-port management and reset more orderly and reliable.
[0044] like Figure 3 and Figure 4 As shown, a switch, such as an I2C switch, can be installed on the PCB of the backplane. It is an independent component that is soldered onto the PCB of the backplane and is used to expand one I2C bus into multiple I2C buses.
[0045] This application enables dual-port support for a single target device 101 by configuring physically independent first and second ports for the target device 101 and directly connecting them to the first host 104 and the second host 105 through independent signal paths. This eliminates waste, meaning that when only a single target device 101 is installed, only a single cable for the corresponding port needs to be deployed. This completely avoids the waste of cable, connector, and wiring space caused by the current requirement to reserve two x8 cables and two sets of connectors even for a single device. Compared with the traditional dual-port design, the cost and complexity of the system design are reduced.
[0046] In some embodiments, the junction of the first port and the second port is connected to the backplane controller 103 so that the second host 105 can obtain the presence signal of the target device 101 corresponding to the second port.
[0047] Thus, by setting the junction of the first port and the second port to be connected to the backplane controller 103, the ground wires of P1 and P2 can be interconnected, thereby ensuring that the two levels are consistent, so that the presence signal of P2 can be transmitted normally to the backplane controller 103, and the second host 105 can know the presence signal of the target device 101 corresponding to the second port.
[0048] The junction of the first and second ports can be understood as the physical boundary between the first port P1 area and the second port P2 area on the connector. It typically uses a mechanical bump or metal contact pad structure and is located near the key position in the middle of the connector. When the target device is inserted into the connector, this junction mechanically interconnects the ground wires of the P1 and P2 areas, ensuring that the ground levels of the two areas remain consistent. This guarantees that the PRSNT presence signal in the P2 area can be correctly pulled low and transmitted to the backplane controller when the device is inserted.
[0049] The data flow direction of the aforementioned presence signal PRSNT is: P1 / P2, PSOC, BMC, and Host. The presence signal PRSNT is used to indicate whether the port of the target device 101 has been physically inserted into the connector. When the target device 101 is inserted into the connector, the PRSNT pin on the backplane side is pulled low, and the backplane controller 103 can determine whether the device is in place by detecting the potential change of this pin. Since the P2 area is located at the connector partition position, its PRSNT signal and ground line need to form a uniform level with the P1 area to ensure correct signal detection.
[0050] like Figure 4 As shown, the junction of P1 and P2 connects to the backplane controller 103. This junction interconnects the ground wires of P1 and P2, ensuring that the ground levels of the two zones remain consistent. This guarantees that the PRSNT signal in the P2 area can be correctly pulled low and transmitted to the backplane controller 103 when the device is inserted. Upon detecting this low level, the backplane controller 103 knows that the target device 101 has been inserted and reports the device presence signal to the management controller 102 (BMC). The BMC then notifies the second host 105, enabling the second host 105 to obtain the presence signal of the second port of the target device 101. It should be noted that the first port P1 itself has a complete PRSNT signal path and can directly connect to the backplane controller 103 without the need for a junction.
[0051] The first port P1 mentioned above can contain high-speed signals, reset signals, and clock signals, while the second port P2 can contain high-speed signals and the presence signal PRSNT, but lacks independent PERST reset signals, reference clock signals, and other signals.
[0052] In some embodiments, the management controller 102 receives reset requests from the first host 104 and the second host 105 respectively, and sends the port reset control command to the backplane controller 103 via the communication bus.
[0053] In this way, the reset requests of the first host 104 and the second host 105 are forwarded to the backplane controller 103 through the communication bus, avoiding the problem that the reset signals of the first host 104 and the second host 105 need to be directly connected to the backplane through physical cables, simplifying the signal wiring, and realizing the centralized management of reset requests by the management controller 102.
[0054] The aforementioned reset request can be understood as a control command initiated by the first host 104 or the second host 105 to perform a reset operation on the corresponding port of the target device 101. The signal corresponding to this reset operation is PERST (reset signal), which is used to perform a hardware reset on the port of the target device 101 to initialize the port.
[0055] Upon receiving a reset request from any host, the BMC converts the reset request into a port reset control command and sends it to the backplane controller 103PSOC via the communication bus. The communication bus can be understood as an I2C out-of-band management bus, but other methods such as I3C, UART, and SPI can also be used; this application does not specifically limit this. The BMC sends the port reset control command to the PSOC via the I2C bus; specifically, it can send a command carrying the port identifier and reset operation information to the PSOC.
[0056] In some embodiments, the management controller 102 and the backplane controller 103 control the first port to be in a reset state according to the reset request of the first host 104; and / or, the management controller 102 and the backplane controller 103 control the second port to be in a reset state according to the reset request of the second host 105.
[0057] In this way, the management controller 102 and the backplane controller 103 can independently reset one port according to the reset request of a single host without affecting the normal operation of the other port. This achieves independent reset control of the first port and the second port, avoids mutual interference of reset signals, and improves the flexibility of system operation.
[0058] like Figure 3 As shown, the reset request PERST1 initiated by the first host 104 is only for the first port P1. After being received by the BMC, this reset request is converted into a port reset control command and sent to the PSOC via the I2C bus. The PSOC triggers the PERST1 reset signal according to the command, causing P1 to perform a reset operation. At the same time, the PERST2 signal of the second port P2 is unaffected and maintains its current working state. The second host 105 and the target device 101 continue to communicate normally through the second link of P2.
[0059] Similarly, the reset request PERST2 initiated by the second host 105 is only for the second port P2. After receiving it, the BMC notifies the PSOC through the I2C bus to trigger the PERST2 reset signal, so that P2 performs a reset operation, while the first port P1 remains normal.
[0060] When the first host 104 and the second host 105 simultaneously initiate a reset request, the BMC and PSOC can trigger PERST1 and PERST2 respectively, causing P1 and P2 to enter the reset state simultaneously. Through this independent reset control mechanism, maintenance or fault recovery of a single port can be performed without interfering with the operation of the other host, significantly improving the availability and maintainability of the system.
[0061] Specifically, the reset signal PERST is active low. When the PERST signal is low, the corresponding port is in a reset state; when the PERST signal is high, the port is working normally.
[0062] In some embodiments, the target device 101 is in a first state, a first link is established between the first host 104 and the target device 101, and a second link is established between the second host 105 and the target device 101; the target device 101 is in a second state, a first link is established between the first host 104 and the target device 101, and the target device 101 operates in a high-speed expansion bus four-channel mode through a first signal path.
[0063] In this way, the target device 101 can flexibly switch between dual-port mode (first state) and single-port four-channel mode (second state) according to actual needs. When only a single host connection is required, the target device 101 can still work with full four-channel bandwidth through the first signal path without bandwidth loss, and the second port does not need to be equipped, saving material costs.
[0064] In the first state, both the first port P1 and the second port P2 of the target device 101 are in working state. The first host 104 establishes a first link with P1 through the first signal path, and the second host 105 establishes a second link with P2 through the second signal path. The target device 101 communicates with the first host 104 and the second host 105 at the same time. The signal path of each port works in PCIe x4 mode and transmits data independently.
[0065] In the second state, the target device 101 establishes a first link with the first host 104 only through the first port P1, and the second port P2 is not used. At this time, the target device 101 works in the high-speed expansion bus four-channel mode through the first signal path, that is, the first signal path is connected to the first host 104 with a complete PCIe x4 channel, and the second signal path and the second port P2 are idle or not connected.
[0066] The switching between the first and second states is determined and executed by the FPGA on the motherboard of the electronic device. Specifically, the backplane controller (PSOC) detects the presence signal (PRSNT) of the first and second ports. When the target device is inserted into the connector, the PSOC reports the detected presence signal status to the FPGA on the motherboard. The FPGA automatically determines and switches the operating mode based on the presence signal status: if only P1 has a presence signal triggered, it is determined that only the first host is connected, and the system is switched to the second state (single-port four-channel operating mode). At this time, the second host notifies that no device is connected, and the second port is idle. If both P1 and P2 have presence signals triggered, it is determined that two hosts are connected, and the system is switched to the first state (dual-port operating mode). When a port is not used, the corresponding PCIe high-speed signal is in an electrically idle state, and no data is transmitted or received. The clock module is in a powered-off or low-power standby state, and the reset signal (PERST) remains invalid (high level). After the device is inserted, the host initiates a reset request through the management controller to complete the link initialization. During the insertion and removal of the port, the system is triggered to switch states and manage links by the level change of the PRSNT signal.
[0067] This application also provides a control method for an electronic device 100. For example... Figure 5 As shown, the control method of the electronic device 100 includes steps S101 to S103.
[0068] Step S101: Send a reset request to the management controller 102 via a first host 104 connected to a first port of the target device 101 and / or a second host 105 connected to a second port of the target device 101.
[0069] Step S102: Receive reset requests corresponding to the first port and the second port respectively via the management controller 102.
[0070] Step S103: Receive the port reset control command from the management controller 102 via the backplane controller 103, and control the first port and the second port to reset respectively according to the port reset control command.
[0071] The aforementioned target device 101 can be an expansion device with dual-port capability that can be accessed by two hosts simultaneously or separately. Specifically, it can be an expansion device that supports the CXL (Compute Express Link) protocol, such as a CXL memory expansion card or a CXL accelerator card.
[0072] like Figure 2As shown, the target device 101 has a first port P1 and a second port P2. P1 and P2 are two physical partition ports on the target device 101. They can share an EDSFF (Enterprise and Data Center Standard Form Factor) connector in terms of physical structure. The connector has a snap-fit notch (i.e., Key bit) in the middle, which divides the connector into the P1 area and the P2 area.
[0073] The first signal path can be understood as the high-speed signal connection (such as PCIe traces and cables) between the first host 104 and P1, and the second signal path can be understood as the high-speed signal connection between the second host 105 and P2. The two are independent and do not share connectors and cables.
[0074] The first link mentioned above can be understood as a high-speed extended bus connection established between the corresponding first host 104 and the target device 101 via the first port. The second link can be understood as a high-speed extended bus connection established between the corresponding second host 105 and the target device 101 via the second port.
[0075] The aforementioned first port P1 is connected to the first host 104 through a first signal path. The first signal path is the cable corresponding to P1. One end of the cable is connected to the P1 area of the target device 101, and the other end is connected to the first host 104, which is used to establish a first link between the first port and the first host 104.
[0076] The second port P2 is connected to the second host 105 through the second signal path. The second signal path is the cable corresponding to P2. One end of the cable is connected to the P2 area of the target device 101, and the other end is connected to the second host 105, which is used to establish a second link between the second port and the second host 105.
[0077] The first port P1 and the second port P2 operate independently without interfering with each other. Both the first link and the second link can be CXL links based on the PCIe physical layer, and each link operates in PCIe x4 channel mode.
[0078] The aforementioned independent clock module can be understood as a local reference clock circuit located inside the target device 101, used to provide a local reference clock for the second link, eliminating the need to obtain an external common clock from the host or backplane, thus improving link reliability. Specifically, the target device 101 can operate in SRIS independent clock mode, where its internal clock module generates a reference clock for use by the P2 port. The P2 region is connected to the second host 105 via a second signal path. In this way, the P2 region does not require an externally provided clock signal or additional clock buffering.
[0079] The aforementioned management controller 102 can be understood as a BMC (Baseboard Management Controller). The management controller 102 is used to receive reset requests corresponding to the first port and the second port, respectively. That is, when the first host 104 or the second host 105 needs to perform a reset operation on its corresponding port, it sends a reset request to the BMC. The signal corresponding to the reset request is PERST (reset signal), used to perform a hardware reset on the port of the target device 101.
[0080] The aforementioned backplane controller 103 can be understood as a PSOC (Programmable System-on-Chip), specifically located on the backplane. It can integrate a logic control unit and a microcontroller, and is responsible for receiving and processing instructions from the management controller 102, and performing control operations on the underlying hardware such as port reset and presence detection.
[0081] The backplane controller 103 receives port reset control commands from the management controller 102 and controls the first and second ports to reset according to the port reset control commands. Specifically, the BMC converts the received reset request into a port reset control command and sends it to the PSOC via the I2C out-of-band management bus. The PSOC triggers the corresponding reset signal PERST1 (for P1) or PERST2 (for P2) according to the command content, which is transmitted to the corresponding port of the target device 101 through the signal path, causing the port to perform a reset operation. The reset operations of the first and second ports are independent of each other and do not affect each other.
[0082] A first host 104, connected to the first port P1 of the target device 101, and a second host 105, connected to the second port P2 of the target device 101, send a reset request to the management controller 102 (BMC). Specifically, when the first host 104 and / or the second host 105 need to perform a reset operation on their corresponding ports, they send a reset request to the BMC. The method of sending the reset request is determined based on the physical deployment relationship between the host and the BMC; it can be sent directly via a physical pin or via the I2C out-of-band management bus. The management controller 102 (BMC) then receives the reset requests corresponding to the first port P1 and the second port P2, respectively. As a unified management entry point, the BMC receives the reset requests from the first host 104 and the second host 105, identifies and parses the reset requests, and determines the target port for each reset request. The backplane controller 103 PSOC receives the port reset control command from the management controller 102 BMC and controls the first port P1 and the second port P2 to reset according to the port reset control command. That is, the BMC converts the reset request into a port reset control command and sends it to the PSOC through the I2C bus. The PSOC triggers the corresponding reset signal PERST1 or PERST2 according to the content of the command, and transmits it to the corresponding port of the target device 101 through the signal path to perform the reset operation. Through the above method steps, independent reset control of the first port and the second port of the target device 101 is realized.
[0083] like Figure 3 and Figure 4 As shown, the backplane controller 103PSOC can include multiple GPIO pins, with PERST1 and PERST2 occupying different GPIO pins to achieve independent output control of the first and second ports. Through the cooperation of the management controller 102 and the backplane controller 103, the data flow path of the reset signal is host → BMC → PSOC → target device 101 port.
[0084] With the above configuration, a single target device 101 can be connected as needed in single-port or dual-port mode, avoiding the waste caused by reserving redundant cables and connectors for a single device. At the same time, the management controller 102BMC and the backplane controller 103PSoC work together to complete the port reset control, making dual-port management and reset more orderly and reliable.
[0085] like Figure 3 and Figure 4 As shown, a switch, such as an I2C switch, can be installed on the PCB of the backplane. It is an independent component that is soldered onto the PCB of the backplane and is used to expand one I2C bus into multiple I2C buses.
[0086] This application enables dual-port support for a single target device 101 by configuring physically independent first and second ports for the target device 101 and directly connecting them to the first host 104 and the second host 105 through independent signal paths. This eliminates waste, meaning that when only a single target device 101 is installed, only a single cable for the corresponding port needs to be deployed. This completely avoids the waste of cable, connector, and wiring space caused by the current requirement to reserve two x8 cables and two sets of connectors even for a single device. Compared with the traditional dual-port design, the cost and complexity of the system design are reduced.
[0087] In some embodiments, such as Figure 6 As shown, the method further includes steps S201 to S202.
[0088] Step S201: Send an presence signal to the backplane controller 103 via the first port and the second port; wherein the junction of the first port and the second port is connected to the backplane controller 103.
[0089] Step S202: The presence signal is sent to the management controller 102 via the backplane controller 103, so that the presence signal is sent to the host connected to the first port and the second port via the management controller 102.
[0090] Thus, by setting the junction of the first port and the second port to be connected to the backplane controller 103, the ground wires of P1 and P2 can be interconnected, thereby ensuring that the two levels are consistent, so that the presence signal of P2 can be transmitted normally to the backplane controller 103, and the second host 105 can know the presence signal of the target device 101 corresponding to the second port.
[0091] The data flow direction of the aforementioned presence signal PRSNT is: P1 / P2, PSOC, BMC, and Host. The presence signal PRSNT is used to indicate whether the port of the target device 101 has been physically inserted into the connector. When the target device 101 is inserted into the connector, the PRSNT pin on the backplane side is pulled low, and the backplane controller 103 can determine whether the device is in place by detecting the potential change of this pin. Since the P2 area is located at the connector partition position, its PRSNT signal and ground line need to form a uniform level with the P1 area to ensure correct signal detection.
[0092] like Figure 4As shown, the junction of P1 and P2 connects to the backplane controller 103. This junction interconnects the ground wires of P1 and P2, ensuring that the ground levels of the two zones remain consistent. This guarantees that the PRSNT signal in the P2 area can be correctly pulled low and transmitted to the backplane controller 103 when the device is inserted. Upon detecting this low level, the backplane controller 103 knows that the target device 101 has been inserted and reports the device presence signal to the management controller 102 (BMC). The BMC then notifies the second host 105, enabling the second host 105 to obtain the presence signal of the second port of the target device 101. It should be noted that the first port P1 itself has a complete PRSNT signal path and can directly connect to the backplane controller 103 without the need for a junction.
[0093] The first port P1 mentioned above can contain high-speed signals, reset signals, and clock signals, while the second port P2 can contain high-speed signals and the presence signal PRSNT, but lacks independent PERST reset signals, reference clock signals, and other signals.
[0094] In some embodiments, the method further includes: establishing a second link between the second host 105 and the target device 101 via an independent clock module of the target device 101.
[0095] In this way, the target device 101 establishes a link with the second host 105 through its own configured independent clock module, without relying on the reference clock provided by the second host 105. This solves the problem of no independent reference clock signal in the P2 area, enabling the second port to complete link communication independently without an external clock signal.
[0096] Understandably, the P2 region only contains high-speed signals and the presence signal PRSNT, excluding the reference clock signal. Therefore, when using P2 to form an independent port, the target device 101 is configured with an independent clock module. This independent clock module can be an SRIS (Independent Reference Clock Independent Spread Spectrum) clock module, which integrates a clock generator and can autonomously generate the reference clock signal required for link communication. In this way, the P2 region does not require an externally provided clock signal or additional clock buffering devices.
[0097] In some embodiments, the step S103 of receiving the port reset control command from the management controller 102 via the backplane controller 103 specifically includes: The backplane controller 103 receives the port reset control command from the management controller 102 via the communication bus.
[0098] In this way, the reset requests of the first host 104 and the second host 105 are forwarded to the backplane controller 103 through the communication bus, avoiding the problem that the reset signals of the first host 104 and the second host 105 need to be directly connected to the backplane through physical cables, simplifying the signal wiring, and realizing the centralized management of reset requests by the management controller 102.
[0099] The aforementioned reset request can be understood as a control command initiated by the first host 104 or the second host 105 to perform a reset operation on the corresponding port of the target device 101. The signal corresponding to this reset operation is PERST (reset signal), which is used to perform a hardware reset on the port of the target device 101 to initialize the port.
[0100] Upon receiving a reset request from any host, the BMC converts the reset request into a port reset control command and sends it to the backplane controller 103PSOC via the communication bus. This communication bus can be understood as an I2C out-of-band management bus. The BMC sends the port reset control command to the PSOC via the I2C bus; specifically, it can send a command carrying the port identifier and reset operation information to the PSOC.
[0101] In some embodiments, the method further includes steps S301 and / or S302. For example... Figure 7 As shown in the figure, the method also includes steps S301 and S302.
[0102] Step S301: The management controller 102 and the backplane controller 103 control the first port to be in a reset state according to the reset request of the first host 104.
[0103] Step S302: The management controller 102 and the backplane controller 103 control the second port to be in a reset state according to the reset request of the second host 105.
[0104] In this way, the management controller 102 and the backplane controller 103 can independently reset one port according to the reset request of a single host without affecting the normal operation of the other port. This achieves independent reset control of the first port and the second port, avoids mutual interference of reset signals, and improves the flexibility of system operation.
[0105] like Figure 3As shown, the reset request PERST1 initiated by the first host 104 is only for the first port P1. After being received by the BMC, this reset request is converted into a port reset control command and sent to the PSOC via the I2C bus. The PSOC triggers the PERST1 reset signal according to the command, causing P1 to perform a reset operation. At the same time, the PERST2 signal of the second port P2 is unaffected and maintains its current working state. The second host 105 and the target device 101 continue to communicate normally through the second link of P2.
[0106] Similarly, the reset request PERST2 initiated by the second host 105 is only for the second port P2. After receiving it, the BMC notifies the PSOC through the I2C bus to trigger the PERST2 reset signal, so that P2 performs a reset operation, while the first port P1 remains normal.
[0107] When the first host 104 and the second host 105 simultaneously initiate a reset request, the BMC and PSOC can trigger PERST1 and PERST2 respectively, causing P1 and P2 to enter the reset state simultaneously. Through this independent reset control mechanism, maintenance or fault recovery of a single port can be performed without interfering with the operation of the other host, significantly improving the availability and maintainability of the system.
[0108] Specifically, the reset signal PERST is active low. When the PERST signal is low, the corresponding port is in a reset state; when the PERST signal is high, the port is working normally.
[0109] Note that the various units in the embodiments of this application can be implemented as computer-executable instructions stored in memory, which, when executed by a processor, can perform corresponding steps; they can also be implemented as hardware with corresponding logical computing capabilities; or they can be implemented as a combination of software and hardware (firmware). In some embodiments, the processor can be implemented as any of an FPGA, ASIC, DSP chip, SOC (System-on-a-Chip), MPU (e.g., but not limited to Cortex), etc. The processor can be communicatively coupled to the memory and configured to execute computer-executable instructions stored therein. The memory can include read-only memory (ROM), flash memory, random access memory (RAM), dynamic random access memory (DRAM) such as synchronous DRAM (SDRAM) or Rambus DRAM, static memory (e.g., flash memory, static random access memory), etc., on which computer-executable instructions are stored in any format. The computer-executable instructions can be accessed by the processor, read from the ROM or any other suitable storage location, and loaded into the RAM for the processor to execute, to implement the wireless communication methods according to the embodiments of this application.
[0110] It should be noted that in the system of this application, the components are logically divided according to the functions they are to perform. However, this application is not limited to this and can re-divide or combine the components as needed. For example, some components can be combined into a single component, or some components can be further decomposed into more sub-components.
[0111] The various component embodiments of this application can be implemented in hardware, or as software modules running on one or more processors, or a combination thereof. Those skilled in the art will understand that microprocessors or digital signal processors (DSPs) can be used in practice to implement some or all of the functions of some or all of the components in the system according to the embodiments of this application. This application can also be implemented as a device or apparatus program (e.g., a computer program and computer program product) for performing part or all of the methods described herein. Such a program implementing this application can be stored on a computer-readable medium or can be in the form of one or more signals. Such signals can be downloaded from an Internet website, provided on a carrier signal, or provided in any other form. Furthermore, this application can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means can be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names.
[0112] Furthermore, although exemplary embodiments have been described herein, their scope includes any and all embodiments based on this application that have equivalent elements, modifications, omissions, combinations (e.g., schemes involving intersections of various embodiments), adaptations, or alterations. Elements in the claims will be interpreted broadly based on the language used in the claims and are not limited to the examples described in this specification or during the implementation of this application, and such examples will be interpreted as non-exclusive.
[0113] The above description is intended to be illustrative and not restrictive. For example, the above examples (or one or more of them) can be used in combination with each other. Other embodiments may be used by those skilled in the art upon reading the above description. Furthermore, in the above detailed description, various features may be grouped together to simplify the application. This should not be construed as an intention that a disclosed feature not claimed is necessary for any claim. Rather, the subject matter of the application may be less than all the features of a particular disclosed embodiment. Thus, the claims are incorporated herein by reference as examples or embodiments, wherein each claim is an independent, separate embodiment, and these embodiments are contemplated as being combined with each other in various combinations or arrangements. The scope of this application should be determined by reference to the appended claims and the full scope of their equivalents.
[0114] The above embodiments are merely exemplary embodiments of this application and are not intended to limit this application. The scope of protection of this application is defined by the claims. Those skilled in the art can make various modifications or equivalent substitutions to this application within its substance and scope of protection, and such modifications or equivalent substitutions should also be considered to fall within the scope of protection of this application.
Claims
1. An electronic device, comprising: The target device has a first port and a second port. The first port is used to connect to the first host through the first signal path to establish a first link between the first host and the target device; The second port is used to connect to the second host via a second signal path to establish a second link between the second host and the target device; The target device is configured to establish the second link using an independent clock module; A management controller, which is configured to receive reset requests corresponding to the first port and the second port, respectively; A backplane controller is used to receive port reset control commands from the management controller and control the first port and the second port to reset according to the port reset control commands.
2. The electronic device according to claim 1, wherein the junction of the first port and the second port is connected to a backplane controller so that the second host can obtain the presence signal of the target device corresponding to the second port.
3. The electronic device according to claim 1, wherein the management controller receives reset requests from the first host and the second host respectively, and sends the port reset control command to the backplane controller via the communication bus.
4. The electronic device according to claim 1, wherein the management controller and the backplane controller control the first port to be in a reset state according to the reset request of the first host; and / or, the management controller and the backplane controller control the second port to be in a reset state according to the reset request of the second host.
5. The electronic device according to claim 1, wherein the target device is in a first state, a first link is established between the first host and the target device, and a second link is established between the second host and the target device; The target device is in a second state, a first link is established between the first host and the target device, and the target device operates in a high-speed extended bus four-channel mode through a first signal path.
6. A control method for an electronic device, comprising: A reset request is sent to the management controller via a first host connected to a first port of the target device and / or a second host connected to a second port of the target device. The management controller receives reset requests corresponding to the first port and the second port, respectively. The backplane controller receives the port reset control command from the management controller and controls the first port and the second port to reset respectively according to the port reset control command.
7. The control method for an electronic device according to claim 6, further comprising: A presence signal is sent to the backplane controller via the first port and the second port; wherein the junction of the first port and the second port is connected to the backplane controller; The presence signal is sent to the management controller via the backplane controller, and then sent to the host connected to the first port and the second port via the management controller.
8. The control method for an electronic device according to claim 6, the method further comprising: A second link is established between the second host and the target device via the target device's independent clock module.
9. The control method for an electronic device according to claim 6, wherein receiving the port reset control command of the management controller via the backplane controller specifically includes: The backplane controller receives the port reset control command from the management controller via the communication bus.
10. The control method for an electronic device according to claim 6, the method further comprising: The management controller and backplane controller control the first port to be in a reset state according to the reset request of the first host; And / or, The management controller and backplane controller control the second port to be in a reset state according to the reset request of the second host.
