CN116974959A - Method for reading device to be monitored by baseboard management controller - Google Patents

Method for reading device to be monitored by baseboard management controller Download PDF

Info

Publication number
CN116974959A
CN116974959A CN202210422986.6A CN202210422986A CN116974959A CN 116974959 A CN116974959 A CN 116974959A CN 202210422986 A CN202210422986 A CN 202210422986A CN 116974959 A CN116974959 A CN 116974959A
Authority
CN
China
Prior art keywords
programmable logic
baseboard management
logic devices
management controller
devices
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
CN202210422986.6A
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.)
Kunda Computer Technology Kunshan Co Ltd
Mitac Computing Technology Corp
Original Assignee
Kunda Computer Technology Kunshan Co Ltd
Mitac Computing Technology Corp
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 Kunda Computer Technology Kunshan Co Ltd, Mitac Computing Technology Corp filed Critical Kunda Computer Technology Kunshan Co Ltd
Priority to CN202210422986.6A priority Critical patent/CN116974959A/en
Publication of CN116974959A publication Critical patent/CN116974959A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/1605Handling requests for interconnection or transfer for access to memory bus based on arbitration
    • G06F13/161Handling requests for interconnection or transfer for access to memory bus based on arbitration with latency improvement
    • 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/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Programmable Controllers (AREA)

Abstract

A method for reading a device to be monitored by a baseboard management controller comprises the following steps: (A) One of the plurality of programmable logic devices, upon receiving a response message, authenticates the response message; (B) When the response information authentication fails, one of the programmable logic devices transmits a corresponding control instruction to each of the other programmable logic devices and transmits a notification message to a corresponding baseboard management controller; and (C) for each of the other programmable logic devices, setting the serial data line and the serial clock line to low levels for a corresponding time interval in response to the control command, and transmitting a corresponding notification message to the corresponding baseboard management controller.

Description

Method for reading device to be monitored by baseboard management controller
[ field of technology ]
The present invention relates to a method for reading a device to be monitored, and more particularly, to a method for reading a device to be monitored by a baseboard management controller.
[ background Art ]
Referring to fig. 1, the conventional server system includes a plurality of server nodes 1, a plurality of Baseboard Management Controllers (BMCs) 11A and 11B respectively provided in each of the server nodes 1, a plurality of programmable logic devices 12A and 12B respectively provided in each of the server nodes 1 and electrically connected to the baseboard management controllers 11A and 11B, and a plurality of devices to be monitored 13A and 13B electrically connected to all the programmable logic devices 12A and 12B. The programmable logic devices 12A and 12B are electrically connected to each other, and the devices 13A and 13B to be monitored are, for example, power supplies, and are respectively inserted into a power distribution board 100. In the conventional server system, when two baseboard management controllers 11A and 11B read the devices 13A and 13B to be monitored at approximately the same time, there is a fear that data overlap and the reading fails.
In detail, it is assumed that the bmc 11A issues a read command to read the data of the device to be monitored 13A, and at this time, the bmc 11B issues a read command to read the data of the device to be monitored 13B, and since the system bus between the bmc 12A and the device to be monitored 13A is connected to the system bus between the bmc 12B and the device to be monitored 13B, there is a possibility of overlapping interference when transmitting data, the bmc 12A corresponding to the bmc 11A and the bmc 12B corresponding to the bmc 11B may transmit the response information of the devices to be monitored 13A, 13B in response to the read command to the bmc 11A and the bmc 11B in an overlapping manner, resulting in erroneous data judgment, and in addition, since correct data is not transmitted in a fixed time, there is a possibility that the bmc 11A and the bmc 11B are not transmitted to the bmc 13A, and the bmc 11B is out of time, and the command to be transmitted to the bmc 13A is not transmitted.
[ invention ]
The invention aims to provide a method for avoiding the time-out of a baseboard management controller caused by the interference of reading overlapping and the reading of correct data which cannot be read by the baseboard management controller from being monitored by a device to be monitored.
In order to solve the above-mentioned problems, the method for reading a device to be monitored by a baseboard management controller according to the present invention is suitable for reading a plurality of devices to be monitored, and is implemented by a plurality of programmable logic devices electrically connected to the baseboard management controllers, wherein the programmable logic devices are electrically connected to each other, and each programmable logic device is electrically connected to the devices to be monitored, and comprises the following steps:
(A) By one of the programmable logic devices, after receiving a response message from one of the devices to be monitored in response to a read instruction of the baseboard management controller corresponding to the one of the programmable logic devices and including an address and a response message of the one of the devices to be monitored, authenticating the response message;
(B) When the response information authentication fails, transmitting a corresponding control instruction to each of the other programmable logic devices and transmitting a notification message to the corresponding baseboard management controller by the one of the programmable logic devices, so that the corresponding baseboard management controller stops timing related to responding to the reading instruction and retransmits the reading instruction to the one of the devices to be monitored; a kind of electronic device with high-pressure air-conditioning system
(C) For each of the other programmable logic devices, in response to the control command, setting the serial data line and the serial clock line of the corresponding baseboard management controller to low level in a corresponding time interval, and transmitting a corresponding notification message to the corresponding baseboard management controller.
Compared with the prior art, the invention controls the corresponding baseboard management controller to stop timing corresponding to the read command when the authentication fails by one of the programmable logic devices, and retransmits the read command to the one of the devices to be monitored, so as to avoid the corresponding baseboard management controller from timing out and retransmits the read command to read correct data. In addition, when the authentication fails, one of the programmable logic devices also controls each of the other programmable logic devices to set the serial data line and the serial clock line of the corresponding baseboard management controller to be at low level, and transmits the corresponding notification message to the corresponding baseboard management controller so as to stagger the time for sending the reading command.
[ description of the drawings ]
Other features and advantages of the present invention will become apparent from the following description of the embodiments with reference to the drawings, in which:
FIG. 1 is a block diagram of a prior art server system;
FIG. 2 is a block diagram illustrating a system embodying an embodiment of a method of the present invention for reading a device to be monitored by a baseboard management controller; a kind of electronic device with high-pressure air-conditioning system
FIG. 3 is a flow chart illustrating an embodiment of a method for reading a device to be monitored by a baseboard management controller according to the present invention.
[ detailed description ] of the invention
Referring to fig. 2, an embodiment of a method for reading a device to be monitored by a baseboard management controller according to the present invention is suitable for reading a plurality of devices to be monitored 23A, 23B, 23C, 23D, and is implemented by a system. The system comprises a plurality of server nodes 2, a plurality of baseboard management controllers 21A, 21B, 21C, 21D respectively arranged in the server nodes 2, a plurality of programmable logic devices 22A, 22B, 22C, 22D respectively arranged in the server nodes 2 and respectively electrically connected with the baseboard management controllers 21A, 21B, 21C, 21D, and the devices 23A, 23B, 23C, 23D to be monitored electrically connected with all the programmable logic devices 22A, 22B, 22C, 22D. The programmable logic devices 22A, 22B, 22C, 22D are electrically connected to each other (i.e., each programmable logic device 22A/22B/22C/22D is electrically connected to the other programmable logic devices 22B, 22C, 22D/22A, 22B, 22D, 22A, 22B, 22C), the devices to be monitored 23A, 23B, 23C, 23D are, for example, power supplies and are respectively plugged into a power distribution board 200.
Each programmable logic device 22A/22B/22C/22D includes two general purpose input/output GPIO2, GPIO3 associated with the power distribution board 200, one general purpose input/output GPIO1 associated with the corresponding baseboard management controller 21A/21B/21C/21D, and a register (not shown) for recording an identifier associated with the programmable logic device 22A/22B/22C/22D and an indicator indicating a delayed read mode. The power distribution board 200 may assign different addresses to the server nodes 2 to identify different server nodes 2, and the address assigned to each server node 2 by the power distribution board 200 may be output to the corresponding programmable logic device 22A/22B/22C/22D through the corresponding general purpose input/output GPIO2, GPIO3, in which case the identifier of each programmable logic device 22A/22B/22C/22D is the address assigned to the corresponding server node 2 by the power distribution board 200. Each programmable logic device 22A/22B/22C/22D also stores address information of the devices 23A, 23B, 23C, 23D to be monitored.
Referring to fig. 2 and 3, the operation of each component in the system will be described by the method of the present invention for reading a device to be monitored by a baseboard management controller, which includes the following steps.
In step 31, one of the programmable logic devices 22A authenticates the response message after receiving a response message from one of the devices 23A to be monitored in response to a read command from the baseboard management controller 21A corresponding to the one of the programmable logic devices 22A and including an address and a response message of the one of the devices 23A to be monitored. When the authentication of the response message fails, the flow proceeds to step 32; when the authentication of the response message is successful, the flow proceeds to step 36. In this embodiment, the one of the programmable logic devices 22A authenticates the response message by comparing whether the address in the response message matches one of the stored address messages. When the address in the response information accords with one of the stored address information, the response information is successfully authenticated; when the address in the response message does not match one of the stored address messages, the response message fails to authenticate.
In step 32, the one of the programmable logic devices 22A transmits a corresponding control command to each of the other programmable logic devices 22B, 22C, 22D and transmits a notification message to the corresponding baseboard management controller 21A. In this embodiment, the one of the programmable logic devices 22A sends the notification message to the corresponding baseboard management controller 21A by setting a general purpose input/output GPIO1 associated with the corresponding baseboard management controller 21A to a low level for a first predetermined period. In addition, the control instruction transmitted by the one 22A of the programmable logic devices is used to modify the indicator in the register of the other one 22B/22C/22D of the programmable logic devices, wherein the one 22A of the programmable logic devices transmits the control instruction via the i2C master via the line connected with the one 22B/22C/22D of the other one of the programmable logic devices, table 1 illustrates the identifiers and indicators recorded by the registers of the four programmable logic devices 22A, 22B, 22C, 22D, the identifiers being 00, 01, 10 and 11, respectively, for example, if the one of the programmable logic devices is the programmable logic device 22A with the corresponding identifier 00, the one 22A of the programmable logic devices maintains its own indicator as 00 and modifies the indicators corresponding to the other one of the programmable logic devices 22B, 22C, 22D with the identifiers 01, 10 and 11 to be the indicators corresponding to the other programmable logic devices 22B, 22C, 22D with the identifiers 01, 10 and 11 to be the read time of the other programmable logic devices 22B, 22D with the delays of the read time of the other one of the programmable logic devices 22B, 22D; if one of the programmable logic devices is the programmable logic device 22B with the corresponding identifier of 01, the one of the programmable logic devices 22B maintains its own indicator as 00, and modifies the indicators corresponding to the other programmable logic devices 22A, 22C, 22D with the identifiers of 00, 10, and 11 as 01, 10, and 11, respectively, to delay the time for the other programmable logic devices 22A, 22C, 22D to transmit the read command; if one of the programmable logic devices is the programmable logic device 22C with the corresponding identifier of 10, the one 22C of the programmable logic devices maintains its own indicator as 00 and modifies the indicators corresponding to the other programmable logic devices 22A, 22B, 22D with the identifiers of 00, 01, and 11 as 01, 10, and 11, respectively, to delay the time for the other programmable logic devices 22A, 22B, 22D to transmit the read command; if one of the programmable logic devices is the programmable logic device 22D with the corresponding identifier 11, the one of the programmable logic devices 22D maintains its own indicator as 00, and the indicators corresponding to the other programmable logic devices 22A, 22B, 22C with the identifiers 00, 01, and 10 are respectively modified as 01, 10, and 11 to delay the time for the other programmable logic devices 22A, 22B, 22C to transmit the read command, but not limited thereto.
TABLE 1
In step 33, the baseboard management controller 21A corresponding to the one 22A of the programmable logic devices stops timing related to responding to the read command in response to the notification message, and transmits the read command to the one 23A of the devices to be monitored again through the corresponding programmable logic device 22A. In this embodiment, the baseboard management controller 21A corresponding to the general purpose input/output GPIO1 set to the low level in the first preset period stops timing related to the read command and transmits the read command to the one 23A of the devices to be monitored again through the corresponding programmable logic device 22A after the first preset period, for example, the baseboard management controller 21A corresponding to the general purpose input/output GPIO1 is pulled to the low level for 10 microseconds and transmits the read command to the one 23A of the devices to be monitored again through the corresponding programmable logic device 22A after the first preset period passes 10 microseconds.
In step 34, for each of the other programmable logic devices 22B/22C/22D, the one of the other programmable logic devices 22B/22C/22D is set to a low level in response to the control instruction (i.e., in response to the indicator in the corresponding register being modified, in the example shown in Table 1, the indicator of the one of the programmable logic devices 22B/22C/22D is changed to 01/10/11), the serial data line and the serial clock line of the corresponding baseboard management controller 21B/21C/21D are set to a low level for a corresponding time interval (in the example shown in Table 1, the serial data line and the serial clock line of the one of the programmable logic devices 22B/22C/22D are set to 1/2/3.5 milliseconds), and a corresponding notification message is sent to the corresponding baseboard management controller 21B/21C/21D. In this embodiment, the other programmable logic device 22B/22C/22D sets a general purpose input/output GPIO1 associated with the corresponding baseboard management controller 21B/21C/21D to a low level within a corresponding second predetermined period (in the example shown in Table 1, the general purpose input/output GPIO1 associated with the corresponding baseboard management controller 21B/21C/21D is 500 μs/700 μs/900 μs) to transmit the corresponding notification message to the corresponding baseboard management controller 21B/21C/21D. Wherein, the time interval corresponding to each of the other programmable logic devices 22B/22C/22D is different from the second predetermined time period, so as to stagger the time for transmitting the read command.
In step 35, for each 21B/21C/21D of the baseboard management controllers corresponding to the other programmable logic devices 22B, 22C, 22D, the timing related to responding to the read command is stopped in response to the corresponding notification message, and the read command is transmitted to the corresponding one 23B/23C/23D of the devices to be monitored again through the corresponding programmable logic device 22B/22C/22D. In this embodiment, the baseboard management controller 21B/21C/21D corresponding to the general purpose input/output set to the low level in the second preset period stops timing related to the read command and transmits the read command to the corresponding one of the devices 23B/23C/23D through the corresponding programmable logic device 22B/22C/22D after the second preset period, and in the example of table 1, the baseboard management controller 21B/21C/21D corresponding to the general purpose input/output GPIO1 is pulled down by 500 μs/700 μs/900 μs and transmits the read command to the corresponding one of the devices 23B/23C/23D through the corresponding programmable logic device 22B/22C/22D again after 500 μs/700 μs/900 μs (i.e., the second preset period).
In step 36, the one 22A of the programmable logic devices transmits the response message to the corresponding baseboard management controller 21A.
In summary, the method for reading the device to be monitored by the baseboard management controller according to the present invention controls the corresponding baseboard management controller 21A to stop timing corresponding to the read command when the authentication fails, and retransmits the read command to the corresponding baseboard management controller 23A of the device to be monitored, so as to avoid the timeout of the corresponding baseboard management controller 21A, and retransmits the read command to read correct data. In addition, when the authentication fails, the one 22A of the programmable logic devices also controls each 22B/22C/22D of the other programmable logic devices to set the serial data line and the serial clock line of the corresponding baseboard management controller 21B/21C/21D to be at low level, and transmits the corresponding notification message to the corresponding baseboard management controller 21B/21C/21D, so as to stagger the time of issuing the reading command, thereby achieving the purpose of the invention.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (9)

1. The method for reading the device to be monitored by the baseboard management controller is suitable for reading a plurality of devices to be monitored and is implemented by a plurality of programmable logic devices respectively and electrically connected with the baseboard management controllers, wherein the programmable logic devices are mutually and electrically connected with each other, and each programmable logic device is electrically connected with the devices to be monitored, and the method is characterized by comprising the following steps:
(A) By one of the programmable logic devices, after receiving a response message from one of the devices to be monitored in response to a read instruction of the baseboard management controller corresponding to the one of the programmable logic devices and including an address and a response message of the one of the devices to be monitored, authenticating the response message;
(B) When the response information authentication fails, transmitting a corresponding control instruction to each of the other programmable logic devices and transmitting a notification message to the corresponding baseboard management controller by the one of the programmable logic devices, so that the corresponding baseboard management controller stops timing related to responding to the reading instruction and retransmits the reading instruction to the one of the devices to be monitored; a kind of electronic device with high-pressure air-conditioning system
(C) For each of the other programmable logic devices, in response to the control command, setting the serial data line and the serial clock line of the corresponding baseboard management controller to low level in a corresponding time interval, and transmitting a corresponding notification message to the corresponding baseboard management controller.
2. The method according to claim 1, wherein each programmable logic device stores a plurality of address information of the devices to be monitored, wherein in step (a), the one of the programmable logic devices authenticates the response message by comparing whether the address of the response message matches one of the address information.
3. The method according to claim 1, further comprising a step (D) of transmitting the response message to the corresponding baseboard management controller by one of the programmable logic devices when the response message authentication is successful after the step (a).
4. The method according to claim 1, wherein in the step (B), one of the programmable logic devices transmits the notification message to the corresponding baseboard management controller by setting a general-purpose input/output associated with the corresponding baseboard management controller to a low level for a first predetermined period, and further causes the corresponding baseboard management controller to stop timing in response to the read command, and to transmit the read command to the one of the devices through the corresponding programmable logic device again after the first predetermined period.
5. The method of claim 1, wherein each programmable logic device includes a register for recording an identifier associated with the programmable logic device and an indicator indicating a delayed read mode, wherein:
in step (B), for each of the other programmable logic devices, the control instruction transmitted by the one of the programmable logic devices is used to modify an indicator in a register of the one of the other programmable logic devices to delay and stagger the time at which the other programmable logic devices transmit their read instructions.
6. The method according to claim 5, wherein in the step (C), one of the other programmable logic devices transmits the notification message to the corresponding baseboard management controller by setting a general purpose input/output associated with the corresponding baseboard management controller to a low level for a corresponding second predetermined period, so that the corresponding baseboard management controller stops timing related to the response reading command and transmits the corresponding reading command to the corresponding one of the devices through the corresponding programmable logic device again after the corresponding second predetermined period.
7. The method of claim 6, wherein in the step (C), the second predetermined period of time corresponding to each of the other programmable logic devices is different.
8. The method of claim 1, wherein in step (C), each of the other programmable logic devices has a different time interval.
9. The method of claim 1, wherein the programmable logic devices and the corresponding baseboard management controllers are respectively installed on a plurality of server nodes.
CN202210422986.6A 2022-04-21 2022-04-21 Method for reading device to be monitored by baseboard management controller Pending CN116974959A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210422986.6A CN116974959A (en) 2022-04-21 2022-04-21 Method for reading device to be monitored by baseboard management controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210422986.6A CN116974959A (en) 2022-04-21 2022-04-21 Method for reading device to be monitored by baseboard management controller

Publications (1)

Publication Number Publication Date
CN116974959A true CN116974959A (en) 2023-10-31

Family

ID=88480108

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210422986.6A Pending CN116974959A (en) 2022-04-21 2022-04-21 Method for reading device to be monitored by baseboard management controller

Country Status (1)

Country Link
CN (1) CN116974959A (en)

Similar Documents

Publication Publication Date Title
US7730245B2 (en) Method and system for setting addresses for slave devices in data communication system
US20030167360A1 (en) Address assignment method for at least one bus device that has recently been connected to a bus system
CN111209032B (en) Gray level publishing method, configuration center server, user terminal, system and medium
CN104516838A (en) Management path determining method and device
CN114401250A (en) Address allocation method and device
US8391162B2 (en) Apparatus and method for testing SMNP cards
US10541830B2 (en) Serial communication system
WO2024078204A1 (en) Bus communication control method and apparatus, and device and storage medium
CN116974959A (en) Method for reading device to be monitored by baseboard management controller
CN116204214A (en) BMC upgrading method, device and system, electronic equipment and storage medium
US11907155B2 (en) Bus system connecting slave devices with single-wire data access communication
US11720090B2 (en) Fault tolerant backplane slot assignment
TWI835090B (en) Method of reading device to be monitored by baseboard management controller
CN111913551A (en) Control method for resetting baseboard management controller
CN117933153B (en) I3C bus verification system
CN104579593B (en) Data monitoring system and method
US20220026859A1 (en) Multi-unit cooperative distributed electrical control system and electrical system
US20160366024A1 (en) Method and associated apparatus for managing a storage system
KR101268677B1 (en) Apparatus and method for reprogramming a plurality of ECUs
CN116860340B (en) Method for determining starting time of server based on identification of baseboard management controller
JP3298558B2 (en) How to send and receive monitoring control messages
CN117909183A (en) I2C equipment monitoring method, device, equipment and storage medium
CN105303131A (en) Write-in method and device for password data in optical module
WO2006030697A1 (en) Communication device, communication control method, communication control program, and computer-readable recording medium containing the communication control program
CN114842904A (en) NVMEMI testing device and testing method thereof

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