[go: up one dir, main page]

CN115914340B - A BMC communication method, system, device and storage medium - Google Patents

A BMC communication method, system, device and storage medium Download PDF

Info

Publication number
CN115914340B
CN115914340B CN202211375169.6A CN202211375169A CN115914340B CN 115914340 B CN115914340 B CN 115914340B CN 202211375169 A CN202211375169 A CN 202211375169A CN 115914340 B CN115914340 B CN 115914340B
Authority
CN
China
Prior art keywords
socket
bmc
proxy
client
server
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
CN202211375169.6A
Other languages
Chinese (zh)
Other versions
CN115914340A (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.)
Shandong Yunhai Guochuang Cloud Computing Equipment Industry Innovation Center Co Ltd
Original Assignee
Shandong Yunhai Guochuang Cloud Computing Equipment Industry Innovation Center 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 Shandong Yunhai Guochuang Cloud Computing Equipment Industry Innovation Center Co Ltd filed Critical Shandong Yunhai Guochuang Cloud Computing Equipment Industry Innovation Center Co Ltd
Priority to CN202211375169.6A priority Critical patent/CN115914340B/en
Publication of CN115914340A publication Critical patent/CN115914340A/en
Application granted granted Critical
Publication of CN115914340B publication Critical patent/CN115914340B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention discloses a BMC communication method which comprises the following steps of creating a server side and a proxy client side in a host, creating a client side and a proxy server side in the BMC, connecting the server side and the proxy client side in the host through a socket, connecting the proxy client side in the host and the proxy server side in the BMC through a KCS interface, connecting the proxy server side and the client side in the BMC through the socket, and carrying out communication between the BMC and the host through the server side and the proxy client side in the host and the client side and the proxy server side in the BMC. The invention also discloses a system, computer equipment and a readable storage medium. The scheme provided by the invention abstracts a layer of UDS proxy, an application program developer does not need to consider how to call a complex KCS driver, and only needs to realize a simple UDS socket, so that inter-process communication can be carried out, the development efficiency is improved, and the exchange of messages, tools and logs between BMC and HOST is more convenient.

Description

BMC communication method, system, device and storage medium
Technical Field
The invention relates to the field of servers, in particular to a BMC communication method, a BMC communication system, BMC communication equipment and a storage medium.
Background
The existing server basically comprises two systems, namely an arm linux system of a BMC and an x86 linux system of an HOST, which belong to different systems, two processes respectively on the BMC and the HOST cannot realize UDS communication, because a precondition of UDS communication is that two processes are required to be on one system, most of the processes between the BMC and the HOST are communicated through SYSTEM INTERFACE at present, and the communication mode is that the KCS drive is called by means of KCS (system interface) to realize data transmission and reception, but the application program developer is inconvenient, and a method for communicating between the BMC and the HOST is not relatively universal and mature.
Disclosure of Invention
In view of this, in order to overcome at least one aspect of the above-mentioned problems, an embodiment of the present invention provides a BMC communication method, including the following steps:
creating a server side and a proxy client side in a host, and creating the client side and the proxy server side in a BMC;
establishing connection between a server side and an agent client side in the host through a socket;
Establishing connection between a proxy client in a host and a proxy server in the BMC through a KCS interface;
establishing connection between a proxy server side and a client side in the BMC through a socket;
And the BMC and the host are communicated through the server side and the proxy client side in the host and the client side and the proxy server side in the BMC.
In some embodiments, establishing a connection between a server and a proxy client in the host through a socket further comprises:
creating a socket by using the server and creating a file of the socket type under a preset folder;
And responding to the agent client side to monitor that the server side creates a file of a socket under a preset folder, creating the socket and connecting the server side by using the file of the socket type.
In some embodiments, establishing a connection between a proxy client in a host and a proxy server in the BMC through a KCS interface further comprises:
the proxy client calls a KCS interface to send an instruction to the BMC, wherein the instruction carries the file name and the path of a file of a socket type to be created;
the proxy server creates a socket and creates a socket type file based on the received file name and path.
In some embodiments, establishing a connection between the proxy server and the client in the BMC through a socket, further includes:
and creating a socket at the client and realizing the connection between the proxy server and the client through the socket type file in the proxy server.
Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides a BMC communication system, including:
The system comprises a creation module, a server and a proxy client, wherein the creation module is configured to create the server and the proxy client in a host and create the client and the proxy server in a BMC;
The first connection module is configured to establish connection between a server side and an agent client side in the host through a socket;
the second connection module is configured to establish connection between the proxy client in the host and the proxy server in the BMC through the KCS interface;
The third connection module is configured to establish connection between the proxy server side and the client side in the BMC through a socket;
and the communication module is configured to communicate the BMC with the host through the server side and the proxy client side in the host and the client side and the proxy server side in the BMC.
In some embodiments, the first connection module is further configured to:
creating a socket by using the server and creating a file of the socket type under a preset folder;
And responding to the agent client side to monitor that the server side creates a file of a socket under a preset folder, creating the socket and connecting the server side by using the file of the socket type.
In some embodiments, the second connection module is further configured to:
the proxy client calls a KCS interface to send an instruction to the BMC, wherein the instruction carries the file name and the path of a file of a socket type to be created;
the proxy server creates a socket and creates a socket type file based on the received file name and path.
In some embodiments, the third connection module is further configured to:
and creating a socket at the client and realizing the connection between the proxy server and the client through the socket type file in the proxy server.
Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides a computer apparatus, including:
At least one processor, and
A memory storing a computer program executable on the processor, wherein the processor executes the program to perform the steps of:
creating a server side and a proxy client side in a host, and creating the client side and the proxy server side in a BMC;
establishing connection between a server side and an agent client side in the host through a socket;
Establishing connection between a proxy client in a host and a proxy server in the BMC through a KCS interface;
establishing connection between a proxy server side and a client side in the BMC through a socket;
And the BMC and the host are communicated through the server side and the proxy client side in the host and the client side and the proxy server side in the BMC.
In some embodiments, establishing a connection between a server and a proxy client in the host through a socket further comprises:
creating a socket by using the server and creating a file of the socket type under a preset folder;
And responding to the agent client side to monitor that the server side creates a file of a socket under a preset folder, creating the socket and connecting the server side by using the file of the socket type.
In some embodiments, establishing a connection between a proxy client in a host and a proxy server in the BMC through a KCS interface further comprises:
the proxy client calls a KCS interface to send an instruction to the BMC, wherein the instruction carries the file name and the path of a file of a socket type to be created;
the proxy server creates a socket and creates a socket type file based on the received file name and path.
In some embodiments, establishing a connection between the proxy server and the client in the BMC through a socket, further includes:
and creating a socket at the client and realizing the connection between the proxy server and the client through the socket type file in the proxy server.
Based on the same inventive concept, according to another aspect of the present invention, there is also provided a computer-readable storage medium storing a computer program which, when executed by a processor, performs the steps of:
creating a server side and a proxy client side in a host, and creating the client side and the proxy server side in a BMC;
establishing connection between a server side and an agent client side in the host through a socket;
Establishing connection between a proxy client in a host and a proxy server in the BMC through a KCS interface;
establishing connection between a proxy server side and a client side in the BMC through a socket;
And the BMC and the host are communicated through the server side and the proxy client side in the host and the client side and the proxy server side in the BMC.
In some embodiments, establishing a connection between a server and a proxy client in the host through a socket further comprises:
creating a socket by using the server and creating a file of the socket type under a preset folder;
And responding to the agent client side to monitor that the server side creates a file of a socket under a preset folder, creating the socket and connecting the server side by using the file of the socket type.
In some embodiments, establishing a connection between a proxy client in a host and a proxy server in the BMC through a KCS interface further comprises:
the proxy client calls a KCS interface to send an instruction to the BMC, wherein the instruction carries the file name and the path of a file of a socket type to be created;
the proxy server creates a socket and creates a socket type file based on the received file name and path.
In some embodiments, establishing a connection between the proxy server and the client in the BMC through a socket, further includes:
and creating a socket at the client and realizing the connection between the proxy server and the client through the socket type file in the proxy server.
The invention has the advantages that the scheme provided by the invention realizes a new method for performing process communication between the BMC and the HOST by using the UDS socket through the KCS, abstracts a layer of UDS proxy from the perspective of an application program developer, and the application program developer can perform inter-process communication only by realizing a simple UDS socket without considering how a complex KCS drive is called, thereby improving the development efficiency, and further facilitating the exchange of messages, tools and logs between the BMC and the HOST.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are necessary for the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention and that other embodiments may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a BMC communication method according to an embodiment of the present invention;
FIG. 2 is a schematic block diagram of a BMC communication method according to an embodiment of the present invention;
FIG. 3 is a server side startup flowchart provided by an embodiment of the present invention;
FIG. 4 is a flow chart of a proxy client post-startup provided by an embodiment of the present invention;
FIG. 5 is a proxy server post-startup flow provided by an embodiment of the present invention;
FIG. 6 is a client side startup flowchart provided by an embodiment of the present invention;
Fig. 7 is a schematic structural diagram of a BMC communication system according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of a computer device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention will be described in further detail with reference to the accompanying drawings.
It should be noted that, in the embodiments of the present invention, all the expressions "first" and "second" are used to distinguish two entities with the same name but different entities or different parameters, and it is noted that the "first" and "second" are only used for convenience of expression, and should not be construed as limiting the embodiments of the present invention, and the following embodiments are not described one by one.
In the embodiment of the invention, UDS is unix domain socket, a socket mode of process communication under linux;
KCS Keyboard Controller Style, a bus protocol implemented by LPC (low pin count)
According to an aspect of the present invention, an embodiment of the present invention proposes a BMC communication method, as shown in fig. 1, which may include the steps of:
s1, a server side and a proxy client side are created in a host, and the client side and the proxy server side are created in a BMC;
s2, establishing connection between the server side and the proxy client side in the host through a socket;
S3, establishing connection between a proxy client in a host and a proxy server in the BMC through a KCS interface;
s4, establishing connection between the proxy server side and the client side in the BMC through a socket;
s5, the communication between the BMC and the host is carried out through the server side and the proxy client side in the host and the client side and the proxy server side in the BMC.
The scheme provided by the invention provides a method for simulating UDS process communication between the BMC and the HOST heterogeneous system, and through using a KCS interface between the BMC and the HOST, universal and mature inter-process UDS communication is realized between the BMC and the HOST heterogeneous system, a message forwarding layer is abstracted, and the UDS is universal and mature for application program developers.
The method has the advantages that an application program developer does not need to consider how to use the bottom KCS driver, only needs to develop the APP of the upper UDS communication, reduces the difficulty of program development among processes, and has a lightweight communication framework in the abstract layer.
The abstract layer-message forwarding layer is provided, in order to encapsulate and shield the interaction of the bottom layer, a proxy server is newly built as a proxy process of the BMC client, a proxy client is newly built as a proxy process of the HOST server, the proxy process carries out the message interaction through a KCS interface, and the proxy process is reflected to the upper layer to carry out UDS communication with the client.
The message forwarding layer mainly performs data forwarding by means of a KCS interface protocol, wherein HOST side send_data_to_bmc () and recv_data_to_bmc () functions encapsulate KCS drivers and can receive data from and send data to the BMC, BMC side send_data_to_host () and recv_data_to_host () functions encapsulate KCS drivers and can receive data from the BMC and send data to the HOST, and the method is particularly related to a kernel driver implementation.
In some embodiments, as shown in fig. 2, to implement a schematic diagram of UDS communication between a BMC and an HOST heterogeneous system, a key technical point is a message forwarding layer abstracted in fig. 2, and an abstract layer is implemented using a KCS system interface between the BMC and the HOST.
In some embodiments, establishing a connection between a server and a proxy client in the host through a socket further comprises:
creating a socket by using the server and creating a file of the socket type under a preset folder;
And responding to the agent client side to monitor that the server side creates a file of a socket under a preset folder, creating the socket and connecting the server side by using the file of the socket type.
Specifically, generally, a process of UDS communication is used, and a server end is started first to wait for client connection. As shown in fig. 3, the startup procedure at HOST side server is:
Transferring the parameter/tmp/uds _conn/xx.sock to the server and starting the server;
creating a socket with the field of AF_UNIX;
Assigning an entry xx.sock path to a member sun path in a sockaddr_un structure, namely creating a socket type file xx.sock under a/tmp/uds _conn/folder, wherein the/tmp/uds _conn/folder is monitored by a proxy;
bind function binding socket;
and circularly monitoring messages sent by the agent clients.
In some embodiments, establishing a connection between a proxy client in a host and a proxy server in the BMC through a KCS interface further comprises:
the proxy client calls a KCS interface to send an instruction to the BMC, wherein the instruction carries the file name and the path of a file of a socket type to be created;
the proxy server creates a socket and creates a socket type file based on the received file name and path.
Specifically, as shown in fig. 4, after the proxy client is started, the proxy client monitors/tmp/uds _conn folder, once a socket type file is created in the folder, a socket with a field of af_unix is created immediately, then the server of the HOST is connected through the file, and then a KCS sending interface is called to send an instruction to the proxy server of the BMC, and data returned by the BMC is received.
In some embodiments, establishing a connection between the proxy server and the client in the BMC through a socket, further includes:
and creating a socket at the client and realizing the connection between the proxy server and the client through the socket type file in the proxy server.
Specifically, as shown in fig. 5, after the proxy server starts, the proxy server waits for a UDS establishment instruction sent by the proxy client, where the instruction includes a socket file name to be created, and after a UDS server is successfully established, the proxy server returns 0x55 to the HOST side and waits for the BMC side client to connect. Similarly, as shown in FIG. 6, after the client on the BMC side starts, a UDS connection is established with the proxy.
The scheme provided by the invention realizes a new method for performing process communication between the BMC and the HOST by using the UDS socket through the KCS, abstracts a layer of UDS proxy from the perspective of an application program developer, and the application program developer can perform inter-process communication by only realizing a simple UDS socket without considering how a complex KCS driver is called, thereby improving the development efficiency and more conveniently exchanging messages, tools and logs between the BMC and the HOST.
Based on the same inventive concept, according to another aspect of the present invention, there is also provided a BMC communication system 400, as shown in fig. 6, including:
A creating module 401 configured to create a server and a proxy client in a host and create a client and a proxy server in a BMC;
A first connection module 402 configured to establish a connection between a server and a proxy client in the host through a socket;
a second connection module 403 configured to establish a connection between a proxy client in a host and a proxy server in the BMC through a KCS interface;
a third connection module 404, configured to establish a connection between the proxy server and the client in the BMC through a socket;
and the communication module 405 is configured to perform communication between the BMC and the host through the server side and the proxy client side in the host and the client side and the proxy server side in the BMC.
In some embodiments, the first connection module 402 is further configured to:
creating a socket by using the server and creating a file of the socket type under a preset folder;
And responding to the agent client side to monitor that the server side creates a file of a socket under a preset folder, creating the socket and connecting the server side by using the file of the socket type.
In some embodiments, the second connection module 403 is further configured to:
the proxy client calls a KCS interface to send an instruction to the BMC, wherein the instruction carries the file name and the path of a file of a socket type to be created;
the proxy server creates a socket and creates a socket type file based on the received file name and path.
In some embodiments, the third connection module 404 is further configured to:
and creating a socket at the client and realizing the connection between the proxy server and the client through the socket type file in the proxy server.
The scheme provided by the invention realizes a new method for performing process communication between the BMC and the HOST by using the UDS socket through the KCS, abstracts a layer of UDS proxy from the perspective of an application program developer, and the application program developer can perform inter-process communication by only realizing a simple UDS socket without considering how a complex KCS driver is called, thereby improving the development efficiency and more conveniently exchanging messages, tools and logs between the BMC and the HOST.
Based on the same inventive concept, according to another aspect of the present invention, as shown in fig. 7, an embodiment of the present invention further provides a computer apparatus 501, including:
At least one processor 520, and
The memory 510, the memory 510 stores a computer program 511 executable on a processor, and the processor 520 executes steps of any of the BMC communication methods described above when executing the program.
According to another aspect of the present invention, as shown in fig. 8, based on the same inventive concept, an embodiment of the present invention further provides a computer-readable storage medium 601, where the computer-readable storage medium 601 stores a computer program 610, and the computer program 610 performs steps of any of the BMC communication methods described above when executed by a processor.
Finally, it should be noted that, as will be appreciated by those skilled in the art, all or part of the procedures in implementing the methods of the embodiments described above may be implemented by a computer program for instructing relevant hardware, and the program may be stored in a computer readable storage medium, and the program may include the procedures of the embodiments of the methods described above when executed.
Further, it should be appreciated that the computer-readable storage medium (e.g., memory) herein can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that as used herein, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The foregoing embodiment of the present invention has been disclosed with reference to the number of embodiments for the purpose of description only, and does not represent the advantages or disadvantages of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, and the program may be stored in a computer readable storage medium, where the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
It will be appreciated by persons skilled in the art that the foregoing discussion of any embodiment is merely exemplary and is not intended to imply that the scope of the disclosure of embodiments of the invention, including the claims, is limited to such examples, that technical features of the above embodiments or different embodiments may be combined and that many other variations of the different aspects of the embodiments of the invention as described above exist within the spirit of the embodiments of the invention, which are not provided in detail for clarity. Therefore, any omission, modification, equivalent replacement, improvement, etc. of the embodiments should be included in the protection scope of the embodiments of the present invention.

Claims (6)

1.一种BMC通信方法,其特征在于,包括以下步骤:1. A BMC communication method, comprising the following steps: 在主机中创建服务端和代理客户端以及在BMC中创建客户端和代理服务端;Create a server and proxy client in the host and create a client and proxy server in the BMC; 将所述主机中的服务端和代理客户端通过套接字建立连接;Establishing a connection between the server and the proxy client in the host through a socket; 通过KCS接口将主机中的代理客户端与所述BMC中的代理服务端建立连接;Establishing a connection between the proxy client in the host and the proxy server in the BMC through the KCS interface; 将所述BMC中的代理服务端和客户端通过套接字建立连接;Establishing a connection between the proxy server and the client in the BMC via a socket; 通过所述主机中的服务端和代理客户端以及BMC中的客户端和代理服务端进行BMC和主机的通信;The BMC and the host communicate via the server and the proxy client in the host and the client and the proxy server in the BMC; 将所述主机中的服务端和代理客户端通过套接字建立连接,进一步包括:Establishing a connection between the server and the proxy client in the host through a socket further includes: 利用所述服务端创建套接字并在预设文件夹下创建套接字类型的文件;Using the server to create a socket and create a socket-type file in a preset folder; 响应于所述代理客户端监测到所述服务端在预设文件夹下创建了套接字的文件,创建套接字并利用所述套接字类型的文件连接所述服务端;In response to the proxy client detecting that the server has created a socket file in a preset folder, creating a socket and connecting to the server using the socket-type file; 通过KCS接口将主机中的代理客户端与所述BMC中的代理服务端建立连接,进一步包括:Establishing a connection between the proxy client in the host and the proxy server in the BMC through the KCS interface further includes: 所述代理客户端调用KCS接口向所述BMC发送指令,其中所述指令中携带需要创建的套接字类型的文件的文件名和路径;The proxy client calls the KCS interface to send an instruction to the BMC, wherein the instruction carries the file name and path of a socket type file to be created; 所述代理服务端创建套接字并基于接收到的所述文件名和路径创建套接字类型的文件。The proxy server creates a socket and creates a socket type file based on the received file name and path. 2.如权利要求1所述的方法,其特征在于,将所述BMC中的代理服务端和客户端通过套接字建立连接,进一步包括:2. The method according to claim 1, characterized in that establishing a connection between the proxy server and the client in the BMC through a socket further comprises: 在所述客户端创建套接字并通过所述代理服务端中的套接字类型的文件实现代理服务端和客户端的连接。A socket is created on the client and a connection between the proxy server and the client is realized through a socket-type file in the proxy server. 3.一种BMC通信系统,其特征在于,包括:3. A BMC communication system, comprising: 创建模块,配置为在主机中创建服务端和代理客户端以及在BMC中创建客户端和代理服务端;Create a module, configured to create a server and proxy client in the host and create a client and proxy server in the BMC; 第一连接模块,配置为将所述主机中的服务端和代理客户端通过套接字建立连接;A first connection module is configured to establish a connection between the server and the proxy client in the host through a socket; 第二连接模块,配置为通过KCS接口将主机中的代理客户端与所述BMC中的代理服务端建立连接;A second connection module is configured to establish a connection between the proxy client in the host and the proxy server in the BMC through the KCS interface; 第三连接模块,配置为将所述BMC中的代理服务端和客户端通过套接字建立连接;A third connection module is configured to establish a connection between the proxy server and the client in the BMC through a socket; 通信模块,配置为通过所述主机中的服务端和代理客户端以及BMC中的客户端和代理服务端进行BMC和主机的通信;A communication module, configured to communicate between the BMC and the host through the server and the proxy client in the host and the client and the proxy server in the BMC; 第一连接模块还配置为:The first connection module is further configured as: 利用所述服务端创建套接字并在预设文件夹下创建套接字类型的文件;Using the server to create a socket and create a socket-type file in a preset folder; 响应于所述代理客户端监测到所述服务端在预设文件夹下创建了套接字的文件,创建套接字并利用所述套接字类型的文件连接所述服务端;In response to the proxy client detecting that the server has created a socket file in a preset folder, creating a socket and connecting to the server using the socket-type file; 第二连接模块还配置为:The second connection module is further configured as: 所述代理客户端调用KCS接口向所述BMC发送指令,其中所述指令中携带需要创建的套接字类型的文件的文件名和路径;The proxy client calls the KCS interface to send an instruction to the BMC, wherein the instruction carries the file name and path of a socket type file to be created; 所述代理服务端创建套接字并基于接收到的所述文件名和路径创建套接字类型的文件。The proxy server creates a socket and creates a socket type file based on the received file name and path. 4.如权利要求3所述的系统,其特征在于,第三连接模块还配置为:4. The system according to claim 3, wherein the third connection module is further configured to: 在所述客户端创建套接字并通过所述代理服务端中的套接字类型的文件实现代理服务端和客户端的连接。A socket is created on the client and a connection between the proxy server and the client is realized through a socket-type file in the proxy server. 5.一种计算机设备,包括:5. A computer device comprising: 至少一个处理器;以及at least one processor; and 存储器,所述存储器存储有可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时执行如权利要求1-2任意一项所述的方法的步骤。A memory storing a computer program executable on the processor, wherein the processor executes the steps of the method according to any one of claims 1 to 2 when executing the program. 6.一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时执行如权利要求1-2任意一项所述的方法的步骤。6. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, performs the steps of the method according to any one of claims 1 to 2.
CN202211375169.6A 2022-11-04 2022-11-04 A BMC communication method, system, device and storage medium Active CN115914340B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211375169.6A CN115914340B (en) 2022-11-04 2022-11-04 A BMC communication method, system, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211375169.6A CN115914340B (en) 2022-11-04 2022-11-04 A BMC communication method, system, device and storage medium

Publications (2)

Publication Number Publication Date
CN115914340A CN115914340A (en) 2023-04-04
CN115914340B true CN115914340B (en) 2025-05-02

Family

ID=86471874

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211375169.6A Active CN115914340B (en) 2022-11-04 2022-11-04 A BMC communication method, system, device and storage medium

Country Status (1)

Country Link
CN (1) CN115914340B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118012807A (en) * 2024-02-01 2024-05-10 超聚变数字技术有限公司 Calling method, system, chip and server of hardware equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111061692A (en) * 2018-10-16 2020-04-24 阿里巴巴集团控股有限公司 Data access method, device, system and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6203370B2 (en) * 2013-03-15 2017-09-27 アメリカン メガトレンズ インコーポレイテッド System and method for web-based virtual media redirection
US9756143B2 (en) * 2015-09-09 2017-09-05 American Megatrends, Inc. System and method for improving virtual media redirection speed in baseboard management controller (BMC)
WO2019059754A1 (en) * 2018-06-03 2019-03-28 De Hoz Diego Jorge David Secure communication method and system using network socket proxying
CN109327470A (en) * 2018-11-28 2019-02-12 郑州云海信息技术有限公司 A method and device for implementing SSL encrypted transmission
CN111327639B (en) * 2020-03-19 2022-07-22 刘奇峰 A socket communication method and device
CN111858433A (en) * 2020-07-17 2020-10-30 苏州浪潮智能科技有限公司 A method, system, device and medium based on SSH serial port redirection
CN114143194B (en) * 2022-02-07 2022-04-26 苏州浪潮智能科技有限公司 Method, device, equipment and medium for initializing intelligent network card by server
CN115270105A (en) * 2022-07-26 2022-11-01 苏州浪潮智能科技有限公司 Access control method, device and computer equipment of baseboard management controller

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111061692A (en) * 2018-10-16 2020-04-24 阿里巴巴集团控股有限公司 Data access method, device, system and storage medium

Also Published As

Publication number Publication date
CN115914340A (en) 2023-04-04

Similar Documents

Publication Publication Date Title
US9872205B2 (en) Method and system for sideband communication architecture for supporting manageability over wireless LAN (WLAN)
JP5906246B2 (en) Launching and attaching a debugger on a compute cluster
US8140688B2 (en) Method and system for establishing connections between nodes in a communication network
US20100057865A1 (en) Transferable Debug Session in a Team Environment
CN109547524B (en) User behavior storage method, device, device and storage medium based on Internet of Things
US20110276625A1 (en) Method and system for host independent keyboard, video, and mouse (kvm) redirection
EP2119184A1 (en) Virtualization and high availability of network connections
CN115914340B (en) A BMC communication method, system, device and storage medium
CN107634871B (en) Connectivity testing method, device and system
CN115297164A (en) Network proxy method, device, electronic equipment and computer readable storage medium
CN118524102A (en) Dual-node BMC management device and method
CN112905454B (en) An MQTT service testing system and method
CN119011593A (en) Communication method, device and computer program product based on load balancing
CN118200011A (en) Method, device and equipment for establishing communication connection based on OPENSSL
CN114363204B (en) Request monitoring method, network device and storage medium
US7568194B2 (en) Method and system for availability checking on distributed objects
CN114244554B (en) A login method and system based on SSH
WO2004062188A2 (en) Generic communication server engine
CN114780305B (en) Single node starting method, device, equipment and medium
CN118550769B (en) Method, device, equipment and medium for realizing dual-machine hot standby based on virtualization scenario
CN117579700B (en) Universal microservice processing method, system and equipment based on message queue
EP4462759A1 (en) System and method for maintaining a communication link between nodes during the execution of a command
CN110650125B (en) Host device and method for mutual communication operation based on Pexpect
JP2003318898A (en) Dynamic SNMP network device
CN119828668A (en) Processing method and device for vehicle fault diagnosis message and electronic 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
GR01 Patent grant
GR01 Patent grant