CN108429741B - Method and system for realizing NCSI protocol - Google Patents

Method and system for realizing NCSI protocol Download PDF

Info

Publication number
CN108429741B
CN108429741B CN201810166252.XA CN201810166252A CN108429741B CN 108429741 B CN108429741 B CN 108429741B CN 201810166252 A CN201810166252 A CN 201810166252A CN 108429741 B CN108429741 B CN 108429741B
Authority
CN
China
Prior art keywords
ncsi
bmc
message
conversion component
protocol
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
Application number
CN201810166252.XA
Other languages
Chinese (zh)
Other versions
CN108429741A (en
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810166252.XA priority Critical patent/CN108429741B/en
Publication of CN108429741A publication Critical patent/CN108429741A/en
Application granted granted Critical
Publication of CN108429741B publication Critical patent/CN108429741B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Environmental & Geological Engineering (AREA)
  • Communication Control (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a method for realizing an NCSI protocol, which is used for a Baseboard Management Controller (BMC) system, wherein the BMC system comprises a BMC and a conversion component connected with the BMC, and the method comprises the steps that the conversion component receives an Ethernet message sent by the BMC; the conversion component analyzes the Ethernet message; and after the analysis is finished, the conversion component converts the Ethernet message into a network controller sideband interface NCSI message. When the BMC system monitors and manages the server through the shared network, a special BMC chip provided with a network card controller supporting the NCSI protocol is not needed, and the Ethernet message sent by the BMC is analyzed and converted by the conversion component to form an NCSI message format supporting the NCSI protocol. The invention also provides a system for realizing the NCSI protocol, which has the beneficial effects.

Description

Method and system for realizing NCSI protocol
Technical Field
The invention relates to the technical field of computer application, in particular to a method and a system for realizing an NCSI protocol.
Background
With the rapid development of information technology, servers are widely and deeply applied to cloud computing, big data and traditional industries, and BMC (Baseboard Management Controller) plays an important role in the Management, operation and maintenance of servers, application interface provision and the like as a monitoring Management system of the servers.
The BMC chip is connected to an NCSI (Network Controller side Interface) Network card on a server motherboard through an NCSI (Network Controller side Interface) signal bus, the NCSI Network card provides a shared Network Interface, the BMC chip needs to use a special BMC chip supporting the NCSI protocol in order to be compatible with the NCSI Network card, the special BMC chip is provided with a Network card Controller supporting the NCSI protocol, the Network card Controller can convert an ethernet message of the BMC chip into an NCSI message, and the BMC chip is guaranteed to receive or send information of the NCSI protocol, but the special BMC chip is more expensive than a common BMC chip, which not only limits the selection of a user, but also increases the implementation cost.
Therefore, how to provide a solution to the above technical problems is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The invention aims to provide a method for realizing NCSI protocol, through the method of the invention, when a BMC system realizes monitoring management on a server through a shared network, a special BMC chip provided with a network card controller supporting the NCSI protocol is not needed, so that a user can have more choices on the BMC chip, and the realization cost is reduced. Another object of the present invention is to provide a system for implementing the NCSI protocol, which has the above beneficial effects.
In order to solve the above technical problem, the present invention provides a method for implementing an NCSI protocol, which is used for a BMC system of a baseboard management controller, where the BMC system includes a BMC and a conversion component connected to the BMC, and the method includes:
the conversion component receives an Ethernet message sent by the BMC;
the conversion component analyzes the Ethernet message;
and after the analysis is finished, the conversion component converts the Ethernet message into a network controller sideband interface NCSI message.
Preferably, the method further comprises:
and the conversion component sends the NCSI message to an NCSI network card.
Preferably, the conversion component is connected with the BMC through an RMI interface.
Preferably, the method further comprises:
the conversion component receives the NCSI message;
the conversion component analyzes the NCSI message;
and after the analysis is completed, the conversion component converts the NCSI message into the Ethernet message.
Preferably, the conversion component is a Field Programmable Gate Array (FPGA).
In order to solve the above technical problem, the present invention further provides a system for implementing the NCSI protocol, which is used for converting components, and includes:
the receiving unit is used for receiving the Ethernet message sent by the BMC through the connection with the BMC;
the analysis unit is used for analyzing the Ethernet message;
and the conversion unit is used for converting the Ethernet message into an NCSI message after the analysis is finished.
Preferably, the system further comprises:
and the sending unit is used for sending the NCSI message to an NCSI network card.
Preferably, the conversion component is connected with the BMC through an RMI interface.
Preferably, the receiving unit is further configured to receive the NCSI packet; the analysis unit is also used for analyzing the NCSI message; the conversion unit is further configured to convert the NCSI packet into an ethernet packet after the parsing is completed.
Preferably, the conversion component is a Field Programmable Gate Array (FPGA).
The invention provides a method for realizing an NCSI protocol, which is used for a Baseboard Management Controller (BMC) system, wherein the BMC system comprises a BMC and a conversion component connected with the BMC; the method comprises the steps that a conversion component receives an Ethernet message sent by a BMC; the conversion component analyzes the Ethernet message; and after the analysis is finished, the conversion component converts the Ethernet message into a network controller sideband interface NCSI message.
Therefore, when the BMC system monitors and manages the server through the shared network, a special BMC chip provided with a network card controller supporting the NCSI protocol is not needed, and the Ethernet message sent by the BMC forms an NCSI message format supporting the NCSI protocol after being analyzed and converted by the conversion component.
The invention also provides a system for realizing the NCSI protocol, which has the same beneficial effect with the method for realizing the NCSI protocol.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed in the prior art and the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flow chart of a method for implementing the NCSI protocol according to the present invention;
fig. 2 is a schematic structural diagram of a system for implementing the NCSI protocol according to the present invention.
Detailed Description
The core of the invention is to provide a method for realizing NCSI protocol, through the method of the invention, when the BMC system realizes the monitoring management of the server through the shared network, the special BMC chip provided with the network card controller supporting the NCSI protocol is not needed, so that the user can have more choices on the BMC chip, and the realization cost is reduced. Another core of the present invention is to provide a system for implementing the NCSI protocol, which has the above beneficial effects.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic flow chart of a method for implementing the NCSI protocol, which is provided by the present invention, and is used for a BMC system including a BMC and a conversion component connected to the BMC, where the method includes:
step S1: and the conversion component receives the Ethernet message sent by the BMC.
Specifically, in the process of implementing monitoring and management on the server, the BMC chip is an initiator of the command, and the BMC is connected to the conversion component through a common network interface inside the system, for example, an RMI (Remote Method Invocation) interface, and through such a connection relationship, the instruction sent by the BMC is transmitted to the conversion component, which is a basis for managing or monitoring the server. It should be noted that the ethernet packet is a format of the command sent by the BMC.
Step S2: the conversion component parses the ethernet packet.
Specifically, after receiving an ethernet packet sent by the BMC, the conversion component performs an analysis operation on the ethernet packet, where the conversion component includes a related program code (a general hardware logic code), which may be pre-stored in the conversion component, and the packet content of the BMC can be known through the analysis, which is a key for implementing the NCSI protocol.
Step S3: and after the analysis is finished, the conversion component converts the Ethernet message into a network controller sideband interface NCSI message.
Specifically, in order to make the initial ethernet packet support the NCSI protocol, it is further required to convert the analyzed packet (data packet) into the NCSI packet according to the NCSI protocol standard after the analysis is completed, so that the device supporting the NCSI protocol can conveniently process the instruction sent by the BMC.
It should be noted that the conversion component may be a common hardware, and the analysis and conversion process of the ethernet packet is realized by burning in the relevant code, and the subsequent modification and update are also facilitated. By the method, the limitation of the special BMC chip can be avoided, more BMC chips can be selected by a user, and the selection is more free, so that the high cost of selecting the special BMC chip is reduced.
The invention provides a method for realizing an NCSI protocol, which is used for a Baseboard Management Controller (BMC) system, wherein the BMC system comprises a BMC and a conversion component connected with the BMC; the method comprises the steps that a conversion component receives an Ethernet message sent by a BMC; the conversion component analyzes the Ethernet message; and after the analysis is finished, the conversion component converts the Ethernet message into a network controller sideband interface NCSI message.
Therefore, when the BMC system monitors and manages the server through the shared network, a special BMC chip provided with a network card controller supporting the NCSI protocol is not needed, and the Ethernet message sent by the BMC forms an NCSI message format supporting the NCSI protocol after being analyzed and converted by the conversion component.
On the basis of the above-described embodiment:
as a preferred embodiment, the method further comprises:
and the conversion component sends the NCSI message to the NCSI network card.
Specifically, after the ethernet packet is converted into the NCSI packet by the conversion component, the ethernet packet can be sent to a device supporting the NCSI protocol to implement functions such as monitoring and management of the BMC, for example, the NCSI network card is configured through the shared network, at this time, only the NCSI packet needs to be sent to the NCSI network card, and the NCSI network card at the server side performs corresponding configuration after receiving the NCSI packet.
It should be noted that, in addition to the NCSI network card, the NCSI network card may also be sent to other devices supporting the NCSI protocol to implement other functions, and the present invention is not limited herein.
As a preferred embodiment, the conversion component is connected to the BMC via an RMI interface.
Specifically, the conversion component is connected to the BMC to implement message transmission, and generally, the conversion component is connected to the BMC through a common network interface inside the BMC system, and the common BMC chip has the interface of this type, and may also be other types of interfaces besides the RMI interface mentioned above, which is not limited herein.
As a preferred embodiment, the method further comprises:
the conversion component receives an NCSI message;
the conversion component analyzes the NCSI message;
after the analysis is completed, the conversion component converts the NCSI message into an Ethernet message.
Specifically, considering that in practical application, not only the BMC needs to send a message to the NCSI network card, but also the NCSI network card sends an NCSI message to the BMC, for example, the NCSI network card returns a configuration completion message to the BMC after configuration is completed, the conversion component of the present invention may further analyze and convert the NCSI message into an ethernet message, so that the BMC can recognize the message, thereby realizing the data transmission between the NCSI network card and the BMC.
Therefore, by the method, when the NCSI protocol is realized, a special BMC chip provided with a network card controller supporting the NCSI protocol is not needed, and the Ethernet message sent by the BMC forms an NCSI message format supporting the NCSI protocol after being analyzed and converted by the conversion component.
In a preferred embodiment, the conversion component is a Field Programmable Gate Array (FPGA).
Specifically, the conversion component may be common hardware, and implements the parsing and conversion process of the ethernet packet by burning in related codes, and facilitates subsequent modification and updating, and specifically may be an FPGA (Field Programmable Gate Array) processing module, a CPLD (Complex Programmable Logic Device), or others, which is not limited herein.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a system for implementing the NCSI protocol, which is used for a conversion component, and includes:
the receiving unit 1 is used for receiving an Ethernet message sent by the BMC through the connection with the BMC;
the analysis unit 2 is used for analyzing the Ethernet message;
and the conversion unit 3 is used for converting the Ethernet message into an NCSI message after the analysis is finished.
As a preferred embodiment, the system further comprises:
and the sending unit is used for sending the NCSI message to the NCSI network card.
As a preferred embodiment, the conversion component is connected to the BMC via an RMI interface.
As a preferred embodiment, the receiving unit 1 is further configured to receive an NCSI message; the analysis unit 2 is also used for analyzing the NCSI message; the conversion unit 3 is further configured to convert the NCSI packet into an ethernet packet after the parsing is completed.
In a preferred embodiment, the conversion component is a Field Programmable Gate Array (FPGA).
For a detailed description of a system for implementing the NCSI protocol provided by the present invention, please refer to the above method embodiment, which is not described herein again.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for implementing the NCSI protocol for a BMC system, wherein the BMC system includes a BMC and a conversion component connected to the BMC, the method comprising:
the conversion component receives an Ethernet message sent by the BMC;
the conversion component analyzes the Ethernet message;
and after the analysis is finished, the conversion component converts the Ethernet message into a network controller sideband interface NCSI message.
2. A method of implementing the NCSI protocol as claimed in claim 1, further comprising:
and the conversion component sends the NCSI message to an NCSI network card.
3. The method of claim 1, wherein the translation component interfaces with the BMC via an RMI interface.
4. A method of implementing the NCSI protocol as claimed in any one of claims 1 to 3, further comprising:
the conversion component receives the NCSI message;
the conversion component analyzes the NCSI message;
and after the analysis is completed, the conversion component converts the NCSI message into the Ethernet message.
5. The method of claim 4, wherein said conversion component is a Field Programmable Gate Array (FPGA).
6. A system for implementing the NCSI protocol for converting components, comprising:
the receiving unit is used for receiving the Ethernet message sent by the BMC through the connection with the BMC;
the analysis unit is used for analyzing the Ethernet message;
and the conversion unit is used for converting the Ethernet message into an NCSI message after the analysis is finished.
7. The system of claim 6, wherein the system further comprises:
and the sending unit is used for sending the NCSI message to an NCSI network card.
8. The system of claim 6, wherein the translation component interfaces with the BMC over an RMI interface.
9. The system according to claim 6, wherein said receiving unit is further configured to receive said NCSI packet; the analysis unit is also used for analyzing the NCSI message; the conversion unit is further configured to convert the NCSI packet into an ethernet packet after the parsing is completed.
10. The system of claim 9, wherein the conversion component is a Field Programmable Gate Array (FPGA).
CN201810166252.XA 2018-02-28 2018-02-28 Method and system for realizing NCSI protocol Active CN108429741B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810166252.XA CN108429741B (en) 2018-02-28 2018-02-28 Method and system for realizing NCSI protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810166252.XA CN108429741B (en) 2018-02-28 2018-02-28 Method and system for realizing NCSI protocol

Publications (2)

Publication Number Publication Date
CN108429741A CN108429741A (en) 2018-08-21
CN108429741B true CN108429741B (en) 2021-06-29

Family

ID=63157171

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810166252.XA Active CN108429741B (en) 2018-02-28 2018-02-28 Method and system for realizing NCSI protocol

Country Status (1)

Country Link
CN (1) CN108429741B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113608935B (en) * 2021-06-20 2024-05-28 山东云海国创云计算装备产业创新中心有限公司 Method, system, equipment and medium for testing network card
CN118282851B (en) * 2024-05-31 2024-08-06 珠海星云智联科技有限公司 Configuration method, device and medium for sideband interface protocol of network controller

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107094150A (en) * 2017-05-23 2017-08-25 郑州云海信息技术有限公司 A kind of NCSI protocol realizations structure and method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103616937B (en) * 2013-11-27 2016-09-28 华为技术有限公司 A kind of mainboard, PCIE network interface card and server system
GB2532054B (en) * 2014-11-07 2016-10-12 Ibm NC-SI port controller
CN107247677B (en) * 2017-05-24 2020-12-18 联想(北京)有限公司 Conversion device and electronic equipment
CN107395527A (en) * 2017-08-30 2017-11-24 济南浪潮高新科技投资发展有限公司 A kind of outband management system and method
CN107743076A (en) * 2017-11-03 2018-02-27 郑州云海信息技术有限公司 A kind of NCSI shares interface switching method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107094150A (en) * 2017-05-23 2017-08-25 郑州云海信息技术有限公司 A kind of NCSI protocol realizations structure and method

Also Published As

Publication number Publication date
CN108429741A (en) 2018-08-21

Similar Documents

Publication Publication Date Title
CN108449407B (en) Multi-source heterogeneous coal mine safety monitoring data acquisition method
CN108449312B (en) Protocol conversion method, device, system and gateway
CN109815107B (en) Method and device for automatic testing
CN108170538B (en) Information processing method and device and electronic equipment
CN105005471A (en) Method, device, server and system for modifying configuration parameters of BIOS
CN111638690B (en) Data acquisition method, device, system and equipment based on general information model
CN108429741B (en) Method and system for realizing NCSI protocol
CN106909327A (en) A kind of display control unit for industrial control equipment
CN116755844B (en) Data processing method, device and equipment of simulation engine and storage medium
CN105721451B (en) A kind of prolongable Modbus protocol analysis method and device
CN111786939A (en) Method, device and system for testing management platform of Internet of things
CN111736867A (en) FPGA updating device, method and storage medium
CN105245553A (en) SOA system and service processing method
CN108989157B (en) Method and device for controlling intelligent equipment
CN107633026B (en) data synchronization exception handling method and device and server
CN111752916B (en) Data acquisition method and device, computer readable storage medium and electronic equipment
CN113590243A (en) Energy enterprise project creation method and device, computer equipment and medium
CN113010381A (en) Method and equipment for managing components
CN110890991B (en) Intelligent home gateway configuration information rapid migration method and device
US20160292245A1 (en) Method and Device for Implementing Matching Between Acquisition System and Analysis System
CN109788034B (en) Configuration method for gateway access equipment, electronic equipment and storage medium
CN108289165B (en) Method and device for realizing camera control based on mobile phone and terminal equipment
CN115410580A (en) Voice recognition method, device, equipment and medium for command scheduling system
CN111147309B (en) Switch platform management method, device and storage medium based on MCU
CN113779018A (en) Data processing method and device

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
GR01 Patent grant
GR01 Patent grant