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

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

Info

Publication number
CN105471602A
CN105471602A CN201410409342.9A CN201410409342A CN105471602A CN 105471602 A CN105471602 A CN 105471602A CN 201410409342 A CN201410409342 A CN 201410409342A CN 105471602 A CN105471602 A CN 105471602A
Authority
CN
China
Prior art keywords
message
serial
computer module
serial port
processing unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201410409342.9A
Other languages
Chinese (zh)
Inventor
杨明杰
石峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201410409342.9A priority Critical patent/CN105471602A/en
Priority to PCT/CN2015/072792 priority patent/WO2015154588A1/en
Publication of CN105471602A publication Critical patent/CN105471602A/en
Withdrawn legal-status Critical Current

Links

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

Abstract

The invention aims at providing a serial port information transmission method, a single board device and a common-used single board. The single board device at least comprises a lower computer module and a central processor. The method comprises steps: the lower computer module receives a first message in an IPMI format carrying the serial port information sent by an upper computer module via an electromechanical management channel; the lower computer module converts the first message to a second message in a universal serial port message format carrying the serial port information; and the lower computer module sends the second message to the central processor via a second serial port, and the central processor executes corresponding processing according to the serial port information in the second message. The existing electromechanical management control method and the channel are used, and transmission of the central processor serial port information of all slave nodes is controlled at the electromechanical management control node.

Description

A kind of Serial Port Information transmission method, single-board device and public veneer
Technical field
The present invention relates to the frame field of telecommunication devices of band Electromechanical Management, particularly relate to a kind of Serial Port Information transmission method, single-board device and public veneer.
Background technology
Traditional frame telecommunication apparatus, such as frame wave-division device, route-exchanging device etc., veneer needs to provide serial ports, and the Serial Port Information so that input is come in and gone out, is used for outgoing event, alarm, the information such as input command, debug command.But need again when single-board device designs and produces to consider the problems such as single board chip layout integrated level, panel designs, therefore not necessarily panel serial interface can be provided, the interface that veneer inside is drawn also not necessarily can provide standard interface, or does not weld this interface when manufacture order board device.In addition, for security consideration, arbitrarily Serial Port Information can not be exposed to domestic consumer and use after equipment is installed.So just give project installation personnel, plant maintenance personnel cause certain trouble, can not arbitrarily use serial ports to sign in the state information of veneer collection veneer operation.
If adopt existing serial ports passage to carry out debugging control to single-board device, the concrete enterprising line operate of a certain single-board device can only be signed in by attendant, therefore most engineering site environment can not be used for.
Existing telecommunications frame type equipment all requires to meet namely advanced telecommunications computing platform (AdvancedTelecomComputingArchitecture, the ATCA) standard of standard or microcomputer microATCA standard.Above-mentioned standard-required equipment can manage each slot veneer electromechanics, and the critical component on veneer as shown in Figure 1.
Wherein, business board/Electromechanical Management slave computer is in charge of various monitoring sensor on veneer and Electromechanical Management part; Central processor CPU runs board software program.General CPU have two serial ports, in order to manage veneer, need to draw one of them Serial Port Line, another one serial ports can carry out unsettled when designing, do not connect.The management of Electromechanical Management and communication mode can be the self-defining communication modes of IPMI mode or producer of standard, as shown in Figure 2, control total node on public veneer, from node on respective veneer, by the control module on public veneer, and Electromechanical Management passage is to controlling from node on slave computer.
Be exactly utilize existing above-mentioned Electromechanical Management control method and passage in the present invention, at the Controlling vertex of Electromechanical Management, control the transmission of all central processing unit Serial Port Informations from node.
Summary of the invention
The object of this invention is to provide a kind of Serial Port Information transmission method, single-board device and public veneer, existing Electromechanical Management control method and passage can be utilized, at the Controlling vertex of Electromechanical Management, control the transmission of all central processing unit Serial Port Informations from node.
To achieve these goals, embodiments provide a kind of Serial Port Information transmission method, for single-board device, described single-board device at least comprises slave computer module and central processing unit, and wherein said slave computer module receives the Electromechanical Management instruction message of the IPMI IPMI form that the upper computer module on public veneer is issued by Electromechanical Management passage; Described central processing unit is connected with first serial and second serial respectively, and described first serial is drawn, and described slave computer module is connected by Universal Serial Bus with described second serial;
Described method comprises:
Described slave computer module receives first message of carrying the IPMI form of Serial Port Information that described upper computer module is sent by described Electromechanical Management passage;
Described first message conversion is the second message of the universal serial port message format carrying described Serial Port Information by described slave computer module;
Described second message is sent to described central processing unit by described second serial by described slave computer module, makes described central processing unit perform respective handling according to the described Serial Port Information in described second message.
Above-mentioned Serial Port Information transmission method, wherein, described Serial Port Information is serial ports handover instruction information or serial ports input information.
Above-mentioned Serial Port Information transmission method, wherein, when described Serial Port Information is serial ports handover instruction information, described central processing unit performs respective handling according to the described Serial Port Information in described second message and is specially:
Described central processing unit judges the type of the described serial ports switching command carried in described second message, and controls described second serial according to judged result and open or close.
Above-mentioned Serial Port Information transmission method, wherein, described central processing unit judges the type of the described serial ports switching command carried in described second message, controls described second serial open or close and be specially according to judged result:
Described central processing unit judges whether the type of described serial ports switching command is open serial ports type, obtains described judged result;
When described judged result indicates the type of described serial ports switching command to be, when opening serial ports type, the output information of described first serial is copied to described second serial, otherwise close described second serial.
Above-mentioned Serial Port Information transmission method, wherein, when described Serial Port Information is serial ports input information, described second message is sent to described central processing unit by described second serial by described slave computer module, makes described central processing unit perform respective handling according to the described Serial Port Information in described second message and is specially:
After described second serial is opened, described second message is sent to described central processing unit by described second serial by described slave computer module, makes described central processing unit according to the described serial ports input information and executing respective handling in described second message.
Above-mentioned Serial Port Information transmission method, wherein, described method also comprises:
Described slave computer module receives the 3rd message of carrying the universal serial port message format of serial ports output information that described central processing unit is sent by described second serial;
Described 3rd message conversion is the 4th message of the IPMI form carrying serial ports output information by described slave computer module;
Described 4th message is sent to described upper computer module by described Electromechanical Management passage by described slave computer module, makes described upper computer module that the serial ports output information in described 4th message is converted to output message form and exports.
To achieve these goals, the embodiment of the present invention additionally provides a kind of Serial Port Information transmission method, for public veneer, described public veneer is at least provided with upper computer module, wherein said upper computer module issues the Electromechanical Management instruction message of IPMI IPMI form to the slave computer module on multiple single-board device by Electromechanical Management passage, described method comprises:
The serial ports instruction at least comprising the first single-board device mark and Serial Port Information that described upper computer module sends according to user, send first message of carrying the IPMI form of described Serial Port Information by described Electromechanical Management passage to described first single-board device in described multiple single-board device, make the first slave computer module on described first single-board device perform following operation:
After receiving described first message, be the second message of the universal serial port message format carrying described Serial Port Information by described first message conversion;
By second serial, described second message is sent to the first central processing unit of described first single-board device, makes described first central processing unit perform respective handling according to the described Serial Port Information in described second message; Wherein said second serial is connected by Universal Serial Bus with described first slave computer module.
Above-mentioned Serial Port Information transmission method, wherein, described method also comprises:
Described upper computer module receives the 4th message of carrying the IPMI form of serial ports output information that the second slave computer module on the second single-board device in described multiple veneer sends, wherein said 4th message be described second slave computer module the second central processing unit receiving the second single-board device sent by described second serial carry the 3rd message of the universal serial port message format of serial ports output information after, be the message of the IPMI form carrying serial ports output information by described 3rd message conversion;
Described serial ports output information in described 4th message is converted to output message form and exports by described upper computer module.
To achieve these goals, the embodiment of the present invention additionally provides a kind of single-board device, described single-board device at least comprises slave computer module and central processing unit, wherein said slave computer module comprises the first reception submodule, the Electromechanical Management instruction message of the IPMI IPMI form that the upper computer module for receiving on public veneer is issued by Electromechanical Management passage; Described central processing unit is connected with first serial and second serial respectively, and described central processing unit receives Serial Port Information by the described first serial of drawing, the described slave computer module in described single-board device is connected by Universal Serial Bus with described second serial;
Described slave computer module also comprises:
Second receives submodule, for receiving first message of carrying the IPMI form of Serial Port Information that described upper computer module is sent by described Electromechanical Management passage;
First transform subblock, for by described first message conversion being the second message of the universal serial port message format carrying described Serial Port Information;
First sends submodule, for described second message being sent to described central processing unit by described second serial, makes described central processing unit perform respective handling according to the described Serial Port Information in described second message.
Above-mentioned single-board device, wherein, described Serial Port Information is serial ports handover instruction information or serial ports input information.
Above-mentioned single-board device, wherein, when described Serial Port Information is serial ports handover instruction information, described central processing unit comprises:
Judging submodule, for judging the type of the described serial ports switching command carried in described second message, obtaining judged result;
Controlling submodule, opening or closing for controlling described second serial according to described judged result.
Above-mentioned single-board device, wherein, described judgement submodule is specially:
Whether the type judging described serial ports switching command is open serial ports type, obtains described judged result;
Described control submodule is specially:
When described judged result indicates the type of described serial ports switching command to be, when opening serial ports type, the output information of described first serial is copied to described second serial, otherwise close described second serial.
Above-mentioned single-board device, wherein, when described Serial Port Information is serial ports input information, described first sends submodule is specially:
After described second serial is opened, by described second serial, described second message is sent to described central processing unit, makes described central processing unit according to the described serial ports input information and executing respective handling in described second message.
Above-mentioned single-board device, wherein, described slave computer module also comprises:
3rd receives submodule, for receiving the 3rd message of carrying the universal serial port message format of serial ports output information that described central processing unit is sent by described second serial;
Second transform subblock, for by described 3rd message conversion being the 4th message of the IPMI form carrying serial ports output information;
Second sends submodule, for described 4th message being sent to described upper computer module by described Electromechanical Management passage, makes described upper computer module that the serial ports output information in described 4th message is converted to output message form and exports.
To achieve these goals, the embodiment of the present invention additionally provides a kind of public veneer, described public veneer is at least provided with upper computer module, wherein said upper computer module comprises and issues submodule, for being issued the Electromechanical Management instruction message of IPMI IPMI form to the slave computer module on multiple single-board device by Electromechanical Management passage, described upper computer module also comprises:
3rd sends submodule, for the serial ports instruction at least comprising the first single-board device mark and Serial Port Information sent according to user, send first message of carrying the IPMI form of described Serial Port Information by described Electromechanical Management passage to described first single-board device in described multiple single-board device, make the first slave computer module on described first single-board device perform following operation:
After receiving described first message, be the second message of the universal serial port message format carrying described Serial Port Information by described first message conversion;
By second serial, described second message is sent to the first central processing unit of described first single-board device, makes described first central processing unit perform respective handling according to the described Serial Port Information in described second message; Wherein said second serial is connected by Universal Serial Bus with described first slave computer module.
Above-mentioned public veneer, wherein, described upper computer module also comprises:
4th receives submodule, for the 4th message of carrying the IPMI form of serial ports output information that the second slave computer module received on the second single-board device in described multiple veneer sends, wherein said 4th message be described second slave computer module the second central processing unit receiving the second single-board device sent by described second serial carry the 3rd message of the universal serial port message format of serial ports output information after, be the message of the IPMI form carrying serial ports output information by described 3rd message conversion;
3rd transform subblock, for converting output message form to by the described serial ports output information in described 4th message and export.
In embodiments of the present invention, the Controlling vertex of Electromechanical Management and public veneer utilize existing Electromechanical Management control program and Electromechanical Management passage, sending first message of carrying the IPMI form of Serial Port Information to from node and single-board device, is the second message of universal serial port message format by the first message conversion by the slave computer module on single-board device.Because slave computer module is connected by Universal Serial Bus with second serial, second serial is connected with the central processing unit of single-board device again, therefore, central processing unit can receive the described Serial Port Information that Controlling vertex issues, and realizes the object of the transmission controlling all central processing unit Serial Port Informations from node on Controlling vertex.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of the critical component of single-board device in prior art;
Fig. 2 is machine frame Electromechanical Management bus connection diagram in prior art;
The schematic flow sheet of the method that Serial Port Information transmits on the single-board device that Fig. 3 provides for the embodiment of the present invention;
The connection diagram that the Serial Port Information that Fig. 4 provides for the embodiment of the present invention transmits;
The schematic flow sheet that the serial ports that Fig. 5 provides for the embodiment of the present invention opens and closes;
The schematic flow sheet being carried out Serial Port Information input by public veneer to single-board device that Fig. 6 provides for the embodiment of the present invention;
The schematic flow sheet being carried out Serial Port Information output by single-board device to public veneer that Fig. 7 provides for the embodiment of the present invention.
Embodiment
For the embodiment of the present invention will be solved technical problem, technical scheme and advantage clearly, be described in detail below in conjunction with the accompanying drawings and the specific embodiments.
Embodiments provide a kind of Serial Port Information transmission method, for single-board device, described single-board device at least comprises slave computer module and central processing unit, and wherein said slave computer module receives the Electromechanical Management instruction message of the IPMI IPMI form that the upper computer module on public veneer is issued by Electromechanical Management passage; Described central processing unit is connected with first serial and second serial respectively, and described first serial is drawn, and described slave computer module is connected by Universal Serial Bus with described second serial;
Described method as shown in Figure 3, comprising:
Step 31, described slave computer module receives first message of carrying the IPMI form of Serial Port Information that described upper computer module is sent by described Electromechanical Management passage;
Step 32, described first message conversion is the second message of the universal serial port message format carrying described Serial Port Information by described slave computer module;
Step 33, described second message is sent to described central processing unit by described second serial by described slave computer module, makes described central processing unit perform respective handling according to the described Serial Port Information in described second message.
In embodiments of the present invention, on the framework basis of existing Electromechanical Management, unsettled second serial and slave computer module are coupled together by Universal Serial Bus, as shown in Figure 4.The serial ports instruction at least comprising the first single-board device mark and Serial Port Information that upper computer module sends according to user determines specifically which slave computer module to send concrete Serial Port Information to.Because slave computer module can receive the Electromechanical Management instruction message of the IPMI form that upper computer module issues, therefore, in embodiments of the present invention, Serial Port Information is filled in the first message of IPMI form by upper computer module, be issued to slave computer module, in the embodiment of the present invention, the mode that Serial Port Information can be filled into according to IPMI form arbitrarily in the first message can be adopted.
Further, slave computer module is after receiving the first message, parse Serial Port Information wherein, and be converted into second message of carrying the universal serial port message format of described Serial Port Information that central processing unit can identify, be sent to central processing unit by second serial, make central processing unit perform respective handling according to the described Serial Port Information in described second message.By said process, realize the object of the transmission controlling all central processing unit Serial Port Informations from node on Controlling vertex.
Above-mentioned Serial Port Information transmission method, wherein preferably, described Serial Port Information can be serial ports handover instruction information or serial ports input information.
When described Serial Port Information is serial ports handover instruction information, described central processing unit performs respective handling according to the described Serial Port Information in described second message and is specially:
Described central processing unit judges the type of the described serial ports switching command carried in described second message, and controls described second serial according to judged result and open or close.
Further, described central processing unit judges the type of the described serial ports switching command carried in described second message, controls described second serial open or close and be specially according to judged result:
Described central processing unit judges whether the type of described serial ports switching command is open serial ports type, obtains described judged result;
When described judged result indicates the type of described serial ports switching command to be, when opening serial ports type, the output information of described first serial is copied to described second serial, otherwise close described second serial.
In actual applications, as shown in Figure 4, by increasing the module of serial ports switching controls on central processing unit, when second serial opened by needs, the output information of described first serial can be copied to described second serial; Otherwise stop the output of second serial.
Introduce from Electromechanical Control node (public veneer) to the process sending serial ports handover instruction information from node (single-board device) below in conjunction with Fig. 4 and Fig. 5.
Fig. 4 comprises same as the prior art with lower module:
Device 41 is Electromechanical Management upper computer module, is generally arranged on the public veneer of machine frame, and veneer itself with AccessPort, network interface debugging, or connects other modes such as webmaster, carries out human-computer interaction function;
The Electromechanical Management passage that device 42 machine frame provides, can provide the communication function of host computer and slave computer, and this apparatus module comprises the IPMI module on host computer, the IPMI interface on Electromechanical Management bus run and slave computer;
Device 43 is the Electromechanical Management slave computer module on business board, can process the administration order of host computer;
In addition, compared to prior art, also newly increase with lower module in the embodiment of the present invention:
Device 44 is the Universal Serial Bus UART bus connecting business board CPU and Electromechanical Management module slave computer, for the communication between CPU and Electromechanical Management slave computer and command interaction;
Device 45 is the serial ports switching controls module on business board central processing unit, is responsible for controlling the output of first serial and second serial.
Accordingly, the process opening or closing second serial specifically comprises:
Step 51, when needing the business board Serial Port Information using Electromechanical Management passage to provide, can carry out command configuration to device 41;
Step 52, the manmachine command of device 41 couples of users processes (manmachine command is here the serial ports instruction at least comprising the first single-board device mark and serial ports handover instruction information), this order is filled into the first message of IPMI communication format, is issued to device 43 by device 42;
Step 53, serial ports handover instruction information parses after receiving this first message by device 43 from IPMI form, is packaged into universal serial port message, sends to device 45 by device 44, starts the Serial Port Information that interception device 44 inputs simultaneously;
Step 54, device 45 controls after receiving serial ports handover instruction information, judges the type of serial ports handover instruction information, if type is for opening serial ports type, performs step 55, otherwise performs step 56;
Step 55, the output of first serial is copied to second serial by device 45;
Step 56, the output of second serial is closed by device 45.
When described Serial Port Information is serial ports input information, described second message is sent to described central processing unit by described second serial by described slave computer module, makes described central processing unit perform respective handling according to the described Serial Port Information in described second message and is specially:
After described second serial is opened, described second message is sent to described central processing unit by described second serial by described slave computer module, makes described central processing unit according to the described serial ports input information and executing respective handling in described second message.
After second serial is opened, public veneer can issue serial ports input information to the central processing unit of single-board device, makes central processing unit matter respective handling.
Introduce from Electromechanical Control node (public veneer) to the process sending serial ports input information from node (single-board device) below in conjunction with Fig. 4 and Fig. 6, specifically comprise:
Step 61, sends serial ports input information by the man-machine interface on device 41 to the slave computer module of specifying;
Step 62, serial ports is inputted the message that information is filled into IPMI form by device 41, is sent to device 43 by device 42;
Step 63, device 43 processes the first message comprising the IPMI form of serial ports input information received, and extracts the serial ports input information in the first message, is packaged into the second message of universal serial port message format, sends to device 45;
Step 64, universal serial port is inputted information and gives central processing unit and carry out respective handling by device 45.
Above-mentioned Serial Port Information transmission method, wherein preferably, described method also comprises:
Described slave computer module receives the 3rd message of carrying the universal serial port message format of serial ports output information that described central processing unit is sent by described second serial;
Described 3rd message conversion is the 4th message of the IPMI form carrying serial ports output information by described slave computer module;
Described 4th message is sent to described upper computer module by described Electromechanical Management passage by described slave computer module, makes described upper computer module that the serial ports output information in described 4th message is converted to output message form and exports.
In embodiments of the present invention, not only can send Serial Port Information by public veneer to single-board device, Serial Port Information can also be sent by single-board device to public veneer.Certainly, single-board device is second serial to the prerequisite that public veneer sends Serial Port Information is open mode, and detailed process as shown in Figure 7, comprising:
Step 71, when device 43 listens to serial ports output information, is first judged by serial ports switching controls module 45;
Step 72, whether device 45 judges that second serial exports is open mode, if open mode enters step 74 continue process, enters step 73 continuation process if state is closedown;
Step 73, if current second serial output state is closed condition, then ignores this message, ends process;
Step 74, if current second serial output state is open mode, directly sends to Electromechanical Management slave computer (device 43) by this serial ports message;
Step 75, this serial ports message is filled into the message of IPMI form by device 43, is sent to device 41 by device 42;
Step 76, after what device 41 received that slave computer sends carry the IPMI message of serial ports output information, extracts this serial ports output information, converts output message form to and export to user terminal.
The said method that the embodiment of the present invention provides, central processor CPU serial ports input and output message is transmitted by Electromechanical Management communication port, carry out message format for communications conversion at key node (slave computer module), achieve from the control of Electromechanical Control node to service board equipment cpu serial ports each in machine frame.
As adopted existing serial ports passage to carry out debugging control to service board, because not all serial port of a board line can link panel, therefore most of engineering site environment can not be used for.Serial bus then can be cut the messaging channel of Electromechanical Management by the method provided by the embodiment of the present invention; at the Controlling vertex of Electromechanical Management; controlling all cpu serial ports from node and debug, is also a kind of backup and protection channel to existing serial mode.
The embodiment of the present invention additionally provides a kind of Serial Port Information transmission method, for public veneer, described public veneer is at least provided with upper computer module, wherein said upper computer module issues the Electromechanical Management instruction message of IPMI IPMI form to the slave computer module on multiple single-board device by Electromechanical Management passage, described method comprises:
The serial ports instruction at least comprising the first single-board device mark and Serial Port Information that described upper computer module sends according to user, send first message of carrying the IPMI form of described Serial Port Information by described Electromechanical Management passage to described first single-board device in described multiple single-board device, make the first slave computer module on described first single-board device perform following operation:
After receiving described first message, be the second message of the universal serial port message format carrying described Serial Port Information by described first message conversion;
By second serial, described second message is sent to the first central processing unit of described first single-board device, makes described first central processing unit perform respective handling according to the described Serial Port Information in described second message; Wherein said second serial is connected by Universal Serial Bus with described first slave computer module.
Above-mentioned Serial Port Information transmission method, wherein, described method also comprises:
Described upper computer module receives the 4th message of carrying the IPMI form of serial ports output information that the second slave computer module on the second single-board device in described multiple veneer sends, wherein said 4th message be described second slave computer module the second central processing unit receiving the second single-board device sent by described second serial carry the 3rd message of the universal serial port message format of serial ports output information after, be the message of the IPMI form carrying serial ports output information by described 3rd message conversion;
Described serial ports output information in described 4th message is converted to output message form and exports by described upper computer module.
The embodiment of the present invention additionally provides a kind of single-board device, described single-board device at least comprises slave computer module and central processing unit, wherein said slave computer module comprises the first reception submodule, the Electromechanical Management instruction message of the IPMI IPMI form that the upper computer module for receiving on public veneer is issued by Electromechanical Management passage; Described central processing unit is connected with first serial and second serial respectively, and described central processing unit receives Serial Port Information by the described first serial of drawing, the described slave computer module in described single-board device is connected by Universal Serial Bus with described second serial;
Described slave computer module also comprises:
Second receives submodule, for receiving first message of carrying the IPMI form of Serial Port Information that described upper computer module is sent by described Electromechanical Management passage;
First transform subblock, for by described first message conversion being the second message of the universal serial port message format carrying described Serial Port Information;
First sends submodule, for described second message being sent to described central processing unit by described second serial, makes described central processing unit perform respective handling according to the described Serial Port Information in described second message.
Above-mentioned single-board device, wherein, described Serial Port Information is serial ports handover instruction information or serial ports input information.
Above-mentioned single-board device, wherein, when described Serial Port Information is serial ports handover instruction information, described central processing unit comprises:
Judging submodule, for judging the type of the described serial ports switching command carried in described second message, obtaining judged result;
Controlling submodule, opening or closing for controlling described second serial according to described judged result.
Above-mentioned single-board device, wherein, described judgement submodule is specially:
Whether the type judging described serial ports switching command is open serial ports type, obtains described judged result;
Described control submodule is specially:
When described judged result indicates the type of described serial ports switching command to be, when opening serial ports type, the output information of described first serial is copied to described second serial, otherwise close described second serial.
Above-mentioned single-board device, wherein, when described Serial Port Information is serial ports input information, described first sends submodule is specially:
After described second serial is opened, by described second serial, described second message is sent to described central processing unit, makes described central processing unit according to the described serial ports input information and executing respective handling in described second message.
Above-mentioned single-board device, wherein, described slave computer module also comprises:
3rd receives submodule, for receiving the 3rd message of carrying the universal serial port message format of serial ports output information that described central processing unit is sent by described second serial;
Second transform subblock, for by described 3rd message conversion being the 4th message of the IPMI form carrying serial ports output information;
Second sends submodule, for described 4th message being sent to described upper computer module by described Electromechanical Management passage, makes described upper computer module that the serial ports output information in described 4th message is converted to output message form and exports.
The embodiment of the present invention additionally provides a kind of public veneer, described public veneer is at least provided with upper computer module, wherein said upper computer module comprises and issues submodule, for being issued the Electromechanical Management instruction message of IPMI IPMI form to the slave computer module on multiple single-board device by Electromechanical Management passage, described upper computer module also comprises:
3rd sends submodule, for the serial ports instruction at least comprising the first single-board device mark and Serial Port Information sent according to user, send first message of carrying the IPMI form of described Serial Port Information by described Electromechanical Management passage to described first single-board device in described multiple single-board device, make the first slave computer module on described first single-board device perform following operation:
After receiving described first message, be the second message of the universal serial port message format carrying described Serial Port Information by described first message conversion;
By second serial, described second message is sent to the first central processing unit of described first single-board device, makes described first central processing unit perform respective handling according to the described Serial Port Information in described second message; Wherein said second serial is connected by Universal Serial Bus with described first slave computer module.
Above-mentioned public veneer, wherein, described upper computer module also comprises:
4th receives submodule, for the 4th message of carrying the IPMI form of serial ports output information that the second slave computer module received on the second single-board device in described multiple veneer sends, wherein said 4th message be described second slave computer module the second central processing unit receiving the second single-board device sent by described second serial carry the 3rd message of the universal serial port message format of serial ports output information after, be the message of the IPMI form carrying serial ports output information by described 3rd message conversion;
3rd transform subblock, for converting output message form to by the described serial ports output information in described 4th message and export.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (16)

1. a Serial Port Information transmission method, for single-board device, described single-board device at least comprises slave computer module and central processing unit, and wherein said slave computer module receives the Electromechanical Management instruction message of the IPMI IPMI form that the upper computer module on public veneer is issued by Electromechanical Management passage; Described central processing unit is connected with first serial and second serial respectively, and described first serial is drawn, and it is characterized in that, described slave computer module is connected by Universal Serial Bus with described second serial;
Described method comprises:
Described slave computer module receives first message of carrying the IPMI form of Serial Port Information that described upper computer module is sent by described Electromechanical Management passage;
Described first message conversion is the second message of the universal serial port message format carrying described Serial Port Information by described slave computer module;
Described second message is sent to described central processing unit by described second serial by described slave computer module, makes described central processing unit perform respective handling according to the described Serial Port Information in described second message.
2. Serial Port Information transmission method as claimed in claim 1, is characterized in that, described Serial Port Information is serial ports handover instruction information or serial ports input information.
3. Serial Port Information transmission method as claimed in claim 2, is characterized in that, when described Serial Port Information is serial ports handover instruction information, described central processing unit performs respective handling according to the described Serial Port Information in described second message and is specially:
Described central processing unit judges the type of the described serial ports switching command carried in described second message, and controls described second serial according to judged result and open or close.
4. Serial Port Information transmission method as claimed in claim 3, it is characterized in that, described central processing unit judges the type of the described serial ports switching command carried in described second message, controls described second serial open or close and be specially according to judged result:
Described central processing unit judges whether the type of described serial ports switching command is open serial ports type, obtains described judged result;
When described judged result indicates the type of described serial ports switching command to be, when opening serial ports type, the output information of described first serial is copied to described second serial, otherwise close described second serial.
5. Serial Port Information transmission method as claimed in claim 4, it is characterized in that, when described Serial Port Information is serial ports input information, described second message is sent to described central processing unit by described second serial by described slave computer module, makes described central processing unit perform respective handling according to the described Serial Port Information in described second message and is specially:
After described second serial is opened, described second message is sent to described central processing unit by described second serial by described slave computer module, makes described central processing unit according to the described serial ports input information and executing respective handling in described second message.
6. the Serial Port Information transmission method as described in any one of claim 1-5, is characterized in that, described method also comprises:
Described slave computer module receives the 3rd message of carrying the universal serial port message format of serial ports output information that described central processing unit is sent by described second serial;
Described 3rd message conversion is the 4th message of the IPMI form carrying serial ports output information by described slave computer module;
Described 4th message is sent to described upper computer module by described Electromechanical Management passage by described slave computer module, makes described upper computer module that the serial ports output information in described 4th message is converted to output message form and exports.
7. a Serial Port Information transmission method, for public veneer, described public veneer is at least provided with upper computer module, wherein said upper computer module issues the Electromechanical Management instruction message of IPMI IPMI form to the slave computer module on multiple single-board device by Electromechanical Management passage, it is characterized in that, described method comprises:
The serial ports instruction at least comprising the first single-board device mark and Serial Port Information that described upper computer module sends according to user, send first message of carrying the IPMI form of described Serial Port Information by described Electromechanical Management passage to described first single-board device in described multiple single-board device, make the first slave computer module on described first single-board device perform following operation:
After receiving described first message, be the second message of the universal serial port message format carrying described Serial Port Information by described first message conversion;
By second serial, described second message is sent to the first central processing unit of described first single-board device, makes described first central processing unit perform respective handling according to the described Serial Port Information in described second message; Wherein said second serial is connected by Universal Serial Bus with described first slave computer module.
8. Serial Port Information transmission method as claimed in claim 7, it is characterized in that, described method also comprises:
Described upper computer module receives the 4th message of carrying the IPMI form of serial ports output information that the second slave computer module on the second single-board device in described multiple veneer sends, wherein said 4th message be described second slave computer module the second central processing unit receiving the second single-board device sent by described second serial carry the 3rd message of the universal serial port message format of serial ports output information after, be the message of the IPMI form carrying serial ports output information by described 3rd message conversion;
Described serial ports output information in described 4th message is converted to output message form and exports by described upper computer module.
9. a single-board device, described single-board device at least comprises slave computer module and central processing unit, wherein said slave computer module comprises the first reception submodule, the Electromechanical Management instruction message of the IPMI IPMI form that the upper computer module for receiving on public veneer is issued by Electromechanical Management passage; Described central processing unit is connected with first serial and second serial respectively, and described central processing unit receives Serial Port Information by the described first serial of drawing, it is characterized in that, the described slave computer module in described single-board device is connected by Universal Serial Bus with described second serial;
Described slave computer module also comprises:
Second receives submodule, for receiving first message of carrying the IPMI form of Serial Port Information that described upper computer module is sent by described Electromechanical Management passage;
First transform subblock, for by described first message conversion being the second message of the universal serial port message format carrying described Serial Port Information;
First sends submodule, for described second message being sent to described central processing unit by described second serial, makes described central processing unit perform respective handling according to the described Serial Port Information in described second message.
10. single-board device as claimed in claim 9, is characterized in that, described Serial Port Information is serial ports handover instruction information or serial ports input information.
11. single-board devices as claimed in claim 10, it is characterized in that, when described Serial Port Information is serial ports handover instruction information, described central processing unit comprises:
Judging submodule, for judging the type of the described serial ports switching command carried in described second message, obtaining judged result;
Controlling submodule, opening or closing for controlling described second serial according to described judged result.
12. single-board devices as claimed in claim 11, it is characterized in that, described judgement submodule is specially:
Whether the type judging described serial ports switching command is open serial ports type, obtains described judged result;
Described control submodule is specially:
When described judged result indicates the type of described serial ports switching command to be, when opening serial ports type, the output information of described first serial is copied to described second serial, otherwise close described second serial.
13. single-board devices as claimed in claim 12, is characterized in that, when described Serial Port Information is serial ports input information, described first sends submodule is specially:
After described second serial is opened, by described second serial, described second message is sent to described central processing unit, makes described central processing unit according to the described serial ports input information and executing respective handling in described second message.
14. single-board devices as described in any one of claim 9-13, it is characterized in that, described slave computer module also comprises:
3rd receives submodule, for receiving the 3rd message of carrying the universal serial port message format of serial ports output information that described central processing unit is sent by described second serial;
Second transform subblock, for by described 3rd message conversion being the 4th message of the IPMI form carrying serial ports output information;
Second sends submodule, for described 4th message being sent to described upper computer module by described Electromechanical Management passage, makes described upper computer module that the serial ports output information in described 4th message is converted to output message form and exports.
15. 1 kinds of public veneers, described public veneer is at least provided with upper computer module, wherein said upper computer module comprises and issues submodule, for being issued the Electromechanical Management instruction message of IPMI IPMI form to the slave computer module on multiple single-board device by Electromechanical Management passage, it is characterized in that, described upper computer module also comprises:
3rd sends submodule, for the serial ports instruction at least comprising the first single-board device mark and Serial Port Information sent according to user, send first message of carrying the IPMI form of described Serial Port Information by described Electromechanical Management passage to described first single-board device in described multiple single-board device, make the first slave computer module on described first single-board device perform following operation:
After receiving described first message, be the second message of the universal serial port message format carrying described Serial Port Information by described first message conversion;
By second serial, described second message is sent to the first central processing unit of described first single-board device, makes described first central processing unit perform respective handling according to the described Serial Port Information in described second message; Wherein said second serial is connected by Universal Serial Bus with described first slave computer module.
16. public veneers as claimed in claim 15, it is characterized in that, described upper computer module also comprises:
4th receives submodule, for the 4th message of carrying the IPMI form of serial ports output information that the second slave computer module received on the second single-board device in described multiple veneer sends, wherein said 4th message be described second slave computer module the second central processing unit receiving the second single-board device sent by described second serial carry the 3rd message of the universal serial port message format of serial ports output information after, be the message of the IPMI form carrying serial ports output information by described 3rd message conversion;
3rd transform subblock, for converting output message form to by the described serial ports output information in described 4th message and export.
CN201410409342.9A 2014-08-19 2014-08-19 Serial port information transmission method, single board device and common-used single board Withdrawn CN105471602A (en)

Priority Applications (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
PCT/CN2015/072792 WO2015154588A1 (en) 2014-08-19 2015-02-11 Serial port information transmission method, single board device and common single board

Applications Claiming Priority (1)

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

Publications (1)

Publication Number Publication Date
CN105471602A true CN105471602A (en) 2016-04-06

Family

ID=54287297

Family Applications (1)

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

Country Status (2)

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

Cited By (1)

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

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Citations (4)

* 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
CN102073610A (en) * 2010-12-31 2011-05-25 成都市华为赛门铁克科技有限公司 Serial information acquisition method and serial communication system

Patent Citations (4)

* 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
CN102073610A (en) * 2010-12-31 2011-05-25 成都市华为赛门铁克科技有限公司 Serial information acquisition method and serial communication system

Cited By (2)

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

Also Published As

Publication number Publication date
WO2015154588A1 (en) 2015-10-15

Similar Documents

Publication Publication Date Title
CN105471602A (en) Serial port information transmission method, single board device and common-used single board
CN105529831A (en) Auxiliary fault analysis system for secondary equipment of intelligent substation
CN104535853B (en) The distributed testing terminal of LTE radio communication intelligent substation test systems
CN102868743A (en) Remote control system and method for frequency converter
CN101387877A (en) Optical fibre auto switching device and method thereof
CN110083505A (en) A kind of intelligent management realization system of autonomous device
CN105094120A (en) Testing device capable of simulating action behaviors of primary equipment
WO2017202101A1 (en) Ethernet reverse power feeding device utilized in pon remote system and implementation method thereof
CN104104519B (en) A kind of power-off restarting method, apparatus and system
CN105162514B (en) Optical fiber ring network communication system and method
CN109633345A (en) A kind of secondary device on-line monitoring and analytical equipment
CN108551400B (en) Portable fortune dimension fort machine system
CN203288077U (en) Remote maintenance system for intelligent transformer station
CN202758347U (en) Controller of re-identifying universal serial bus (USB) device
CN1466315A (en) Method for realizing long distance controlled loopback of communication equipment
CN105354120A (en) SCD file document check device for intelligent substation
CN103580901A (en) Network bypass control device and method
CN202935897U (en) Sudden-stop lock switch position recognition device of belt conveyor
CN207382350U (en) The one-way communication system and board of nuclear power station security level system and non-security grade system
CN203104497U (en) Digital relay protection testing device
CN106253247A (en) Intelligent substation secondary optical fiber circuit and security isolation system thereof and partition method
CN204304624U (en) A kind of second power equipment remote maintenance converter
CN107040309B (en) Optical fiber communication broken link rapid monitoring method based on physical layer
CN105429871A (en) Embedded Web gateway and communication system based on interconnection of Wi-Fi and PROFIBUS-DP bus
CN100375441C (en) Network connectivity backup system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20160406

WW01 Invention patent application withdrawn after publication