CN107122324B - A kind of method for message transmission and device - Google Patents
A kind of method for message transmission and device Download PDFInfo
- Publication number
- CN107122324B CN107122324B CN201710262027.1A CN201710262027A CN107122324B CN 107122324 B CN107122324 B CN 107122324B CN 201710262027 A CN201710262027 A CN 201710262027A CN 107122324 B CN107122324 B CN 107122324B
- Authority
- CN
- China
- Prior art keywords
- node
- message
- management
- blade
- slot position
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3089—Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
- G06F11/3093—Configuration details thereof, e.g. installation, enabling, spatial arrangement of the probes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4004—Coupling between buses
- G06F13/4022—Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4004—Coupling between buses
- G06F13/4027—Coupling between buses using bus bridges
- G06F13/404—Coupling between buses using bus bridges with address mapping
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0002—Serial port, e.g. RS232C
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Mathematical Physics (AREA)
- Quality & Reliability (AREA)
- Small-Scale Networks (AREA)
- Computer And Data Communications (AREA)
Abstract
The application provides a kind of method for message transmission and device, this method comprises: receiving the administration order for carrying the corresponding slot position mark of blade node;Inquiry forwarding table is identified by the slot position, obtains outgoing interface corresponding with slot position mark and address information;The forwarding table is for track bit identification, the corresponding relationship of address information and outgoing interface;Generate the specified type message for the address information that destination address is;Specified type message is sent to the blade node by obtained outgoing interface.The transmission of serial data can be carried out when the IP address or IP address for not knowing blade node clash by the technical solution of the application.User can have found each blade node of girff server by management node, and log on the serial ports of these blade nodes, realize SOL function, realize the Remote configuration of BIOS by serial ports, remotely check system starting information.
Description
Technical field
This application involves field of communication technology more particularly to a kind of method for message transmission and device.
Background technique
In large-scale computer room, server it is effective management be the inevitable problem of administrative staff, at present there are two types of
Common practice: a kind of way to manage is, administrative staff by KVM (Keyboard Video Mouse, keyboard, display terminal and
Mouse) realize the independent management of each server, it is less to be suitable for number of servers this one-to-one direct way to manage
Application scenarios.Another way to manage is to be realized by a PC (Personal Computer, personal computer) more
The centralized management of a server, and PC can remotely manage multiple servers, and this way to manage is suitable for number of servers
More application scenarios.
IPMI (Intelligent Platform can be used for second of way to manage to realize long-range management
Management Interface, Intelligent Platform Management Interface) and SOL (Serial Over Local Area Network, office
Domain is serial on the net, and frequently referred to serial ports redirects), IPMI and SOL greatly facilitate effective management of the administrative staff to server.
IPMI provides the standard interface of a set of cross-platform management and monitoring server state for administrative staff, and SOL makes administrative staff can
The serial ports of long-range server to be redirected on local PC, and BIOS (Basic Input Output is realized by serial ports
System, basic input output system) Remote configuration, remotely check system start information.
Summary of the invention
The application provides a kind of method for message transmission, applied to the management node of girff server, the girff server
It further include one or more than one blade node, each blade node is inserted in a slot position of the girff server,
Each blade node is connect with the management node, and the management node is used to carry out local area network to each blade node
Serial SOL management, which comprises
Receive the administration order for carrying the corresponding slot position mark of blade node;
Inquiry forwarding table is identified by the slot position, obtains outgoing interface corresponding with slot position mark and address information;
Wherein, the forwarding table is for track bit identification, the corresponding relationship of address information and outgoing interface;
Generate the specified type message for the address information that destination address is;
The specified type message is sent to the blade node by obtained outgoing interface.
The application provides a kind of method for message transmission, and applied to the blade node of girff server, the blade node is inserted
Enter a slot position in the girff server, the girff server further includes management node, and the blade node and institute
Management node connection is stated, the management node is used to carry out the blade node serial SOL management, the method on local area network
Include:
Registration message is sent to the management node, the registration message carries the slot position mark and ground of the blade node
Location information, so that the management node generates forwarding table according to slot position mark and address information;
Receive the specified type message that the management node is sent according to the forwarding table.
The application provides a kind of massage transmission device, applied to the management node of girff server, the girff server
It further include one or more than one blade node, each blade node is inserted in a slot position of the girff server,
Each blade node is connect with the management node, and the management node is used to carry out local area network to each blade node
Serial SOL management, described device include:
Receiving module, for receiving the administration order for carrying the corresponding slot position mark of blade node;
Obtain module, for by the slot position mark inquiry forwarding table, obtain it is corresponding with slot position mark out connect
Mouth and address information;Wherein, the forwarding table is for track bit identification, the corresponding relationship of address information and outgoing interface;
Generation module, for generating the specified type message for the address information that destination address is;
Sending module sends the specified type message to the blade node for the outgoing interface by obtaining.
The application provides a kind of massage transmission device, and applied to the blade node of girff server, the blade node is inserted
Enter a slot position in the girff server, the girff server further includes management node, and the blade node and institute
Management node connection is stated, the management node is used to carry out the blade node serial SOL management, described device on local area network
Include:
Sending module, for sending registration message to management node, the registration message carries the slot position mark of blade node
Knowledge and address information, so that management node generates forwarding table according to slot position mark and address information;
Receiving module, the specified type message sent for receiving the management node according to the forwarding table.
Based on the above-mentioned technical proposal, in the embodiment of the present application, the management node of girff server can be based on girff service
The slot position of the blade node of device identifies, and inquires the blade address of node information and outgoing interface, then uses the address information
With the outgoing interface carry out serial data transmission, this process it is only necessary to know that blade node slot position mark it is achieved that
When the IP address or IP address for not knowing blade node clash, the transmission of serial data can also be carried out.Based on upper
Implementation is stated, user can have found each blade node of girff server by management node, and log on these blades
The serial ports of node to realize SOL function, and realizes the Remote configuration of BIOS by serial ports, remotely checks system starting information
Etc. functions.
Detailed description of the invention
It, below will be to the application in order to clearly illustrate the embodiment of the present application or technical solution in the prior art
Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below
Attached drawing is only some embodiments as described in this application, for those of ordinary skill in the art, can also be according to this Shen
Please these attached drawings of embodiment obtain other attached drawings.
Figure 1A and Figure 1B is the schematic diagram being managed by PC to server;
Fig. 2A and Fig. 2 B is the structural schematic diagram of the girff server in a kind of embodiment of the application;
Fig. 3 is the flow chart of the method for message transmission in a kind of embodiment of the application;
Fig. 4 is the flow chart of the method for message transmission in the application another embodiment;
Fig. 5 is the hardware structure diagram of the management node in a kind of embodiment of the application;
Fig. 6 is the structure chart of the massage transmission device in a kind of embodiment of the application;
Fig. 7 is the hardware structure diagram of the blade node in a kind of embodiment of the application;
Fig. 8 is the structure chart of the massage transmission device in a kind of embodiment of the application.
Specific embodiment
In the term that the embodiment of the present application uses merely for the sake of for the purpose of describing particular embodiments, rather than limit this Shen
Please.The "an" of singular used in the application and claims, " described " and "the" are also intended to including most shapes
Formula, unless context clearly shows that other meanings.It is also understood that term "and/or" used herein refers to comprising one
A or multiple associated any or all of project listed may combine.
It will be appreciated that though various letters may be described using term first, second, third, etc. in the embodiment of the present application
Breath, but these information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example,
In the case where not departing from the application range, the first information can also be referred to as the second information, and similarly, the second information can also be with
The referred to as first information.Depending on context, in addition, used word " if " can be construed to " ... when " or
" when ... " or " in response to determination ".
Referring to shown in Figure 1A, for the effective management for realizing server, administrative staff can be taken by PC to server transmission
IPMI message with serial data, the purpose IP address of IPMI message are the IP address of server, thus will based on IP address
IPMI message is sent to server.But if the IP address of server is identical, will lead to IPMI message can not be sent to server.
When leaving the factory due to girff server, the IP address of each blade node in girff server is the default value of unified programming,
For example, see multiple blade nodes shown in Figure 1B, are configured in girff server, each blade node is equivalent to a server,
These blade node IP address having the same, therefore, PC are not available IP address when sending IPMI message to blade node
Each blade node is distinguished, blade node can not be sent to so as to cause IPMI message, cannot achieve to the effective of blade node
Management.
For above-mentioned discovery, in the embodiment of the present application, long-range PC is not recycled to realize effective management to blade node,
But configuration management node (management server) in girff server, it is realized by management node to blade node (namely knife
Piece server) effective management.It is the structural schematic diagram of girff server referring to fig. 2 shown in A, which can wrap
Include management node (a such as management node, certainly, the quantity of management node may be it is multiple, be with a management node
Example), one or more than one blade node, which is inserted in a slot position of girff server, such as slot position 0,
Each blade node is respectively inserted into a slot position of girff server, as blade node 1 is inserted in the slot position of girff server
1, blade node 2 is inserted in the slot position 2 of girff server, blade node 3 is inserted in the slot position 3 of girff server.
Each blade node is connect with management node, as management node is connected to blade node 1, the pipe by interface 1
Reason node is connected to blade node 2, the management node by interface 2 and is connected to blade node 3 by interface 3.In an example
In, as shown in Figure 2 A, management node can be directly connected to each blade node.In another example, as shown in Figure 2 B, it manages
Reason node can also be connect by backboard with each blade node.
In one example, management node is used to carry out SOL management to each blade node, i.e. administrative staff can be by knife
The serial ports of piece node is redirected to management node, and realizes the Remote configuration of BIOS by serial ports, remotely checks system starting letter
The functions such as breath propose the method for message transmission to realize this function.
It is shown in Figure 3 under above-mentioned application scenarios, for the process of the method for message transmission proposed in the embodiment of the present application
Figure, this method can be applied to the management node of girff server, and this method may include:
Step 301, the administration order for carrying the corresponding slot position mark of blade node is received.
For example, then management node can receive administrative staff when administrative staff need to be managed blade node 1
The administration order of the corresponding slot position of carrying blade node 1 mark (slot position 1) issued.
Step 302, inquiry forwarding table is identified by the slot position, obtains outgoing interface corresponding with slot position mark and address letter
Breath.Wherein, the forwarding table is for track bit identification, the corresponding relationship of address information and outgoing interface.
Before this step, management node can also generate forwarding table according to the registration message of blade node.Specifically, knife
Piece node can send registration message to management node, which carries the slot position mark and address letter of the blade node
Breath;Management node after receiving the registration message, can be parsed from the registration message blade node slot position mark and
Address information, and determine the interface that the registration message is received in this management node.Then, management node records in forwarding table
Registration message is received in the address information and management node of slot position mark, registration message carrying that registration message carries
The corresponding relationship of interface.
For example, blade node 1 can know itself slot position mark (such as slot position 1) and address information (such as address information 1),
And registration message is sent with broadcast mode.After other nodes except management node receive registration message, registration message is abandoned.
After management node receives registration message, slot position 1 and address information 1 can be parsed from registration message, and determine this management
The interface 1 of registration message is received on node, and the corresponding of slot position 1, address information 1 and interface 1 is then recorded in forwarding table and is closed
System, as shown in table 1.Similarly, management node is after the registration message for receiving blade node 2, recorded in forwarding table slot position 2,
The corresponding relationship of address information 2 and interface 2, as shown in table 1.Management node is after the registration message for receiving blade node 3, In
The corresponding relationship of slot position 3, address information 3 and interface 3 is recorded in forwarding table, as shown in table 1.
Table 1
Slot position mark | Address information | Outgoing interface |
Slot position 1 | Address information 1 | Interface 1 |
Slot position 2 | Address information 2 | Interface 2 |
Slot position 3 | Address information 3 | Interface 3 |
Further, management node can pass through 1 inquiry table of slot position, 1 institute after receiving the administration order for carrying slot position 1
The forwarding table shown, to obtain interface 1 corresponding with slot position 1 and address information 1.
Step 303, the specified type message for the address information that destination address is is generated.
Step 304, specified type message is sent to blade node by obtained outgoing interface.
For example, it is address that management node, which generates destination address, after obtaining interface 1 corresponding with slot position 1 and address information 1
The specified type message of information 1, and specified type message is sent by interface 1.Since management node is connected to knife by interface 1
Piece node 1, therefore the specified type message is sent to blade node 1.
In one example, which can include but is not limited to: MAC (Media Access Control, medium
Access control) address and/or IP address.Wherein, if the address information is IP address, although the IP address of different blade nodes can
Can be identical, corresponding forwarding table is as shown in table 2, still, since each interface of management node only connects with a blade node
It connects, therefore, after determining IP address corresponding with slot position mark and outgoing interface, disappears sending specified type by the outgoing interface
It when breath, only has a blade node and receives the specified type message, to be sent specified type message based on IP address
Give blade node.
If the address information is MAC Address, the MAC Address of different blade nodes is different, and corresponding forwarding table can be with
As shown in table 3, it is based on this, management node can pass through after determining MAC Address corresponding with slot position mark and outgoing interface
MAC Address distinguishes each blade node, and each blade node can also be distinguished by outgoing interface.And specified class is being sent by outgoing interface
It when type message, only has a blade node and receives the specified type message, to be based on MAC Address for specified type message
It is sent to blade node.
Table 2
Table 3
Slot position mark | Address information | Outgoing interface |
Slot position 1 | MAC Address A | Interface 1 |
Slot position 2 | MAC Address B | Interface 2 |
Slot position 3 | MAC Address C | Interface 3 |
In one example, above-mentioned specified type message may include operation code.If administration order is for establishing SOL company
It connects, then operation code can be to be used to indicate the first identifier for establishing SOL connection;Blade node is receiving specified type message,
And after parsing operation code in the specified type message, since operation code is to be used to indicate the first identifier for establishing SOL connection,
Therefore blade node is established SOL with management node and is connect.If administration order can be use for disconnecting SOL connection, operation code
The second identifier of SOL connection is disconnected in instruction;Blade node is receiving specified type message, and from the specified type message
After parsing operation code, since operation code is to be used to indicate the second identifier for disconnecting SOL connection, blade node and management are saved
Point disconnects SOL connection.If administration order carries serial data, operation code can be to be used to indicate the third of interactive serial data
Mark, and specified type message further includes serial data;Blade node is receiving specified type message, and from the specified type
After parsing operation code in message, since operation code is to be used to indicate the third mark of interactive serial data, blade node
Serial data is parsed from the specified type message.
Based on the above-mentioned technical proposal, in the embodiment of the present application, the management node of girff server can be based on girff service
The slot position of the blade node of device identifies, and inquires the blade address of node information and outgoing interface, then uses the address information
With the outgoing interface carry out serial data transmission, this process it is only necessary to know that blade node slot position mark it is achieved that
When the IP address or IP address for not knowing blade node clash, the transmission of serial data can also be carried out.Based on upper
Implementation is stated, user can have found each blade node of girff server by management node, and log on these blades
The serial ports of node to realize SOL function, and realizes the Remote configuration of BIOS by serial ports, remotely checks system starting information
Etc. functions.
It is similar with the above method, it is shown in Figure 4, for the process for another method for message transmission that the embodiment of the present application proposes
Figure, this method can be applied to the blade node of girff server, and the management node is used to carry out SOL pipe to the blade node
Reason, this method may include:
Step 401, registration message is sent to management node, which carries slot position mark and the address of blade node
Information, so that management node is identified according to the slot position and the address information generates forwarding table.
Step 402, the specified type message that management node is sent according to the forwarding table is received.
In one example, after blade node receives the specified type message that management node is sent according to the forwarding table,
Operation code can also be parsed from the specified type message.If the operation code is to be used to indicate the first mark for establishing SOL connection
Know, then establishes SOL with management node and connect;If the operation code is to be used to indicate the second identifier for disconnecting SOL connection, with management
Node disconnects SOL connection;If the operation code is to be used to indicate the third mark of interactive serial data, from specified type message
Parse serial data.
In one example, which can include but is not limited to: MAC Address and/or IP address.
Based on the above-mentioned technical proposal, in the embodiment of the present application, the management node of girff server can be based on girff service
The slot position of the blade node of device identifies, and inquires the blade address of node information and outgoing interface, then uses the address information
With the outgoing interface carry out serial data transmission, this process it is only necessary to know that blade node slot position mark it is achieved that
When the IP address or IP address for not knowing blade node clash, the transmission of serial data can also be carried out.Based on upper
Implementation is stated, user can have found each blade node of girff server by management node, and log on these blades
The serial ports of node to realize SOL function, and realizes the Remote configuration of BIOS by serial ports, remotely checks system starting information
Etc. functions.
Below in conjunction with specific application scenarios, above-mentioned method for message transmission is described in detail.Under this application scene, on
Stating address information may include MAC Address, and above-mentioned specified type message can include but is not limited to: be assisted based on link layer-management
The message of view, the message of such as unified architecture system management type, i.e. UISM (Unified Infrastructure
System Manager, unified architecture system management) type message, as UTP (UISM Transport Protocol,
That is UISM transport protocol) message.
In one example, which can include but is not limited to following content: target MAC (Media Access Control) address, source MAC
Address, type of message, data content, FCS (Frame Check Sequence, frame check sequence).Wherein, target MAC (Media Access Control) address
For the MAC Address of blade node;Source MAC is the MAC Address of management node;Type of message be default value (such as
0xAAB0), indicate that current message is specified message;FCS is for verifying specified type message, specific verification mode
With no restrictions.
In one example, data content can successively include Head (head) TLV, one or more than one
Optional (optional) TLV and padding (supplement) TLV.In each TLV, include Type (type) field,
Length (length) field and Value (value) field, the length of the type field are 1 byte, and the length of Length field is 2
The length of byte, Value field is determined by Length.Wherein, the content of optional TLV can carry out according to actual needs
Configuration, it is without limitation.When the total length of specified type message is less than default value (such as 64 bytes), can add
Padding TLV, so that the total length of specified type message is not less than default value;When the total length of specified type message is not small
When default value, padding TLV can not be added.For the content of optional TLV and padding TLV, this Shen
It please repeat no more in embodiment, Head TLV is described in detail below.
In one example, Head TLV can include but is not limited to following field: Magic (type) field, Module
(module) field, OpCode (operation code) field, FeedBack (feedback) field and Reserve (reservation) field.Magic field
Value be default value (such as 0xFF02CAFE), to indicate that current message is specified message, for example, only working as message class
Type is default value 0xAAB0, and Magic field is the message of default value 0xFF02CAFE, is just considered as that specified type disappears
Breath is based on this implementation, can be mistaken as specified type message to avoid non-designated message, in type of message and
When Magic field is met the requirements simultaneously, it is just considered specified type message, improves the accuracy of judgement.Module field
Value range is 0x0000-FFFF, is used to indicate module belonging to specified type message.The value range of OpCode field is
0x0000-FFFF, when the value of OpCode field is first identifier (such as 0x0001), then it represents that current message, which is used to indicate, to be built
Vertical SOL connection;When the value of OpCode field is second identifier (such as 0x0002), then it represents that current message is used to indicate disconnection
SOL connection;When the value of OpCode field is third mark (such as 0x0003), then it represents that current message is used to indicate interactive string
Mouth data.FeedBack field is backfill field, it is desirable that recipient returns to hair for the value of FeedBack field is intact
The side of sending.The value of Reserve field is 0, is reserved field, leaves subsequent expansion use for.
In one example, in order to realize the management to blade node, then it is related to following process: SOL connection establishment process,
Serial port data interactive process, SOL connection disconnection process, are below illustrated the above process.
1, SOL connection establishment process.Management node receives the administration order for establishing SOL connection, and to blade node
Specified type message is sent, the operation code of the specified type message is to be used to indicate the first identifier for establishing SOL connection.Blade section
Point is established SOL with management node and is connect after receiving specified type message.
2, serial port data interactive process.Management node receives the administration order for carrying serial data, and sends out to blade node
Specified type message is sent, the operation code of the specified type message is to be used to indicate the third mark of interactive serial data, and this refers to
Determine message and carries the serial data.Blade node is parsed from specified type message after receiving specified type message
Serial data out, and the interaction with management node progress serial data.
The process of serial port data interactive, the optional TLV of specified type message are carried out in management node and blade node
It may include TLV:Num TLV, Ack TLV, Accept TLV, Status TLV, the Data TLV of following 5 types.Wherein,
The Num TLV is used to carry the message SN of sender, and Ack TLV is used to carry the ACK, Accept TLV of recipient's response
The message-length received for carrying recipient, Status TLV is for carrying message status, and Data TLV is for carrying
Serial data.
When management node needs to send serial data to blade node, specified type message is generated, is disappeared in specified type
Message SN is added in the Num TLV of breath, and serial data is added in the Data TLV of specified type message, and specified class
Ack TLV, Accept TLV, the Status TLV of type message can be sky.Blade node receive specified type message it
Afterwards, serial data is parsed from Data TLV, and handles the serial data.In addition, blade node can also be to management node
The response message for being directed to the specified type message is sent, which is also specified type message, which equally wraps
Num TLV, Ack TLV, Accept TLV, Status TLV, Data TLV are included, adds knife in the Ack TLV of response message
Message SN in the Num TLV for the specified type message that piece node receives adds in the Accept TLV of response message
The length of the Data TLV for the specified type message for adding blade node to receive, it is whether complete for checking message, and response disappears
Num TLV, Status TLV, the Data TLV of breath can be sky.
When blade node needs to send serial data to management node, specified type message is generated, is disappeared in specified type
Message SN is added in the Num TLV of breath, and serial data is added in the Data TLV of specified type message, and specified class
Ack TLV, Accept TLV, the Status TLV of type message can be sky.Management node receive specified type message it
Afterwards, serial data is parsed from Data TLV, and handles the serial data.In addition, management node can also be to blade node
The response message for being directed to the specified type message is sent, which is also specified type message, which equally wraps
Num TLV, Ack TLV, Accept TLV, Status TLV, Data TLV are included, the adding tube in the Ack TLV of response message
Message SN in the Num TLV for the specified type message that reason node receives, adds in the Accept TLV of response message
The length of the Data TLV for the specified type message for adding management node to receive, it is whether complete for checking message, and response disappears
Num TLV, Status TLV, the Data TLV of breath can be sky.
3, SOL connection disconnection process.Management node receives the administration order for disconnecting SOL connection, and to blade node
Specified type message is sent, the operation code of the specified type message is to be used to indicate the second identifier for disconnecting SOL connection.Blade section
Point disconnects SOL with management node and connect after receiving specified type message.
Based on similarly applying conceiving with the above method, a kind of massage transmission device is additionally provided in the embodiment of the present application,
The massage transmission device be applied to girff server management node, the girff server further include one or more than one
Blade node, each blade node is inserted in a slot position of the girff server, each blade node with the pipe
Node connection is managed, and the management node is used to carry out SOL management to each blade node.Wherein, which can
Can also be realized by way of hardware or software and hardware combining by software realization.Taking software implementation as an example, as one
Device on logical meaning is corresponding meter in reading non-volatile storage by the processor of the management node where it
What calculation machine program instruction was formed.For hardware view, as shown in figure 5, where the massage transmission device proposed for the application
A kind of hardware structure diagram of management node, other than processor shown in fig. 5, nonvolatile memory, management node can be with
Including other hardware, such as it is responsible for forwarding chip, network interface, the memory of processing message;From hardware configuration, the management
Node is also possible to be distributed apparatus, may include multiple interface cards, to carry out the extension of Message processing in hardware view.
As shown in fig. 6, the structure chart of the massage transmission device proposed for the application, described device include:
Receiving module 11, for receiving the administration order for carrying the corresponding slot position mark of blade node;
Obtain module 12, for by the slot position mark inquiry forwarding table, obtain it is corresponding with slot position mark out
Interface and address information;Wherein, the forwarding table is for track bit identification, the corresponding relationship of address information and outgoing interface;
Generation module 13, for generating the specified type message for the address information that destination address is;
Sending module 14 sends the specified type message to blade node for the outgoing interface by obtaining.
Further include (not embodied in figure) described in the massage transmission device:
Logging modle, for receiving the registration message from blade node, the registration message carries the slot of blade node
Bit identification and address information, and determine the interface that the registration message is received in the management node;It is recorded in forwarding table
It is received in the address information and the management node of slot position mark, registration message carrying that the registration message carries
To the corresponding relationship of the interface of the registration message.
The specified type message that the generation module 13 generates further includes operation code;If the received institute of the receiving module 11
Administration order is stated for establishing SOL connection, then the operation code is to be used to indicate the first identifier for establishing SOL connection;If described
The received administration order of receiving module 11 is for disconnecting SOL connection, then the operation code is to be used to indicate to disconnect SOL connection
Second identifier;If the received administration order of the receiving module 11 carries serial data, the operation code be for
Indicate the third mark of interaction serial data, and the specified type message that the generation module 13 generates further includes the string
Mouth data;
The address information for obtaining the acquisition of module 12 specifically includes: MAC Address and/or IP address;
The specified type message that the generation module 13 generates includes: the message based on link layer management agreement.
Based on similarly applying conceiving with the above method, a kind of massage transmission device is additionally provided in the embodiment of the present application,
The massage transmission device can be applied to the blade node of girff server, and the blade node is inserted in the girff server
A slot position, the girff server further includes management node, and the blade node is connect with the management node, described
Management node is used to carry out the blade node serial SOL management on local area network.Wherein, which can pass through
Software realization can also be realized by way of hardware or software and hardware combining.Taking software implementation as an example, it anticipates as a logic
Device in justice is corresponding computer journey in reading non-volatile storage by the processor of the blade node where it
Sequence, which instructs, to be formed.For hardware view, as shown in fig. 7, the blade section where the massage transmission device proposed for the application
A kind of hardware structure diagram of point, other than processor shown in Fig. 7, nonvolatile memory, blade node can also include it
His hardware, such as it is responsible for forwarding chip, network interface, the memory of processing message;From hardware configuration, the blade node is also
It may be distributed apparatus, may include multiple interface cards, to carry out the extension of Message processing in hardware view.
As shown in figure 8, the structure chart of the massage transmission device proposed for the application, described device include:
Sending module 21, for sending registration message to management node, which carries the slot position mark of blade node
Knowledge and address information, so that management node generates forwarding table according to slot position mark and address information;
Receiving module 22, the specified type message sent for receiving the management node according to the forwarding table.
Further include (not embodied in figure): processing module described in the massage transmission device, is used for from the specified type
Operation code is parsed in message;If the operation code is to be used to indicate the first identifier for establishing SOL connection, saved with the management
Point establishes SOL connection;If the operation code is to be used to indicate the second identifier for disconnecting SOL connection, disconnected with the management node
Open SOL connection;If the operation code is to be used to indicate the third mark of interactive serial data, from the specified type message
Parse serial data;
The address information that the registration message that the sending module 21 is sent carries includes: MAC Address and/or IP address;Institute
Stating the received specified type message of receiving module 22 includes: the message based on link layer management agreement.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.A kind of typically to realize that equipment is computer, the concrete form of computer can
To be personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
In device, navigation equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device or these equipment
The combination of any several equipment.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this
The function of each unit can be realized in the same or multiple software and or hardware when application.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, it wherein includes computer usable program code that the embodiment of the present application, which can be used in one or more,
The computer implemented in computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of program product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It is generally understood that being realized by computer program instructions each in flowchart and/or the block diagram
The combination of process and/or box in process and/or box and flowchart and/or the block diagram.It can provide these computer journeys
Sequence instruct to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices processor with
A machine is generated, so that the instruction generation executed by computer or the processor of other programmable data processing devices is used for
Realize the dress for the function of specifying in one or more flows of the flowchart and/or one or more blocks of the block diagram
It sets.
Moreover, these computer program instructions also can store be able to guide computer or other programmable datas processing set
In standby computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates
Manufacture including command device, the command device are realized in one process of flow chart or multiple processes and/or block diagram one
The function of being specified in a box or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing devices, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer
Or the instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram
The step of function of being specified in one box or multiple boxes.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product.
Therefore, the application can use complete hardware embodiment, complete software embodiment or implementation combining software and hardware aspects
The form of example.Moreover, it wherein includes the calculating of computer usable program code that the application, which can be used at one or more,
The computer implemented in machine usable storage medium (can include but is not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of program product.
The above description is only an example of the present application, is not intended to limit this application.For those skilled in the art
For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal
Replacement, improvement etc., should be included within the scope of the claims of this application.
Claims (12)
1. a kind of method for message transmission, which is characterized in that applied to the management node of girff server, the girff server is also
Including one or more than one blade node, each blade node are inserted in a slot position of the girff server, often
A blade node is connect with the management node, and the management node is used to carry out each blade node to go here and there on local area network
Row SOL management, which comprises
Receive the administration order for carrying the corresponding slot position mark of blade node;
Inquiry forwarding table is identified by the slot position, obtains outgoing interface corresponding with slot position mark and address information;Wherein,
The forwarding table is for track bit identification, the corresponding relationship of address information and outgoing interface;
Generate the specified type message for the address information that destination address is;
The specified type message is sent to the blade node by obtained outgoing interface.
2. being obtained the method according to claim 1, wherein described identify inquiry forwarding table by the slot position
Before outgoing interface corresponding with slot position mark and address information, the method also includes:
The registration message from blade node is received, the registration message carries the slot position mark and address information of blade node,
And determine the interface that the registration message is received in the management node;
Recorded in forwarding table address information that the slot position mark, the registration message that the registration message carries carry and
The corresponding relationship of the interface of the registration message is received in the management node.
3. the method according to claim 1, wherein the specified type message includes operation code;If the pipe
Reason order is for establishing SOL connection, then the operation code is to be used to indicate the first identifier for establishing SOL connection;If the management
Order is for disconnecting SOL connection, then the operation code is to be used to indicate the second identifier for disconnecting SOL connection;If the management life
It enables and carries serial data, then the operation code is to be used to indicate the third mark of interactive serial data, and the specified type disappears
Breath further includes the serial data.
4. method according to claim 1-3, which is characterized in that
The address information specifically includes: MAC Address and/or IP address;
The specified type message specifically includes: the message based on link layer management agreement.
5. a kind of method for message transmission, which is characterized in that applied to the blade node of girff server, the blade node insertion
In a slot position of the girff server, the girff server further includes management node, and the blade node with it is described
Management node connection, the management node are used to carry out the blade node serial SOL management, the method packet on local area network
It includes:
Registration message is sent to the management node, the registration message carries the slot position mark and address letter of the blade node
Breath, so that the management node generates forwarding table according to slot position mark and address information;
Receive the specified type message that the management node is sent according to the forwarding table.
6. according to the method described in claim 5, it is characterized in that, the reception management node is sent out according to the forwarding table
After the specified type message sent, the method also includes:
Operation code is parsed from the specified type message;If the operation code is to be used to indicate establish SOL connection first
Mark, then establish SOL with the management node and connect;If the operation code is to be used to indicate the second identifier for disconnecting SOL connection,
Then SOL is disconnected with the management node to connect;If the operation code is to be used to indicate the third mark of interactive serial data, from
Serial data is parsed in the specified type message.
7. method according to claim 5 or 6, which is characterized in that
The address information specifically includes: MAC Address and/or IP address;
The specified type message specifically includes: the message based on link layer management agreement.
8. a kind of massage transmission device, which is characterized in that applied to the management node of girff server, the girff server is also
Including one or more than one blade node, each blade node are inserted in a slot position of the girff server, often
A blade node is connect with the management node, and the management node is used to carry out each blade node to go here and there on local area network
Row SOL management, described device include:
Receiving module, for receiving the administration order for carrying the corresponding slot position mark of blade node;
Obtain module, for by the slot position mark inquire forwarding table, obtain outgoing interface corresponding with slot position mark and
Address information;Wherein, the forwarding table is for track bit identification, the corresponding relationship of address information and outgoing interface;
Generation module, for generating the specified type message for the address information that destination address is;
Sending module sends the specified type message to the blade node for the outgoing interface by obtaining.
9. device according to claim 8, which is characterized in that further include:
Logging modle, for receiving the registration message from blade node, the registration message carries the slot position mark of blade node
Knowledge and address information, and determine the interface that the registration message is received in the management node;In forwarding table described in record
Institute is received in the address information and the management node of slot position mark, registration message carrying that registration message carries
State the corresponding relationship of the interface of registration message.
10. device according to claim 8, which is characterized in that
The specified type message that the generation module generates further includes operation code;If the received management life of receiving module
It enables for establishing SOL connection, then the operation code is to be used to indicate the first identifier for establishing SOL connection;If the receiving module
The received administration order is for disconnecting SOL connection, then the operation code is to be used to indicate the second mark for disconnecting SOL connection
Know;If the received administration order of receiving module carries serial data, the operation code is to be used to indicate interactive string
The third mark of mouth data, and the specified type message that the generation module generates further includes the serial data;
The address information for obtaining module acquisition specifically includes: MAC Address and/or IP address;
The specified type message that the generation module generates specifically includes: the message based on link layer management agreement.
11. a kind of massage transmission device, which is characterized in that applied to the blade node of girff server, the blade node is inserted
Enter a slot position in the girff server, the girff server further includes management node, and the blade node and institute
Management node connection is stated, the management node is used to carry out the blade node serial SOL management, described device on local area network
Include:
Sending module, for sending registration message to management node, the registration message carry blade node slot position mark and
Address information, so that management node generates forwarding table according to slot position mark and address information;
Receiving module, the specified type message sent for receiving the management node according to the forwarding table.
12. device according to claim 11, which is characterized in that further include: processing module is used for from the specified type
Operation code is parsed in message;If the operation code is to be used to indicate the first identifier for establishing SOL connection, saved with the management
Point establishes SOL connection;If the operation code is to be used to indicate the second identifier for disconnecting SOL connection, disconnected with the management node
Open SOL connection;If the operation code is to be used to indicate the third mark of interactive serial data, from the specified type message
Parse serial data;
The address information that the registration message that the sending module is sent carries includes: MAC Address and/or IP address;The reception
The received specified type message of module includes: the message based on link layer management agreement.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710262027.1A CN107122324B (en) | 2017-04-20 | 2017-04-20 | A kind of method for message transmission and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710262027.1A CN107122324B (en) | 2017-04-20 | 2017-04-20 | A kind of method for message transmission and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107122324A CN107122324A (en) | 2017-09-01 |
CN107122324B true CN107122324B (en) | 2019-11-12 |
Family
ID=59726178
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710262027.1A Active CN107122324B (en) | 2017-04-20 | 2017-04-20 | A kind of method for message transmission and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107122324B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108616390B (en) * | 2018-04-11 | 2019-09-13 | 新华三信息技术有限公司 | The realization device of girff management method, device and girff management |
CN108733403B (en) * | 2018-05-21 | 2022-04-08 | 新华三信息技术有限公司 | BIOS setting method and device |
CN109861959B (en) * | 2018-11-22 | 2022-04-08 | 新华三技术有限公司 | Data transmission method and device |
CN109634907A (en) * | 2018-11-22 | 2019-04-16 | 新华三技术有限公司 | Data interactive method and device |
CN109739722B (en) * | 2018-12-24 | 2023-04-07 | 新华三技术有限公司 | Data collection method and tool box |
CN113965500B (en) * | 2021-09-17 | 2023-04-25 | 浪潮思科网络科技有限公司 | Method, equipment and medium for managing port occupation of serial server |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1909462A (en) * | 2006-07-03 | 2007-02-07 | 华为技术有限公司 | Server |
CN1983969A (en) * | 2006-04-24 | 2007-06-20 | 华为技术有限公司 | System and realization for re-directing interface network |
CN101232395A (en) * | 2007-12-27 | 2008-07-30 | Ut斯达康通讯有限公司 | Method for implementing network appliance to automatically collocation install |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7400648B2 (en) * | 2004-05-28 | 2008-07-15 | International Business Machines Corporation | Virtual USB communications port |
-
2017
- 2017-04-20 CN CN201710262027.1A patent/CN107122324B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1983969A (en) * | 2006-04-24 | 2007-06-20 | 华为技术有限公司 | System and realization for re-directing interface network |
CN1909462A (en) * | 2006-07-03 | 2007-02-07 | 华为技术有限公司 | Server |
CN101232395A (en) * | 2007-12-27 | 2008-07-30 | Ut斯达康通讯有限公司 | Method for implementing network appliance to automatically collocation install |
Also Published As
Publication number | Publication date |
---|---|
CN107122324A (en) | 2017-09-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107122324B (en) | A kind of method for message transmission and device | |
CN100479415C (en) | System for realizing data communication and its method | |
CN105556916B (en) | The information statistical method and device of network flow | |
CN109068186B (en) | Method and device for processing packet loss rate | |
CN104717137A (en) | Managing data flows in overlay networks | |
JP2019515608A (en) | Access control | |
CN106330779B (en) | Server, physical switch, and communication system | |
CN104993993B (en) | A kind of message processing method, equipment and system | |
CN110809026B (en) | File processing method and device, electronic equipment and storage medium | |
CN109088820A (en) | A kind of striding equipment link aggregation method, device, computing device and storage medium | |
CN114500633B (en) | Data forwarding method, related device, program product and data transmission system | |
CN106878199A (en) | The collocation method and device of a kind of access information | |
CN106921578A (en) | The generation method and device of a kind of forwarding-table item | |
CN109787873B (en) | Many-to-many network access communication method and device | |
CN107547346A (en) | A kind of message transmitting method and device | |
CN109889910B (en) | Communication method and device for accessing private network | |
CN109617961B (en) | Method and device for downloading video recording of video network in Internet | |
CN110391919A (en) | Flux of multicast retransmission method, device, electronic equipment | |
CN110708493B (en) | Method and device for acquiring permission of participating in video networking conference | |
CN110677314B (en) | Network interface testing method, system, electronic device and storage medium | |
CN109769126B (en) | Method and device for playing back video recording in real time in Internet | |
CN104219160A (en) | Method and device for generating input parameter | |
TW200807988A (en) | Configuring a host device by way of MMP | |
CN110417636A (en) | A kind of the self-organizing instantaneous communication system and its method of decentralization | |
CN101510901B (en) | Communication method, communication apparatus and system between distributed equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province Applicant after: Xinhua Sanxin Information Technology Co., Ltd. Address before: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province Applicant before: Huashan Information Technology Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |