Bus monitoring apparatus and control method, network card, electronic device and storage medium

By monitoring the received and transmitted data at the network card bus end through the bus monitoring device, detailed bus monitoring data is generated, which solves the problem of difficult monitoring of PCIe link status and realizes the accuracy of fault diagnosis and system stability.

CN119945941BActive Publication Date: 2025-11-04INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510121453.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-24
Publication Date
2025-11-04
Estimated Expiration
2045-01-24

AI Technical Summary

Technical Problem

Existing technologies cannot effectively monitor the status of PCIe links, making fault diagnosis difficult and making it impossible to accurately determine the cause of PCIe link anomalies.

Method used

A bus monitoring device is provided, comprising a receiving monitoring module, a transmitting monitoring module, and a trigger output module, which respectively monitor the received and transmitted data at the network card bus end, generate detailed bus monitoring data, and send the data to an external analysis module for data analysis through the trigger output module.

Benefits of technology

It enables detailed monitoring of the PCIe link, accurately identifies the source of faults, improves the accuracy and efficiency of fault diagnosis, reduces the time and manpower costs of troubleshooting, and ensures stable system operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119945941B_ABST
    Figure CN119945941B_ABST
Patent Text Reader

Abstract

The present disclosure provides a bus monitoring device and control method, a network card, an electronic device and a storage medium. The receiving monitoring module is in communication connection with the network card bus end, is used for monitoring the bus data received by the network card bus end, and generates first bus monitoring data. The sending monitoring module is in communication connection with the network card bus end, is used for monitoring the bus data sent by the network card bus end, and generates second bus monitoring data. The trigger output module is in communication connection with the receiving monitoring module and the sending monitoring module respectively, is used for sending the first bus monitoring data and / or the second bus monitoring data to an external analysis module, so as to analyze the bus connection state. Compared with the related art, the present embodiment can comprehensively obtain the flow of the bus data by monitoring the received and sent data of the network card bus end respectively, can realize real-time monitoring of the network card bus connection state, and can guarantee stable operation of the system.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of servers, and in particular to a bus monitoring device and control method, a network card, an electronic device, and a storage medium. BACKGROUND

[0002] In a computer system, a network card plays a vital role. It serves as an interface for data interaction with the outside world and undertakes the key task of data exchange. Specifically, the data received and sent by the network card are exchanged with the CPU of the whole machine through a Peripheral Component Interconnect Express (PCIe) link. Therefore, the signal quality of the PCIe link has a direct and significant impact on the data accuracy of the network card in external communication.

[0003] In actual applications, when an abnormality occurs in the PCIe link, it is difficult to accurately determine the cause. Generally, the commonly used preliminary judgment method is to use the Basic Input / Output System (BIOS) and the serial port log of the network card to analyze the fault, but this method can only provide limited information. In addition, the network card and the CPU exchange data through the PCIe bus. When a problem occurs, the network card will report a Correctable Error (CE) and an Uncorrectable Error (UCE) to prompt the abnormal state of the link, and the corresponding state log will also be recorded in the BIOS. However, these reported information can only indicate the result of the problem, which is very coarse-grained information and cannot find the real cause of the problem. Therefore, how to monitor the PCIe link has become a problem to be solved. SUMMARY

[0004] The present disclosure provides a bus monitoring device and control method, a network card, an electronic device, and a storage medium. The main purpose is to solve the problem that the PCIe link cannot be effectively monitored.

[0005] According to a first aspect of the present disclosure, a bus monitoring device is provided, comprising: a receiving monitoring module, a sending monitoring module, and a trigger output module.

[0006] The receiving monitoring module is in communication connection with the network card bus end, and is configured to monitor the bus data received by the network card bus end to generate first bus monitoring data.

[0007] The sending monitoring module is in communication connection with the network card bus end, and the sending monitoring module is configured to monitor the bus data sent by the network card bus end to generate second bus monitoring data.

[0008] The trigger output module is in communication connection with the receiving monitoring module and the sending monitoring module respectively, and is configured to send the first bus monitoring data and / or the second bus monitoring data to an external analysis module, so as to analyze the bus connection state.

[0009] In some embodiments, the device further comprises a trigger input module.

[0010] The trigger input module is in communication connection with the receiving monitoring module and the sending monitoring module respectively, and is configured to receive configuration parameters of the receiving monitoring module and the sending monitoring module, and to configure the receiving monitoring module and the sending monitoring module with the configuration parameters.

[0011] In some embodiments, the configuration parameters comprise first configuration parameters, and the receiving monitoring module comprises a first control unit, a first configuration unit, a first trigger unit, and a first cache area.

[0012] The first configuration unit is in communication connection with the trigger input module, and is configured to store the first configuration parameters written by the trigger input module.

[0013] The first control unit is in communication connection with the first configuration unit and the first trigger unit respectively, and is configured to generate a first monitoring rule according to the first configuration parameters, and to send the first monitoring rule to the first trigger unit for configuration.

[0014] The first trigger unit is configured to monitor bus data sent by the processor to the network card bus end according to the first monitoring rule, to collect bus data triggering the first monitoring rule, and to generate the first bus monitoring data.

[0015] The first cache area is in communication connection with the first trigger unit, and is configured to store the first bus monitoring data collected by the first trigger unit.

[0016] In some embodiments, the configuration parameters comprise second configuration parameters, and the sending monitoring module comprises a second control unit, a second configuration unit, a second trigger unit, and a second cache area.

[0017] The second configuration unit is in communication connection with the trigger input module, and is configured to store the second configuration parameters written by the trigger input module.

[0018] The second control unit is in communication connection with the second configuration unit and the second trigger unit respectively, and is configured to generate a second monitoring rule according to the second configuration parameters, and to send the second monitoring rule to the second trigger unit for configuration.

[0019] The second trigger unit is configured to monitor the bus data transmitted from the network card bus end to the processor according to the second monitoring rule, and collect the bus data triggering the second monitoring rule to generate the second bus monitoring data.

[0020] The second cache area is in communication connection with the second trigger unit, and is configured to store the second bus monitoring data collected by the second trigger unit.

[0021] In some embodiments, the trigger output module is in communication connection with the first cache area and the second cache area respectively, and is configured to acquire the first bus monitoring data and the second bus monitoring data, and transmit the first bus monitoring data and / or the second bus monitoring data to an external analysis module, so that the external analysis module performs data analysis on the connection state of the target bus between the processor and the network card bus end, and determines whether the target bus is faulty.

[0022] In some embodiments, the configuration parameters include a running control instruction set, a parameter setting mode, and an information capture trigger rule.

[0023] In some embodiments, the external analysis module includes any one of a baseboard management controller, an operating system, and a computing device connected with a network card serial port.

[0024] In some embodiments, the device further includes a clock synchronization module.

[0025] The clock synchronization module is in communication connection with the receiving monitoring module and the transmitting monitoring module respectively, and is configured to acquire a clock signal and perform clock synchronization processing on the receiving monitoring module and the transmitting monitoring module.

[0026] According to a second aspect of the present disclosure, a control method of a bus monitoring device is provided, and the method includes:

[0027] In response to a parameter configuration instruction, the receiving monitoring module and the transmitting monitoring module are configured with the received configuration parameters;

[0028] Based on the configuration parameters, the bus data received by the network card bus end and the bus data transmitted by the network card bus end are monitored to generate first bus monitoring data and second bus monitoring data respectively;

[0029] The first bus monitoring data and / or the second bus monitoring data are transmitted to an external analysis module for data analysis on the bus connection state.

[0030] In some embodiments, the configuration parameters include first configuration parameters and second configuration parameters, and the receiving monitoring module and the transmitting monitoring module are configured with the received configuration parameters, including:

[0031] generating a first monitoring rule according to the first configuration parameter, and sending the first monitoring rule to a first trigger unit of the receiving monitoring module for configuration;

[0032] generating a second monitoring rule according to the second configuration parameter, and sending the second monitoring rule to a second trigger unit of the sending monitoring module for configuration.

[0033] In some embodiments, the monitoring of the bus data received by the network card bus end and the bus data sent by the network card bus end based on the configuration parameter respectively generates first bus monitoring data and second bus monitoring data, including:

[0034] monitoring the bus data sent by the processor to the network card bus end according to the first monitoring rule, and collecting the bus data triggering the first monitoring rule to generate the first bus monitoring data;

[0035] monitoring the bus data sent by the network card bus end to the processor according to the second monitoring rule, and collecting the bus data triggering the second monitoring rule to generate the second bus monitoring data.

[0036] According to a third aspect of the present disclosure, a network card is provided, which comprises the bus monitoring device of the first aspect.

[0037] According to a fourth aspect of the present disclosure, an electronic device is provided, which comprises:

[0038] at least one processor; and

[0039] a memory in communication connection with the at least one processor; wherein

[0040] The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method of the second aspect.

[0041] According to a fifth aspect of the present disclosure, a non-transitory computer readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the method of the second aspect.

[0042] According to a sixth aspect of the present disclosure, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the method of the second aspect.

[0043] The bus monitoring device and the control method, the network card, the electronic device and the storage medium are provided, the receiving monitoring module is in communication connection with the network card bus end, is used for monitoring the bus data received by the network card bus end, and first bus monitoring data is generated, the sending monitoring module is in communication connection with the network card bus end, and the sending monitoring module is used for monitoring the bus data sent by the network card bus end, and second bus monitoring data is generated, the trigger output module is in communication connection with the receiving monitoring module and the sending monitoring module respectively, and is used for sending the first bus monitoring data and / or the second bus monitoring data to the external analysis module, so as to analyze the bus connection state. Compared with the related art, the embodiment of the present application can comprehensively obtain the flow of bus data by monitoring the received and sent data of the network card bus end respectively; once a problem occurs, detailed first bus monitoring data and second bus monitoring data can be used for in-depth analysis, and it can be judged whether the receiving process or the sending process fails or whether the bus connection itself has a problem, so that the accuracy and efficiency of fault diagnosis are greatly improved, and the time and labor cost required for troubleshooting are reduced; real-time monitoring of the network card bus connection state can be realized, and stable operation of the system is ensured.

[0044] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the application, nor is it intended to limit the scope of the application. Other features of the application will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS

[0045] The accompanying drawings are used to better understand the scheme, and do not constitute a limitation on the present disclosure. Among them:

[0046] Figure 1 A structure schematic diagram of a bus monitoring device provided by an embodiment of the present disclosure is provided;

[0047] Figure 2 A structure schematic diagram of another bus monitoring device provided by an embodiment of the present disclosure is provided;

[0048] Figure 3 A structure schematic diagram of another bus monitoring device provided by an embodiment of the present disclosure is provided;

[0049] Figure 4 A structure schematic diagram of another bus monitoring device provided by an embodiment of the present disclosure is provided;

[0050] Figure 5 A flowchart of a control method of a bus monitoring device provided by an embodiment of the present disclosure is provided;

[0051] Figure 6 A schematic block diagram of an example electronic device provided by an embodiment of the present disclosure is provided. DETAILED DESCRIPTION

[0052] Exemplary embodiments of the present disclosure are described herein with reference to the accompanying drawings, which are cited as illustrative examples. Various details of the embodiments of the present disclosure are described herein in order to provide a thorough understanding of the embodiments. It will be understood by those of ordinary skill in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Also, for the sake of brevity and clarity, various well-known functions or constructions are not described in detail herein.

[0053] In the server rack architecture, the network card serves as a key external data interaction hub and shoulders the heavy responsibility of ensuring smooth data exchange. The data received and sent by the network card must be transmitted and connected with the CPU of the whole machine via the PCIe link, and therefore, the signal quality of the PCIe link directly determines the accuracy of data communication. It is not easy to accurately determine the root cause of the PCIe link once an abnormal condition occurs. The conventional method is to first use the BIOS and network card serial port log for preliminary troubleshooting, but this can only provide limited clues. The related art has significant limitations in handling PCIe link problems, and the information acquisition is subject to many prerequisite restrictions. In many actual scenarios, it is even impossible to successfully capture the problem log, and it is difficult to meet the actual needs.

[0054] The bus monitoring device and control method, the network card, the electronic equipment and the storage medium provided by the embodiments of the present disclosure are described below with reference to the accompanying drawings.

[0055] Figure 1 A structural schematic diagram of a bus monitoring device provided by an embodiment of the present disclosure. The device comprises: a receiving monitoring module 11, a sending monitoring module 12, and a trigger output module 13.

[0056] The receiving monitoring module 11 is in communication connection with the network card bus end 2, and is configured to monitor the bus data received by the network card bus end 2, and generate first bus monitoring data.

[0057] In the embodiments of the present disclosure, in order to better monitor and control the bus between the processor 4 and the network card, the embodiments of the present disclosure monitor the connection state of the bus by integrating the bus control device in the network card. The bus data sent by the processor 4 to the network card is monitored by the receiving monitoring module 11, and the embodiments of the present disclosure do not limit the use of the bus by the bus using any communication protocol. The receiving monitoring module 11 establishes a close communication connection with the network card bus end 2 through a high-speed, stable and adaptive connection link of the communication protocol of the network card bus end 2. During system operation, the receiving monitoring module 11 performs all-around and fine monitoring operations on various bus data continuously received by the network card bus end 2. It can collect and deeply analyze the key information such as the size of the data flow, the rate change of the data transmission, the integrity check result of the data, and the source and target address of the data at a very high frequency. Through complex and precise algorithm processing, the collected raw data is converted into first bus monitoring data with high reference value. These data not only record the real-time state of the received data in detail, but also reflect the potential problems or abnormal trends that may exist in the data receiving process, providing solid and reliable basic data support for subsequent system analysis and troubleshooting.

[0058] The sending monitoring module 12 is in communication connection with the network card bus end 2, and the sending monitoring module 12 is configured to monitor the bus data sent by the network card bus end 2 and generate second bus monitoring data.

[0059] In the embodiments of the present disclosure, the sending monitoring module 12 establishes a communication connection with the network card bus end 2 through a communication link, and the communication link is configured according to the communication protocol standard of the network card bus end 2 to ensure the accuracy and reliability of data transmission. During the operation of the entire system, the sending monitoring module 12 plays an important monitoring function, and it monitors the bus data being sent by the network card through the network card bus end 2.

[0060] The sending monitoring module 12 can accurately capture various key information of the data during sending, including but not limited to the sending frequency of the data, the size of the data packet, the transmission sequence of the data, the time stamp of the transmission, and the signal strength during the sending process. At the same time, it will strictly check the encoding format of the data, the integrity of the data packet header and the packet tail, to ensure the standardization of the data. Through the built-in efficient data processing algorithm, various raw information related to the sending data collected is sorted and analyzed, and it is converted into second bus monitoring data with clear meaning and reference value.

[0061] These second bus monitoring data detailedly record the complete information of the data sent by the network card bus end 2, not only cover the real-time state information in the data sending process, but also can analyze the potential risk factors that may exist according to the transmission characteristics and historical records of the data, such as data loss, data delay or transmission error and the like. It provides indispensable data basis for subsequent system performance evaluation, fault troubleshooting and network optimization, and helps to maintain the stable operation and efficient communication of the whole system.

[0062] The trigger output module 13 is in communication connection with the receiving monitoring module 11 and the sending monitoring module 12 respectively, and is used for sending the first bus monitoring data and / or the second bus monitoring data to the external analysis module 3, so as to perform data analysis on the bus connection state.

[0063] In the embodiment of the present disclosure, the trigger output module 13 is in communication connection with the receiving monitoring module 11 and the sending monitoring module 12 respectively through a communication channel. This connection ensures the stability and timeliness of data transmission, so as to respond quickly when needed. During the system operation, the trigger output module 13 undertakes an important data transmission task, and it can accurately and correctly send the first bus monitoring data generated by the receiving monitoring module 11 and / or the second bus monitoring data generated by the sending monitoring module 12 to the external analysis module 3 according to the preset trigger condition or the preset monitoring rule. The trigger output module 13 has various trigger mechanisms, for example, it can perform timing triggering according to time interval, or perform conditional triggering according to specific attributes of the monitoring data (such as data volume exceeding threshold value, abnormal data appearing and the like), and the embodiment of the present disclosure does not limit the trigger condition for outputting the bus monitoring data. When triggered, the trigger output module 13 will perform necessary packaging and processing on the corresponding bus monitoring data, so as to ensure the integrity and recognizability of the data in the transmission process.

[0064] These bus monitoring data contain rich information, cover multiple aspects such as data flow, transmission rate, data integrity, error marking and the like, and are the comprehensive record of the bus connection state. After being sent to the external analysis module 3, the external analysis module 3 can utilize these data to perform in-depth data analysis. Through comprehensive analysis of the first bus monitoring data and the second bus monitoring data, the external analysis module 3 can judge whether the bus connection is stable, whether the data transmission is smooth, whether there are problems such as data loss or error and the like, so as to provide strong support for optimizing the bus connection, improving the system performance and solving the potential fault hidden danger. In this way, the trigger output module 13 becomes an important bridge connecting the internal monitoring module and the external analysis module 3, and it transmits the internal monitoring data through it, realizes comprehensive and detailed data analysis on the bus connection state, and guarantees the stable operation and efficient performance of the whole system.

[0065] The present disclosure provides a bus monitoring device, a receiving monitoring module is in communication connection with a network card bus end, and is used for monitoring bus data received by the network card bus end to generate first bus monitoring data; a sending monitoring module is in communication connection with the network card bus end, and is used for monitoring bus data sent by the network card bus end to generate second bus monitoring data; and a trigger output module is in communication connection with the receiving monitoring module and the sending monitoring module respectively, and is used for sending the first bus monitoring data and / or the second bus monitoring data to an external analysis module, so as to perform data analysis on a bus connection state. Compared with related technologies, the embodiment of the present disclosure can comprehensively obtain the flow situation of bus data by respectively monitoring the received and sent data of the network card bus end; once a problem occurs, in-depth analysis can be performed based on the detailed first bus monitoring data and the second bus monitoring data, and it is accurately judged whether a fault occurs in a receiving process or a sending process, or whether a problem occurs in the bus connection itself, which greatly improves the accuracy and efficiency of fault diagnosis, reduces the time and labor cost required for problem checking, and realizes real-time monitoring of the network card bus connection state, thereby guaranteeing stable operation of the system.

[0066] Further, in a possible implementation manner of the embodiment, as shown in Figure 2 The device further includes a trigger input module 14.

[0067] The trigger input module 14 is in communication connection with the receiving monitoring module 11 and the sending monitoring module 12 respectively, and is used for receiving configuration parameters of the receiving monitoring module 11 and the sending monitoring module 12, and performing parameter configuration on the receiving monitoring module 11 and the sending monitoring module 12.

[0068] Specifically in the embodiment, the bus monitoring device further integrates the trigger input module 14, which establishes a close and efficient bidirectional communication connection with the receiving monitoring module 11 and the sending monitoring module 12 by using a high-speed, stable and powerful anti-interference communication line. Specifically in the embodiment, the PCIe link between the processor and the network card is mainly monitored, and the present disclosure is not limited to monitoring a communication bus corresponding to a communication protocol, for example, the PCIe link in the embodiment.

[0069] During system startup or operation, the trigger input module 14 receives various configuration parameters from an external control unit or a preset configuration system. These configuration parameters cover a wide range of information, including but not limited to monitoring sensitivity settings for different data types, such as setting a higher sensitivity for critical business data to ensure that any subtle abnormal changes are captured in a timely manner; precise setting of data flow thresholds, defining the boundaries between normal and abnormal flow based on the actual carrying capacity and performance requirements of the system; and adaptation parameters for specific data transmission modes or protocols to ensure that the monitoring module can accurately parse and process various complex data transmission scenarios.

[0070] Once these configuration parameters are received, the trigger input module 14 quickly analyzes and verifies the received parameters to ensure their accuracy and integrity. Subsequently, based on the analysis results, the trigger input module 14 accurately transmits the processed and adapted parameters to the receiving monitoring module 11 and the sending monitoring module 12 through the control signal output port. For the receiving monitoring module 11, the trigger input module 14 adjusts the data acquisition frequency, data filtering rules, and abnormal detection algorithms of the receiving monitoring module 11 based on the received configuration parameters. For example, if the configuration parameters require improved monitoring accuracy for a certain type of data, the trigger input module 14 will accordingly increase the sampling frequency of the receiving monitoring module 11 for that type of data and optimize its data filtering and analysis algorithms to ensure timely detection of potential problems. Similarly, for the sending monitoring module 12, the trigger input module 14 configures the verification level, sending buffer size, and sending priority strategy of the sending data based on the configuration parameters. For example, when the system is in a high load state, the trigger input module 14 can dynamically adjust the sending strategy of the sending monitoring module 12 based on the preset configuration parameters to prioritize the timely sending of critical data while reasonably controlling the flow of non-critical data to avoid network congestion.

[0071] Further, in a possible implementation manner of the embodiment, as shown in Figure 2 the configuration parameters include: first configuration parameters; the receiving monitoring module 11 includes: a first control unit 111, a first configuration unit 112, a first trigger unit 113, and a first buffer 114;

[0072] The first configuration unit 112 is in communication connection with the trigger input module 14, configured to store the first configuration parameters written by the trigger input module 14;

[0073] The first control unit 111 is in communication connection with the first configuration unit 112 and the first trigger unit 113, respectively, configured to generate a first monitoring rule based on the first configuration parameters and send the first monitoring rule to the first trigger unit 113 for configuration.

[0074] The first trigger unit is configured to monitor bus data sent by the processor 4 to the network card bus end 2 according to the first monitoring rule, and collect bus data triggering the first monitoring rule to generate the first bus monitoring data.

[0075] The first cache area 114 is in communication connection with the first trigger unit 113, and is configured to store the first bus monitoring data collected by the first trigger unit 113.

[0076] In particular, in the embodiment, the first configuration parameter is a configuration parameter configured for the receiving monitoring module. In the architecture of the device, the first configuration parameter in the configuration parameter plays a core regulating role. The receiving monitoring module 11 closely related thereto is composed of multiple sub-units with different functions but closely coordinated, as shown in the figure, which includes a first control unit 111, a first configuration unit 112, a first trigger unit 113 and a first cache area 114. Figure 3

[0077] The first configuration unit 112, as an important component for receiving and storing key configuration information, establishes stable and efficient communication connection with the trigger input module 14 by using a communication interface. When the trigger input module 14 receives the first configuration parameter from the upper layer of the system or an external management device, it will write these parameters into the first configuration unit 112 according to strict communication protocols and data transmission specifications. The first configuration unit 112 is internally equipped with a large-capacity, high-speed read-write storage medium, which can ensure that the stored first configuration parameters remain complete and stable during system operation, are not affected by external interference and system fluctuations, and are ready for subsequent processing and calling at any time.

[0078] The first control unit 111 realizes interfacing and communication with the first configuration unit 112 and the first trigger unit 113 through communication links. Once the first configuration unit 112 successfully stores new first configuration parameters, the first control unit 111 will perform in-depth analysis and comprehensive analysis on these parameters. Based on complex algorithms and system preset rule systems, the first control unit 111 can extract key monitoring elements from the first configuration parameters, and generate a set of detailed, accurate and highly targeted first monitoring rules based thereon. Subsequently, the first control unit 111 will send the generated first monitoring rules to the first trigger unit 113 using its high-speed data transmission channel, to ensure that the first trigger unit 113 can obtain the latest monitoring instructions in time and make corresponding configuration adjustments.

[0079] ​The first trigger unit 113 directly monitors the bus data sent from the processor 4 to the network card bus 2. Upon receiving the first monitoring rule from the first control unit 111, the first trigger unit 113 quickly and dynamically configures and optimizes its internal monitoring circuitry and data acquisition program. During system operation, the first trigger unit 113 performs detailed bit-by-bit and frame-by-frame monitoring and in-depth analysis of the bus data according to the various monitoring indicators and trigger conditions set in the first monitoring rule. Once a situation is found in the bus data that meets the trigger conditions in the first monitoring rule, the first trigger unit 113 immediately activates its efficient data acquisition mechanism to collect the bus data that triggers the first monitoring rule, performs preliminary processing and analysis on this data, and finally generates the first bus monitoring data.

[0080] The first buffer 114 serves as a temporary storage area for the first bus monitoring data and is connected to the first trigger unit 113 via a high-speed, stable communication connection. When the first trigger unit 113 generates the first bus monitoring data, it stores this data in the first buffer 114 promptly and reliably according to a preset storage strategy and data transmission protocol. The first buffer 114 employs advanced cache management technology and a large-capacity storage medium, ensuring the integrity and readability of the stored first bus monitoring data for a certain period, providing strong support for subsequent data transmission and further analysis and processing. Simultaneously, the first buffer 114 also possesses certain data caching optimization functions, dynamically adjusting and optimizing the stored data based on its importance and access frequency, improving data storage and retrieval efficiency, and ensuring the efficient operation of the entire receiving and monitoring module 11.

[0081] Furthermore, in one possible implementation of this embodiment, such as Figure 2 As shown, the configuration parameters include: second configuration parameters; the sending monitoring module 12 includes: second control unit 121, second configuration unit 122, second triggering unit 123, and second buffer 124;

[0082] The second configuration unit 122 is communicatively connected to the trigger input module 123 and is used to store the second configuration parameters written by the trigger input module 14;

[0083] The second control unit 121 is communicatively connected to the second configuration unit 122 and the second trigger unit 123, respectively, and is used to generate a second monitoring rule according to the second configuration parameters and send the second monitoring rule to the second trigger unit 1231 for configuration;

[0084] The second trigger unit 123 is configured to monitor the bus data transmitted by the network card bus end 2 to the processor 4 according to the second monitoring rule, and collect the bus data triggering the second monitoring rule to generate the second bus monitoring data.

[0085] The second cache area 124 is in communication connection with the second trigger unit 123, and is configured to store the second bus monitoring data collected by the second trigger unit 123.

[0086] In the embodiment, the second configuration parameter is a configuration parameter configured for the sending monitoring module. In the architecture of the device, the second configuration parameter is a key element to ensure the accurate operation of the sending monitoring module 12. The sending monitoring module 12 is mainly composed of the second control unit 121, the second configuration unit 122, the second trigger unit 123 and the second cache area 124 and other core sub-units, and each sub-unit closely cooperates to realize the monitoring of the data sending process.

[0087] The second configuration unit 122 is connected with the trigger input module 14 through a communication link. When the system starts the configuration process or needs to update the configuration during the running process, the trigger input module 14 will transmit the second configuration parameter to the second configuration unit 122. The second control unit 121 undertakes the core command and coordination responsibilities in the whole sending monitoring process, and it establishes communication connection with the second configuration unit 122 and the second trigger unit 123 through high-speed and reliable internal communication lines. Once the second configuration unit 122 successfully receives and stores the new second configuration parameter, the second control unit 121 will comprehensively and deeply analyze these parameters. After a series of operations and logical judgments, the second control unit 121 can accurately extract the key monitoring elements from the second configuration parameter, and generate a set of highly customized, detailed and rigorous second monitoring rules based on this. Then, the second control unit 121 will use its high-speed data transmission interface to transmit the generated second monitoring rules to the second trigger unit 123 with high efficiency and accuracy, to ensure that the second trigger unit 123 can obtain the latest monitoring instructions in time and make corresponding parameter configuration and function adjustment.

[0088] The second triggering unit 123 is an execution unit for real-time monitoring of the bus data sent directly to the processor 4 by the network card bus end 2. After receiving the second monitoring rule sent by the second control unit 121, the second triggering unit 123 will immediately start its internal configuration program, and dynamically optimize and accurately adjust the monitoring circuit, data acquisition module and analysis algorithm of itself according to the specific requirements of the second monitoring rule. In the process of continuous operation of the system, the second triggering unit 123 will monitor and analyze the bus data in depth and in detail byte by byte and packet by packet according to the strict monitoring indicators and triggering conditions set in the second monitoring rule. Once the triggering condition defined in the second monitoring rule is detected in the bus data, the second triggering unit 123 will quickly start its efficient data acquisition process, accurately capture the bus data triggering the second monitoring rule, and perform real-time arrangement, analysis and preliminary processing on these data, and finally generate second bus monitoring data with important reference value.

[0089] The second cache area 124 is a key buffer area for temporarily storing the second bus monitoring data, and is closely connected with the second triggering unit 123 by using high-speed and stable communication connection. When the second triggering unit 123 successfully generates the second bus monitoring data, it will store these data in the second cache area 124 in time and reliably according to the pre-set efficient storage strategy and data transmission protocol.

[0090] Further, in a possible implementation manner of the embodiment, as shown in Figure 2 The triggering output module 13 is respectively connected with the first cache area 114 and the second cache area 124 in communication, and is used for acquiring the first bus monitoring data and the second bus monitoring data, and sending the first bus monitoring data and / or to the external analysis module 3, so that the external analysis module 3 performs data analysis on the connection state of the target bus between the processor 4 and the network card bus end 2, and determines whether the target bus appears fault.

[0091] Specifically in the present embodiment, the trigger output module 13 establishes data connection channels with the first cache area 114 and the second cache area 124 respectively through a communication link. During the operation of the system, the trigger output module 13 accurately acquires the latest generated first bus monitoring data from the first cache area 114 according to a preset time interval or based on a specific trigger condition. These first bus monitoring data contain rich information, including the real-time change of the data flow sent by the processor 4 to the network card bus end 2, the error code information in the data transmission process, the fluctuation of the data transmission rate, and the integrity check result of the data packet header and tail, etc. At the same time, the trigger output module 13 also acquires the second bus monitoring data from the second cache area 124 in the same efficient way, which records the relevant characteristics of the bus data sent by the network card bus end 2 to the processor 4, such as the dynamic change of the sending frequency, the distribution of the data packet size, the accuracy of the data coding format, and the delay information of the data in the transmission process, etc.

[0092] After acquiring the first bus monitoring data and the second bus monitoring data, the trigger output module 13 will further arrange, package and encapsulate these data according to the pre-set complex data processing rules and transmission protocols. Under the premise of ensuring the integrity and accuracy of the data, the trigger output module 13 will send the processed first bus monitoring data and / or second bus monitoring data to the external analysis module 3 according to a specific transmission method.

[0093] The external analysis module 3, as a professional unit for in-depth analysis and diagnosis of the connection state of the bus, will immediately start a series of advanced data analysis algorithms and intelligent diagnosis programs built-in after receiving the data sent by the trigger output module 13. It will first analyze and classify the data comprehensively, and extract the key indicators and feature information. By comprehensively using these analysis means and rich experience data accumulated for a long time, the external analysis module 3 can comprehensively, deeply and accurately analyze the connection state of the target bus between the processor 4 and the network card bus end 2. Finally, based on the detailed analysis results, the external analysis module 3 can accurately determine whether the target bus has a fault. If a fault is found, it can further diagnose and report the type, severity and possible cause of the fault, providing key decision basis and technical support for subsequent fault repair and system optimization, and effectively guaranteeing the stable operation and high efficiency of the entire system.

[0094] Further, in a possible implementation manner of the present embodiment, the configuration parameters include: a running control instruction set, a parameter setting mode, and an information capture trigger rule.

[0095] Specifically in the present embodiment, the configuration parameters serve as the core elements, mainly covering three key components: a set of operation control instructions, a parameter setting mode, and an information capture trigger rule. That is, the first configuration parameters and the second configuration parameters include the set of operation control instructions, the parameter setting mode, and the information capture trigger rule.

[0096] The set of operation control instructions is a series of designed and strictly defined control instruction sequences. These instructions are compiled based on the functional requirements and performance targets of the system, covering operation guidance for each stage from system initialization, daily operation, to exception handling. The parameter setting mode provides a standardized and normalized parameter configuration framework and method for the system. It defines the value range, data type, precision requirement, and mutual relationship of various parameters in detail. For different system functions and application scenarios, the parameter setting mode provides diversified configuration templates and strategies. The information capture trigger rule is the key basis for the system to achieve accurate data monitoring and effective information extraction. It is based on the feature analysis of various data in the system running process and the in-depth understanding of the business logic, and defines a series of trigger conditions and event mechanisms. These trigger rules cover multiple dimensions such as the content features of data, traffic changes, time series laws, and system state information.

[0097] Further, in a possible implementation manner of the present embodiment, the external analysis module 3 includes any one of a baseboard management controller 31, an operating system 32, and a computing device 33 connected with a network card serial port.

[0098] Specifically in the present embodiment, the external analysis module 3 serves as the key part for deep profiling and diagnosis of system running data, as shown in FIG. 1, and its specific implementation forms include three types: a baseboard management controller (BMC) 31, an operating system (host) 32, and a computing device 33 connected with a network card serial port. Each type plays a unique and indispensable role in the system. Figure 4

[0099] ​The baseboard management controller 31, as one of the core management components of the server system, undertakes important basic management and monitoring responsibilities in the out-of-band analysis module 3. It is closely connected with various hardware devices in the system through a specially designed hardware interface and communication protocol, and can obtain real-time state information and running data of the system hardware, including but not limited to the temperature, voltage, fan speed and other key parameters of the processor, as well as the usage of the memory, the read-write state of the hard disk and the connection state of the network card. The PCIe interaction information obtained by the baseboard management controller 31 is output to the baseboard management controller 31 through the out-of-band management mode. The BMC can store the obtained PCIe interaction information in the external storage space of the BMC. The BMC 31 is built-in with a set of powerful hardware monitoring and diagnosis programs, which can deeply analyze the obtained hardware data based on a rich hardware knowledge base and fault diagnosis algorithm.

[0100] The operating system 32 interacts with the network card through a driver program and can obtain runtime information of the network card and the bus monitoring device of the present disclosure, including but not limited to the running state of the process, the allocation of system resources, the detailed information of network connection and the performance data of the application program. The operating system 32 is built-in with a large number of system performance analysis tools and diagnosis software, which can perform multi-dimensional analysis on the bus monitoring data received from the trigger output module 13.

[0101] The computing device 33 connected with the network card serial port provides a flexible and convenient external data analysis approach for the system. This computing device can usually be a notebook computer or a special test device, which establishes a stable connection channel with the network card through a serial communication protocol. During the system running process, the computing device 33 can run user-defined data analysis software or script programs, which can perform personalized analysis and processing on the bus monitoring data received from the network card according to the specific needs of the user.

[0102] Further, in a possible implementation manner of the embodiment, as shown in Figure 2 the device further comprises a clock synchronization module 15;

[0103] The clock synchronization module 15 is respectively in communication connection with the receiving monitoring module 11 and the sending monitoring module 12, and is used for obtaining a clock signal and performing clock synchronization processing on the receiving monitoring module 11 and the sending monitoring module 12.

[0104] Specifically in the embodiment, the clock synchronization module 15 is one of the key elements to ensure the stable and accurate operation of the system. The module 15 establishes a close and reliable connection with the receiving monitoring module 11 and the sending monitoring module 12 respectively by means of a carefully designed high-speed and anti-interference communication link, thereby building an efficient clock synchronization system. The clock synchronization module 15 can be connected to a special time server through a network to obtain standard time information and synchronize the device clock; or a special high-precision clock chip can be used inside the device to compare and calibrate with an external reference clock (such as the clock signal of the processor or other standard clock sources) to stabilize and synchronize the clock itself. Therefore, the embodiment of the present disclosure is not limited in this regard, and the clock synchronization module 15 can be in the form of an interface or a specially set clock chip.

[0105] During the operation of the system, the clock synchronization module 15 continuously obtains the clock signal and uses complex synchronization algorithms and accurate timestamp technology to perform clock synchronization processing on the receiving monitoring module 11. For the receiving monitoring module 11, accurate clock synchronization is crucial. It enables the receiving monitoring module 11 to accurately sample and analyze the bus data received by the network card bus end 2 under a unified time reference. Similarly, the clock synchronization module 15 also performs strict clock synchronization operations on the sending monitoring module 12. In the sending monitoring module 12, accurate clock synchronization ensures the accuracy and consistency of the transmitted data in time. When the sending monitoring module 12 monitors and processes the bus data transmitted by the network card bus end 2, the synchronized clock ensures that the transmission timing of the data conforms to the system specification, preventing data transmission chaos or errors caused by clock desynchronization.

[0106] In summary, the embodiment of the present disclosure has the following beneficial effects:

[0107] 1. The receiving and sending data of the network card bus end can be effectively monitored to generate first bus monitoring data and second bus monitoring data, respectively, providing comprehensive data support for analyzing the bus from the processor to the network card.

[0108] 2. By monitoring according to the first and second monitoring rules, various abnormal conditions of the data in the transmission process can be found in time.

[0109] 3. The collected data contains rich bus-related information, which helps to accurately locate the problem source, provides a strong basis for fault troubleshooting, system performance evaluation and optimization, data security analysis, and ensures stable operation of the system.

[0110] Figure 5 The flowchart of the control method of the bus monitoring device provided by the embodiment of the present disclosure is shown.

[0111] As Figure 5As shown, the method comprises the following steps:

[0112] Step 501, in response to the parameter configuration instruction, using the received configuration parameters to configure the receiving monitoring module and the sending monitoring module.

[0113] Step 502, based on the configuration parameters, monitoring the bus data received by the network card bus end and the bus data sent by the network card bus end, and generating first bus monitoring data and second bus monitoring data respectively.

[0114] Step 503, sending the first bus monitoring data and / or the second bus monitoring data to an external analysis module for data analysis of the bus connection state.

[0115] Specifically, in steps 501 to 503, after receiving the parameter configuration instruction, the corresponding processing mechanism is started. Using the received configuration parameters, the receiving monitoring module and the sending monitoring module are finely configured. For the receiving monitoring module, the configuration parameters accurately set its data sampling frequency, data filtering rules, and condition threshold for triggering monitoring, etc. For example, if the system focuses on the reception of a certain type of data, the configuration parameters can increase the sampling frequency for this data to the millisecond level, and set strict filtering rules to ensure that only data that meets the specific format or source will be further processed. For the sending monitoring module, the configuration parameters specify the data sending priority strategy, the data packet size limit range, and the dynamic adjustment rules of the sending buffer, etc. Through such a configuration process, the receiving monitoring module and the sending monitoring module can realize highly customized function settings according to the actual needs of the system and the running environment.

[0116] After completing the parameter configuration, based on the set configuration parameters, the receiving monitoring module and the sending monitoring module start working efficiently. The receiving monitoring module uses its advanced monitoring circuit and data processing algorithm to monitor the bus data received by the network card bus end comprehensively and uninterruptedly. It will accurately collect data according to the sampling frequency set in the configuration parameters, and classify and preliminarily analyze the data according to the filtering rules. During the monitoring process, once the data meets the condition threshold for triggering monitoring, such as the data flow suddenly increasing beyond the preset value, specific error codes appearing, or data integrity check failing, etc., the data recording and sorting program is immediately started, and detailed first bus monitoring data is generated. These first bus monitoring data not only contain the specific content of the abnormal data, but also record the timestamp of the data appearing abnormal, the data source, and related context information, providing rich clues for subsequent analysis.

[0117] Meanwhile, the sending monitoring module also monitors the bus data sent by the network card bus end according to the configuration parameters. It closely follows the sending process of the data, starting from the data entering the sending buffer, and tracks the queuing situation, sending frequency, and encapsulation and transmission of the data packet. When detecting abnormal situations in the sending process, such as long sending delay, data packet retransmission exceeding the limit, or sending buffer overflow, it quickly collects relevant data information and generates second bus monitoring data. The second bus monitoring data covers detailed information about the sending exception, including the data content being sent, the target address, the time sequence of sending, and related system state information, providing key basis for analyzing sending faults.

[0118] After generating the first bus monitoring data and / or the second bus monitoring data, the system sends these data to the external analysis module through a high-speed and reliable communication link. The external analysis module, as a professional data analysis unit, has strong computing power and rich analysis tools. After receiving the data, it first performs integrity check and format conversion to ensure that the data can be accurately parsed and processed. Then, it uses a series of advanced data analysis algorithms and models to deeply analyze the bus connection state. For example, by statistically analyzing the data flow information in the first bus monitoring data and the second bus monitoring data, it draws a flow change curve to determine whether there is data congestion or abnormal fluctuation; it uses error codes and check information to locate possible hardware faults or software errors; it analyzes the time regularity of fault occurrence and the correlation with system running state in combination with time stamps and system state information. Through such comprehensive and detailed data analysis process, the external analysis module can accurately assess the health status of the bus connection, timely discover potential problems and risks, and provide scientific and effective suggestions and decision basis for system optimization and fault repair, ensuring stable and efficient operation of the system.

[0119] In a possible implementation manner of the embodiment, the configuration parameters include: first configuration parameters and second configuration parameters; and the parameter configuration of the receiving monitoring module and the sending monitoring module by using the received configuration parameters includes:

[0120] generating a first monitoring rule according to the first configuration parameters, and sending the first monitoring rule to a first trigger unit of the receiving monitoring module for configuration;

[0121] generating a second monitoring rule according to the second configuration parameters, and sending the second monitoring rule to a second trigger unit of the sending monitoring module for configuration.

[0122] Specifically in the embodiments of the present disclosure, the first and second configuration parameters in the configuration parameters are crucial. When the system is started and configured, the parameter configuration of the receiving monitoring module is processed first. The configuration management unit analyzes the first configuration parameter, which covers information such as data filtering, flow threshold, and verification mode, and generates the first monitoring rule according to the information and sends the first monitoring rule to the first trigger unit of the receiving monitoring module. The first trigger unit adjusts the monitoring circuit, the collection frequency, the trigger condition judgment mechanism, and the like according to the rule. At the same time, the sending monitoring module configuration is performed. The configuration management unit analyzes the second configuration parameter, which includes the sending priority, the packet size strategy, the frequency limit, and the error handling mechanism, and generates the second monitoring rule and transmits the second monitoring rule to the second trigger unit. The second trigger unit configures the sending buffer, the timing control, the error detection and retransmission mechanism, and the like according to the rule. Through the above process, the receiving and sending monitoring modules can accurately perform tasks according to their respective rules, and the stable operation of the system and the safety of the data are ensured.

[0123] In a possible implementation manner of the embodiment, the monitoring of the bus data received by the network card bus end and the bus data sent by the network card bus end based on the configuration parameters generates first bus monitoring data and second bus monitoring data, respectively, and includes:

[0124] According to the first monitoring rule, the bus data sent by the processor to the network card bus end is monitored, and the first bus monitoring data is generated by collecting the bus data triggering the first monitoring rule;

[0125] According to the second monitoring rule, the bus data sent by the network card bus end to the processor is monitored, and the second bus monitoring data is generated by collecting the bus data triggering the second monitoring rule.

[0126] Specifically in the embodiments of the present disclosure, the bus data of the network card bus end is monitored according to the set configuration parameters, and corresponding monitoring data is generated. According to the first monitoring rule, the receiving end monitors the bus data sent by the processor, and once the trigger conditions such as data characteristics, flow, and verification are abnormal, the receiving end collects relevant data and information such as the receiving time stamp and the source port to generate the first bus monitoring data. According to the second monitoring rule, the sending end checks the bus data sent by the network card to the processor, and when the trigger conditions such as the sending frequency, the packet size, the encoding format, and the priority are met, the sending end collects information such as the sending time and the target address to generate the second bus monitoring data.

[0127] It should be noted that the embodiments of the present disclosure can include multiple steps, and these steps are numbered for the convenience of description, but these numbers are not a limitation on the execution time slot and the execution order between the steps; these steps can be implemented in any order, and the embodiments of the present disclosure do not limit this.

[0128] Further, in the embodiments of the present disclosure, a network card is also provided, which comprises the bus monitoring device in any of the above-mentioned embodiments. It can be understood that the bus monitoring device is integrated in the network card, and the description of the network card can refer to the above-mentioned embodiments, and the present embodiment will not be repeated here.

[0129] According to the embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0130] Figure 6 A schematic block diagram of an example electronic device 600 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present disclosure described and / or claimed in this document.

[0131] As shown in Figure 6 The device 600 includes a computing unit 601 that can perform various appropriate actions and processes in accordance with a computer program stored in a ROM (Read-Only Memory) 602 or a computer program loaded into a RAM (Random Access Memory) 603 from a storage unit 608. Various programs and data required for the operation of the device 600 can also be stored in the RAM 603. The computing unit 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604. An I / O (Input / Output) interface 605 is also connected to the bus 604.

[0132] A plurality of components in the device 600 are connected to the I / O interface 605, including an input unit 606, such as a keyboard, a mouse, and the like; an output unit 607, such as various types of displays, speakers, and the like; a storage unit 608, such as a magnetic disk, an optical disk, and the like; and a communication unit 609, such as a network card, a modem, a wireless communication transceiver, and the like. The communication unit 609 allows the device 600 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunication networks.

[0133] The computing unit 601 can be various general and / or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a CPU (Central Processing Unit), a GPU (Graphic Processing Units), various special-purpose AI (Artificial Intelligence) computing chips, various computing units running machine learning model algorithms, a DSP (Digital Signal Processor), and any appropriate processor, controller, microcontroller, etc. The computing unit 601 performs various methods and processes described above, such as the control method of the bus monitoring device. For example, in some embodiments, the control method of the bus monitoring device can be implemented as a computer software program, which is tangibly embodied in a machine-readable medium, such as the storage unit 608. In some embodiments, part or all of the computer program can be loaded and / or installed onto the apparatus 600 via the ROM 602 and / or the communication unit 609. When the computer program is loaded onto the RAM 603 and executed by the computing unit 601, one or more steps of the methods described above can be performed. Alternatively, in other embodiments, the computing unit 601 can be configured to perform the aforementioned control method of the bus monitoring device by any other appropriate means, such as by means of firmware.

[0134] Various implementations of the systems and techniques described above can be realized in digital electronic circuitry, integrated circuitry, a Field Programmable Gate Array (FPGA), an Application-Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a System on Chip (SOC), a Complex Programmable Logic Device (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.

[0135] Program code for carrying out methods of the present disclosure can be written in any combination of one or more programming languages. The program code can be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the program code, when executed by the processor or controller, produces the functions / operations specified in the flowcharts and / or block diagrams. The program code can be executed entirely on a machine, partially on a machine, partially on a machine as a stand-alone software package, partially on a machine and partially on a remote machine or entirely on a remote machine or server.

[0136] In the context of the present disclosure, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include but is not limited to an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium would include one or more lines of electrical connections, portable computer disks, hard disk drives, RAM, ROM, EPROM (Electrically Programmable Read-Only-Memory), or flash memory, fiber optics, CD-ROM (Compact Disc Read-Only Memory), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0137] To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having a display device (e.g., a CRT (Cathode-Ray Tube) or LCD (Liquid Crystal Display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.

[0138] The systems and techniques described herein can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described herein), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a LAN (Local Area Network), a WAN (Wide Area Network), the Internet, and a blockchain network.

[0139] The computer system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server is generally established using computer programs running on the respective computers and having a client-server relationship to each other. A server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system, to solve the defects of large management difficulty and weak business scalability in traditional physical host and VPS (Virtual Private Server, or VPS for short) services. The server can also be a server of a distributed system, or a server combined with a blockchain.

[0140] It should be noted that artificial intelligence is a discipline that studies enabling computers to simulate some thinking processes and intelligent behaviors of humans (such as learning, reasoning, thinking, planning, etc.), and has both hardware and software technologies. Artificial intelligence hardware technology generally includes technologies such as sensors, special artificial intelligence chips, cloud computing, distributed storage, big data processing, etc.; artificial intelligence software technology mainly includes computer vision technology, speech recognition technology, natural language processing technology, and machine learning / deep learning, big data processing technology, knowledge graph technology, etc.

[0141] The first, second, and various other numerical designations involved in the present disclosure are only for the convenience of differentiation in the description, and do not limit the scope of the embodiments of the present disclosure, nor represent the order of precedence.

[0142] At least one of the present disclosure can also be described as one or more, multiple can be two, three, four or more, the present disclosure does not make restrictions. In the embodiments of the present disclosure, for a technical feature, the technical features in the technical feature are distinguished by "first", "second", "third", "A", "B", "C" and "D" and the like. The technical features described by "first", "second", "third", "A", "B", "C" and "D" have no order or size order.

[0143] It should be understood that the steps shown above can be reordered, added or deleted. For example, the steps described in the present disclosure can be executed in parallel, sequentially or in different order, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, which is not limited herein.

[0144] The above specific embodiments do not constitute a limitation on the protection scope of the present disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A bus monitoring device, characterized by The device comprises a receiving monitoring module, a sending monitoring module, and a trigger output module; The receiving monitoring module is in communication connection with a network card bus end, and is configured to monitor bus data received by the network card bus end to generate first bus monitoring data; The sending monitoring module is in communication connection with the network card bus end, and is configured to monitor bus data sent by the network card bus end to generate second bus monitoring data; The trigger output module is in communication connection with the receiving monitoring module and the sending monitoring module, and is configured to send the first bus monitoring data and / or the second bus monitoring data to an external analysis module to analyze bus connection states.

2. The apparatus of claim 1, wherein, The device further comprises a trigger input module; The trigger input module is in communication connection with the receiving monitoring module and the sending monitoring module, and is configured to receive configuration parameters of the receiving monitoring module and the sending monitoring module, and to configure the receiving monitoring module and the sending monitoring module with the configuration parameters.

3. The apparatus of claim 2, wherein, The configuration parameters comprise first configuration parameters; the receiving monitoring module comprises a first control unit, a first configuration unit, a first trigger unit, and a first cache area; The first configuration unit is in communication connection with the trigger input module, and is configured to store the first configuration parameters written by the trigger input module; The first control unit is in communication connection with the first configuration unit and the first trigger unit, and is configured to generate first monitoring rules according to the first configuration parameters, and to send the first monitoring rules to the first trigger unit for configuration; The first trigger unit is configured to monitor bus data sent by a processor to the network card bus end according to the first monitoring rules, and to collect bus data triggering the first monitoring rules to generate the first bus monitoring data; The first cache area is in communication connection with the first trigger unit, and is configured to store the first bus monitoring data collected by the first trigger unit.

4. The apparatus of claim 2, wherein, The configuration parameters comprise second configuration parameters; the sending monitoring module comprises a second control unit, a second configuration unit, a second trigger unit, and a second cache area; The second configuration unit is in communication connection with the trigger input module, and is configured to store the second configuration parameters written by the trigger input module; The second control unit is in communication connection with the second configuration unit and the second trigger unit, and is configured to generate second monitoring rules according to the second configuration parameters, and to send the second monitoring rules to the second trigger unit for configuration; The second trigger unit is configured to monitor bus data sent by the network card bus end to the processor according to the second monitoring rules, and to collect bus data triggering the second monitoring rules to generate the second bus monitoring data; The second cache area is in communication connection with the second trigger unit, and is configured to store the second bus monitoring data collected by the second trigger unit.

5. The apparatus of any one of claims 3-4, wherein, The trigger output module is in communication connection with the first cache area and the second cache area respectively, and is configured to acquire the first bus monitoring data and the second bus monitoring data, and send the first bus monitoring data and / or the second bus monitoring data to the external analysis module, so that the external analysis module performs data analysis on the connection state of the target bus between the processor and the network card bus end, and determines whether the target bus is faulty.

6. The apparatus of any one of claims 2-4, wherein, The configuration parameter comprises: a running regulation instruction set, a parameter setting mode, and an information capturing trigger rule.

7. The apparatus of claim 5, wherein, The external analysis module comprises any one of a baseboard management controller, an operating system, and a computing device connected with a network card serial port.

8. The apparatus of claim 1, wherein, The device further comprises a clock synchronization module. The clock synchronization module is in communication connection with the receiving monitoring module and the sending monitoring module respectively, and is configured to acquire a clock signal and perform clock synchronization processing on the receiving monitoring module and the sending monitoring module.

9. A control method of a bus monitoring apparatus, characterized by, The method is applied to the bus monitoring device in any one of claims 1-8, and the method comprises: In response to a parameter configuration instruction, performing parameter configuration on the receiving monitoring module and the sending monitoring module by using the received configuration parameter; Based on the configuration parameter, monitoring the bus data received by the network card bus end and the bus data sent by the network card bus end, and generating first bus monitoring data and second bus monitoring data respectively; Sending the first bus monitoring data and / or the second bus monitoring data to the external analysis module for data analysis on the bus connection state.

10. The method of claim 9, wherein, The configuration parameter comprises: a first configuration parameter and a second configuration parameter; and the parameter configuration on the receiving monitoring module and the sending monitoring module by using the received configuration parameter comprises: Generating a first monitoring rule according to the first configuration parameter, and sending the first monitoring rule to a first trigger unit of the receiving monitoring module for configuration; Generating a second monitoring rule according to the second configuration parameter, and sending the second monitoring rule to a second trigger unit of the sending monitoring module for configuration.

11. The method of claim 10, wherein, The monitoring of the bus data received by the network card bus end and the bus data sent by the network card bus end based on the configuration parameter, and the generation of first bus monitoring data and second bus monitoring data respectively, comprise: Monitoring the bus data sent by the processor to the network card bus end according to the first monitoring rule, and collecting the bus data triggering the first monitoring rule to generate the first bus monitoring data; Monitoring the bus data sent by the network card bus end to the processor according to the second monitoring rule, and collecting the bus data triggering the second monitoring rule to generate the second bus monitoring data.

12. A network card, characterized by The network card comprises the bus monitoring device in any one of claims 1-8.

13. An electronic device, comprising: Comprise: At least one processor; And A memory in communication connection with the at least one processor; wherein The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method in any one of claims 9-11.

14. A non-transitory computer-readable storage medium having stored thereon computer instructions, wherein, The computer instructions are for causing the computer to perform the method according to any one of claims 9-11. The computer instructions are for causing the computer to perform the method according to any one of claims 9-11.

Citation Information

Patent Citations

  • Internet of Vehicles data processing device, vehicle terminal and storage medium

    CN110166557A

  • Unmanned aerial vehicle bus data monitoring method, device and equipment and storage medium

    CN117579510A