WO2016082522A1 - Procédé et dispositif de détermination de trajet de gestion - Google Patents

Procédé et dispositif de détermination de trajet de gestion Download PDF

Info

Publication number
WO2016082522A1
WO2016082522A1 PCT/CN2015/081079 CN2015081079W WO2016082522A1 WO 2016082522 A1 WO2016082522 A1 WO 2016082522A1 CN 2015081079 W CN2015081079 W CN 2015081079W WO 2016082522 A1 WO2016082522 A1 WO 2016082522A1
Authority
WO
WIPO (PCT)
Prior art keywords
address
target device
management controller
peripheral
determining
Prior art date
Application number
PCT/CN2015/081079
Other languages
English (en)
Chinese (zh)
Inventor
陈祝荣
邱光明
熊星
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2016082522A1 publication Critical patent/WO2016082522A1/fr

Links

Images

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/10Program control for peripheral devices
    • 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

Definitions

  • the present invention relates to the field of computers, and in particular, to a management path determining method and apparatus.
  • the baseboard management controller reads device information from the peripheral device through the internal integrated circuit I2C address of the peripheral device, and manages the peripheral device according to the read device information.
  • the GPU management component includes a baseboard management controller (English name: Board Management Controller, abbreviated as BMC).
  • BMC Board Management Controller
  • the GPU 120 and the heat dissipation unit 130 are electrically connected to the GPU 120 and the heat dissipation unit 130, respectively.
  • the substrate management controller 110 reads the temperature information from the GPU 120 according to the I2C address of the GPU 120, and controls the heat dissipation unit 130 to perform heat dissipation according to the read temperature information.
  • the existing baseboard management controller cannot recognize the I2C address of multiple models of peripheral devices through the same I2C resource, and when the models of multiple peripheral devices are the same, the I2C addresses of the respective peripheral devices also collide, so when When multiple peripheral devices of the same type are inserted in the motherboard, one I2C resource must be set for each peripheral device, resulting in waste of management resources.
  • the embodiment of the present invention provides a management path determination. Method and device. The technical solution is as follows:
  • a method for determining a management path comprising:
  • the baseboard management controller sends a control command including connection information to a switch control unit electrically connected to the baseboard management controller;
  • the switch control unit is connected to a control end of the multi-way switch, the multiple The strobe switch further includes a first data end and a second data end, the second data end includes N ports, the baseboard management controller is electrically connected to the first data end, and the second data end is Each of the N ports is electrically connected to the N peripheral devices, and the connectivity information is used to indicate that the switch control unit controls the designated port of the first data end and the N ports to communicate with each other;
  • the baseboard management controller determines an I2C address of the target device from a pre-stored internal integrated circuit I2C address list, the target device is a peripheral device corresponding to the designated port; and the I2C address of the target device is used to make The baseboard management controller successfully reads device information from the target device when the first data end is in communication with the designated port;
  • the baseboard management controller determines a management path of the peripheral device according to an I2C address of the target device and the connectivity information.
  • the baseboard management controller determines an I2C address of the target device from the pre-stored internal integrated circuit I2C address list, including:
  • the baseboard management controller sends a device information read request to the target device according to an I2C address in the I2C address list, starting from a first I2C address in the I2C address list;
  • the baseboard management controller determines whether the target device returns a response to the device information read request within a predetermined time
  • the baseboard management controller determines an I2C address corresponding to the device information read request as the target device. I2C address.
  • the method further includes:
  • the baseboard management controller resets the target device, increments the number of resets of the target device, and sends the device to the target device according to the next I2C address in the I2C address list. Information read request.
  • the baseboard management controller determines an I2C address corresponding to the device information read request as the target device I2C address, including:
  • the initial value of the number of resets of the target device is 0, and the determining, according to the current reset times of the target device
  • the I2C address of the target device includes:
  • the I2C address of the target device is the n+1th I2C address in the I2C address list, where n is the current number of resets of the target device.
  • the baseboard management controller determines whether the target device returns to a predetermined time
  • the response of the device information read request includes:
  • time_out_count 1, determining that the target device does not return a response to the device information read request within a predetermined time
  • time_out_count If the value of the timeout count variable time_out_count is 0, it is determined that the target device returns a response to the device information read request within a predetermined time.
  • the peripheral device management component further includes the base management controller and the input unit Before the device management controller sends the device information read request to the target device according to the I2C address in the I2C address list, the method further includes:
  • the substrate management controller receives respective peripheral device identifiers input by the user through the input unit;
  • the baseboard management controller generates the I2C address list according to the I2C address corresponding to each of the peripheral device identifiers.
  • the method further includes:
  • the baseboard management controller sequentially reads the devices of the N peripheral devices in a polling manner according to the management paths of the N peripheral devices corresponding to the N ports of the second data terminals of the multiple routing switches. information;
  • the baseboard management controller manages the N peripheral devices according to respective device information of the N peripheral devices.
  • the switch control unit and the N peripheral devices respectively correspond to The peripheral interface is electrically connected, and before the substrate management controller sends the control instruction including the connection information to the switch control unit, the method further includes:
  • the device management controller receives the device connection information sent by the switch control unit; the device connection information is information obtained by the switch control unit through each of the peripheral interfaces, and is used to indicate the second data end. a port to which a peripheral device is connected;
  • the substrate management controller sends a control instruction including the connection information to the switch control unit, including:
  • a management path determining apparatus for use in a baseboard management controller, the apparatus comprising:
  • An instruction sending module configured to send a control instruction including connection information to a switch control unit electrically connected to the baseboard management controller; the switch control unit is connected to a control end of the multi-way switch, the multi-path
  • the strobe switch further includes a first data end and a second data end, the second data end includes N ports, the baseboard management controller is electrically connected to the first data end, and the second data end is Each of the N ports is electrically connected to the N peripheral devices, and the connectivity information is used to indicate that the switch control unit controls the designated port of the first data end and the N ports to communicate with each other;
  • An address determining module configured to determine an I2C address of the target device from a pre-stored internal integrated circuit I2C address list, where the target device is a peripheral device corresponding to the designated port, and the I2C address of the target device is used for
  • the baseboard management controller successfully reads device information from the target device when the first data end is in communication with the designated port;
  • a path determining module configured to determine, according to the I2C address of the target device and the connectivity information The management path of the target device is determined.
  • the address determining module includes:
  • a request sending submodule configured to send, according to the first I2C address in the I2C address list, a device information read request to the target device according to the I2C address in the I2C address list;
  • a determining submodule configured to determine whether the target device returns a response to the device information read request within a predetermined time
  • a first determining submodule configured to: if the judgment result of the determining submodule is that the target device returns a response to the device information read request within a predetermined time, the I2C corresponding to the device information read request is The address is determined as the I2C address of the target device.
  • the address determination module further includes:
  • a reset submodule configured to reset the target device if the judgment result of the determining submodule is that the target device does not return a response to the device information read request within a predetermined time
  • a counting submodule configured to increase a reset number of the target device by one after the reset submodule resets the target device
  • the request sending submodule is further configured to: after the reset submodule resets the target device, send a device information read request to the target device according to a next I2C address in the I2C address list.
  • the first determining submodule includes:
  • a reset number acquisition unit configured to acquire a current reset number of the target device
  • the first determining unit is configured to determine an I2C address of the target device according to the current reset number of the target device.
  • the first determining unit is configured to determine that an I2C address of the target device is in the I2C address list. The n+1th I2C address;
  • n is the current number of resets of the target device, and the initial value of the number of resets of the target device is 0.
  • the determining submodule includes:
  • a reading unit for reading a timeout count variable time_out_count
  • a second determining unit configured to: if the value of the timeout count variable time_out_count is 1, determining that the target device does not return a response to the device information read request within a predetermined time;
  • a third determining unit configured to: if the value of the timeout count variable time_out_count is 0, determine that the target device returns a response to the device information read request within a predetermined time.
  • the address determining module further includes:
  • an identifier receiving submodule configured to receive, before the request sending submodule sends a device information reading request to the target device according to the I2C address in the I2C address list, each peripheral device identifier input by the user through the input unit;
  • a second determining submodule configured to determine an I2C address corresponding to each of the peripheral device identifiers according to the respective peripheral device identifiers
  • a list generation submodule configured to generate the I2C address list according to an I2C address corresponding to each of the peripheral device identifiers
  • the substrate management controller is electrically connected to the input unit.
  • the device further includes:
  • a reading module configured to sequentially read the N peripheral devices in a polling manner according to a management path of the N peripheral devices corresponding to N ports of the second data terminals of the multiple routing switches Device information;
  • a management module configured to manage the N peripheral devices according to device information of each of the N peripheral devices.
  • the device further includes:
  • connection information receiving module configured to receive device connection information sent by the switch control unit before the command sending module sends a control instruction including the connection information to the switch control unit, where the device connection information is the switch
  • the control unit acquires information through a peripheral interface corresponding to each of the N peripheral devices, the device connection information is used to indicate the second a port to which a peripheral device is connected in the data terminal;
  • the instruction sending module is configured to send the control instruction according to the device connection information
  • the switch control unit is electrically connected to a peripheral interface corresponding to each of the N peripheral devices.
  • a control command including the connection information is sent to the switch control unit to control the first data end and the second of the multi-way strobe switch A designated port in the data terminal is connected, and an I2C address of the target device corresponding to the specified port is determined from the I2C address list, and a management path of the target device is determined according to the I2C address of the target device and the connection information, and the switch control unit is Controlling the multi-way strobe switch to strobe the baseboard management controller and a plurality of peripheral devices, that is, the polling of the plurality of peripheral devices can be realized, and the management of the plurality of peripheral devices by using one I2C resource is solved, and the prior art is solved.
  • the problem of one I2C resource must be set for each peripheral device to save management resources.
  • FIG. 1 is a schematic diagram of connection of a GPU management component provided by the background art of the present invention.
  • FIG. 2 is a flowchart of a method for determining a management path according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a peripheral device management component according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of a method for determining a management path according to another embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a peripheral device management component according to another embodiment of the present invention.
  • FIG. 6 is a structural diagram of a device of a management path determining apparatus according to an embodiment of the present invention.
  • FIG. 7 is a structural diagram of a device of a management path determining apparatus according to another embodiment of the present invention.
  • FIG. 2 is a flowchart of a method for determining a management path according to an embodiment of the present invention.
  • the management path determining method may include:
  • Step 202 The baseboard management controller sends a control command including the connection information to the switch control unit electrically connected to the baseboard management controller.
  • the switch control unit is connected to the control end of the multi-way switch, and the multi-way gating
  • the switch further includes a first data end and a second data end, the second data end includes N ports, the baseboard management controller is electrically connected to the first data end, and the N ports in the second data end respectively
  • the N peripheral devices are electrically connected, and the connectivity information is used to instruct the switch control unit to control the first data terminal to communicate with one of the N ports.
  • the management path determining method provided by the embodiment of the present invention can be used in a peripheral device management component of a motherboard to manage peripheral devices externally inserted by the motherboard.
  • FIG. 3 is a schematic structural diagram of a peripheral device management component according to an embodiment of the present invention.
  • the peripheral device management component may include: a baseboard management controller 310, a multi-way gating switch 320, a switch control unit 330, and a Peripheral device 340, N ⁇ 2;
  • the multiplexer switch 320 includes a control terminal 322, a first data terminal 324, and a second data terminal 326, and the second data terminal 326 includes at least N ports;
  • the substrate management controller 310 is electrically connected to the first data end 324 of the strobe switch 320 and the switch control unit 330, respectively;
  • the N ports of the second data terminal 326 of the strobe switch 320 are electrically connected to the N peripheral devices 340, respectively, and the control terminal 322 of the strobe switch 320 and the switch control unit 320 are electrically connected. Connected.
  • Step 204 The baseboard management controller determines an I2C address of the target device from a pre-stored internal integrated circuit I2C address list, where the target device is a peripheral device corresponding to the designated port; and the I2C address of the target device is used to manage the substrate.
  • the controller successfully reads the device information from the target device when the first data end is in communication with the designated port.
  • Step 206 The baseboard management controller determines a management path of the target device according to the I2C address of the target device and the connectivity information.
  • the substrate management controller controls the multi-way strobe switch to communicate with the substrate management controller and one of the N peripheral devices in the peripheral device management component through the switch control unit, and from the preset I2C address.
  • the list determines the I2C address of the peripheral device.
  • the peripheral device can be determined according to the I2C address and the current connectivity information of the multi-way strobe switch.
  • the backup management path The baseboard management controller sequentially strobes the connection with each peripheral device according to the multi-way strobe switch, and reads the device information of each peripheral device according to the I2C address of each peripheral device, and only needs to set one I2C resource in the process. That is, the device information of multiple peripheral devices can be read, and unified management of multiple peripheral devices is realized, and it is not necessary to separately set one I2C resource for each peripheral device, thereby achieving the purpose of saving management resources.
  • the management path determining method sends a control command including the connection information to the switch control unit by setting a multi-way strobe switch between the baseboard management controller and the N peripheral devices.
  • the I2C address of the target device corresponding to the designated port is determined from the I2C address list by controlling the designated port of the first data end and the second data end of the multi-way switch, according to the I2C address of the target device.
  • the connectivity information determines a management path of the target device, and the baseboard management controller sequentially gates the connection with each peripheral device according to the multiple routing switch, and reads the devices of each peripheral device according to the I2C address of each peripheral device.
  • Information in this process, only need to set up one I2C resource to read the device information of multiple peripheral devices, realize unified management of multiple peripheral devices, and do not need to separately set one I2C resource for each peripheral device, thereby saving The purpose of managing resources.
  • FIG. 4 is a flowchart of a method for determining a management path according to another embodiment of the present invention.
  • This embodiment can be used to determine the management path of each peripheral device in the peripheral device management component shown in FIG. 3 described above.
  • the management path determining method may include:
  • Step 402 The substrate management controller receives the identifiers of the peripheral devices input by the user through the input unit, determines the I2C addresses corresponding to the identifiers of the respective peripheral devices according to the identifiers of the respective peripheral devices, and generates the I2C address according to the I2C address corresponding to the identifier of each peripheral device. List.
  • the peripheral device management component includes, in addition to the baseboard management controller 310, the multiplex gate switch 320, the switch control unit 330, and the N peripheral devices 340, Also included is an input unit 350 that is electrically coupled to the substrate management controller.
  • the input unit 350 can be a webpage (Web) operation interface, where the user can input identification information of the peripheral device to be managed, such as the type, model or I2C address of the peripheral device, so that the substrate management controller can The identification information of these peripheral devices determines the I2C address of the peripheral device to be managed and is used for subsequent peripheral device management.
  • Web webpage
  • the administrator of the server inputs the respective inserted on the motherboard to the baseboard management controller through the web operation interface.
  • the model of the GPU the baseboard management controller queries the I2C address of each model GPU according to the input model of each GPU, and generates an I2C address list according to the I2C address of the GPU of each model that is queried.
  • Step 404 The baseboard management controller sends a control instruction including the connection information to the switch control unit, where the connection information is used to instruct the switch control unit to control the first data end to communicate with one of the N ports.
  • the connectivity information may be an identifier of a designated one of the second data ends of the multi-way switch.
  • the device connection information sent by the switch control unit may be received; the device connection information is information obtained by the switch control unit through each of the peripheral interfaces, A port for indicating that a peripheral device is connected to the second data end.
  • the baseboard management controller transmits a control command according to the device connection information.
  • peripheral device management component further includes a peripheral interface 342 corresponding to each peripheral device, and each peripheral device 340 is connected to the motherboard through a corresponding peripheral interface 342.
  • the switch control unit 330 is electrically connected to each of the peripheral interfaces 342.
  • the switch control unit can be a complex programmable logic device (CPLD).
  • CPLD complex programmable logic device
  • the switch control unit can be connected to the standard interface of each peripheral device on the main board in addition to being electrically connected to the baseboard management controller, when there is a standard interface.
  • the standard interface sends an indication signal to the switch control unit, and the switch control unit determines the device connection information according to the received indication signal, and the device connection information may be used to indicate the second data end of the multi-way switch.
  • the device connection information may include an identifier of a port corresponding to a standard interface to which the peripheral device is connected, in the second data end of the multi-way switch.
  • the switch control unit sends the device connection information to the baseboard management controller, and the baseboard management controller sends a control command including the connection information according to the device connection information to control the multi-way switch to connect the baseboard management controller and the plurality of peripherals.
  • the baseboard management controller sends a control command including the connection information according to the device connection information to control the multi-way switch to connect the baseboard management controller and the plurality of peripherals.
  • the substrate management controller can determine the I2C address of the peripheral device. For the specific determination process, refer to step 406 to the following steps. 412.
  • Step 406 the baseboard management controller starts from the first I2C address in the I2C address list. Sending a device information read request to the target device according to an I2C address in the I2C address list, where the target device is a peripheral device corresponding to the designated port.
  • Step 408 The baseboard management controller determines whether the target device returns a response to the device information read request within a predetermined time. If yes, the process proceeds to step 412; otherwise, the process proceeds to step 410.
  • the baseboard management controller may read the timeout count variable time_out_count; if the value of the timeout count variable time_out_count is 1, it is determined that the target device does not return a response to the device information read request within a predetermined time; When the value of the count variable time_out_count is 0, it is determined that the target device returns a response to the device information read request within a predetermined time.
  • the baseboard management controller starts timing after transmitting the device information read request according to an I2C address, and if the response returned by the peripheral device is received within a predetermined time, the time_out_count value in the internal code of the baseboard management controller is set to 0. If the response returned by the peripheral device is not received within the predetermined time, the time_out_count value will be set to 1.
  • the substrate management controller sends a device information read request, it is only necessary to read the value of the time_out_count variable in the code to determine whether the target device receiving the request returns within a predetermined time. The device information reads the response to the request.
  • Step 410 The baseboard management controller resets the target device, adds 1 to the target device, and sends a device information read request to the target device according to the next I2C address in the I2C address list, and returns to step 408. .
  • the target device does not return a response to the device information read request within a predetermined time, the I2C address of the target device is not the I2C address corresponding to the device information read request, and the baseboard management controller issues a reset.
  • the instruction resets the I2C resource to send the I2C signal the next time.
  • the reset timing of the reset command is 9 clock cycles.
  • the baseboard management controller also increments the number of resets of the target device by one, and resends the device information read request to the target device according to the next I2C address in the I2C address list.
  • the baseboard management controller determines that the target device returns a response to the device information read request within a predetermined time, it is no longer based on the next I2C in the I2C address list.
  • the address sends a device information read request to the target device to avoid performing unnecessary steps.
  • Step 412 The baseboard management controller determines the I2C address corresponding to the device information read request as the I2C address of the target device.
  • the baseboard management controller may acquire the current reset number of the target device, and determine an I2C address of the peripheral device according to the current reset number of the target device. Specifically, when the initial value of the number of resets of the target device is 0, it is determined that the I2C address of the target device is the n+1th I2C address in the I2C address list, and n is the current reset number of the target device.
  • the substrate management controller does not directly store the correspondence between the I2C address of the current sending device information read request and the peripheral device, and the memory resource and the processing resource are limited. It is indirectly indicated by recording the location of the current I2C address of the device information read request in the I2C address list.
  • the baseboard management controller sequentially sends the device information read request from the first I2C address in the I2C address list, according to the description in step 410, the substrate management controller will be currently connected when each read fails.
  • the number of resets of the peripheral device is increased by 1.
  • the bit sequence of the I2C address in the I2C address list of the request is the current reset number of the peripheral device plus one.
  • Step 414 The baseboard management controller determines a management path of the target device according to the I2C address of the target device and the connectivity information.
  • the substrate management controller controls the multi-way strobe switch to communicate with the substrate management controller and one of the N peripheral devices in the peripheral device management component through the switch control unit, and according to the preset I2C address.
  • the I2C address in the list sequentially reads the device information to the peripheral device.
  • the peripheral device successfully returns the device information within a predetermined time, indicating that the I2C address is the I2C address of the peripheral device.
  • the management path of the peripheral device can be determined. Specifically, when the multi-way switch is in the state indicated by the connectivity information, the path between the baseboard management controller and the I2C address of the designated peripheral device is the management path of the peripheral device.
  • the baseboard management controller controls the multi-way strobe switch to sequentially connect the peripheral devices through the switch control unit, that is, the management path of each peripheral device can be determined one by one according to the above method steps.
  • Step 416 The baseboard management controller sequentially reads the N peripheral devices in a polling manner according to the management paths of the N peripheral devices corresponding to the N ports in the second data terminal of the multiple routing switch.
  • Device information managing the N peripheral devices according to respective device information of the N peripheral devices.
  • the baseboard management controller sequentially strobes the connection with each peripheral device according to the multi-way strobe switch, and reads the device information of each peripheral device according to the I2C address of each peripheral device, and only needs to set one I2C resource in the process. That is, you can read device information of multiple peripheral devices. To achieve unified management of multiple peripheral devices, it is not necessary to separately set up one I2C resource for each peripheral device, thereby achieving the purpose of saving management resources.
  • the peripheral device management component further includes a heat dissipation unit 360 electrically connected to the baseboard management controller.
  • the device information may be temperature information of the corresponding peripheral device; the baseboard management controller controls the heat dissipation unit to dissipate heat for the N peripheral devices according to respective temperature information of the N peripheral devices.
  • a typical application is to manage heat dissipation of multiple GPUs.
  • the heat dissipation unit is a cooling fan
  • the substrate management controller can adjust the cooling fan according to temperature information of each GPU. Speed.
  • the peripheral device is not limited to the GPU, but may be a device connected to the motherboard through a standard interface, such as a network adapter (also called a network card) or a sound card, and
  • the management of peripheral devices is not limited to heat dissipation.
  • the embodiment of the present invention does not specifically limit the types of peripheral devices and the management methods of peripheral devices.
  • the management path determining method sends a control command including the connection information to the switch control unit by setting a multi-way strobe switch between the baseboard management controller and the N peripheral devices.
  • Controlling by the designated one of the first data end and the second data end of the multi-way strobe switch, sending a device information read request to the target device corresponding to the designated port according to the I2C address in the I2C address list, If the target device returns a response within a predetermined time, the I2C address corresponding to the request is determined as the I2C address of the target device, and the management path of the target device is determined according to the I2C address of the target device and the connectivity information, and the baseboard management controller According to the multi-way strobe switch, the connection with each peripheral device is sequentially strobed, and the device information of each peripheral device is read according to the I2C address of each peripheral device. In this process, only one I2C resource needs to be set to be read. Device information of multiple peripheral devices to
  • FIG. 6 shows a device structure diagram of a management path determining apparatus according to an embodiment of the present invention.
  • the device is used in the substrate management controller of the peripheral device management component shown in FIG. 3 or FIG. 5 described above.
  • the management path determining apparatus includes:
  • An instruction sending module 601 configured to switch to a switch electrically connected to the baseboard management controller
  • the unit transmits a control instruction including the connection information;
  • the switch control unit is connected to the control end of the multi-way switch, the multi-way switch further includes a first data end and a second data end, the second data
  • the terminal includes N ports, the baseboard management controller is electrically connected to the first data end, and the N ports of the second data end are respectively electrically connected to the N peripheral devices, and the connectivity information is used for Instructing the switch control unit to control that the first data end and one of the N ports are connected to each other;
  • the address determining module 602 is configured to determine an I2C address of the target device from a pre-stored internal integrated circuit I2C address list, where the target device is a peripheral device corresponding to the designated port, and the I2C address of the target device is used to enable The baseboard management controller successfully reads device information from the target device when the first data end is in communication with the designated port;
  • the path determining module 603 is configured to determine a management path of the target device according to the I2C address of the target device and the connectivity information.
  • the management path determining apparatus controls a first data end and a second data end in the multi-way switch by transmitting a control instruction including the connection information to the switch control unit.
  • a specified port is connected, and an I2C address of the target device corresponding to the specified port is determined from the I2C address list, and a management path of the target device is determined according to the I2C address of the target device and the connectivity information, and the baseboard management controller is configured according to the multipath
  • the strobe switch sequentially strobes the connection with each peripheral device, and reads the device information of each peripheral device according to the I2C address of each peripheral device. In this process, only one I2C resource needs to be set to read multiple peripheral devices.
  • the device information realizes unified management of multiple peripheral devices, and does not need to separately set one I2C resource for each peripheral device, thereby achieving the purpose of saving management resources.
  • FIG. 7 is a structural diagram of a device of a management path determining apparatus according to another embodiment of the present invention.
  • the device is used in the substrate management controller of the peripheral device management component shown in FIG. 3 or FIG. 5 described above.
  • the management path determining apparatus includes:
  • the command sending module 601 is configured to send a control command including the connection information to the switch control unit electrically connected to the baseboard management controller;
  • the switch control unit is connected to the control end of the multi-way switch, the plurality of The path strobe switch further includes a first data end and a second data end, the second data end includes N ports, the baseboard management controller is electrically connected to the first data end, and the second data end
  • the N ports are electrically connected to the N peripheral devices, and the connectivity information is used to indicate that the switch control unit controls the first data end and the N ports. Connected to a specified port;
  • the address determining module 602 is configured to determine an I2C address of the target device from a pre-stored internal integrated circuit I2C address list, where the target device is a peripheral device corresponding to the designated port, and the I2C address of the target device is used to enable The baseboard management controller successfully reads device information from the target device when the first data end is in communication with the designated port;
  • the path determining module 603 is configured to determine a management path of the target device according to the I2C address of the target device and the connectivity information.
  • the address determining module 602 includes:
  • the request sending submodule 602a is configured to send, according to the first I2C address in the I2C address list, a device information read request to the target device according to the I2C address in the I2C address list;
  • the determining sub-module 602b is configured to determine whether the target device returns a response to the device information read request within a predetermined time
  • the first determining sub-module 602c is configured to: if the determining result of the determining sub-module 602b is that the target device returns a response to the device information reading request within a predetermined time, the device information reading request is corresponding to The I2C address is determined as the I2C address of the target device.
  • the address determining module 602 further includes:
  • the reset sub-module 602d is configured to reset the target device if the determination result of the determining sub-module 602b is that the target device does not return a response to the device information read request within a predetermined time;
  • a counting sub-module 602e configured to: after the reset sub-module 602d resets the target device, increase the number of resets of the target device by one;
  • the request sending submodule 602a is further configured to: after the reset submodule 602d resets the target device, send a device information read request to the target device according to a next I2C address in the I2C address list. .
  • the first determining submodule 602c includes:
  • the reset number acquisition unit 602c1 is configured to acquire the current reset number of the target device
  • the first determining unit 602c2 is configured to determine an I2C address of the target device according to the current reset number of the target device.
  • the first determining unit 602c2 is configured to determine that an I2C address of the target device is an n+1th I2C address in the I2C address list;
  • n is the current number of resets of the target device, and the initial value of the number of resets of the target device is 0.
  • the determining submodule 602b includes:
  • the reading unit 602b1 is configured to read the timeout count variable time_out_count
  • the second determining unit 602b2 is configured to: if the value of the timeout count variable time_out_count is 1, determine that the target device does not return a response to the device information read request within a predetermined time;
  • the third determining unit 602b3 is configured to: if the value of the timeout count variable time_out_count is 0, determine that the target device returns a response to the device information read request within a predetermined time.
  • the address determining module 602 further includes:
  • the identifier receiving sub-module 602f is configured to receive, before the request sending sub-module 602a sends a device information reading request to the peripheral device corresponding to the port, according to the I2C address in the I2C address list, and receive each input by the user through the input unit.
  • Peripheral device identification ;
  • a second address determining sub-module 602g configured to determine an I2C address corresponding to each of the peripheral device identifiers according to the respective peripheral device identifiers;
  • the list generation sub-module 602h is configured to generate the I2C address list according to the I2C address corresponding to each of the peripheral device identifiers;
  • the substrate management controller is electrically connected to the input unit.
  • the device further includes:
  • the reading module 604 is configured to sequentially read the N peripheral devices in a polling manner according to management paths of N peripheral devices corresponding to N ports of the second data terminals of the multiple routing switches. Separate device information;
  • the management module 605 is configured to manage the N peripheral devices according to device information of the N peripheral devices.
  • the management module 605 is configured to control, according to temperature information of each of the N peripheral devices, the heat dissipation unit to dissipate heat for the N peripheral devices;
  • the device information is temperature information of the corresponding peripheral device; the peripheral device management component further includes the heat dissipation unit electrically connected to the substrate management controller.
  • the device further includes: a connection information receiving module 606;
  • the connection information receiving module 606 is configured to the switch sending module 601 to the switch Receiving, by the control unit, the device connection information sent by the switch control unit, before the control unit sends the control instruction including the connection information, where the device connection information is obtained by the switch control unit by using a peripheral interface corresponding to each of the N peripheral devices Information, the device connection information is used to indicate a port in the second data end to which a peripheral device is connected;
  • the instruction sending module 601 is configured to send the control instruction according to the device connection information
  • the switch control unit is electrically connected to a peripheral interface corresponding to each of the N peripheral devices.
  • the substrate management controller provided by the embodiment of the present invention controls a first data end and a second data end in the multi-way switch by transmitting a control instruction including the connection information to the switch control unit.
  • a specified port is connected, and the device information read request is sent to the target device corresponding to the designated port according to the I2C address in the I2C address list. If the target device returns a response within a predetermined time, the I2C address corresponding to the request is determined.
  • the baseboard management controller Determining, by the I2C address of the target device, the management path of the target device according to the I2C address of the target device and the connectivity information, and the baseboard management controller sequentially strobing the connection with each peripheral device according to the multiple strobe switch, and According to the I2C address of each peripheral device, the device information of each peripheral device is read.
  • the I2C resource needs to be set, that is, the device information of multiple peripheral devices can be read, and unified management of multiple peripheral devices is realized.
  • a separate I2C resource is set for each peripheral device, thereby saving management resources.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Computer Hardware Design (AREA)
  • Small-Scale Networks (AREA)

Abstract

La présente invention se rapporte au domaine de l'informatique. L'invention concerne un procédé et un dispositif de détermination de trajet et gestion, le procédé consistant : à commander la communication d'une première extrémité de données avec un port spécifié parmi N ports d'une seconde extrémité de données dans un interrupteur de déclenchement multi-canal, à déterminer à partir d'une liste d'adresses I2C prédéfinie une adresse I2C d'un dispositif cible correspondant au port spécifié, et à déterminer un trajet de gestion du dispositif cible selon l'adresse I2C du dispositif cible et les informations de communication. Le procédé prévoit un interrupteur de déclenchement multi-canal entre un dispositif de commande de gestion de carte (BMC) et N dispositifs périphériques, commande l'interrupteur de déclenchement multi-canal par l'intermédiaire d'un dispositif de commande d'interrupteur pour interroger une pluralité de dispositifs périphériques, ce qui permet ainsi d'aborder le problème de l'état de la technique selon lequel une ressource I2C doit être prévue respectivement pour chacun des dispositifs périphériques, et d'économiser une ressource de gestion.
PCT/CN2015/081079 2014-11-25 2015-06-09 Procédé et dispositif de détermination de trajet de gestion WO2016082522A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410692726.6 2014-11-25
CN201410692726.6A CN104516838B (zh) 2014-11-25 2014-11-25 管理路径确定方法及装置

Publications (1)

Publication Number Publication Date
WO2016082522A1 true WO2016082522A1 (fr) 2016-06-02

Family

ID=52792170

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/081079 WO2016082522A1 (fr) 2014-11-25 2015-06-09 Procédé et dispositif de détermination de trajet de gestion

Country Status (2)

Country Link
CN (1) CN104516838B (fr)
WO (1) WO2016082522A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112835516A (zh) * 2021-01-14 2021-05-25 浪潮电子信息产业股份有限公司 一种raid卡监控管理方法、系统及装置

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104516838B (zh) * 2014-11-25 2018-02-09 华为技术有限公司 管理路径确定方法及装置
US10210110B2 (en) * 2016-09-14 2019-02-19 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Associating data buses and management bus connections for peripheral devices
CN110532196B (zh) * 2019-08-30 2021-10-01 英业达科技有限公司 多地址响应的复杂可程序逻辑装置及运作方法
CN112463691B (zh) * 2020-12-04 2024-04-02 威创集团股份有限公司 一种基于i2c的线路切换电路和通信系统
CN112527718B (zh) * 2020-12-28 2023-04-14 西安易朴通讯技术有限公司 多路选择开关的控制方法、装置、电子设备和存储介质
TWI764481B (zh) * 2020-12-28 2022-05-11 技嘉科技股份有限公司 機箱管理控制裝置以及機箱管理控制系統
CN113238114B (zh) * 2021-07-12 2021-10-22 深圳市永达电子信息股份有限公司 一种通用型触摸屏自动检测装置和方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103069771A (zh) * 2010-08-18 2013-04-24 英特尔公司 用于可管理性、安全路由和端点访问的方法、装置和系统
CN103312525A (zh) * 2012-03-06 2013-09-18 百度在线网络技术(北京)有限公司 服务器业务网与管理网混合部署系统、服务器和交换机
CN103345407A (zh) * 2013-06-21 2013-10-09 华为技术有限公司 控制电路、连通控制器、连通控制方法及主板
CN104516838A (zh) * 2014-11-25 2015-04-15 华为技术有限公司 管理路径确定方法及装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006195821A (ja) * 2005-01-14 2006-07-27 Fujitsu Ltd 情報処理システムの制御方法、情報処理システム、ダイレクトメモリアクセス制御装置、プログラム
CN104123260A (zh) * 2013-04-29 2014-10-29 鸿富锦精密工业(深圳)有限公司 Bmc只读内存控制系统及方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103069771A (zh) * 2010-08-18 2013-04-24 英特尔公司 用于可管理性、安全路由和端点访问的方法、装置和系统
CN103312525A (zh) * 2012-03-06 2013-09-18 百度在线网络技术(北京)有限公司 服务器业务网与管理网混合部署系统、服务器和交换机
CN103345407A (zh) * 2013-06-21 2013-10-09 华为技术有限公司 控制电路、连通控制器、连通控制方法及主板
CN104516838A (zh) * 2014-11-25 2015-04-15 华为技术有限公司 管理路径确定方法及装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112835516A (zh) * 2021-01-14 2021-05-25 浪潮电子信息产业股份有限公司 一种raid卡监控管理方法、系统及装置
CN112835516B (zh) * 2021-01-14 2023-05-23 浪潮电子信息产业股份有限公司 一种raid卡监控管理方法、系统及装置

Also Published As

Publication number Publication date
CN104516838B (zh) 2018-02-09
CN104516838A (zh) 2015-04-15

Similar Documents

Publication Publication Date Title
WO2016082522A1 (fr) Procédé et dispositif de détermination de trajet de gestion
US10846160B2 (en) System and method for remote system recovery
CN107346292B (zh) 服务器系统及其计算机实现的方法
WO2016037503A1 (fr) Procédé et dispositif de configuration de topologie pcie
US8972615B2 (en) Communication with input/output system devices
US10127170B2 (en) High density serial over LAN management system
WO2016037501A1 (fr) Procédé et appareil de gestion de dispositif
US7694029B2 (en) Detecting miscabling in a storage area network
TW201903561A (zh) 當電源供應單元的待機電源故障時可操作之系統及其電腦實現方法、非暫態電腦可讀取儲存媒體
TWI665390B (zh) 複數冷卻風扇模組控制方法、伺服器系統以及非暫態電腦可讀儲存媒體
WO2017032112A1 (fr) Procédé pour communiquer avec une carte dépourvue de cpu, et dispositif de communication
WO2020233435A1 (fr) Procédé, appareil et système de traitement de données
US10969844B2 (en) Method and apparatus of controlling network node by providing a virtual power distribution unit
US20110093574A1 (en) Multi-blade interconnector
US9319313B2 (en) System and method of forwarding IPMI message packets based on logical unit number (LUN)
EP3442166B1 (fr) Composition par attributs de réseau
WO2024103829A1 (fr) Procédé de configuration de port, composant et appareil d'extension de disque dur
CN111835559A (zh) 一种自动配置方法、装置、设备及机器可读存储介质
CN107506323B (zh) 一种热插拔处理方法及装置
US8924597B2 (en) Domain management processor
CN104407714A (zh) 一种实现远程多电脑切换的主板及其使用方法
US8832341B2 (en) Dynamically determining a primary or slave assignment based on receiving a power signal from the cable at the port of a device
US8051153B2 (en) Switch apparatus for a remote boot sequence of a network device
US11604602B2 (en) Control device, execution device and device management method
CN114610663B (zh) 一种支持多种板卡的装置和服务器

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15863651

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15863651

Country of ref document: EP

Kind code of ref document: A1