WO2013117081A1 - Service information processing method, apparatus and system for external device and virtual device - Google Patents

Service information processing method, apparatus and system for external device and virtual device Download PDF

Info

Publication number
WO2013117081A1
WO2013117081A1 PCT/CN2012/079386 CN2012079386W WO2013117081A1 WO 2013117081 A1 WO2013117081 A1 WO 2013117081A1 CN 2012079386 W CN2012079386 W CN 2012079386W WO 2013117081 A1 WO2013117081 A1 WO 2013117081A1
Authority
WO
WIPO (PCT)
Prior art keywords
external device
virtual device
client
virtual
connection request
Prior art date
Application number
PCT/CN2012/079386
Other languages
French (fr)
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 WO2013117081A1 publication Critical patent/WO2013117081A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5083Techniques for rebalancing the load in a distributed system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3031Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a motherboard or an expansion card

Definitions

  • the present invention relates to the field of computers, and in particular, to a service information processing method, apparatus, and system for an external device and a virtual device.
  • KVM Keyboard, Video, Abbreviation for Mouse Keyboard, Display, and Mouse.
  • KVM Over IP is a KVM switch with remote management capabilities that provides users with a mechanism to manage remote servers using local KVM resources.
  • VMM refers to virtual media, including virtual optical drives, floppy drives, and even virtual hard disks. The technology also enables local media resources to be shared with remote servers through network technologies.
  • the implementation of KVM Over IP and VMM mostly relies on the baseboard management controller (Ba seboard
  • the embodiment of the invention provides a service information processing method and device for an external device and a virtual device.
  • the load balancing between the primary layer C and the secondary BMC in the external device and the virtual device system can be realized, and the management service and the data processing service do not interfere with each other, and the system performance is improved.
  • the first aspect of the present invention provides a method for processing service information of an external device and a virtual device, where the method includes:
  • the board monitoring task is started to detect and record local hardware data information; if the detected local hardware data information is normal, the external device and the virtual device task are started;
  • the external device or virtual device service data information is exchanged with the client through a connection with the client.
  • an embodiment of the present invention provides a service information processing method for an external device and a virtual device, where the method includes:
  • the system management task is started to process the management information of the local and other nodes; the connection monitoring task of the external device and the virtual device is started, and the external device connection request or the virtual device connection request sent by the client is monitored, and Forwarding the external device connection request or the virtual device connection request to the slave baseboard management controller layer C, so that the slave layer C processes the service data information of the external device or the virtual device.
  • an embodiment of the present invention provides a service information processing apparatus for an external device and a virtual device, where the device includes:
  • the board monitoring module is used to start the board monitoring task after the system is powered on to detect and record local hardware data information.
  • a task startup module configured to start an external device and a virtual device task when the data information of the detected local hardware is normal
  • connection establishment module configured to monitor a client sent by the main baseboard management controller layer C to send After the external device connection request or the virtual device connection request, the connection with the client is established;
  • the information interaction module is configured to perform external device or virtual device service data information interaction with the client through the connection with the client.
  • an embodiment of the present invention provides a service information processing apparatus for an external device and a virtual device, where the device includes:
  • a system management module configured to start a system management task for processing management information of local and other nodes after the system is powered on;
  • connection request monitoring and processing module configured to initiate a connection monitoring task of the external device and the virtual device, to monitor an external device connection request or a virtual device connection request sent by the client, and connect the external device connection request or the virtual device connection request Forwarding to the slave base management controller layer C, so that the slave layer C processes the service data information of the external device or the virtual device.
  • a service information processing system for an external device and a virtual device, the system includes the service information processing device, and a client.
  • the board monitoring task is started, and the local hardware data information is detected and recorded; if the detected local hardware data information is normal, the external device and the virtual device are started.
  • the task is: after the external device management controller layer C forwards the external device connection request or the virtual device connection request sent by the client, establishing a connection with the client; and connecting to the client through the connection with the client Device or virtual device business data information interaction.
  • the main layer C starts the system management task and processes the management information of the local and other nodes. Then, the connection monitoring task of the external device and the virtual device is started, and the external device connection request or virtual device connection sent by the client is monitored.
  • the slave layer C processes the service data information of the external device or the virtual device. Therefore, in the system external device and the virtual device system, the management service and the external device or the virtual device data processing service are processed in different processors, and the load balancing of the master BMC and the slave BMC in the system saves a large time cost. And economic costs.
  • FIG. 1 is a flowchart of a method for processing service information of an external device and a virtual device according to an embodiment of the present invention
  • FIG. 2 is a flowchart of another method for processing service information of an external device and a virtual device according to an embodiment of the present invention
  • FIG. 3 is a flowchart of still another method for processing service information of an external device and a virtual device according to an embodiment of the present disclosure
  • FIG. 4 is a schematic diagram of a service information processing apparatus of an external device and a virtual device according to an embodiment of the present disclosure
  • FIG. 5 is a schematic diagram of another service device for processing an external device and a virtual device according to an embodiment of the present disclosure
  • FIG. 6 is a schematic diagram of another service information processing apparatus of an external device and a virtual device according to an embodiment of the present invention. detailed description
  • the board monitoring task is started, and the local hardware data information is detected and recorded; if the detected local hardware data information is normal, the external device and the virtual device are started.
  • the task is: after the external device management controller layer C forwards the external device connection request or the virtual device connection request sent by the client, establishing a connection with the client; and connecting to the client through the connection with the client Device or virtual device business data information interaction.
  • the main layer C starts the system management task and processes the management information of the local and other nodes. Then, the connection monitoring task of the external device and the virtual device is started, and the external device connection request or virtual device connection sent by the client is monitored.
  • the external device is a mouse, a keyboard, and a display device.
  • the virtual device is a virtual media, such as a virtual optical drive, a virtual floppy disk, a virtual hard disk, and the like.
  • FIG. 1 is a flowchart of a method for processing service information of an external device and a virtual device according to an embodiment of the present invention. As shown in FIG. 1, the embodiment includes the following steps:
  • Step 101 After the system is powered on, start the board monitoring task from layer C to detect and record the local hardware data information.
  • layer C When the system is powered on, layer C first determines whether it is the primary BMC or the secondary layer C. If it is the secondary layer C, it enables the input/output controller center ICH of the primary node where the layer C is located.
  • the master-slave relationship of the BMC is established through the master-slave relationship of the nodes running in layer C.
  • the master-slave relationship of the nodes is judged by the connection form of the QPI cable of the fast channel interconnection.
  • the different connection modes of the QPI cable will generate different hardware signals on the corresponding nodes.
  • the master-slave relationship of the nodes can be determined.
  • the layer C running on the node will distinguish the master-slave relationship of the node according to the received hardware signal, and then according to the slave node C running on the master node, the master layer C running on the slave node, and determining the master-slave relationship of layer C. . Since the normal service processing of the KVM or VMM requires the participation of the ICH, if the decision layer C is the slave layer C, the input/output control center ICH is enabled.
  • the layer C After the local hardware data information is detected and recorded, the layer C also sends the hardware data information to the primary BMC for local management by the primary BMC.
  • the primary BMC is connected locally via the intelligent platform management bus IPMB. The communication between the two follows the Intelligent Platform Management Interface IPMI specification.
  • Step 102 If the detected data information of the local hardware is normal, start the external device and the virtual device task from the layer C.
  • the external device and virtual device tasks are started from layer C, that is, the tasks of the virtual mouse, keyboard, optical drive, floppy drive, and display are started.
  • these tasks are idle, do not process data services, have no data interaction, and do not overload the CPU.
  • the BMC monitors whether there is an external device connection request or a virtual device connection request sent by the client forwarded by the primary BMC. If yes, step 203 is performed. Otherwise continue to monitor.
  • Step 103 After monitoring from the layer C to the external device connection request or the virtual device connection request sent by the client forwarded by the main substrate management controller layer C, establish a connection with the client.
  • a thread is set up from the BMC to monitor the external device connection request or virtual device connection request sent by the client forwarded by the main layer C.
  • the direct interaction with the client is the service of the main layer C end. Therefore, the layer C monitors the external device connection request or the virtual device connection request sent by the client forwarded by the main layer C. .
  • a window pops up from the layer C to establish a negotiation with the client from the layer C, and establish TCP connection.
  • Step 104 Perform interaction between the external device or the virtual device service data information from the layer C through the connection with the client.
  • the slave layer c can directly interact with the client to perform service data information through the connection.
  • the service data information of the external device or the virtual device is also processed from the layer C, and the service data information is exchanged with the client. .
  • the board monitoring task when the layer C is powered on, the board monitoring task is started, and local hardware data information is detected and recorded; if the detected local hardware data information is normal, the external device and the virtual device are started.
  • the device monitors an external device connection request or a virtual device connection request sent by the client forwarded by the main baseboard management controller layer C, establishes a connection with the client, and performs an external device with the client through a connection with the client. Or virtual device business data information interaction. Since the slave layer C is only responsible for the board monitoring task of the node and the data processing service of the KVM or VMM, it is not interfered by the management service, so the data processing of the KVM or the VMM can be ensured smoothly.
  • FIG. 1 is a flowchart of another method for processing service information of an external device and a virtual device according to an embodiment of the present invention. As shown
  • this embodiment includes the following steps:
  • Step 201 After the system is powered on, the main layer C starts a system management task for processing management information of the local and other nodes.
  • layer C After the system is powered on, layer C first determines whether it is the primary BMC or the secondary layer C. If it is the primary layer C, the input/output controller center ICH of the secondary node where the primary layer C is located is disabled.
  • the master-slave relationship of the BMC is established through the master-slave relationship of the nodes running in layer C.
  • the master-slave relationship of the nodes is judged by the connection form of the QPI cable of the fast channel interconnection.
  • the different connection modes of the QPI cable will generate different hardware signals on the corresponding nodes.
  • the master-slave relationship of the nodes can be determined.
  • the layer C running on the node will distinguish the master-slave relationship of the node according to the received hardware signal, and then according to the slave node C running on the master node, the master layer C running on the slave node, and determining the master-slave relationship of layer C. .
  • Whether to enable the input / output controller center ICH is determined according to the node's master-slave properties.
  • the ICH of the primary node is enabled and the ICH of the secondary node is disabled. Since the normal operation of the external device or the virtual device requires the participation of the ICH, the slave BMC running the task of the external device or the virtual device should be run on the ICH-enabled node.
  • the master node is running. From layer C, the slave node runs on the primary layer.
  • the layer C running on the node distinguishes the master-slave relationship of the node according to the received hardware signal, and then runs from the node C according to the slave node running on the master node.
  • the master BMC determines the master-slave relationship of layer C.
  • the main layer C running on the slave node is responsible for the management of the entire system. Therefore, after determining the master-slave relationship of the layer C, the main layer c first starts the system management task, which is responsible for the management of the fault-tolerant computer system, that is, responsible for the local And the management of the master node. If the fault tolerant computer system is a 16-way, 32-way or higher fault tolerant computer system, the primary layer C is responsible for the management of the local, primary, and other secondary nodes.
  • Step 202 The main layer C starts a connection monitoring task of the external device and the virtual device, and is used to monitor An external device connection request or a virtual device connection request sent by the client, and forwarding the external device connection request or virtual device connection request to the slave baseboard management controller layer C, so that the slave layer C processes the external device or the virtual device Business data information.
  • the main layer C creates a separate thread to monitor the external device connection request or virtual device connection request sent by the client. If there is an external device connection request or virtual device connection request from the client, then The request is processed, that is, the request is forwarded to the slave layer C in a specific form, so that the slave layer C performs a service response operation of the external device connection request or the virtual device connection request. If there is no external device connection request or virtual device connection request from the client, the primary layer C continues to monitor.
  • the main layer C when the system is powered on, the main layer C starts the system management task, and processes the management information of the local and other nodes; the system management task is started, and the connection monitoring task of the external device and the virtual device is started. Monitor and process external device connection requests or virtual device connection requests sent by the client. Since the primary BMC is only responsible for managing services and does not perform data processing services, the load of the CPU of the slave node where the master BMC is located is significantly reduced, and the CPU processes the system management service more efficiently and timely.
  • the above two embodiments describe the workflow of the external device and the virtual device of the eight-way fault tolerant computer system.
  • the external device and the virtual device provided by the embodiment of the present invention can also be applied to a fault-tolerant computer system of 16 channels, 32 channels, 64 channels or higher.
  • the external device and virtual device service still run on the primary node, that is, in the secondary layer C.
  • one of the nodes runs the master BMC, and the master BMC is still responsible for the management service of the entire system; the other two slave nodes run the node monitoring task, and feed back the detected hardware information to the primary layer.
  • the above two embodiments respectively describe the workflows of the primary layer C and the secondary layer C in the external device and the virtual device system.
  • the main layer C focuses on the system management service and does not process the data service. Therefore, the CPU load of the node where the main layer C is located decreases, and the processing time of the management service of the CPU is significantly improved.
  • the BMC is responsible for the external device or virtual device service, and is not responsible for managing the service. , so you can guarantee external devices or virtual
  • the data processing of the proposed device is smooth. Since the management service and the data processing service run in different nodes in the external device and the virtual device system, the performance of the system processing management service and data service is very good.
  • FIG. 3 is a flowchart of still another method for processing service information of an external device and a virtual device according to an embodiment of the present invention. As shown in FIG. 3, this embodiment includes the following steps:
  • Step 301 After the system is powered on, determine the master-slave relationship of layer C.
  • each node runs its own layer C module to coordinate the data processing tasks and system management tasks of the external device or virtual device. Therefore, after the system is powered on, the master-slave relationship of each BMC is first determined.
  • the master-slave relationship of the BMC is established through the master-slave relationship of the nodes running in layer C.
  • the master-slave relationship of the nodes is judged by the connection form of the QPI cable of the fast channel interconnection.
  • the different connection modes of the QPI cable will generate different hardware signals on the corresponding nodes.
  • the master-slave relationship of the nodes can be determined.
  • the layer C running on the node will distinguish the master-slave relationship of the node according to the received hardware signal, and then according to the slave node C running on the master node, the master layer C running on the slave node, and determining the master-slave relationship of layer C. .
  • Whether to enable the input / output controller center ICH is determined according to the node's master-slave properties.
  • the ICH of the primary node is enabled and the ICH of the secondary node is disabled. Since the normal operation of the KVM or V ⁇ requires the participation of the ICH, the slave layer C running the KVM or VMM task should run on the ICH-enabled node. Thus, in the embodiment of the present invention, the slave node runs on the slave layer. C, the slave node runs on the main layer.
  • the layer C running on the node distinguishes the master-slave relationship of the node according to the received hardware signal, and then runs according to the slave node on the master node.
  • the primary BMC determines the master-slave relationship of layer C.
  • step 302 the main layer C starts the system management task.
  • the main layer C After judging the master-slave relationship of layer C, the main layer C will first start the system management task, which is responsible for the management of the fault-tolerant computer system, that is, responsible for the management of the local and the master node. If the capacity The wrong computer system is a 16-channel, 32-way or higher fault-tolerant computer system, and the main layer C is responsible for the management of the local, primary, and other secondary nodes.
  • Step 303 The main layer C monitors whether there is a connection request of the external device or the virtual device sent by the client.
  • the main layer C creates a separate thread to monitor the connection request of the external device or the virtual device sent by the client. If there is a connection request from the client or the virtual device, the device is timely. The request is processed, otherwise monitoring continues.
  • Step 304 The primary layer C forwards the connection request sent by the client to the secondary layer.
  • the primary BMC is only responsible for system management tasks, it is not responsible for the data processing tasks of the external device or the virtual device. Therefore, after monitoring the connection request of the external device or the virtual device sent by the client, the connection request is forwarded to the slave layer.
  • C a data processing service for performing an external device or a virtual device from the layer C.
  • Step 305 Start a board monitoring task from layer C to detect and record local hardware data information.
  • the board monitoring task is started from layer C to detect and record local hardware data information and event log information.
  • the layer C After detecting and recording local hardware data information from layer C, the layer C also sends the hardware data information to the main layer C for local management of the main layer C.
  • Step 306 Start an external device and a virtual device task from layer C.
  • the external device and virtual device tasks are started from layer C, that is, the tasks of the virtual mouse, keyboard, optical drive, floppy drive, and display are started.
  • these tasks are idle, do not process data services, have no data interaction, and do not overload the CPU.
  • Step 307 After the connection task of the external device or the virtual device is started from the layer C, it is monitored whether there is a connection request of the external device or the virtual device sent by the client forwarded by the primary BMC.
  • the BMC After starting the KVM and VMM service tasks, create a thread from the BMC, specifically responsible for Monitors the connection request of the external device or virtual device sent by the client forwarded by the primary layer C.
  • the BMC monitors the connection request of the external device or virtual device sent by the client forwarded by the primary layer C.
  • Step 308 If the connection request of the external device or the virtual device is monitored, the layer C negotiates with the client and establishes a connection with the client.
  • a window pops up from the layer C to establish a connection with the client from the layer C.
  • the slave layer C can directly interact with the client for the service data information of the external device or the virtual device through the connection.
  • Step 309 Perform interaction of the service data information with the client from the layer C through the connection with the client.
  • the processing of the service data information of the external device or the virtual device is performed from the layer C, and the data information is directly exchanged with the client through the connection established with the client.
  • the board monitoring task is started, and the local hardware data information is detected and recorded; if the detected local hardware data information is normal, the external device and the virtual device are started.
  • the task is: after the external device management controller layer C forwards the external device connection request or the virtual device connection request sent by the client, establishing a connection with the client; and connecting to the client through the connection with the client Device or virtual device business data information interaction.
  • the main layer C starts the system management task and processes the management information of the local and other nodes. Then, the connection monitoring task of the external device and the virtual device is started, and the external device connection request or virtual device connection sent by the client is monitored.
  • FIG. 4 is a schematic diagram of a service information processing apparatus of an external device and a virtual device according to an embodiment of the present invention. As shown in FIG. 4, this embodiment includes the following modules:
  • the board monitoring module 401 is configured to start a board monitoring task after the system is powered on to detect and record local hardware data information.
  • the board monitoring module 401 is mainly responsible for detecting and recording local hardware data information, for example, sensor data detection and recording, and also for recording local hardware and software information, as well as local events, for the main BMC to pass through. To check the cause of the error.
  • the task startup module 402 is configured to start an external device and a virtual device task when the data information of the detected local hardware is normal.
  • the task launch module 402 is used to launch a local virtual mouse, keyboard, optical drive, display, and the like.
  • the connection establishing module 403 is configured to establish a connection with the client after monitoring an external device connection request or a virtual device connection request sent by the client forwarded by the main baseboard management controller layer C.
  • the connection establishing module 403 After the service tasks of the external device and the virtual device are started from the layer C, when the external device connection request or the virtual device connection request sent by the client forwarded by the main baseboard management controller BMC is monitored, the connection establishing module 403 will The client negotiates to establish a TCP connection from the node where the layer C is located to the client.
  • the information interaction module 404 is configured to perform interaction between the external device or the virtual device service data information by using the connection with the client.
  • the embodiment of the present invention further includes: an ICH control module 405, configured to enable an input/output controller center ICH to process service information of the external device or the virtual device.
  • an ICH control module 405 configured to enable an input/output controller center ICH to process service information of the external device or the virtual device.
  • the ICH control module 405 will enable the input/output controller center ICH.
  • the embodiment of the present invention further includes: a service information processing module 406, configured to process service data information of the external device or the virtual device.
  • a service information processing module 406 configured to process service data information of the external device or the virtual device.
  • the embodiment of the present invention further includes: a sending module 407, configured to send the hardware data Information is sent to the main layer C for processing the local management information by the main layer C.
  • a sending module 407 configured to send the hardware data Information is sent to the main layer C for processing the local management information by the main layer C.
  • the sending module 407 sends the hardware data information to the main layer C for the local layer C to manage the local.
  • FIG. 5 is a schematic diagram of another service device for processing an external device and a virtual device according to an embodiment of the present invention. As shown in FIG. 5, this embodiment includes the following modules:
  • the system management module 501 is configured to start a system management task for processing management information of the local and other nodes after the system is powered on.
  • the system management module 501 is mainly responsible for the management of the system.
  • the layer C sends the hardware information of the master node to the local through the intelligent platform management interface I PMI to locally manage the node where the layer C is located.
  • the connection request monitoring and processing module 502 is configured to initiate a connection monitoring task of the external device and the virtual device, to monitor an external device connection request or a virtual device connection request sent by the client, and connect the external device connection request or the virtual device connection.
  • the request is forwarded to the slave base management controller layer C to cause the slave layer C to process the service data information of the external device or the virtual device.
  • connection request monitoring and processing module 502 is connected to the network module, and is specifically configured to: monitor an external device connection request or a virtual device connection request sent by the client, and forward the external device connection request or the virtual device connection request to the slave substrate management. Controller layer (.
  • the main layer C creates a separate thread to monitor the connection request of the external device or the virtual device sent by the client. If there is a connection request from the client or the virtual device, the device is timely.
  • the request is processed, that is, the request is forwarded to the slave BMC in a specific form, so that the slave BMC acts as a service response operation of the external device or the virtual device. If there is no connection request from the client's external device or virtual device, continue monitoring.
  • the embodiment of the invention further includes: an ICH control module 503, configured to disable the input/output controller center ICH.
  • the main layer C is mainly responsible for system management tasks, and will not enter the external device or virtual device data service. Row processing, so the work of the main layer C does not require the participation of the ICH. In order to reduce the load of the CPU of the node where the main layer C is located, the main layer C disables the ICH of the node where it is located.
  • FIG. 6 is a schematic diagram of another service information processing apparatus of an external device and a virtual device according to an embodiment of the present invention. As shown in FIG. 6, this embodiment includes the following modules:
  • the master node 601, which operates in the master node 601, is a slave layer.
  • the input/output controller center ICH 603 in the master node is enabled.
  • the slave node 602 runs the main layer.
  • the fault-tolerant computer system is a 16-way fault-tolerant computer system or a higher-level fault-tolerant computer system, in addition to the slave nodes running the main layer C, other slave nodes Both run from the layer (.
  • the nodes are connected via the IPMB bus.
  • the input/output controller center ICH in the slave node is disabled.
  • the slave layer management task module 605 is configured to perform a board monitoring task and feed back data to the main layer C.
  • the data includes hardware information data and event log information of the master node 601.
  • the system management task module 606 is mainly responsible for the management tasks of each node in the KVM and the VMM system, and the hardware information of the master node where the C is located is sent to the local device through the intelligent platform management interface IPMI, and is used to manage the tasks from the system in the node. Module 606 manages the primary node.
  • the V ⁇ /KVM module 607 the module 607 is used to start a virtual mouse, a keyboard, an optical drive, and a display device, and is used for KVM or VMM data service processing, and interacts with the client through the network module to perform business data information.
  • the embodiment of the present invention further provides a service information processing system for an external device and a virtual device, where the system includes the foregoing service information processing device, and a client.
  • a service information processing device in the system starts a board monitoring task to detect and record local hardware data information. If the detected local hardware data information is normal, the external device and the virtual device are started.
  • the task is: after the external device connection request or the virtual device connection request sent by the client forwarded by the main baseboard management controller BMC is monitored, establishing a connection with the client; and connecting the client to the external device by using the connection with the client Or virtual device business data information interaction.
  • Another service information processing device in the system initiates a system management task to process management information of local and other nodes;
  • the connection monitoring task of the external device and the virtual device is used to monitor the external device connection request or the virtual device connection request sent by the client, and forward the external device connection request or the virtual device connection request to the slave base management controller layer C. So that the slave layer C processes the service data information of the external device or the virtual device. Therefore, in the system external device and the virtual device system, the management service and the external device or the virtual device data processing service are processed in different service information processing devices, and the load balancing of the primary layer C and the secondary BMC saves a large amount of time cost. And economic costs.
  • RAM random access memory
  • ROM read-only memory
  • EEPROM electrically programmable ROM
  • EEPROM electrically erasable programmable ROM
  • registers hard disk, removable disk, CD-ROM, or technical field Any other form of storage medium known.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Mathematical Physics (AREA)
  • Quality & Reliability (AREA)
  • Debugging And Monitoring (AREA)
  • Power Sources (AREA)

Abstract

A service information processing method for an external device and a virtual device comprises: upon power-on of a system, a slave baseboard management controller (BMC) starting a single-board monitoring task to detect and record local hardware data information, and starting external device and virtual device tasks, and upon monitoring an external device connection request or a virtual device connection request sent by a client and forwarded by a master BMC, establishing a connection to the client, and performing service data information exchange with the client; the master BMC starting a system management task to manage local and other nodes, and starting a connection monitoring task of an external device and a virtual device to monitor the external device connection request or the virtual device connection request sent by the client, and forwarding the connection request to the slave BMC. Also disclosed are a service information processing apparatus and system for an external device and a virtual device. This solution solves the load balancing problem of the master BMC and the slave BMC in an external device and virtual device system and implements separate processing of a management service and a data service on processors of different nodes.

Description

外接设备和虚拟设备的业务信息处理方法、 装置和系统 技术领域  Service information processing method, device and system for external device and virtual device
本发明涉及计算机领域, 尤其涉及一种外接设备和虚拟设备的业务信息 处理方法、 装置和系统。  The present invention relates to the field of computers, and in particular, to a service information processing method, apparatus, and system for an external device and a virtual device.
背景技术 Background technique
KVM Keyboard, Video, Mouse (键盘、 显示器和鼠标) 的缩写。 KVM技 术的核心思想是: 通过适当的键盘、 鼠标、 显示器的配置, 采用一套键盘、 鼠标和显示设备控制多台主机。 KVM Over IP是带有远程管理功能的 KVM切 换器, 借助网络技术为用户提供了一套采用本地 KVM资源管理远端服务器的 机制。 VMM是指虚拟媒体, 包括虚拟的光驱、 软驱, 甚至虚拟硬盘, 该技术 也通过网络技术实现本地媒体资源与远端服务器之间的共享。 KVM Over IP 和 VMM 的实现大多借助于基板管理控制器 (Ba seboard KVM Keyboard, Video, Abbreviation for Mouse (Keyboard, Display, and Mouse). The core idea of KVM technology is to control multiple hosts with a set of keyboard, mouse and display devices through proper keyboard, mouse, and display configuration. KVM Over IP is a KVM switch with remote management capabilities that provides users with a mechanism to manage remote servers using local KVM resources. VMM refers to virtual media, including virtual optical drives, floppy drives, and even virtual hard disks. The technology also enables local media resources to be shared with remote servers through network technologies. The implementation of KVM Over IP and VMM mostly relies on the baseboard management controller (Ba seboard
Management Cont ro l l er,層 C )设备实现。 键盘、 鼠标、 显示器、 光驱、 软驱 及硬盘都具有数据量大、 负载高的特点, 因此会给層 C增加很大的负担。 现 有技术下, KVM和 VMM系统的显著特征是 KVM和 VMM服务的提供与層 C 自身 管理业务的提供均由一个节点上的層 C提供, 负荷 ^艮大, 导致其响应速度降 低; 而另一个节点上的層 C只做筒单的单板信息监控, 负荷很小, 存在资源 浪费的情况。 因此, 现有技术下, KVM和 VMM系统存在主層 C负荷大、 响应 速度低, 从層 C负荷很小、 浪费资源的缺陷。 发明内容 Management Cont ro l l er, layer C) device implementation. Keyboards, mice, monitors, optical drives, floppy drives, and hard drives all have large data loads and high loads, which puts a large burden on layer C. In the prior art, the distinguishing feature of the KVM and VMM systems is that the provision of the KVM and VMM services and the provision of the management services of the layer C itself are provided by the layer C on one node, and the load is large, resulting in a decrease in response speed; Layer C on a node only monitors the single board information of the single unit, and the load is small, and there is a waste of resources. Therefore, in the prior art, the KVM and the VMM system have the defects that the main layer C has a large load, the response speed is low, and the load from the layer C is small and wastes resources. Summary of the invention
本发明实施例提供了一种外接设备和虚拟设备的业务信息处理方法、 装 置和系统,可以实现外接设备和虚拟设备系统中主層 C和从 BMC的负荷均衡, 管理业务和数据处理业务互不干扰, 系统性能提升。 第一方面, 本发明实施例提供了一种外接设备和虚拟设备的业务信息处 理方法, 所述方法包括: The embodiment of the invention provides a service information processing method and device for an external device and a virtual device. With the system, the load balancing between the primary layer C and the secondary BMC in the external device and the virtual device system can be realized, and the management service and the data processing service do not interfere with each other, and the system performance is improved. The first aspect of the present invention provides a method for processing service information of an external device and a virtual device, where the method includes:
系统上电后, 启动单板监控任务,用以检测并记录本地的硬件数据信息; 若所述检测到的本地硬件的数据信息正常, 则启动外接设备和虚拟设备 任务;  After the system is powered on, the board monitoring task is started to detect and record local hardware data information; if the detected local hardware data information is normal, the external device and the virtual device task are started;
监控到主基板管理控制器 BMC转发的客户端发送的外接设备连接请求或 虚拟设备连接请求后, 建立与所述客户端的连接;  After the external device management controller BMC forwards the external device connection request or the virtual device connection request sent by the client, the connection with the client is established;
通过与所述客户端的连接与所述客户端进行外接设备或虚拟设备业务数 据信息交互。  The external device or virtual device service data information is exchanged with the client through a connection with the client.
第二方面, 本发明实施例提供了一种外接设备和虚拟设备的业务信息处 理方法, 所述方法包括:  In a second aspect, an embodiment of the present invention provides a service information processing method for an external device and a virtual device, where the method includes:
系统上电后, 启动系统管理任务,用以处理本地和其他节点的管理信息; 启动外接设备和虚拟设备的连接监控任务, 用以监控客户端发送的外接 设备连接请求或虚拟设备连接请求, 并将所述外接设备连接请求或虚拟设备 连接请求转发给从基板管理控制器層 C , 以使所述从層 C处理外接设备或虚 拟设备的业务数据信息。  After the system is powered on, the system management task is started to process the management information of the local and other nodes; the connection monitoring task of the external device and the virtual device is started, and the external device connection request or the virtual device connection request sent by the client is monitored, and Forwarding the external device connection request or the virtual device connection request to the slave baseboard management controller layer C, so that the slave layer C processes the service data information of the external device or the virtual device.
第三方面, 本发明实施例提供了一种外接设备和虚拟设备的业务信息处 理装置, 所述装置包括:  In a third aspect, an embodiment of the present invention provides a service information processing apparatus for an external device and a virtual device, where the device includes:
单板监控模块, 用于系统上电后, 启动单板监控任务, 以检测并记录本 地的硬件数据信息;  The board monitoring module is used to start the board monitoring task after the system is powered on to detect and record local hardware data information.
任务启动模块, 用于所述检测到的本地硬件的数据信息正常时, 启动外 接设备和虚拟设备任务;  a task startup module, configured to start an external device and a virtual device task when the data information of the detected local hardware is normal;
连接建立模块, 用于监控到主基板管理控制器層 C转发的客户端发送的 外接设备连接请求或虚拟设备连接请求后, 建立与所述客户端的连接; 信息交互模块, 用于通过与所述客户端的连接与所述客户端进行外接设 备或虚拟设备业务数据信息交互。 a connection establishment module, configured to monitor a client sent by the main baseboard management controller layer C to send After the external device connection request or the virtual device connection request, the connection with the client is established; the information interaction module is configured to perform external device or virtual device service data information interaction with the client through the connection with the client.
第四方面, 本发明实施例提供了一种外接设备和虚拟设备的业务信息处 理装置, 所述装置包括:  In a fourth aspect, an embodiment of the present invention provides a service information processing apparatus for an external device and a virtual device, where the device includes:
系统管理模块, 用于系统上电后, 启动系统管理任务, 用以处理本地和 其他节点的管理信息;  a system management module, configured to start a system management task for processing management information of local and other nodes after the system is powered on;
连接请求监控和处理模块, 用于启动外接设备和虚拟设备的连接监控任 务, 用以监控客户端发送的外接设备连接请求或虚拟设备连接请求, 并将所 述外接设备连接请求或虚拟设备连接请求转发给从基板管理控制器 層 C , 以 使所述从層 C处理外接设备或虚拟设备的业务数据信息。  a connection request monitoring and processing module, configured to initiate a connection monitoring task of the external device and the virtual device, to monitor an external device connection request or a virtual device connection request sent by the client, and connect the external device connection request or the virtual device connection request Forwarding to the slave base management controller layer C, so that the slave layer C processes the service data information of the external device or the virtual device.
第五方面, 一种外接设备和虚拟设备的业务信息处理系统, 所述系统包 括上述业务信息处理装置, 以及客户端。  According to a fifth aspect, a service information processing system for an external device and a virtual device, the system includes the service information processing device, and a client.
本发明实施例中, 从層 C在系统上电后, 启动单板监控任务, 检测并记 录本地的硬件数据信息; 若所述检测到的本地硬件的数据信息正常, 则启动 外接设备和虚拟设备任务; 监控到主基板管理控制器層 C转发的客户端发送 的外接设备连接请求或虚拟设备连接请求后, 建立与所述客户端的连接; 通 过与所述客户端的连接与所述客户端进行外接设备或虚拟设备业务数据信息 交互。 主層 C在系统上电后, 启动系统管理任务, 处理本地和其他节点的管 理信息; 然后启动外接设备和虚拟设备的连接监控任务, 用以监控客户端发 送的外接设备连接请求或虚拟设备连接请求, 并将所述外接设备连接请求或 虚拟设备连接请求转发给从基板管理控制器層 C , 以使所述从層 C处理外接 设备或虚拟设备的业务数据信息。 由此实现了系统外接设备和虚拟设备系统 中, 管理业务与外接设备或虚拟设备数据处理业务在不同的处理器中处理, 系统中的主 BMC和从 BMC的负荷均衡, 节省了大量的时间成本和经济成本。 附图说明 In the embodiment of the present invention, after the system C is powered on, the board monitoring task is started, and the local hardware data information is detected and recorded; if the detected local hardware data information is normal, the external device and the virtual device are started. The task is: after the external device management controller layer C forwards the external device connection request or the virtual device connection request sent by the client, establishing a connection with the client; and connecting to the client through the connection with the client Device or virtual device business data information interaction. After the system is powered on, the main layer C starts the system management task and processes the management information of the local and other nodes. Then, the connection monitoring task of the external device and the virtual device is started, and the external device connection request or virtual device connection sent by the client is monitored. Requesting, and forwarding the external device connection request or virtual device connection request to the slave baseboard management controller layer C, so that the slave layer C processes the service data information of the external device or the virtual device. Therefore, in the system external device and the virtual device system, the management service and the external device or the virtual device data processing service are processed in different processors, and the load balancing of the master BMC and the slave BMC in the system saves a large time cost. And economic costs. DRAWINGS
图 1为本发明实施例提供的一种外接设备和虚拟设备的业务信息处理方 法流程图; 图 2为本发明实施例提供的另一种外接设备和虚拟设备的业务信息处理 方法流程图;  1 is a flowchart of a method for processing service information of an external device and a virtual device according to an embodiment of the present invention; FIG. 2 is a flowchart of another method for processing service information of an external device and a virtual device according to an embodiment of the present invention;
图 3为本发明实施例提供的又一种外接设备和虚拟设备的业务信息处理 方法流程图;  FIG. 3 is a flowchart of still another method for processing service information of an external device and a virtual device according to an embodiment of the present disclosure;
图 4为本发明实施例提供的一种外接设备和虚拟设备的业务信息处理装 置示意图;  FIG. 4 is a schematic diagram of a service information processing apparatus of an external device and a virtual device according to an embodiment of the present disclosure;
图 5为本发明实施例提供的另一种外接设备和虚拟设备的业务信息处理 装置示意图;  FIG. 5 is a schematic diagram of another service device for processing an external device and a virtual device according to an embodiment of the present disclosure;
图 6为本发明实施例提供的又一种外接设备和虚拟设备的业务信息处理 装置示意图。 具体实施方式  FIG. 6 is a schematic diagram of another service information processing apparatus of an external device and a virtual device according to an embodiment of the present invention. detailed description
本发明实施例中, 从層 C在系统上电后, 启动单板监控任务, 检测并记 录本地的硬件数据信息; 若所述检测到的本地硬件的数据信息正常, 则启动 外接设备和虚拟设备任务; 监控到主基板管理控制器層 C转发的客户端发送 的外接设备连接请求或虚拟设备连接请求后, 建立与所述客户端的连接; 通 过与所述客户端的连接与所述客户端进行外接设备或虚拟设备业务数据信息 交互。 主層 C在系统上电后, 启动系统管理任务, 处理本地和其他节点的管 理信息; 然后启动外接设备和虚拟设备的连接监控任务, 用以监控客户端发 送的外接设备连接请求或虚拟设备连接请求, 并将所述外接设备连接请求或 虚拟设备连接请求转发给从基板管理控制器層 C , 以使所述从層 C处理外接 设备或虚拟设备的业务数据信息。 本发明实施例中, 所描述的外接设备为鼠标、 键盘及显示设备; 所述描 述的虚拟设备为虚拟媒体, 如虚拟光驱、 虚拟软驱、 虚拟硬盘等。 In the embodiment of the present invention, after the system C is powered on, the board monitoring task is started, and the local hardware data information is detected and recorded; if the detected local hardware data information is normal, the external device and the virtual device are started. The task is: after the external device management controller layer C forwards the external device connection request or the virtual device connection request sent by the client, establishing a connection with the client; and connecting to the client through the connection with the client Device or virtual device business data information interaction. After the system is powered on, the main layer C starts the system management task and processes the management information of the local and other nodes. Then, the connection monitoring task of the external device and the virtual device is started, and the external device connection request or virtual device connection sent by the client is monitored. Requesting, and forwarding the external device connection request or virtual device connection request to the slave baseboard management controller layer C, so that the slave layer C processes the service data information of the external device or the virtual device. In the embodiment of the present invention, the external device is a mouse, a keyboard, and a display device. The virtual device is a virtual media, such as a virtual optical drive, a virtual floppy disk, a virtual hard disk, and the like.
下面通过附图和实施例, 对本发明的技术方案 #文进一步的详细描述。 图 1 为本发明实施例提供的一种外接设备和虚拟设备的业务信息处理方 法流程图。 如图 1所示, 本实施例包括以下步骤:  Further details of the technical solution of the present invention will be described below with reference to the accompanying drawings and embodiments. FIG. 1 is a flowchart of a method for processing service information of an external device and a virtual device according to an embodiment of the present invention. As shown in FIG. 1, the embodiment includes the following steps:
步骤 101 , 系统上电后, 从層 C启动单板监控任务, 用以检测并记录本 地的硬件数据信息。  Step 101: After the system is powered on, start the board monitoring task from layer C to detect and record the local hardware data information.
系统上电时, 層 C首先会判断自己是主 BMC还是从層 C , 如果是从層 C , 则使能从層 C所在的主节点的输入 /输出控制器中心 ICH。  When the system is powered on, layer C first determines whether it is the primary BMC or the secondary layer C. If it is the secondary layer C, it enables the input/output controller center ICH of the primary node where the layer C is located.
BMC的主从关系是通过層 C所运行的节点的主从关系确立的。 节点的主 从关系通过快速通道互联 QPI 线缆的连接形式来判断。 QPI 线缆不同的连接 方式会在相应的节点上产生不同的硬件信号, 根据硬件信号的不同, 可以确 定节点的主从关系。 节点上运行的層 C会根据接收到的硬件信号来区分节点 的主从关系, 进而根据主节点上运行的是从層 C, 从节点上运行的是主層 C, 确定層 C的主从关系。 由于 KVM或 VMM的正常业务处理需要 ICH的参与, 所 以如果判断層 C为从層 C, 则使能输入 /输出控制中心 ICH。  The master-slave relationship of the BMC is established through the master-slave relationship of the nodes running in layer C. The master-slave relationship of the nodes is judged by the connection form of the QPI cable of the fast channel interconnection. The different connection modes of the QPI cable will generate different hardware signals on the corresponding nodes. According to the hardware signals, the master-slave relationship of the nodes can be determined. The layer C running on the node will distinguish the master-slave relationship of the node according to the received hardware signal, and then according to the slave node C running on the master node, the master layer C running on the slave node, and determining the master-slave relationship of layer C. . Since the normal service processing of the KVM or VMM requires the participation of the ICH, if the decision layer C is the slave layer C, the input/output control center ICH is enabled.
检测并记录本地的硬件数据信息之后, 从層 C还将所述硬件数据信息发 送至主 BMC, 用以所述主 BMC对本地进行管理。 主 BMC和本地通过智能平台 管理总线 IPMB连接。 两者的通信遵循智能平台管理接口 IPMI规范。  After the local hardware data information is detected and recorded, the layer C also sends the hardware data information to the primary BMC for local management by the primary BMC. The primary BMC is connected locally via the intelligent platform management bus IPMB. The communication between the two follows the Intelligent Platform Management Interface IPMI specification.
步骤 102 , 若所述检测到的本地硬件的数据信息正常, 则从層 C启动外 接设备和虚拟设备任务。  Step 102: If the detected data information of the local hardware is normal, start the external device and the virtual device task from the layer C.
本地硬件数据信息正常时, 从層 C启动外接设备和虚拟设备任务, 即启 动虚拟鼠标、 键盘、 光驱、 软驱和显示器的任务。 但是这几项任务处于空闲 状态, 不进行数据业务处理, 没有数据交互, 不会对 CPU产生过重的负荷。  When the local hardware data information is normal, the external device and virtual device tasks are started from layer C, that is, the tasks of the virtual mouse, keyboard, optical drive, floppy drive, and display are started. However, these tasks are idle, do not process data services, have no data interaction, and do not overload the CPU.
启动外接设备和虚拟设备任务后, 从 BMC将监控是否有主 BMC转发的客 户端发送的外接设备连接请求或虚拟设备连接请求, 如果有则执行步骤 203 , 否则继续监控。 After the task of the external device and the virtual device is started, the BMC monitors whether there is an external device connection request or a virtual device connection request sent by the client forwarded by the primary BMC. If yes, step 203 is performed. Otherwise continue to monitor.
步骤 103 , 从層 C监控到主基板管理控制器層 C转发的客户端发送的外 接设备连接请求或虚拟设备连接请求后, 建立与所述客户端的连接。  Step 103: After monitoring from the layer C to the external device connection request or the virtual device connection request sent by the client forwarded by the main substrate management controller layer C, establish a connection with the client.
在启动 KVM和 VMM的各项服务任务后, 从 BMC建立一个线程, 专门负责 监控主層 C转发的客户端发送的外接设备连接请求或虚拟设备连接请求。 用 户在客户端操作管理软件时, 与所述客户端直接交互的是主層 C端的服务, 因此, 从層 C监控的是主層 C转发的客户端的发送的外接设备连接请求或虚 拟设备连接请求。  After starting the KVM and VMM service tasks, a thread is set up from the BMC to monitor the external device connection request or virtual device connection request sent by the client forwarded by the main layer C. When the user operates the management software on the client, the direct interaction with the client is the service of the main layer C end. Therefore, the layer C monitors the external device connection request or the virtual device connection request sent by the client forwarded by the main layer C. .
从層 C监控到主層 C转发的客户端发送的外接设备连接请求或虚拟设备 连接请求时, 从層 C上会弹出一个窗口, 用以从層 C建立与所述客户端进行 协商, 并建立 TCP连接。  When monitoring from the layer C to the external device connection request or the virtual device connection request sent by the client forwarded by the primary layer C, a window pops up from the layer C to establish a negotiation with the client from the layer C, and establish TCP connection.
步骤 104 , 从層 C通过与所述客户端的连接与所述客户端进行外接设备 或虚拟设备业务数据信息交互。  Step 104: Perform interaction between the external device or the virtual device service data information from the layer C through the connection with the client.
与客户端建立连接后, 从層 c便可以通过所述连接直接与客户端进行业 务数据信息交互。  After establishing a connection with the client, the slave layer c can directly interact with the client to perform service data information through the connection.
当然,在与客户端通过所述 TCP连接进行业务数据信息交互之前,从層 C 还将对所述外接设备或虚拟设备的业务数据信息进行处理, 用以与所述客户 端进行业务数据信息交互。  Of course, before the service data information exchange with the client through the TCP connection, the service data information of the external device or the virtual device is also processed from the layer C, and the service data information is exchanged with the client. .
本发明实施例中, 从層 C在系统上电时, 启动单板监控任务, 检测并记 录本地的硬件数据信息; 若所述检测到的本地硬件的数据信息正常, 则启动 外接设备和虚拟设备任务; 监控到主基板管理控制器層 C转发的客户端发送 的外接设备连接请求或虚拟设备连接请求, 建立与所述客户端的连接; 通过 与所述客户端的连接与所述客户端进行外接设备或虚拟设备业务数据信息交 互。 由于从層 C只负责所在节点的单板监控任务和 KVM或 VMM的数据处理业 务, 不会受到管理业务的干扰, 因此可以保证 KVM或 VMM的数据处理的流畅。  In the embodiment of the present invention, when the layer C is powered on, the board monitoring task is started, and local hardware data information is detected and recorded; if the detected local hardware data information is normal, the external device and the virtual device are started. The device monitors an external device connection request or a virtual device connection request sent by the client forwarded by the main baseboard management controller layer C, establishes a connection with the client, and performs an external device with the client through a connection with the client. Or virtual device business data information interaction. Since the slave layer C is only responsible for the board monitoring task of the node and the data processing service of the KVM or VMM, it is not interfered by the management service, so the data processing of the KVM or the VMM can be ensured smoothly.
上述实施例描述了外接设备和虚拟设备系统中, 从層 C的工作流程, 下 述实施例描述外接设备和虚拟设备系统中主層 C的工作流程。 图 1为本发明 实施例提供的另一种外接设备和虚拟设备的业务信息处理方法流程图。 如图The above embodiment describes the workflow of the slave device in the external device and the virtual device system, The embodiment describes the workflow of the main layer C in the external device and the virtual device system. FIG. 1 is a flowchart of another method for processing service information of an external device and a virtual device according to an embodiment of the present invention. As shown
2所示, 本实施例包括以下步骤: As shown in 2, this embodiment includes the following steps:
步骤 201 , 系统上电后, 主層 C启动系统管理任务, 用以处理本地和其他 节点的管理信息。  Step 201: After the system is powered on, the main layer C starts a system management task for processing management information of the local and other nodes.
系统上电后, 層 C首先会判断自己是主 BMC还是从層 C, 如果是主層 C, 则禁用主層 C所在的从节点的输入 /输出控制器中心 ICH。  After the system is powered on, layer C first determines whether it is the primary BMC or the secondary layer C. If it is the primary layer C, the input/output controller center ICH of the secondary node where the primary layer C is located is disabled.
BMC的主从关系是通过層 C所运行的节点的主从关系确立的。 节点的主 从关系通过快速通道互联 QPI 线缆的连接形式来判断。 QPI 线缆不同的连接 方式会在相应的节点上产生不同的硬件信号, 根据硬件信号的不同, 可以确 定节点的主从关系。 节点上运行的層 C会根据接收到的硬件信号来区分节点 的主从关系, 进而根据主节点上运行的是从層 C, 从节点上运行的是主層 C, 确定層 C的主从关系。  The master-slave relationship of the BMC is established through the master-slave relationship of the nodes running in layer C. The master-slave relationship of the nodes is judged by the connection form of the QPI cable of the fast channel interconnection. The different connection modes of the QPI cable will generate different hardware signals on the corresponding nodes. According to the hardware signals, the master-slave relationship of the nodes can be determined. The layer C running on the node will distinguish the master-slave relationship of the node according to the received hardware signal, and then according to the slave node C running on the master node, the master layer C running on the slave node, and determining the master-slave relationship of layer C. .
是否使能输入 /输出控制器中心 ICH是根据节点的主从属性来决定的。主 节点的 ICH被使能, 从节点的 ICH被禁用。 由于外接设备或虚拟设备的正常 工作需要 ICH的参与, 所以运行外接设备或虚拟设备任务的从 BMC应该运行 在 ICH使能的节点上, 由此, 本发明实施例中, 主节点上运行的是从層 C, 从节点上运行的是主層(。 节点上运行的層 C根据接收到的硬件信号来区分 节点的主从关系, 进而根据主节点上运行的是从層 C, 从节点上运行的是主 BMC, 确定層 C的主从关系。  Whether to enable the input / output controller center ICH is determined according to the node's master-slave properties. The ICH of the primary node is enabled and the ICH of the secondary node is disabled. Since the normal operation of the external device or the virtual device requires the participation of the ICH, the slave BMC running the task of the external device or the virtual device should be run on the ICH-enabled node. Thus, in the embodiment of the present invention, the master node is running. From layer C, the slave node runs on the primary layer. The layer C running on the node distinguishes the master-slave relationship of the node according to the received hardware signal, and then runs from the node C according to the slave node running on the master node. The master BMC determines the master-slave relationship of layer C.
运行于从节点上的主層 C负责整个系统的管理工作, 因此判断出層 C的 主从关系后, 主層 c会首先启动系统管理任务, 用以负责容错计算机系统的 管理工作, 即负责本地和主节点的管理工作。 如果所述容错计算机系统为 16 路、 32路或更高级别的容错计算机系统, 则主層 C负责本地、 主节点和其他 从节点的管理工作。  The main layer C running on the slave node is responsible for the management of the entire system. Therefore, after determining the master-slave relationship of the layer C, the main layer c first starts the system management task, which is responsible for the management of the fault-tolerant computer system, that is, responsible for the local And the management of the master node. If the fault tolerant computer system is a 16-way, 32-way or higher fault tolerant computer system, the primary layer C is responsible for the management of the local, primary, and other secondary nodes.
步骤 202 , 主層 C启动外接设备和虚拟设备的连接监控任务, 用以监控 客户端发送的外接设备连接请求或虚拟设备连接请求, 并将所述外接设备连 接请求或虚拟设备连接请求转发给从基板管理控制器 層 C , 以使所述从層 C 处理外接设备或虚拟设备的业务数据信息。 Step 202: The main layer C starts a connection monitoring task of the external device and the virtual device, and is used to monitor An external device connection request or a virtual device connection request sent by the client, and forwarding the external device connection request or virtual device connection request to the slave baseboard management controller layer C, so that the slave layer C processes the external device or the virtual device Business data information.
主層 C在系统管理任务启动成功后, 单独创建一个线程, 负责监控由客 户端发送的外接设备连接请求或虚拟设备连接请求, 如果有来自客户端的外 接设备连接请求或虚拟设备连接请求, 则及时对所述请求进行处理, 即将所 述请求以一种特定形式转发给从層 C , 以使所述从層 C做外接设备连接请求 或虚拟设备连接请求的业务响应操作。 如果没有来自客户端的外接设备连接 请求或虚拟设备连接请求, 则主層 C继续监控。  After the system management task is successfully started, the main layer C creates a separate thread to monitor the external device connection request or virtual device connection request sent by the client. If there is an external device connection request or virtual device connection request from the client, then The request is processed, that is, the request is forwarded to the slave layer C in a specific form, so that the slave layer C performs a service response operation of the external device connection request or the virtual device connection request. If there is no external device connection request or virtual device connection request from the client, the primary layer C continues to monitor.
本发明实施例中, 主層 C在系统上电时, 启动系统管理任务, 处理本地 和其他节点的管理信息; 所述系统管理任务启动完成, 启动所述外接设备和 虚拟设备的连接监控任务, 监控和处理由客户端发送的外接设备连接请求或 虚拟设备连接请求。 由于主 BMC只负责管理业务, 不进行数据处理业务, 所 以主 BMC所在的从节点的 CPU的负荷明显下降, CPU对系统管理业务的处理 更加高效和及时。  In the embodiment of the present invention, when the system is powered on, the main layer C starts the system management task, and processes the management information of the local and other nodes; the system management task is started, and the connection monitoring task of the external device and the virtual device is started. Monitor and process external device connection requests or virtual device connection requests sent by the client. Since the primary BMC is only responsible for managing services and does not perform data processing services, the load of the CPU of the slave node where the master BMC is located is significantly reduced, and the CPU processes the system management service more efficiently and timely.
需要说明的是, 上述两个实施例描述的是 8路容错计算机系统外接设备 和虚拟设备的工作流程。 本发明实施例提供的也可以应用于 16路、 32路、 64路或更高级别的容错计算机系统的外接设备和虚拟设备。 在 16路容错计 算机系统中,外接设备和虚拟设备服务仍旧运行于主节点上, 即运行于从層 C 中。 另外, 在 3个从节点中, 任选一个节点运行主 BMC , 主 BMC仍旧负责整 个系统的管理业务; 其余两个从节点运行节点监控任务, 并将检测到的硬件 信息反馈给主層(。  It should be noted that the above two embodiments describe the workflow of the external device and the virtual device of the eight-way fault tolerant computer system. The external device and the virtual device provided by the embodiment of the present invention can also be applied to a fault-tolerant computer system of 16 channels, 32 channels, 64 channels or higher. In a 16-way fault-tolerant computer system, the external device and virtual device service still run on the primary node, that is, in the secondary layer C. In addition, among the three slave nodes, one of the nodes runs the master BMC, and the master BMC is still responsible for the management service of the entire system; the other two slave nodes run the node monitoring task, and feed back the detected hardware information to the primary layer.
上述两个实施例分别描述了外接设备和虚拟设备系统中,主層 C和从層 C 的工作流程。 主層 C专注于系统管理业务, 不处理数据业务, 因此主層 C所 在节点的 CPU负荷下降, CPU对管理业务的处理及时性显著提升; 从 BMC负 责外接设备或虚拟设备业务, 不负责管理业务, 因此可以保证外接设备或虚 拟设备的数据处理的流畅。 由于外接设备和虚拟设备系统中, 管理业务和数 据处理业务在不同的节点中运行, 因此系统处理管理业务和数据业务的性能 非常好。 The above two embodiments respectively describe the workflows of the primary layer C and the secondary layer C in the external device and the virtual device system. The main layer C focuses on the system management service and does not process the data service. Therefore, the CPU load of the node where the main layer C is located decreases, and the processing time of the management service of the CPU is significantly improved. The BMC is responsible for the external device or virtual device service, and is not responsible for managing the service. , so you can guarantee external devices or virtual The data processing of the proposed device is smooth. Since the management service and the data processing service run in different nodes in the external device and the virtual device system, the performance of the system processing management service and data service is very good.
下述实施例描述外接设备和虚拟设备系统的工作流程。 图 3为本发明实 施例提供的又一种外接设备和虚拟设备的业务信息处理方法流程图。 如图 3 所示, 本实施例包括以下步骤:  The following embodiments describe the workflow of the external device and the virtual device system. FIG. 3 is a flowchart of still another method for processing service information of an external device and a virtual device according to an embodiment of the present invention. As shown in FIG. 3, this embodiment includes the following steps:
步骤 301 , 系统上电后, 判断層 C的主从关系。  Step 301: After the system is powered on, determine the master-slave relationship of layer C.
系统上电后, 各个节点各自运行自己的層 C模块, 协调完成外接设备或 虚拟设备数据处理任务和系统管理任务, 因此系统上电后, 首先会判断各个 BMC的主从关系。  After the system is powered on, each node runs its own layer C module to coordinate the data processing tasks and system management tasks of the external device or virtual device. Therefore, after the system is powered on, the master-slave relationship of each BMC is first determined.
BMC的主从关系是通过層 C所运行的节点的主从关系确立的。 节点的主 从关系通过快速通道互联 QPI 线缆的连接形式来判断。 QPI 线缆不同的连接 方式会在相应的节点上产生不同的硬件信号, 根据硬件信号的不同, 可以确 定节点的主从关系。 节点上运行的層 C会根据接收到的硬件信号来区分节点 的主从关系, 进而根据主节点上运行的是从層 C, 从节点上运行的是主層 C, 确定層 C的主从关系。  The master-slave relationship of the BMC is established through the master-slave relationship of the nodes running in layer C. The master-slave relationship of the nodes is judged by the connection form of the QPI cable of the fast channel interconnection. The different connection modes of the QPI cable will generate different hardware signals on the corresponding nodes. According to the hardware signals, the master-slave relationship of the nodes can be determined. The layer C running on the node will distinguish the master-slave relationship of the node according to the received hardware signal, and then according to the slave node C running on the master node, the master layer C running on the slave node, and determining the master-slave relationship of layer C. .
是否使能输入 /输出控制器中心 ICH是根据节点的主从属性来决定的。主 节点的 ICH被使能, 从节点的 ICH被禁用。 由于 KVM或 V匪的正常工作需要 ICH的参与, 所以运行 KVM或 VMM任务的从層 C应该运行在 ICH使能的节点 上, 由此, 本发明实施例中, 主节点上运行的是从層 C , 从节点上运行的是 主層(。 节点上运行的層 C根据接收到的硬件信号来区分节点的主从关系, 进而根据主节点上运行的是从層 C, 从节点上运行的是主 BMC, 确定層 C的主 从关系。  Whether to enable the input / output controller center ICH is determined according to the node's master-slave properties. The ICH of the primary node is enabled and the ICH of the secondary node is disabled. Since the normal operation of the KVM or V匪 requires the participation of the ICH, the slave layer C running the KVM or VMM task should run on the ICH-enabled node. Thus, in the embodiment of the present invention, the slave node runs on the slave layer. C, the slave node runs on the main layer. The layer C running on the node distinguishes the master-slave relationship of the node according to the received hardware signal, and then runs according to the slave node on the master node. The primary BMC determines the master-slave relationship of layer C.
步骤 302 , 主層 C启动系统管理任务。  In step 302, the main layer C starts the system management task.
判断出層 C的主从关系后, 主層 C会首先启动系统管理任务, 用以负责 容错计算机系统的管理工作, 即负责本地和主节点的管理工作。 如果所述容 错计算机系统为 16路、 32路或更高级别的容错计算机系统, 则主層 C负责 本地、 主节点和其他从节点的管理工作。 After judging the master-slave relationship of layer C, the main layer C will first start the system management task, which is responsible for the management of the fault-tolerant computer system, that is, responsible for the management of the local and the master node. If the capacity The wrong computer system is a 16-channel, 32-way or higher fault-tolerant computer system, and the main layer C is responsible for the management of the local, primary, and other secondary nodes.
步骤 303 , 主層 C监控是否有客户端发送的外接设备或虚拟设备的连接 请求。  Step 303: The main layer C monitors whether there is a connection request of the external device or the virtual device sent by the client.
主層 C在系统管理任务启动成功后, 单独创建一个线程, 负责监控由客 户端发送的外接设备或虚拟设备的连接请求, 如果有来自客户端的外接设备 或虚拟设备的连接请求, 则及时对所述请求进行处理, 否则继续监控。  After the system management task is successfully started, the main layer C creates a separate thread to monitor the connection request of the external device or the virtual device sent by the client. If there is a connection request from the client or the virtual device, the device is timely. The request is processed, otherwise monitoring continues.
步骤 304 , 主層 C将客户端发送的所述连接请求转发给从層(。  Step 304: The primary layer C forwards the connection request sent by the client to the secondary layer.
由于主 BMC只负责系统管理任务, 并不负责外接设备或虚拟设备的数据 处理任务, 因此在监控到客户端发送的外接设备或虚拟设备的连接请求后, 会将所述连接请求转发给从層 C, 用以从 層 C执行外接设备或虚拟设备的数 据处理业务。  Because the primary BMC is only responsible for system management tasks, it is not responsible for the data processing tasks of the external device or the virtual device. Therefore, after monitoring the connection request of the external device or the virtual device sent by the client, the connection request is forwarded to the slave layer. C, a data processing service for performing an external device or a virtual device from the layer C.
步骤 305 , 从層 C启动单板监控任务, 用以检测并记录本地的硬件数据 信息。  Step 305: Start a board monitoring task from layer C to detect and record local hardware data information.
在步骤 301中判断出層 C的主从关系后, 从層 C启动单板监控任务, 用 以检测并记录本地的硬件数据信息和事件日志信息。  After determining the master-slave relationship of layer C in step 301, the board monitoring task is started from layer C to detect and record local hardware data information and event log information.
从層 C检测并记录本地的硬件数据信息之后, 从層 C还将所述硬件数据 信息发送至主層 C, 用以所述主層 C对本地进行管理。 主層 C和本地通过智 能平台管理总线 IPMB连接。 两者的通信遵循智能平台管理接口 IPMI规范。  After detecting and recording local hardware data information from layer C, the layer C also sends the hardware data information to the main layer C for local management of the main layer C. The main layer C and the local IP bus connection through the intelligent platform management bus. The communication between the two follows the Intelligent Platform Management Interface IPMI specification.
步骤 306 , 从層 C启动外接设备和虚拟设备任务。  Step 306: Start an external device and a virtual device task from layer C.
本地硬件数据信息正常时, 从層 C启动外接设备和虚拟设备任务, 即启 动虚拟鼠标、 键盘、 光驱、 软驱和显示器的任务。 但是这几项任务处于空闲 状态, 不进行数据业务处理, 没有数据交互, 不会对 CPU产生过重的负荷。  When the local hardware data information is normal, the external device and virtual device tasks are started from layer C, that is, the tasks of the virtual mouse, keyboard, optical drive, floppy drive, and display are started. However, these tasks are idle, do not process data services, have no data interaction, and do not overload the CPU.
步骤 307 , 从層 C启动外接设备或虚拟设备的连接任务后, 监控是否有 主 BMC转发的客户端发送的外接设备或虚拟设备的连接请求。  Step 307: After the connection task of the external device or the virtual device is started from the layer C, it is monitored whether there is a connection request of the external device or the virtual device sent by the client forwarded by the primary BMC.
在启动 KVM和 VMM的各项服务任务后, 从 BMC建立一个线程, 专门负责 监控主層 C转发的客户端发送的外接设备或虚拟设备的连接请求。 用户在客 户端操作管理软件时, 与所述客户端直接交互的是主層 C端的服务, 因此, 从 BMC监控的是主層 C转发的客户端的发送的外接设备或虚拟设备的连接请 求。 After starting the KVM and VMM service tasks, create a thread from the BMC, specifically responsible for Monitors the connection request of the external device or virtual device sent by the client forwarded by the primary layer C. When the user operates the management software on the client, the direct interaction with the client is the service of the primary layer C. Therefore, the BMC monitors the connection request of the external device or virtual device sent by the client forwarded by the primary layer C.
步骤 308 , 如果监控到所述外接设备或虚拟设备的连接请求, 则从層 C 与所述客户端进行协商并建立与所述客户端的连接。  Step 308: If the connection request of the external device or the virtual device is monitored, the layer C negotiates with the client and establishes a connection with the client.
从層 C监控到外接设备或虚拟设备的连接请求时, 从層 C上会弹出一个 窗口, 用以从層 C建立与所述客户端的连接。 建立所述连接后, 从層 C便可 以通过所述连接直接与客户端进行外接设备或虚拟设备的业务数据信息的交 互。  When monitoring the connection request from the layer C to the external device or the virtual device, a window pops up from the layer C to establish a connection with the client from the layer C. After the connection is established, the slave layer C can directly interact with the client for the service data information of the external device or the virtual device through the connection.
步骤 309 , 从層 C通过所述与客户端的连接与所述客户端进行业务数据 信息的交互。  Step 309: Perform interaction of the service data information with the client from the layer C through the connection with the client.
从層 C进行外接设备或虚拟设备的业务数据信息的处理, 并通过与所述 客户端建立的连接, 与所述客户端直接进行数据信息的交互。  The processing of the service data information of the external device or the virtual device is performed from the layer C, and the data information is directly exchanged with the client through the connection established with the client.
本发明实施例中, 从層 C在系统上电后, 启动单板监控任务, 检测并记 录本地的硬件数据信息; 若所述检测到的本地硬件的数据信息正常, 则启动 外接设备和虚拟设备任务; 监控到主基板管理控制器層 C转发的客户端发送 的外接设备连接请求或虚拟设备连接请求后, 建立与所述客户端的连接; 通 过与所述客户端的连接与所述客户端进行外接设备或虚拟设备业务数据信息 交互。 主層 C在系统上电后, 启动系统管理任务, 处理本地和其他节点的管 理信息; 然后启动外接设备和虚拟设备的连接监控任务, 用以监控客户端发 送的外接设备连接请求或虚拟设备连接请求, 并将所述外接设备连接请求或 虚拟设备连接请求转发给从基板管理控制器層 C, 以使所述从層 C处理外接 设备或虚拟设备的业务数据信息。 由此实现了系统外接设备和虚拟设备系统 中, 管理业务与外接设备或虚拟设备数据处理业务在不同的处理器中处理, 系统中的主 BMC和从 BMC的负荷均衡, 节省了大量的时间成本和经济成本。 图 4为本发明实施例提供的一种外接设备和虚拟设备的业务信息处理装 置示意图。 如图 4所示, 本实施例包括以下模块: In the embodiment of the present invention, after the system C is powered on, the board monitoring task is started, and the local hardware data information is detected and recorded; if the detected local hardware data information is normal, the external device and the virtual device are started. The task is: after the external device management controller layer C forwards the external device connection request or the virtual device connection request sent by the client, establishing a connection with the client; and connecting to the client through the connection with the client Device or virtual device business data information interaction. After the system is powered on, the main layer C starts the system management task and processes the management information of the local and other nodes. Then, the connection monitoring task of the external device and the virtual device is started, and the external device connection request or virtual device connection sent by the client is monitored. And requesting, and forwarding, the external device connection request or the virtual device connection request to the slave baseboard management controller layer C, so that the slave layer C processes the service data information of the external device or the virtual device. Therefore, in the system external device and the virtual device system, the management service and the external device or the virtual device data processing service are processed in different processors, and the load balancing of the master BMC and the slave BMC in the system saves a large time cost. And economic costs. FIG. 4 is a schematic diagram of a service information processing apparatus of an external device and a virtual device according to an embodiment of the present invention. As shown in FIG. 4, this embodiment includes the following modules:
单板监控模块 401 , 用于系统上电后, 启动单板监控任务, 以检测并记 录本地的硬件数据信息。  The board monitoring module 401 is configured to start a board monitoring task after the system is powered on to detect and record local hardware data information.
单板监控模块 401主要负责本地的硬件数据信息的检测及记录, 例如, 传感器数据检测及记录, 还用于记录本地的硬件、 软件的信息, 以及本地发 生的事件, 用以使主 BMC通过它来检查错误发生的原因。  The board monitoring module 401 is mainly responsible for detecting and recording local hardware data information, for example, sensor data detection and recording, and also for recording local hardware and software information, as well as local events, for the main BMC to pass through. To check the cause of the error.
任务启动模块 402 , 用于所述检测到的本地硬件的数据信息正常时, 启 动外接设备和虚拟设备任务。  The task startup module 402 is configured to start an external device and a virtual device task when the data information of the detected local hardware is normal.
任务启动模块 402用于启动本地的虚拟鼠标、 键盘、 光驱和显示器等。 连接建立模块 403 , 用于监控到主基板管理控制器層 C转发的客户端发 送的外接设备连接请求或虚拟设备连接请求后, 建立与所述客户端的连接。  The task launch module 402 is used to launch a local virtual mouse, keyboard, optical drive, display, and the like. The connection establishing module 403 is configured to establish a connection with the client after monitoring an external device connection request or a virtual device connection request sent by the client forwarded by the main baseboard management controller layer C.
在从層 C启动外接设备和虚拟设备的各项服务任务后, 监控到主基板管 理控制器 BMC 转发的客户端发送的外接设备连接请求或虚拟设备连接请求 时, 连接建立模块 403将与所述客户端进行协商, 以建立从層 C所在的节点 与所述客户端的 TCP连接。  After the service tasks of the external device and the virtual device are started from the layer C, when the external device connection request or the virtual device connection request sent by the client forwarded by the main baseboard management controller BMC is monitored, the connection establishing module 403 will The client negotiates to establish a TCP connection from the node where the layer C is located to the client.
信息交互模块 404 , 用于通过与所述客户端的连接与所述客户端进行外 接设备或虚拟设备业务数据信息交互。  The information interaction module 404 is configured to perform interaction between the external device or the virtual device service data information by using the connection with the client.
优选地, 本发明实施例还包括: ICH控制模块 405 , 用于将输入 /输出控 制器中心 ICH使能, 用以处理所述外接设备或虚拟设备的业务信息。  Preferably, the embodiment of the present invention further includes: an ICH control module 405, configured to enable an input/output controller center ICH to process service information of the external device or the virtual device.
由于本装置主要负责外接设备或虚拟设备的数据处理业务, 而数据处理 业务需要 ICH的参与, 因此在系统上电后, ICH控制模块 405将使能输入 /输 出控制器中心 ICH。  Since the device is mainly responsible for the data processing service of the external device or the virtual device, and the data processing service requires the participation of the ICH, after the system is powered on, the ICH control module 405 will enable the input/output controller center ICH.
优选地, 本发明实施例还包括: 业务信息处理模块 406 , 用于对所述外 接设备或虚拟设备的业务数据信息进行处理。  Preferably, the embodiment of the present invention further includes: a service information processing module 406, configured to process service data information of the external device or the virtual device.
优选地, 本发明实施例还包括: 发送模块 407 , 用于发送所述硬件数据 信息至所述主層 C , 用以所述主層 C处理本地的管理信息。 Preferably, the embodiment of the present invention further includes: a sending module 407, configured to send the hardware data Information is sent to the main layer C for processing the local management information by the main layer C.
单板监控模块 401检测并记录本地的硬件数据信息后, 发送模块 407会 将所述硬件数据信息发送给主層 C , 用以主層 C对本地进行管理。  After the board monitoring module 401 detects and records the local hardware data information, the sending module 407 sends the hardware data information to the main layer C for the local layer C to manage the local.
上述实施例描述了外接设备和虚拟设备系统中, 从層 C包括的模块, 下 述实施例描述外接设备和虚拟设备系统中主層 C包括的模块。 图 5为本发明 实施例提供的另一种外接设备和虚拟设备的业务信息处理装置示意图。 如图 5所示, 本实施例包括以下模块:  The above embodiment describes the modules included in the external device and the virtual device system from the layer C. The following embodiments describe the modules included in the external layer C and the virtual device system. FIG. 5 is a schematic diagram of another service device for processing an external device and a virtual device according to an embodiment of the present invention. As shown in FIG. 5, this embodiment includes the following modules:
系统管理模块 501 , 用于系统上电后, 启动系统管理任务, 用以处理本 地和其他节点的管理信息。  The system management module 501 is configured to start a system management task for processing management information of the local and other nodes after the system is powered on.
系统管理模块 501主要负责系统的管理业务, 从層 C将主节点的硬件信 息通过智能平台管理接口 I PMI发送到本地,用以本地管理从層 C所在的节点。  The system management module 501 is mainly responsible for the management of the system. The layer C sends the hardware information of the master node to the local through the intelligent platform management interface I PMI to locally manage the node where the layer C is located.
连接请求监控和处理模块 502 , 用于启动外接设备和虚拟设备的连接监 控任务, 用以监控客户端发送的外接设备连接请求或虚拟设备连接请求, 并 将所述外接设备连接请求或虚拟设备连接请求转发给从基板管理控制器層 C , 以使所述从層 C处理外接设备或虚拟设备的业务数据信息。  The connection request monitoring and processing module 502 is configured to initiate a connection monitoring task of the external device and the virtual device, to monitor an external device connection request or a virtual device connection request sent by the client, and connect the external device connection request or the virtual device connection. The request is forwarded to the slave base management controller layer C to cause the slave layer C to process the service data information of the external device or the virtual device.
连接请求监控和处理模块 502和网络模块相连, 具体用于: 监控所述客 户端发送的外接设备连接请求或虚拟设备连接请求, 将所述外接设备连接请 求或虚拟设备连接请求转发给从基板管理控制器層(。  The connection request monitoring and processing module 502 is connected to the network module, and is specifically configured to: monitor an external device connection request or a virtual device connection request sent by the client, and forward the external device connection request or the virtual device connection request to the slave substrate management. Controller layer (.
主層 C在系统管理任务启动成功后, 单独创建一个线程, 负责监控由客 户端发送的外接设备或虚拟设备的连接请求, 如果有来自客户端的外接设备 或虚拟设备的连接请求, 则及时对所述请求进行处理, 即将所述请求以一种 特定形式转发给从 BMC , 以使所述从 BMC做外接设备或虚拟设备的业务响应 操作。 如果没有来自客户端的外接设备或虚拟设备的连接请求, 则继续监控。  After the system management task is successfully started, the main layer C creates a separate thread to monitor the connection request of the external device or the virtual device sent by the client. If there is a connection request from the client or the virtual device, the device is timely. The request is processed, that is, the request is forwarded to the slave BMC in a specific form, so that the slave BMC acts as a service response operation of the external device or the virtual device. If there is no connection request from the client's external device or virtual device, continue monitoring.
本发明实施例还包括: ICH控制模块 503 , 用于将输入 /输出控制器中心 ICH禁用。  The embodiment of the invention further includes: an ICH control module 503, configured to disable the input/output controller center ICH.
主層 C主要负责系统管理任务, 不会对外接设备或虚拟设备数据业务进 行处理, 因此主層 C的工作不需要 ICH的参与, 为了减轻主層 C所在节点的 CPU的负荷, 主層 C禁用所在节点的 ICH。 The main layer C is mainly responsible for system management tasks, and will not enter the external device or virtual device data service. Row processing, so the work of the main layer C does not require the participation of the ICH. In order to reduce the load of the CPU of the node where the main layer C is located, the main layer C disables the ICH of the node where it is located.
图 6为本发明实施例提供的又一种外接设备和虚拟设备的业务信息处理 装置示意图。 如图 6所示, 本实施例包括以下模块:  FIG. 6 is a schematic diagram of another service information processing apparatus of an external device and a virtual device according to an embodiment of the present invention. As shown in FIG. 6, this embodiment includes the following modules:
主节点 601 , 主节点 601中运行的是从層(。 主节点中的输入 /输出控制 器中心 ICH 603被使能。  The master node 601, which operates in the master node 601, is a slave layer. The input/output controller center ICH 603 in the master node is enabled.
从节点 602 , 从节点 602中运行的是主層(。 如果容错计算机系统为 16 路容错计算机系统或是更高级别的容错计算机系统, 则除了运行主層 C外的 从节点外, 其他从节点都运行从層(。 各个节点之间通过 IPMB总线相连。 从 节点中的输入 /输出控制器中心 ICH被禁用。  From the node 602, the slave node 602 runs the main layer. (If the fault-tolerant computer system is a 16-way fault-tolerant computer system or a higher-level fault-tolerant computer system, in addition to the slave nodes running the main layer C, other slave nodes Both run from the layer (. The nodes are connected via the IPMB bus. The input/output controller center ICH in the slave node is disabled.
从層 C管理任务模块 605 , 用于执行单板监控任务, 并向主層 C反馈数 据。 所述数据包括主节点 601的硬件信息数据及事件日志信息。  The slave layer management task module 605 is configured to perform a board monitoring task and feed back data to the main layer C. The data includes hardware information data and event log information of the master node 601.
系统管理任务模块 606 , 主要负责 KVM和 VMM系统中各个节点的管理任 务,从層 C将自身所在的主节点的硬件信息通过智能平台管理接口 IPMI发送 到本地, 用以从节点中的系统管理任务模块 606管理主节点。  The system management task module 606 is mainly responsible for the management tasks of each node in the KVM and the VMM system, and the hardware information of the master node where the C is located is sent to the local device through the intelligent platform management interface IPMI, and is used to manage the tasks from the system in the node. Module 606 manages the primary node.
V匪 / KVM模块 607 , 模块 607用于启动虚拟鼠标、 键盘、 光驱和显示设 备, 并且用于进行 KVM或 VMM数据业务处理, 通过网络模块与客户端进行业 务数据信息的交互。  The V匪/KVM module 607, the module 607 is used to start a virtual mouse, a keyboard, an optical drive, and a display device, and is used for KVM or VMM data service processing, and interacts with the client through the network module to perform business data information.
本发明实施例还提供了外接设备和虚拟设备的业务信息处理系统, 该系 统包括上述业务信息处理装置, 以及客户端。 在系统上电后, 系统中的一种 业务信息处理装置启动单板监控任务, 检测并记录本地的硬件数据信息; 若 所述检测到的本地硬件的数据信息正常, 则启动外接设备和虚拟设备任务; 监控到主基板管理控制器 BMC转发的客户端发送的外接设备连接请求或虚拟 设备连接请求后, 建立与所述客户端的连接; 通过与所述客户端的连接与所 述客户端进行外接设备或虚拟设备业务数据信息交互。 系统中的另一种业务 信息处理装置启动系统管理任务, 处理本地和其他节点的管理信息; 然后启 动外接设备和虚拟设备的连接监控任务, 用以监控客户端发送的外接设备连 接请求或虚拟设备连接请求, 并将所述外接设备连接请求或虚拟设备连接请 求转发给从基板管理控制器層 C , 以使所述从層 C处理外接设备或虚拟设备 的业务数据信息。 由此实现了系统外接设备和虚拟设备系统中, 管理业务与 外接设备或虚拟设备数据处理业务在不同的业务信息处理装置中处理,主層 C 和从 BMC的负荷均衡, 节省了大量的时间成本和经济成本。 The embodiment of the present invention further provides a service information processing system for an external device and a virtual device, where the system includes the foregoing service information processing device, and a client. After the system is powered on, a service information processing device in the system starts a board monitoring task to detect and record local hardware data information. If the detected local hardware data information is normal, the external device and the virtual device are started. The task is: after the external device connection request or the virtual device connection request sent by the client forwarded by the main baseboard management controller BMC is monitored, establishing a connection with the client; and connecting the client to the external device by using the connection with the client Or virtual device business data information interaction. Another service information processing device in the system initiates a system management task to process management information of local and other nodes; The connection monitoring task of the external device and the virtual device is used to monitor the external device connection request or the virtual device connection request sent by the client, and forward the external device connection request or the virtual device connection request to the slave base management controller layer C. So that the slave layer C processes the service data information of the external device or the virtual device. Therefore, in the system external device and the virtual device system, the management service and the external device or the virtual device data processing service are processed in different service information processing devices, and the load balancing of the primary layer C and the secondary BMC saves a large amount of time cost. And economic costs.
专业人员应该还可以进一步意识到, 结合本文中所公开的实施例描述的 各示例的模块及算法步骤, 能够以电子硬件、 计算机软件或者二者的结合来 实现, 为了清楚地说明硬件和软件的可互换性, 在上述说明中已经按照功能 一般性地描述了各示例的组成及步骤。 这些功能究竟以硬件还是软件方式来 执行, 取决于技术方案的特定应用和设计约束条件。 专业技术人员可以对每 个特定的应用来使用不同方法来实现所描述的功能, 但是这种实现不应认为 超出本发明的范围。  A person skilled in the art should further appreciate that the modules and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both, in order to clearly illustrate hardware and software. Interchangeability, the composition and steps of the various examples have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
结合本文中所公开的实施例描述的方法或算法的步骤可以用硬件、 处理 器执行的软件模块, 或者二者的结合来实施。 软件模块可以置于随机存储器 ( RAM ) 、 内存、 只读存储器(ROM ) 、 电可编程 R0M、 电可擦除可编程 R0M、 寄存器、 硬盘、 可移动磁盘、 CD-ROM, 或技术领域内所公知的任意其它形式 的存储介质中。  The steps of a method or algorithm described in connection with the embodiments disclosed herein can be implemented in hardware, a software module executed by a processor, or a combination of both. Software modules can be placed in random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or technical field Any other form of storage medium known.
以上所述的具体实施方式, 对本发明的目的、 技术方案和有益效果进行 了进一步详细说明, 所应理解的是, 以上所述仅为本发明的具体实施方式而 已, 并不用于限定本发明的保护范围, 凡在本发明的精神和原则之内, 所做 的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。  The above described embodiments of the present invention are further described in detail, and the embodiments of the present invention are intended to be illustrative only. The scope of the protection, any modifications, equivalents, improvements, etc., made within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims

权 利 要 求 书 Claim
1、 一种外接设备和虚拟设备的业务信息处理方法, 其特征在于, 所 述方法包括: 系统上电后, 启动单板监控任务, 用以检测并记录本地的硬件数据信 A method for processing service information of an external device and a virtual device, wherein the method includes: after the system is powered on, the board monitoring task is started, and the local hardware data signal is detected and recorded.
若所述检测到的本地硬件的数据信息正常, 则启动外接设备和虚拟设 备任务; 监控到主基板管理控制器 BMC转发的客户端发送的外接设备连接请 求或虚拟设备连接请求后, 建立与所述客户端的连接; 通过与所述客户端的连接与所述客户端进行外接设备或虚拟设备业 务数据信息交互。 If the detected local hardware data information is normal, the external device and the virtual device task are started; after monitoring the external device connection request or the virtual device connection request sent by the client forwarded by the main baseboard management controller BMC, establishing and The connection of the client; interacting with the client by the external device or the virtual device service data information through the connection with the client.
2、 如权利要求 1所述的外接设备和虚拟设备的业务信息处理方法, 其特征在于, 所述启动单板监控任务之前还包括: 将本地的输入 /输出控制 器中心 ICH使能, 用以处理所述外接设备或虚拟设备的业务信息。 2. The service information processing method of the external device and the virtual device according to claim 1, wherein before the initiating the board monitoring task, the method further comprises: enabling the local input/output controller center ICH to enable Processing the service information of the external device or the virtual device.
3、 如权利要求 1所述的外接设备和虚拟设备的业务信息处理方法, 其特征在于, 所述通过与所述客户端的连接与所述客户端进行外接设备或 虚拟设备业务数据信息交互之前还包括: 对所述外接设备或虚拟设备的业 务数据信息进行处理。 The service information processing method of the external device and the virtual device according to claim 1, wherein the connection with the client is further performed before the client performs the interaction between the external device or the virtual device service data information. The method includes: processing service data information of the external device or the virtual device.
4、 如权利要求 1所述的外接设备和虚拟设备的业务信息处理方法, 其特征在于, 所述检测并记录本地的硬件数据信息之后还包括: 发送所述 硬件数据信息至所述主 BMC, 用以使所述主 BMC处理本地的管理信息。 The service information processing method of the external device and the virtual device according to claim 1, wherein the detecting and recording the local hardware data information further comprises: transmitting the hardware data information to the main BMC, Used to enable the primary BMC to process local management information.
5、 一种外接设备和虚拟设备的业务信息处理方法, 其特征在于, 所 述方法包括: 系统上电后, 启动系统管理任务, 用以处理本地和其他节点的管理信 启动外接设备和虚拟设备的连接监控任务, 用以监控客户端发送的外 接设备连接请求或虚拟设备连接请求, 并将所述外接设备连接请求或虚拟 设备连接请求转发给从基板管理控制器 BMC, 以使所述从 BMC处理外接 设备或虚拟设备的业务数据信息。 A method for processing service information of an external device and a virtual device, the method comprising: after the system is powered on, starting a system management task, and processing a management letter of the local and other nodes Initiating a connection monitoring task of the external device and the virtual device, for monitoring an external device connection request or a virtual device connection request sent by the client, and forwarding the external device connection request or the virtual device connection request to the slave baseboard management controller BMC, The service data information of the external device or the virtual device is processed by the slave BMC.
6、 如权利要求 1所述的外接设备和虚拟设备的业务信息处理方法, 其特征在于, 所述启动系统管理任务之前还包括: 将本地的输入 /输出控制 器中心 ICH禁用。 The service information processing method of the external device and the virtual device according to claim 1, wherein the initiating the system management task further comprises: disabling the local input/output controller center ICH.
7、 一种外接设备和虚拟设备的业务信息处理装置, 其特征在于, 所 述装置包括: 单板监控模块, 用于系统上电后, 启动单板监控任务, 以检测并记录 本地的硬件数据信息; 任务启动模块, 用于所述检测到的本地硬件的数据信息正常时, 启动 外接设备和虚拟设备任务; 连接建立模块, 用于监控到主基板管理控制器 BMC转发的客户端发 送的外接设备连接请求或虚拟设备连接请求后, 建立与所述客户端的连 接; 信息交互模块, 用于通过与所述客户端的连接与所述客户端进行外接 设备或虚拟设备业务数据信息交互。 A service information processing device for an external device and a virtual device, wherein the device includes: a board monitoring module, configured to start a board monitoring task after the system is powered on, to detect and record local hardware data. The task startup module is configured to: when the data information of the detected local hardware is normal, start the external device and the virtual device task; and the connection establishment module is configured to monitor the external connection sent by the client forwarded by the main baseboard management controller BMC After the device connection request or the virtual device connection request, the connection with the client is established; the information interaction module is configured to perform external device or virtual device service data information interaction with the client through the connection with the client.
8、 如权利要求 7所述的外接设备和虚拟设备的业务信息处理装置, 其特征在于, 所述装置还包括: ICH控制模块, 用于将本地的输入 /输出控 制器中心 ICH使能, 用以处理所述外接设备或虚拟设备的业务信息。 8. The service information processing apparatus of the external device and the virtual device according to claim 7, wherein the device further comprises: an ICH control module, configured to enable the local input/output controller center ICH, To process the service information of the external device or the virtual device.
9、 如权利要求 7所述的外接设备和虚拟设备的业务信息处理装置, 其特征在于, 所述装置还包括: 业务信息处理模块, 用于对所述外接设备 或虚拟设备的业务数据信息进行处理。 The service information processing device of the external device and the virtual device according to claim 7, wherein the device further comprises: a service information processing module, configured to perform service data information of the external device or the virtual device deal with.
10、 如权利要求 7所述的外接设备和虚拟设备的业务信息处理装置, 其特征在于, 所述装置还包括: 发送模块, 用于发送所述硬件数据信息至 所述主 BMC , 用以所述主 BMC处理本地的管理信息。 The device for processing the external device and the virtual device according to claim 7, wherein the device further comprises: a sending module, configured to send the hardware data information to the main BMC, The master BMC processes local management information.
11、 一种外接设备和虚拟设备的业务信息处理装置, 其特征在于, 所述装置包括: 系统管理模块, 用于系统上电后, 启动系统管理任务, 用以处理本地 和其他节点的管理信息; 连接请求监控和处理模块, 用于启动外接设备和虚拟设备的连接监控 任务, 用以监控客户端发送的外接设备连接请求或虚拟设备连接请求, 并 将所述外接设备连接请求或虚拟设备连接请求转发给从基板管理控制器 BMC, 以使所述从 BMC处理外接设备或虚拟设备的业务数据信息。 A device for processing information of an external device and a virtual device, the device comprising: a system management module, configured to: after the system is powered on, start a system management task, and process management information of the local and other nodes. a connection request monitoring and processing module, configured to initiate a connection monitoring task of the external device and the virtual device, to monitor an external device connection request or a virtual device connection request sent by the client, and connect the external device connection request or the virtual device connection The request is forwarded to the slave base management controller BMC to cause the slave BMC to process the service data information of the external device or the virtual device.
12、 如权利要求 11所述的外接设备和虚拟设备的业务信息处理装 置, 其特征在于, 所述装置还包括: ICH控制模块, 用于将本地的输入 / 输出控制器中心 ICH禁用。 12. The service information processing apparatus of the external device and the virtual device according to claim 11, wherein the apparatus further comprises: an ICH control module, configured to disable the local input/output controller center ICH.
13、 一种外接设备和虚拟设备的业务信息处理系统, 其特征在于, 所述系统包括如权利要求 7-12任意一项所述的业务信息处理装置,以及客 户端。 13. A service information processing system for an external device and a virtual device, characterized in that the system comprises the service information processing device according to any one of claims 7-12, and a client.
PCT/CN2012/079386 2012-02-06 2012-07-31 Service information processing method, apparatus and system for external device and virtual device WO2013117081A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210025369.9A CN102591717B (en) 2012-02-06 2012-02-06 Method, device and system for processing service information of access device and virtual device
CN201210025369.9 2012-02-06

Publications (1)

Publication Number Publication Date
WO2013117081A1 true WO2013117081A1 (en) 2013-08-15

Family

ID=46480424

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/079386 WO2013117081A1 (en) 2012-02-06 2012-07-31 Service information processing method, apparatus and system for external device and virtual device

Country Status (2)

Country Link
CN (1) CN102591717B (en)
WO (1) WO2013117081A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109976812A (en) * 2017-12-27 2019-07-05 合肥杰发科技有限公司 Vehicle device starts method, system and vehicle and the device with store function

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591717B (en) * 2012-02-06 2014-06-04 华为技术有限公司 Method, device and system for processing service information of access device and virtual device
CN105450748B (en) * 2015-11-23 2019-03-05 国云科技股份有限公司 A method of the physical machine remote desktop based on Openstack
US10572671B2 (en) 2017-02-20 2020-02-25 Tsinghua University Checking method, checking system and checking device for processor security
CN108345791B (en) * 2017-05-08 2019-04-23 清华大学 Processor security detection method, system and detection device
CN107508894A (en) * 2017-08-29 2017-12-22 环球智达科技(北京)有限公司 A kind of mission bit stream processing system
CN108833593A (en) * 2018-07-26 2018-11-16 郑州云海信息技术有限公司 Smart machine monitoring device and monitoring method, system, equipment, computer media
CN111447103B (en) * 2020-03-09 2022-01-28 杭州海康威视系统技术有限公司 Virtual device management system, electronic device, virtual device management method, and medium
CN114124301B (en) * 2021-11-17 2023-04-07 中国地质大学(武汉) Virtual media transmission system with data check and error retransmission mechanism

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1972212A (en) * 2005-10-24 2007-05-30 宏正自动科技股份有限公司 Kvm switch supporting ipmi communications with computing devices
CN1983969A (en) * 2006-04-24 2007-06-20 华为技术有限公司 System and realization for re-directing interface network
CN102289402A (en) * 2011-08-24 2011-12-21 浪潮电子信息产业股份有限公司 Monitoring and managing method based on physical multi-partition computer architecture
CN102591717A (en) * 2012-02-06 2012-07-18 华为技术有限公司 Method, device and system for processing service information of access device and virtual device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6985945B2 (en) * 2000-12-07 2006-01-10 Ipass, Inc. Service quality monitoring process
CN1863081B (en) * 2005-10-14 2010-05-05 华为技术有限公司 Managing system and method based on intelligent platform managing interface
CN101488105B (en) * 2008-01-18 2011-09-21 中兴通讯股份有限公司 Method for implementing high availability of memory double-controller and memory double-controller system
CN101771565B (en) * 2009-01-05 2012-07-11 英业达集团(天津)电子技术有限公司 Analogy method for realizing multitudinous or different baseboard management controllers by single server
CN102244591B (en) * 2010-05-10 2015-04-15 淮南东正电子科技有限公司 Client server and method for full process monitoring on function text of client server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1972212A (en) * 2005-10-24 2007-05-30 宏正自动科技股份有限公司 Kvm switch supporting ipmi communications with computing devices
CN1983969A (en) * 2006-04-24 2007-06-20 华为技术有限公司 System and realization for re-directing interface network
CN102289402A (en) * 2011-08-24 2011-12-21 浪潮电子信息产业股份有限公司 Monitoring and managing method based on physical multi-partition computer architecture
CN102591717A (en) * 2012-02-06 2012-07-18 华为技术有限公司 Method, device and system for processing service information of access device and virtual device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109976812A (en) * 2017-12-27 2019-07-05 合肥杰发科技有限公司 Vehicle device starts method, system and vehicle and the device with store function
CN109976812B (en) * 2017-12-27 2022-07-12 合肥杰发科技有限公司 Vehicle starting method and system, vehicle and device with storage function

Also Published As

Publication number Publication date
CN102591717A (en) 2012-07-18
CN102591717B (en) 2014-06-04

Similar Documents

Publication Publication Date Title
WO2013117081A1 (en) Service information processing method, apparatus and system for external device and virtual device
US8719410B2 (en) Native bi-directional communication for hardware management
US11330071B2 (en) Inter-process communication fault detection and recovery system
JP5863942B2 (en) Provision of witness service
EP3255527A1 (en) Remote keyboard-video-mouse technologies
JP5678723B2 (en) Switch, information processing apparatus and information processing system
US20100228960A1 (en) Virtual memory over baseboard management controller
US20170163691A1 (en) Methods, circuits, apparatus, systems and associated software applications for providing security on one or more servers, including virtual servers
WO2015109955A1 (en) Method and device for processing exceptional event in telecommunication cloud
US7734948B2 (en) Recovery of a redundant node controller in a computer system
WO2011100921A2 (en) Multi-service node management system, device and method
US10936324B2 (en) Proactive host device access monitoring and reporting system
US20200125462A1 (en) Method and system for a speed-up cluster reconfiguration time via a generic fast self node death detection
US10721135B1 (en) Edge computing system for monitoring and maintaining data center operations
US20090077218A1 (en) Software Method And System For Controlling And Observing Computer Networking Devices
US11412077B2 (en) Multi-logical-port data traffic stream preservation system
CN101442437A (en) Method, system and equipment for implementing high availability
CN102868723A (en) Control console and management method of management zero terminal machine and desktop virtual machine
CN113051039A (en) Virtual cloud office system login method and system based on cloud computing
US11496595B2 (en) Proxy management controller system
WO2013007023A1 (en) Method and device for improving reliability of high availability system
JP4863984B2 (en) Monitoring processing program, method and apparatus
TWI801758B (en) Method of controlling connection on network controller sideband interface
JP5433219B2 (en) Cluster system
JP5051652B2 (en) Reconnection system between telephone exchange device and PC, reconnection method thereof, and reconnection program thereof

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

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

Country of ref document: EP

Kind code of ref document: A1