WO2011024248A1 - Information processing device, information processing system, and control method - Google Patents

Information processing device, information processing system, and control method Download PDF

Info

Publication number
WO2011024248A1
WO2011024248A1 PCT/JP2009/064696 JP2009064696W WO2011024248A1 WO 2011024248 A1 WO2011024248 A1 WO 2011024248A1 JP 2009064696 W JP2009064696 W JP 2009064696W WO 2011024248 A1 WO2011024248 A1 WO 2011024248A1
Authority
WO
WIPO (PCT)
Prior art keywords
command
processing unit
channel
port
information processing
Prior art date
Application number
PCT/JP2009/064696
Other languages
French (fr)
Japanese (ja)
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 富士通株式会社
Priority to PCT/JP2009/064696 priority Critical patent/WO2011024248A1/en
Publication of WO2011024248A1 publication Critical patent/WO2011024248A1/en

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/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices

Definitions

  • This case relates to an information processing apparatus, an information processing system, and a control method.
  • the server device as the information processing device is connected to a client device as a terminal device that causes the server device to perform original business, for example, deposit / withdrawal processing business in a bank. Then, the server device processes the original work such as the updating of the deposit balance of each account based on the deposit and withdrawal information sent from the client device.
  • a server device is connected not only to a client device that is originally required for the execution of business, but also to a management device as a terminal device for system control.
  • the server device responds to a command from the management device.
  • the state of the sensor of each part in the server device is acquired and transmitted to the management device, and operations such as power on / off are performed.
  • IPMI Intelligent Platform Management Interface
  • a command conforming to this IPMI is prepared.
  • the server device collects sensor information or performs operations such as power on / off in accordance with the command, and collects sensor information and turns the power on.
  • a response as a response indicating the normal / abnormal end result of the operation such as / off is transmitted to the management apparatus.
  • commands There are two types of commands.
  • One is a standard command for causing the server apparatus to execute a single detection process, for example, reading the value of a certain sensor in the server apparatus and returning the read result as a response.
  • the other type is a command called OEM (Original Equipment Manufacturing) command.
  • OEM Olet Equipment Manufacturing
  • a plurality of sensors in a server device are specified, and the values of the plurality of sensors are read and transmitted to the management device. It is a command that can include execution of a plurality of detection processes.
  • a case where a plurality of (for example, two) management devices for system control are connected to one server device will be described.
  • a plurality of management devices for system control are connected to one server device.
  • a plurality of management devices are provided. Necessary.
  • the server device has a first input / output port and a second input / output port, the first management device is connected to the first input / output port, and the second management device is connected to the second input / output port.
  • the server device has a plurality of input / output ports, it is necessary to increase the number of circuit boards for the input / output ports.
  • one input / output port of a server device is shared by connecting a plurality of management devices to the server device via a hub, an increase in cost is avoided.
  • the processing of the command received later is awaited.
  • the process waits for a long time until the processing of the OEM command is completed. It is a big problem because it affects.
  • the device configuration information is acquired by the IPMI OEM command
  • the macro command for performing a plurality of processes corresponding to the OEM command is decomposed into a plurality of single commands, and the macro command and the single command are mixed. Is input.
  • JP 2008-269194 A JP-A-6-62080 JP-A-63-193252
  • the problem of the information processing apparatus, the information processing system, and the control method disclosed herein is to suppress a delay in command processing even when a plurality of terminal apparatuses share one port of the information processing apparatus.
  • the information processing apparatus of the present disclosure is connected to a terminal device via a communication path, performs processing according to a command received from the terminal device, and transmits a command processing result to the terminal device Device.
  • the information processing apparatus disclosed herein includes a port, a command processing unit, and a pre-processing unit.
  • the port plays a role of performing communication with the terminal device.
  • the command processing unit executes processing according to a command received from the terminal device by the port and generates a command processing result.
  • the pre-processing unit is interposed between the port and the command processing unit, and whether the command received by the port is a single command for instructing a single process or a compound command that can include a plurality of instructions. Different processing is performed accordingly.
  • the pre-processing unit outputs a single command to the command processing unit via the first channel for a single command.
  • the pre-processing unit divides the compound command into single commands for the compound command, and outputs the divided single commands to the command processing unit via a second channel different from the first channel. .
  • a pre-processing unit is provided, and a single command and a compound command are output to the command processing unit via separate channels, so that the compound command processing Even within, a single command is interrupted and processed. Therefore, even when a complex command that requires a long time is being executed, a situation where a single command is kept waiting until the completion is avoided.
  • FIG. 4 is a sequence diagram of command processing in the comparative example shown in FIGS. 2 and 3.
  • FIG. 6 is a block diagram illustrating a configuration of a pre-stage processing unit and a connection relationship with a logical channel unit in the embodiment illustrated in FIG. 5.
  • FIG. 9 is a sequence diagram of command processing in the embodiment shown in FIGS.
  • FIG. 1 is a block configuration unit of a server apparatus as an information processing apparatus according to an embodiment of the present case.
  • the server device 10 is a server device equipped with an intelligent platform management interface (IPMI: Intelligent Platform Management Interface).
  • IPMI Intelligent Platform Management Interface
  • the server device 10 is connected to two management devices A and B as terminal devices for system control via a LAN (Local Area Network).
  • LAN Local Area Network
  • the server device 10 includes a system control unit (MMB: Management Board) as a service processor (Service Processor), two system boards 12, two IO (Input Output) devices 13, two power supplies 14, and 2 A fan 14 (herein referred to as “component” as a generic term) is provided. These are merely examples, and other types of parts may be included, and the number is not limited to two.
  • MMB Management Board
  • Each of the components 12 to 14 has sensors 121, 131, 141, and 151, respectively, and is connected to the system control unit 11 through an I2C (Inter-Integrated Circuit) interface.
  • I2C Inter-Integrated Circuit
  • the management device can send a command to the system control unit via the LAN to acquire the sensor state and change the sensor setting value.
  • a plurality of management devices (in this case, typically two management devices A and B) can be connected by interposing a LAN hub, and commands and IPMI-compliant commands can be exchanged with the system control unit 11. Responses are sent and received.
  • FIG. 2 is a block diagram showing a configuration of a system control unit as a comparative example.
  • FIG. 1 In the case of the comparative example shown in FIG. 2, the overall configuration shown in FIG. 1 is the same as that of the embodiment, and FIG. 1 is adopted as it is. However, here, the system control unit is denoted by reference numeral “11A” to indicate that it is a comparative example.
  • the system control unit 11A as a comparative example shown in FIG. 2 includes a port 111, an IPMI control unit 112, and a driver 113.
  • the IPMI control unit 112 includes a logical channel unit 1121, a command processing unit 1122, and a device unit 1123.
  • the port 111 includes a circuit board as hardware, and is connected to the management apparatuses A and B via a LAN hub via a LAN.
  • the management apparatuses A and B and the server apparatus 10 are connected to each other. (See FIG. 1).
  • the IPMI control unit 112 includes hardware such as a CPU (Central Processing Unit) that executes a program and software that is executed on the hardware to realize IPMI.
  • a CPU Central Processing Unit
  • the storage unit 115 stores a program that is executed by the CPU and builds the IPMI control unit 112 on the CPU.
  • This program includes program parts for constructing a logical channel unit 1121, a command processing unit 1122, and a device unit 1123 constituting the IPMI control unit 112 on the CPU. Each of these program parts is executed by the CPU, so that a logical channel unit 1121, a command processing unit 1122, and a device unit 1123 are constructed.
  • the logical channel unit 1121 plays a role of logically associating the port 111 and the command processing unit 1122.
  • the command processing unit 1122 acquires a sensor state, changes a sensor setting, and the like through the device unit 1123 and the drive unit 113, and generates a response representing the acquired sensor state. Further, the device unit 1123 logically associates the command processing unit 1122 with the drive unit 113.
  • the storage unit 115 also stores a program called a driver.
  • the drive unit 113 is constructed by executing this driver by the CPU.
  • the drive unit 113 is connected to the components 12 to 15 via the I2C interface, and acquires the state of each sensor 121 to 151 that is a physical layer, changes the settings, and the like.
  • FIG. 3 is an explanatory diagram of the logical channel section in the comparative example shown in FIG.
  • the logical channel section itself has the same configuration in the embodiments described later.
  • the logical channel unit 1121 has software executed on the CPU as described above.
  • a plurality of logical channels (CH # 4 and CH # B) are formed in the CPU into which the software has been read in order to have versatility.
  • the management apparatus A and the management apparatus B try to divide the ports 111, it is necessary to physically add circuit boards, which increases costs. Further, the management apparatus A and the management apparatus B need to set different IP addresses as the IP (Internet Protocol) address of the server apparatus 10.
  • IP Internet Protocol
  • PCI Peripheral Component Interconnect
  • the management apparatus A and the management apparatus B share one port 111 by interposing a LAN hub between the management apparatus A and the management apparatus B.
  • an IPMI command issued by either management device A or management device B is received by one shared port 111 and one logical channel assigned to this port 111 ( In FIG. 3, the command processing is performed on the logical channel CH # 4). Therefore, when a command is received from a plurality of clients at almost the same timing, the command processing unit 1122 performs processing sequentially from the command received first, as described with reference to FIG.
  • FIG. 4 is a sequence diagram of command processing in the comparative example shown in FIGS.
  • the OEM command is input to the command processing unit via the logical channel CH # 4 and executed (S2).
  • the OEM command can include a large number of processes such as requesting acquisition of the states of a large number of sensors.
  • the command processing unit sequentially acquires the states of Sensor # 0 to Sensor # 31.
  • a large number of sensor states are acquired, a considerably long time is required.
  • FIG. 5 is a block diagram showing the configuration of the system control unit in the present embodiment.
  • a pre-processing unit 114 is added between the port 111 and the IPMI control unit 112, as compared with the system control unit 11A of the comparative example shown in FIG. Similarly to the IPMI control unit 112, the pre-processing unit 114 also has a program for the pre-processing unit stored in the storage unit 115, and is constructed on the CPU by the CPU executing the program. .
  • the other points are the same as those of the system control unit 11A of the comparative example described with reference to FIG.
  • FIG. 6 is a block diagram showing the configuration of the pre-processing unit and the connection relationship with the logical channel unit in the embodiment shown in FIG.
  • the pre-processing unit 114 decodes the command whether the command received at the port 111 is a standard command or an OEM command, and changes the processing according to the decoding result. That is, for the standard command, the pre-processing unit 114 transmits the standard command to the command processing unit 1122 via the logical channel CH # 4. As for the OEM command, the OEM command is divided into standard commands in the pre-processing unit 114, and the divided single command is transmitted to the command processing unit via another logical channel CH # B. Further, the pre-processing unit 114 transmits the response received from the logical channel CH # 4 to the port 111. Further, in the pre-processing unit 114, for the response received from the other logical channel CH # B, the response corresponding to each standard command obtained by dividing the OEM command is combined with the response corresponding to the OEM command to the port 111. Send it.
  • the pre-stage processing unit 114 includes a selector 1141 and a division / combination unit 1142.
  • the selector 1141 is connected to the port 111, one logical channel CH # 4, and the dividing / combining unit 1142.
  • Divider / combiner 1142 is connected to selector 1141 and the other logical channel CH # B.
  • the selector 1141 receives a command from the port 111, and when the command is a standard command, sends the standard command to the command processing unit 1122 via the logical channel CH # 4. Further, when the command received from the port 111 is an OEM command, the selector 1141 sends the OEM command to the dividing / combining unit 1142. Further, the selector 1141 sends the response received via the logical channel CH # 4 and the response received from the dividing / combining unit 1142 to the port 111 for transmission.
  • the dividing / combining unit 1142 divides the OEM command received from the selector 1141 into standard commands, and sends the divided standard commands to the command processing unit 1121 via the logical channel CH # B.
  • the division / combination unit 1142 combines a response corresponding to each of the divided standard commands received from the command processing unit 1122 via the logical channel CH # B with the response of the OEM command before division. 1141 is sent.
  • FIG. 7 is a diagram showing an example of the data structure of the OEM command.
  • the OEM command has a 2-byte structure, a command code indicating the type of the command is described in the 0th byte, and a part number for identifying the part is described in the 1st byte.
  • each of the system board 12, the IO device 13, the power supply 14, and the fan 15 shown in FIG. 1 is referred to as a “component”.
  • a part number specifying each “part” is described. That is, the OEM command shown in FIG. 7 is a command that specifies that processing corresponding to the command code specified by the 0th byte is to be collectively executed for the “component” specified by the 1st byte.
  • FIG. 1 shows, as an example, a case where one sensor 121 to 151 exists for each of parts 12 to 15. However, there may be a large number of sensors in one “component”.
  • the command code of the OEM command representing the command called “GetSensorState request” instructing to acquire the sensor state is described as the command code of the OEM command shown in FIG.
  • the states of all the sensors mounted on the “component” designated by the first byte are acquired.
  • a total of 32 sensors, Sensor # 0 to Sensor # 31 are mounted on the “component” designated by the first byte.
  • the selector 1141 constituting the pre-stage processing unit 114 shown in FIG. 6 receives an OEM command as exemplified in FIG. 7, the received OEM command is sent to the dividing / combining unit 1142.
  • the dividing / combining unit 1142 divides the OEM command received from the selector 1141 into standard commands. Specifically, in the example described here, 1 of all the sensors (here, 32 sensors including Sensor # 0 to Sensor # 31) mounted on the “component” designated by the first byte. It is divided into 32 standard commands corresponding to each. These 32 standard commands are commands for instructing acquisition of the state of each one sensor. These 32 standard commands are sequentially sent from the logical channel CH # B to the command processing unit 1122.
  • FIG. 8 is a diagram illustrating an example of a data structure of a response to the OEM command.
  • the response shown in FIG. 8 is an example of a response to an OEM command called “GetSensorState request” instructing acquisition of the state of a sensor mounted on a certain “component”.
  • a response corresponding to the command “GetSensorState request” is referred to as a “GetSensorReading response”.
  • a command code is recorded in the 0th byte of the response, and a completion code indicating that the processing for the command code is completed in the 1st byte. Further, information indicating the state of each sensor of Sensor # 0 to Sensor # 31 is recorded in each of the third to 33rd bytes.
  • the division / combination unit 1142 combines the responses to the standard commands with the responses corresponding to the OEM command before the division as shown in FIG.
  • the combined response as shown in FIG. 8 is sent to the port 111 via the selector 1141, and is sent from the port 111 to the client that issued the OEM command.
  • FIG. 9 is a sequence diagram of command processing in the embodiment shown in FIGS.
  • the management apparatus A issues a “GetSensorState request” as an OEM command instructing acquisition of the states of all the sensors mounted on the designated “component” (S1). Then, the “GetSensorState request” is divided into a plurality of standard commands instructing acquisition of the state of each sensor in the pre-processing unit (S2). Of the plurality of standard commands obtained by this division, a “GetSensorReading request (Sensor # 0)” instructing acquisition of the sensor state of Sensor # 0 is sent to the command processing unit via the logical channel CH # B. (S3).
  • the command processing unit acquires the state of the designated Sensor # 0, and returns a “GetSensorReading response” indicating the state of Sensor # 0 to the preceding processing unit via the logical channel CH # B.
  • a “GetSensorReading request (Sensor # 1)” instructing acquisition of the state of Sensor # 1 is sent from the preceding processing unit to the command processing unit via the logical channel CH # B (S4).
  • the command processing unit acquires the state of the designated Sensor # 1, and returns a “GetSensorReading response” indicating the state of Sensor # 1 to the upstream processing unit via the logical channel CH # B.
  • one of the standard commands (here, this standard command is referred to as "other request”) is issued from the management apparatus B (S5).
  • This “other request” is input to the command processing unit via the pre-processing unit and the logical channel CH # 4.
  • the command processing unit executes the processing of the “other request”, and the “other response” corresponding to the “other command” is returned to the management apparatus B via the logical channel CH # 4 and the previous processing unit.
  • sensor information # 0 to # 31 for all sensors are combined into one response (see FIG. 8).
  • This combined response that is, “GetSensorReading” corresponding to the “GetSensorState request” as the OEM command issued by the management apparatus A in step S1 is returned to the management apparatus A (S8).
  • the standard command when another standard command is received during execution of the OEM command, the standard command can be processed without waiting for the OEM command to end.
  • the OEM command is a command that can be added / changed according to a user request. For example, when a new OEM command is to be added, in the case of the comparative example shown in FIG. 2, it is necessary to modify the command processing unit 1122 in the IPMI control unit 112 so that the new OEM command can be interpreted. If this is done, the IPMI control unit 112 itself is customized, and the compatibility of the IPMI control unit cannot be achieved. On the other hand, in the case of the present embodiment, the pre-processing unit 114 shown in FIG. 5 may be modified, and the IPMI control unit 112 itself may remain the standard, and the IPMI control unit can be made a common part.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)

Abstract

Provided is a server device as an information processing device connected to a client device via a communication path.  The server device includes: a port; a command processing unit which processes a command; and a preprocessing unit arranged between the port and the command processing unit.  The server device can suppress a delay of command processing even when the port is shared by a plurality of client devices.  The preprocessing unit checks whether a command received by the port is a single command indicating a single process or a composite command which can contain a plurality of instructions.  If the received command is a single command, the preprocessing unit sends it directly to the command processing unit via a first channel.  If the received command is a composite command, the preprocessing unit divides it into single commands and sends them to the command processing unit via a second channel.

Description

情報処理装置、情報処理システム及び制御方法Information processing apparatus, information processing system, and control method
 本件は、情報処理装置、情報処理システム及び制御方法に関する。 This case relates to an information processing apparatus, an information processing system, and a control method.
 情報処理装置としてのサーバ装置には、そのサーバ装置に本来業務、例えば銀行における入出金処理業務等を行なわさせる端末装置としてのクライアント装置が接続される。そして、そのサーバ装置は、クライアント装置から送られてくる入金、出金の情報に基づく各口座の預金残高の更新などの本来業務を処理する。このようなサーバ装置には、本来業務の実行に必要なクライアント装置だけでなく、さらにシステム制御用の端末装置としての管理装置が接続され、そのサーバ装置では、その管理装置からのコマンドに応じて、そのサーバ装置内の各部のセンサの状態を取得してその管理装置に送信したり、電源オン/オフ等の操作等を行なう。サーバ装置を、そのサーバ装置で動作するOS(Operating System)の種類によらず遠隔から監視、操作するインタフェースとしては、例えばインテリジェントプラットフォーム管理インタフェース(IPMI:Intelligent Platform Management Interface)が知られている。このIPMIでは、このIPMIに準拠したコマンドが用意される。管理装置からサーバ装置に向けてコマンドを送ると、サーバ装置では、そのコマンドに従い、センサの情報を収集したり電源のオン/オフ等の操作を行なって、センサの情報の収集結果や電源のオン/オフ等の操作の正常/異常終了結果を表わす応答としてのレスポンスを管理装置に送信する。コマンドは大別して2種類存在する。1つは、例えばサーバ装置内のある1つのセンサの値を読み取ってその読み取った結果をレスポンスとして返信させるといった、サーバ装置に単一の検出処理を実行させる標準コマンドである。もう1種類は、OEM(Original Equipment Manufacturing)コマンドと称されるコマンドであり、例えばサーバ装置内の一連の複数のセンサを指定してそれら複数のセンサそれぞれの値を読み取って管理装置に向けて送信させる、といった、複数の検出処理の実行を含ませ得るコマンドである。 The server device as the information processing device is connected to a client device as a terminal device that causes the server device to perform original business, for example, deposit / withdrawal processing business in a bank. Then, the server device processes the original work such as the updating of the deposit balance of each account based on the deposit and withdrawal information sent from the client device. Such a server device is connected not only to a client device that is originally required for the execution of business, but also to a management device as a terminal device for system control. The server device responds to a command from the management device. The state of the sensor of each part in the server device is acquired and transmitted to the management device, and operations such as power on / off are performed. As an interface for remotely monitoring and operating a server device regardless of the type of OS (Operating System) operating on the server device, for example, an intelligent platform management interface (IPMI: Intelligent Platform Management Interface) is known. In this IPMI, a command conforming to this IPMI is prepared. When a command is sent from the management device to the server device, the server device collects sensor information or performs operations such as power on / off in accordance with the command, and collects sensor information and turns the power on. A response as a response indicating the normal / abnormal end result of the operation such as / off is transmitted to the management apparatus. There are two types of commands. One is a standard command for causing the server apparatus to execute a single detection process, for example, reading the value of a certain sensor in the server apparatus and returning the read result as a response. The other type is a command called OEM (Original Equipment Manufacturing) command. For example, a plurality of sensors in a server device are specified, and the values of the plurality of sensors are read and transmitted to the management device. It is a command that can include execution of a plurality of detection processes.
 ここで、1台のサーバ装置にシステム制御用の複数台(例えば2台)の管理装置が接続される場合について説明する。例えば管理装置が置かれる管理室が複数存在する場合や、1つの管理室内であっても複数の管理担当者がいて各管理担当者ごとに管理装置を1台ずつ割り当てる場合に管理装置が複数台必要となる。 Here, a case where a plurality of (for example, two) management devices for system control are connected to one server device will be described. For example, when there are a plurality of management rooms where management devices are placed, or when there are a plurality of management personnel even in one management room and one management device is assigned to each management personnel, a plurality of management devices are provided. Necessary.
 サーバ装置が第1の入出力ポートと第2の入出力ポートを持ち、第1の管理装置を第1の入出力ポートに接続し、第2の管理装置を第2の入出力ポートに接続する場合など、サーバ装置が入出力ポートを複数持つと入出力ポート用の回路基板を増設する必要があるなど、コストアップを免れない。一方、複数の管理装置をハブを介してサーバ装置に接続することによりサーバ装置の1つの入出力ポートを共用すると、コストアップは免れる。しかしながら、この場合、入出力ポートを共用している複数台の管理装置からそのサーバ装置に相前後してコマンドが送信された場合に、後から受信された方のコマンドの処理が待たされることになる。特に複数の処理の実行を指示するOEMコマンドが先に受信されると、そのOEMコマンドの処理が終わるまで長時間待たされることになり、リアルタイム性が要求される場合には、システム全体の性能に影響を与えるため大きな問題となる。 The server device has a first input / output port and a second input / output port, the first management device is connected to the first input / output port, and the second management device is connected to the second input / output port. In some cases, if the server device has a plurality of input / output ports, it is necessary to increase the number of circuit boards for the input / output ports. On the other hand, if one input / output port of a server device is shared by connecting a plurality of management devices to the server device via a hub, an increase in cost is avoided. However, in this case, when a command is transmitted to the server device from a plurality of management devices sharing the input / output port, the processing of the command received later is awaited. Become. In particular, when an OEM command instructing the execution of a plurality of processes is received first, the process waits for a long time until the processing of the OEM command is completed. It is a big problem because it affects.
 ここで、IPMIのOEMコマンドによって装置の構成情報を取得すること、OEMコマンドに対応する複数の処理を行うマクロコマンドを複数の単一コマンドに分解すること、および、マクロコマンドと単一コマンドが混在して入力されることが開示されている。 Here, the device configuration information is acquired by the IPMI OEM command, the macro command for performing a plurality of processes corresponding to the OEM command is decomposed into a plurality of single commands, and the macro command and the single command are mixed. Is input.
特開2008-269194号公報JP 2008-269194 A 特開平6-62080号公報JP-A-6-62080 特開昭63-193252号公報JP-A-63-193252
 本件開示の情報処理装置、情報処理システム、および制御方法の課題は、複数台の端末装置が情報処理装置の1つのポートを共用する場合であってもコマンドの処理の遅れを抑えることにある。 The problem of the information processing apparatus, the information processing system, and the control method disclosed herein is to suppress a delay in command processing even when a plurality of terminal apparatuses share one port of the information processing apparatus.
 本件開示の情報処理装置は、通信路を介して端末装置に接続され、その端末装置から受信するコマンドに応じた処理を実行するとともに、その端末装置に対し、コマンドの処理結果を送信する情報処理装置である。ここで、本件開示の情報処理装置は、ポートとコマンド処理部と前段処理部とを有する。ポートは、上記端末装置との通信を行う役割りを担っている。また、コマンド処理部は、上記ポートが端末装置から受信するコマンドに応じた処理を実行するとともに、コマンドの処理結果を生成する。前段処理部は、ポートとコマンド処理部との間に介在し、ポートが受信するコマンドが単一の処理を指示する単一コマンドであるか、複数の指示を含ませ得る複合コマンドであるかに応じて、異なる処理を行なう。すなわち、この前段処理部は、単一コマンドについてはその単一コマンドを第1のチャネルを介してコマンド処理部に出力する。またこの前段処理部は、複合コマンドについてはその複合コマンドを単一コマンドに分割するとともに分割後の各単一コマンドを第1のチャネルとは異なる第2のチャネルを介してコマンド処理部に出力する。 The information processing apparatus of the present disclosure is connected to a terminal device via a communication path, performs processing according to a command received from the terminal device, and transmits a command processing result to the terminal device Device. Here, the information processing apparatus disclosed herein includes a port, a command processing unit, and a pre-processing unit. The port plays a role of performing communication with the terminal device. The command processing unit executes processing according to a command received from the terminal device by the port and generates a command processing result. The pre-processing unit is interposed between the port and the command processing unit, and whether the command received by the port is a single command for instructing a single process or a compound command that can include a plurality of instructions. Different processing is performed accordingly. That is, the pre-processing unit outputs a single command to the command processing unit via the first channel for a single command. The pre-processing unit divides the compound command into single commands for the compound command, and outputs the divided single commands to the command processing unit via a second channel different from the first channel. .
 本件開示の情報処理装置、情報処理システム及び制御方法によれば、前段処理部が設けられ、単一コマンドと複合コマンドとで別々のチャネルを介してコマンド処理部に出力するため、複合コマンドの処理中であっても単一コマンドが割り込んで処理される。したがって、長時間を要する複合コマンド実行中であっても、それが終了するまで単一コマンドが待たされる事態が回避される。 According to the information processing apparatus, the information processing system, and the control method disclosed in the present disclosure, a pre-processing unit is provided, and a single command and a compound command are output to the command processing unit via separate channels, so that the compound command processing Even within, a single command is interrupted and processed. Therefore, even when a complex command that requires a long time is being executed, a situation where a single command is kept waiting until the completion is avoided.
本件の一実施形態としてのサーバ装置のブロック構成部である。It is a block composition part of a server apparatus as one embodiment of this case. 比較例としてのシステム制御部の構成を示すブロック図である。It is a block diagram which shows the structure of the system control part as a comparative example. 図2に示す比較例における論理チャネル部の説明図である。It is explanatory drawing of the logical channel part in the comparative example shown in FIG. 図2,図3に示す比較例におけるコマンド処理のシーケンス図である。FIG. 4 is a sequence diagram of command processing in the comparative example shown in FIGS. 2 and 3. 本実施形態におけるシステム制御部の構成を示すブロック図ある。It is a block diagram which shows the structure of the system control part in this embodiment. 図5に示す実施形態における前段処理部の構成および論理チャネル部との接続関係を示すブロック図である。FIG. 6 is a block diagram illustrating a configuration of a pre-stage processing unit and a connection relationship with a logical channel unit in the embodiment illustrated in FIG. 5. OEMコマンドのデータ構造の一例を示す図である。It is a figure which shows an example of the data structure of an OEM command. OEMコマンドに対するレスポンスのデータ構造の一例を示す図である。It is a figure which shows an example of the data structure of the response with respect to an OEM command. 図5~図8に示す実施形態におけるコマンド処理のシーケンス図ある。FIG. 9 is a sequence diagram of command processing in the embodiment shown in FIGS.
 以下本件の実施形態を説明する。 Hereinafter, the embodiment of this case will be described.
 図1は、本件の一実施形態である情報処理装置としてのサーバ装置のブロック構成部である。 FIG. 1 is a block configuration unit of a server apparatus as an information processing apparatus according to an embodiment of the present case.
 このサーバ装置10は、インテリジェントプラットフォーム管理インタフェース(IPMI:Intelligent Platform Management Interface)を搭載するサーバ装置である。このサーバ装置10は、LAN(Local Area Network)を介してシステム制御用の端末装置としての2台の管理装置A,Bと接続されている。 The server device 10 is a server device equipped with an intelligent platform management interface (IPMI: Intelligent Platform Management Interface). The server device 10 is connected to two management devices A and B as terminal devices for system control via a LAN (Local Area Network).
 このサーバ装置10は、サービスプロセッサ(Service Processor)としてのシステム制御部(MMB:Management Board)、2台のシステムボード12、2台のIO(Input Output)装置13、2台の電源14、および2台のファン14(ここでは、これらの総称として「部品」と称する)を備えている。これらは例示であって、他の種類の部品を含んでいてもよく、数も2台ずつに限られるものではない。各部品12~14は、それぞれセンサ121,131,141,151を持ち、システム制御部11との間がI2C(Inter-Integrated Circuit)インタフェースで接続される。ここには、各部品ごとに代表的に1つのセンサを示したが、多数のセンサを持ってもよい。 The server device 10 includes a system control unit (MMB: Management Board) as a service processor (Service Processor), two system boards 12, two IO (Input Output) devices 13, two power supplies 14, and 2 A fan 14 (herein referred to as “component” as a generic term) is provided. These are merely examples, and other types of parts may be included, and the number is not limited to two. Each of the components 12 to 14 has sensors 121, 131, 141, and 151, respectively, and is connected to the system control unit 11 through an I2C (Inter-Integrated Circuit) interface. Here, one sensor is representatively shown for each component, but a number of sensors may be provided.
 管理装置は、LAN経由でシステム制御部にコマンドを送り、センサの状態を取得したり、センサの設定値等を変更したりすることができる。管理装置はLAN用のハブを介在させることにより複数(ここでは代表的に管理装置Aと管理装置Bとの2台)接続可能であり、システム制御部11との間ではIPMIに準拠したコマンドやレスポンスの送受信が行なわれる。 The management device can send a command to the system control unit via the LAN to acquire the sensor state and change the sensor setting value. A plurality of management devices (in this case, typically two management devices A and B) can be connected by interposing a LAN hub, and commands and IPMI-compliant commands can be exchanged with the system control unit 11. Responses are sent and received.
 以下、サーバ装置10のシステム制御部を中心に説明する。 Hereinafter, the system control unit of the server device 10 will be mainly described.
 以下では本実施形態の説明を一旦離れ、比較例としてのシステム制御部の構成を説明する。 In the following, the description of the present embodiment will be given once and the configuration of the system control unit as a comparative example will be described.
 図2は、比較例としてのシステム制御部の構成を示すブロック図である。 FIG. 2 is a block diagram showing a configuration of a system control unit as a comparative example.
 この図2に示す比較例の場合も、図1に示す全体構成図は実施形態と共通であり、図1をそのまま採用する。ただし、ここでは、比較例であることを示すためにシステム制御部を符号‘11A’で示す。 In the case of the comparative example shown in FIG. 2, the overall configuration shown in FIG. 1 is the same as that of the embodiment, and FIG. 1 is adopted as it is. However, here, the system control unit is denoted by reference numeral “11A” to indicate that it is a comparative example.
 図2に示す比較例としてのシステム制御部11Aは、ポート111と、IPMI制御部112と、ドライバ113とを有する。また、IPMI制御部112は、論理チャネル部1121、コマンド処理部1122、およびデバイス部1123を有する。ここで、ポート111は、ハードウェアとしての回路基板を含んで構成されて管理装置A,Bとの間にLAN用ハブを介在させてLANで接続され、管理装置A,Bとこのサーバ装置10(図1参照)との間の通信を担う。 The system control unit 11A as a comparative example shown in FIG. 2 includes a port 111, an IPMI control unit 112, and a driver 113. The IPMI control unit 112 includes a logical channel unit 1121, a command processing unit 1122, and a device unit 1123. Here, the port 111 includes a circuit board as hardware, and is connected to the management apparatuses A and B via a LAN hub via a LAN. The management apparatuses A and B and the server apparatus 10 are connected to each other. (See FIG. 1).
 また、IPMI制御部112は、プログラムを実行するCPU(Central Processing Unit)等のハードウェアとそのハードウェア上で実行されてIPMIを実現するソフトウェアとを有する。 In addition, the IPMI control unit 112 includes hardware such as a CPU (Central Processing Unit) that executes a program and software that is executed on the hardware to realize IPMI.
 ここで、記憶部115には、CPUで実行されてそのCPU上にIPMI制御部112を構築するプログラムが記憶されている。このプログラムは、IPMI制御部112を構成する論理チャネル部1121、コマンド処理部1122、およびデバイス部1123をCPU上に構築する各プログラム部品を有する。これらの各プログラム部品がCPUで実行されることにより論理チャネル部1121、コマンド処理部1122、およびデバイス部1123が構築される。論理チャネル部1121は、ポート111とコマンド処理部1122を論理的に関連づける役割を担う。また、コマンド処理部1122は、デバイス部1123およびドライブ部113を通じてセンサの状態の取得やセンサの設定の変更等を行ない、取得したセンサの状態等を表わすレスポンスを生成する。さらにデバイス部1123は、コマンド処理部1122とドライブ部113を論理的に関連づける。 Here, the storage unit 115 stores a program that is executed by the CPU and builds the IPMI control unit 112 on the CPU. This program includes program parts for constructing a logical channel unit 1121, a command processing unit 1122, and a device unit 1123 constituting the IPMI control unit 112 on the CPU. Each of these program parts is executed by the CPU, so that a logical channel unit 1121, a command processing unit 1122, and a device unit 1123 are constructed. The logical channel unit 1121 plays a role of logically associating the port 111 and the command processing unit 1122. Further, the command processing unit 1122 acquires a sensor state, changes a sensor setting, and the like through the device unit 1123 and the drive unit 113, and generates a response representing the acquired sensor state. Further, the device unit 1123 logically associates the command processing unit 1122 with the drive unit 113.
 ここで記憶部115には、ドライバと称されるプログラムも記憶されている。このドライバがCPUで実行されることにより、ドライブ部113が構築される。ドライブ部113は、各部品12~15とI2Cインタフェースを介して接続され、物理層である各センサ121~151の状態の取得や設定変更等を行なう。 Here, the storage unit 115 also stores a program called a driver. The drive unit 113 is constructed by executing this driver by the CPU. The drive unit 113 is connected to the components 12 to 15 via the I2C interface, and acquires the state of each sensor 121 to 151 that is a physical layer, changes the settings, and the like.
 図3は、図2に示す比較例における論理チャネル部の説明図である。尚、論理チャネル部自体は、後述する実施形態でも同一の構成を有する。 FIG. 3 is an explanatory diagram of the logical channel section in the comparative example shown in FIG. The logical channel section itself has the same configuration in the embodiments described later.
 論理チャネル部1121は、前述の通り、CPU上で実行されるソフトウェアを有する。この論理チャネル部1121には、汎用性を持たせるために、ソフトウェアを読み込んだCPUの内部に複数の論理チャネル(CH#4,CH#B)が形成される。これに対し管理装置Aと管理装置Bとでポート111を分けようとすると回路基板を物理的に増設する必要がありコストアップを伴う。また、管理装置Aと管理装置Bとで、サーバ装置10のIP(Internet Protocol)アドレスとして別々のIPアドレスを設定する必要がある。さらに、例えばPCI(Peripheral Component Interconnect)等のIO(Input Output)スロットに空きスロットがない場合など、増設自体が物理的に不可能な場合もある。そこでここでは、管理装置Aと管理装置Bとで、サーバ装置10との間にLAN用ハブを介在させることで1つのポート111を共用する。この場合、管理装置Aと管理装置Bのいずれの管理装置で発行されたIPMIコマンドであっても、共用している1つのポート111で受信し、このポート111に割り当てられた1つの論理チャネル(図3では論理チャネルCH#4)でコマンドの処理を行なうことになる。したがってほぼ同じタイミングで複数クライアントからコマンドを受けた場合、コマンド処理部1122では、図4を参照して説明するように、先に受けたコマンドから順にシーケンシャルに処理が行なわれる。 The logical channel unit 1121 has software executed on the CPU as described above. In the logical channel unit 1121, a plurality of logical channels (CH # 4 and CH # B) are formed in the CPU into which the software has been read in order to have versatility. On the other hand, if the management apparatus A and the management apparatus B try to divide the ports 111, it is necessary to physically add circuit boards, which increases costs. Further, the management apparatus A and the management apparatus B need to set different IP addresses as the IP (Internet Protocol) address of the server apparatus 10. Furthermore, there are cases where expansion itself is physically impossible, for example, when there is no empty slot in an IO (Input Output) slot such as PCI (Peripheral Component Interconnect). Therefore, here, the management apparatus A and the management apparatus B share one port 111 by interposing a LAN hub between the management apparatus A and the management apparatus B. In this case, an IPMI command issued by either management device A or management device B is received by one shared port 111 and one logical channel assigned to this port 111 ( In FIG. 3, the command processing is performed on the logical channel CH # 4). Therefore, when a command is received from a plurality of clients at almost the same timing, the command processing unit 1122 performs processing sequentially from the command received first, as described with reference to FIG.
 図4は、図2,図3に示す比較例におけるコマンド処理のシーケンス図である。 FIG. 4 is a sequence diagram of command processing in the comparative example shown in FIGS.
 ここでは先ず管理装置AからOEMコマンドによる要求としてのリクエストがあり、そのOEMコマンドが論理チャネルCH#4を介してコマンド処理部に入力されて実行される(S2)。ここで、OEMコマンドには、例えば多数のセンサの状態の取得を要求するなど、多数の処理を含ませることができる。ここでは、Sensor #0~Sensor#31からなる32個のセンサの状態の取得をリクエストするOEMコマンドを受け取り、そのOEMコマンドを実行するものとする。この場合、コマンド処理部では、Sensor #0~Sensor#31の状態を順次取得する。ここでは多数のセンサの状態を取得するため、かなりの長時間を要する。全てのセンサ(Sensor #0~Sensor#31)の状態の取得が終了すると、それらのセンサの状態を報告するレスポンスが論理チャネルCH#4を介して(S4)、管理装置Aに返信される(S5)。 Here, first, there is a request as a request by the OEM command from the management apparatus A, and the OEM command is input to the command processing unit via the logical channel CH # 4 and executed (S2). Here, the OEM command can include a large number of processes such as requesting acquisition of the states of a large number of sensors. Here, it is assumed that an OEM command requesting acquisition of the status of 32 sensors consisting of Sensor # 0 to Sensor # 31 is received and the OEM command is executed. In this case, the command processing unit sequentially acquires the states of Sensor # 0 to Sensor # 31. Here, since a large number of sensor states are acquired, a considerably long time is required. When the acquisition of the status of all the sensors (Sensor # 0 to Sensor # 31) is completed, a response reporting the status of these sensors is returned to the management apparatus A via the logical channel CH # 4 (S4) ( S5).
 ここで、管理装置Aが発行したOEMコマンドを受け取った直後に管理装置Bからの他のリクエストを受け取ったものとする(S3)。このリクエストは、管理装置Aから受け取ったOEMコマンドの実行が終了しそのOEMコマンドに対応するレスポンスが返信されるまで、すなわちステップS5まで待たされることになる。管理装置Bからのリクエストはその後実行され(S6)、そのレスポンスが論理チャネルCH#4を介して(S7)、管理装置Bに返信される(S8)。 Here, it is assumed that another request from the management apparatus B is received immediately after receiving the OEM command issued by the management apparatus A (S3). This request is waited until the execution of the OEM command received from the management apparatus A is completed and a response corresponding to the OEM command is returned, that is, until step S5. The request from the management apparatus B is subsequently executed (S6), and the response is returned to the management apparatus B via the logical channel CH # 4 (S7) (S8).
 この場合、管理装置Bが発行したリクエストが緊急性を有するリクエストであっても、管理装置Aから受け取ったOEMコマンドの実行終了まで長時間待たされることになり、性能上問題となる。 In this case, even if the request issued by the management apparatus B is an urgent request, it will wait for a long time until the execution of the OEM command received from the management apparatus A, resulting in a performance problem.
 以上の比較例を踏まえ、以下、本件の実施形態の説明に戻る。 Based on the above comparative examples, the description returns to the embodiment of the present case.
 図5は、本実施形態におけるシステム制御部の構成を示すブロック図である。 FIG. 5 is a block diagram showing the configuration of the system control unit in the present embodiment.
 この図5に示すシステム制御部11では、図2に示す比較例のシステム制御部11Aと比べ、ポート111とIPMI制御部112との間に前段処理部114が追加されている。この前段処理部114も、IPMI制御部112と同様、記憶部115に記憶されている前段処理部用のプログラムを有し、そのプログラムがCPUで実行されるされることによりCPU上に構築される。それ以外の点は図2を参照して説明した比較例のシステム制御部11Aと同一であり、説明は省略する。 In the system control unit 11 shown in FIG. 5, a pre-processing unit 114 is added between the port 111 and the IPMI control unit 112, as compared with the system control unit 11A of the comparative example shown in FIG. Similarly to the IPMI control unit 112, the pre-processing unit 114 also has a program for the pre-processing unit stored in the storage unit 115, and is constructed on the CPU by the CPU executing the program. . The other points are the same as those of the system control unit 11A of the comparative example described with reference to FIG.
 図6は、図5に示す実施形態における前段処理部の構成および論理チャネル部との接続関係を示すブロック図である。 FIG. 6 is a block diagram showing the configuration of the pre-processing unit and the connection relationship with the logical channel unit in the embodiment shown in FIG.
 前段処理部114は、ポート111で受信したコマンドが標準コマンドであるかOEMコマンドであるか、コマンドのデコードを行い、当該デコード結果に応じて処理を変更する。すなわち、この前段処理部114では標準コマンドについては、その標準コマンドを論理チャネルCH#4を介してコマンド処理部1122に伝える。またOEMコマンドについては、この前段処理部114内でそのOEMコマンドを標準コマンドに分割した上で、その分割された単一のコマンドを別の論理チャネルCH#Bを介してコマンド処理部に伝える。さらに、この前段処理部114では、論理チャネルCH#4から受け取ったレスポンスをポート111に送信させる。さらに、この前段処理部114では、もう一方の論理チャネルCH#Bから受け取ったレスポンスについては、OEMコマンドを分割した標準コマンドそれぞれに対応するレスポンスをOEMコマンドに対応するレスポンスに結合してポート111に送信させる。 The pre-processing unit 114 decodes the command whether the command received at the port 111 is a standard command or an OEM command, and changes the processing according to the decoding result. That is, for the standard command, the pre-processing unit 114 transmits the standard command to the command processing unit 1122 via the logical channel CH # 4. As for the OEM command, the OEM command is divided into standard commands in the pre-processing unit 114, and the divided single command is transmitted to the command processing unit via another logical channel CH # B. Further, the pre-processing unit 114 transmits the response received from the logical channel CH # 4 to the port 111. Further, in the pre-processing unit 114, for the response received from the other logical channel CH # B, the response corresponding to each standard command obtained by dividing the OEM command is combined with the response corresponding to the OEM command to the port 111. Send it.
 この前段処理部114は、セレクタ1141と分割・結合部1142を有する。セレクタ1141は、ポート111と一方の論理チャネルCH#4と、分割・結合部1142に接続される。分割・結合部1142は、セレクタ1141ともう一方の論理チャネルCH#Bに接続される。セレクタ1141は、ポート111からコマンドを受け取り、そのコマンドが標準コマンドの場合はその標準コマンドを論理チャネルCH#4を介してコマンド処理部1122に送る。また、セレクタ1141は、ポート111から受け取ったコマンドがOEMコマンドの場合は、そのOEMコマンドを分割・結合部1142に送る。さらにそのセレクタ1141は、論理チャネルCH#4を介して受け取ったレスポンス、および分割・結合部1142から受け取ったレスポンスをポート111に送り、送信させる。 The pre-stage processing unit 114 includes a selector 1141 and a division / combination unit 1142. The selector 1141 is connected to the port 111, one logical channel CH # 4, and the dividing / combining unit 1142. Divider / combiner 1142 is connected to selector 1141 and the other logical channel CH # B. The selector 1141 receives a command from the port 111, and when the command is a standard command, sends the standard command to the command processing unit 1122 via the logical channel CH # 4. Further, when the command received from the port 111 is an OEM command, the selector 1141 sends the OEM command to the dividing / combining unit 1142. Further, the selector 1141 sends the response received via the logical channel CH # 4 and the response received from the dividing / combining unit 1142 to the port 111 for transmission.
 また分割・結合部1142は、セレクタ1141から受け取ったOEMコマンドを標準コマンドに分割して分割後の標準コマンドを論理チャネルCH#Bを介してコマンド処理部1121に送る。また、この分割・結合部1142では、コマンド処理部1122から論理チャネルCH#Bを介して受け取った上記の分割後の標準コマンドそれぞれに対応するレスポンスを分割前のOEMコマンドのレスポンスに結合してセレクタ1141に送る。 Further, the dividing / combining unit 1142 divides the OEM command received from the selector 1141 into standard commands, and sends the divided standard commands to the command processing unit 1121 via the logical channel CH # B. The division / combination unit 1142 combines a response corresponding to each of the divided standard commands received from the command processing unit 1122 via the logical channel CH # B with the response of the OEM command before division. 1141 is sent.
 図7は、OEMコマンドのデータ構造の一例を示す図である。 FIG. 7 is a diagram showing an example of the data structure of the OEM command.
 ここでは、OEMコマンドは2バイト構成であり、0バイト目にはそのコマンドの種類を表わすコマンドコードが記載され、1バイト目には部品を識別する部品番号が記載される。尚、上述したように、ここでは、図1に示すシステムボード12、IO装置13、電源14、およびファン15の1つずつを「部品」と称している。図7に示すOEMコマンドの1バイト目には、各「部品」を特定する部品番号が記載されている。すなわち、この図7に示すOEMコマンドは、0バイト目で指定したコマンド・コードに応じた処理を1バイト目で指定した「部品」について一括して実行することを指定するコマンドである。 Here, the OEM command has a 2-byte structure, a command code indicating the type of the command is described in the 0th byte, and a part number for identifying the part is described in the 1st byte. As described above, each of the system board 12, the IO device 13, the power supply 14, and the fan 15 shown in FIG. 1 is referred to as a “component”. In the first byte of the OEM command shown in FIG. 7, a part number specifying each “part” is described. That is, the OEM command shown in FIG. 7 is a command that specifies that processing corresponding to the command code specified by the 0th byte is to be collectively executed for the “component” specified by the 1st byte.
 図1には、例として、1つの部品12~15それぞれについてセンサ121~151が1つずつ存在する場合について示されている。ただし、1つの「部品」内には多数のセンサが存在する場合もある。 FIG. 1 shows, as an example, a case where one sensor 121 to 151 exists for each of parts 12 to 15. However, there may be a large number of sensors in one “component”.
 ここでは図7に示すOEMコマンドのコマンド・コードとしてセンサの状態を取得することを指示する「GetSensorStateリクエスト」と呼ばれるコマンドを表わすOEMコマンドのコマンド・コードが記載されるものとする。この場合、1バイト目で指定した「部品」に搭載された全てのセンサの状態が取得される。ここでは、1バイト目で指定した「部品」には、Sensor#0~Sensor#31の合計32個のセンサが搭載されているものとする。 Here, it is assumed that the command code of the OEM command representing the command called “GetSensorState request” instructing to acquire the sensor state is described as the command code of the OEM command shown in FIG. In this case, the states of all the sensors mounted on the “component” designated by the first byte are acquired. Here, it is assumed that a total of 32 sensors, Sensor # 0 to Sensor # 31, are mounted on the “component” designated by the first byte.
 図6に示す前段処理部114を構成するセレクタ1141では、図7に例示するようなOEMコマンドを受け取ると、その受け取ったOEMコマンドを分割・結合部1142に送る。分割・結合部1142は、セレクタ1141から受け取ったOEMコマンドを標準コマンドに分割する。具体的には、ここで説明している例では、1バイト目で指定された「部品」に搭載された全てのセンサ(ここではSensor#0~Sensor#31からなる32個のセンサ)の1つずつに対応する32個の標準コマンドに分割される。それら32個の標準コマンドは、各1つずつのセンサの状態の取得を指示するコマンドである。それら32個の標準コマンドが順次に論理チャネルCH#Bからコマンド処理部1122に送り込まれる。 When the selector 1141 constituting the pre-stage processing unit 114 shown in FIG. 6 receives an OEM command as exemplified in FIG. 7, the received OEM command is sent to the dividing / combining unit 1142. The dividing / combining unit 1142 divides the OEM command received from the selector 1141 into standard commands. Specifically, in the example described here, 1 of all the sensors (here, 32 sensors including Sensor # 0 to Sensor # 31) mounted on the “component” designated by the first byte. It is divided into 32 standard commands corresponding to each. These 32 standard commands are commands for instructing acquisition of the state of each one sensor. These 32 standard commands are sequentially sent from the logical channel CH # B to the command processing unit 1122.
 図8は、OEMコマンドに対するレスポンスのデータ構造の一例を示す図である。この図8に示すレスポンスは、ある「部品」に搭載されたセンサの状態の取得を指示した、「GetSensorStateリクエスト」と呼ばれるOEMコマンドに対するレスポンスの例である。ここでは、「GetSensorStateリクエスト」のコマンドに対応するレスポンスを「GetSensorReadingレスポンス」と呼ぶ。 FIG. 8 is a diagram illustrating an example of a data structure of a response to the OEM command. The response shown in FIG. 8 is an example of a response to an OEM command called “GetSensorState request” instructing acquisition of the state of a sensor mounted on a certain “component”. Here, a response corresponding to the command “GetSensorState request” is referred to as a “GetSensorReading response”.
 図8に示すように、このレスポンスの0バイト目にはコマンド・コード、1バイト目にはそのコマンド・コードに対する処理が完了したことを示す完了コードが記録される。さらに3バイト目から33バイト目のそれぞれで、Sensor#0~Sensor#31の各センサの状態を表わす情報が記録される。 As shown in FIG. 8, a command code is recorded in the 0th byte of the response, and a completion code indicating that the processing for the command code is completed in the 1st byte. Further, information indicating the state of each sensor of Sensor # 0 to Sensor # 31 is recorded in each of the third to 33rd bytes.
 図6に示す分割・結合部1142には、コマンド処理部1122から論理チャネルCH#Bを介して、上記のように多数に分割した標準コマンドそれぞれについてのレスポンスが入力される。分割・結合部1142では、それら各標準コマンドに対する各レスポンスを、図8に示すような、分割前のOEMコマンドに対応するレスポンスに結合する。この図8に示すように結合されたレスポンスは、セレクタ1141を介してポート111に送られ、ポート111から、そのOEMコマンドを発行したクライアントに向けて送信される。 6 is input to the dividing / combining unit 1142 shown in FIG. 6 through the logical channel CH # B from the command processing unit 1122 for each of the standard commands divided into a large number as described above. The division / combination unit 1142 combines the responses to the standard commands with the responses corresponding to the OEM command before the division as shown in FIG. The combined response as shown in FIG. 8 is sent to the port 111 via the selector 1141, and is sent from the port 111 to the client that issued the OEM command.
 図9は、図5~図8に示す実施形態におけるコマンド処理のシーケンス図である。 FIG. 9 is a sequence diagram of command processing in the embodiment shown in FIGS.
 ここでは先ず、管理装置Aから、指定した「部品」に搭載された全てのセンサの状態の取得を指示する、OEMコマンドとしての「GetSensorStateリクエスト」が発行される(S1)。すると、その「GetSensorStateリクエスト」が前段処理部において、センサ1つずつの状態の取得を指示する複数の標準コマンドに分割される(S2)。この分割により得られた複数の標準コマンドのうちの、Sensor#0のセンサの状態の取得を指示する「GetSensorReadingリクエスト(Sensor#0)」が、論理チャネルCH#Bを介してコマンド処理部に送られる(S3)。コマンド処理部では、指定されたSensor#0の状態を取得し、論理チャネルCH#Bを介して前段処理部にSensor#0の状態を表わす「GetSensorReadingレスポンス」を返す。次に同様にして、Sensor#1の状態の取得を指示する「GetSensorReadingリクエスト(Sensor#1)」が前段処理部から論理チャネルCH#Bを介してコマンド処理部に送られる(S4)。コマンド処理部では、指定されたSensor#1の状態を取得し論理チャネルCH#Bを介して前段処理部にSensor#1の状態を表わす「GetSensorReadingレスポンス」を返す。各センサ(Sensor#0~Sensor#31)についてこれを繰り返している途中で、管理装置Bから標準コマンドのうちの1つ(ここではこの標準コマンドを「他リクエスト」と称する)が発行されたものとする(S5)。この「他リクエスト」は前段処理部および論理チャネルCH#4を介してコマンド処理部に入力される。コマンド処理部ではその「他リクエスト」の処理が実行され、その「他コマンド」に対応する「他レスポンス」が論理チャネルCH#4および前段処理部を介して管理装置Bに返信される。 Here, first, the management apparatus A issues a “GetSensorState request” as an OEM command instructing acquisition of the states of all the sensors mounted on the designated “component” (S1). Then, the “GetSensorState request” is divided into a plurality of standard commands instructing acquisition of the state of each sensor in the pre-processing unit (S2). Of the plurality of standard commands obtained by this division, a “GetSensorReading request (Sensor # 0)” instructing acquisition of the sensor state of Sensor # 0 is sent to the command processing unit via the logical channel CH # B. (S3). The command processing unit acquires the state of the designated Sensor # 0, and returns a “GetSensorReading response” indicating the state of Sensor # 0 to the preceding processing unit via the logical channel CH # B. Next, similarly, a “GetSensorReading request (Sensor # 1)” instructing acquisition of the state of Sensor # 1 is sent from the preceding processing unit to the command processing unit via the logical channel CH # B (S4). The command processing unit acquires the state of the designated Sensor # 1, and returns a “GetSensorReading response” indicating the state of Sensor # 1 to the upstream processing unit via the logical channel CH # B. While this is being repeated for each sensor (Sensor # 0 to Sensor # 31), one of the standard commands (here, this standard command is referred to as "other request") is issued from the management apparatus B (S5). This “other request” is input to the command processing unit via the pre-processing unit and the logical channel CH # 4. The command processing unit executes the processing of the “other request”, and the “other response” corresponding to the “other command” is returned to the management apparatus B via the logical channel CH # 4 and the previous processing unit.
 その後、管理装置Aが発行したOEMコマンドが分割された標準コマンドである各「GetSensorStateリクエスト」の処理がさらに続けられる。 Thereafter, the processing of each “GetSensorState request”, which is a standard command obtained by dividing the OEM command issued by the management apparatus A, is further continued.
 この処理は、前段処理部がSensor#31についての「GetSensorReadingレスポンス(Sensor#31)」を受け取るまで続けられる(S6)。 This process is continued until the pre-processing unit receives a “GetSensorReading response (Sensor # 31)” for Sensor # 31 (S6).
 その後、前段処理部では、全てのセンサ(Sensor#0~Sensor#31)についてのセンサ情報#0~#31が1つのレスポンス(図8参照)に結合される。この結合されたレスポンス、すなわち、ステップS1において管理装置Aが発行したOEMコマンドとしての「GetSensorStateリクエスト」に対応する「GetSensorReading」が管理装置Aに返信される(S8)。 Thereafter, in the pre-processing unit, sensor information # 0 to # 31 for all sensors (Sensor # 0 to Sensor # 31) are combined into one response (see FIG. 8). This combined response, that is, “GetSensorReading” corresponding to the “GetSensorState request” as the OEM command issued by the management apparatus A in step S1 is returned to the management apparatus A (S8).
 この図9に示すように、本実施形態ではOEMコマンド実行中に他の標準コマンドを受信した場合、その標準コマンドをOEMコマンド終了まで待たせることなく処理することができる。 As shown in FIG. 9, in this embodiment, when another standard command is received during execution of the OEM command, the standard command can be processed without waiting for the OEM command to end.
 さらに、本実施形態によれば、以下に説明するように、IPMI制御部を実現するプログラムについて互換性を有する共通部品化を図ることができる。OEMコマンドはユーザの要求により追加・変更が可能なコマンドである。例えば新たなOEMコマンドを追加しようとしたとき、図2に示す比較例の場合は、その新たなOEMコマンドを解釈できるようにIPMI制御部112の中のコマンド処理部1122を改造する必要がある。これを行なうと、IPMI制御部112自体をカスタマイズすることになり、IPMI制御部の互換性がが図られない。これに対し、本実施形態の場合、図5に示す前段処理部114を改造すればよく、IPMI制御部112自体は標準のままでよくIPMI制御部の共通部品化が図られる。 Furthermore, according to the present embodiment, as will be described below, it is possible to make a common component compatible with the program that implements the IPMI control unit. The OEM command is a command that can be added / changed according to a user request. For example, when a new OEM command is to be added, in the case of the comparative example shown in FIG. 2, it is necessary to modify the command processing unit 1122 in the IPMI control unit 112 so that the new OEM command can be interpreted. If this is done, the IPMI control unit 112 itself is customized, and the compatibility of the IPMI control unit cannot be achieved. On the other hand, in the case of the present embodiment, the pre-processing unit 114 shown in FIG. 5 may be modified, and the IPMI control unit 112 itself may remain the standard, and the IPMI control unit can be made a common part.
 10  サーバ装置
 11,11A  システム制御部
 12  システムボード
 12C  インタフェース
 13  IO装置
 14  電源
 15  ファン
 111  ポート
 112  IPMI制御部
 113  ドライブ部
 114  前段処理部
 121,131,141,151  センサ
 1121  論理チャネル
 1122  コマンド処理部
 1123  デバイス処理部
 1141  セレクタ
 1142  分割・結合部
DESCRIPTION OF SYMBOLS 10 Server apparatus 11, 11A System control part 12 System board 12C Interface 13 IO apparatus 14 Power supply 15 Fan 111 Port 112 IPMI control part 113 Drive part 114 Pre-stage process part 121,131,141,151 Sensor 1121 Logical channel 1122 Command process part 1123 Device processing unit 1141 Selector 1142 Division / combination unit

Claims (10)

  1.  通信路を介して端末装置に接続され、前記端末装置から受信するコマンドに応じた処理を実行するとともに、前記端末装置に対し、前記コマンドの処理結果をを送信する情報処理装置において、
     前記端末装置との通信を行うポートと、
     前記ポートが前記端末装置から受信するコマンドに応じた処理を実行するとともに、前記コマンドの処理結果を生成するコマンド処理部と、
     前記ポートと前記コマンド処理部との間に介在し、前記ポートが受信するコマンドが単一の処理を行う単一コマンドである場合は、前記単一コマンドを第1のチャネルを介して前記コマンド処理部に出力し、複合コマンドである場合は前記複合コマンドを単一コマンドに分割するとともに、分割後の各単一コマンドを第2のチャネルを介して前記コマンド処理部に出力する前段処理部を有することを特徴とする情報処理装置。
    In an information processing apparatus that is connected to a terminal device via a communication path and executes processing according to a command received from the terminal device, and transmits a processing result of the command to the terminal device.
    A port for communicating with the terminal device;
    A command processing unit that executes processing according to a command received by the port from the terminal device, and generates a processing result of the command;
    If the command received between the port and the command processing unit and received by the port is a single command for performing a single process, the single command is processed through the first channel. A pre-processing unit that divides the composite command into a single command and outputs each divided single command to the command processing unit via a second channel. An information processing apparatus characterized by that.
  2.  前記情報処理装置において、
     前記前段処理部がさらに、前記コマンド処理部が前記第1のチャネルを介して前記単一コマンドに対応する応答を前記ポートに送信させるとともに、前記コマンド処理部が前記第2のチャネルを介して前記分割後の各コマンドにそれぞれ対応する各応答を一の応答に結合して前記ポートに送信させることを特徴とする請求項1記載の情報処理装置。
    In the information processing apparatus,
    The pre-processing unit further causes the command processing unit to transmit a response corresponding to the single command via the first channel to the port, and the command processing unit transmits the response via the second channel. The information processing apparatus according to claim 1, wherein each response corresponding to each divided command is combined into one response and transmitted to the port.
  3.  前記情報処理装置において、
     前記前段処理部が、
     前記第2のチャネルに接続され、前記複合コマンドを分割した各コマンドを前記第2のチャネルを介して前記コマンド処理部に出力するとともに、前記コマンド処理部から前記第2のチャネルを介して前記分割後の各単一コマンドに対応する各応答を入力し、前記各応答を一の応答に結合する分割・結合部と、
     前記ポートと前記第1のチャネルと前記分割・結合部とに接続され、前記ポートから入力するコマンドが単一コマンドの場合に前記単一コマンドを前記第1のチャネルを介して前記コマンド処理部に出力するとともに、前記コマンドが複合コマンドの場合に前記複合コマンドを前記分割・結合部に出力し、前記コマンド処理部から前記第1のチャネルを介して入力する応答および前記分割・結合部から入力する結合後の応答を前記ポートに送信させるセレクタとを有することを特徴とする請求項2記載の情報処理装置。
    In the information processing apparatus,
    The pre-processing unit is
    Each command that is connected to the second channel and that divides the composite command is output to the command processing unit via the second channel and from the command processing unit via the second channel. A division / combination unit that inputs each response corresponding to each subsequent single command and combines the responses into one response;
    When the command input from the port is a single command, the single command is sent to the command processing unit via the first channel. The command is connected to the port, the first channel, and the dividing / combining unit. When the command is a composite command, the composite command is output to the dividing / combining unit, and the response input from the command processing unit via the first channel and the split / combining unit are input. The information processing apparatus according to claim 2, further comprising a selector that transmits the combined response to the port.
  4.  前記情報処理装置において、
     前記コマンド処理部は、前記情報処理装置の状態を監視するコマンドを受信するとともに、前記コマンドに応じた処理を実行することを特徴とする請求項1から3のうちいずれか1項記載の情報処理装置。
    In the information processing apparatus,
    4. The information processing according to claim 1, wherein the command processing unit receives a command for monitoring a state of the information processing apparatus and executes a process according to the command. 5. apparatus.
  5.  通信路に接続されコマンドを送信する端末装置と、前記通信路を介して前記端末装置に接続され、前記端末装置から受信するコマンドに応じた処理を実行するとともに、前記端末装置に対し、前記コマンドの処理結果を送信する情報処理装置とを有する情報処理システムにおいて、
     前記情報処理装置が、
     前記端末装置との通信を行うポートと、
     前記ポートが前記端末装置から受信するコマンドに応じた処理を実行するとともに、前記コマンドの処理結果を生成するコマンド処理部と、
     前記ポートと前記コマンド処理部との間に介在し、前記ポートが受信するコマンドが単一の処理を行う単一コマンドである場合は、前記単一コマンドを第1のチャネルを介して前記コマンド処理部に出力し、複合コマンドである場合は前記複合コマンドを単一コマンドに分割するとともに、分割後の各単一コマンドを第2のチャネルを介して前記コマンド処理部に出力する前段処理部を有することを特徴とする情報処理システム。
    A terminal device connected to a communication path and transmitting a command; and connected to the terminal device via the communication path and executing a process according to a command received from the terminal device; In an information processing system having an information processing device that transmits the processing result of
    The information processing apparatus is
    A port for communicating with the terminal device;
    A command processing unit that executes processing according to a command received by the port from the terminal device, and generates a processing result of the command;
    If the command received between the port and the command processing unit and received by the port is a single command for performing a single process, the single command is processed through the first channel. A pre-processing unit that divides the composite command into a single command and outputs each divided single command to the command processing unit via a second channel. An information processing system characterized by this.
  6.  前記情報処理システムにおいて、
     前記前段処理部がさらに、前記コマンド処理部が前記第1のチャネルを介して前記単一コマンドに対応する応答を前記ポートに送信させるとともに、前記コマンド処理部が前記第2のチャネルを介して前記分割後の各コマンドにそれぞれ対応する各応答を一の応答に結合して前記ポートに送信させることを特徴とする請求項5記載の情報処理システム。
    In the information processing system,
    The pre-processing unit further causes the command processing unit to transmit a response corresponding to the single command via the first channel to the port, and the command processing unit transmits the response via the second channel. 6. The information processing system according to claim 5, wherein the responses respectively corresponding to the divided commands are combined into one response and transmitted to the port.
  7.  前記情報処理システムにおいて、
     前記前段処理部が、
     前記第2のチャネルに接続され、前記複合コマンドを分割した各コマンドを前記第2のチャネルを介して前記コマンド処理部に出力するとともに、前記コマンド処理部から前記第2のチャネルを介して前記分割後の各単一コマンドに対応する各応答を入力し、前記各応答を一の応答に結合する分割・結合部と、
     前記ポートと前記第1のチャネルと前記分割・結合部とに接続され、前記ポートから入力するコマンドが単一コマンドの場合に前記単一コマンドを前記第1のチャネルを介して前記コマンド処理部に出力するとともに、前記コマンドが複合コマンドの場合に前記複合コマンドを前記分割・結合部に出力し、前記コマンド処理部から前記第1のチャネルを介して入力する応答および前記分割・結合部から入力する結合後の応答を前記ポートに送信させるセレクタとを有することを特徴とする請求項6記載の情報処理システム。
    In the information processing system,
    The pre-processing unit is
    Each command that is connected to the second channel and that divides the composite command is output to the command processing unit via the second channel and from the command processing unit via the second channel. A division / combination unit that inputs each response corresponding to each subsequent single command and combines the responses into one response;
    When the command input from the port is a single command, the single command is sent to the command processing unit via the first channel. The command is connected to the port, the first channel, and the dividing / combining unit. When the command is a composite command, the composite command is output to the dividing / combining unit, and the response input from the command processing unit via the first channel and the split / combining unit are input. The information processing system according to claim 6, further comprising a selector that transmits the combined response to the port.
  8.  前記情報処理システムにおいて、
     前記コマンド処理部は、前記情報処理装置の状態を監視するコマンドを受信するとともに、前記コマンドに応じた処理を実行することを特徴とする請求項5から7のうちいずれか1項記載の情報処理システム。
    In the information processing system,
    8. The information processing according to claim 5, wherein the command processing unit receives a command for monitoring a state of the information processing apparatus and executes a process according to the command. 9. system.
  9.  通信路を介して端末装置に接続され、前記端末装置から受信するコマンドに応じた処理を実行するとともに、前記端末装置に対し、前記コマンドの処理結果を送信する情報処理装置における制御方法において、
     前記端末装置からのコマンドを受信するコマンド受信過程と、
     前記コマンド受信過程で受信したコマンドが複合コマンドである場合に前記複合コマンドを単一コマンドに分割する複合コマンド分割過程と、
     前記コマンド受信過程で受信したコマンドが単一コマンドである場合に前記単一コマンドを第1のチャネルを介して受け取り、前記コマンド受信過程で受信したコマンドが前記複合コマンドである場合は前記複合コマンド分割過程で分割された後の各単一コマンドを第2のチャネルを介して受け取り、受け取った単一コマンドに応じた処理を実行するとともに該単一コマンドの処理結果を生成するコマンド処理過程とを有することを特徴とする制御方法。
    In a control method in an information processing apparatus that is connected to a terminal device via a communication path, executes processing according to a command received from the terminal device, and transmits a processing result of the command to the terminal device.
    A command receiving process for receiving a command from the terminal device;
    A compound command dividing process of dividing the compound command into a single command when the command received in the command receiving process is a compound command;
    When the command received in the command reception process is a single command, the single command is received via the first channel, and when the command received in the command reception process is the composite command, the composite command division is performed. A command processing process for receiving each single command after being divided in the process through the second channel, executing a process according to the received single command, and generating a processing result of the single command. A control method characterized by that.
  10.  前記情報処理方法において、前記コマンド処理過程で生成された、前記コマンド受信過程で受信したコマンドが単一コマンドである場合の前記単一コマンドに対応する応答を前記第1のチャネルを介して受け取って前記端末装置に向けて送信するとともに、前記コマンド処理過程で生成された、前記コマンド受信過程で受信したコマンドが複合コマンドである場合の前記複合コマンドが前記複合コマンド分割過程で分割された後の各単一コマンドにそれぞれ対応する各応答を前記第2のチャネルを介して受け取り一の応答に結合して前記端末装置に向けて送信する応答送信過程とを有することを特徴とする請求項9記載の制御方法。 In the information processing method, a response corresponding to the single command generated when the command received during the command reception process is a single command is received via the first channel. Each of the composite commands transmitted to the terminal device and generated in the command processing process when the command received in the command reception process is a composite command is divided in the composite command division process 10. The method of claim 9, further comprising: a response transmission step of receiving each response corresponding to each single command through the second channel and combining the response into one response and transmitting the response to the terminal device. Control method.
PCT/JP2009/064696 2009-08-24 2009-08-24 Information processing device, information processing system, and control method WO2011024248A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2009/064696 WO2011024248A1 (en) 2009-08-24 2009-08-24 Information processing device, information processing system, and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2009/064696 WO2011024248A1 (en) 2009-08-24 2009-08-24 Information processing device, information processing system, and control method

Publications (1)

Publication Number Publication Date
WO2011024248A1 true WO2011024248A1 (en) 2011-03-03

Family

ID=43627376

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2009/064696 WO2011024248A1 (en) 2009-08-24 2009-08-24 Information processing device, information processing system, and control method

Country Status (1)

Country Link
WO (1) WO2011024248A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05143488A (en) * 1991-11-18 1993-06-11 Nippon Telegr & Teleph Corp <Ntt> Transfer method for plural commands
JPH0662080A (en) * 1992-08-10 1994-03-04 Nec Corp Control system for information transmission equipment
JPH08235092A (en) * 1995-02-22 1996-09-13 Kofu Nippon Denki Kk Data transfer controller
JP2002342253A (en) * 2001-05-15 2002-11-29 Hitachi Ltd Method for controlling storage sub-system and storage sub-system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05143488A (en) * 1991-11-18 1993-06-11 Nippon Telegr & Teleph Corp <Ntt> Transfer method for plural commands
JPH0662080A (en) * 1992-08-10 1994-03-04 Nec Corp Control system for information transmission equipment
JPH08235092A (en) * 1995-02-22 1996-09-13 Kofu Nippon Denki Kk Data transfer controller
JP2002342253A (en) * 2001-05-15 2002-11-29 Hitachi Ltd Method for controlling storage sub-system and storage sub-system

Similar Documents

Publication Publication Date Title
US20170111215A1 (en) Diagnostic monitoring techniques for server systems
US20050066218A1 (en) Method and apparatus for alert failover
TWI374636B (en) Method, apparatus, host computer system and machine-readable recording medium for distributing traffic across a plurality of trasmitting queues
EP3706382A1 (en) Method and device for implementing remote procedure call
WO2013063950A1 (en) Inspection method and system of multimode communication device
EP4191355A1 (en) Uds-based communication method, ecu and upper computer
CN110011941A (en) A kind of message forwarding method and equipment
CN103685480A (en) Transmission control protocol (TCP) network implementing method and server
US20170140046A1 (en) Electronic component with deterministic response
CN113419983A (en) Serial server and implementation method thereof
US9755892B2 (en) Integrated device managment over Ethernet network
US20160292245A1 (en) Method and Device for Implementing Matching Between Acquisition System and Analysis System
WO2011024248A1 (en) Information processing device, information processing system, and control method
US20080168202A1 (en) Directly initiating by external adapters the setting of interruption initiatives
TWI799179B (en) Computing systems and methods for management of a network device
JP4257364B2 (en) COMMUNICATION ERROR INFORMATION OUTPUT PROGRAM, COMMUNICATION ERROR INFORMATION OUTPUT METHOD, AND COMMUNICATION ERROR INFORMATION OUTPUT DEVICE
WO2022100311A1 (en) Peci signal interconnection method and system for server, device, and medium
US8402475B2 (en) SCA-based system and method of connecting components to each other
KR101725155B1 (en) Method for converting information analyzed from a network database to software architecture design
Cisco Configuring IBM Channel Attach
JP5464886B2 (en) Computer system
US20130031547A1 (en) Facilitating compatible interaction, at least in part
CN113055832B (en) Method for uniformly managing and sending Beidou short messages of multiple same Beidou devices
CN116489536B (en) Efficient point location acquisition method and device based on modbusRTU protocol communication
US20240069754A1 (en) Computing system and associated method

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: 09848696

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: 09848696

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP