Signal switching equipment, reset control system and method and readable storage medium

Through the coordinated work of the switch and the controller, the topology configuration requests are resolved and the interface correspondence list is generated, and the adaptive reset of the upstream and downstream ports of the switch is realized, solving the problem of fixed equipment topology and port configuration in the existing technology, and improving system flexibility Sex and reliability.

CN119071259AInactive Publication Date: 2024-12-03LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411488100.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-24
Publication Date
2024-12-03
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the existing reset control methods, the device topology and port configuration are fixed, resulting in limited use scenarios and frequent replacement of complex programmable logic device programs to ensure the correctness of reset connection, which is complicated.

Method used

Through the coordinated work of the switch, M processor, substrate management controller and the first controller, the topology configuration request is received, the switch topology is parsed, and the interface correspondence list is generated, and the adaptive reset of the switch up and downlink ports is realized to get rid of fixed topology and ports. attribute limitations.

Benefits of technology

It realizes the free configuration of the external port of the switch, simplifies the reset control process, improves system flexibility and reliability, and reduces the complexity of the topology structure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119071259A_ABST
    Figure CN119071259A_ABST
Patent Text Reader

Abstract

The invention discloses signal switching equipment, a reset control system, a reset control method and a readable storage medium, and relates to the field of distributed technologies, and the signal switching equipment comprises a switch which is used for being connected with an uplink central processing unit through an uplink port and connected with downlink equipment through a downlink port; receiving a switch topology configuration request, and forwarding the request to the M processor; the M processor is used for configuring a switch topology according to the switch topology configuration request and sending the switch topology to the substrate management controller; the baseboard management controller is used for analyzing the switch topology to obtain an interface corresponding relation list and sending the interface corresponding relation list to the first controller; the first controller is used for determining to-be-reset downlink equipment according to the interface corresponding relation list when a reset signal is received; and sending the reset signal to the downlink device to be reset. According to the invention, the switch can freely configure the external port, the limitation of fixed topology and fixed port attributes is eliminated, and the reset control process is simplified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of distributed technology, and in particular to a signal exchange device, a reset control system, a method, a computer-readable storage medium and a computer program product. Background Art

[0002] Currently, a commonly used reset control method is to integrate a central processing unit (CPU), a peripheral component interconnect express switch (PCIe switch), and downstream devices into a chassis, and burn the flash memory of the peripheral component interconnect express switch with a fixed topology, which limits the usage scenarios.

[0003] The other is a distributed fusion architecture system, in which the central processing unit, peripheral component interconnect expansion switch and downstream equipment are divided into three parts. The upstream and downstream ports are also fixed, and the connectivity of the upstream and downstream reset of the switch is controlled by a complex programmable logic device (CPLD). If the configuration of the upstream and downstream ports is changed, the complex programmable logic device code needs to be modified to ensure the correctness of the upstream and downstream reset connectivity, and the complex programmable logic device program needs to be frequently replaced.

[0004] In summary, how to effectively solve the problems of limited usage scenarios and frequent replacement of complex programmable logic device programs is an issue that technical personnel in this field urgently need to solve. Summary of the invention

[0005] The object of the present invention is to provide a signal exchange device, which realizes the free configuration of the switch's external ports, gets rid of the limitations of fixed topology and fixed port attributes, and simplifies the reset control process; another object of the present invention is to provide a reset control system, method, computer-readable storage medium and computer program product.

[0006] In order to solve the above technical problems, the present invention provides the following technical solutions: A signal exchange device, comprising: A switch, configured to be connected to an upstream central processor via an upstream port and to be connected to a downstream device via a downstream port; receiving a switch topology configuration request and forwarding the switch topology configuration request to an M processor; The M processor is used to configure the switch topology according to the switch topology configuration request, and send the configured switch topology to the baseboard management controller; The baseboard management controller is used to analyze the switch topology to obtain a list of interface correspondences between the upstream central processor and the downstream devices; and send the list of interface correspondences to the first controller; The first controller is used to determine the downstream device to be reset according to the interface correspondence list when receiving the reset signal; send the reset signal to the downstream device to be reset to control the corresponding upstream port and downstream port in the switch to be connected.

[0007] In a specific embodiment of the present invention, the first controller is specifically used to determine the downstream device to be reset according to the interface correspondence list when receiving a reset signal sent by the second controller on the host side through the first reset link; wherein the reset signal is generated by the upstream central processor on the host side and sent to the second controller through the second reset link.

[0008] In a specific embodiment of the present invention, the first controller is specifically used to send the reset signal to the third controller in the heterogeneous acceleration resource pool through the third reset link, so that the third controller sends the reset signal to the downlink device to be reset through the fourth reset link.

[0009] In a specific embodiment of the present invention, the first controller is further used to determine the downstream device to be de-reset according to the interface correspondence list when receiving the de-reset signal; and send the de-reset signal to the downstream device to be de-reset.

[0010] In a specific embodiment of the present invention, the baseboard management controller is specifically used to parse the switch topology to obtain the port netlist corresponding to each upstream port; determine each port netlist as the interface correspondence list; wherein, in each port netlist, the flag bit corresponding to the downstream port on which the downstream device is mounted is an enable flag bit, and the flag bit corresponding to the downstream port on which the downstream device is not mounted is a disable flag bit.

[0011] In a specific implementation of the present invention, the first controller is further configured to parse the received individual reset request to obtain a downstream device to be individually reset; and reset the downstream device to be individually reset through a preset virtual port.

[0012] In a specific embodiment of the present invention, the first controller is specifically used to convert the state flag of the downstream device to be reset individually in the virtual port netlist corresponding to the virtual port from a disabled state to an enabled state, so as to reset the downstream device to be reset individually.

[0013] In a specific embodiment of the present invention, the first controller is specifically used to cache the interface correspondence list to a memory; when the reset signal is received, the downlink device to be reset is determined according to the interface correspondence list cached in the memory.

[0014] In a specific implementation of the present invention, the baseboard management controller is further configured to update the interface correspondence list when a switch topology update is detected, and send the updated interface correspondence list to the first controller.

[0015] In a specific implementation of the present invention, the M processor is specifically configured to receive the switch topology configuration request forwarded by the switch through a universal asynchronous receiver / transmitter path.

[0016] In a specific implementation of the present invention, the baseboard management controller is specifically configured to send the interface correspondence list to the first controller via an integrated circuit bus.

[0017] A reset control system, comprising the signal exchange device as described above, further comprising: The host side is used to send a switch topology configuration request to the signal switching device; send a reset signal to the signal switching device; The heterogeneous acceleration resource pool is used to receive the reset signal sent by the first controller through the third controller, and send the reset signal to the downstream device to be reset, so as to reset the downstream device to be reset.

[0018] A reset control method, comprising: receiving a switch topology configuration request, and configuring the switch topology according to the switch topology configuration request; Parsing the switch topology to obtain a list of interface correspondences between upstream central processors and downstream devices; When a reset signal is received, determining the downstream device to be reset according to the interface correspondence list; The reset signal is sent to the downstream device to be reset, so as to control the corresponding upstream port and downstream port in the switch to be connected to reset the downstream device to be reset.

[0019] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the reset control method described above are implemented.

[0020] The signal exchange device provided by the present invention includes a switch, which is used to connect to an upstream central processor through an upstream port and to connect to a downstream device through a downstream port; receive a switch topology configuration request and forward the switch topology configuration request to an M processor; the M processor is used to configure the switch topology according to the switch topology configuration request and send the configured switch topology to a baseboard management controller; the baseboard management controller is used to parse the switch topology to obtain an interface correspondence list between the upstream central processor and the downstream device; send the interface correspondence list to a first controller; the first controller is used to determine the downstream device to be reset according to the interface correspondence list when receiving a reset signal; and send the reset signal to the downstream device to be reset to control the corresponding upstream port and downstream port in the switch to be connected.

[0021] It can be seen from the above technical solution that the switch topology configuration information is obtained from the network through the baseboard management controller, and the switch topology is parsed into a list of interface correspondences between the upstream central processor and the downstream device and passed to the first controller. The first controller controls the accurate reset of the upstream and downstream links of the switch, realizes the free configuration of the switch's external ports, gets rid of the limitations of fixed topology and fixed port attributes, realizes adaptive reset of downstream devices, improves system flexibility and reliability, and greatly simplifies the reset control process.

[0022] Correspondingly, the present invention also provides a reset control system, method, computer-readable storage medium and computer program product corresponding to the above reset control method, which have the above technical effects and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0024] FIG1 is a topological diagram of a reset control system in the related art; FIG2 is a topological diagram of another reset control system in the related art; FIG3 is a block diagram of a port setting; FIG4 is a topological diagram of a reset control system according to an embodiment of the present invention; 5 is a block diagram of a computing extension link system according to an embodiment of the present invention; FIG6 is a flowchart of an implementation of a reset control method in an embodiment of the present invention; FIG. 7 is a structural block diagram of a reset control device according to an embodiment of the present invention.

[0025] The reference numerals are as follows: 1-signal switching device, 11-switch, 12-M processor, 13-baseboard management controller, 14-first controller, 2-host end, 21-central processing unit, 22-second controller, 3-heterogeneous acceleration resource pool, 31-third controller, 32-downlink device. DETAILED DESCRIPTION

[0026] One of the commonly used reset control methods at present is to integrate a central processing unit, a peripheral component interconnect expansion switch and a downstream device into a chassis, and burn a flash memory of the peripheral component interconnect expansion switch with a fixed topology.

[0027] See Figure 1, which is a topological diagram of a reset control system in the related art. The design idea of ​​fanout is to fixedly expand a certain x16 port of the central processor into multiple x16 ports. The port attributes of the peripheral component interconnect expansion switch are fixed in the design stage. For example, port 0 is designed as an uplink port and other ports are designed as downlink ports. When users use it, only the topology shown in Figure 1 or similar topologies are available and cannot be changed.

[0028] See Figure 2, which is a topological diagram of another reset control system in the related art. The other is a distributed fusion architecture system, in which the central processor, the peripheral component interconnection expansion switch and the downstream device are divided into three parts, and the communication link (Fabric) between the peripheral component interconnection expansion switches can achieve full interconnection between each other. Although the system topology can be flexibly changed through the peripheral component interconnection expansion switch management software, the upstream and downstream ports are also fixed. The connection of the upstream and downstream reset is controlled by the complex programmable logic device of the peripheral component interconnection expansion switch. If the configuration of the upstream and downstream ports is changed, the complex programmable logic device code of the peripheral component interconnection expansion switch needs to be modified to ensure the correctness of the upstream and downstream reset connection, and the complex programmable logic device program needs to be frequently replaced, and the reset control process is complicated.

[0029] To this end, the signal exchange device provided in the present application realizes adaptive reset of the downstream device, improves system flexibility and reliability, and greatly simplifies the reset control process.

[0030] In order to enable those skilled in the art to better understand the scheme of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0031] Referring to Fig. 4, Fig. 4 is a topological diagram of a reset control system in an embodiment of the present invention. The signal exchange device 1 provided in the embodiment of the present invention may include: The switch 11 is used to connect to the upstream central processor 21 through the upstream port and to the downstream device 32 through the downstream port; receive the switch 11 topology configuration request and forward the switch 11 topology configuration request to the M processor 12; The M processor 12 is used to configure the topology of the switch 11 according to the topology configuration request of the switch 11, and send the configured topology of the switch 11 to the baseboard management controller 13; The baseboard management controller 13 is used to analyze the topology of the switch 11, obtain a list of interface correspondences between the upstream central processor 21 and the downstream device 32, and send the list of interface correspondences to the first controller 14; The first controller 14 is used to determine the downstream device 32 to be reset according to the interface correspondence list when receiving the reset signal; send the reset signal to the downstream device 32 to be reset to control the corresponding upstream port and downstream port in the switch 11 to be connected.

[0032] The signal exchange device 1 provided in the embodiment of the present invention may include a switch 11, an M processor 12 (mCPU), a baseboard management controller 13, and a first controller 14. The switch 11 is connected to the upstream central processor 21 through an upstream port, such as the switch 11 is connected to the root port of the upstream central processor 21 through the upstream port, and is connected to the downstream device 32 through the downstream port. The switch 11 receives a switch topology configuration request and forwards the switch topology configuration request to the M processor 12. The peripheral component interconnection extension switch management software runs in the system of the M processor 12, and the M processor 12 configures the switch topology according to the switch topology configuration request, and sends the configured switch topology to the baseboard management controller 13. The baseboard management controller 13 parses the switch topology, obtains an interface correspondence list between the upstream central processor 21 and the downstream device 32, and sends the interface correspondence list to the first controller 14. When the first controller 14 receives a reset (PERST) signal, it determines the downstream device 32 to be reset according to the interface correspondence list, and sends the reset signal to the downstream device 32 to be reset, thereby controlling the corresponding upstream port and downstream port in the switch 11 to be connected.

[0033] The downstream device 32 may be a graphics processor (Graphics Processing Unit, GPU), memory, etc.

[0034] Referring to Fig. 3, Fig. 3 is a block diagram of a port setting. The PCI expansion switch 11 includes 40 external ports, each of which can be used as an uplink port or a downlink port. There are 8 PCI expansion switches 11, and each PCI expansion switch 11 has 9 x16 ports, of which 5 are used as external interfaces and 4 are used as communication interfaces for interconnecting the PCI expansion switches 11.

[0035] Taking switch port 0-1, switch port 0-2 and switch port 2-1 in FIG3 as an example, the details of the adaptive reset mechanism are explained. Assume that the downstream device 32 corresponding to switch port 2-1, switch port 4-1 and switch port 6-1 is mounted to the root port (root port) of the central processor 21 of switch port 0-1 under the M processor 12, and the downstream device 32 corresponding to switch port 2-2, switch port 4-2 and switch port 6-2 is mounted to the root port of the central processor 21 of switch port 0-2. After the baseboard management controller 13 analyzes the topology, the position of the downstream device 32 mounted in the netlist of switch port 0-1 is set to 1, and the other positions are set to 0, which is written in the register of the memory of the first controller 14, which is a string of 00000 00000 1000000000 10000 00000 10000 00000. When the first controller 14 detects that a reset occurs at the port where the switch port 0-1 is located, it only needs to send a reset signal to the port set to 1 to accurately transmit the reset information. Similarly, the netlist of switch port 0-2 is a string of 00000 00000 01000 0000001000 00000 01000 00000, and the netlist of switch port 2-1 is a string of 00000 00000 00000 00000 00000 00000 00000 00000 in the register of the memory of the first controller 14. Switch port 2-1 is a downstream port and can only be reset passively, and cannot actively reset other ports.

[0036] As an intermediate switching unit of a distributed server system, the reset of a downlink port needs to be performed synchronously with the uplink port mounted thereon. When the peripheral component interconnection extension link topology changes in real time, the adaptive reset design method of the present invention can realize the reset operation of the entire link of different peripheral component interconnection extensions, get rid of the problem of fixed uplink and downlink ports of the switch 11, realize unlimited free configuration of the uplink and downlink ports of the peripheral component interconnection extension switch 11, adaptive reset of the uplink and downlink ports, realize non-blocking transmission of uplink and downlink reset, improve the reliability of the peripheral component interconnection extension signal and the system performance, and enhance the reliability and flexibility of the distributed server system.

[0037] It can be seen from the above technical solution that the switch topology configuration information is obtained from the network through the baseboard management controller, and the switch topology is parsed into a list of interface correspondences between the upstream central processor and the downstream device and passed to the first controller. The first controller controls the accurate reset of the upstream and downstream links of the switch, realizes the free configuration of the switch's external ports, gets rid of the limitations of fixed topology and fixed port attributes, realizes adaptive reset of downstream devices, improves system flexibility and reliability, and greatly simplifies the reset control process.

[0038] It should be noted that, based on the above embodiment, the embodiment of the present invention also provides corresponding improved solutions. In the subsequent embodiments, the same steps or corresponding steps as those in the above embodiment can be referenced to each other, and the corresponding beneficial effects can also be referenced to each other, which will not be repeated one by one in the following improved embodiments.

[0039] In a specific embodiment of the present invention, the first controller 14 is specifically used to determine the downstream device 32 to be reset according to the interface correspondence list when receiving a reset signal sent by the second controller 22 of the host end 2 through the first reset link; wherein the reset signal is generated by the upstream central processor 21 of the host end 2 and sent to the second controller 22 through the second reset link.

[0040] As shown in FIG4 , when the downstream device 32 needs to be reset, such as when the host end 2 is turned on or restarted, the upstream central processor 21 of the host end 2 generates a reset signal and sends it to the second controller 22 through the second reset link, and the second controller 22 then sends the reset signal to the first controller 14 in the signal exchange device 1 through the first reset link. When the first controller 14 receives the reset signal sent by the second controller 22 of the host end 2 through the first reset link, it determines the downstream device 32 to be reset according to the interface correspondence list. By using the controller to build each reset link to perform reset control of the downstream device 32, the flexibility of the reset control of the downstream device 32 is improved, and the complexity of the topology structure is greatly reduced.

[0041] In a specific embodiment of the present invention, the first controller 14 is specifically used to send a reset signal to the third controller 31 in the heterogeneous acceleration resource pool 3 through a third reset link, so that the third controller 31 sends the reset signal to the downstream device 32 to be reset through a fourth reset link.

[0042] The third controller 31 is provided in the heterogeneous acceleration resource pool 3, and a third reset link is pre-established between the first controller 14 in the signal exchange device 1 and the third controller 31 in the heterogeneous acceleration resource pool 3. After receiving the reset signal, the first controller 14 sends the reset signal to the third controller 31 in the heterogeneous acceleration resource pool 3 through the third reset link, and the third controller 31 sends the reset signal to the downstream device 32 to be reset through the fourth reset link. By providing the third controller 31 in the heterogeneous acceleration resource pool 3, the third controller 31 is used to receive the reset signal and send it to the corresponding downstream device 32, which improves the flexibility of the reset control of the downstream device 32, avoids a large number of line connections, and greatly reduces the complexity of the topology structure.

[0043] It should be noted that the first, second, and third in the first controller, the second controller, and the third controller have no size or order distinction, and are only used to distinguish the controllers in the signal switching device, the host end, and the heterogeneous acceleration resource pool. The first controller, the second controller, and the third controller can all be set as complex programmable logic devices.

[0044] In a specific embodiment of the present invention, the first controller 14 is further configured to determine the downstream device 32 to be de-reset according to the interface correspondence list when receiving the de-reset signal; and send the de-reset signal to the downstream device 32 to be de-reset.

[0045] After the downstream devices 32 to be reset are reset, it is necessary to de-reset the downstream devices 32 that have completed the reset. When the first controller 14 receives the de-reset signal, it determines the downstream devices 32 to be de-reset according to the interface correspondence list, and sends the de-reset signal to the downstream devices 32 to be de-reset, thereby realizing the rapid de-reset of the downstream devices 32 to be de-reset according to the interface correspondence list.

[0046] In a specific embodiment of the present invention, the baseboard management controller 13 is specifically used to parse the topology of the switch 11 to obtain the port netlist corresponding to each upstream port; each port netlist is determined as an interface correspondence list; wherein, in each port netlist, the flag bit corresponding to the downstream port on which the downstream device 32 is mounted is an enable flag bit, and the flag bit corresponding to the downstream port on which the downstream device 32 is not mounted is a disable flag bit.

[0047] The baseboard management controller 13 analyzes the topology of the switch 11, obtains the port netlist corresponding to each upstream port, and determines each port netlist as an interface correspondence list. In each port netlist, the flag bit corresponding to the downstream port on which the downstream device 32 is mounted is an enable flag bit, and the flag bit corresponding to the downstream port on which the downstream device 32 is not mounted is a non-enable flag bit. By setting the port netlist corresponding to each upstream port, accurate and detailed statistics of the correspondence between the upstream port and the downstream port of the switch 11 are achieved, and the probability of confusion of the correspondence between the upstream port and the downstream port is reduced.

[0048] In a specific implementation of the present invention, the first controller 14 is further configured to parse the received individual reset request to obtain the downstream device 32 to be individually reset; and reset the downstream device 32 to be individually reset through a preset virtual port.

[0049] When it is necessary to reset the downstream device 32 individually, such as when a failure occurs in the downstream device 32, the host end 2 generates an individual reset request and sends the individual reset request to the first controller 14 in the signal switching device 1. The first controller 14 parses the received individual reset request, obtains the downstream device 32 to be reset individually, and resets the downstream device 32 to be reset individually through a preset virtual port, thereby achieving the reset of a single downstream device 32 or some downstream devices 32, improving the flexibility of reset control, and enhancing the user experience.

[0050] In a specific embodiment of the present invention, the first controller is specifically used to convert the state flag of the downstream device to be reset individually in the virtual port netlist corresponding to the virtual port from a disabled state to an enabled state to reset the downstream device to be reset individually.

[0051] The virtual port netlist corresponding to the virtual port is pre-set, and the first controller converts the state flag bit of the downstream device to be reset individually in the virtual port netlist corresponding to the virtual port from the non-enabled state to the enabled state, thereby resetting the downstream device to be reset individually. For example, in a normal reset, all the characters in the virtual port netlist are set to 0. When a downstream device is to be reset individually, the character position of the downstream device corresponding to the virtual port is set to 1, so as to achieve the reset of a single downstream device or some downstream devices.

[0052] In a specific embodiment of the present invention, the first controller 14 is specifically configured to cache the interface correspondence list in a memory; when a reset signal is received, the downstream device 32 to be reset is determined according to the interface correspondence list cached in the memory.

[0053] The first controller 14 caches the interface correspondence list to the memory, and when receiving the reset signal, determines the downstream device 32 to be reset according to the interface correspondence list cached in the memory. By pre-caching the interface correspondence list to the memory, such as pre-caching the interface correspondence list to the random access memory (RAM), temporary retrieval of the interface correspondence list is avoided, and the advantages of the memory such as fast reading and writing speed and strong random access capability are fully utilized. In a specific embodiment of the present invention, the baseboard management controller 13 is also used to update the interface correspondence list when the switch 11 topology update is detected, and send the updated interface correspondence list to the first controller 14.

[0054] When the baseboard management controller 13 detects that the switch 11 topology is updated, it updates the interface correspondence list and sends the updated interface correspondence list to the first controller 14. By using the baseboard management controller 13 to timely update the interface correspondence list, the consistency of the interface correspondence list in the signal switching device 1 and the interface correspondence corresponding to the topology configuration request of the host side 2 switch 11 is ensured.

[0055] In a specific implementation of the present invention, the M processor 12 is specifically configured to receive a switch 11 topology configuration request forwarded by the switch 11 through a universal asynchronous receiver / transmitter path.

[0056] The M processor 12 receives the switch 11 topology configuration request forwarded by the switch 11 through the universal asynchronous receiver / transmitter path, making full use of the advantages of the asynchronous receiver / transmitter such as good flexibility, high compatibility, high reliability and low cost.

[0057] The M processor 12 can send the configured switch 11 topology to the baseboard management controller 13 through the network, so that only a network connection between the M processor 12 and the baseboard management controller 13 is required to send the switch 11 topology to the baseboard management controller 13, which has a simple structure and is easy to implement.

[0058] In a specific implementation of the present invention, the baseboard management controller 13 is specifically configured to send the interface correspondence list to the first controller 14 via the integrated circuit bus.

[0059] The baseboard management controller 13 sends the interface correspondence list to the first controller 14 via the integrated circuit bus, making full use of the advantages of the integrated circuit bus, such as good scalability, high transmission rate, and low power consumption.

[0060] See Figure 5, which is a block diagram of a computing extension link system in an embodiment of the present invention. Compute Express Link (CXL) is developed based on PCIe5.0, runs on the physical layer of the PCIe extension, has the same electrical characteristics as the PCIe extension, and is a new protocol optimized for cache and memory. A Compute Express Link device plugged into a PCIe expansion card slot can be used in the PCIe expansion mode, and will not communicate using the Compute Express Link protocol.

[0061] The computing expression link function requires the use of a flexible port, which can decide whether to use the peripheral component interconnection extension protocol or the computing expression link protocol according to the link layer negotiation. Therefore, if a computing expression link device that supports the peripheral component interconnection extension function is plugged into an ordinary server that does not support computing expression link, it will be negotiated to decide that only the peripheral component interconnection extension protocol can be used. CXL has three self-protocols: CXL.io, CXL.mem and CXL.cache. As shown in Figure 5, the computing expression link full interconnection switching unit is currently used to expand memory, the host side 2 central processor 21 supports computing expression link, and the device side uses a memory controller that supports computing expression link. The memory controller is connected to the computing expression link full interconnection switching unit through the computing expression link link upstream, and is connected to the fourth generation dynamic random access memory memory (Double Data Rate Fourth, DDR4) or the fifth generation dynamic random access memory memory (Double Data Rate Fifth, DDR5) memory device downstream. The reset signal connection of the upstream and downstream is also applicable to the above reset control process. By replacing the high-speed serial computer expansion bus connection between the switch 11 and the central processor 21 and between the switch 11 and the downstream device 32 with a computing expression link when the downstream device 32 is a memory device, fast and efficient resetting of the memory device is achieved, and the advantages of the computing expression link such as high bandwidth, low latency, good memory consistency, flexible topology structure and high scalability are fully utilized.

[0062] Corresponding to the above embodiment of the signal exchange device 1, the present invention further provides a reset control system. The reset control system described below and the signal exchange device 1 described above can be referred to each other.

[0063] The reset control system provided by the embodiment of the present invention may include the signal exchange device 1 as described above, and may also include: The host terminal 2 is used to send a switch 11 topology configuration request to the signal switching device 1; and send a reset signal to the signal switching device 1; The heterogeneous acceleration resource pool 3 is used to receive the reset signal sent by the first controller 14 through the third controller 31, and send the reset signal to the downstream device 32 to be reset, so as to reset the downstream device 32 to be reset.

[0064] It can be seen from the above technical solution that the switch topology configuration information is obtained from the network through the baseboard management controller, and the switch topology is parsed into a list of interface correspondences between the upstream central processor and the downstream device and passed to the first controller. The first controller controls the accurate reset of the upstream and downstream links of the switch, realizes the free configuration of the switch's external ports, gets rid of the limitations of fixed topology and fixed port attributes, realizes adaptive reset of downstream devices, improves system flexibility and reliability, and greatly simplifies the reset control process.

[0065] In a specific embodiment of the present invention, the host end 2 is specifically used to generate a reset signal using the uplink central processor 21 and send it to the second controller 22 through the second reset link; The signal exchange device 1 is specifically used to determine the downstream device 32 to be reset according to the interface correspondence list by using the first controller 14 when receiving the reset signal sent by the second controller 22 of the host end 2 through the first reset link.

[0066] In a specific embodiment of the present invention, the signal exchange device 1 is specifically used to send a reset signal to a third controller 31 in the heterogeneous acceleration resource pool 3 through a third reset link by using the first controller 14; The heterogeneous acceleration resource pool 3 is specifically used to send a reset signal to the downlink device 32 to be reset through the fourth reset link.

[0067] In a specific embodiment of the present invention, the signal exchange device 1 is also used to determine the downstream device 32 to be reset according to the interface correspondence list using the first controller 14 when receiving the reset signal; and send the reset signal to the downstream device 32 to be reset.

[0068] In a specific embodiment of the present invention, the signal exchange device 1 is specifically used to use the baseboard management controller 13 to parse the topology of the switch 11 to obtain the port netlist corresponding to each upstream port; each port netlist is determined as an interface correspondence list; wherein, in each port netlist, the flag bit corresponding to the downstream port on which the downstream device 32 is mounted is an enable flag bit, and the flag bit corresponding to the downstream port on which the downstream device 32 is not mounted is a disable flag bit.

[0069] In a specific embodiment of the present invention, the signal exchange device 1 is further used to use the first controller 14 to parse the received individual reset request to obtain the downstream device 32 to be reset individually; and reset the downstream device 32 to be reset individually through a preset virtual port.

[0070] In a specific embodiment of the present invention, the signal exchange device 1 is specifically used to convert the status flag bit of the downstream device 32 to be reset separately in the virtual port netlist corresponding to the virtual port from the disabled state to the enabled state, so as to reset the downstream device 32 to be reset separately.

[0071] In a specific embodiment of the present invention, the signal exchange device 1 is specifically used to cache the interface correspondence list to the memory using the first controller 14; when a reset signal is received, the downstream device 32 to be reset is determined according to the interface correspondence list cached in the memory.

[0072] In a specific embodiment of the present invention, the signal exchange device 1 is further configured to update the interface correspondence list when the baseboard management controller 13 detects that the switch 11 topology is updated, and send the updated interface correspondence list to the first controller 14 .

[0073] In a specific implementation of the present invention, the signal exchange device 1 is specifically configured to utilize the M processor 12 to receive the switch 11 topology configuration request forwarded by the switch 11 through the universal asynchronous receiver / transmitter path.

[0074] In a specific implementation of the present invention, the signal exchange device 1 is specifically configured to utilize the baseboard management controller 13 to send the interface correspondence list to the first controller 14 via the integrated circuit bus.

[0075] Corresponding to the above signal exchange device embodiment, the present invention further provides a reset control method. The reset control method described below and the signal exchange device described above can be referred to in correspondence with each other.

[0076] Referring to FIG. 6 , FIG. 6 is a flowchart of an implementation of a reset control method in an embodiment of the present invention. The method may include the following steps: S601: Receive a switch topology configuration request, and configure the switch topology according to the switch topology configuration request.

[0077] S602: Analyze the switch topology to obtain a list of interface correspondences between upstream central processors and downstream devices.

[0078] S603: When a reset signal is received, a downstream device to be reset is determined according to the interface correspondence list.

[0079] S604: Send a reset signal to the downstream device to be reset, so as to control the corresponding upstream port and downstream port in the switch to be connected to reset the downstream device to be reset.

[0080] It can be seen from the above technical solution that the switch topology configuration information is obtained from the network through the baseboard management controller, and the switch topology is parsed into a list of interface correspondences between the upstream central processor and the downstream device and passed to the first controller. The first controller controls the accurate reset of the upstream and downstream links of the switch, realizes the free configuration of the switch's external ports, gets rid of the limitations of fixed topology and fixed port attributes, realizes adaptive reset of downstream devices, improves system flexibility and reliability, and greatly simplifies the reset control process.

[0081] In a specific implementation of the present invention, step S603 may include the following steps: When a reset signal is received from the second controller on the host side via the first reset link, the downstream device to be reset is determined according to the interface correspondence list; wherein the reset signal is generated by the upstream central processor on the host side and sent to the second controller via the second reset link.

[0082] In a specific implementation of the present invention, sending a reset signal to a downstream device to be reset may include the following steps: The reset signal is sent to the third controller in the heterogeneous acceleration resource pool through the third reset link, so that the third controller sends the reset signal to the downstream device to be reset through the fourth reset link.

[0083] In a specific embodiment of the present invention, the method may further include the following steps: Step 1: When a reset signal is received, the downstream device to be reset is determined according to the interface correspondence list; Step 2: Send a reset signal to the downstream device to be reset.

[0084] In a specific implementation of the present invention, step S602 may include the following steps: Step 1: Analyze the switch topology to obtain the port netlists corresponding to each upstream port; wherein the flag bit corresponding to the downstream port with the downstream device mounted in each port netlist is the enable flag bit, and the flag bit corresponding to the downstream port without the downstream device mounted is the disable flag bit; Step 2: Determine each port netlist as an interface correspondence list.

[0085] In a specific embodiment of the present invention, the method may further include the following steps: Step 1: Parse the received individual reset request to obtain the downlink device to be individually reset; Step 2: Reset the downstream device to be reset individually through the preset virtual port.

[0086] In a specific implementation of the present invention, resetting the downstream device to be reset individually through a preset virtual port may include the following steps: The state flag bit of the downstream device to be reset individually in the virtual port netlist corresponding to the virtual port is converted from a non-enabled state to an enabled state, so as to reset the downstream device to be reset individually.

[0087] In a specific implementation of the present invention, step S603 may include the following steps: Cache the interface correspondence list to the memory; When a reset signal is received, the downstream device to be reset is determined according to the interface correspondence list cached in the memory.

[0088] In a specific embodiment of the present invention, the method may further include the following steps: When it is detected that the switch topology is updated, the interface correspondence list is updated, and the updated interface correspondence list is sent to the first controller.

[0089] In a specific implementation of the present invention, receiving a switch topology configuration request may include the following steps: The switch topology configuration request forwarded by the switch is received through the universal asynchronous receiver / transmitter path.

[0090] Corresponding to the above reset control method embodiment, the present invention further provides a reset control device. The reset control device described below and the reset control method described above can be referred to each other.

[0091] Referring to FIG. 7 , FIG. 7 is a structural block diagram of a reset control device according to an embodiment of the present invention. The device may include: The switch topology configuration module 71 is used to receive a switch topology configuration request and configure the switch topology according to the switch topology configuration request; A relationship list obtaining module 72 is used to parse the switch topology and obtain a list of interface correspondences between the upstream central processor and the downstream device; A to-be-reset device determination module 73, configured to determine a to-be-reset downlink device according to the interface correspondence list when a reset signal is received; The device resetting module 74 is used to send the reset signal to the downstream device to be reset, so as to control the corresponding upstream port and downstream port in the switch to be connected to reset the downstream device to be reset.

[0092] It can be seen from the above technical solution that the switch topology configuration information is obtained from the network through the baseboard management controller, and the switch topology is parsed into a list of interface correspondences between the upstream central processor and the downstream device and passed to the first controller. The first controller controls the accurate reset of the upstream and downstream links of the switch, realizes the free configuration of the switch's external ports, gets rid of the limitations of fixed topology and fixed port attributes, realizes adaptive reset of downstream devices, improves system flexibility and reliability, and greatly simplifies the reset control process.

[0093] In a specific embodiment of the present invention, the module 73 for determining the device to be reset is specifically a module for determining the downstream device to be reset according to the interface correspondence list when a reset signal is received from the second controller on the host side through the first reset link; wherein the reset signal is generated by the upstream central processor on the host side and sent to the second controller through the second reset link.

[0094] In a specific embodiment of the present invention, the device reset module 74 specifically sends a reset signal to a third controller in the heterogeneous acceleration resource pool through a third reset link, so that the third controller sends the reset signal to a module of the downstream device to be reset through a fourth reset link.

[0095] In a specific embodiment of the present invention, the device may further include: A module for determining a device to be reset, configured to determine a downstream device to be reset according to an interface correspondence list when receiving a reset signal; The de-reset signal sending module is used to send the de-reset signal to the downstream device to be de-reset.

[0096] In a specific implementation of the present invention, the relationship list obtaining module 72 includes: The port netlist acquisition submodule is used to parse the switch topology and obtain the port netlists corresponding to each upstream port; wherein the flag bit corresponding to the downstream port with the downstream device mounted in each port netlist is the enable flag bit, and the flag bit corresponding to the downstream port without the downstream device mounted is the disable flag bit; The relationship list determination submodule is used to determine each port netlist as an interface corresponding relationship list.

[0097] In a specific embodiment of the present invention, the device may further include: A module for obtaining a device to be individually reset, used for parsing a received individual reset request to obtain a downlink device to be individually reset; The individual reset module is used to reset the downstream device to be individually reset through a preset virtual port.

[0098] In a specific embodiment of the present invention, the individual reset module is specifically a module that converts the status flag of the downstream device to be individually reset in the virtual port netlist corresponding to the virtual port from a disabled state to an enabled state to reset the downstream device to be individually reset.

[0099] In a specific implementation of the present invention, the to-be-reset device determination module 73 includes: A list cache submodule, used for caching the interface correspondence list into a memory; The to-be-reset determination submodule is used to determine the downlink device to be reset according to the interface correspondence list cached in the memory when a reset signal is received.

[0100] In a specific embodiment of the present invention, the device may further include: The list updating module is used to update the interface correspondence list when a switch topology update is detected, and send the updated interface correspondence list to the first controller.

[0101] In a specific implementation of the present invention, the switch topology configuration module 71 is specifically a module for receiving a switch topology configuration request forwarded by a switch through a universal asynchronous receiver / transmitter path.

[0102] Corresponding to the above reset control method embodiment, the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the following steps can be implemented: Receive a switch topology configuration request, and configure the switch topology according to the switch topology configuration request; parse the switch topology to obtain a list of interface correspondences between the upstream central processor and the downstream devices; when a reset signal is received, determine the downstream device to be reset according to the interface correspondence list; send the reset signal to the downstream device to be reset, so as to control the corresponding upstream port and downstream port in the switch to be connected to reset the downstream device to be reset.

[0103] The computer-readable storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0104] For an introduction to the computer-readable storage medium provided by the present invention, please refer to the above method embodiment, and the present invention will not be elaborated here.

[0105] Corresponding to the above reset control method embodiment, the present invention further provides a computer program product, including a computer program, which implements the steps of the reset control method as described above when executed by a processor.

[0106] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the reset control system, method, computer-readable storage medium and computer program product disclosed in the embodiment, since they correspond to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.

[0107] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the technical solution and core ideas of the present invention. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present invention, the present invention can also be improved and modified, and these improvements and modifications also fall within the scope of protection of the present invention.

Claims

1. A signal exchange device, characterized in that: include: A switch, for connecting to an upstream central processor via an upstream port and connecting to a downstream device via a downstream port; receiving a switch topology configuration request, and forwarding the switch topology configuration request to the M processor; The M processor is used to configure the switch topology according to the switch topology configuration request, and send the configured switch topology to the baseboard management controller; The baseboard management controller is used to analyze the switch topology and obtain a list of interface correspondences between the upstream central processor and the downstream devices; Sending the interface correspondence list to the first controller; The first controller is used to determine the downstream device to be reset according to the interface correspondence list when receiving the reset signal; send the reset signal to the downstream device to be reset to control the corresponding upstream port and downstream port in the switch to be connected.

2. The signal exchange device according to claim 1, characterized in that: The first controller is specifically used to determine the downstream device to be reset according to the interface correspondence list when receiving a reset signal sent by the second controller on the host side through the first reset link; wherein the reset signal is generated by the upstream central processor on the host side and sent to the second controller through the second reset link.

3. The signal exchange device according to claim 2, characterized in that: The first controller is specifically configured to send the reset signal to a third controller in the heterogeneous acceleration resource pool through a third reset link, so that the third controller sends the reset signal to the downstream device to be reset through a fourth reset link.

4. The signal exchange device according to any one of claims 1 to 3, characterized in that: The first controller is further configured to, when receiving a de-reset signal, determine a downstream device to be de-reset according to the interface correspondence list; and send the de-reset signal to the downstream device to be de-reset.

5. The signal exchange device according to claim 1, characterized in that: The baseboard management controller is specifically used to parse the switch topology to obtain the port netlist corresponding to each upstream port; determine each port netlist as the interface correspondence list; wherein the flag bit corresponding to the downstream port on which the downstream device is mounted in each port netlist is an enable flag bit, and the flag bit corresponding to the downstream port on which the downstream device is not mounted is a disable flag bit.

6. The signal exchange device according to claim 1, characterized in that: The first controller is further configured to parse the received individual reset request to obtain a downstream device to be individually reset; and reset the downstream device to be individually reset through a preset virtual port.

7. The signal exchange device according to claim 6, characterized in that: The first controller is specifically configured to convert the state flag of the downstream device to be individually reset in the virtual port netlist corresponding to the virtual port from a disabled state to an enabled state, so as to reset the downstream device to be individually reset.

8. The signal exchange device according to claim 1, characterized in that: The first controller is specifically configured to cache the interface correspondence list in a memory; and when receiving the reset signal, determine the downlink device to be reset according to the interface correspondence list cached in the memory.

9. The signal exchange device according to claim 1, characterized in that: The baseboard management controller is further configured to update the interface correspondence list when detecting a switch topology update, and send the updated interface correspondence list to the first controller.

10. The signal exchange device according to claim 1, characterized in that: The M processor is specifically configured to receive the switch topology configuration request forwarded by the switch through a universal asynchronous receiver / transmitter path.

11. The signal exchange device according to claim 1, characterized in that: The baseboard management controller is specifically configured to send the interface correspondence list to the first controller via an integrated circuit bus.

12. A reset control system, characterized in that: The signal exchange device according to any one of claims 1 to 11 further comprises: The host side is used to send a switch topology configuration request to the signal switching device; send a reset signal to the signal switching device; The heterogeneous acceleration resource pool is used to receive the reset signal sent by the first controller through the third controller, and send the reset signal to the downstream device to be reset, so as to reset the downstream device to be reset.

13. A reset control method, characterized in that: include: receiving a switch topology configuration request, and configuring the switch topology according to the switch topology configuration request; Parsing the switch topology to obtain a list of interface correspondences between upstream central processors and downstream devices; When a reset signal is received, determining the downstream device to be reset according to the interface correspondence list; The reset signal is sent to the downstream device to be reset, so as to control the corresponding upstream port and downstream port in the switch to be connected to reset the downstream device to be reset.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the reset control method according to claim 13 are implemented.

15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the reset control method according to claim 13 are implemented.

Citation Information

Patent Citations

  • Method, system and equipment for allocating IPv6 (internet protocol version 6) prefixes

    CN101753633A

  • Data message sending method for Ethernet passive optical network

    CN104506436A

  • Switch chip resetting method, switch chip and PCIE switch

    CN105791171A

  • Equipment reset method and device, storage medium and electronic equipment

    CN117251039A

  • Interconnection device, high-performance exchange device and large-model all-in-one machine

    CN117978759A