Cross-board circuit control method, system and device, medium and control circuit
By adopting a cross-board circuit control method in a data center switch, receiving and sending control instructions, collecting real-time status information, and taking over control when the upper computer fails, the problem of low flexibility and stability of the data center switch circuit is solved, and a more flexible and stable system design is achieved.
Patent Information
- Application Number
- CN202510221784.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-26
- Publication Date
- 2025-06-27
AI Technical Summary
Data center switches face challenges in circuit expansion and stability, including excessive cross-board control signals, limited connector signal pins, design complexity and high energy consumption, and inter-module interdependence resulting in stability issues.
The cross-board circuit control method is adopted, by receiving control instructions from the upper computer and sending them to the corresponding unit, real-time status information of each unit within the system is collected, and the control function is taken over when the upper computer fails, and the units in the system are controlled in real time until the upper computer returns to normal.
It simplifies the information interaction method of cross-board circuits, unified control of the upper computer and the internal units of the system, improves the flexibility and stability of the system, and reduces the complexity and cost of the circuit design.
Smart Images

Figure CN120215308A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of circuit technology, and relates to a cross-board circuit control method, in particular to a cross-board circuit control method, system, device, medium, and control circuit. Background Art
[0002] Data center switches are the core components of modern data center networks, responsible for the switching and forwarding of data streams. As the scale of data centers continues to expand, the performance and stability of switches become particularly important. Data center switches usually consist of multiple modules, which provide data exchange and management services through efficient collaboration. However, with the increasing demand for data centers, some challenges are faced in terms of circuit expansion and stability. First, the complexity of the internal design of data centers increases, resulting in more cross-board control signals, while the signal pins of cross-board connectors are limited. Among them, it is necessary to balance the challenges brought by cost and design complexity. Traditional switches often adopt traditional methods in cross-board circuit design, increasing the number of connectors, resulting in complex circuit design, high cost, and high energy consumption. Second, the stability of switches is also an urgent problem to be solved. Due to the interdependence between modules, once a certain module has a problem, it may affect the operation of the entire system. Summary of the Invention
[0003] The purpose of this application is to provide a cross-board circuit control method, system, device, medium, and control circuit, which is used to solve the problem of low flexibility and stability of data center switch circuits in the prior art.
[0004] In the first aspect, this application provides a cross-board circuit control method, and the cross-board circuit control method includes: receiving a control instruction from a host computer and sending the control instruction to the corresponding unit; collecting real-time status information of each unit inside the system and sending it to the host computer, where the status information includes the operation information, location information, and / or alarm information of the unit; when the control instruction from the host computer cannot be received, controlling the unit according to the status information until the control instruction from the host computer is received.
[0005] In this application, as an exchange board between the host computer and each unit inside the system, it receives and forwards signals, takes over the control function of the host computer when the host computer fails, and performs real-time control on each unit inside the system until the host computer resumes normal operation and then stops. The cross-board circuit control method simplifies the information interaction method of the cross-board circuit, uniformly controls the host computer and the internal units of the system, provides flexibility for the system design, and can also improve the operation stability.
[0006] In one implementation of the first aspect, receiving a control instruction from a host computer and sending the control instruction to a corresponding unit includes: receiving the control instruction from the host computer and parsing it to obtain the corresponding unit of the control instruction; converting the control instruction from the host computer into a serial code stream to send to the corresponding unit.
[0007] In one implementation of the first aspect, collecting real-time status information of each unit inside the system includes: collecting the serial code streams fed back by each unit inside the system; performing modulation processing on the serial code streams to obtain waveform control signals; performing parsing processing according to the waveform control signals to obtain the status information corresponding to each unit.
[0008] In one implementation of the first aspect, performing modulation processing on the serial code streams to obtain waveform control signals includes: extracting the number of units and the number of status information of each frame of the serial code stream according to the serial code stream; performing pulse width modulation on the serial code stream according to the number of units and the number of status information to obtain the waveform control signals.
[0009] In one implementation of the first aspect, when the control instruction from the host computer cannot be received, controlling the unit according to the status information includes: when the control instruction from the host computer cannot be received, confirming that the host computer has a fault, and performing real-time control on each unit according to the status information.
[0010] In one implementation of the first aspect, the cross-board circuit control method further includes: controlling the operating states of each hot-pluggable unit and controlling the hot-plugging operations of each unit.
[0011] In a second aspect, the present application provides a cross-board circuit control system, which includes: a signal transceiver module for receiving a control instruction from a host computer and sending the control instruction to a corresponding unit; an information collection module for collecting real-time status information of each unit inside the system and sending it to the host computer, where the status information includes the operating information, location information, and / or alarm information of the unit; a substitution control module for controlling the unit according to the status information when the control instruction from the host computer cannot be received until the control instruction from the host computer is received.
[0012] In a third aspect, the present application provides a control circuit, which includes: a host computer for connecting to the logic control unit through a board-to-board connector to send a control instruction to the logic control unit and receive the status information fed back by the logic control unit; a logic control unit for executing the cross-board circuit control method as described in any one of the first aspect; and a functional module for connecting to the logic control unit through a board-to-board connector and performing signal interaction with the logic control unit.
[0013] In this application, the control circuit structure of the host computer, the logic control unit, and the functional module in a trinity simplifies the circuit design of the data center switch, reduces costs, and only requires a connector with a relatively low cost and fewer pins to meet the circuit requirements.
[0014] In a fourth aspect, this application provides an electronic device, which includes: a memory for storing a programmable logic program; a programmable logic device for loading the programmable logic program stored in the memory, so that the electronic device executes the cross-board circuit control method according to any one of the first aspects.
[0015] In a fifth aspect, this application provides a computer-readable storage medium, on which a programmable logic program is stored, and when the program is executed by a programmable logic device, it implements the cross-board circuit control method according to any one of the first aspects. Description of the Drawings
[0016] Figure 1 It shows a schematic diagram of an application scenario of the cross-board circuit control method described in this application.
[0017] Figure 2 It shows a schematic flowchart of the cross-board circuit control method described in an embodiment of this application.
[0018] Figure 3 It shows a schematic diagram of the serial code stream described in an embodiment of this application.
[0019] Figure 4 It shows a schematic flowchart of the cross-board circuit control method described in an embodiment of this application.
[0020] Figure 5 It shows a schematic diagram of pulse width modulation described in an embodiment of this application.
[0021] Figure 6 It shows a schematic structural diagram of the cross-board circuit control system described in an embodiment of this application.
[0022] Figure 7 It shows a schematic structural diagram of the control circuit described in an embodiment of this application.
[0023] Figure 8 It shows a schematic structural diagram of the electronic device described in an embodiment of this application.
[0024] Description of Reference Numerals
[0025] 1 Cross-board circuit control device
[0026] 11 Master control device
[0027] 12 Control board
[0028] 13 Fan module
[0029] 100 Cross-board circuit control system
[0030] 110 Signal transceiver module
[0031] 120 Information collection module
[0032] 130 Subrogation control module
[0033] 200 Control circuit
[0034] 210 Host computer
[0035] 220 Logic control unit
[0036] 230 Function module
[0037] 800 Electronic device
[0038] 810 Memory
[0039] 820 Programmable logic device
[0040] Steps S11 to S13
[0041] Steps S121 to S123 Detailed implementation manners
[0042] The following uses specific specific examples to illustrate the implementation manners of the present application. Those skilled in the art can easily understand other advantages and effects of the present application from the content disclosed in this specification. The present application can also be implemented or applied through other different specific implementation manners. Various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that, without conflict, the following embodiments and the features in the embodiments can be combined with each other.
[0043] It should be noted that in the embodiments of the present application, words such as "optionally" or "for example" represent examples, illustrations or explanations. Any embodiment or design solution described as "optionally" or "for example" in the present application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Exactly speaking, the use of words such as "optionally" or "for example" is intended to present relevant concepts in a specific manner.
[0044] In the embodiments of the present application, "at least one" means one or more, and "a plurality" means two or more. "And / or" describes the association relationship of associated objects and indicates that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone, where A and B may be singular or plural. The character " / " generally represents an "or" relationship between the associated objects before and after. "At least one (item)" or its similar expression refers to any combination of these items, including any combination of single item (s) or multiple items (s). For example, at least one (item) of a, b, or c may represent: a, b, c, a - b, a - c, b - c, or a - b - c, where a, b, and c may be single or multiple.
[0045] It should be noted that the diagrams provided in the following embodiments only illustrate the basic concept of the present application in a schematic manner. Therefore, only the components related to the present application are shown in the diagrams, rather than being drawn according to the number, shape, and size of the components in actual implementation. The type, quantity, and ratio of each component in actual implementation may be arbitrarily changed, and the component layout type may also be more complex.
[0046] Typical data center switches are usually constructed into a complete system by modules such as switching boards, control boards, fan boards, and power supply boards. This design greatly reduces costs on the one hand, and also reduces the complexity during future performance improvement and shortens the development cycle. Usually, some typical modules are made into common units for sharing to avoid duplicate development. However, in this typical structure, cross-board designs of control signals, data signals, and power signals are involved between different switching boards, control boards, and fan boards. With the improvement of switch performance, the control signals and data signals between boards increase significantly. If the traditional inter-board connector method continues to be used for connection, on the one hand, sufficient pins are required for future expansion, and at the same time, the limitations of board design layout and cost factors need to be considered. Especially between the control board and the fan board, whether using the multi-pin connector method, the cable plus connector method, or integrating the fan board into the control board, none of them can well cope with the challenges brought by the increased complexity of the switch. In addition, due to the separation of the fan board and the control board, software control is decoupled from hardware control to a certain extent. In the case of high-temperature alarms and system crashes, the software control unit cannot perform emergency processing in the first place, and the hardware control unit cannot autonomously obtain temperature and other status information in the first place, losing the ability to protect the system.
[0047] Figure 1 It shows a schematic diagram of an application scenario of the cross-board circuit control method described in the present application. The cross-board circuit control device 1 can be used to implement the cross-board circuit control method provided in the embodiments of the present application, but the application scenario of the cross-board circuit control method provided in the embodiments of the present application is not limited toFigure 1 The cross-board circuit control device 1 shown in the figure. As Figure 1 shown, the cross-board circuit control device 1 includes a master control device 11, a control board 12, and a fan module 13. The cross-board circuit control method provided by the embodiments of the present application can be applied to the control board 12. Specifically, the control board 12 is configured to: receive a control instruction from the master control device 11 and send the control instruction to the corresponding fan module 13; collect real-time status information of each fan module 13 inside the system and send it to the master control device 11, where the status information includes the operation information, position information, and / or alarm information of the fan module 13; when the control instruction from the master control device 11 cannot be received, control the fan module 13 according to the status information until the control instruction from the master control device 11 is received.
[0048] Among them, Figure 1 the control board 12 in can be a logic circuit control board or an integrated circuit board composed of multiple logic circuit control boards, and there is no specific limitation here. Although Figure 1 only one master control device 11, one control board 12, and one fan module 13 are shown in, it should be understood that Figure 1 the examples in are only for understanding the present solution, and the specific numbers of the control board 12 and the fan module 13 should be flexibly determined according to the actual situation.
[0049] In some other implementation manners, the cross-board circuit control device 1 may also not include the master control device 11, but only include a control board 12 with processing functions and a fan module 13. The cross-board circuit control method provided by the embodiments of the present application can be applied to the control board 12. The control board 12 with processing functions may include logic control units on various system control boards or switching boards, and there is no limitation here.
[0050] In the embodiments of the present application, the control board 12 serves as an exchange board between the master control device 11 and each fan module 13 in the system to receive and forward signals, takes over the control function of the master control device 11 when the master control device 11 fails, and performs real-time control on each fan module 13 in the system until the master control device 11 returns to normal and then stops. The cross-board circuit control method simplifies the information interaction mode of the cross-board circuit, uniformly controls the summary device 11 and the fan modules 13 inside the system, provides flexibility for the design of the system, and can also improve the operation stability.
[0051] Next, the technical solutions in the embodiments of the present application will be described in detail with reference to the accompanying drawings in the embodiments of the present application.
[0052] The following embodiments of the present application provide a cross-board circuit control method, and this method can be implemented, for example, by Figure 1 the control board 12 shown in the figure. Figure 2It is a schematic flowchart showing the cross-board circuit control method described in the embodiments of the present application. As Figure 2 shown, the cross-board circuit control method includes steps S11 to S13.
[0053] Step S11: Receive a control instruction from the host computer and send the control instruction to the corresponding unit.
[0054] Optionally, the host computer is a system software control unit, such as an MCU micro-control unit or a CPU, which is used to control the unit according to the real-time status information and / or temperature information of each unit inside the system collected.
[0055] Step S12: Collect the real-time status information of each unit inside the system and send it to the host computer. The status information includes the operation information, location information, and / or alarm information of the unit.
[0056] Optionally, the unit inside the system is a functional module that can be controlled using a pulse width modulation waveform, such as a fan module or a temperature sensor unit.
[0057] Step S13: When the control instruction from the host computer cannot be received, control the unit according to the status information until the control instruction from the host computer is received.
[0058] In some possible implementation manners, during actual operation, receive the control instruction from the host computer, parse the control instruction, and then convert the control instruction into a serial code stream and send it to the corresponding unit inside the system. For example, send the rotation speed control signal of any fan to the corresponding fan module. Collect the real-time status information of each unit inside the system and send it to the host computer. Among them, the status information includes the operation information, location information, and / or alarm information of the unit. Optionally, the status information of the unit includes information such as the rotation speed, rotation direction, start time, end time, location, and alarm of the fan module, which is used to characterize all the operation states of the fan module. When the control instruction from the host computer cannot be received, that is, when the host computer crashes or issues a high-temperature alarm, directly control the unit inside the system according to the status information and adjust the operation state of the fan module in real time. Stop the direct control until the control instruction from the host computer is received again, and then convert the control instruction into a serial code stream and send it to the unit that needs to be controlled.
[0059] In the embodiments of the present application, as an exchange board between the host computer and each unit in the system, it receives and forwards signals, takes over the control function of the host computer when the host computer fails, and performs real-time control on each unit in the system until the host computer resumes normal operation and then stops. The cross-board circuit control method simplifies the information interaction mode of the cross-board circuit, uniformly controls the host computer and the internal units of the system, provides flexibility for the system design, and can also improve the operation stability.
[0060] In an embodiment of the present application, receiving the control instruction of the host computer and sending the control instruction to the corresponding unit includes: receiving the control instruction of the host computer and parsing it to obtain the corresponding unit of the control instruction; converting the control instruction of the host computer into a serial code stream to send to the corresponding unit.
[0061] In some possible implementation manners, Figure 3 It shows a schematic diagram of the serial code stream described in the embodiments of the present application. As Figure 3 shown, each frame of the timed serial code stream is calculated according to the number of actually controlled units, the number of the controlled units and the number of status information, so as to determine the frame length of the serial code stream sent each time. After receiving the control instruction of the host computer, it is parsed to obtain the corresponding unit of the control instruction, the number of units, and the number of actually controlled units. Convert the control instruction of the host computer into a serial code stream. For any one fan module, the basic code stream information includes the position byte of the fan module, the color corresponding to the LED control, including red, green and blue, the pulse width modulation byte and the steering and speed byte, and the spare byte reserved for potential requirements. Each frame of the serial code stream sent covers the control status information of all fan modules, and the sending time of the frame length determines the accuracy of the status information or the pulse width modulation control.
[0062] Figure 4 It shows a schematic flow diagram of the cross-board circuit control method described in the embodiments of the present application. As Figure 4 shown, the step S12 includes steps S121 to S123.
[0063] Step S121, collect the serial code streams fed back by each unit inside the system.
[0064] Step S122, perform modulation processing on the serial code stream to obtain a waveform control signal.
[0065] Step S123, perform parsing processing according to the waveform control signal to obtain the status information corresponding to each unit.
[0066] In some possible implementation manners, there is a mapping relationship between the serial code stream and Pulse Width Modulation (PWM for short). For each frame of the serial code stream sent, a corresponding bit information is extracted from the PWM signal line of each fan module on the fan carrier board. For the status information with equal levels, each frame of the serial code stream can achieve corresponding control. For the PWM waveform control signal converted from the control instruction, continuous frames of the serial code stream need to be sent to form a complete PWM pulse width modulation waveform on the corresponding PWM pin, so as to control the rotation speed of the fan module. The distribution of each frame of the serial code stream on each fan module only occupies one bit width of the pulse width modulation signal, and the length of the bit width time determines the control accuracy and the sending rate of the code stream.
[0067] In an embodiment of the present application, modulating the serial code stream to obtain a waveform control signal includes: extracting the number of units and the number of status information of each frame of the serial code stream according to the serial code stream; performing pulse width modulation on the serial code stream according to the number of units and the number of status information to obtain the waveform control signal.
[0068] In some possible implementation manners, Figure 5 It is shown as a schematic diagram of the pulse width modulation described in the embodiment of the present application. As Figure 5 shown, the number of control units and the number of status information corresponding to each frame of the serial code stream are extracted according to the serial code stream. The discontinuous square serial code stream is pulse-width modulated into a continuous waveform control signal according to the number of units and the number of status information, and each frame of the waveform control signal can achieve corresponding control for each fan module.
[0069] In an embodiment of the present application, when the control instruction of the host computer cannot be received, controlling the unit according to the status information includes: when the control instruction of the host computer cannot be received, confirming that the host computer has a fault, and performing real-time control on each unit according to the status information.
[0070] In some possible implementations, since the fan carrier board where the fan module is located is decoupled from other components, in the case of a high temperature alarm or system downtime, the host computer cannot perform emergency processing in the first time, nor can it automatically obtain temperature information and other status information in the first time, and loses the protection of the system. At this time, if the control command or other interactive signal of the host computer cannot be received, it is confirmed that the host computer has a fault, and the real-time control is performed with the unit according to the collected status information of each unit in the system, and the system is temporarily protected according to the internally designed logic algorithm, and the control of the host computer is taken over. Specifically, on the one hand, the status information of each fan module collected by the fan carrier board is received for analysis and processing, and on the other hand, the serial code stream for controlling the fan module is sent to the fan carrier board, and then the fan carrier board is adapted to the corresponding fan module to achieve real-time control. Once the host computer is reactivated and receives the control command of the host computer, the control right is automatically returned to the host computer.
[0071] In one embodiment of the present application, the cross-board circuit control method further includes: controlling the operating state of each hot-swap unit, and controlling the hot-swap operation of each of the units.
[0072] In some possible implementations, the cross-board circuit control method includes receiving control instructions from a host computer and sending the control instructions to a corresponding unit; collecting real-time status information of each unit within the system and sending it to the host computer, the status information including the unit's operating information, location information and / or alarm information; when the control instructions of the host computer cannot be received, controlling the unit according to the status information until the control instructions of the host computer are received. The cross-board circuit control method also includes: controlling the hot-swap operation of each fan module on the fan carrier board, and managing the status of the hot-swap unit. Among them, the hot-swap unit refers to a technology or device that can safely insert or unplug a hardware unit without turning off the system power or restarting the device.
[0073] Figure 6 The structure diagram of the cross-board circuit control system described in the embodiment of the present application is shown as follows: Figure 6 As shown, the cross-board circuit control system 100 includes a signal transceiver module 110 , an information collection module 120 and a substitution control module 130 .
[0074] The signal transceiver module 110 is used to receive control instructions from a host computer and send the control instructions to a corresponding unit.
[0075] The information collection module 120 is used to collect real-time status information of each unit in the system and send it to the host computer. The status information includes operation information, location information and / or alarm information of the unit.
[0076] The subrogation control module 130 is configured to control the unit according to the status information until a control instruction from the host computer is received when the control instruction from the host computer cannot be received.
[0077] In some possible implementation manners, the cross-board circuit control system 100 includes a plurality of pins for implementing different functions. According to the functions, the cross-board circuit control system 100 is divided into a signal transceiver module 110, an information collection module 120, and a subrogation control module 130. During actual operation, the signal transceiver module 110 is configured to receive a control instruction from a host computer, parse the control instruction, and then convert the control instruction into a serial code stream and send it to the corresponding unit in the system. For example, a rotation speed control signal of any fan is sent to the corresponding fan module. The information collection module 120 is configured to collect real-time status information of each unit inside the system and send it to the host computer, where the status information includes the operation information, location information, and / or alarm information of the unit. Optionally, the status information of the unit includes information such as the rotation speed, rotation direction, start time, end time, location, and alarm of the fan module, which is used to characterize all operation states of the fan module. The subrogation control module 130 is configured to directly control the unit in the system according to the status information when the control instruction from the host computer cannot be received, that is, when the host computer crashes or a high-temperature alarm occurs, and adjust the operation state of the fan module in real time. The direct control is aborted until a control instruction from the host computer is received again, and then the control instruction is sent to the unit to be controlled in the form of a serial code stream.
[0078] In the embodiment of the present application, the signal transceiver module 110 and the information collection module 120 of the cross-board circuit control system 100 are used as an exchange board between the host computer and each unit in the system to receive and forward signals. The subrogation control module 130 is configured to take over the control function of the host computer when the host computer fails, and perform real-time control on each unit in the system until the host computer returns to normal. The cross-board circuit control system 100 simplifies the information interaction mode of the cross-board circuit, unifies the control of the host computer and the internal units of the system, provides flexibility for the design of the system, and can also improve the operation stability.
[0079] Figure 7 Shown is a schematic structural diagram of the control circuit described in the embodiment of the present application, as Figure 7 shown, the control circuit 200 includes a host computer 210, a logic control unit 220, and a function module 230.
[0080] The host computer 210 is configured to be connected to the logic control unit 220 by using an inter-board connector, so as to send a control instruction to the logic control unit 220 and receive status information fed back by the logic control unit 220.
[0081] The logic control unit 220 is configured to execute the cross-board circuit control method described in any embodiment of the present application.
[0082] The functional module 230 is configured to be connected to the logic control unit 220 by using an inter-board connector and perform signal interaction with the logic control unit 220.
[0083] In some possible implementation manners, the host computer 210 is a micro control unit (MCU) or a central processing unit (CPU). The logic control unit 220 is a logic control unit on a BB, SW, CPLD, or FPGA system control board or a switching board, and is configured to send upper-layer control information to each lower-layer unit through a serial code stream, and simultaneously backhaul, collect, and report the status information of each unit. The functional module 230 is a system fan module.
[0084] In some other possible implementation manners, the control circuit 200 further includes various temperature sensors and power modules inside the system, such as ENV (Environment Variables), PSU (Power Supply Unit), VR (Voltage Regulator), and ASIC (Application-Specific Integrated Circuit). A unit that provides a power hot-swap function for the functional module 230. A B2B board connector used to introduce a cable in a cross-version design, which together with the logic control unit 220 forms a signal interaction link for control signals and status information. An SIPO (Serial In Parallel Out) or PISO (Parallel In Serial Out) serial-parallel converter used to collect status information in the functional module 230 and transmit the serial code stream control instruction from the logic control circuit 220 to the functional module 230. Specifically, each functional module 230 is connected to a corresponding serial-parallel converter SIPO or PISO, each of the serial-parallel converters is connected to the B2B board connector, and each functional module 230 and the connected serial-parallel converter SIPO or PISO, as well as the B2B board connector, form a fan carrier board, which is connected to the B2B board connector of the logic control unit 220 as a whole. The logic control unit 220 is used to collect the real-time status information of each unit inside the system and send it to the host computer 210. The status information includes the operation information, location information, and / or alarm information of the unit. The host computer 210 is used to adjust the operation of the functional module 230 in real time according to the collected temperature information, status information, and related algorithms, generate a control instruction, and send it to the logic control unit 220. The logic control unit 220 receives the control instruction from the host computer 210 and converts it into a serial code stream to send the serial code stream control instruction to the corresponding functional module 230. In the case of a high-temperature alarm or downtime of the host computer 210, when the control instruction from the host computer 210 cannot be received, the functional module 230 is controlled according to the status information. On the one hand, it receives and analyzes the status information of each functional module 230 collected by the fan carrier board, and on the other hand, it sends the serial code stream for controlling the functional module 230 to the fan carrier board, and then the fan carrier board adapts it to the corresponding functional module 230 to achieve real-time control. It will release the control right until the control instruction from the host computer 210 is received, and hand over the control circuit 200 to the host computer 210 for control again.
[0085] In the embodiments of the present application, the design method of combining a serial code stream with a serial-to-parallel converter simplifies the structure of the control circuit 200, reduces the production cost, and can be flexibly extended to more functional modules 230. In addition, the host computer 210 and the functional module 230 are uniformly controlled, and the control authority can be taken over in time when the system crashes or a high-temperature alarm occurs to protect the circuit, and the control right can be released in time after the system returns to normal. This design also provides greater flexibility and reliability for the control circuit.
[0086] In several embodiments provided in the present application, it should be understood that the disclosed system, device or method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of modules / units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple modules or units can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection can be through some interfaces, and the indirect coupling or communication connection of devices or modules or units can be in electrical, mechanical or other forms.
[0087] The modules / units described as separate components may or may not be physically separated, and the components displayed as modules / units may or may not be physical modules, that is, they can be located in one place or distributed to multiple network units. Some or all of the modules / units can be selected according to actual needs to achieve the purpose of the embodiments of the present application. For example, in each embodiment of the present application, the functional modules / units can be integrated in a processing module, or each module / unit can exist physically alone, or two or more modules / units can be integrated in one module / unit.
[0088] Those of ordinary skill in the art should also further realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
[0089] The embodiments of the present application also provide an electronic device. Figure 8 The structural schematic diagram of the electronic device 800 described in the embodiments of the present application is shown. As Figure 8 shown, in this embodiment, the electronic device 800 includes a memory 810 and a programmable logic device 820.
[0090] The memory 810 is used to store a programmable logic program. The programmable logic device 820 is used to load the programmable logic program stored in the memory 810, so that the electronic device 800 executes the cross-board circuit control method as described in any embodiment of the present application.
[0091] An embodiment of the present application also provides a computer-readable storage medium, on which a programmable logic program is stored. When the program is executed by a programmable logic device, it implements the cross-board circuit control method as described in any embodiment of the present application.
[0092] The terms "component", "module", "system", etc. used in this specification are used to represent computer-related entities, hardware, firmware, combinations of hardware and software, software, or software in execution. For example, a component can be, but is not limited to, a process running on a processor, a processor, an object, an executable file, an execution thread, a program, and / or a computer. By way of illustration, an application running on a computing device and the computing device can both be components. One or more components can reside in a process and / or an execution thread, and the components can be located on one computer and / or distributed between two or more computers. In addition, these components can be executed from various computer-readable media on which various data structures are stored. The components can communicate, for example, through local and / or remote processes according to signals having one or more data packets (for example, data from two components interacting with another component between a local system, a distributed system, and / or a network, such as data interacting with other systems through signals on the Internet).
[0093] The descriptions of the processes or structures corresponding to the above-mentioned various drawings have their own emphases. For parts not detailed in a certain process or structure, reference can be made to the relevant descriptions of other processes or structures.
[0094] The above embodiments are only illustrative of the principles and effects of the present application, and are not used to limit the present application. Any person familiar with this technology can modify or change the above embodiments without departing from the spirit and scope of the present application. Therefore, all equivalent modifications or changes completed by those with ordinary knowledge in the technical field without departing from the spirit and technical ideas disclosed by the present application should still be covered by the claims of the present application.
Claims
1. A cross-board circuit control method, characterized in that: include: Receive control instructions from the host computer and send the control instructions to the corresponding unit; Collecting real-time status information of each unit in the system and sending it to the host computer, the status information includes the unit's operation information, location information and / or alarm information; When the control instruction of the host computer cannot be received, the unit is controlled according to the state information until the control instruction of the host computer is received.
2. The cross-board circuit control method according to claim 1, characterized in that: Receiving a control instruction from a host computer and sending the control instruction to a corresponding unit includes: Receive and analyze the control instruction of the host computer to obtain the corresponding unit of the control instruction; The control instructions of the host computer are converted into a serial code stream to be sent to the corresponding unit.
3. The cross-board circuit control method according to claim 1, characterized in that: Collect the real-time status information of each unit in the system, including: Collect the serial code streams fed back by each unit within the system; Modulating the serial code stream to obtain a waveform control signal; The waveform control signal is analyzed and processed to obtain status information corresponding to each of the units.
4. The cross-board circuit control method according to claim 3, characterized in that: Modulating the serial code stream to obtain a waveform control signal includes: Extracting the number of units and the number of status information of each frame of the serial code stream according to the serial code stream; The serial code stream is pulse-width modulated according to the number of units and the number of status information to obtain the waveform control signal.
5. The cross-board circuit control method according to claim 1, characterized in that: When the control instruction of the host computer cannot be received, controlling the unit according to the status information includes: When the control command of the host computer cannot be received, it is confirmed that the host computer fails, and each of the units is controlled in real time according to the status information.
6. The cross-board circuit control method according to claim 1, characterized in that: Also includes: Control the operating state of each hot-swap unit and control the hot-swap operation of each of the units.
7. A cross-board circuit control system, characterized in that: include: A signal transceiver module, used to receive control instructions from a host computer and send the control instructions to a corresponding unit; An information collection module is used to collect real-time status information of each unit in the system and send it to the host computer, wherein the status information includes operation information, location information and / or alarm information of the unit; The substitution control module is used to control the unit according to the state information when the control instruction of the host computer cannot be received until the control instruction of the host computer is received.
8. A control circuit, characterized in that: include: A host computer, used to connect to the logic control unit by using an inter-board connector, so as to send control instructions to the logic control unit and receive status information fed back by the logic control unit; A logic control unit, configured to execute the cross-board circuit control method according to any one of claims 1 to 6; as well as The functional module is used to connect to the logic control unit by using an inter-board connector and to perform signal interaction with the logic control unit.
9. An electronic device, characterized in that: The electronic device comprises: A memory for storing a programmable logic program; A programmable logic device, wherein the programmable logic device is used to load the programmable logic program stored in the memory so that the electronic device executes the cross-board circuit control method as described in any one of claims 1 to 6.
10. A computer-readable storage medium having a programmable logic program stored thereon, characterized in that: When the program is executed by a programmable logic device, the cross-board circuit control method described in any one of claims 1 to 6 is implemented.