CN116701270A - Communication circuit, server, method, device, and storage medium - Google Patents

Communication circuit, server, method, device, and storage medium Download PDF

Info

Publication number
CN116701270A
CN116701270A CN202310692313.7A CN202310692313A CN116701270A CN 116701270 A CN116701270 A CN 116701270A CN 202310692313 A CN202310692313 A CN 202310692313A CN 116701270 A CN116701270 A CN 116701270A
Authority
CN
China
Prior art keywords
interface
front window
rear window
window interface
baseboard management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310692313.7A
Other languages
Chinese (zh)
Inventor
杜聪聪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202310692313.7A priority Critical patent/CN116701270A/en
Publication of CN116701270A publication Critical patent/CN116701270A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2215Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test error correction or detection circuits
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation
    • H04L43/045Processing captured monitoring data, e.g. for logfile generation for graphical visualisation of monitoring data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Quality & Reliability (AREA)
  • Small-Scale Networks (AREA)

Abstract

The application discloses a communication circuit, a server, a method, equipment and a storage medium, wherein the server comprises a front window and a rear window; the circuit includes a baseboard management controller, a switcher, and a switching controller. The switcher is used for connecting the baseboard management controller, connecting the front window interface in the case that the front window comprises the front window interface, and connecting the rear window interface in the case that the rear window comprises the rear window interface; the switching controller is used for detecting whether the front window comprises a front window interface and detecting whether the rear window comprises a rear window interface, and the control switcher is communicated with the substrate management controller and the detected interface under the condition that only the front window interface or the rear window interface is detected, and is communicated with the substrate management controller and one of the interfaces under the condition that the front window interface and the rear window interface are detected at the same time. MAC address resource consumption can be reduced.

Description

Communication circuit, server, method, device, and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a communication circuit, a server, a method, a device, and a storage medium.
Background
In the present internet age, servers are the most important infrastructure for various internet vendors. Different services are deployed on the server, so that the use requirements of different Internet groups can be met.
The server will typically have two different network channels. One of the network channels is an internet data channel which is used for connecting to the internet to finish the functions of data communication, storage and the like; the other network channel is a management network data channel, and is used for management control of a server by a server manager.
At present, the ports in the management network data channel occupy excessive MAC address resources, and need improvement.
Disclosure of Invention
In view of the above, the present application provides a communication circuit of a server, a communication method of a server, an electronic device, and a computer readable storage medium, which can reduce occupation of MAC address resources.
The application provides a communication circuit of a server, wherein the server comprises a front window and a rear window; the circuit comprises:
a baseboard management controller;
a switch for connecting the baseboard management controller, and connecting the front window interface if the front window includes a front window interface, and connecting the rear window interface if the rear window includes a rear window interface;
and the switching controller is used for detecting whether the front window comprises the front window interface and detecting whether the rear window comprises the rear window interface, and controlling the switcher to be communicated with the baseboard management controller and the detected interface under the condition that only the front window interface or the rear window interface is detected, and controlling the switcher to be communicated with the baseboard management controller and one of the interfaces under the condition that the front window interface and the rear window interface are detected at the same time.
In some embodiments, the communication circuit further comprises a trigger coupled to the switching controller;
the switching controller is further configured to:
and under the condition that the front window interface and the rear window interface are detected at the same time and the switcher is controlled to be communicated with the baseboard management controller and one of the interfaces, if a switching signal sent by the trigger is received, the switcher is controlled to execute switching operation so as to switch the interface communicated with the baseboard management controller.
In some embodiments, the trigger includes a trigger switch, the trigger switch being located outside of the housing of the server, the trigger being configured to send the switching signal to the switching controller when the trigger switch is in a first switch state, and the trigger being configured to send a signal other than the switching signal to the switching controller when the trigger switch is in a second switch state.
In some embodiments, the switching controller includes a first detection end and a second detection end, where the first detection end is configured to connect to the front window interface if the front window includes the front window interface, and where the rear window includes the rear window interface if the rear window interface, the second detection end is configured to connect to the rear window interface;
the switching controller determines whether the front window includes the front window interface and the rear window includes the rear window interface by detecting whether the first detection end and the second detection end are connected with the interfaces.
In some embodiments, the first detection terminal and the second detection terminal have a first voltage signal in case of connection to an interface, and the first detection terminal and the second detection terminal have a second voltage signal in case of no connection to an interface, and the switching controller detects whether the first detection terminal and the second detection terminal are connected to an interface by detecting the voltage signals of the first detection terminal and the second detection terminal.
In some embodiments, when the switch controller outputs a first control signal to the switch, the switch controls the baseboard management controller to communicate with the rear window interface;
when the switching controller outputs a second control signal to the switcher, the switcher controls the baseboard management controller to be communicated with the front window interface.
In another aspect, the present application also provides a server, including:
a front window;
a rear window;
a communication circuit as described above.
The application also provides a communication method of the server, wherein the server comprises a front window and a rear window; the method comprises the following steps:
detecting whether the front window comprises a front window interface and detecting whether the rear window comprises a rear window interface;
and when the front window interface and the rear window interface are detected at the same time, the switcher is controlled to be communicated with the baseboard management controller and one of the interfaces.
In some embodiments, the method is applied to a handover controller, the handover controller including a first detection end and a second detection end, the first detection end being configured to connect the front window interface if the front window includes the front window interface, and the second detection end being configured to connect the rear window interface if the rear window includes the rear window interface;
the detecting whether the front window includes a front window interface and the detecting whether the rear window includes a rear window interface includes:
detecting whether the first detection end and the second detection end are connected with an interface or not;
and under the condition that the first detection end is detected to be connected with an interface, determining that the front window comprises the front window interface, and under the condition that the second detection end is detected to be connected with the interface, determining that the rear window comprises the rear window interface.
In some embodiments, the first and second detection terminals have a first voltage signal when connected to an interface and a second voltage signal when not connected to an interface;
the detecting whether the first detecting end and the second detecting end are connected with an interface or not comprises:
and for any one of the first detection end and the second detection end, determining that the detection end is connected with an interface when the detection end is detected to have the first voltage signal, and determining that the detection end is not connected with the interface when the detection end is detected to have the second voltage signal.
In some embodiments, the method further comprises:
and under the condition that the front window interface and the rear window interface are detected at the same time and the switcher is controlled to be communicated with the baseboard management controller and one of the interfaces, if a switching signal sent by a trigger is received, the switcher is controlled to execute switching operation so as to switch the interfaces communicated with the baseboard management controller.
In a further aspect the application provides an electronic device comprising a processor and a memory for storing a computer program which, when executed by the processor, implements a method as described above.
In a further aspect the application provides a computer readable storage medium for storing a computer program which, when executed by a processor, implements a method as described above.
In some embodiments of the present application, a switching controller and a switcher are introduced in a communication circuit. The switching controller is used for detecting whether the front window comprises a front window interface and whether the rear window comprises a rear window interface, and controlling the switcher to communicate the substrate management controller with one of the interfaces according to a detection result. As such, the front window interface and the back window interface may be connected to the same port of the baseboard management controller through a switch. The switching controller can enable the baseboard management controller to be communicated with the front window interface or the rear window interface by controlling the switching controller. Namely, under the condition that the server comprises the front window interface and the rear window interface at the same time, only one MAC address resource of the baseboard management controller is occupied, so that the occupation of the MAC address resource of the baseboard management controller can be reduced.
Drawings
The features and advantages of the present application will be more clearly understood by reference to the accompanying drawings, which are illustrative and should not be construed as limiting the application in any way, in which:
FIG. 1 illustrates a partial schematic diagram of a server in some techniques;
FIG. 2 shows a schematic partial structure of a server in other technologies;
FIG. 3 shows a schematic partial structure of a server in other technologies;
FIG. 4 shows a block diagram of a communication circuit provided by one embodiment of the application;
FIG. 5 shows a block circuit diagram of a communication circuit provided by another embodiment of the present application;
FIG. 6 shows a block circuit diagram of a communication circuit provided by another embodiment of the present application;
FIG. 7 shows a block circuit diagram of a communication circuit provided by another embodiment of the present application;
FIG. 8 shows a block diagram of a server provided by an embodiment of the application;
FIG. 9 is a flow chart of a communication method according to an embodiment of the present application;
fig. 10 shows a schematic diagram of an electronic device according to an embodiment of the application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the present application will be clearly and completely described below with reference to the accompanying drawings in the present application, and it is apparent that the described embodiments are some embodiments of the present application, not all embodiments of the present application. Based on the implementation methods of the present application, all other implementation methods that a server manager in the field can obtain without making creative efforts are within the scope of the protection of the present application.
Fig. 1 is a schematic diagram of a portion of a server 100 in some technologies. In fig. 1, a server 100 includes a main board 11, a rear window 12, and a front window 13. Wherein the rear window 12 may also be referred to as a rear panel of the server 100, and the front window 13 may also be referred to as a front panel of the server 100. The rear window 12 and the front window 13 may serve as at least part of the housing of the server 101. The main board 11 is disposed in the housing. The rear window 12 may include a first network interface 121 and the front window 13 may include a second connector 131 and a second network interface 132 connected with the second connector 131. The main board 11 may include, but is not limited to, a baseboard management controller 111, a first network conversion chip 112, a second network conversion chip 113, and a first connector 114. Wherein:
the baseboard management controller 111 may also be referred to as BMC (Baseboard Management Controller) for implementing management functions of the server 100. For example, the BMC may monitor the chip operating temperature in the server 100 and control the fan in the server 100 to rotate to cool the chip if the chip operating temperature exceeds a temperature threshold.
The baseboard management controller 111 may also include a management interface presented to a server manager. The baseboard management controller 111 can output the monitored operation data of the server 100 to a management interface for display, so that a server manager can check the operation condition of the server 100. Meanwhile, the server manager may issue a management instruction for the server 100 to the baseboard management controller 111 through the management interface, so that the baseboard management controller 111 performs control matching with the management instruction on the server 100 based on the received management instruction. For example, the baseboard management controller 111 may display the monitored chip operating temperature through a management interface for a server manager to view. For another example, the server manager may issue a power-down instruction to the server 100 through the management interface, so that the baseboard management controller 111 performs a power-down operation on the server 100 when receiving the power-down instruction.
The first network conversion chip 112 and the second network conversion chip 113 may convert the RGMII signal into the MDI signal. Where the RGMII signal may refer to a signal transmitted over a gigabit media independent interface (Reduced Gigabit Media Independent Interface, RGMII), and the MDI signal refers to a signal transmitted over a media dependent interface (Medium Dependent Interface, MDI). In particular, the first network conversion chip 112 and the second network conversion chip 113 may include PHY chips,
the first connector 114 and the second connector 131 may include MDI connectors. MDI connectors are used to transmit MDI signals. The first network interface 121 and the second network interface 132 may include RJ45 ports for connecting to other network devices outside of the server 100.
Specifically, in fig. 1, the baseboard management controller 111 may include a first port 1111 and a second port 1112. The first port 1111 and the second port 1112 may be RGMII interfaces, and each port binds one MAC address respectively. The first port 1111 may be connected to the first network conversion chip 112. The first network conversion chip 112 is connected to the first network interface 121. In this way, the baseboard management controller 111 may be connected to the first network interface 121 on the rear window 12 through the first port 1111 and the first network conversion chip 112, and the first network conversion chip 112 converts the RGMII signal received from the first port 1111 into the MDI signal and outputs the converted MDI signal through the first network interface 121. Similarly, the second port 1112 may be connected to the second network conversion chip 113. The second network conversion chip 113 is connected to the second network interface 132 through the first connector 114 and the second connector 131. In this way, the baseboard management controller 111 is connected to the second network interface 132 on the front window 33 through the second port 1112, the second network conversion chip 113, the first connector 114, and the second connector 131, and the second network conversion chip 113 converts the RGMII signal received from the second port 1112 into an MDI signal and outputs the converted MDI signal through the second network interface 132.
The first port 1111, the first network conversion chip 112, and the first network interface 121 may form a first network channel; the second port 1112, the second network conversion chip 113, the first connector 114, the second connector 131, and the second network interface 132 may form a second network channel. The baseboard management controller 111 may perform data interaction with external devices through the first network channel or the second network channel. For example, the first network interface 121 may be connected to a display device that is used to present a baseboard management controller 111 management interface. The baseboard management controller 111 may transmit the monitored data to the display device through the first network channel to display the monitored data through the management interface, or the display device may transmit a control instruction issued by the user based on the management interface to the baseboard management controller 111 through the first network channel, so that the baseboard management controller 111 controls the server 100 based on the control instruction.
In the first network channel and the second network channel, a server manager can select a network channel to be used according to actual needs. For example, when the server manager needs to use the first network channel, other network devices may be connected to the server 100 through the first network interface 121.
In the server 100 shown in fig. 1, the baseboard management controller 111 needs to provide two ports, and each port needs one MAC address resource. Because the MAC address resources of the baseboard management controller 111 are limited, this circuit connection method occupies more MAC address resources and needs improvement.
Please refer to fig. 2 and 3. Fig. 2 is a schematic diagram of a portion of a server 200 according to another embodiment of the present application. Fig. 3 is a schematic diagram of a portion of a server 300 according to another embodiment of the present application.
Fig. 2 is substantially similar to fig. 1, with the main differences: in the server 200, the back window 22 includes a first network interface 221, and the front window does not include a network interface. The main board 21 includes a conversion card 213, a first resistor R1, and a second resistor R2. The second network switch chip 2131 and the first connector 2141 are integrated within the switch card 213. The baseboard management controller 211 includes a port 2111. The port 2111 is connected to the first network conversion chip 212 through a first resistor R1. The port 2111, the first resistor R1, the first network conversion chip 212, and the first network interface 221 form a network channel.
The server 300 in fig. 3 and the server 200 in fig. 2 comprise the same motherboard 21. The main difference between the server 300 and the server 200 is that in the server 300, the front window 33 includes the second connector 331 and the second network interface 332, and the rear window does not include a network interface. Port 2111 is connected to switch card 213 through a second resistor R2. The port 2111, the second resistor R2, the switch card 213, the second connector 331, and the second network interface 332 form a network channel.
As can be seen from fig. 2 and 3, the main board 21 is adapted to a server 200 where only the back window 22 includes a network interface or a server 300 where only the front window 33 includes a network interface. When the motherboard 21 needs to adapt to the server 200 with the rear window 22 including the network interface, the first resistor R1 is installed (i.e. the first resistor R1 is connected with the port 2111 and the first network conversion chip 212 through the wiring of the circuit board), so that the baseboard management controller 211 can send and receive messages through the first network interface 221; when the motherboard 21 needs to adapt to the server 300 with the front window 33 including the network interface, the second resistor R2 is installed (i.e. the second resistor R2 is connected to the port 2111 and the switch card 213 through the circuit board wiring), so that the baseboard management controller 211 can send and receive messages through the second network interface 332.
In the servers of fig. 2 and 3, although the MAC address occupation of the baseboard management controller 211 is reduced, correspondingly, the network interfaces cannot be set in the front window and the rear window of the server at the same time, and the scope of selecting the network interfaces by the user is reduced. Meanwhile, since the motherboard 21 is adapted to two different types of servers at the same time, different PCBA (Printed Circuit Board Assembly) numbers need to be maintained for the motherboard 21 for the different types of servers to distinguish the resistors that need to be on-demand. For example, for the server in fig. 2, a first PCBA number needs to be maintained for the motherboard 21 to represent that the first resistor R1 is to be on-board; for the server in fig. 3, a second PCBA number needs to be maintained for the motherboard 21 to represent the second resistor R2 being on-die, which presents a production maintenance challenge.
In view of this, the present application provides a communication circuit of a server, which can simultaneously set a network interface on a front window and a rear window of the server, reduce the occupation of MAC address resources of a baseboard management controller, and reduce the difficulty of production maintenance. Referring to fig. 4, a block diagram of a communication circuit 400 according to an embodiment of the present application is provided. The communication circuit 400 is applicable to a server. The server comprises a main board 41, a rear window 42 and a front window 43. Rear window 42 may include rear window interface 421 and front window 43 may include front window interface 431. The back window interface 421 and the front window interface 431 are network interfaces.
The communication circuit 400 may be disposed on the motherboard 41 and includes a baseboard management controller 411, a switch 413, and a switch controller 412. The switch 413 is configured to connect the baseboard management controller 411, and to connect the front window interface 431 in case the front window 43 includes the front window interface 431, and to connect the rear window interface 421 in case the rear window 42 includes the rear window interface 421. Specifically, in the embodiment shown in fig. 4, since the back window 42 includes the back window interface 421 and the front window 43 includes the front window interface 431, the switch 413 connects the baseboard management controller 411, the back window interface 421 and the front window interface 431 at the same time. The switch 413 may communicate the baseboard management controller 411 to one of the interfaces.
The switching controller 412 is configured to detect whether the front window 43 includes the front window interface 431 and detect whether the rear window 42 includes the rear window interface 421, and in the case where only the front window interface 431 or the rear window interface 421 is detected, control the switch 413 to communicate the substrate management controller 411 with the detected interface, and in the case where the front window interface 431 and the rear window interface 421 are detected at the same time, control the switch 413 to communicate the substrate management controller 411 with one of the interfaces. Specifically, when the switching controller 412 outputs the first control signal to the switch 413, the switch 413 controls the baseboard management controller 411 to communicate with the back window 421; when the switching controller 412 outputs the second control signal to the switch 413, the switch 413 controls the baseboard management controller 411 and the front window interface 431 to communicate. For example, the first control signal may be a high level and the second control signal may be a low level.
In some embodiments, for the case where the back window 42 includes the back window interface 421 and the front window 43 includes the front window interface 431, default interfaces and interface switching conditions may be preset in the control code of the switching controller 412. The default interface refers to an interface that is in default communication with the baseboard management controller 411. The interface switching condition may refer to a condition that an interface communicating with the baseboard management controller 411 is switched from one interface to another. The switch controller 412 may control the switch 413 to first communicate the baseboard management controller 411 with a default interface, and in case that the interface switching condition is satisfied, then control the switch 413 to communicate the baseboard management controller 411 with another interface other than the default interface, so as to implement the interface switching. In the present embodiment, the rear window interface 421 is set as a default interface. The switching controller 412 controls the switch 413 to first communicate the baseboard management controller 411 with the rear window interface 421, and when the interface switching condition is satisfied, controls the switch 413 to communicate the baseboard management controller 411 with the front window interface 431.
The interface switching condition can be set according to the actual situation. In this embodiment, the communication circuit 400 further includes a flip-flop 414 connected to the switching controller 412. When the switch controller 412 detects the front window interface 431 and the rear window interface 421 at the same time and controls the switch 413 to communicate with the baseboard management controller 411 and one of the interfaces, if a switch signal sent by the trigger 414 is received, the switch 413 is controlled to perform a switch operation to switch the interface communicated with the baseboard management controller 411. In short, the switching signal sent by the trigger 414 may be received as an interface switching condition. Trigger 414 may be a component that allows a server administrator to operate. In this way, the server manager can switch and control the interface communicated with the baseboard management controller 411 through operating the trigger 414 according to actual needs, so that the operation is more convenient.
Specifically, the trigger 414 may include a trigger switch 4141, where the trigger switch 4141 is located outside the housing of the server, and when the trigger switch 4141 is in the first switch state, the trigger 414 is configured to send a switching signal to the switching controller 412, and when the trigger switch 4141 is in the second switch state, the trigger 414 is configured to send a signal other than the switching signal to the switching controller 412. The first switch state and the second switch state may be different. The server manager can change the state of the trigger switch 4141 by manual operation. In this embodiment, the trigger switch 4141 is a key. When the trigger switch 4141 is in the first switch state being pressed, the trigger 414 sends a switching signal (such as a high level) to the switching controller 412; when the trigger switch 4141 is in the second switch state that is not pressed, the trigger 414 sends a signal other than the switching signal (such as a low level) to the switching controller 412. By changing the state of the trigger switch 4141 to control the interface with the baseboard management controller 411, the solution is easier to implement. Meanwhile, the trigger switch 4141 is arranged outside the server housing, so that the operation of a server manager is facilitated. It is understood that the trigger switch 4141 may comprise various forms, and any switch having two or more different switch states is within the scope of the present application. For example, the trigger switch 4141 may also be a slide switch. When the sliding switch is slid to the first position, the sliding switch is indicated to be in a first switch state; when the sliding switch slides to the second position, the sliding switch is in the second switch state.
In other embodiments, the handoff controller 412 may be communicatively coupled to the baseboard management controller 411. The server manager may issue a switching control instruction through the management interface of the baseboard management controller 411. The baseboard management controller 411 transmits a switching control message to the switching controller 412 based on the switching control instruction, and causes the switching controller 412 to control the switcher 413 to switch the interface communicating with the baseboard management controller 411. In these embodiments, the handover control message sent by the baseboard management controller 411 may be received by the handover controller 412 as an interface handover condition. In this way, the flip-flop 414 can be omitted, and the circuit size of the communication circuit 400 can be reduced.
The following describes how the switching controller 412 detects whether the front window 43 includes the front window interface 431 and whether the rear window 42 includes the rear window interface 421.
In some embodiments, the switching controller 412 includes a first detection end P1 and a second detection end P2, where the first detection end P1 is used to connect the front window interface 431 in case the front window 43 includes the front window interface 431, and where the rear window 42 includes the rear window interface 421, the second detection end P2 is used to connect the rear window interface 421. The switching controller 412 determines whether the front window 43 includes the front window interface 431 and the rear window 42 includes the rear window interface 421 by detecting whether the first and second detection terminals P1 and P2 are connected to the interfaces. Taking the first detection end P1 as an example. It will be appreciated that the first detection terminal P1 will only be connected to the interface if the front window 43 comprises a front window interface 431. If the first detection end P1 is not connected to the interface, it may indicate that the front window 43 does not include the front window interface 431. By detecting whether the first detecting end P1 and the second detecting end P2 are connected with the interfaces, whether the front window 43 includes the front window interface 431 and whether the rear window 42 includes the rear window interface 421 is indirectly determined, so that the scheme is easier to implement.
Further, considering that the first and second sensing terminals P1 and P2 have the first voltage signal (e.g., low level) in the case of being connected to the interface and the first and second sensing terminals P1 and P2 have the second voltage signal (e.g., high level) in the case of not being connected to the interface, the switching controller 412 may detect whether the first and second sensing terminals P1 and P2 are connected to the interface by detecting the voltage signals of the first and second sensing terminals P1 and P2. Whether the first detection end P1 and the second detection end P2 are connected with the interface is determined based on the voltages of the first detection end P1 and the second detection end P2, and an additional detection circuit is not required to be arranged, so that the cost of the communication circuit 400 can be reduced.
In summary, in the technical solutions of some embodiments of the present application, the switching controller 412 and the switching device 413 are introduced in the communication circuit 400. The switching controller 412 is configured to detect whether the front window 43 includes a front window interface 431 and whether the rear window 42 includes a rear window interface 421, and control the switching controller 413 to communicate the baseboard management controller 411 with one of the interfaces according to the detection result. As such, the front window interface 431 and the back window interface 421 may be connected to the same port of the baseboard management controller 411 through the switch 413. The switching controller 412 may cause the baseboard management controller 411 to communicate with the front window 421 or the rear window 431 by controlling the switching controller 413. That is, in the case that the server includes both the front window interface 431 and the back window interface 431, only one MAC address resource of the baseboard management controller 411 is occupied, so that the MAC address resource occupation of the baseboard management controller 411 can be reduced. In addition, a plurality of PCBA numbers do not need to be arranged for the main board 41, so that maintenance and management are convenient.
Referring to fig. 5, a circuit block diagram of a communication circuit 500 according to another embodiment of the present application is provided. Fig. 5 is substantially similar to fig. 4, with the main differences: the communication circuit 500 also includes a network conversion chip 516. The network conversion chip 516 is connected between the switch 513 and the baseboard management controller 511, and is configured to convert an RGMII signal output by the baseboard management controller 511 into an MDI signal, and transmit the MDI signal obtained by conversion to the rear window interface 521 or the front window interface 531 through the switch 513. Through setting up the network conversion chip, can realize signal conversion, the application scope of circuit is wider.
Further, the communication circuit 500 and the front window 53 further include a connector 515. The connector 515 in the communication circuit 500 is connected to the switch 513, and the connector 515 in the front window 53 is connected to the front window interface 531. The connector 515 in the communication circuit 500 is connected to the connector 515 in the front window 53. In this way, the connection of the switch 513 with the front window interface 531 is achieved.
Referring to fig. 6, a circuit block diagram of a communication circuit 600 according to another embodiment of the present application is provided. Fig. 6 is substantially similar to fig. 4, with the main differences: front window 63 does not include a front window interface. Since the switching controller 612 detects only the rear window interface 621, the control switch 613 communicates between the baseboard management controller 611 and the rear window interface 621.
Referring to fig. 7, a circuit block diagram of a communication circuit 700 according to another embodiment of the present application is provided. Fig. 7 is substantially similar to fig. 4, with the main differences: the rear window 72 does not include a rear window interface. Since the switching controller 712 detects only the front window interface 731, the control switch 713 communicates the baseboard management controller 711 and the front window interface 731.
Regarding the beneficial effects of the above-mentioned communication circuits 500, 600, 700, reference may be made to the related description of fig. 4, which is not repeated here.
Referring to fig. 8, a block diagram of a server 800 according to an embodiment of the application is shown. In fig. 8, a server 800 includes a rear window 82, a front window 83, and a communication circuit 81. The rear window 82 may include a rear window interface 821, the front window 83 may include a front window interface 831, and the communication circuit 81 may include circuitry on any of the above-described motherboards of fig. 4-7. The communication circuit 81 may communicate with a front window interface 831 in the front window 83 (as shown in solid lines) or with a rear window interface 821 in the rear window 82 (as shown in dashed lines)
Regarding the beneficial effects of the server 800, reference may be made to the above description related to fig. 4, which is not repeated here.
On the basis of the communication circuit, the application also provides a communication method of the server. The communication method is applicable to the handover controller in fig. 4 to 7. The server includes a front window and a back window. Referring to fig. 9, a flow chart of a communication method according to an embodiment of the application is shown. In fig. 9, the communication method includes the steps of:
step S91, detecting whether the front window comprises a front window interface and detecting whether the rear window comprises a rear window interface;
in step S92, in the case where only the front window interface or the rear window interface is detected, the control switch communicates with the baseboard management controller and the detected interface, and in the case where the front window interface and the rear window interface are detected at the same time, the control switch communicates with the baseboard management controller and one of the interfaces.
In some embodiments, the switching controller includes a first detection end and a second detection end, where the first detection end is configured to connect to a front window interface if the front window includes a front window interface, and where the rear window includes a rear window interface, the second detection end is configured to connect to the rear window interface;
detecting whether the front window includes a front window interface and detecting whether the rear window includes a rear window interface, comprising:
detecting whether the first detection end and the second detection end are connected with an interface or not;
and determining that the front window comprises a front window interface under the condition that the first detection end is detected to be connected with the interface, and determining that the rear window comprises a rear window interface under the condition that the second detection end is detected to be connected with the interface.
In some embodiments, the first and second detection terminals have a first voltage signal when connected to the interface and a second voltage signal when not connected to the interface;
detecting whether the first detection end and the second detection end are connected with the interface, comprising:
for any one of the first detection end and the second detection end, the detection end is determined to be connected with the interface when the detection end is detected to have a first voltage signal, and the detection end is determined to be not connected with the interface when the detection end is detected to have a second voltage signal.
In some embodiments, when the front window interface and the rear window interface are detected at the same time and the switch is controlled to communicate with the baseboard management controller and one of the interfaces, if a switching signal sent by the trigger is received, the switch is controlled to perform a switching operation so as to switch the interface communicated with the baseboard management controller.
Regarding the beneficial effects of the communication method, reference may be made to fig. 4 for a description of the communication circuit, which is not repeated here.
Referring to fig. 10, a schematic diagram of an electronic device according to an embodiment of the application is provided. The electronic device comprises a processor and a memory for storing a computer program which, when executed by the processor, implements the communication method described above.
The processor may be a central processing unit (Central Processing Unit, CPU). The processor may also be any other general purpose processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof.
The memory, as a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions/modules, corresponding to the methods in embodiments of the present application. The processor executes various functional applications of the processor and data processing, i.e., implements the methods of the method embodiments described above, by running non-transitory software programs, instructions, and modules stored in memory.
The memory may include a memory program area and a memory data area, wherein the memory program area may store an operating system, at least one application program required for a function; the storage data area may store data created by the processor, etc. In addition, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some implementations, the memory optionally includes memory remotely located relative to the processor, the remote memory being connectable to the processor through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
An embodiment of the present application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described communication method.
The application also provides a computer program product comprising a computer program which, when executed by a processor, implements the communication method described above.
Although the method of implementing the present application has been described with reference to the accompanying drawings, a person skilled in the art can make various modifications and variations without departing from the spirit and scope of the present application, and such modifications and variations fall within the scope defined by the appended claims.

Claims (13)

1. A communication circuit of a server, wherein the server comprises a front window and a rear window; the circuit comprises:
a baseboard management controller;
a switch for connecting the baseboard management controller, and connecting the front window interface if the front window includes a front window interface, and connecting the rear window interface if the rear window includes a rear window interface;
and the switching controller is used for detecting whether the front window comprises the front window interface and detecting whether the rear window comprises the rear window interface, and controlling the switcher to be communicated with the baseboard management controller and the detected interface under the condition that only the front window interface or the rear window interface is detected, and controlling the switcher to be communicated with the baseboard management controller and one of the interfaces under the condition that the front window interface and the rear window interface are detected at the same time.
2. The circuit of claim 1, wherein the communication circuit further comprises a flip-flop connected to the switching controller;
the switching controller is further configured to:
and under the condition that the front window interface and the rear window interface are detected at the same time and the switcher is controlled to be communicated with the baseboard management controller and one of the interfaces, if a switching signal sent by the trigger is received, the switcher is controlled to execute switching operation so as to switch the interface communicated with the baseboard management controller.
3. The circuit of claim 2, wherein the trigger comprises a trigger switch located outside of the housing of the server, the trigger being configured to send the switching signal to the switching controller when the trigger switch is in a first switch state, and to send a signal other than the switching signal to the switching controller when the trigger switch is in a second switch state.
4. The circuit of claim 1, wherein the switching controller comprises a first detection terminal for connecting the front window interface if the front window comprises the front window interface and a second detection terminal for connecting the rear window interface if the rear window comprises the rear window interface;
the switching controller determines whether the front window includes the front window interface and the rear window includes the rear window interface by detecting whether the first detection end and the second detection end are connected with the interfaces.
5. The circuit of claim 4, wherein the first and second sensing terminals have first voltage signals in case of interfacing and second voltage signals in case of not interfacing, and the switching controller detects whether the first and second sensing terminals are interfacing by detecting the voltage signals of the first and second sensing terminals.
6. The circuit of claim 1, wherein the switch controls the baseboard management controller to communicate with the rear window interface when the switch controller outputs a first control signal to the switch;
when the switching controller outputs a second control signal to the switcher, the switcher controls the baseboard management controller to be communicated with the front window interface.
7. A server, the server comprising:
a front window;
a rear window;
a communication circuit as claimed in any one of claims 1 to 6.
8. A method of communication for a server, wherein the server comprises a front window and a back window; the method comprises the following steps:
detecting whether the front window comprises a front window interface and detecting whether the rear window comprises a rear window interface;
and when the front window interface and the rear window interface are detected at the same time, the switcher is controlled to be communicated with the baseboard management controller and one of the interfaces.
9. The method of claim 8, wherein the method is applied to a handover controller comprising a first detection end and a second detection end, the first detection end being configured to connect the front window interface if the front window comprises the front window interface, and the second detection end being configured to connect the rear window interface if the rear window comprises the rear window interface;
the detecting whether the front window includes a front window interface and the detecting whether the rear window includes a rear window interface includes:
detecting whether the first detection end and the second detection end are connected with an interface or not;
and under the condition that the first detection end is detected to be connected with an interface, determining that the front window comprises the front window interface, and under the condition that the second detection end is detected to be connected with the interface, determining that the rear window comprises the rear window interface.
10. The method of claim 9, wherein the first and second detection terminals have a first voltage signal if connected to an interface and a second voltage signal if not connected to an interface;
the detecting whether the first detecting end and the second detecting end are connected with an interface or not comprises:
and for any one of the first detection end and the second detection end, determining that the detection end is connected with an interface when the detection end is detected to have the first voltage signal, and determining that the detection end is not connected with the interface when the detection end is detected to have the second voltage signal.
11. The method of claim 8, wherein the method further comprises:
and under the condition that the front window interface and the rear window interface are detected at the same time and the switcher is controlled to be communicated with the baseboard management controller and one of the interfaces, if a switching signal sent by a trigger is received, the switcher is controlled to execute switching operation so as to switch the interfaces communicated with the baseboard management controller.
12. A computer readable storage medium for storing a computer program which, when executed by a processor, implements the method of any one of claims 8 to 11.
13. An electronic device comprising a processor and a memory for storing a computer program which, when executed by the processor, implements the method of any of claims 8 to 11.
CN202310692313.7A 2023-06-12 2023-06-12 Communication circuit, server, method, device, and storage medium Pending CN116701270A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310692313.7A CN116701270A (en) 2023-06-12 2023-06-12 Communication circuit, server, method, device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310692313.7A CN116701270A (en) 2023-06-12 2023-06-12 Communication circuit, server, method, device, and storage medium

Publications (1)

Publication Number Publication Date
CN116701270A true CN116701270A (en) 2023-09-05

Family

ID=87842862

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310692313.7A Pending CN116701270A (en) 2023-06-12 2023-06-12 Communication circuit, server, method, device, and storage medium

Country Status (1)

Country Link
CN (1) CN116701270A (en)

Similar Documents

Publication Publication Date Title
US20060129731A1 (en) Methods and systems for providing management in a telecommunications equipment shelf assembly using a shared serial bus
KR20170018434A (en) Reversible connector for accessory devices
CN112732057A (en) Voltage conversion control for USB power delivery sources
US9990321B2 (en) Selectively connecting a port of an electrical device to components in the electrical device
CN102043933B (en) SD (Secure Digital) card reader module with controllable operating state
US10797893B2 (en) Single pair ethernet management interface
CN107220192B (en) Electronic equipment, channel switching control method and control circuit
US10592382B2 (en) Advanced communication computer with dedicated network adaptor processor for sending secure communications across networks
US8935451B2 (en) Network card detecting circuit
US20130227185A1 (en) Remote access appliance with communication protocol autosensing feature
CN103178980A (en) Network card management system
CN109478174B (en) Switch for reversible interface
US20190279484A1 (en) Visible indication of a port as configured to management functionality
CN116701270A (en) Communication circuit, server, method, device, and storage medium
CN116088648A (en) Server cabinet, circuit control method and computing node
US7079861B2 (en) Method and system for monitoring status in a network having wireless and wired connections
CN109274611B (en) Method for switching sharing network protocol by baseboard management controller
US7543044B2 (en) Automatic configuration system
US8755291B2 (en) Network interface apparatus with power management and power saving method thereof
US9811496B2 (en) Method and apparatus for detecting interface connection between devices
CN114661646A (en) Serial port switching control circuit
US10602634B2 (en) Card module with multiple connector interfaces
EP3497535B1 (en) Switching the power class of a power over ethernet powered device
US8806079B2 (en) Interface circuit and an electronic device including the same
US20240223099A1 (en) Power detecting circuit board, power detecting system, and immersed liquid cooling tank

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination