CN114116375A - Data transmission method and device based on PLDM protocol - Google Patents
Data transmission method and device based on PLDM protocol Download PDFInfo
- Publication number
- CN114116375A CN114116375A CN202111263419.2A CN202111263419A CN114116375A CN 114116375 A CN114116375 A CN 114116375A CN 202111263419 A CN202111263419 A CN 202111263419A CN 114116375 A CN114116375 A CN 114116375A
- Authority
- CN
- China
- Prior art keywords
- pldm
- message
- request
- response
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 146
- 230000005540 biological transmission Effects 0.000 title claims abstract description 96
- 230000004044 response Effects 0.000 claims abstract description 118
- CQIZBIFTOGBKDB-UHFFFAOYSA-N 4-cyclohexyl-1-methyl-3,6-dihydro-2h-pyridine Chemical compound C1N(C)CCC(C2CCCCC2)=C1 CQIZBIFTOGBKDB-UHFFFAOYSA-N 0.000 claims abstract description 61
- 101100076239 Drosophila melanogaster Mctp gene Proteins 0.000 claims abstract description 61
- 239000000284 extract Substances 0.000 claims abstract description 25
- 238000004891 communication Methods 0.000 claims abstract description 10
- 230000008569 process Effects 0.000 claims description 11
- 238000013461 design Methods 0.000 abstract description 3
- 238000007726 management method Methods 0.000 description 11
- 238000013499 data model Methods 0.000 description 6
- 108010028984 3-isopropylmalate dehydratase Proteins 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000006467 substitution reaction Methods 0.000 description 3
- 230000003993 interaction Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3089—Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
- G06F11/3093—Configuration details thereof, e.g. installation, enabling, spatial arrangement of the probes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/04—Generating or distributing clock signals or signals derived directly therefrom
- G06F1/12—Synchronisation of different clock signals provided by a plurality of clock generators
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/546—Message passing systems or structures, e.g. queues
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/12—Protocol engines
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
The invention belongs to the field of time synchronization design, and particularly provides a data transmission method and a data transmission device based on a PLDM protocol, wherein the method comprises the following steps: pre-registering transmission methods of both communication parties based on a PLDM protocol; the request terminal generates a request message based on a transmission method of a registered PLDM protocol; generating an MCTP message from the request message generated by the request end, and transmitting the MCTP message to the response end; the response terminal decodes the received MCTP message based on the transmission method of the PLDM protocol and extracts the required message; generating a response message based on a transmission method of the registered PLDM protocol according to the extracted message acquisition information; generating MCTP message from the response message generated by the response end, and transmitting to the request end; the request end decodes the received MCTP message based on the transmission method of the PLDM protocol and extracts the required message. Whereby the protocol layer and the transport layer can be transformed independently without affecting each other.
Description
Technical Field
The invention relates to the technical field of server time synchronization design, in particular to a data transmission method and device based on a PLDM protocol.
Background
For a traditional OpenPOWER server, an intelligent platform management interface IPMI is used for communication between a main CPU and a BMC, and since the CPU and the BMC (board management controller) respectively have independent RTCs (Real-Time clocks), Time calibration and unification cannot be performed between the CPU and the BMC, a problem that system hardware Time and BMC Time are not synchronized occurs.
Disclosure of Invention
The invention provides a data transmission method and device based on a PLDM protocol, and aims to solve the problems that for a traditional OpenPOWER server, a main CPU and a BMC are communicated through an intelligent platform management interface IPMI, the transmission mode depends on a BT module in the BMC, and the transmission efficiency is low.
The technical scheme of the invention is as follows:
in a first aspect, a technical solution of the present invention provides a data transmission method based on a PLDM protocol, including the following steps:
pre-registering transmission methods of both communication parties based on a PLDM protocol;
the request terminal generates a request message based on a transmission method of a registered PLDM protocol;
generating an MCTP message from the request message generated by the request end, and transmitting the MCTP message to the response end;
the response terminal decodes the received MCTP message based on the transmission method of the PLDM protocol and extracts the required message;
generating a response message based on a transmission method of the registered PLDM protocol according to the extracted message acquisition information;
generating MCTP message from the response message generated by the response end, and transmitting to the request end;
the request end decodes the received MCTP message based on the transmission method of the PLDM protocol and extracts the required message.
Preferably, the step of registering the transmission method based on the PLDM protocol of both communication parties in advance includes:
a method for encoding a PLDM request, a method for decoding a PLDM request, a method for encoding a PLDM response, and a method for decoding a PLDM response of both communication parties are registered in advance.
Preferably, the step of the requesting terminal generating the request message based on the transmission method of the registered PLDM protocol includes:
the request terminal generates a request message based on the registered PLDM request encoding method.
Preferably, the step of the response end decoding the received MCTP message based on the transmission method of the PLDM protocol and extracting the required message comprises:
the response terminal decodes the received MCTP message based on the PLDM request decoding method to the request message and extracts the required message.
Preferably, the step of generating a response message based on a transmission method of the registered PLDM protocol according to the extracted message includes:
and generating a response message by basing the time information on a transmission method of the registered PLDM protocol according to the extracted message.
Preferably, the step of decoding the received MCTP message and extracting the required message by the requesting terminal based on the transmission method of the PLDM protocol includes:
the requesting terminal decodes the received MCTP message based on the registered PLDM response decoding method to a response message and extracts a required message.
The time synchronization of the hardware of the host and the BMC is realized by adopting a PLDM transmission mode, and a coding and decoding method of the host end and the BMC end needs to be registered in advance in a platform-level data model PLDM. The sending end encodes the message, then transmits the message to the receiving end through the MCTP message transmission module, and the receiving end decodes the received message and extracts the required information. The hardware time synchronization between the host and the BMC is divided into two cases: firstly, the host acquires the hardware time from the BMC for synchronization, and secondly, the hardware time of the host is synchronized to the BMC.
The PLDM mode is used for realizing the process that the host acquires the BMC hardware time: the Host generates a time acquisition request by using a coding method registered in the PLDM request coding module, sends the time acquisition request to the BMC through the message transmission module, decodes the time acquisition request by using a request decoding method after the BMC receives the request, codes the time information of the BMC into a response message and replies to the Host, and extracts the time information and updates the hardware time of the Host by using the decoding method after the Host receives the response message.
The process of setting the BMC hardware time based on the host hardware time is realized by using a PLDM mode: the host encodes the time information by using an encoding method registered in the PLDM to generate a time setting request message and sends the time setting request message to the BMC, and the BMC decodes the time setting request message by using a decoding method after receiving the request, extracts the time information and updates the hardware time of the BMC.
In a second aspect, the technical solution of the present invention further provides a data transmission device based on a PLDM protocol, which includes a terminal a and a terminal B, where the terminal a and the terminal B communicate through an MCTP message transmission module;
an MCTP message transmission module for generating MCTP message according to the coded PLDM request/response message and completing the data transmission between the terminal A and the terminal B;
the terminal A and the terminal B are both provided with a PLDM request coding module, a PLDM request decoding module, a PLDM response coding module and a PLDM response decoding module;
the PLDM request coding module registers a request coding method;
the PLDM request decoding module registers a method for solving the code;
the PLDM response coding module registers a response coding method;
the PLDM response decoding module registers a response decoding method;
the PLDM request coding module is used for coding and generating a PLDM request message;
a PLDM request decoding module for decoding the received request message;
a PLDM response coding module for coding and generating PLDM response message;
and a PLDM response decoding module for decoding the received response message.
Preferably, the step of implementing hardware time synchronization between the host and the BMC when the terminal a is the host and the terminal B is the BMC specifically includes a process of acquiring the BMC hardware time by the host and a process of setting the BMC hardware time based on the host hardware time.
Preferably, the process of acquiring the BMC hardware time by the host includes:
the host generates a time acquisition request by using a PLDM encoding method registered in a PLDM request encoding module; and sending the message to the BMC through the MCTP message transmission module;
after receiving the request, the BMC decodes the request by using a request decoding method registered in the PLDM request decoding module to acquire the required message;
according to the acquired message, the time information of the BMC is coded into a response message by using a coding method registered in a PLDM response coding module and is replied to the host through an MCTP message transmission module;
after the host receives the response message, the time information is extracted by using a decoding method registered in the PLDM response decoding module, and the hardware time of the host is updated.
Preferably, the process of setting the BMC hardware time based on the host hardware time includes:
the host encodes the time information to generate a time setting request message by using a request encoding method registered in the PLDM request encoding module, and transmits the time setting request message to the BMC through the MCTP message transmission module;
after receiving the request, the BMC decodes the request by using a decoding request method registered in the PLDM request decoding module, extracts time information and updates the hardware time of the BMC.
According to the technical scheme, the invention has the following advantages: the method for completing the time synchronization of the host and the BMC hardware by using the PLDM protocol has higher efficiency than the traditional IPMI transmission mode; the PLDM scheme separates the protocol layer from the transport layer so that the protocol layer and the transport layer can be independently transformed without affecting each other.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Therefore, compared with the prior art, the invention has prominent substantive features and remarkable progress, and the beneficial effects of the implementation are also obvious.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a schematic flow diagram of a method of one embodiment of the invention.
FIG. 2 is a flow chart of a host acquire BMC hardware time in accordance with another embodiment of the invention.
Fig. 3 is a schematic block diagram of an apparatus of one embodiment of the present invention.
FIG. 4 is a schematic diagram of a terminal interaction process for obtaining time;
FIG. 5 is a schematic diagram of a terminal interaction process for setting time
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. 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.
BMC: the Baseboard Management Controller provides a hardware monitoring and controlling function specific to the mainboard for the platform Management subsystem.
BT: block Transfer, which refers to transferring one data Block at a time, is different from interrupt and other Transfer methods.
LPC: low Pin Count, Low Pin Count bus.
FW: firmware, a program written in EROM (erasable read only memory) or EEPROM (electrically erasable programmable read only memory).
IPMI: intelligent Platform Management Interface. A set of computer interface specifications are defined for the autonomous computer subsystem to provide software and hardware management and monitoring functions independent of the CPU, firmware (BIOS or UEFI), operating system, etc. of the host system.
PLDM: platform Level Data Model, Platform Level Data Model. The internally-oriented low-level data model is intended to be an efficient data/control source for mapping under the Common Information Model (CIM).
And MCTP: management Component Transport Protocol, Management Component Transport Protocol. A media independent transport protocol designed for intercommunication of low level management messages within a platform management subsystem.
As shown in fig. 1, an embodiment of the present invention provides a data transmission method based on a PLDM protocol, including the following steps:
step 11: pre-registering transmission methods of both communication parties based on a PLDM protocol;
step 12: the request terminal generates a request message based on a transmission method of a registered PLDM protocol;
step 13: generating an MCTP message from the request message generated by the request end, and transmitting the MCTP message to the response end;
step 14: the response terminal decodes the received MCTP message based on the registered transmission method of the PLDM protocol and extracts the required message;
step 15: generating a response message based on a transmission method of the registered PLDM protocol according to the extracted message acquisition information;
step 16: generating MCTP message from the response message generated by the response end, and transmitting to the request end;
and step 17: the request end decodes the received MCTP message based on the transmission method of the PLDM protocol and extracts the required message.
It should be noted that, the step 11 of registering the transmission method based on the PLDM protocol of the two communicating parties in advance includes:
a method for encoding a PLDM request, a method for decoding a PLDM request, a method for encoding a PLDM response, and a method for decoding a PLDM response of both communication parties are registered in advance.
Correspondingly, in step 12, the step of generating, by the requesting end, the request message based on the transmission method of the registered PLDM protocol includes:
the request terminal generates a request message based on the registered PLDM request encoding method.
In step 14, the step of the response end decoding the received MCTP message based on the transmission method of the PLDM protocol and extracting the required message includes:
the response terminal decodes the received MCTP message based on the PLDM request decoding method to the request message and extracts the required message.
In step 15, the step of generating a response message based on the transmission method of the registered PLDM protocol according to the extracted message includes:
and generating a response message by basing the time information on a transmission method of the registered PLDM protocol according to the extracted message.
In step 17, the step of decoding the received MCTP message by the requesting end based on the transmission method of the PLDM protocol and extracting the required message includes:
the requesting terminal decodes the received MCTP message based on the registered PLDM response decoding method to a response message and extracts a required message.
As shown in fig. 2, an embodiment of the present invention provides a data transmission method based on a PLDM protocol, where a transmission mode based on the PLDM protocol is used to implement hardware time synchronization between a host and a BMC, and a coding and decoding method between the host and the BMC needs to be registered in advance in a platform-level data model PLDM. The sending end encodes the message, then transmits the message to the receiving end through the MCTP message transmission module, and the receiving end decodes the received message and extracts the required information. The step of acquiring the hardware time from the BMC by the Host to synchronize specifically comprises the following steps:
step 21: the Host code generates a request message for acquiring the BMC time; specifically, the Host generates an acquisition time request by using a PLDM coding method registered in the PLDM request coding module;
step 22: the Host sends the request message to the BMC; actually, the Host is sent to the BMC through the MCTP message transmission module;
step 23: the BMC receives and decodes the message, reads the hardware time of the BMC, packages the hardware time into the request message of the Host, and generates a response message; after receiving the request, the BMC decodes the request to acquire the required message by using the request decoding method registered in the PLDM request decoding module, and encodes the time information of the BMC into a response message by using the encoding method registered in the PLDM response encoding module according to the acquired message;
step 24: the BMC sends the response message to the Host; replying to the host through the MCTP message transmission module;
step 25: and the Host receives and decodes the response message, extracts the time information and changes the hardware time of the Host according to the time information. After the host receives the response message, the time information is extracted by using a decoding method registered in the PLDM response decoding module, and the hardware time of the host is updated.
The embodiment of the invention provides a data transmission method based on a PLDM protocol, which adopts a transmission mode based on the PLDM protocol to realize the hardware time synchronization of a host and a BMC, and sets the BMC hardware time based on the host hardware time, and comprises the following specific steps:
the host encodes the time information to generate a time setting request message by using a request encoding method registered in the PLDM request encoding module, and transmits the time setting request message to the BMC through the MCTP message transmission module;
after receiving the request, the BMC decodes the request by using a decoding request method registered in the PLDM request decoding module, extracts time information and updates the hardware time of the BMC.
As shown in fig. 3, the technical solution of the present invention further provides a data transmission device based on a PLDM protocol, which includes a terminal a and a terminal B, where the terminal a and the terminal B communicate through an MCTP message transmission module;
an MCTP message transmission module for generating MCTP message according to the coded PLDM request/response message and completing the data transmission between the terminal A and the terminal B;
the terminal A and the terminal B are both provided with a PLDM request coding module, a PLDM request decoding module, a PLDM response coding module and a PLDM response decoding module;
the PLDM request coding module registers a request coding method;
the PLDM request decoding module registers a method for solving the code;
the PLDM response coding module registers a response coding method;
the PLDM response decoding module registers a response decoding method;
the PLDM request coding module is used for coding and generating a PLDM request message;
a PLDM request decoding module for decoding the received request message;
a PLDM response coding module for coding and generating PLDM response message;
and a PLDM response decoding module for decoding the received response message.
The technical scheme of the invention also provides a data transmission device based on the PLDM protocol, which comprises a terminal A and a terminal B, wherein the terminal A and the terminal B communicate through an MCTP message transmission module;
an MCTP message transmission module for generating MCTP message according to the coded PLDM request/response message and completing the data transmission between the terminal A and the terminal B;
the terminal A and the terminal B are both provided with a PLDM request coding module, a PLDM request decoding module, a PLDM response coding module and a PLDM response decoding module;
the PLDM request coding module registers a request coding method;
the PLDM request decoding module registers a method for solving the code;
the PLDM response coding module registers a response coding method;
the PLDM response decoding module registers a response decoding method;
the PLDM request coding module is used for coding and generating a PLDM request message;
a PLDM request decoding module for decoding the received request message;
a PLDM response coding module for coding and generating PLDM response message;
and a PLDM response decoding module for decoding the received response message.
The method specifically comprises the steps that the host acquires the BMC hardware time and the BMC hardware time is set based on the host hardware time when the terminal A is the host and the terminal B is the BMC. The hardware time synchronization function of the host and the BMC is realized by a coding and decoding method for registering a request and a response message in a Platform Level Data Model (PLDM) in advance.
As shown in fig. 4, the process of acquiring the BMC hardware time by the host includes:
the host generates a time acquisition request by using a PLDM encoding method registered in a PLDM request encoding module; and sending the message to the BMC through the MCTP message transmission module;
after receiving the request, the BMC decodes the request by using a request decoding method registered in the PLDM request decoding module to acquire the required message;
according to the acquired message, the time information of the BMC is coded into a response message by using a coding method registered in a PLDM response coding module and is replied to the host through an MCTP message transmission module;
after the host receives the response message, the time information is extracted by using a decoding method registered in the PLDM response decoding module, and the hardware time of the host is updated.
As shown in fig. 5, the process of setting the BMC hardware time based on the host hardware time includes:
the host encodes the time information to generate a time setting request message by using a request encoding method registered in the PLDM request encoding module, and transmits the time setting request message to the BMC through the MCTP message transmission module;
after receiving the request, the BMC decodes the request by using a decoding request method registered in the PLDM request decoding module, extracts time information and updates the hardware time of the BMC.
In the present application, a PLDM request encoding method, a PLDM request decoding method, a PLDM response encoding method, and a PLDM response decoding method of both parties of communication are registered in advance. The request sending end generates a request message by utilizing a PLDM request coding method, the request receiving end decodes the request message by utilizing a PLDM request decoding method and extracts required information, the response sending end generates a response message by utilizing a PLDM response coding method, and the response receiving end decodes the response message by utilizing a PLDM response decoding method and extracts the required information. And the MCTP message transmission module generates an MCTP message according to the coded PLDM request/response message and completes data transmission between terminals.
Although the present invention has been described in detail by referring to the drawings in connection with the preferred embodiments, the present invention is not limited thereto. Various equivalent modifications or substitutions can be made on the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and these modifications or substitutions are within the scope of the present invention/any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
Claims (10)
1. A data transmission method based on PLDM protocol, comprising the steps of:
pre-registering transmission methods of both communication parties based on a PLDM protocol;
the request terminal generates a request message based on a transmission method of a registered PLDM protocol;
generating an MCTP message from the request message generated by the request end, and transmitting the MCTP message to the response end;
the response terminal decodes the received MCTP message based on the transmission method of the PLDM protocol and extracts the required message;
generating a response message based on a transmission method of the registered PLDM protocol according to the extracted message acquisition information;
generating MCTP message from the response message generated by the response end, and transmitting to the request end;
the request end decodes the received MCTP message based on the transmission method of the PLDM protocol and extracts the required message.
2. The data transmission method according to claim 1, wherein the step of registering the transmission methods based on the PLDM protocol of both parties in advance comprises:
a method for encoding a PLDM request, a method for decoding a PLDM request, a method for encoding a PLDM response, and a method for decoding a PLDM response of both communication parties are registered in advance.
3. The PLDM protocol-based data transmission method of claim 2, wherein the step of the requesting end generating the request message based on the transmission method of the registered PLDM protocol comprises:
the request terminal generates a request message based on the registered PLDM request encoding method.
4. The PLDM protocol-based data transmission method of claim 3, wherein the step of the responding end decoding the received MCTP message based on the PLDM protocol transmission method and extracting the desired message comprises:
the response terminal decodes the received MCTP message based on the PLDM request decoding method to the request message and extracts the required message.
5. The PLDM protocol-based data transmission method of claim 4, wherein the step of generating the response message based on the transmission method of the registered PLDM protocol according to the extracted message comprises:
and generating a response message by basing the time information on a transmission method of the registered PLDM protocol according to the extracted message.
6. The PLDM protocol-based data transmission method of claim 5, wherein the step of the requesting terminal decoding the received MCTP message based on the PLDM protocol transmission method and extracting the required message comprises:
the requesting terminal decodes the received MCTP message based on the registered PLDM response decoding method to a response message and extracts a required message.
7. A data transmission device based on PLDM protocol is characterized by comprising a terminal A and a terminal B, wherein the terminal A and the terminal B communicate through an MCTP message transmission module;
an MCTP message transmission module for generating MCTP message according to the coded PLDM request/response message and completing the data transmission between the terminal A and the terminal B;
the terminal A and the terminal B are both provided with a PLDM request coding module, a PLDM request decoding module, a PLDM response coding module and a PLDM response decoding module;
the PLDM request coding module registers a request coding method;
the PLDM request decoding module registers a method for solving the code;
the PLDM response coding module registers a response coding method;
the PLDM response decoding module registers a response decoding method;
the PLDM request coding module is used for coding and generating a PLDM request message;
a PLDM request decoding module for decoding the received request message;
a PLDM response coding module for coding and generating PLDM response message;
and a PLDM response decoding module for decoding the received response message.
8. The PLDM-protocol-based data transmission apparatus as claimed in claim 7, wherein the step of synchronizing the hardware time between the host and the BMC when the terminal a is the host and the terminal B is the BMC specifically includes a step of acquiring a BMC hardware time by the host and a step of setting the BMC hardware time based on the host hardware time.
9. The PLDM protocol-based data transmission apparatus as claimed in claim 8, wherein the process of the host acquiring the BMC hardware time comprises:
the host generates a time acquisition request by using a PLDM encoding method registered in a PLDM request encoding module; and sending the message to the BMC through the MCTP message transmission module;
after receiving the request, the BMC decodes the request by using a request decoding method registered in the PLDM request decoding module to acquire the required message;
according to the acquired message, the time information of the BMC is coded into a response message by using a coding method registered in a PLDM response coding module and is replied to the host through an MCTP message transmission module;
after the host receives the response message, the time information is extracted by using a decoding method registered in the PLDM response decoding module, and the hardware time of the host is updated.
10. The PLDM-protocol-based data transmission apparatus of claim 8, wherein the setting the BMC hardware time based on the host hardware time comprises:
the host encodes the time information to generate a time setting request message by using a request encoding method registered in the PLDM request encoding module, and transmits the time setting request message to the BMC through the MCTP message transmission module;
after receiving the request, the BMC decodes the request by using a decoding request method registered in the PLDM request decoding module, extracts time information and updates the hardware time of the BMC.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111263419.2A CN114116375A (en) | 2021-10-28 | 2021-10-28 | Data transmission method and device based on PLDM protocol |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111263419.2A CN114116375A (en) | 2021-10-28 | 2021-10-28 | Data transmission method and device based on PLDM protocol |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114116375A true CN114116375A (en) | 2022-03-01 |
Family
ID=80377530
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111263419.2A Withdrawn CN114116375A (en) | 2021-10-28 | 2021-10-28 | Data transmission method and device based on PLDM protocol |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114116375A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116578316A (en) * | 2023-04-19 | 2023-08-11 | 合芯科技有限公司 | Firmware updating method, device, server and storage medium of equipment |
-
2021
- 2021-10-28 CN CN202111263419.2A patent/CN114116375A/en not_active Withdrawn
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116578316A (en) * | 2023-04-19 | 2023-08-11 | 合芯科技有限公司 | Firmware updating method, device, server and storage medium of equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101895549B (en) | Conversion gateway and conversion method of vehicle communication network data | |
CN113259155B (en) | Access method, device, gateway, medium and electronic equipment of Internet of things equipment | |
CN105898893B (en) | Full-duplex communication method for mobile terminal and Internet of things equipment | |
CN201717878U (en) | Vehicle communication network data conversion gateway | |
KR20130132780A (en) | Method and system of communicating personal health data in a near field communication environment | |
CN114116375A (en) | Data transmission method and device based on PLDM protocol | |
CN111459632A (en) | Serial port agent for calling terminal application program and implementation method | |
CN101022473A (en) | Method for automatic, identifying plate card configration and generating local data in exchanger | |
CN103957258A (en) | Trans-regional data communication method and system | |
CN117439838B (en) | Edge computing gateway master-slave machine-oriented self-adaptive rapid networking method | |
CN104348645A (en) | Server and data transmission method of server | |
CN112073488A (en) | Method and device for processing request | |
CN114513792B (en) | Remote network control method and device based on eSIM card | |
CN110913431A (en) | Data wireless transmission method and device, computer equipment and storage medium | |
CN103986588A (en) | Computer system and far-end remote control method of computer device | |
CN103731449A (en) | Method, system and device for pushing information to mobile terminal | |
CN112491614B (en) | Configuration information online automatic validation method and system for embedded equipment | |
CN115514656A (en) | Object model adaptation method and device | |
CN104333515A (en) | Method and device for processing SWIFT messages | |
CN112953988B (en) | Data docking method and device based on FTP | |
CN108174458B (en) | Method and device for wireless connection between mobile terminal and wearable device, mobile terminal and wearable device | |
CN111722858A (en) | Online upgrading method and terminal equipment | |
CN112099957A (en) | Resource allocation method, system, device and electronic equipment | |
CN113051451A (en) | Data transmission method, device and storage medium in wireless Internet of things system | |
CN111277557A (en) | Real-time communication method, equipment and storage medium |
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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20220301 |