CN112087430A - System and method for accessing MCTP (multimedia broadcast multicast service) equipment through SMASH (simple multimedia application service) interface - Google Patents

System and method for accessing MCTP (multimedia broadcast multicast service) equipment through SMASH (simple multimedia application service) interface Download PDF

Info

Publication number
CN112087430A
CN112087430A CN202010807976.5A CN202010807976A CN112087430A CN 112087430 A CN112087430 A CN 112087430A CN 202010807976 A CN202010807976 A CN 202010807976A CN 112087430 A CN112087430 A CN 112087430A
Authority
CN
China
Prior art keywords
mctp
equipment
smash
command
module
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.)
Granted
Application number
CN202010807976.5A
Other languages
Chinese (zh)
Other versions
CN112087430B (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.)
Fiberhome Supermicro Information And Technology Co ltd
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Supermicro Information And Technology Co ltd
Fiberhome Telecommunication Technologies 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 Fiberhome Supermicro Information And Technology Co ltd, Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Supermicro Information And Technology Co ltd
Priority to CN202010807976.5A priority Critical patent/CN112087430B/en
Publication of CN112087430A publication Critical patent/CN112087430A/en
Application granted granted Critical
Publication of CN112087430B publication Critical patent/CN112087430B/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
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a system and a method for accessing MCTP equipment through an SMASH interface, relating to the technical field of server management. In the system, when a SMASH module logs in and connects with a user side, all MCTP equipment and MCTP commands supported by the MCTP equipment on a current server can be checked and fed back to the user side for display; the protocol conversion module can convert the user command received by the SMASH module into a MCTP command and transmit the MCTP command to the MCTP equipment; when the MCTP of the MCTP equipment is upgraded, a user side can set a self-defined MCTP command field, and the protocol conversion module can convert the MCTP command based on the self-defined MCTP command field and transparently transmit the MCTP command to the MCTP equipment for processing. The invention can enable the user to conveniently and directly access the MCTP device, and the MCTP capability can still be directly used after the MCTP device is upgraded without waiting for updating of BMC.

Description

System and method for accessing MCTP (multimedia broadcast multicast service) equipment through SMASH (simple multimedia application service) interface
Technical Field
The invention relates to the technical field of Server Management, in particular to a system and a method for accessing MCTP (Management Component Transport Protocol) equipment through an SMASH (System Management Architecture for Server Hardware System Management) interface.
Background
Servers, also known as servers, are devices that provide computing services. Devices or sensors on the server are managed by BMC (Baseboard Management Controller) or NM (Network Management)/ME (Management Engine) on the server. Typically BMCs will access managed devices via I2C or PCIe, which is standardized by some on-board protocols such as MCTP, PMBus, NCSI, etc. At the same time, the BMC provides interfaces for external access standardized by external protocols, such as SMASH, Redfish, IPMI, etc. These standards are generally defined by the international organization for standardization DMTF (Distributed Management Task Force).
Among them, the MCTP protocol standard is a core standard that is updated frequently in recent years in the art and solves a significant problem in server monitoring. NCSI support issues such as add-in network cards, asset information of devices, sensor monitoring issues, upgrade issues of smart devices, etc. These problems are well solved in the MCTP protocol.
The SMASH protocol standard is used to manage servers through command lines. However, the SMASH protocol standard does not define the method of using MCTP, and if an external user wants to enjoy the benefits of the MCTP protocol, it needs to wait for the BMC manufacturer to complete a lot of updates and adaptations to enjoy the benefits of the MCTP protocol. Meanwhile, since the MCTP protocol is still under continuous update, even if the BMC manufacturer provides the aforementioned update, it has to wait for the next update again to use some new functions of the MCTP device, which reduces the efficiency of using the MCTP device.
Therefore, how to provide a way for a user to conveniently use an MCTP device, especially new functions based on the upgrade of the MCTP device, without waiting for more updates of the BMC firmware, is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The present invention is directed to overcome the above-mentioned drawbacks of the prior art, and an object of the present invention is to provide a system and a method for accessing an MCTP device through a SMASH interface, which enable a user to conveniently and directly access the MCTP device, and after the MCTP device is upgraded, the MCTP capability of the MCTP device can still be directly used without waiting for a BMC update.
In order to achieve the above purpose, the present invention provides a system for accessing MCTP device through SMASH interface, which includes a client and a server, wherein a BMC and MCTP device are disposed in the server, and the BMC is provided with a SMASH module and a protocol conversion module;
the user side is used for: logging in and connecting to a SMASH module; sending a command issued by a user to an SMASH module; when the MCTP protocol of the MCTP equipment is upgraded, setting a self-defined MCTP protocol command field;
the SMASH module is configured to: when the user side logs in and connects, all MCTP equipment and MCTP commands supported by the MCTP equipment on the current server are checked and fed back to the user side for display;
the protocol conversion module is used for: converting the user command received by the SMASH module into a command of MCTP, and transmitting the command to MCTP equipment; when the MCTP protocol of the MCTP equipment is upgraded, the MCTP command is converted based on a user-defined MCTP protocol command field set by a user side and is transmitted to the MCTP equipment;
the MCTP device to: and processing according to the received MCTP command.
On the basis of the technical scheme, after the MCTP device processes the MCTP command, the MCTP device responds to the protocol conversion module; and after receiving the response of the MCTP equipment, the protocol conversion module feeds the response back to the user side for display through the SMASH module.
On the basis of the technical scheme, the user side logs in through an SMASH CLP protocol command and is connected to an SMASH module of the BMC.
On the basis of the technical scheme, when the MCTP protocol of the MCTP device is upgraded, the user side sets a self-defined MCTP protocol command field through a set method and starts sending the self-defined MCTP command through a start method.
On the basis of the above technical solution, the SMASH module checks all MCTP devices and MCTP commands supported by them on the current server, and feeds them back to the user side for display, which specifically includes the following operations:
the SMASH module defines a CIM class and realizes a CIM _ MCTP update object, so that the object can view all MCTP equipment and MCTP commands supported by the MCTP equipment on the current server by a Show method of an SMASH protocol;
when a user side logs in and connects, the SMASH module calls a Show method and discovers all MCTP equipment on a current server through a discovery method of MCTP; for all the MCTP devices which are found, calling the Show method again to view the MCTP commands supported by the MCTP devices;
and feeding back all MCTP equipment and MCTP commands supported by the MCTP equipment on the current server to the user side for display.
The invention also provides a method for accessing MCTP equipment through the SMASH interface, which comprises the following steps:
s1, when the user end logs in and connects to the SMASH module, the SMASH module checks all MCTP equipment and MCTP commands supported by the MCTP equipment on the current server and feeds back the MCTP equipment to the user end for display;
s2, when the user end sends command to SMASH module to access MCTP device, the protocol conversion module converts the user command received by SMASH module into MCTP command and transmits it to MCTP device for processing;
s3, when the MCTP protocol of the MCTP equipment is upgraded, the user side sets a self-defined MCTP protocol command field; and the protocol conversion module of the BMC converts the MCTP command based on the self-defined MCTP protocol command field set by the user side and transmits the MCTP command to MCTP equipment for processing.
On the basis of the above technical solution, after the steps S2 and S3, the following operations are included: after processing the MCTP command, the MCTP equipment responds to the protocol conversion module; and after receiving the response of the MCTP equipment, the protocol conversion module feeds the response of the command back to the user side through the SMASH module for display.
Based on the above technical solution, in step S1, the user side logs in and connects to the SMASH module of the BMC through the SMASH CLP protocol command.
On the basis of the above technical solution, the step S3 specifically includes the following operations:
s31, when the MCTP protocol of the MCTP equipment is upgraded, the user side sets a self-defined MCTP protocol command field through a set method and sends the self-defined MCTP protocol command field to the protocol conversion module through the SMASH module; after receiving a user-defined MCTP command field set by a user side, the protocol conversion module responds to the user side through an SMASH module;
s32, the user end starts sending the self-defined MCTP command by a start method, and sends the command to the protocol conversion module by the SMASH module; and the protocol conversion module performs conversion of the MCTP command based on the user-defined MCTP protocol command field set by the user side and transmits the MCTP command to the MCTP equipment for processing.
On the basis of the above technical solution, the step S1 specifically includes the following operations:
s11, the SMASH module defines a CIM class and realizes a CIM _ MCTP update object, so that the object can view all MCTP equipment and MCTP commands supported by the MCTP equipment on the current server by a Show method of the SMASH protocol;
s12, when the user side logs in and connects, the SMASH module calls the Show method, and discovers all MCTP equipment on the current server through the discovery method of MCTP; for all the discovered MCTP equipment, calling the Show method again to view the MCTP commands supported by the MCTP equipment;
and S13, the SMASH module feeds back all MCTP equipment and MCTP commands supported by the MCTP equipment on the current server to the user side for display.
The invention has the beneficial effects that:
(1) in the invention, the BMC can transparently transmit the MCTP command to the MCTP equipment through the SMASH interface, so that a user can conveniently and directly access the MCTP equipment, thereby improving the efficiency of on-line MCTP relevant characteristics when the equipment is managed based on the SMASH interface. Moreover, the invention provides a design of command assembly, so that after the MCTP capability of the MCTP device is changed, an end user can still directly use the MCTP capability without updating by BMC, and the efficiency of using the MCTP device is effectively improved.
(2) In the invention, the MCTP equipment is accessed through the SMASH interface, the MCTP equipment has the capability of operating the MCTP equipment by a command line, is simple to operate and strong in flexibility, and meets the actual use requirement.
Drawings
Fig. 1 is a block diagram of a system for accessing MCTP devices via a SMASH interface in an embodiment of the present invention;
FIG. 2 is a diagram illustrating a hierarchical relationship between the SMASH protocol and the MCTP protocol according to an embodiment of the present invention;
FIG. 3 is a flow chart of a method for accessing MCTP equipment through a SMASH interface according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating an MCTP protocol conversion process according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a processing flow when an MCTP protocol is upgraded according to an embodiment of the present invention.
Detailed Description
The MCTP equipment updating method and device aims to solve the problem that in the prior art, a user outside a server cannot conveniently use the MCTP equipment, and particularly when the MCTP equipment updates some new functions, a BMC manufacturer needs to wait for a long time to complete a large amount of updating and adapting work, so that the efficiency of using the MCTP equipment is reduced. The invention aims to provide a system and a method for accessing MCTP equipment through an SMASH interface, which can conveniently provide the capability of directly accessing the MCTP equipment for an end user, and the MCTP equipment can still be directly used after being upgraded without waiting for updating of BMC, thereby effectively improving the efficiency of using the MCTP equipment.
In order to achieve the purpose, the main design idea of the invention is as follows: and a SMASH module and a protocol conversion module are arranged in the BMC of the server. All MCTP equipment and MCTP commands supported by the MCTP equipment on the current server can be checked through the SMASH module and fed back to the user side for display; the user command received by the SMASH module can be converted into the MCTP command through the protocol conversion module, and is transmitted to the MCTP equipment for processing. By adopting the mode, the BMC can transparently transmit the MCTP command to the MCTP equipment, so that the efficiency of the online MCTP relevant characteristics is improved when the equipment is managed based on the SMASH interface. In addition, when the MCTP of the MCTP equipment is upgraded, the user side can set a self-defined MCTP protocol command field, and the protocol conversion module of the BMC can convert the MCTP command based on the self-defined MCTP protocol command field and transparently transmit the MCTP command to the MCTP equipment, so that the end user can still directly use the MCTP capability of the MCTP equipment after the MCTP capability of the MCTP equipment is changed, the BMC is not required to update, and the efficiency of using the MCTP equipment is effectively improved.
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
However, it should be noted that: the examples to be described next are only some specific examples, and are not intended to limit the embodiments of the present invention necessarily to the following specific steps, values, conditions, data, orders, and the like. Those skilled in the art can, upon reading this specification, utilize the concepts of the present invention to construct more embodiments than those specifically described herein.
Example one
Referring to fig. 1, the embodiment provides a system for accessing an MCTP device through an SMASH interface, which includes a user side and a server, where a BMC and the MCTP device are disposed in the server. Wherein, the BMC is provided with a SMASH module and a protocol conversion module.
A user side for: SMASH module logging in and connecting to BMC; sending a command issued by a user to an SMASH module of the BMC; when the MCTP protocol of the MCTP equipment is upgraded, a self-defined MCTP protocol command field is set. It can be understood that, in practical applications, the user side includes but is not limited to: mobile phones, tablet computers, and the like.
A SMASH module to: and when the user side logs in and connects, checking all MCTP equipment and MCTP commands supported by the MCTP equipment on the current server, and feeding back to the user side for display.
A protocol conversion module to: converting the user command received by the SMASH module into a command of MCTP, and transmitting the command to MCTP equipment; when the MCTP protocol of the MCTP equipment is upgraded, the MCTP command is converted based on the self-defined MCTP protocol command field set by the user side and is transmitted to the MCTP equipment.
An MCTP device to: and processing according to the received MCTP command.
In practical application, after the MCTP device processes the MCTP command, the MCTP device responds to a protocol conversion module of the BMC; after receiving the response of the MCTP device, the protocol conversion module returns the response of the command to the SMASH module, and the SMASH module feeds the response back to the user side for display. And finally, the user side receives the response of the MCTP equipment through layer-by-layer reporting.
Further, as an optional implementation manner, in this embodiment, the user side may log in through a SMASH CLP protocol command and connect to a SMASH module of the BMC; and when the MCTP protocol of the MCTP device is upgraded, the user side can set a customized MCTP protocol command field through a set method and start the transmission of the customized MCTP command through a start method. When the start method is called, the protocol conversion module of the BMC converts the MCTP command based on the user-defined MCTP protocol command field set by the user side and transmits the MCTP command to the MCTP device.
It can be understood that, in this embodiment, the hierarchical relationship between the SMASH protocol and the MCTP protocol is as shown in fig. 2, and the user side logs in through the SMASH CLP protocol command and is connected to the SMASH module of the BMC; the SMASH module of the BMC converts the user command received by the SMASH module into an MCTP command through a protocol conversion module; after the MCTP command is issued, the PCIe or SMBus interface is used for transmitting the MCTP command to an MCTP protocol layer of the MCTP device for processing. As can be seen from the content of fig. 2, since the BMC of this embodiment can transmit MCTP commands to the MCTP device, the efficiency of online MCTP-related features when managing the device based on the SMASH interface is improved. Meanwhile, the embodiment provides a command assembly method, that is, when the MCTP protocol of the MCTP device is upgraded, the user side can set a customized MCTP protocol command field by using a set method, and the protocol conversion module of the BMC can convert the MCTP command based on the customized MCTP protocol command field and transparently transmit the MCTP command to the MCTP device, so that after the MCTP capability of the MCTP device is changed, the end user can still directly use the MCTP capability of the MCTP device without updating by using the BMC, and the efficiency of using the MCTP device is effectively improved.
Example two
The basic structure of a system for accessing MCTP devices through a SMASH interface provided in this embodiment is the same as that in the first embodiment, except that, as a preferred implementation, the SMASH module checks all MCTP devices and MCTP commands supported by them currently on a server, and feeds them back to a user side for display, which specifically includes the following operations:
the SMASH module defines a CIM class and realizes a CIM _ MCTP update object, so that the object can view all MCTP equipment and MCTP commands supported by the MCTP equipment on the current server by a standard Show method of an SMASH protocol;
when a user side logs in and connects, the SMASH module calls a Show method and discovers all MCTP equipment on a current server through a discovery method of MCTP; for all the discovered MCTP equipment, the SMASH module calls a Show method to check MCTP commands supported by the MCTP equipment;
and finally, the SMASH module feeds back all MCTP equipment and MCTP commands supported by the MCTP equipment on the current server to the user side for display.
EXAMPLE III
Referring to fig. 3, based on the same inventive concept, an embodiment of the present invention further provides a method for accessing an MCTP device through an SMASH interface based on the above system, where the method specifically includes the following steps:
and S1, when the user terminal logs in and is connected to the SMASH module of the BMC, the SMASH module checks all MCTP equipment and MCTP commands supported by the MCTP equipment on the current server and feeds the MCTP commands back to the user terminal for display.
S2, as shown in fig. 4, when the user side issues a command to the SMASH module to access a MCTP device, the protocol conversion module of the BMC converts the user command received by the SMASH module into a command of the MCTP, and transparently transmits the command to the MCTP device for processing; the MCTP device responds to the BMC protocol conversion module after processing the MCTP command, the protocol conversion module returns the response of the command to the SMASH module after receiving the MCTP device response, and the SMASH module feeds the response back to the user side for display.
S3, when the MCTP protocol of the MCTP equipment is upgraded, the user side sets a self-defined MCTP protocol command field; the protocol conversion module of the BMC converts the MCTP command based on a user-defined MCTP protocol command field set by the user side and transmits the MCTP command to MCTP equipment for processing; the MCTP device responds to the BMC protocol conversion module after processing the MCTP command, the protocol conversion module returns the response of the command to the SMASH module after receiving the MCTP device response, and the SMASH module feeds the response back to the user side for display.
Further, as an optional implementation manner, referring to fig. 5, in this embodiment, step S3 specifically includes the following operations:
s31, when the MCTP protocol of the MCTP equipment is upgraded, the user side sets a self-defined MCTP protocol command field through a set method and sends the self-defined MCTP protocol command field to the protocol conversion module through the SMASH module; after receiving the user-defined MCTP protocol command field set by the user side, the protocol conversion module responds to the user side through the SMASH module, and the setting of the user-defined MCTP protocol command field is completed;
s32, the user end starts sending the self-defined MCTP command by a start method, and sends the command to the protocol conversion module by the SMASH module; the protocol conversion module carries out conversion of the MCTP command based on a user-defined MCTP protocol command field set by a user side and transmits the MCTP command to MCTP equipment for processing; the MCTP device responds to the BMC protocol conversion module after processing the MCTP command, the protocol conversion module returns the response of the command to the SMASH module after receiving the MCTP device response, and the SMASH module feeds the response back to the user side for display.
Example four
The basic steps of the method for accessing an MCTP device through an SMASH interface provided by this embodiment are the same as those in the embodiment, except that, as a preferred implementation, step S1 of the method specifically includes the following operations:
s11, the SMASH module defines a CIM class and realizes a CIM _ MCTP update object, so that the object can view all MCTP equipment and MCTP commands supported by the MCTP equipment on the current server by a standard Show method of the SMASH protocol;
s12, when the user side logs in and connects, the SMASH module calls the Show method, and discovers all MCTP equipment on the current server through the discovery method of MCTP; for all the discovered MCTP equipment, the SMASH module calls a Show method to check MCTP commands supported by the MCTP equipment;
and S13, the SMASH module feeds back all MCTP equipment and MCTP commands supported by the MCTP equipment on the current server to the user side for display.
Note that: the above-described embodiments are merely examples and are not intended to be limiting, and those skilled in the art can combine and combine some steps and devices from the above-described separately embodiments to achieve the effects of the present invention according to the concept of the present invention, and such combined and combined embodiments are also included in the present invention, and such combined and combined embodiments are not described herein separately.
Advantages, effects, and the like, which are mentioned in the embodiments of the present invention, are only examples and are not limiting, and they cannot be considered as necessarily possessed by the various embodiments of the present invention. Furthermore, the foregoing specific details disclosed herein are merely for purposes of example and for purposes of clarity of understanding, and are not intended to limit the embodiments of the invention to the particular details which may be employed to practice the embodiments of the invention.
The block diagrams of devices, apparatuses, systems involved in the embodiments of the present invention are only given as illustrative examples, and are not intended to require or imply that the connections, arrangements, configurations, etc. must be made in the manner shown in the block diagrams. These devices, apparatuses, devices, systems may be connected, arranged, configured in any manner, as will be appreciated by those skilled in the art. Words such as "including," "comprising," "having," and the like are open-ended words that mean "including, but not limited to," and are used interchangeably therewith. As used in connection with embodiments of the present invention, the terms "or" and "refer to the term" and/or "and are used interchangeably herein unless the context clearly dictates otherwise. The word "such as" is used in connection with embodiments of the present invention to mean, and is used interchangeably with, the word "such as but not limited to".
The flow charts of steps in the embodiments of the present invention and the above description of the methods are merely illustrative examples and are not intended to require or imply that the steps of the various embodiments must be performed in the order presented. As will be appreciated by those skilled in the art, the order of the steps in the above embodiments may be performed in any order. Words such as "thereafter," "then," "next," etc. are not intended to limit the order of the steps; these words are only used to guide the reader through the description of these methods. Furthermore, any reference to an element in the singular, for example, using the articles "a," "an," or "the" is not to be construed as limiting the element to the singular.
In addition, the steps and devices in the embodiments of the present invention are not limited to be implemented in a certain embodiment, and in fact, some steps and devices in the embodiments of the present invention may be combined according to the concept of the present invention to conceive new embodiments, and these new embodiments are also included in the scope of the present invention.
The respective operations in the embodiments of the present invention may be performed by any appropriate means capable of performing the corresponding functions. The means may comprise various hardware and/or software components and/or modules including, but not limited to, hardware circuitry or a processor.
The method of an embodiment of the invention includes one or more acts for implementing the method described above. The methods and/or acts may be interchanged with one another without departing from the scope of the claims. In other words, unless a specific order of actions is specified, the order and/or use of specific actions may be modified without departing from the scope of the claims.
The functions in the embodiments of the present invention may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored as one or more instructions on a tangible computer-readable medium. A storage media may be any available tangible media that can be accessed by a computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other tangible medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. As used herein, disk (disk) and Disc (Disc) include Compact Disc (CD), laser Disc, optical Disc, DVD (Digital Versatile Disc), floppy disk and blu-ray Disc where disks reproduce data magnetically, while discs reproduce data optically with lasers.
Accordingly, a computer program product may perform the operations presented herein. For example, such a computer program product may be a computer-readable tangible medium having instructions stored (and/or encoded) thereon that are executable by one or more processors to perform the operations described herein. The computer program product may include packaged material.
Other examples and implementations are within the scope and spirit of the embodiments of the invention and the following claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hard-wired, or any combination of these. Features implementing functions may also be physically located at various locations, including being distributed such that portions of functions are implemented at different physical locations.
Various changes, substitutions and alterations to the techniques described herein may be made by those skilled in the art without departing from the techniques of the teachings as defined by the appended claims. Moreover, the scope of the claims of the present disclosure is not limited to the particular aspects of the process, machine, manufacture, composition of matter, means, methods and acts described above. Processes, machines, manufacture, compositions of matter, means, methods, or acts, presently existing or later to be developed that perform substantially the same function or achieve substantially the same result as the corresponding aspects described herein may be utilized. Accordingly, the appended claims are intended to include within their scope such processes, machines, manufacture, compositions of matter, means, methods, or acts.
The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the invention. Thus, the present invention is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, the description is not intended to limit embodiments of the invention to the form disclosed herein. While a number of example aspects and embodiments have been discussed above, those of skill in the art will recognize certain variations, modifications, alterations, additions and sub-combinations thereof. And those not described in detail in this specification are within the skill of the art.

Claims (10)

1. A system for accessing MCTP equipment through an SMASH interface comprises a user side and a server, wherein a BMC and the MCTP equipment are arranged in the server, and the system is characterized in that: the BMC is provided with a SMASH module and a protocol conversion module;
the user side is used for: logging in and connecting to a SMASH module; sending a command issued by a user to an SMASH module; when the MCTP protocol of the MCTP equipment is upgraded, setting a self-defined MCTP protocol command field;
the SMASH module is configured to: when the user side logs in and connects, all MCTP equipment and MCTP commands supported by the MCTP equipment on the current server are checked and fed back to the user side for display;
the protocol conversion module is used for: converting the user command received by the SMASH module into a command of MCTP, and transmitting the command to MCTP equipment; when the MCTP protocol of the MCTP equipment is upgraded, the MCTP command is converted based on a user-defined MCTP protocol command field set by a user side and is transmitted to the MCTP equipment;
the MCTP device to: and processing according to the received MCTP command.
2. The system for accessing MCTP devices over an SMASH interface of claim 1, wherein: the MCTP equipment responds to the protocol conversion module after processing the MCTP command; and after receiving the response of the MCTP equipment, the protocol conversion module feeds the response back to the user side for display through the SMASH module.
3. The system for accessing MCTP devices over an SMASH interface of claim 1, wherein: and the user side logs in and is connected to the SMASH module of the BMC through the command of the SMASH CLP protocol.
4. The system for accessing MCTP devices over an SMASH interface of claim 1, wherein: when the MCTP protocol of the MCTP device is upgraded, the user side sets a self-defined MCTP protocol command field through a set method and starts sending the self-defined MCTP command through a start method.
5. The system of claim 1, wherein the SMASH module views all MCTP devices and their supported MCTP commands currently on the server and feeds them back to the user side for display, and comprises the following operations:
the SMASH module defines a CIM class and realizes a CIM _ MCTP update object, so that the object can view all MCTP equipment and MCTP commands supported by the MCTP equipment on the current server by a Show method of an SMASH protocol;
when a user side logs in and connects, the SMASH module calls a Show method and discovers all MCTP equipment on a current server through a discovery method of MCTP; for all the MCTP devices which are found, calling the Show method again to view the MCTP commands supported by the MCTP devices;
and feeding back all MCTP equipment and MCTP commands supported by the MCTP equipment on the current server to the user side for display.
6. A method for accessing MCTP devices via a SMASH interface based on the system of claim 1, characterized in that it comprises the following steps:
s1, when the user end logs in and connects to the SMASH module, the SMASH module checks all MCTP equipment and MCTP commands supported by the MCTP equipment on the current server and feeds back the MCTP equipment to the user end for display;
s2, when the user end sends command to SMASH module to access MCTP device, the protocol conversion module converts the user command received by SMASH module into MCTP command and transmits it to MCTP device for processing;
s3, when the MCTP protocol of the MCTP equipment is upgraded, the user side sets a self-defined MCTP protocol command field; and the protocol conversion module of the BMC converts the MCTP command based on the self-defined MCTP protocol command field set by the user side and transmits the MCTP command to MCTP equipment for processing.
7. The method for accessing MCTP devices via the SMASH interface of claim 6, wherein steps S2 and S3 are each followed by the operations of:
after processing the MCTP command, the MCTP equipment responds to the protocol conversion module; and after receiving the response of the MCTP equipment, the protocol conversion module feeds the response of the command back to the user side through the SMASH module for display.
8. The method for accessing an MCTP device over an SMASH interface of claim 6, wherein: in step S1, the user logs in and connects to the SMASH module of the BMC through the SMASH CLP protocol command.
9. The method for accessing an MCTP device over an SMASH interface as claimed in claim 6, wherein said step S3 specifically comprises the operations of:
s31, when the MCTP protocol of the MCTP equipment is upgraded, the user side sets a self-defined MCTP protocol command field through a set method and sends the self-defined MCTP protocol command field to the protocol conversion module through the SMASH module; after receiving a user-defined MCTP command field set by a user side, the protocol conversion module responds to the user side through an SMASH module;
s32, the user end starts sending the self-defined MCTP command by a start method, and sends the command to the protocol conversion module by the SMASH module; and the protocol conversion module performs conversion of the MCTP command based on the user-defined MCTP protocol command field set by the user side and transmits the MCTP command to the MCTP equipment for processing.
10. The method for accessing an MCTP device over an SMASH interface as claimed in claim 6, wherein said step S1 specifically comprises the operations of:
s11, the SMASH module defines a CIM class and realizes a CIM _ MCTP update object, so that the object can view all MCTP equipment and MCTP commands supported by the MCTP equipment on the current server by a Show method of the SMASH protocol;
s12, when the user side logs in and connects, the SMASH module calls the Show method, and discovers all MCTP equipment on the current server through the discovery method of MCTP; for all the discovered MCTP equipment, calling the Show method again to view the MCTP commands supported by the MCTP equipment;
and S13, the SMASH module feeds back all MCTP equipment and MCTP commands supported by the MCTP equipment on the current server to the user side for display.
CN202010807976.5A 2020-08-12 2020-08-12 System and method for accessing MCTP (multimedia broadcast multicast service) equipment through SMASH (simple multimedia application service) interface Active CN112087430B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010807976.5A CN112087430B (en) 2020-08-12 2020-08-12 System and method for accessing MCTP (multimedia broadcast multicast service) equipment through SMASH (simple multimedia application service) interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010807976.5A CN112087430B (en) 2020-08-12 2020-08-12 System and method for accessing MCTP (multimedia broadcast multicast service) equipment through SMASH (simple multimedia application service) interface

Publications (2)

Publication Number Publication Date
CN112087430A true CN112087430A (en) 2020-12-15
CN112087430B CN112087430B (en) 2022-08-16

Family

ID=73727839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010807976.5A Active CN112087430B (en) 2020-08-12 2020-08-12 System and method for accessing MCTP (multimedia broadcast multicast service) equipment through SMASH (simple multimedia application service) interface

Country Status (1)

Country Link
CN (1) CN112087430B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114691586A (en) * 2022-05-26 2022-07-01 阿里巴巴(中国)有限公司 Server, data transmission method and out-of-band management chip

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6549937B1 (en) * 1999-07-21 2003-04-15 Microsoft Corporation System and method for multi-protocol communication in a computer network
CN201887792U (en) * 2010-09-27 2011-06-29 北京泰豪智能工程有限公司 Multi-protocol conversion gateway
CN106059833A (en) * 2016-07-28 2016-10-26 武汉虹信技术服务有限责任公司 Multi-protocol adaptation method and system applied to intelligent building platform
CN110519288A (en) * 2019-09-02 2019-11-29 珠海格力电器股份有限公司 Communication protocol configuration method, device and the configuration system of data converter
CN111130891A (en) * 2019-12-26 2020-05-08 北京浪潮数据技术有限公司 Server management device and method, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6549937B1 (en) * 1999-07-21 2003-04-15 Microsoft Corporation System and method for multi-protocol communication in a computer network
CN201887792U (en) * 2010-09-27 2011-06-29 北京泰豪智能工程有限公司 Multi-protocol conversion gateway
CN106059833A (en) * 2016-07-28 2016-10-26 武汉虹信技术服务有限责任公司 Multi-protocol adaptation method and system applied to intelligent building platform
CN110519288A (en) * 2019-09-02 2019-11-29 珠海格力电器股份有限公司 Communication protocol configuration method, device and the configuration system of data converter
CN111130891A (en) * 2019-12-26 2020-05-08 北京浪潮数据技术有限公司 Server management device and method, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114691586A (en) * 2022-05-26 2022-07-01 阿里巴巴(中国)有限公司 Server, data transmission method and out-of-band management chip

Also Published As

Publication number Publication date
CN112087430B (en) 2022-08-16

Similar Documents

Publication Publication Date Title
US9680930B2 (en) Data communication system for a storage management system and communication method thereof
US20080222617A1 (en) Server side application integration framework
EP2779583B1 (en) Telecommunication method and system
US20070226232A1 (en) System and method for managing objects according to the common information model
CN102937940B (en) Bidi extension for connected devices
US20080033972A1 (en) Common Information Model for Web Service for Management with Aspect and Dynamic Patterns for Real-Time System Management
CN103414579A (en) Cross-platform monitoring system applicable to cloud computing and monitoring method thereof
US20150295994A1 (en) System and method for accessing disk image files using html5 kvm/vmedia client running in a web browser
CN111124603A (en) CD-ROM mounting method, device and related equipment
CN112087430B (en) System and method for accessing MCTP (multimedia broadcast multicast service) equipment through SMASH (simple multimedia application service) interface
US10824486B1 (en) Two-way clipboard exchange in virtual console
CN111526046A (en) Method, device, equipment and storage medium for setting BMC (baseboard management controller) time
CN112860327A (en) CPU port switching method, device, equipment and readable medium
KR100818962B1 (en) Method for managing remote mobile device
EP3896931B1 (en) Spark shuffle-based remote direct memory access system and method
CN105743709A (en) Management device, complete cabinet management system and management method
CN113065953A (en) Futures relay trading system based on distribution
US8688867B2 (en) System and methods for communicating between serial communications protocol enabled devices
CN114827268B (en) Remote debugging method and device
CN115827543A (en) Method, system, device and medium for realizing eSIP communication based on FPGA
CN101959089B (en) Method for managing network element data in centralized mode and network element equipment
CN114443229A (en) Mirror image file mounting method and device, electronic equipment and storage medium
CN113741912A (en) Model management system, method, device and equipment
CN111629395B (en) Multi-mode communication antenna unit, system and method
CN113064877B (en) Big data interaction method and system for multi-level management unit of server

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