WO2015154588A1 - Serial port information transmission method, single board device and common single board - Google Patents

Serial port information transmission method, single board device and common single board Download PDF

Info

Publication number
WO2015154588A1
WO2015154588A1 PCT/CN2015/072792 CN2015072792W WO2015154588A1 WO 2015154588 A1 WO2015154588 A1 WO 2015154588A1 CN 2015072792 W CN2015072792 W CN 2015072792W WO 2015154588 A1 WO2015154588 A1 WO 2015154588A1
Authority
WO
WIPO (PCT)
Prior art keywords
serial port
message
information
computer module
format
Prior art date
Application number
PCT/CN2015/072792
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 WO2015154588A1 publication Critical patent/WO2015154588A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/34Signalling channels for network management communication

Definitions

  • the present invention relates to the field of framed telecommunication equipment with electromechanical management, and in particular, to a serial port information transmission method, a single board device, and a public board.
  • a traditional serial telecommunications device such as a box-type WDM device or a switching device, needs to provide a serial port for inputting incoming and outgoing serial information for outputting events, alarms, input commands, and debugging commands.
  • the serial port interface of the panel may not be provided, and the interface drawn inside the board may not provide a standard interface, or in the production list. This interface is not soldered when the board device is used.
  • the serial port information cannot be exposed to ordinary users after the device is installed. This causes a certain amount of trouble for the project installer and the device maintenance personnel. You cannot use the serial port to log in to the board to collect the status information of the board.
  • the existing serial port channel is used to debug and control the single-board device, the maintenance personnel can log in to a specific single-board device for operation. Therefore, it cannot be used in most engineering site environments.
  • the service board/electromechanical management lower unit is responsible for managing various monitoring sensors and electromechanical management parts on the board; the central processing unit CPU runs the board software program. Generally, there are two serial ports on the CPU. In order to manage the boards, one of the serial lines needs to be pulled out. The other serial port can be suspended and not connected during design.
  • the management and communication mode of the electromechanical management can be a standard Intelligent Platform Management Interface (IPMI) mode or a manufacturer-defined communication mode. As shown in Figure 2, the control node is on the public board and the slave node is in the On the respective boards, through the control module on the common board, and the electromechanical management channel to the slave section on the lower computer Point to control.
  • IPMI Intelligent Platform Management Interface
  • the above-mentioned related electromechanical management control method and channel are utilized, and the control of the central processing unit of all slave nodes is controlled at the control node of the electromechanical management.
  • the embodiment of the invention provides a serial port information transmission method, a single board device and a common single board, so as to utilize the existing electromechanical management control method and channel, and control the serial port information of the central processing unit of all the slave nodes in the control node of the electromechanical management. transfer.
  • the embodiment of the present invention provides a serial port information transmission method, which is used for a single board device, where the single board device includes at least a lower computer module and a central processing unit, wherein the lower computer module receives a public board.
  • the upper computer module transmits the electromechanical management instruction message of the IPMI format of the intelligent platform management interface delivered by the electromechanical management channel;
  • the central processor is respectively connected with the first serial port and the second serial port, and the first serial port is led out,
  • the lower computer module and the second serial port are connected by a universal serial data bus;
  • the method includes:
  • the lower computer module receives a first message in an IPMI format that carries the serial port information sent by the upper computer module through the electromechanical management channel;
  • the lower computer module converts the first message into a second message of a universal serial port message format carrying the serial port information
  • the lower computer module sends the second message to the central processor through the second serial port, so that the central processor performs corresponding processing according to the serial port information in the second message.
  • serial port information transmission method wherein the serial port information is a serial port switching instruction information or a serial port input information.
  • the central processor performs corresponding processing according to the serial port information in the second message, including:
  • the central processor determines a type of the serial port switching instruction carried in the second message, And controlling the second serial port to be turned on or off according to the judgment result.
  • the serial port information transmission method wherein the central processor determines the type of the serial port switching instruction carried in the second message, and controls the opening or closing of the second serial port according to the determination result, including:
  • serial port information transmission method wherein, when the serial port information is a serial port input information, the lower computer module sends the second message to the central processor through the second serial port, so that the central processing unit Performing corresponding processing according to the serial port information in the second message includes:
  • the lower computer module After the second serial port is opened, the lower computer module sends the second message to the central processor through the second serial port, so that the central processor is configured according to the second message.
  • the serial port input information is processed accordingly.
  • serial port information transmission method wherein the method further includes:
  • the lower computer module receives a third message of a universal serial message format that is sent by the central processing unit and is sent by the second serial port and carries a serial port output information;
  • the lower computer module converts the third message into a fourth message in an IPMI format that carries serial port output information
  • the lower computer module sends the fourth message to the upper computer module through the electromechanical management channel, and the upper computer module converts the serial port output information in the fourth message into a corresponding output message format of the user terminal. After the output.
  • the embodiment of the present invention further provides a serial port information transmission method, which is used for a public board, where the public board is provided with at least a host computer module, wherein the upper computer module passes through an electromechanical management channel.
  • the lower-level machine module on the single-board device sends an electromechanical management instruction message in the IPMI format of the intelligent platform management interface, and the method includes:
  • the upper computer module sends at least the first board device identifier and the serial port information according to the user
  • the serial port command, the first message of the IPMI format carrying the serial port information is sent to the first single board device of the plurality of single board devices through the electromechanical management channel, so that the first single board device is
  • the first lower computer module performs the following operations:
  • the second serial port and the first lower computer module are connected by a universal serial data bus.
  • serial port information transmission method wherein the method further includes:
  • the host computer module receives a fourth message in an IPMI format that carries the serial port output information sent by the second lower-level device module on the second single-board device of the plurality of boards, where the fourth message is the
  • the second central processor receives the third message in the universal serial message format of the serial port output information sent by the second serial port, the second central processing unit converts the third message to be carried.
  • the serial port outputs the information in the IPMI format message;
  • the upper computer module converts the serial port output information in the fourth message into a corresponding output message format of the user terminal, and outputs the format.
  • the embodiment of the present invention further provides a single board device, where the single board device includes at least a lower computer module and a central processing unit, wherein the lower computer module includes a first receiving submodule, and is configured to receive a common
  • the upper computer module of the board passes the electromechanical management instruction message of the IPMI format of the intelligent platform management interface delivered by the electromechanical management channel;
  • the central processor is respectively connected with the first serial port and the second serial port, and the central processor is led out
  • the first serial port receives the serial port information
  • the lower computer module in the single board device is connected to the second serial port through a universal serial data bus;
  • the lower computer module further includes:
  • a second receiving submodule configured to receive a first message in an IPMI format that carries the serial port information sent by the upper computer module through the electromechanical management channel;
  • the first conversion submodule is configured to convert the first message into a pass carrying the serial port information The second message in the serial message format;
  • the first sending submodule is configured to send the second message to the central processor by using the second serial port, so that the central processor performs corresponding processing according to the serial port information in the second message.
  • serial port information is serial port switching instruction information or serial port input information.
  • the single board device wherein the central processing unit comprises:
  • the determining sub-module is configured to determine, when the serial port information is the serial port switching instruction information, the type of the serial port switching instruction carried in the second message, and obtain a determination result;
  • control submodule configured to control the second serial port to be turned on or off according to the determination result.
  • the single board device wherein the determining submodule is configured to:
  • the control submodule is set to:
  • the first sending sub-module is configured to: when the serial port information is a serial port input information, after the second serial port is opened, the second serial port is used to A message is sent to the central processor, such that the central processor performs a corresponding process according to the serial port input information in the second message.
  • the single board device wherein the lower computer module further includes:
  • a third receiving submodule configured to receive a third message of a universal serial port message format that is sent by the central processing unit and is sent by the second serial port and carries a serial port output information
  • a second conversion submodule configured to convert the third message into a fourth message in an IPMI format that carries serial port output information
  • a second sending submodule configured to send the fourth message to the upper computer module by using the electromechanical management channel, where the upper computer module converts the serial output information in the fourth message into The corresponding output message format of the user terminal is output.
  • the embodiment of the present invention further provides a public board, where the public board is provided with at least a host computer module, wherein the upper computer module includes a sending sub-module for The lower-level device module of the plurality of single-board devices sends an electromechanical management instruction message of the IPMI format of the intelligent platform management interface, where the upper-level machine module further includes:
  • the third sending sub-module is configured to send the first single-board device in the plurality of single-board devices through the electromechanical management channel according to a serial port command that is sent by the user and includes at least a first board device identifier and serial port information. Sending a first message in the IPMI format that carries the serial port information, so that the first lower computer module on the first single board device performs the following operations:
  • the second serial port and the first lower computer module are connected by a universal serial data bus.
  • the upper computer module further includes:
  • a fourth receiving submodule configured to receive a fourth message in an IPMI format that carries the serial port output information sent by the second lower computer module on any one of the plurality of boards, where the fourth message is The message is that the second lower-level computer module receives the third message of the universal serial port message format that carries the serial port output information sent by the second central processing unit of the second single-board device through the second serial port, The three messages are converted into an IPMI format message carrying the serial port output information;
  • the third conversion submodule is configured to convert the serial port output information in the fourth message into a corresponding output message format of the user terminal, and output the same.
  • the embodiment of the invention further provides a computer program and a storage medium thereof, the computer program comprising program instructions, when the program instruction is executed by the single board device, the device can perform the method for transmitting the serial port information; the storage medium is stored The computer program.
  • the embodiment of the invention further provides a computer program and a storage medium thereof, the computer program comprising program instructions, when the program instruction is executed by a common single board device, enabling the device to implement the above A serial port information transfer method, the storage medium storing a storage medium of the computer program.
  • the control node of the electromechanical management uses the existing electromechanical management control scheme and the electromechanical management channel to send the first message of the IPMI format carrying the serial port information to the slave node, that is, the single message.
  • the lower computer module on the board device converts the first message into a second message in the universal serial message format.
  • the second serial port is connected to the central processing unit of the single-board device, and the central processing unit receives the serial port information sent by the control node, The purpose of controlling the transfer of the central processor serial port information of all slave nodes on the control node.
  • FIG. 1 is a schematic diagram of key components of a single board device in the prior art
  • FIG. 2 is a schematic diagram of a mechanical connection of an electromechanical management bus of a chassis in the prior art
  • FIG. 3 is a schematic flowchart of a method for transmitting serial port information on a single board device according to an embodiment of the present disclosure
  • FIG. 4 is a schematic diagram of connection of serial port information transmission according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of opening and closing a serial port according to an embodiment of the present disclosure
  • FIG. 6 is a schematic flowchart of performing serial port information input from a public board to a single board device according to an embodiment of the present disclosure
  • FIG. 7 is a schematic flowchart of performing serial port information output from a single board device to a public board according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a single board device module according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a public single board module according to an embodiment of the present invention.
  • the embodiment of the present invention provides a serial port information transmission method, which is used for a single board device.
  • the single board device includes at least a lower computer module and a central processing unit CPU, wherein the lower computer module receives an upper computer module on a public board.
  • the method is as shown in FIG. 3, and includes:
  • Step 31 The lower computer module receives a first message in an IPMI format that carries the serial port information sent by the upper computer module through the electromechanical management channel;
  • Step 32 The lower computer module converts the first message into a second message of a universal serial message format carrying the serial port information.
  • Step 33 The lower computer module sends the second message to the central processor by using the second serial port, so that the central processor performs corresponding processing according to the serial port information in the second message.
  • the second serial port and the lower computer module that are suspended are connected through a universal serial data bus, as shown in FIG. 4 .
  • the host computer module determines, according to a serial port command input by the user that at least the first board device identifier and the serial port information, to send specific serial port information to which lower-level module.
  • the host computer module fills the serial port information into the first message of the IPMI format and sends the message to the lower computer.
  • the lower-level device module can receive the electromechanical management command message in the IPMI format. In the embodiment of the present invention, any manner of filling the serial port information into the first message according to the IPMI format may be adopted.
  • the lower computer module parses out the serial port information therein, and converts the serial port information into a second message of the universal serial port message format that can be identified by the central processing unit, and passes the second message.
  • the serial port is sent to the central processing unit, so that the central processing unit performs corresponding processing according to the serial port information in the second message.
  • the serial port information may be serial port switching instruction information or serial port input information.
  • the central processor When the serial port information is the serial port switching instruction information, the central processor performs corresponding processing according to the serial port information in the second message, specifically:
  • the central processor determines the type of the serial port switching instruction carried in the second message, and controls the second serial port to be turned on or off according to the determination result.
  • the central processor determines the type of the serial port switching instruction carried in the second message, and controls whether the second serial port is opened or closed according to the determination result:
  • the output information of the first serial port is copied to the second serial port, otherwise the second serial port is closed.
  • the module of the serial port switching control may be added to the central processor, and when the second serial port needs to be opened, the output information of the first serial port is copied to the second serial port; Otherwise stop the output of the second serial port.
  • the device 41 is an electromechanical management host computer module, which is generally installed on a common board of the chassis, and the board itself has serial port debugging, network port debugging, or other methods such as connecting a network tube to perform human-computer interaction functions;
  • the electromechanical management channel provided by the frame of the device 42 can provide the communication function of the upper computer and the lower computer.
  • the device module includes an IPMI module on the upper computer, an electromechanical management bus channel and an IPMI interface on the lower computer;
  • the device 43 is an electromechanical management lower computer module on the service board, and can process the management command of the upper computer;
  • the device 44 is universal for the central processing unit CPU and the electromechanical management module lower unit connected to the service board.
  • Serial data bus UART bus for communication and command interaction between CPU and electromechanical management of the lower computer;
  • the device 45 is a serial port switching control module on the central processing unit of the service board, and is responsible for controlling the output of the first serial port and the second serial port.
  • the process of opening or closing the second serial port specifically includes:
  • Step 51 When the serial information of the service board provided by the electromechanical management channel needs to be used, the device 41 can be configured.
  • Step 52 The device 41 processes the human-machine command of the user (the human-machine command here is a serial port command input by the user including at least the first board device identifier and the serial port switching instruction information), and the command is filled into the IPMI communication format.
  • the first message is sent to the device 43 through the device 42;
  • Step 53 After receiving the first message, the device 43 parses the serial port switching instruction information from the IPMI format, encapsulates it into a universal serial port message, sends the message to the device 45 through the device 44, and the device 45 starts to listen to the serial port input by the device 44. information;
  • Step 54 after receiving the serial port switching instruction information, the device 45 performs control to determine the type of the serial port switching instruction information. If the type is open serial port type, step 55 is performed, otherwise step 56 is performed;
  • Step 55 the device 45 copies the output of the first serial port to the second serial port
  • step 56 the device 45 turns off the output of the second serial port.
  • the lower computer module sends the second message to the central processor through the second serial port, so that the central processor is configured according to the second message.
  • the corresponding processing of the serial port information is specifically:
  • the lower computer module After the second serial port is opened, the lower computer module sends the second message to the central processor through the second serial port, so that the central processor is configured according to the second message.
  • the serial port input information is processed accordingly.
  • the public board can send serial port input information to the central processing unit of the single-board device, so that the central processing unit performs corresponding processing.
  • Step 61 Send serial port input information to the designated lower computer module through the man-machine interface on the device 41;
  • Step 62 the device 41 fills the serial port input information into the IPMI format message, and sends it to the device 43 through the device 42;
  • Step 63 the device 43 processes the received first message in the IPMI format containing the serial port input information, extracts the serial port input information in the first message, and encapsulates the second message in the general serial port message format, and sends the message to the device 45;
  • step 64 the device 45 passes the general serial port input information to the central processing unit for corresponding processing.
  • the above-mentioned serial port information transmission method wherein preferably, the method further includes:
  • the lower computer module receives a third message of a universal serial port message format that is sent by the central processing unit and is sent by the second serial port and carries a serial port output information;
  • the lower computer module converts the third message into a fourth message in an IPMI format that carries serial port output information
  • the lower computer module sends the fourth message to the upper computer module through the electromechanical management channel, and the upper computer module converts the serial port output information in the fourth message into a corresponding output message format of the user terminal. Then output to the user terminal.
  • the output message is converted to the telnet message format output.
  • the output message is converted into the format output of the serial message. That is, the user uses the method to log in to the upper computer, converts the message into a corresponding message format output, and finally outputs it to the client used by the user, and the message format type depends on the client login mode used by the user.
  • the serial port information can be sent from the public board to the single board device, and the serial port information can be sent from the single board device to the public board.
  • the premise that the board sends the serial port information to the public board is that the second serial port is in the open state.
  • the specific process is as shown in Figure 7.
  • Step 71 when the device 43 detects the serial port output information, the serial port switching control module 45 first determines;
  • Step 72 the device 45 determines whether the second serial port output is in an open state, if it is in an open state, the process proceeds to step 74 to continue processing, and if the state is off, the process proceeds to step 73 to continue processing;
  • Step 73 If the current second serial port output state is off, the message is ignored and the process ends. deal with;
  • Step 74 if the current second serial port output state is the open state, the serial port message is directly sent to the electromechanical management lower position machine (device 43);
  • Step 75 the device 43 fills the serial port message into the IPMI format message, and sends the message to the device 41 through the device 42.
  • Step 76 After receiving the IPMI message sent by the lower computer and carrying the serial port output information, the device 41 extracts the serial port output information, converts the output message format, and outputs the format to the user terminal.
  • the serial port input and output message of the central processing unit CPU is transmitted through the electromechanical management communication channel, and the communication message format conversion is performed at the key node (lower computer module), thereby realizing the Management of the serial port device CPU] serial port.
  • the method provided by the embodiment of the invention can cut the serial port bus into the message transmission channel of the electromechanical management, and control and debug the serial port of the CPU of all the slave nodes in the control node of the electromechanical management, and also the backup of the existing serial port mode. And protection channels.
  • the embodiment of the present invention further provides a method for transmitting a serial port information, which is used for a public board, where the public board is provided with at least a host computer module, wherein the upper computer module passes through an electromechanical management channel to a plurality of single board devices.
  • the lower computer module sends an electromechanical management instruction message of the intelligent platform management interface IPMI format, and the method includes:
  • the upper computer module sends a carrying place to the first single board device of the plurality of single board devices through the electromechanical management channel according to a serial port command that is input by the user and includes at least a first board device identifier and a serial port information.
  • the first message in the IPMI format of the serial port information is such that the first lower computer module on the first single board device performs the following operations:
  • the second serial port and the first lower computer module are connected through a universal serial data bus. Pick up.
  • serial port information transmission method wherein the method further includes:
  • the upper computer module receives the fourth IPMI format that carries the serial port output information sent by the second lower computer module on any one of the plurality of boards (including the first single board device) a message, wherein the fourth message is a third serial communication message format of the second lower-level computer module that receives the output information of the serial port that is sent by the second central processing unit of the second single-board device through the second serial port After the message, converting the third message into an IPMI format message carrying the serial port output information;
  • the upper computer module converts the serial port output information in the fourth message into a corresponding output message format of the user terminal, and outputs the format.
  • the embodiment of the present invention further provides a single board device, where the single board device includes at least a lower computer module and a central processing unit, and further includes a storage device, wherein the lower computer module includes a first receiving submodule, and is suitable for receiving a common
  • the upper computer module of the board passes the electromechanical management instruction message of the IPMI format of the intelligent platform management interface delivered by the electromechanical management channel; the central processor is respectively connected with the first serial port and the second serial port, and the central processor is led out
  • the first serial port receives the serial port information
  • the lower computer module in the single board device is connected to the second serial port through a universal serial data bus;
  • the lower computer module further includes:
  • a second receiving submodule configured to receive a first message in an IPMI format that carries the serial port information sent by the upper computer module through the electromechanical management channel;
  • a first conversion submodule configured to convert the first message into a second message of a universal serial message format carrying the serial port information
  • the first sending submodule is configured to send the second message to the central processor by using the second serial port, so that the central processor performs corresponding processing according to the serial port information in the second message.
  • serial port information is serial port switching instruction information or serial port input information.
  • the middle The central processor includes:
  • the determining sub-module is configured to determine a type of the serial port switching instruction carried in the second message, and obtain a determination result
  • the control submodule is adapted to control the opening or closing of the second serial port according to the determination result.
  • the single board device wherein the determining submodule is specifically:
  • the control submodule is specifically:
  • the output information of the first serial port is copied to the second serial port, otherwise the second serial port is closed.
  • the first sending sub-module is specifically:
  • the second message is sent to the central processor through the second serial port, so that the central processor performs corresponding according to the serial port input information in the second message. deal with.
  • the single board device wherein the lower computer module further includes:
  • the third receiving sub-module is configured to receive a third message of a universal serial port message format that is sent by the central processing unit and is sent by the second serial port and carries a serial port output information;
  • a second conversion submodule configured to convert the third message into a fourth message in an IPMI format that carries serial port output information
  • a second sending submodule configured to send the fourth message to the upper computer module by using the electromechanical management channel, so that the upper computer module converts the serial port output information in the fourth message into an output message format And output.
  • the embodiment of the present invention further provides a public board, where the public board includes a processor and a storage device, and at least a host computer module is disposed, wherein the upper computer module includes a sending sub-module for using an electromechanical management channel. And sending an electromechanical management instruction message of the IPMI format of the intelligent platform management interface to the lower-level module on the plurality of single-board devices, where the upper-level machine module further includes:
  • the third sending sub-module is configured to send the first single-board device in the plurality of single-board devices through the electromechanical management channel according to the serial port command that is sent by the user and includes at least the first board device identifier and the serial port information. Sending a first message in the IPMI format that carries the serial port information, so that the first lower computer module on the first single board device performs the following operations:
  • the second serial port and the first lower computer module are connected by a universal serial data bus.
  • the upper computer module further includes:
  • the fourth receiving sub-module is configured to receive a fourth message in an IPMI format that carries the serial port output information sent by the second lower-level device module on the second single-board device of the plurality of boards, where the fourth message is The second lower-level machine module receives the third message after receiving the third message in the universal serial port message format of the serial port output information sent by the second serial port by the second central processing unit of the second single-board device. Converted to an IPMI format message carrying the serial port output information;
  • the third conversion submodule is adapted to convert the serial port output information in the fourth message into a corresponding output message format of the user terminal, and output the same.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve. Thus, the invention is not limited to any specific combination of hardware and software.
  • the devices/function modules/functional units in the above embodiments may be implemented by using a general-purpose computing device, which may be concentrated on a single computing device or distributed among multiple computing devices. On the network.
  • each device/function module/functional unit in the above embodiment When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the serial port input and output message of the central processing unit CPU is transmitted through the electromechanical management communication channel, and the communication message format conversion is performed at the key node (lower computer module), thereby realizing the operations of the electromechanical control node to the chassis. Control of the CPU serial port of the board device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Information Transfer Systems (AREA)

Abstract

A serial port information transmission method, a single board device and a common single board. The single board device at least comprises a lower computer module and a central processing unit. The method comprises: receiving, by a lower computer module, a first message of an IPMI format carrying serial port information and sent by an upper computer module through an electromechanical management channel; converting, by the lower computer module, the first message into a second message of a general serial port message format carrying the serial port information; and sending, by the lower computer module, the second message to a central processing unit through a second serial port, so that the central processing unit executes corresponding processing according to the serial port information in the second message. The embodiments of the present invention can control the transmission of central processing unit serial port information about all slave nodes at an electromechanical management control node using the existing electromechanical management control method and channel.

Description

一种串口信息传递方法、单板设备和公用单板Serial port information transmission method, single board device, and public board 技术领域Technical field
本发明涉及带机电管理的框式电信设备领域,尤其涉及一种串口信息传递方法、单板设备和公用单板。The present invention relates to the field of framed telecommunication equipment with electromechanical management, and in particular, to a serial port information transmission method, a single board device, and a public board.
背景技术Background technique
传统的框式电信设备,例如框式波分设备、交换路由设备等,单板需要提供串口,以便输入出入串口信息,用来输出事件、告警,输入命令、调试命令等信息。但是在单板设备设计制作时又需要考虑单板芯片布局集成度、面板设计等问题,因此不一定能够提供面板串口接口,单板内部引出的接口也不一定能够提供标准接口,或在生产单板设备时没有焊接此接口。另外,出于安全考虑,在设备安装之后也不能随意将串口信息暴露给普通用户使用。这样就给工程安装人员,设备维护人员造成了一定的麻烦,不能随意使用串口登录到单板搜集单板运行的状态信息。A traditional serial telecommunications device, such as a box-type WDM device or a switching device, needs to provide a serial port for inputting incoming and outgoing serial information for outputting events, alarms, input commands, and debugging commands. However, in the design and manufacture of a single-board device, it is necessary to consider the integration of the single-chip chip layout and the design of the panel. Therefore, the serial port interface of the panel may not be provided, and the interface drawn inside the board may not provide a standard interface, or in the production list. This interface is not soldered when the board device is used. In addition, for security reasons, the serial port information cannot be exposed to ordinary users after the device is installed. This causes a certain amount of trouble for the project installer and the device maintenance personnel. You cannot use the serial port to log in to the board to collect the status information of the board.
如果采用现有串口通道对单板设备进行调试控制,只能由维护人员登录到具体的某一单板设备上进行操作,故并不能用于大多数的工程现场环境。If the existing serial port channel is used to debug and control the single-board device, the maintenance personnel can log in to a specific single-board device for operation. Therefore, it cannot be used in most engineering site environments.
现有的电信框式设备都要求符合标准即先进的电信计算平台(Advanced Telecom Computing Architecture,ATCA)标准或微型计算机micro ATCA标准。上述标准要求设备能对各槽位单板机电进行管理,单板上的关键部件如图1所示。Existing telecom frame devices are required to comply with standards, namely the Advanced Telecom Computing Architecture (ATCA) standard or the microcomputer micro ATCA standard. The above standards require that the device can manage the electromechanical components of the boards in each slot. The key components on the board are shown in Figure 1.
其中,业务板/机电管理下位机负责管理单板上的各种监控传感器和机电管理部分;中央处理器CPU运行单板软件程序。一般CPU上有两个串口,为了对单板进行管理,需要引出其中一个串口线,另外一个串口在设计时可进行悬空,不进行连接。机电管理的管理和通信方式可以是标准的智能平台管理接口(Intelligent Platform Management Interface,IPMI)方式或厂家自定义的通信方式,如图2所示,控制总节点在公用单板上,从节点在各自单板上,通过公用单板上的控制模块,和机电管理通道对在下位机上的从节 点进行控制。The service board/electromechanical management lower unit is responsible for managing various monitoring sensors and electromechanical management parts on the board; the central processing unit CPU runs the board software program. Generally, there are two serial ports on the CPU. In order to manage the boards, one of the serial lines needs to be pulled out. The other serial port can be suspended and not connected during design. The management and communication mode of the electromechanical management can be a standard Intelligent Platform Management Interface (IPMI) mode or a manufacturer-defined communication mode. As shown in Figure 2, the control node is on the public board and the slave node is in the On the respective boards, through the control module on the common board, and the electromechanical management channel to the slave section on the lower computer Point to control.
在本发明中就是利用上述相关机电管理控制方法和通道,在机电管理的控制节点,控制所有从节点的中央处理器串口信息的传递。In the present invention, the above-mentioned related electromechanical management control method and channel are utilized, and the control of the central processing unit of all slave nodes is controlled at the control node of the electromechanical management.
发明内容Summary of the invention
本发明实施例提供一种串口信息传递方法、单板设备和公用单板,以利用现有的机电管理控制方法和通道,在机电管理的控制节点,控制所有从节点的中央处理器串口信息的传递。The embodiment of the invention provides a serial port information transmission method, a single board device and a common single board, so as to utilize the existing electromechanical management control method and channel, and control the serial port information of the central processing unit of all the slave nodes in the control node of the electromechanical management. transfer.
为了解决上述技术问题,本发明实施例提供了一种串口信息传递方法,用于单板设备,所述单板设备至少包括下位机模块和中央处理器,其中所述下位机模块接收公用单板上的上位机模块通过机电管理通道下发的智能平台管理接口IPMI格式的机电管理指令消息;所述中央处理器分别与第一串口和第二串口连接,且所述第一串口被引出,所述下位机模块与所述第二串口通过通用串行数据总线连接;In order to solve the above technical problem, the embodiment of the present invention provides a serial port information transmission method, which is used for a single board device, where the single board device includes at least a lower computer module and a central processing unit, wherein the lower computer module receives a public board. The upper computer module transmits the electromechanical management instruction message of the IPMI format of the intelligent platform management interface delivered by the electromechanical management channel; the central processor is respectively connected with the first serial port and the second serial port, and the first serial port is led out, The lower computer module and the second serial port are connected by a universal serial data bus;
所述方法包括:The method includes:
所述下位机模块接收所述上位机模块通过所述机电管理通道发送的携带串口信息的IPMI格式的第一消息;The lower computer module receives a first message in an IPMI format that carries the serial port information sent by the upper computer module through the electromechanical management channel;
所述下位机模块将所述第一消息转换为携带所述串口信息的通用串口消息格式的第二消息;The lower computer module converts the first message into a second message of a universal serial port message format carrying the serial port information;
所述下位机模块通过所述第二串口将所述第二消息发送到所述中央处理器,使得所述中央处理器根据所述第二消息中的所述串口信息执行相应处理。The lower computer module sends the second message to the central processor through the second serial port, so that the central processor performs corresponding processing according to the serial port information in the second message.
上述的串口信息传递方法,其中,所述串口信息为串口切换指令信息或串口输入信息。The serial port information transmission method, wherein the serial port information is a serial port switching instruction information or a serial port input information.
上述的串口信息传递方法,其中,所述串口信息为串口切换指令信息时,所述中央处理器根据所述第二消息中的所述串口信息执行相应处理包括:In the above-mentioned serial port information transmission method, when the serial port information is the serial port switching instruction information, the central processor performs corresponding processing according to the serial port information in the second message, including:
所述中央处理器判断所述第二消息中携带的所述串口切换指令的类型, 并根据判断结果控制所述第二串口打开或关闭。The central processor determines a type of the serial port switching instruction carried in the second message, And controlling the second serial port to be turned on or off according to the judgment result.
上述的串口信息传递方法,其中,所述中央处理器判断所述第二消息中携带的所述串口切换指令的类型,根据判断结果控制所述第二串口打开或关闭包括:The serial port information transmission method, wherein the central processor determines the type of the serial port switching instruction carried in the second message, and controls the opening or closing of the second serial port according to the determination result, including:
所述中央处理器判断所述串口切换指令的类型是否是打开串口类型,获得所述判断结果;Determining, by the central processor, whether the type of the serial port switching instruction is an open serial port type, and obtaining the determination result;
当所述判断结果指示所述串口切换指令的类型是打开串口时,将所述第一串口的输出信息复制到所述第二串口,当所述串口切换指令的类型是关闭串口时,则关闭所述第二串口。When the judgment result indicates that the type of the serial port switching instruction is to open the serial port, copy the output information of the first serial port to the second serial port, and when the type of the serial port switching instruction is to close the serial port, then close The second serial port.
上述的串口信息传递方法,其中,所述串口信息为串口输入信息时,所述下位机模块通过所述第二串口将所述第二消息发送到所述中央处理器,使得所述中央处理器根据所述第二消息中的所述串口信息执行相应处理包括:The serial port information transmission method, wherein, when the serial port information is a serial port input information, the lower computer module sends the second message to the central processor through the second serial port, so that the central processing unit Performing corresponding processing according to the serial port information in the second message includes:
在所述第二串口打开后,所述下位机模块通过所述第二串口将所述第二消息发送到所述中央处理器,使得所述中央处理器根据所述第二消息中的所述串口输入信息执行相应处理。After the second serial port is opened, the lower computer module sends the second message to the central processor through the second serial port, so that the central processor is configured according to the second message. The serial port input information is processed accordingly.
上述的串口信息传递方法,其中,所述方法还包括:The above-mentioned serial port information transmission method, wherein the method further includes:
所述下位机模块接收到所述中央处理器通过所述第二串口发送的携带串口输出信息的通用串口消息格式的第三消息;The lower computer module receives a third message of a universal serial message format that is sent by the central processing unit and is sent by the second serial port and carries a serial port output information;
所述下位机模块将所述第三消息转换为携带串口输出信息的IPMI格式的第四消息;The lower computer module converts the third message into a fourth message in an IPMI format that carries serial port output information;
所述下位机模块通过所述机电管理通道将所述第四消息发送到所述上位机模块,所述上位机模块将所述第四消息中的串口输出信息转换成用户终端的相应输出消息格式后输出。The lower computer module sends the fourth message to the upper computer module through the electromechanical management channel, and the upper computer module converts the serial port output information in the fourth message into a corresponding output message format of the user terminal. After the output.
为了解决上述技术问题,本发明实施例还提供了一种串口信息传递方法,用于公用单板,所述公用单板至少设置有上位机模块,其中所述上位机模块通过机电管理通道向多个单板设备上的下位机模块下发智能平台管理接口IPMI格式的机电管理指令消息,所述方法包括:In order to solve the above technical problem, the embodiment of the present invention further provides a serial port information transmission method, which is used for a public board, where the public board is provided with at least a host computer module, wherein the upper computer module passes through an electromechanical management channel. The lower-level machine module on the single-board device sends an electromechanical management instruction message in the IPMI format of the intelligent platform management interface, and the method includes:
所述上位机模块根据用户发送的至少包括第一单板设备标识和串口信息 的串口指令,通过所述机电管理通道向所述多个单板设备中的所述第一单板设备发送携带所述串口信息的IPMI格式的第一消息,使得所述第一单板设备上的第一下位机模块执行以下操作:The upper computer module sends at least the first board device identifier and the serial port information according to the user The serial port command, the first message of the IPMI format carrying the serial port information is sent to the first single board device of the plurality of single board devices through the electromechanical management channel, so that the first single board device is The first lower computer module performs the following operations:
在接收到所述第一消息后,将所述第一消息转换为携带所述串口信息的通用串口消息格式的第二消息;After receiving the first message, converting the first message into a second message of a universal serial port message format carrying the serial port information;
通过第二串口将所述第二消息发送到所述第一单板设备的第一中央处理器,使得所述第一中央处理器根据所述第二消息中的所述串口信息执行相应处理;其中所述第二串口与所述第一下位机模块通过通用串行数据总线连接。Sending, by the second serial port, the second message to the first central processing unit of the first single-board device, so that the first central processing unit performs corresponding processing according to the serial port information in the second message; The second serial port and the first lower computer module are connected by a universal serial data bus.
上述的串口信息传递方法,其中,所述方法还包括:The above-mentioned serial port information transmission method, wherein the method further includes:
所述上位机模块接收所述多个单板中的第二单板设备上的第二下位机模块发送的携带串口输出信息的IPMI格式的第四消息,其中所述第四消息为所述第二下位机模块在接收到第二单板设备的第二中央处理器通过所述第二串口发送的携带串口输出信息的通用串口消息格式的第三消息后,将所述第三消息转换为携带串口输出信息的IPMI格式的消息;The host computer module receives a fourth message in an IPMI format that carries the serial port output information sent by the second lower-level device module on the second single-board device of the plurality of boards, where the fourth message is the After the second central processor receives the third message in the universal serial message format of the serial port output information sent by the second serial port, the second central processing unit converts the third message to be carried. The serial port outputs the information in the IPMI format message;
所述上位机模块将所述第四消息中的所述串口输出信息转换成用户终端的相应输出消息格式后输出。The upper computer module converts the serial port output information in the fourth message into a corresponding output message format of the user terminal, and outputs the format.
为了解决上述问题,本发明实施例还提供了一种单板设备,所述单板设备至少包括下位机模块和中央处理器,其中所述下位机模块包括第一接收子模块,设置为接收公用单板上的上位机模块通过机电管理通道下发的智能平台管理接口IPMI格式的机电管理指令消息;所述中央处理器分别与第一串口和第二串口连接,且所述中央处理器通过引出的所述第一串口接收串口信息,所述单板设备中的所述下位机模块与所述第二串口通过通用串行数据总线连接;In order to solve the above problem, the embodiment of the present invention further provides a single board device, where the single board device includes at least a lower computer module and a central processing unit, wherein the lower computer module includes a first receiving submodule, and is configured to receive a common The upper computer module of the board passes the electromechanical management instruction message of the IPMI format of the intelligent platform management interface delivered by the electromechanical management channel; the central processor is respectively connected with the first serial port and the second serial port, and the central processor is led out The first serial port receives the serial port information, and the lower computer module in the single board device is connected to the second serial port through a universal serial data bus;
所述下位机模块还包括:The lower computer module further includes:
第二接收子模块,设置为接收所述上位机模块通过所述机电管理通道发送的携带串口信息的IPMI格式的第一消息;a second receiving submodule, configured to receive a first message in an IPMI format that carries the serial port information sent by the upper computer module through the electromechanical management channel;
第一转换子模块,设置为将所述第一消息转换为携带所述串口信息的通 用串口消息格式的第二消息;The first conversion submodule is configured to convert the first message into a pass carrying the serial port information The second message in the serial message format;
第一发送子模块,设置为通过所述第二串口将所述第二消息发送到所述中央处理器,使得所述中央处理器根据所述第二消息中的所述串口信息执行相应处理。The first sending submodule is configured to send the second message to the central processor by using the second serial port, so that the central processor performs corresponding processing according to the serial port information in the second message.
上述的单板设备,其中,所述串口信息为串口切换指令信息或串口输入信息。The single-board device, wherein the serial port information is serial port switching instruction information or serial port input information.
上述的单板设备,其中,所述中央处理器包括:The single board device, wherein the central processing unit comprises:
判断子模块,设置为当所述串口信息为串口切换指令信息时,判断所述第二消息中携带的所述串口切换指令的类型,获得判断结果;The determining sub-module is configured to determine, when the serial port information is the serial port switching instruction information, the type of the serial port switching instruction carried in the second message, and obtain a determination result;
控制子模块,设置为根据所述判断结果控制所述第二串口打开或关闭。And a control submodule configured to control the second serial port to be turned on or off according to the determination result.
上述的单板设备,其中,所述判断子模块具是设置为:The single board device, wherein the determining submodule is configured to:
判断所述串口切换指令的类型是否是打开串口,获得所述判断结果;Determining whether the type of the serial port switching instruction is to open a serial port, and obtaining the determination result;
所述控制子模块是设置为:The control submodule is set to:
当所述判断结果指示所述串口切换指令的类型是打开串口类型时,将所述第一串口的输出信息复制到所述第二串口,当所述判断结果指示所述串口切换指令的类型是关闭串口时,则关闭所述第二串口。And when the determining result indicates that the type of the serial port switching instruction is to open the serial port type, copying the output information of the first serial port to the second serial port, when the determining result indicates that the type of the serial port switching instruction is When the serial port is closed, the second serial port is closed.
上述的单板设备,其中,所述第一发送子模块是设置为:当所述串口信息为串口输入信息时,在所述第二串口打开后,通过所述第二串口将所述第二消息发送到所述中央处理器,使得所述中央处理器根据所述第二消息中的所述串口输入信息执行相应处理。In the above-mentioned single-board device, the first sending sub-module is configured to: when the serial port information is a serial port input information, after the second serial port is opened, the second serial port is used to A message is sent to the central processor, such that the central processor performs a corresponding process according to the serial port input information in the second message.
上述的单板设备,其中,所述下位机模块还包括:The single board device, wherein the lower computer module further includes:
第三接收子模块,设置为接收所述中央处理器通过所述第二串口发送的携带串口输出信息的通用串口消息格式的第三消息;a third receiving submodule, configured to receive a third message of a universal serial port message format that is sent by the central processing unit and is sent by the second serial port and carries a serial port output information;
第二转换子模块,设置为将所述第三消息转换为携带串口输出信息的IPMI格式的第四消息;a second conversion submodule, configured to convert the third message into a fourth message in an IPMI format that carries serial port output information;
第二发送子模块,设置为通过所述机电管理通道将所述第四消息发送到所述上位机模块,所述上位机模块将所述第四消息中的串口输出信息转换成 用户终端的相应输出消息格式后输出。a second sending submodule, configured to send the fourth message to the upper computer module by using the electromechanical management channel, where the upper computer module converts the serial output information in the fourth message into The corresponding output message format of the user terminal is output.
为了解决上述技术问题,本发明实施例还提供了一种公用单板,所述公用单板至少设置有上位机模块,其中所述上位机模块包括下发子模块,用于通过机电管理通道向多个单板设备上的下位机模块下发智能平台管理接口IPMI格式的机电管理指令消息,所述上位机模块还包括:In order to solve the above technical problem, the embodiment of the present invention further provides a public board, where the public board is provided with at least a host computer module, wherein the upper computer module includes a sending sub-module for The lower-level device module of the plurality of single-board devices sends an electromechanical management instruction message of the IPMI format of the intelligent platform management interface, where the upper-level machine module further includes:
第三发送子模块,设置为根据用户发送的至少包括第一单板设备标识和串口信息的串口指令,通过所述机电管理通道向所述多个单板设备中的所述第一单板设备发送携带所述串口信息的IPMI格式的第一消息,使得所述第一单板设备上的第一下位机模块执行以下操作:The third sending sub-module is configured to send the first single-board device in the plurality of single-board devices through the electromechanical management channel according to a serial port command that is sent by the user and includes at least a first board device identifier and serial port information. Sending a first message in the IPMI format that carries the serial port information, so that the first lower computer module on the first single board device performs the following operations:
在接收到所述第一消息后,将所述第一消息转换为携带所述串口信息的通用串口消息格式的第二消息;After receiving the first message, converting the first message into a second message of a universal serial port message format carrying the serial port information;
通过第二串口将所述第二消息发送到所述第一单板设备的第一中央处理器,使得所述第一中央处理器根据所述第二消息中的所述串口信息执行相应处理;其中所述第二串口与所述第一下位机模块通过通用串行数据总线连接。Sending, by the second serial port, the second message to the first central processing unit of the first single-board device, so that the first central processing unit performs corresponding processing according to the serial port information in the second message; The second serial port and the first lower computer module are connected by a universal serial data bus.
上述的公用单板,其中,所述上位机模块还包括:The public board of the above, wherein the upper computer module further includes:
第四接收子模块,设置为接收所述多个单板中的任一第二单板设备上的第二下位机模块发送的携带串口输出信息的IPMI格式的第四消息,其中所述第四消息为所述第二下位机模块在接收到第二单板设备的第二中央处理器通过所述第二串口发送的携带串口输出信息的通用串口消息格式的第三消息后,将所述第三消息转换为携带串口输出信息的IPMI格式的消息;a fourth receiving submodule, configured to receive a fourth message in an IPMI format that carries the serial port output information sent by the second lower computer module on any one of the plurality of boards, where the fourth message is The message is that the second lower-level computer module receives the third message of the universal serial port message format that carries the serial port output information sent by the second central processing unit of the second single-board device through the second serial port, The three messages are converted into an IPMI format message carrying the serial port output information;
第三转换子模块,设置为将所述第四消息中的所述串口输出信息转换成用户终端的相应输出消息格式后输出。The third conversion submodule is configured to convert the serial port output information in the fourth message into a corresponding output message format of the user terminal, and output the same.
本发明实施例还提供一种计算机程序及其存储介质,该计算机程序包括程序指令,当该程序指令被单板设备执行时,使得该设备可执行上述串口信息传递的方法;所述存储介质存储所述计算机程序。The embodiment of the invention further provides a computer program and a storage medium thereof, the computer program comprising program instructions, when the program instruction is executed by the single board device, the device can perform the method for transmitting the serial port information; the storage medium is stored The computer program.
本发明实施例还提供一种计算机程序及其存储介质,该计算机程序包括程序指令,当该程序指令被公用单板设备执行时,使得该设备可实施上述的 串口信息传递方法,所述存储介质存储所述计算机程序的存储介质。The embodiment of the invention further provides a computer program and a storage medium thereof, the computer program comprising program instructions, when the program instruction is executed by a common single board device, enabling the device to implement the above A serial port information transfer method, the storage medium storing a storage medium of the computer program.
在本发明实施例中,机电管理的控制节点即公用单板利用现有的机电管理控制方案和机电管理通道,向从节点即单板设备发送携带串口信息的IPMI格式的第一消息,由单板设备上的下位机模块将第一消息转换为通用串口消息格式的第二消息。由于下位机模块与第二串口通过通用串行数据总线连接,第二串口又与单板设备的中央处理器连接,因此,中央处理器会接收到控制节点下发的所述串口信息,实现在控制节点上控制所有从节点的中央处理器串口信息的传递的目的。In the embodiment of the present invention, the control node of the electromechanical management, that is, the public board, uses the existing electromechanical management control scheme and the electromechanical management channel to send the first message of the IPMI format carrying the serial port information to the slave node, that is, the single message. The lower computer module on the board device converts the first message into a second message in the universal serial message format. The second serial port is connected to the central processing unit of the single-board device, and the central processing unit receives the serial port information sent by the control node, The purpose of controlling the transfer of the central processor serial port information of all slave nodes on the control node.
附图概述BRIEF abstract
图1为现有技术中单板设备的关键部件的示意图;1 is a schematic diagram of key components of a single board device in the prior art;
图2为现有技术中机框机电管理总线连接示意图;2 is a schematic diagram of a mechanical connection of an electromechanical management bus of a chassis in the prior art;
图3为本发明实施例提供的单板设备上串口信息传递的方法的流程示意图;FIG. 3 is a schematic flowchart of a method for transmitting serial port information on a single board device according to an embodiment of the present disclosure;
图4为本发明实施例提供的串口信息传递的连接示意图;4 is a schematic diagram of connection of serial port information transmission according to an embodiment of the present invention;
图5为本发明实施例提供的串口打开和关闭的流程示意图;FIG. 5 is a schematic flowchart of opening and closing a serial port according to an embodiment of the present disclosure;
图6为本发明实施例提供的由公用单板向单板设备进行串口信息输入的流程示意图;FIG. 6 is a schematic flowchart of performing serial port information input from a public board to a single board device according to an embodiment of the present disclosure;
图7为本发明实施例提供的由单板设备向公用单板进行串口信息输出的流程示意图。FIG. 7 is a schematic flowchart of performing serial port information output from a single board device to a public board according to an embodiment of the present invention.
图8为本发明实施例提供的单板设备模块示意图。FIG. 8 is a schematic diagram of a single board device module according to an embodiment of the present invention.
图9为本发明实施例提供的公用单板模块示意图。FIG. 9 is a schematic diagram of a public single board module according to an embodiment of the present invention.
本发明的较佳实施方式Preferred embodiment of the invention
下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。另外,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于 此处的顺序执行所示出或描述的步骤。Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other. In addition, although the logical order is shown in the flowchart, in some cases, it may be different The steps shown or described are performed in the order herein.
本发明实施例提供了一种串口信息传递方法,用于单板设备,所述单板设备至少包括下位机模块和中央处理器CPU,其中所述下位机模块接收公用单板上的上位机模块通过机电管理通道下发的智能平台管理接口IPMI格式的机电管理指令消息;所述中央处理器分别与第一串口和第二串口连接,且所述第一串口被引出,所述下位机模块与所述第二串口通过通用串行数据总线连接;The embodiment of the present invention provides a serial port information transmission method, which is used for a single board device. The single board device includes at least a lower computer module and a central processing unit CPU, wherein the lower computer module receives an upper computer module on a public board. The electromechanical management instruction message of the IPMI format of the intelligent platform management interface delivered by the electromechanical management channel; the central processor is respectively connected to the first serial port and the second serial port, and the first serial port is extracted, and the lower computer module is The second serial port is connected by a universal serial data bus;
所述方法如图3所示,包括:The method is as shown in FIG. 3, and includes:
步骤31,所述下位机模块接收所述上位机模块通过所述机电管理通道发送的携带串口信息的IPMI格式的第一消息;Step 31: The lower computer module receives a first message in an IPMI format that carries the serial port information sent by the upper computer module through the electromechanical management channel;
步骤32,所述下位机模块将所述第一消息转换为携带所述串口信息的通用串口消息格式的第二消息;Step 32: The lower computer module converts the first message into a second message of a universal serial message format carrying the serial port information.
步骤33,所述下位机模块通过所述第二串口将所述第二消息发送到所述中央处理器,使得所述中央处理器根据所述第二消息中的所述串口信息执行相应处理。Step 33: The lower computer module sends the second message to the central processor by using the second serial port, so that the central processor performs corresponding processing according to the serial port information in the second message.
在本发明实施例中,在机电管理的相关架构基础上,将悬空的第二串口与下位机模块通过通用串行数据总线连接起来,如图4所示。上位机模块根据用户输入的至少包括第一单板设备标识和串口信息的串口指令确定具体向哪一个下位机模块发送具体的串口信息。由于下位机模块可以接收上位机模块下发的IPMI格式的机电管理指令消息,因此,在本发明实施例中,上位机模块将串口信息填充到IPMI格式的第一消息中,下发到下位机模块,本发明实施例中,可以采用任意能够将串口信息按照IPMI格式填充到第一消息中的方式。In the embodiment of the present invention, on the basis of the related architecture of electromechanical management, the second serial port and the lower computer module that are suspended are connected through a universal serial data bus, as shown in FIG. 4 . The host computer module determines, according to a serial port command input by the user that at least the first board device identifier and the serial port information, to send specific serial port information to which lower-level module. In the embodiment of the present invention, the host computer module fills the serial port information into the first message of the IPMI format and sends the message to the lower computer. The lower-level device module can receive the electromechanical management command message in the IPMI format. In the embodiment of the present invention, any manner of filling the serial port information into the first message according to the IPMI format may be adopted.
进一步地,下位机模块在接收到第一消息后,解析出其中的串口信息,并将其转换为中央处理器能够识别的携带所述串口信息的通用串口消息格式的第二消息,通过第二串口发送到中央处理器,使得中央处理器根据所述第二消息中的所述串口信息执行相应处理。通过上述过程,实现在控制节点上控制所有从节点的中央处理器串口信息的传递的目的。 Further, after receiving the first message, the lower computer module parses out the serial port information therein, and converts the serial port information into a second message of the universal serial port message format that can be identified by the central processing unit, and passes the second message. The serial port is sent to the central processing unit, so that the central processing unit performs corresponding processing according to the serial port information in the second message. Through the above process, the purpose of controlling the transmission of the central processor serial port information of all the slave nodes on the control node is achieved.
上述的串口信息传递方法,其中较佳地,所述串口信息可以为串口切换指令信息或串口输入信息。In the above method for serial port information transmission, preferably, the serial port information may be serial port switching instruction information or serial port input information.
当所述串口信息为串口切换指令信息时,所述中央处理器根据所述第二消息中的所述串口信息执行相应处理具体为:When the serial port information is the serial port switching instruction information, the central processor performs corresponding processing according to the serial port information in the second message, specifically:
所述中央处理器判断所述第二消息中携带的所述串口切换指令的类型,并根据判断结果控制所述第二串口打开或关闭。The central processor determines the type of the serial port switching instruction carried in the second message, and controls the second serial port to be turned on or off according to the determination result.
进一步地,所述中央处理器判断所述第二消息中携带的所述串口切换指令的类型,根据判断结果控制所述第二串口打开或关闭具体为:Further, the central processor determines the type of the serial port switching instruction carried in the second message, and controls whether the second serial port is opened or closed according to the determination result:
所述中央处理器判断所述串口切换指令的类型是否是打开串口类型,获得所述判断结果;Determining, by the central processor, whether the type of the serial port switching instruction is an open serial port type, and obtaining the determination result;
当所述判断结果指示所述串口切换指令的类型是打开串口类型时,将所述第一串口的输出信息复制到所述第二串口,否则关闭所述第二串口。When the result of the determination indicates that the type of the serial port switching instruction is to open the serial port type, the output information of the first serial port is copied to the second serial port, otherwise the second serial port is closed.
在实际应用中,如图4所示,可以通过在中央处理器上增加串口切换控制的模块,当需要打开第二串口时,将所述第一串口的输出信息复制到所述第二串口;否则停止第二串口的输出。In an actual application, as shown in FIG. 4, the module of the serial port switching control may be added to the central processor, and when the second serial port needs to be opened, the output information of the first serial port is copied to the second serial port; Otherwise stop the output of the second serial port.
下面结合图4和图5介绍一下机电控制节点(公用单板)向从节点(单板设备)发送串口切换指令信息的过程。The following describes the process of sending serial port switching instruction information to the slave node (single board device) by the electromechanical control node (common board) in conjunction with FIG. 4 and FIG.
图4中包括与相关技术相同的以下模块:The following modules are identical to the related art in FIG. 4:
装置41为机电管理上位机模块,一般安装在机框公用单板上,单板本身带有串口调试、网口调试,或连接网管等其他方式,进行人机交互功能;The device 41 is an electromechanical management host computer module, which is generally installed on a common board of the chassis, and the board itself has serial port debugging, network port debugging, or other methods such as connecting a network tube to perform human-computer interaction functions;
装置42机框提供的机电管理通道,可提供上位机和下位机的通信功能,此装置模块包含上位机上的IPMI模块,机电管理总线通道和下位机上的IPMI接口;The electromechanical management channel provided by the frame of the device 42 can provide the communication function of the upper computer and the lower computer. The device module includes an IPMI module on the upper computer, an electromechanical management bus channel and an IPMI interface on the lower computer;
装置43为业务板上的机电管理下位机模块,可处理上位机的管理命令;The device 43 is an electromechanical management lower computer module on the service board, and can process the management command of the upper computer;
另外,相比于相关技术,本发明实施例中还新增加了以下模块:In addition, compared with the related art, the following modules are newly added in the embodiment of the present invention:
装置44为连接业务板的中央处理器CPU和机电管理模块下位机的通用 串行数据总线UART总线,用于CPU和机电管理下位机之间的通信和命令交互;The device 44 is universal for the central processing unit CPU and the electromechanical management module lower unit connected to the service board. Serial data bus UART bus for communication and command interaction between CPU and electromechanical management of the lower computer;
装置45为业务板中央处理器上的串口切换控制模块,负责对第一串口和第二串口的输出进行控制。The device 45 is a serial port switching control module on the central processing unit of the service board, and is responsible for controlling the output of the first serial port and the second serial port.
对应地,打开或关闭第二串口的过程具体包括:Correspondingly, the process of opening or closing the second serial port specifically includes:
步骤51,在需要使用机电管理通道提供的业务板串口信息时,可对装置41进行命令配置;Step 51: When the serial information of the service board provided by the electromechanical management channel needs to be used, the device 41 can be configured.
步骤52,装置41对用户的人机命令进行处理(这里的人机命令即为用户输入的至少包括第一单板设备标识和串口切换指令信息的串口指令),将此命令填充到IPMI通信格式的第一消息,通过装置42下发到装置43;Step 52: The device 41 processes the human-machine command of the user (the human-machine command here is a serial port command input by the user including at least the first board device identifier and the serial port switching instruction information), and the command is filled into the IPMI communication format. The first message is sent to the device 43 through the device 42;
步骤53,装置43收到该第一消息后,将串口切换指令信息从IPMI格式中解析出来,封装成通用串口消息,通过装置44发送给装置45,同时装置45开始侦听装置44输入的串口信息;Step 53: After receiving the first message, the device 43 parses the serial port switching instruction information from the IPMI format, encapsulates it into a universal serial port message, sends the message to the device 45 through the device 44, and the device 45 starts to listen to the serial port input by the device 44. information;
步骤54,装置45收到串口切换指令信息后进行控制,判断串口切换指令信息的类型,如果类型为打开串口类型,执行步骤55,否则执行步骤56; Step 54, after receiving the serial port switching instruction information, the device 45 performs control to determine the type of the serial port switching instruction information. If the type is open serial port type, step 55 is performed, otherwise step 56 is performed;
步骤55,装置45将第一串口的输出复制到第二串口; Step 55, the device 45 copies the output of the first serial port to the second serial port;
步骤56,装置45将第二串口的输出关闭。In step 56, the device 45 turns off the output of the second serial port.
当所述串口信息为串口输入信息时,所述下位机模块通过所述第二串口将所述第二消息发送到所述中央处理器,使得所述中央处理器根据所述第二消息中的所述串口信息执行相应处理具体为:When the serial port information is the serial port input information, the lower computer module sends the second message to the central processor through the second serial port, so that the central processor is configured according to the second message. The corresponding processing of the serial port information is specifically:
在所述第二串口打开后,所述下位机模块通过所述第二串口将所述第二消息发送到所述中央处理器,使得所述中央处理器根据所述第二消息中的所述串口输入信息执行相应处理。After the second serial port is opened, the lower computer module sends the second message to the central processor through the second serial port, so that the central processor is configured according to the second message. The serial port input information is processed accordingly.
在第二串口打开后,公用单板可以向单板设备的中央处理器下发串口输入信息,使得中央处理器进行相应处理。After the second serial port is opened, the public board can send serial port input information to the central processing unit of the single-board device, so that the central processing unit performs corresponding processing.
下面结合图4和图6介绍一下机电控制节点(公用单板)向从节点(单板设备)发送串口输入信息的过程,具体包括: The process of sending the serial port input information to the slave node (single board device) by the electromechanical control node (common board) is described below with reference to FIG. 4 and FIG.
步骤61,通过装置41上的人机界面向指定的下位机模块发送串口输入信息;Step 61: Send serial port input information to the designated lower computer module through the man-machine interface on the device 41;
步骤62,装置41将串口输入信息填充进IPMI格式的消息,通过装置42发送到装置43; Step 62, the device 41 fills the serial port input information into the IPMI format message, and sends it to the device 43 through the device 42;
步骤63,装置43对收到的包含串口输入信息的IPMI格式的第一消息进行处理,提取第一消息中的串口输入信息,封装成通用串口消息格式的第二消息,发送给装置45; Step 63, the device 43 processes the received first message in the IPMI format containing the serial port input information, extracts the serial port input information in the first message, and encapsulates the second message in the general serial port message format, and sends the message to the device 45;
步骤64,装置45将通用串口输入信息交给中央处理器进行相应处理。In step 64, the device 45 passes the general serial port input information to the central processing unit for corresponding processing.
上述的串口信息传递方法,其中较佳地,所述方法还包括:The above-mentioned serial port information transmission method, wherein preferably, the method further includes:
所述下位机模块接收所述中央处理器通过所述第二串口发送的携带串口输出信息的通用串口消息格式的第三消息;The lower computer module receives a third message of a universal serial port message format that is sent by the central processing unit and is sent by the second serial port and carries a serial port output information;
所述下位机模块将所述第三消息转换为携带串口输出信息的IPMI格式的第四消息;The lower computer module converts the third message into a fourth message in an IPMI format that carries serial port output information;
所述下位机模块通过所述机电管理通道将所述第四消息发送到所述上位机模块,所述上位机模块将所述第四消息中的串口输出信息转换成用户终端的相应输出消息格式后输出到所述用户终端。例如,当用户使用telnet方式登录单板/服务器时,输出的消息被转换成telnet的消息格式输出;当用户使用串口方式登录时,输出的消息被转换成串口消息的格式输出等等。即,用户使用什么方式登录到上位机,就把该消息转换成对应的消息格式输出,最终输出到用户使用的客户端,消息格式类型取决于用户使用的客户端登陆方式。The lower computer module sends the fourth message to the upper computer module through the electromechanical management channel, and the upper computer module converts the serial port output information in the fourth message into a corresponding output message format of the user terminal. Then output to the user terminal. For example, when a user logs in to the board/server using telnet, the output message is converted to the telnet message format output. When the user logs in using the serial port mode, the output message is converted into the format output of the serial message. That is, the user uses the method to log in to the upper computer, converts the message into a corresponding message format output, and finally outputs it to the client used by the user, and the message format type depends on the client login mode used by the user.
在本发明实施例中,不仅可以由公用单板向单板设备发送串口信息,还可以由单板设备向公用单板发送串口信息。当然,单板设备向公用单板发送串口信息的前提是第二串口为打开状态,具体过程如图7所示,包括:In the embodiment of the present invention, the serial port information can be sent from the public board to the single board device, and the serial port information can be sent from the single board device to the public board. The premise that the board sends the serial port information to the public board is that the second serial port is in the open state. The specific process is as shown in Figure 7.
步骤71,装置43侦听到串口输出信息时,先由串口切换控制模块45进行判断; Step 71, when the device 43 detects the serial port output information, the serial port switching control module 45 first determines;
步骤72,装置45判断第二串口输出是否为打开状态,如果是打开状态进入步骤74继续处理,如果状态为关闭进入步骤73继续处理; Step 72, the device 45 determines whether the second serial port output is in an open state, if it is in an open state, the process proceeds to step 74 to continue processing, and if the state is off, the process proceeds to step 73 to continue processing;
步骤73,如果当前第二串口输出状态为关闭状态,则忽略该消息,结束 处理;Step 73: If the current second serial port output state is off, the message is ignored and the process ends. deal with;
步骤74,如果当前第二串口输出状态为打开状态,将该串口消息直接发送给机电管理下位机(装置43); Step 74, if the current second serial port output state is the open state, the serial port message is directly sent to the electromechanical management lower position machine (device 43);
步骤75,装置43将该串口消息填充进IPMI格式的消息,通过装置42向装置41发送; Step 75, the device 43 fills the serial port message into the IPMI format message, and sends the message to the device 41 through the device 42.
步骤76,装置41收到下位机发过来的携带串口输出信息的IPMI消息后,提取该串口输出信息,转换输出消息格式后向用户终端输出。Step 76: After receiving the IPMI message sent by the lower computer and carrying the serial port output information, the device 41 extracts the serial port output information, converts the output message format, and outputs the format to the user terminal.
本发明实施例提供的上述方法,将中央处理器CPU串口输入输出消息通过机电管理通信通道传递,在关键节点(下位机模块)进行通信消息格式转换,实现了从机电控制节点对机框内各业务单板设备CPU]串口的控制。According to the above method provided by the embodiment of the present invention, the serial port input and output message of the central processing unit CPU is transmitted through the electromechanical management communication channel, and the communication message format conversion is performed at the key node (lower computer module), thereby realizing the Management of the serial port device CPU] serial port.
如采用现有串口通道对业务单板进行调试控制,因不是所有单板串口线都能连到面板,故并不能用于大多数工程现场环境。而通过本发明实施例提供的方法则可以将串口总线切入机电管理的消息传递通道,在机电管理的控制节点,对所有从节点的CPU串口进行控制和调试,对现有串口方式也是一种备份和保护通道。If the existing serial port is used to debug the service board, not all single-board serial lines can be connected to the panel, so it cannot be used in most engineering environments. The method provided by the embodiment of the invention can cut the serial port bus into the message transmission channel of the electromechanical management, and control and debug the serial port of the CPU of all the slave nodes in the control node of the electromechanical management, and also the backup of the existing serial port mode. And protection channels.
本发明实施例还提供了一种串口信息传递方法,用于公用单板,所述公用单板至少设置有上位机模块,其中所述上位机模块通过机电管理通道向多个单板设备上的下位机模块下发智能平台管理接口IPMI格式的机电管理指令消息,所述方法包括:The embodiment of the present invention further provides a method for transmitting a serial port information, which is used for a public board, where the public board is provided with at least a host computer module, wherein the upper computer module passes through an electromechanical management channel to a plurality of single board devices. The lower computer module sends an electromechanical management instruction message of the intelligent platform management interface IPMI format, and the method includes:
所述上位机模块根据用户输入的至少包括第一单板设备标识和串口信息的串口指令,通过所述机电管理通道向所述多个单板设备中的所述第一单板设备发送携带所述串口信息的IPMI格式的第一消息,使得所述第一单板设备上的第一下位机模块执行以下操作:The upper computer module sends a carrying place to the first single board device of the plurality of single board devices through the electromechanical management channel according to a serial port command that is input by the user and includes at least a first board device identifier and a serial port information. The first message in the IPMI format of the serial port information is such that the first lower computer module on the first single board device performs the following operations:
在接收到所述第一消息后,将所述第一消息转换为携带所述串口信息的通用串口消息格式的第二消息;After receiving the first message, converting the first message into a second message of a universal serial port message format carrying the serial port information;
通过第二串口将所述第二消息发送到所述第一单板设备的第一中央处理器,使得所述第一中央处理器根据所述第二消息中的所述串口信息执行相应处理;其中所述第二串口与所述第一下位机模块通过通用串行数据总线连 接。Sending, by the second serial port, the second message to the first central processing unit of the first single-board device, so that the first central processing unit performs corresponding processing according to the serial port information in the second message; The second serial port and the first lower computer module are connected through a universal serial data bus. Pick up.
上述的串口信息传递方法,其中,所述方法还包括:The above-mentioned serial port information transmission method, wherein the method further includes:
所述上位机模块接收所述多个单板中的任一第二单板设备(包括所述第一单板设备)上的第二下位机模块发送的携带串口输出信息的IPMI格式的第四消息,其中所述第四消息为所述第二下位机模块在接收到第二单板设备的第二中央处理器通过所述第二串口发送的携带串口输出信息的通用串口消息格式的第三消息后,将所述第三消息转换为携带串口输出信息的IPMI格式的消息;The upper computer module receives the fourth IPMI format that carries the serial port output information sent by the second lower computer module on any one of the plurality of boards (including the first single board device) a message, wherein the fourth message is a third serial communication message format of the second lower-level computer module that receives the output information of the serial port that is sent by the second central processing unit of the second single-board device through the second serial port After the message, converting the third message into an IPMI format message carrying the serial port output information;
所述上位机模块将所述第四消息中的所述串口输出信息转换成用户终端的相应输出消息格式后输出。The upper computer module converts the serial port output information in the fourth message into a corresponding output message format of the user terminal, and outputs the format.
本发明实施例还提供了一种单板设备,所述单板设备至少包括下位机模块和中央处理器,还包括存储设备,其中所述下位机模块包括第一接收子模块,适用于接收公用单板上的上位机模块通过机电管理通道下发的智能平台管理接口IPMI格式的机电管理指令消息;所述中央处理器分别与第一串口和第二串口连接,且所述中央处理器通过引出的所述第一串口接收串口信息,所述单板设备中的所述下位机模块与所述第二串口通过通用串行数据总线连接;The embodiment of the present invention further provides a single board device, where the single board device includes at least a lower computer module and a central processing unit, and further includes a storage device, wherein the lower computer module includes a first receiving submodule, and is suitable for receiving a common The upper computer module of the board passes the electromechanical management instruction message of the IPMI format of the intelligent platform management interface delivered by the electromechanical management channel; the central processor is respectively connected with the first serial port and the second serial port, and the central processor is led out The first serial port receives the serial port information, and the lower computer module in the single board device is connected to the second serial port through a universal serial data bus;
所述下位机模块还包括:The lower computer module further includes:
第二接收子模块,适用于接收所述上位机模块通过所述机电管理通道发送的携带串口信息的IPMI格式的第一消息;a second receiving submodule, configured to receive a first message in an IPMI format that carries the serial port information sent by the upper computer module through the electromechanical management channel;
第一转换子模块,适用于将所述第一消息转换为携带所述串口信息的通用串口消息格式的第二消息;a first conversion submodule, configured to convert the first message into a second message of a universal serial message format carrying the serial port information;
第一发送子模块,适用于通过所述第二串口将所述第二消息发送到所述中央处理器,使得所述中央处理器根据所述第二消息中的所述串口信息执行相应处理。The first sending submodule is configured to send the second message to the central processor by using the second serial port, so that the central processor performs corresponding processing according to the serial port information in the second message.
上述的单板设备,其中,所述串口信息为串口切换指令信息或串口输入信息。The single-board device, wherein the serial port information is serial port switching instruction information or serial port input information.
上述的单板设备,其中,所述串口信息为串口切换指令信息时,所述中 央处理器包括:In the above-mentioned single-board device, when the serial port information is serial port switching instruction information, the middle The central processor includes:
判断子模块,适用于判断所述第二消息中携带的所述串口切换指令的类型,获得判断结果;The determining sub-module is configured to determine a type of the serial port switching instruction carried in the second message, and obtain a determination result;
控制子模块,适用于根据所述判断结果控制所述第二串口打开或关闭。The control submodule is adapted to control the opening or closing of the second serial port according to the determination result.
上述的单板设备,其中,所述判断子模块具体为:The single board device, wherein the determining submodule is specifically:
判断所述串口切换指令的类型是否是打开串口类型,获得所述判断结果;Determining whether the type of the serial port switching instruction is to open a serial port type, and obtaining the determination result;
所述控制子模块具体为:The control submodule is specifically:
当所述判断结果指示所述串口切换指令的类型是打开串口类型时,将所述第一串口的输出信息复制到所述第二串口,否则关闭所述第二串口。When the result of the determination indicates that the type of the serial port switching instruction is to open the serial port type, the output information of the first serial port is copied to the second serial port, otherwise the second serial port is closed.
上述的单板设备,其中,所述串口信息为串口输入信息时,所述第一发送子模块具体为:In the above-mentioned single-board device, when the serial port information is a serial port input information, the first sending sub-module is specifically:
在所述第二串口打开后,通过所述第二串口将所述第二消息发送到所述中央处理器,使得所述中央处理器根据所述第二消息中的所述串口输入信息执行相应处理。After the second serial port is opened, the second message is sent to the central processor through the second serial port, so that the central processor performs corresponding according to the serial port input information in the second message. deal with.
上述的单板设备,其中,所述下位机模块还包括:The single board device, wherein the lower computer module further includes:
第三接收子模块,适用于接收到所述中央处理器通过所述第二串口发送的携带串口输出信息的通用串口消息格式的第三消息;The third receiving sub-module is configured to receive a third message of a universal serial port message format that is sent by the central processing unit and is sent by the second serial port and carries a serial port output information;
第二转换子模块,适用于将所述第三消息转换为携带串口输出信息的IPMI格式的第四消息;a second conversion submodule, configured to convert the third message into a fourth message in an IPMI format that carries serial port output information;
第二发送子模块,适用于通过所述机电管理通道将所述第四消息发送到所述上位机模块,使得所述上位机模块将所述第四消息中的串口输出信息转换成输出消息格式并输出。a second sending submodule, configured to send the fourth message to the upper computer module by using the electromechanical management channel, so that the upper computer module converts the serial port output information in the fourth message into an output message format And output.
本发明实施例还提供了一种公用单板,所述公用单板包括处理器和存储设备,至少设置有上位机模块,其中所述上位机模块包括下发子模块,用于通过机电管理通道向多个单板设备上的下位机模块下发智能平台管理接口IPMI格式的机电管理指令消息,所述上位机模块还包括: The embodiment of the present invention further provides a public board, where the public board includes a processor and a storage device, and at least a host computer module is disposed, wherein the upper computer module includes a sending sub-module for using an electromechanical management channel. And sending an electromechanical management instruction message of the IPMI format of the intelligent platform management interface to the lower-level module on the plurality of single-board devices, where the upper-level machine module further includes:
第三发送子模块,适用于根据用户发送的至少包括第一单板设备标识和串口信息的串口指令,通过所述机电管理通道向所述多个单板设备中的所述第一单板设备发送携带所述串口信息的IPMI格式的第一消息,使得所述第一单板设备上的第一下位机模块执行以下操作:The third sending sub-module is configured to send the first single-board device in the plurality of single-board devices through the electromechanical management channel according to the serial port command that is sent by the user and includes at least the first board device identifier and the serial port information. Sending a first message in the IPMI format that carries the serial port information, so that the first lower computer module on the first single board device performs the following operations:
在接收到所述第一消息后,将所述第一消息转换为携带所述串口信息的通用串口消息格式的第二消息;After receiving the first message, converting the first message into a second message of a universal serial port message format carrying the serial port information;
通过第二串口将所述第二消息发送到所述第一单板设备的第一中央处理器,使得所述第一中央处理器根据所述第二消息中的所述串口信息执行相应处理;其中所述第二串口与所述第一下位机模块通过通用串行数据总线连接。Sending, by the second serial port, the second message to the first central processing unit of the first single-board device, so that the first central processing unit performs corresponding processing according to the serial port information in the second message; The second serial port and the first lower computer module are connected by a universal serial data bus.
上述的公用单板,其中,所述上位机模块还包括:The public board of the above, wherein the upper computer module further includes:
第四接收子模块,适用于接收所述多个单板中的第二单板设备上的第二下位机模块发送的携带串口输出信息的IPMI格式的第四消息,其中所述第四消息为所述第二下位机模块在接收到第二单板设备的第二中央处理器通过所述第二串口发送的携带串口输出信息的通用串口消息格式的第三消息后,将所述第三消息转换为携带串口输出信息的IPMI格式的消息;The fourth receiving sub-module is configured to receive a fourth message in an IPMI format that carries the serial port output information sent by the second lower-level device module on the second single-board device of the plurality of boards, where the fourth message is The second lower-level machine module receives the third message after receiving the third message in the universal serial port message format of the serial port output information sent by the second serial port by the second central processing unit of the second single-board device. Converted to an IPMI format message carrying the serial port output information;
第三转换子模块,适用于将所述第四消息中的所述串口输出信息转换成用户终端的相应输出消息格式后输出。The third conversion submodule is adapted to convert the serial port output information in the fourth message into a corresponding output message format of the user terminal, and output the same.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Alternatively, all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve. Thus, the invention is not limited to any specific combination of hardware and software.
上述实施例中的各装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组 成的网络上。The devices/function modules/functional units in the above embodiments may be implemented by using a general-purpose computing device, which may be concentrated on a single computing device or distributed among multiple computing devices. On the network.
上述实施例中的各装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求所述的保护范围为准。Variations or substitutions are readily conceivable within the scope of the present invention by those skilled in the art and are within the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.
工业实用性Industrial applicability
本发明实施例提供的上述方法,将中央处理器CPU串口输入输出消息通过机电管理通信通道传递,在关键节点(下位机模块)进行通信消息格式转换,实现了机电控制节点对机框内各业务单板设备CPU串口的控制。 According to the above method provided by the embodiment of the present invention, the serial port input and output message of the central processing unit CPU is transmitted through the electromechanical management communication channel, and the communication message format conversion is performed at the key node (lower computer module), thereby realizing the operations of the electromechanical control node to the chassis. Control of the CPU serial port of the board device.

Claims (20)

  1. 一种串口信息传递方法,用于单板设备,所述单板设备至少包括下位机模块和中央处理器,其中所述下位机模块接收公用单板上的上位机模块通过机电管理通道下发的智能平台管理接口IPMI格式的机电管理指令消息;所述中央处理器分别与第一串口和第二串口连接,且所述第一串口被引出,其中,所述下位机模块与所述第二串口通过通用串行数据总线连接;A serial port information transmission method is used for a single-board device, where the single-board device includes at least a lower-level machine module and a central processing unit, wherein the lower-level machine module receives an upper-level machine module on a common board and is delivered through an electromechanical management channel. An intelligent platform management interface IPMI format electromechanical management instruction message; the central processor is respectively connected to the first serial port and the second serial port, and the first serial port is led out, wherein the lower computer module and the second serial port Connected via a universal serial data bus;
    所述方法包括:The method includes:
    所述下位机模块接收所述上位机模块通过所述机电管理通道发送的携带串口信息的IPMI格式的第一消息;The lower computer module receives a first message in an IPMI format that carries the serial port information sent by the upper computer module through the electromechanical management channel;
    所述下位机模块将所述第一消息转换为携带所述串口信息的通用串口消息格式的第二消息;The lower computer module converts the first message into a second message of a universal serial port message format carrying the serial port information;
    所述下位机模块通过所述第二串口将所述第二消息发送到所述中央处理器,使得所述中央处理器根据所述第二消息中的所述串口信息执行相应处理。The lower computer module sends the second message to the central processor through the second serial port, so that the central processor performs corresponding processing according to the serial port information in the second message.
  2. 如权利要求1所述的方法,其中,所述串口信息为串口切换指令信息或串口输入信息。The method of claim 1, wherein the serial port information is serial port switching instruction information or serial port input information.
  3. 如权利要求2所述的方法,其中,所述串口信息为串口切换指令信息时,所述中央处理器根据所述第二消息中的所述串口信息执行相应处理包括:The method of claim 2, wherein when the serial port information is the serial port switching instruction information, the central processor performs corresponding processing according to the serial port information in the second message, including:
    所述中央处理器判断所述第二消息中携带的所述串口切换指令的类型,并根据判断结果控制所述第二串口打开或关闭。The central processor determines the type of the serial port switching instruction carried in the second message, and controls the second serial port to be turned on or off according to the determination result.
  4. 如权利要求3所述的方法,其中,所述中央处理器判断所述第二消息中携带的所述串口切换指令的类型,根据判断结果控制所述第二串口打开或关闭包括:The method of claim 3, wherein the central processor determines the type of the serial port switching instruction carried in the second message, and controls the opening or closing of the second serial port according to the determination result, including:
    所述中央处理器判断所述串口切换指令的类型是否是打开串口类型,获得所述判断结果;Determining, by the central processor, whether the type of the serial port switching instruction is an open serial port type, and obtaining the determination result;
    当所述判断结果指示所述串口切换指令的类型是打开串口时,将所述第一串口的输出信息复制到所述第二串口,当所述串口切换指令的类型是关闭串口时,则关闭所述第二串口。 When the judgment result indicates that the type of the serial port switching instruction is to open the serial port, copy the output information of the first serial port to the second serial port, and when the type of the serial port switching instruction is to close the serial port, then close The second serial port.
  5. 如权利要求4所述的方法,其中,所述串口信息为串口输入信息时,所述下位机模块通过所述第二串口将所述第二消息发送到所述中央处理器,使得所述中央处理器根据所述第二消息中的所述串口信息执行相应处理包括:The method of claim 4, wherein when the serial port information is a serial port input information, the lower computer module sends the second message to the central processor through the second serial port, so that the central Performing, by the processor, the corresponding processing according to the serial port information in the second message includes:
    在所述第二串口打开后,所述下位机模块通过所述第二串口将所述第二消息发送到所述中央处理器,使得所述中央处理器根据所述第二消息中的所述串口输入信息执行相应处理。After the second serial port is opened, the lower computer module sends the second message to the central processor through the second serial port, so that the central processor is configured according to the second message. The serial port input information is processed accordingly.
  6. 如权利要求1-5任一项所述的方法,其中,所述方法还包括:The method of any of claims 1-5, wherein the method further comprises:
    所述下位机模块接收到所述中央处理器通过所述第二串口发送的携带串口输出信息的通用串口消息格式的第三消息;The lower computer module receives a third message of a universal serial message format that is sent by the central processing unit and is sent by the second serial port and carries a serial port output information;
    所述下位机模块将所述第三消息转换为携带串口输出信息的IPMI格式的第四消息;The lower computer module converts the third message into a fourth message in an IPMI format that carries serial port output information;
    所述下位机模块通过所述机电管理通道将所述第四消息发送到所述上位机模块,所述上位机模块将所述第四消息中的串口输出信息转换成用户终端的相应输出消息格式后输出。The lower computer module sends the fourth message to the upper computer module through the electromechanical management channel, and the upper computer module converts the serial port output information in the fourth message into a corresponding output message format of the user terminal. After the output.
  7. 一种串口信息传递方法,用于公用单板,所述公用单板至少设置有上位机模块,其中所述上位机模块通过机电管理通道向多个单板设备上的下位机模块下发智能平台管理接口IPMI格式的机电管理指令消息,所述方法包括:A serial port information transmission method is used for a public board. The public board is provided with at least a host computer module, wherein the upper computer module sends an intelligent platform to a lower computer module on a plurality of single board devices through an electromechanical management channel. An electromechanical management instruction message of the management interface IPMI format, the method comprising:
    所述上位机模块根据用户发送的至少包括第一单板设备标识和串口信息的串口指令,通过所述机电管理通道向所述多个单板设备中的所述第一单板设备发送携带所述串口信息的IPMI格式的第一消息,使得所述第一单板设备上的第一下位机模块执行以下操作:The upper computer module sends a carrying place to the first single board device of the plurality of single board devices through the electromechanical management channel according to the serial port command that is sent by the user and includes at least the first board device identifier and the serial port information. The first message in the IPMI format of the serial port information is such that the first lower computer module on the first single board device performs the following operations:
    在接收到所述第一消息后,将所述第一消息转换为携带所述串口信息的通用串口消息格式的第二消息;After receiving the first message, converting the first message into a second message of a universal serial port message format carrying the serial port information;
    通过第二串口将所述第二消息发送到所述第一单板设备的第一中央处理器,使得所述第一中央处理器根据所述第二消息中的所述串口信息执行相应处理;其中所述第二串口与所述第一下位机模块通过通用串行数据总线连接。 Sending, by the second serial port, the second message to the first central processing unit of the first single-board device, so that the first central processing unit performs corresponding processing according to the serial port information in the second message; The second serial port and the first lower computer module are connected by a universal serial data bus.
  8. 如权利要求7所述的串口信息传递方法,其中,所述方法还包括:The serial port information transmission method according to claim 7, wherein the method further comprises:
    所述上位机模块接收所述多个单板中的第二单板设备上的第二下位机模块发送的携带串口输出信息的IPMI格式的第四消息,其中所述第四消息为所述第二下位机模块在接收到第二单板设备的第二中央处理器通过所述第二串口发送的携带串口输出信息的通用串口消息格式的第三消息后,将所述第三消息转换为携带串口输出信息的IPMI格式的消息;The host computer module receives a fourth message in an IPMI format that carries the serial port output information sent by the second lower-level device module on the second single-board device of the plurality of boards, where the fourth message is the After the second central processor receives the third message in the universal serial message format of the serial port output information sent by the second serial port, the second central processing unit converts the third message to be carried. The serial port outputs the information in the IPMI format message;
    所述上位机模块将所述第四消息中的所述串口输出信息转换成用户终端的相应输出消息格式后输出。The upper computer module converts the serial port output information in the fourth message into a corresponding output message format of the user terminal, and outputs the format.
  9. 一种单板设备,所述单板设备至少包括下位机模块和中央处理器,其中所述下位机模块包括第一接收子模块,设置为接收公用单板上的上位机模块通过机电管理通道下发的智能平台管理接口IPMI格式的机电管理指令消息;所述中央处理器分别与第一串口和第二串口连接,且所述中央处理器通过引出的所述第一串口接收串口信息,其中,所述单板设备中的所述下位机模块与所述第二串口通过通用串行数据总线连接;A single board device, where the single board device includes at least a lower computer module and a central processing unit, wherein the lower computer module includes a first receiving submodule, and is configured to receive an upper computer module on a common board through an electromechanical management channel. The intelligent platform management interface sends an electronic and electrical management command message of the IPMI format; the central processor is respectively connected to the first serial port and the second serial port, and the central processor receives the serial port information by using the first serial port that is extracted, wherein The lower computer module in the single board device is connected to the second serial port through a universal serial data bus;
    所述下位机模块还包括:The lower computer module further includes:
    第二接收子模块,设置为接收所述上位机模块通过所述机电管理通道发送的携带串口信息的IPMI格式的第一消息;a second receiving submodule, configured to receive a first message in an IPMI format that carries the serial port information sent by the upper computer module through the electromechanical management channel;
    第一转换子模块,设置为将所述第一消息转换为携带所述串口信息的通用串口消息格式的第二消息;The first conversion submodule is configured to convert the first message into a second message of a universal serial message format carrying the serial port information;
    第一发送子模块,设置为通过所述第二串口将所述第二消息发送到所述中央处理器,使得所述中央处理器根据所述第二消息中的所述串口信息执行相应处理。The first sending submodule is configured to send the second message to the central processor by using the second serial port, so that the central processor performs corresponding processing according to the serial port information in the second message.
  10. 如权利要求9所述的单板设备,其中,所述串口信息为串口切换指令信息或串口输入信息。The single board device of claim 9, wherein the serial port information is serial port switching instruction information or serial port input information.
  11. 如权利要求10所述的单板设备,其中,所述中央处理器包括:The single board device of claim 10, wherein the central processor comprises:
    判断子模块,设置为当所述串口信息为串口切换指令信息时,判断所述第二消息中携带的所述串口切换指令的类型,获得判断结果;The determining sub-module is configured to determine, when the serial port information is the serial port switching instruction information, the type of the serial port switching instruction carried in the second message, and obtain a determination result;
    控制子模块,设置为根据所述判断结果控制所述第二串口打开或关闭。 And a control submodule configured to control the second serial port to be turned on or off according to the determination result.
  12. 如权利要求11所述的单板设备,其中,所述判断子模块是设置为:The single board device of claim 11, wherein the determining submodule is set to:
    判断所述串口切换指令的类型是否是打开串口,获得所述判断结果;Determining whether the type of the serial port switching instruction is to open a serial port, and obtaining the determination result;
    所述控制子模块是设置为:The control submodule is set to:
    当所述判断结果指示所述串口切换指令的类型是打开串口时,将所述第一串口的输出信息复制到所述第二串口,当所述判断结果指示所述串口切换指令的类型是关闭串口时,则关闭所述第二串口。And when the determining result indicates that the type of the serial port switching instruction is to open the serial port, copying the output information of the first serial port to the second serial port, and when the determining result indicates that the type of the serial port switching instruction is off When the serial port is used, the second serial port is closed.
  13. 如权利要求12所述的单板设备,其中,所述第一发送子模块是设置为:当所述串口信息为串口输入信息时,在所述第二串口打开后,通过所述第二串口将所述第二消息发送到所述中央处理器,使得所述中央处理器根据所述第二消息中的所述串口输入信息执行相应处理。The single-board device of claim 12, wherein the first sending sub-module is configured to: when the serial port information is a serial port input information, after the second serial port is opened, pass the second serial port Sending the second message to the central processor, so that the central processor performs corresponding processing according to the serial port input information in the second message.
  14. 如权利要求9-13任一项所述的单板设备,其中,所述下位机模块还包括:The single board device according to any one of claims 9 to 13, wherein the lower computer module further comprises:
    第三接收子模块,设置为接收所述中央处理器通过所述第二串口发送的携带串口输出信息的通用串口消息格式的第三消息;a third receiving submodule, configured to receive a third message of a universal serial port message format that is sent by the central processing unit and is sent by the second serial port and carries a serial port output information;
    第二转换子模块,设置为将所述第三消息转换为携带串口输出信息的IPMI格式的第四消息;a second conversion submodule, configured to convert the third message into a fourth message in an IPMI format that carries serial port output information;
    第二发送子模块,设置为通过所述机电管理通道将所述第四消息发送到所述上位机模块,由所述上位机模块将所述第四消息中的串口输出信息转换成用户终端的相应输出消息格式后输出。a second sending submodule, configured to send the fourth message to the upper computer module by using the electromechanical management channel, where the upper computer module converts the serial port output information in the fourth message into a user terminal Output the corresponding message format and output.
  15. 一种公用单板,所述公用单板至少设置有上位机模块,其中所述上位机模块包括下发子模块,设置为通过机电管理通道向多个单板设备上的下位机模块下发智能平台管理接口IPMI格式的机电管理指令消息,其中,所述上位机模块还包括:A public board is provided with at least a host computer module, wherein the upper computer module includes a sending sub-module, and is configured to send intelligence to a lower-level computer module on a plurality of single-board devices through an electromechanical management channel. The platform management interface IPMI format electromechanical management instruction message, wherein the upper computer module further comprises:
    第三发送子模块,设置为根据用户发送的至少包括第一单板设备标识和串口信息的串口指令,通过所述机电管理通道向所述多个单板设备中的所述第一单板设备发送携带所述串口信息的IPMI格式的第一消息,使得所述第一单板设备上的第一下位机模块执行以下操作:The third sending sub-module is configured to send the first single-board device in the plurality of single-board devices through the electromechanical management channel according to a serial port command that is sent by the user and includes at least a first board device identifier and serial port information. Sending a first message in the IPMI format that carries the serial port information, so that the first lower computer module on the first single board device performs the following operations:
    在接收到所述第一消息后,将所述第一消息转换为携带所述串口信息的 通用串口消息格式的第二消息;After receiving the first message, converting the first message to carrying the serial port information. The second message of the universal serial message format;
    通过第二串口将所述第二消息发送到所述第一单板设备的第一中央处理器,使得所述第一中央处理器根据所述第二消息中的所述串口信息执行相应处理;其中所述第二串口与所述第一下位机模块通过通用串行数据总线连接。Sending, by the second serial port, the second message to the first central processing unit of the first single-board device, so that the first central processing unit performs corresponding processing according to the serial port information in the second message; The second serial port and the first lower computer module are connected by a universal serial data bus.
  16. 如权利要求15所述的公用单板,其中,所述上位机模块还包括:The public veneer of claim 15, wherein the host computer module further comprises:
    第四接收子模块,设置为接收所述多个单板中的任一第二单板设备上的第二下位机模块发送的携带串口输出信息的IPMI格式的第四消息,其中所述第四消息为所述第二下位机模块在接收到第二单板设备的第二中央处理器通过所述第二串口发送的携带串口输出信息的通用串口消息格式的第三消息后,将所述第三消息转换为携带串口输出信息的IPMI格式的消息;a fourth receiving submodule, configured to receive a fourth message in an IPMI format that carries the serial port output information sent by the second lower computer module on any one of the plurality of boards, where the fourth message is The message is that the second lower-level computer module receives the third message of the universal serial port message format that carries the serial port output information sent by the second central processing unit of the second single-board device through the second serial port, The three messages are converted into an IPMI format message carrying the serial port output information;
    第三转换子模块,设置为将所述第四消息中的所述串口输出信息转换成用户终端的相应输出消息格式后输出。The third conversion submodule is configured to convert the serial port output information in the fourth message into a corresponding output message format of the user terminal, and output the same.
  17. 一种计算机程序,包括程序指令,当该程序指令被单板设备执行时,使得该设备可实施权利要求1-7任一项的方法。A computer program comprising program instructions which, when executed by a single board device, cause the apparatus to perform the method of any of claims 1-7.
  18. 一种载有权利要求17所述计算机程序的存储介质。A storage medium carrying the computer program of claim 17.
  19. 一种计算机程序,包括程序指令,当该程序指令被公用单板设备执行时,使得该设备可实施权利要求7-8任一项的方法。A computer program comprising program instructions which, when executed by a public single board device, cause the apparatus to perform the method of any of claims 7-8.
  20. 一种载有权利要求19所述计算机程序的存储介质。 A storage medium carrying the computer program of claim 19.
PCT/CN2015/072792 2014-08-19 2015-02-11 Serial port information transmission method, single board device and common single board WO2015154588A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410409342.9A CN105471602A (en) 2014-08-19 2014-08-19 Serial port information transmission method, single board device and common-used single board
CN201410409342.9 2014-08-19

Publications (1)

Publication Number Publication Date
WO2015154588A1 true WO2015154588A1 (en) 2015-10-15

Family

ID=54287297

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/072792 WO2015154588A1 (en) 2014-08-19 2015-02-11 Serial port information transmission method, single board device and common single board

Country Status (2)

Country Link
CN (1) CN105471602A (en)
WO (1) WO2015154588A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109062847A (en) * 2018-07-31 2018-12-21 深圳职业技术学院 System on chip, IP kernel and its control method for RS485 serial communication
CN114500627A (en) * 2021-12-27 2022-05-13 南京南瑞继保电气有限公司 Method, device and equipment for remotely accessing serial port equipment and storage medium
CN116321518A (en) * 2022-09-08 2023-06-23 深圳市丰润达科技有限公司 Prompting method, device, control module and storage medium for network connection state

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113326224B (en) * 2021-06-24 2022-08-02 卡斯柯信号有限公司 Serial port communication method based on 2-out-of-2 architecture

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1874252A (en) * 2005-06-01 2006-12-06 华为技术有限公司 Serial-port mapping system for debugging single board
CN1983969A (en) * 2006-04-24 2007-06-20 华为技术有限公司 System and realization for re-directing interface network
CN101110051A (en) * 2006-07-17 2008-01-23 中兴通讯股份有限公司 Test approach for debugging serial port function with single board and system thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073610B (en) * 2010-12-31 2013-01-09 华为数字技术(成都)有限公司 Serial information acquisition method and serial communication system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1874252A (en) * 2005-06-01 2006-12-06 华为技术有限公司 Serial-port mapping system for debugging single board
CN1983969A (en) * 2006-04-24 2007-06-20 华为技术有限公司 System and realization for re-directing interface network
CN101110051A (en) * 2006-07-17 2008-01-23 中兴通讯股份有限公司 Test approach for debugging serial port function with single board and system thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109062847A (en) * 2018-07-31 2018-12-21 深圳职业技术学院 System on chip, IP kernel and its control method for RS485 serial communication
CN109062847B (en) * 2018-07-31 2023-08-25 深圳职业技术学院 System on chip, IP core for RS485 serial port communication and control method thereof
CN114500627A (en) * 2021-12-27 2022-05-13 南京南瑞继保电气有限公司 Method, device and equipment for remotely accessing serial port equipment and storage medium
CN116321518A (en) * 2022-09-08 2023-06-23 深圳市丰润达科技有限公司 Prompting method, device, control module and storage medium for network connection state

Also Published As

Publication number Publication date
CN105471602A (en) 2016-04-06

Similar Documents

Publication Publication Date Title
CN109802852B (en) Method and system for constructing network simulation topology applied to network target range
US10491463B2 (en) Software-defined realization method based on protection and control system for intelligent substation
US10642321B2 (en) Power distribution unit self-identification
US7761640B2 (en) Slot interface access device, slot interface access method, and program therefor
CN110417783B (en) Data transmission method and device based on Internet of things, storage medium and terminal
WO2015154588A1 (en) Serial port information transmission method, single board device and common single board
JP2014036240A (en) Controller, control method and program, and system and information processing method
CN105530220B (en) The interface method of two kinds of different agreement system communications is realized based on OPC
WO2015157993A1 (en) Interconnection system and apparatus, and data transmission method
CN104092684A (en) Method and device for supporting VPN based on OpenFlow protocol
CN103595712B (en) A kind of Web authentication method, apparatus and system
CN104243360B (en) The collocation method and device of a kind of conversion link
CN104735047B (en) A kind of hybrid-mode network physical link is met an urgent need intelligent switching system
CN103885821B (en) SCADA pre-procesors and its Multi-channel multi-line journey real-time scheduling method
JP3913608B2 (en) Intelligent type device that allows all intelligent type modules to share the same user input / output interface
CN104901938B (en) A kind of network physical link switching control method
US8233386B2 (en) Device that uses parameters to provide multi-channel serial data transmissions and method thereof
CN104580149B (en) A kind of active/standby mode network physical link is met an urgent need intelligent switching system
JP2018502465A (en) Data transmission between at least one secure producer and at least one secure consumer
JP2017069638A (en) Communication system and management method therefor
CN109683960A (en) A kind of register configuration method and its electrical port module of electrical port module
RU2784713C1 (en) Method and apparatus for operational control of communication channels
Söderbacka The GOOSE protocol
CN201238359Y (en) Keyboard manager
CN209281178U (en) A kind of smart home system

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

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

Country of ref document: EP

Kind code of ref document: A1