A data processing method and related apparatus
By generating messages by recording log information of receiving and processing access requests through the first device, the problem of difficulty in determining the source of message interaction failures during the interaction between the baseboard management controller and the hardware device is solved, thus achieving efficient fault location and resource saving.
Patent Information
- Application Number
- CN202310012765.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-05
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2043-01-05
AI Technical Summary
When message communication fails during interaction between the baseboard management controller and other hardware devices in the server, it is difficult to determine the source of the problem. Existing technologies rely on log information from the BMC and the accessed device, which cannot accurately locate the cause of the failure.
The first device records log information of receiving and processing access requests, and generates first and second messages to determine the source of message interaction failure, thereby saving storage resources and improving network communication efficiency.
It effectively identifies the source of message interaction failures, saves storage and network communication resources, and improves fault location efficiency.
Smart Images

Figure CN116126635B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a data processing method and related apparatus. Background Technology
[0002] The baseboard management controller (BMC) is responsible for performing server monitoring and maintenance services. It needs to interact with other hardware devices within the server (hereinafter referred to as accessed devices) to achieve the monitoring and maintenance of the accessed devices. In the message interaction process between the BMC and the accessed devices, probabilistic access failures often occur. In this case, because the message interaction process involves multiple stages such as the BMC generating messages, the transmission channel transmitting messages, the accessed device receiving messages, the accessed device processing messages, and other hardware modules returning response messages from the accessed device, it is often difficult to determine whether the message interaction failure is due to the BMC failing to successfully send the message to the accessed device, or whether the accessed device failed to process the message after receiving it. Therefore, it is difficult to pinpoint the source of the message interaction failure problem.
[0003] Currently, message processing flow is mainly analyzed through logs recorded by the BMC and the accessed device to determine the source of message interaction failures. However, the log information from the BMC or the accessed device cannot pinpoint the source of the problem. Summary of the Invention
[0004] This application provides a data processing method and related apparatus for determining the source of problems causing message interaction failures.
[0005] Firstly, this application provides a data processing method. The access request sent by the second device to the first device can be used to read data, rewrite data, read parameters or configure parameters of the first device, etc., or it can be applied to other interaction scenarios between the second device and the first device initiated by the second device. This application does not limit this.
[0006] After receiving an access request from the second device, the first device records the event of receiving the access request and obtains a first message corresponding to the access request. This first message describes relevant information about the event of the first device receiving the access request. Therefore, by querying the first message, it can be determined whether the first device successfully received the access request. If the first device successfully received the access request, it can be determined that the source of the message interaction failure is not caused by the second device; otherwise, it can be determined that the source of the message interaction failure is caused by the second device.
[0007] The first device processes the access request. After processing, the first device records the event that it has completed processing the access request, obtaining a second message corresponding to the access request. This second message describes the relevant information about the event that the first device has completed processing the access request. Therefore, by querying the second message, it can be determined whether the message interaction failed during the first device's processing of the access request.
[0008] In this application, after the second device sends an access request to the first device, the first device will actively record the event that the first device has received the access request and the event that the first device has completed processing the access request. That is, it records the specific operation behavior of the first device as the accessed device in the message interaction process between the first device and the second device, so as to identify the source of the problem that caused the message interaction failure when an abnormal message interaction occurs.
[0009] Furthermore, since the first device only needs to record log information when an access request is received and when the access request is completed, without needing to record the specific task details of the first device when processing the access request, the storage resources of the first device are saved.
[0010] Based on the first aspect, in an optional implementation, when the second device does not receive a response message from the first device for the access request within a limited time, it can be determined that the message interaction between the second device and the first device has been abnormal. The second device will send an abnormal indication for the access request to the first device. After receiving the abnormal indication, the first device will send a first message and a second message to the second device, thereby avoiding the first device still sending the first message and the second message to the second device when the message interaction is normal, thus saving network communication resources.
[0011] Based on the first aspect, in an optional implementation, the data processing method of this application can be applied to the same hardware device (e.g., a server), namely the first device of this application. The first device and the second device are different hardware devices deployed in the first device.
[0012] Based on the first aspect, in one optional implementation, the first device may be a redundant array of independent disks (RAID) controller, and the second device may be a BMC.
[0013] Based on the first aspect, in an optional implementation, the data processing method of this application can be applied to different hardware devices, that is, the first device and the second device are different hardware devices deployed in different devices.
[0014] Based on the first aspect, in one optional implementation, the first information includes at least the first time the first device receives the access request. Alternatively, the first information may also include the message type, command word, or command parameters of the access request.
[0015] Based on the first aspect, in one optional implementation, the second information includes at least the second time when the first device completes processing the access request. Alternatively, the first information may also include the processing result of the access request.
[0016] Based on the first aspect, in one optional implementation, after recording the first message and the second message, the first device stores either the first message or the second message in its storage medium. When the first device receives an interface call instruction that instructs it to send the first message and the second message to the second device, the first device retrieves the first message and the second message from its storage medium according to the interface call instruction, and then sends the first message and the second message to the second device. Therefore, the first device can send the first message and the second message to the second device only after receiving the interface call instruction from the second device, improving the sending efficiency of the first message and the second message.
[0017] Secondly, this application provides a data processing apparatus, comprising:
[0018] A transceiver unit is used to receive access requests from a second device;
[0019] The processing unit is used to generate a first message corresponding to the access request, and the first message records that the first device has received the access request;
[0020] The processing unit is also used to process access requests;
[0021] The processing unit is also used to generate a second message corresponding to the access request, the second message recording that the first device has completed processing the access request;
[0022] The transceiver unit is also used to send a first message and a second message to the second device.
[0023] Based on the second aspect, in one optional implementation, the processing unit is specifically used for:
[0024] When an abnormal indication for an access request is received from the second device, a first message and a second message are sent to the second device.
[0025] Thirdly, a computer device is provided, including a memory, a communication interface, and a processor coupled to the memory and the communication interface; the memory is used to store instructions, the processor is used to execute the instructions, and the communication interface is used to communicate with other devices under the control of the processor; wherein, when the processor executes the instructions, it performs the method described in any of the above aspects.
[0026] Fourthly, a computer-readable storage medium is provided, wherein a computer program is stored therein, which, when executed on a processor, implements the method described in any of the preceding aspects.
[0027] Fifthly, a computer device is provided, comprising a first device and a second device. The first device includes a first interface and a first memory, and the second device includes a second interface. The first interface is connected to the second interface. The first device is configured to receive an access request sent by the second device through the second interface via the first interface, generate a first message and store it in the first memory. The first message records that the first device has received the access request. After the first device processes the access request, it generates a second message and stores it in the first memory. The second message records that the first device has completed processing the access request. The first device is also configured to send the first message and the second message to the second interface of the second device via the first interface.
[0028] Based on the fifth aspect, in an optional embodiment, the second device includes a second memory, which is configured to, when the second device determines that the communication with the first device is abnormal, obtain a first message and a second message from the first device and store the first message and the second message in the second memory.
[0029] Based on the fifth aspect, in an optional implementation, the second device is further configured to send an interface call instruction to the first device, and the first device is further configured to obtain a first message and a second message according to the interface call instruction, and send the first message and the second message to the second device. Attached Figure Description
[0030] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0031] Figure 1 This is a schematic diagram illustrating a scenario where message interaction between the accessing device and the accessed device fails.
[0032] Figure 2This is a flowchart illustrating the data processing method in this application;
[0033] Figure 3 This is a schematic diagram of the structure of a data processing device provided in an embodiment of this application;
[0034] Figure 4 This is a schematic diagram of a computer device provided in an embodiment of this application. Detailed Implementation
[0035] This application provides a data processing method and related apparatus for determining the source of a problem that causes message interaction failure.
[0036] The embodiments of this application are described below with reference to the accompanying drawings. The terminology used in the implementation section of this application is only for explaining specific embodiments and is not intended to limit the application. Those skilled in the art will recognize that, with technological advancements and the emergence of new scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
[0037] In this application, "at least one" means one or more, and "more than one" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.
[0038] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a particular order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented, for example, in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0039] The baseboard management controller (BMC) provides the intelligent features within the Intelligent Platform Management Interface (IPMI) architecture. It is a dedicated microcontroller embedded in the motherboard of a computer (typically a server). The BMC is responsible for the interface between the system management software and the platform hardware.
[0040] Within a server, the BMC (Browser Control Center) is responsible for performing server monitoring and maintenance services. It needs to interact with other hardware devices within the server (hereinafter referred to as the accessed devices) to achieve monitoring and maintenance of these devices. During the message interaction process between the BMC and the accessed devices, probabilistic access failures frequently occur. Because the message interaction process involves multiple stages—including message generation by the BMC, message transmission through the transmission channel, message reception by the accessed device, message processing by the accessed device, and response messages from other hardware modules—it is often difficult to pinpoint whether the failure is due to the accessing device failing to successfully send the message to the accessed device, or whether the accessed device failed to process the message after receiving it. Therefore, it is challenging to determine the root cause of the message interaction failure.
[0041] Currently, message processing flow is mainly analyzed through logs recorded by the BMC and the accessed device to determine the source of message interaction failures. However, the log information from the BMC or the accessed device cannot be used to determine the source of the problem.
[0042] In view of this, this application provides a data processing method and related apparatus for determining the source of problems causing message interaction failures. Please refer to... Figure 1 , Figure 1 This is a schematic diagram illustrating a scenario where message exchange between the accessing device and the accessed device fails. For example... Figure 1 As shown, the accessing device, as the initiator of the message interaction process, sends messages to the accessed device through a transmission channel. However, in practical applications, the message interaction process often encounters anomalies, namely, the accessing device fails to receive a response from the accessed device. This could be because the accessing device failed to successfully send the message to the accessed device, resulting in the accessed device not receiving the message at all and thus being unable to respond; or it could be that the accessed device encountered a problem in processing the received message. Therefore, determining the source of the message interaction failure is an urgent issue that needs to be addressed.
[0043] In this application, the data processing method is described using an example of a first device as the accessed device and a second device as the accessing device. Please refer to [link to relevant documentation]. Figure 2 , Figure 2This is a flowchart illustrating the data processing method used in this application.
[0044] like Figure 2 As shown, the data processing method in this application includes:
[0045] 101. The second device sends an access request to the first device.
[0046] The access request sent by the second device to the first device can be used to read data, rewrite data, read parameters or configure parameters of the first device, etc. Alternatively, it can be applied to other interaction scenarios between the second device and the first device initiated by the second device. This application does not limit this.
[0047] In one possible implementation, the data processing method of this application can be applied to the same hardware device (e.g., a server), namely the first device of this application. The first device and the second device are different hardware devices deployed in the first device. In one possible implementation, the first device can be a redundant array of independent disks (RAID) controller, and the second device can be a BMC.
[0048] It should be noted that different companies use different names for the BMC in their first device; for example, some companies call it BMC, some call it iLO, and another company calls it iDRAC. Regardless of whether it is called BMC, iLO, or iDRAC, it can be understood as the BMC in the embodiments of this invention.
[0049] In one possible implementation, the data processing method of this application can be applied to different hardware devices, that is, the first device and the second device are different hardware devices deployed in different devices.
[0050] 102. The first device records the log information when it receives the access request and obtains the first message.
[0051] After receiving an access request from the second device, the first device records the event of receiving the access request and obtains a first message corresponding to the access request. This first message describes relevant information about the event of the first device receiving the access request. Therefore, by querying the first message, it can be determined whether the first device successfully received the access request. If the first device successfully received the access request, it can be determined that the source of the message interaction failure is not caused by the second device; otherwise, it can be determined that the source of the message interaction failure is caused by the second device.
[0052] In one possible implementation, the first information includes at least the first moment when the first device receives the access request. Alternatively, the first information may also include the message type, command word, or command parameters of the access request.
[0053] 103. The first device records the log information when the access request is completed and obtains the second message.
[0054] The first device processes the access request. After processing, the first device records the event of completing the processing of the access request and obtains a second message corresponding to the access request. This second message describes relevant information about the event of the first device completing the processing of the access request. Therefore, by querying the second message, it can be determined whether the message interaction failed during the first device's processing of the access request. It should be understood that in this application, "the first device has completed processing the access request" means that the first device has given a complete response to the access request. For example, if the first device sends a processing response to the access request, it can be considered that the first device has completed processing the access request. Alternatively, if the first device does not provide a processing response to the access request within a specified time, it can also be assumed that the first device has completed processing the access request.
[0055] In one possible implementation, the second message includes at least a second time in which the first device completes processing the access request. Alternatively, the second message may also include the result of processing the access request.
[0056] In practical applications, the second device often sends multiple access requests to the first device to perform different tasks. Therefore, the first device can record the first and second messages corresponding to multiple access requests; that is, the first device will record the first and second messages corresponding to each access request. To save storage space, the first device can store the most recent access requests from the second device; for example, the first device can store the most recent 10 access requests from the second device.
[0057] In one possible implementation, the first message and the second message recorded by the first device can be stored in the storage medium of the first device. Specifically, the storage medium of the first device can be any available medium that a computer can store, or a data storage device such as a training device or data center that integrates one or more available media. For example, the storage medium of the first device can be a magnetic medium (e.g., a floppy disk, hard disk, or magnetic tape), an optical medium, or a semiconductor medium, and this application does not limit this.
[0058] 104. The first device sends a first message and a second message to the second device.
[0059] The first device can send a first message and a second message to the second device. The second device can then analyze the first and second messages to determine the source of the message interaction failure. In practical applications, the second device can record the first and second messages in its local log file for storage.
[0060] In this application, after the second device sends an access request to the first device, the first device will actively record the event that the first device has received the access request and the event that the first device has completed processing the access request. That is, it records the specific operation behavior of the first device as the accessed device in the message interaction process between the first device and the second device, so as to identify the source of the problem that caused the message interaction failure when an abnormal message interaction occurs.
[0061] Furthermore, since the first device only needs to record log information when it receives an access request and when it completes processing the access request, without needing to record the specific task details of the first device when processing the access request, the storage resources of the first device are saved, and the implementation cost of the solution is reduced.
[0062] In one possible implementation, if the second device does not receive a response message from the first device for the access request within a limited time, it can be determined that an anomaly has occurred in the message interaction with the first device. The second device will send an anomaly indication for the access request to the first device. After receiving the anomaly indication, the first device will send a first message and a second message to the second device, thereby avoiding the situation where the first device still sends a first message and a second message to the second device when the message interaction is normal, thus saving network communication resources.
[0063] In one possible implementation, after recording the first message and the second message, the first device stores either the first message or the second message in its storage medium. When the first device receives an interface call instruction instructing it to send the first message and the second message to the second device, the first device retrieves the first message and the second message from the storage medium according to the interface call instruction, and then sends the first message and the second message to the second device. Therefore, the first device can send the first message and the second message to the second device only after receiving the interface call instruction from the second device, improving the sending efficiency of the first message and the second message.
[0064] In another possible implementation, the second device may periodically read the first message and the second message from the storage medium to update the storage medium of the second device with the first message and the second message.
[0065] To better implement the above solutions in the embodiments of this application, the embodiments of this application also provide related equipment for implementing the above solutions. For details, please refer to... Figure 3 , Figure 3 This is a schematic diagram of the structure of a data processing device provided in an embodiment of this application. Figure 3 As shown, the data processing device includes:
[0066] Transceiver unit 201 is used to receive access requests from the second device;
[0067] Processing unit 202 is used to generate a first message corresponding to the access request. The first message records log information when the first device receives the access request.
[0068] Processing unit 202 is also used to process access requests;
[0069] The processing unit 202 is also used to generate a second message corresponding to the access request, the second message recording log information when the first device completes processing the access request;
[0070] The transceiver unit 201 is also used to send a first message and a second message to the second device.
[0071] In one possible implementation, processing unit 201 is specifically used for:
[0072] When an abnormal indication for an access request is received from the second device, a first message and a second message are sent to the second device.
[0073] It should be noted that the information interaction and execution process between the modules / units in the data processing device are different from those in this application. Figure 2 The corresponding method embodiments are based on the same concept, and the details can be found in the descriptions of the method embodiments shown above in this application, which will not be repeated here.
[0074] This application also provides a computer device; please refer to [link / reference]. Figure 4 , Figure 4 This is a schematic diagram of a computer device provided in an embodiment of this application. The computer device 300 may be equipped with... Figure 3 The data processing apparatus described in the corresponding embodiment is used to implement Figure 2 Corresponding to the function of the first device in the embodiment, or, the computer device 300 may be deployed with Figure 2Corresponding to the first and second devices in the embodiments, the data processing method of this application embodiment is used to realize information interaction between components (the first and second devices) within the computer device 300. In one example, the first device may be a redundant array of independent disks (RAID) controller in the computer device 300, and the second device may be a BMC in the computer device 300. The RAID controller is used to implement... Figure 2 Corresponding to the function of the first device in the embodiment, the BMC is used to implement... Figure 2 The function of the second device in the corresponding embodiment.
[0075] In one example, the first device may include a first interface and a first memory, and the second device includes a second interface. The first interface is connected to the second interface. The first device is used to receive an access request sent by the second device through the second interface via the first interface, generate a first message and store it in the first memory. The first message records that the first device received the access request. After the first device processes the access request, it generates a second message and stores it in the first memory. The second message records that the first device has completed processing the access request. The first device is also used to send the first message and the second message to the second interface of the second device through the first interface.
[0076] In one example, the second device may include a second memory, which is configured to retrieve a first message and a second message from the first device and store the first message and the second message in the second memory when the second device determines that there is a communication anomaly with the first device.
[0077] In one example, the second device is further configured to send an interface call instruction to the first device, and the first device is further configured to obtain a first message and a second message according to the interface call instruction, and send the first message and the second message to the second device.
[0078] Of course, in other embodiments, the first device is not limited to a RAID controller, and the second device is not limited to a BMC.
[0079] For example, computer device 300 can be implemented by one or more servers. Computer device 300 can vary significantly due to different configurations or performance, and may include one or more central processing units (CPUs) 322 (e.g., one or more processors) and memory 332, and one or more storage media 330 (e.g., one or more mass storage devices) storing application programs 342 or data 344. The memory 332 and storage media 330 can be temporary or persistent storage. The program stored in storage media 330 may include one or more modules (not shown in the figure), each module may include a series of instruction operations on the computer device. Furthermore, the CPU 322 may be configured to communicate with storage media 330 and execute the series of instruction operations in storage media 330 on computer device 300.
[0080] Computer device 300 may also include one or more power supplies 326, one or more wired or wireless network interfaces 350, one or more input / output interfaces 358, and / or one or more operating systems 341, such as Windows Server. TM Mac OS X TM Unix TM Linux TM FreeBSD TM etc.
[0081] It should be noted that the information interaction and execution process between the various modules / units in the computer device are different from those in this application. Figure 2 The corresponding method embodiments are based on the same concept, and the details can be found in the descriptions of the method embodiments shown above in this application, which will not be repeated here.
[0082] This application also provides a computer program product containing instructions. The computer program product may be a software or program product containing instructions, capable of running on a computing device or stored on any usable medium. When the computer program product is run on at least one computer device, it causes the at least one computer device to perform the aforementioned actions. Figure 2 The method described in the illustrated embodiment.
[0083] This application also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium capable of being stored by a computing device, or a data storage device such as a data center containing one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive). The computer-readable storage medium includes instructions that instruct the computing device to perform the aforementioned operations. Figure 2 The method described in the illustrated embodiment.
[0084] The remote access device provided in this application embodiment can specifically be a chip, which includes a processing unit and a communication unit. The processing unit can be, for example, a processor, and the communication unit can be, for example, an input / output interface, pins, or circuits. The processing unit can execute computer execution instructions stored in the storage unit to cause the chip to perform the above-mentioned operations. Figure 2 The method described in the illustrated embodiment. Optionally, the storage unit is a storage unit within the chip, such as a register, cache, etc. The storage unit can also be a storage unit located outside the chip within the wireless access device, such as a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), etc.
[0085] It should also be noted that the device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. In addition, in the device embodiment drawings provided in this application, the connection relationship between modules indicates that they have a communication connection, which can be implemented as one or more communication buses or signal lines.
[0086] Through the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus necessary general-purpose hardware, or it can be implemented by special-purpose hardware including application-specific integrated circuits, special-purpose CPUs, special-purpose memory, special-purpose components, etc. Generally, any function performed by a computer program can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be diverse, such as analog circuits, digital circuits, or special-purpose circuits. However, for this application, software program implementation is more often the preferred implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a readable storage medium, such as a computer floppy disk, USB flash drive, mobile hard disk, ROM, RAM, magnetic disk, or optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, training equipment, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0087] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product.
[0088] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, training device, or data center to another website, computer, training device, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device or data center that integrates one or more available media. The available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid-state drives (SSDs)).
Claims
1. A data processing method, characterized in that, include: The first device receives an access request from the second device, which is a substrate management controller (BMC). The first device generates a first message corresponding to the access request, and the first message records that the first device received the access request; The first device processes the access request; The first device generates a second message corresponding to the access request, and the second message records that the first device has completed processing the access request; The first device sends the first message and the second message to the second device.
2. The method according to claim 1, characterized in that, The first device sends the first message and the second message to the second device, including: In response to the first device receiving an abnormal indication from the second device regarding the access request, the first device sends the first message and the second message to the second device.
3. The method according to claim 1, characterized in that, The method is applied to a first device, wherein the first device and the second device are different hardware devices deployed in the first device.
4. The method according to claim 3, characterized in that, The first device is a disk array RAID controller.
5. The method according to any one of claims 1 to 4, characterized in that, The first message includes at least the moment when the first device receives the access request.
6. The method according to any one of claims 1 to 4, characterized in that, The second message includes at least the second time when the first device completes processing the access request.
7. The method according to any one of claims 1 to 4, characterized in that, The first device sends the first message and the second message to the second device, including: The first device receives an interface call instruction from the second device; The first device obtains the first message and the second message according to the interface call instruction; The first device sends the first message and the second message to the second device.
8. A computer device, characterized in that, The device includes a first device and a second device. The first device includes a first interface and a first memory. The second device is a Baseboard Management Controller (BMC) and includes a second interface. The first interface is connected to the second interface. The first device is used to receive an access request sent by the second device through the second interface via the first interface, generate a first message and store it in the first memory. The first message records that the first device received the access request. After the first device processes the access request, it generates a second message and stores it in the first memory. The second message records that the first device has completed processing the access request. The first device is also used to send the first message and the second message to the second interface of the second device through the first interface.
9. The computer device according to claim 8, characterized in that, The second device includes a second memory, which is configured to, when the second device determines that there is a communication anomaly with the first device, obtain a first message and a second message from the first device and store the first message and the second message in the second memory.
10. The computer device according to claim 8 or 9, characterized in that, The second device is further configured to send an interface call instruction to the first device, and the first device is further configured to obtain the first message and the second message according to the interface call instruction, and send the first message and the second message to the second device.
Citation Information
Patent Citations
Computer system, access method of peripheral component interconnect express terminal device, and device
CN103797469A
Log recording method and device
CN110611592A
