CN112380103A - System log acquisition device, system, method and storage medium - Google Patents

System log acquisition device, system, method and storage medium Download PDF

Info

Publication number
CN112380103A
CN112380103A CN202011252419.8A CN202011252419A CN112380103A CN 112380103 A CN112380103 A CN 112380103A CN 202011252419 A CN202011252419 A CN 202011252419A CN 112380103 A CN112380103 A CN 112380103A
Authority
CN
China
Prior art keywords
test point
pcie
differential
system log
protocol analyzer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011252419.8A
Other languages
Chinese (zh)
Inventor
雷代军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fibocom Wireless Inc
Original Assignee
Fibocom Wireless Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fibocom Wireless Inc filed Critical Fibocom Wireless Inc
Priority to CN202011252419.8A priority Critical patent/CN112380103A/en
Publication of CN112380103A publication Critical patent/CN112380103A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test buses, lines or interfaces, e.g. stuck-at or open line faults
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2268Logging of test results

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)

Abstract

The application discloses a system log obtaining device, a system, a method and a storage medium, and belongs to the technical field of wireless communication. The device comprises: the adapter plate is respectively connected with the wireless communication module and the user equipment; the patch board is provided with a test point, and the test point is connected with a PCIe bus on the patch board; the test point is used for being connected with a differential probe of the PCIe protocol analyzer so that the PCIe protocol analyzer can obtain the system log through the test point. The technical scheme provided by the embodiment of the application can improve the quality of the acquired PCIe differential signal.

Description

System log acquisition device, system, method and storage medium
Technical Field
The present application relates to the field of wireless communication technologies, and in particular, to an apparatus, a system, a method, and a storage medium for acquiring a system log.
Background
With the widespread use of m.2 wireless communication modules, in order to meet the requirements of data transmission rate of the m.2 wireless communication modules, it is necessary to implement high-rate data transmission of the m.2 wireless communication modules using the Peripheral Component Interconnect Express (PCIe). However, in the process of adapting the m.2 wireless communication module based on the PCIe protocol to the host, the m.2 wireless communication module is often not adapted to the host, so that the host may have device loss or device abnormality.
The PCIe protocol log (system log) is usually captured to analyze the reason of device loss or device exception. Capturing the PCIe protocol log is realized through a PCIe protocol analyzer, specifically, a differential probe of the PCIe protocol analyzer is welded to a PCIe bus in a flying wire mode, the PCIe protocol analyzer acquires a PCIe differential signal through the differential probe, the signal is converted into PCIe bus data, the PCIe protocol log is captured by analyzing the PCIe bus data, and therefore the reason that equipment is lost or abnormal can be obtained.
However, when the PCIe differential signal is acquired, the PCIe differential signal may be interfered by other devices around the differential probe pad, so that the quality of the acquired PCIe differential signal is not high, and the cause of device loss or device abnormality cannot be correctly analyzed.
Disclosure of Invention
Based on this, the embodiment of the present application provides an apparatus, a system, a method and a storage medium for acquiring a system log, which can improve the quality of an acquired PCIe differential signal.
In a first aspect, an apparatus for obtaining a system log is provided, where the apparatus includes:
the adapter plate is respectively connected with the wireless communication module and the user equipment; the patch board is provided with a test point, and the test point is connected with a PCIe bus on the patch board; the test point is used for being connected with a differential probe of the PCIe protocol analyzer so that the PCIe protocol analyzer can obtain the system log through the test point.
In one embodiment, the adapter plate is provided with a gold finger; the golden finger is respectively connected with the user equipment and the PCIe bus.
In one embodiment, the adapter plate is further provided with a connector; the connector is respectively connected with the wireless communication module, the golden finger and the PCIe bus.
In one embodiment, at least two groups of test points are arranged on the adapter plate; different test points are used to connect different differential probes of the PCIe protocol analyzer.
In one embodiment, the at least two groups of test points comprise a receiving test point and a sending test point; the receiving test point is used for connecting a receiving differential probe of the PCIe protocol analyzer; the sending test point is used for connecting a sending differential probe of the PCIe protocol analyzer.
In one embodiment, the at least two sets of test points further comprise clock test points.
In one embodiment, the test points are tapered high speed test points.
In a second aspect, a system for acquiring a system log is provided, where the system includes: a wireless communication module, a user equipment, and an apparatus for acquiring a system log according to a first aspect, wherein the apparatus for acquiring a system log according to the first aspect comprises: the adapter plate is respectively connected with the wireless communication module and the user equipment; the patch board is provided with a test point, and the test point is connected with a PCIe bus on the patch board; the test point is used for being connected with a differential probe of the PCIe protocol analyzer so that the PCIe protocol analyzer can obtain the system log through the test point. The adapter plate is provided with a golden finger; the golden finger is respectively connected with the user equipment and the PCIe bus. The adapter plate is also provided with a connector; the connector is respectively connected with the wireless communication module, the golden finger and the PCIe bus. At least two groups of test points are arranged on the adapter plate; different test points are used to connect different differential probes of the PCIe protocol analyzer. The at least two groups of test points comprise a receiving test point and a sending test point; the receiving test point is used for connecting a receiving differential probe of the PCIe protocol analyzer; the sending test point is used for connecting a sending differential probe of the PCIe protocol analyzer. The at least two sets of test points further include clock test points. The test points are tapered high speed test points.
The wireless communication module is connected with a connector on the adapter plate, the user equipment is connected with a golden finger on the adapter plate, the connector is connected with the golden finger, the connector and the golden finger are connected with a PCIe bus, PCIe bus test points are arranged on the adapter plate, the test points are connected with the PCIe bus, and a receiving differential probe and a sending differential probe of the PCIe protocol analyzer are respectively connected with different test points.
In a third aspect, a method for obtaining a system log is provided, where the method is applied to the apparatus for obtaining a system log in the first aspect, and the method includes:
welding a differential probe on a protocol analyzer with a test point on the adapter plate, and acquiring a differential signal through the test point; and analyzing the differential signal to obtain a system log.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, which, when being executed by a processor, implements the method for obtaining a system log according to the third aspect.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
the device for acquiring the system log comprises: the adapter plate is respectively connected with the wireless communication module and the user equipment; the patch board is provided with a test point, and the test point is connected with a PCIe bus on the patch board; the test point is used for being connected with a differential probe of the PCIe protocol analyzer so that the PCIe protocol analyzer can obtain the system log through the test point. When the PCIe protocol log is grabbed, the test points are preset on the adapter plate, so that the differential probe of the PCIe protocol analyzer can be directly welded on the test points, the problem of interference on PCIe differential signals when the differential probe of the PCIe protocol analyzer is welded in a flying wire mode is solved, and the quality of the obtained PCIe differential signals is improved. In addition, the test points are arranged on the adapter plate, so that the damage to the mainboard of the whole machine is avoided, and the cost is reduced. Meanwhile, the differential probe is welded on the adapter plate, and the adapter plate is introduced to be reused on different projects, so that the efficiency of analyzing problems is improved.
Drawings
Fig. 1 is a block diagram of an apparatus for acquiring a system log according to an embodiment of the present disclosure;
fig. 2 is a block diagram of an apparatus for acquiring a system log according to an embodiment of the present disclosure;
fig. 3 is a block diagram of an apparatus for acquiring a system log according to an embodiment of the present application;
fig. 4 is a block diagram of an apparatus for acquiring a system log according to an embodiment of the present application;
fig. 5 is a block diagram of a system log obtaining system according to an embodiment of the present application;
fig. 6 is a block diagram of a method for acquiring a system log according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Referring to fig. 1, a block diagram of an apparatus 10 for acquiring a system log according to an embodiment of the present application is shown, as shown in fig. 1, the apparatus 10 for acquiring a system log may include a patch panel 11. The adapter board 11 is connected to the wireless communication module and the user equipment, respectively. A test point 12 is provided on the patch panel 11, and the test point 12 is connected to a PCIe bus on the patch panel 11. The test point is used for being connected with a differential probe of the PCIe protocol analyzer so that the PCIe protocol analyzer can obtain the system log through the test point.
The adapter board is a device for leading in a signal to be tested so as to connect a test instrument, or leading out the signal to be tested so as to provide a signal source for other components. The interposer may be a Printed Circuit Board (PCB), wherein the PCB may be a single-sided board, a double-sided board, a four-sided board, etc., and is generally a Circuit board with high reliability manufactured by using glass fiber or resin as a base material. The size of the adapter plate can be 30 × 42mm, 30 × 60mm and the like, in order to shorten the wiring distance of the adapter plate, the adapter plate with a small size can be properly selected, and various electronic devices can be welded on the adapter plate.
The patch panel is connected with the wireless communication module and the user equipment respectively, wherein the wireless communication module can be an M.2 wireless communication module. The m.2 wireless communication module refers to a wireless communication module having an m.2 interface, and the m.2 wireless communication module may be bluetooth, WI-FI, Zigbee, or the like. The M.2 interface is a new interface specification proposed by Intel, has the characteristics of high data transmission speed, small volume and the like, and the theoretical transmission speed can reach 4 GB/s. The m.2 interface can support multiple protocols, such as PCIe protocol, Universal Serial Bus (USB) protocol, etc., so the m.2 wireless communication module is widely used in industries such as ultrabook, Personal Computer (PC), and wireless gateway.
The m.2 interface is a micro interface with wide compatibility, and the interface can realize interfaces with different functions by setting KEY slots on the interface, for example, the KEY slot may be a KEY-B slot or a KEY-M slot. The KEY groove is divided into a left end and a right end, one end is shorter, namely the number of PIN of the PINs is less, the other end is longer, namely the number of PIN of the PINs is more, the KEY-B groove belongs to a PIN with a short left end and uses 6 PIN; the KEY-M slot belongs to a 5PIN with short right end.
The wireless communication module can be connected with the adapter plate through a connector on the adapter plate, for example, the wireless communication module is an m.2 wireless communication module, the KEY slot on the m.2 interface is a KEY-B slot, and then the m.2 wireless communication module can be connected with the m.2KEY-B connector by arranging the m.2KEY-B connector on the adapter plate, wherein the m.2KEY-B connector can be a 75Pin m.2KEY-B connector, a 67Pin m.2KEY-B connector, and the like, and the Pin pitch is 0.5 mm. The user equipment can be a notebook, a gateway complete machine and the like, and the user equipment can be connected with the adapter plate through a golden finger on the adapter plate, for example, the golden finger can be a 75Pin M.2KEY-B golden finger, and the Pin pitch is 0.5 mm.
The test point is arranged on the adapter board and is connected with the PCIe bus on the adapter board, the test point can be connected with the PCIe bus on the adapter board by using a wire and also can be connected with the PCIe bus without routing again, for example, if a hole board is used, the test point is connected with the PCIe bus by using the wire, and if a PCB board is used, the test point which is arranged in advance is connected with the PCIe bus, so that the test point does not need to be routed again and connected with the PCIe bus. The test points arranged on the adapter board can be two groups or three groups, and the number of the test point groups which are reserved in practice can be more than that of the test points which are actually required to be reserved, so that the condition that the system logs are obtained through the test points subsequently due to damage of the arranged test points is prevented. For example, the PCIe bus includes three sets of differential pairs, where two sets of differential pairs are responsible for transmission of data differential signals, and the other set of differential pairs is responsible for clock differential signals, then two sets of test points responsible for data differential signals may be set on the interposer, and at the same time, another set of test points responsible for clock differential signals may be set, and on the basis of the two sets of test points responsible for data differential signals, one or two sets of test points responsible for data differential signals may be set, or on the basis of the set of test points responsible for clock differential signals, one or two sets of test points responsible for clock differential signals may be set, which is not limited in the embodiment of the present application.
Test points of other signals can be arranged on the adapter plate, and the tested signals can be analyzed through an oscilloscope. For example, a power signal, a control signal, etc. of the PCIe bus, where the control signal may be a LOCK # signal, which the master user device may use to LOCK a certain resource of the target device to prevent access by other user devices, or a STOP # signal, which is used to enable the target user device to request the master device to STOP a transaction of the current PCIe bus, or other control signals, etc. The number of the test points arranged on the transfer plate is not particularly limited in the embodiment of the application.
The test point arranged on the patch board is used for being connected with a differential probe of a PCIe protocol analyzer so that the PCIe protocol analyzer can obtain a system log through the test point, wherein the PCIe protocol analyzer is test equipment and is used for testing a PCIe transmission protocol, and the PCIe protocol analyzer analyzes data according to a standard PCIe bus protocol, can extract useful data from the obtained data and explains the useful data. Specifically, the PCIe protocol analyzer may connect the differential probe on the PCIe protocol analyzer with the set point test point on the interposer, that is, the differential probe on the PCIe protocol analyzer is soldered to the set test point, and the test point is connected to the PCIe bus, so that the differential probe on the PCIe analyzer may obtain the system log through the set test point. Optionally, the PCIe analyzer acquires a PCIe differential signal on the PCIe bus through the differential probe, translates the PCIe differential signal to obtain PCIe bus data, and then analyzes the PCIe bus data layer by layer to analyze the meaning of the data transmitted by the PCIe analyzer, so that the system log is also acquired.
When the system log is obtained, the system log obtaining device can be directly connected with the wireless communication module and the user equipment through the adapter plate, the test point is arranged on the adapter plate and is connected with the PCIe bus on the adapter plate, the differential probe of the PCIe protocol analyzer is connected with the test point, and the PCIe protocol analyzer obtains the system log through the test point, so that the problem of interference on PCIe differential signals when the differential probe of the PCIe protocol analyzer is welded in a flying wire mode is solved, and the quality of the obtained PCIe differential signals is improved.
Referring to fig. 2, a block diagram of an apparatus 20 for acquiring a system log according to an embodiment of the present application is shown, as shown in fig. 2, a gold finger 21 is disposed on the patch panel 11, and the gold finger 21 is connected to a user device 22 and a PCIe bus 23 respectively. In this embodiment, the wireless communication module is an m.2 wireless communication module, and then the gold finger on the interposer may be an m.2 gold finger, and the m.2 gold finger is connected to the user equipment and may be connected to the user equipment through an m.2 connector on the user equipment. When the golden finger is connected with the PCIe bus, the PCIe bus comprises three groups of differential pairs, namely six differential signal lines, wherein four differential signal lines are responsible for transmitting data differential signals, the other two differential signal lines are responsible for transmitting clock differential signals, and the six differential signal lines are respectively connected with 6 corresponding pins on the golden finger.
Referring to fig. 3, which shows a block diagram of an obtaining apparatus 30 for a system log according to an embodiment of the present application, as shown in fig. 3, a connector 31 is further disposed on the patch panel 11, and the connector 31 is respectively connected to the wireless communication module 32, the gold finger 21 and the PCIe bus 23. In this embodiment, a connector is disposed on the interposer, and a part of pins on the connector are correspondingly connected with pins on the gold finger through wires, that is, the connector is respectively connected with power pins of the gold finger and pins of other signals, for example, the pins of the power signals or other control signals are respectively connected, and a part of the pins are correspondingly connected with three groups of differential signal lines of the PCIe bus, and the connector is further required to be connected with the wireless communication module.
Through the system log obtaining device provided by the fig. 2 and 3, the adapter plate is provided with the connector and the golden finger, the connector is connected with the wireless communication module, the golden finger is connected with the user equipment, the connector is connected with the golden finger, and meanwhile, the connector and the golden finger are connected with the PCIe bus, so that a signal can be led out from the wireless communication module arranged in the user equipment through the adapter plate, and the signal is tested, so that convenience in testing the wireless communication module is improved, and the adapter plate can be reused under the condition of replacing the user equipment or the wireless communication module, a differential probe of the PCIe protocol analyzer does not need to be welded again, an empty position on the adapter plate can also fix the differential probe line, and the utilization rate of the adapter plate is improved.
In one embodiment, please refer to fig. 4, which shows a block diagram of an obtaining apparatus 40 for a system log provided in an embodiment of the present application, as shown in fig. 4, at least two groups of test points are disposed on a patch panel, and different test points are used for connecting different differential probes of a PCIe protocol analyzer 43.
The differential probe of the PCIe protocol analyzer 43 includes a receiving probe (RX probe) 431 and a transmitting probe (TX probe) 432. Two groups of test points can be arranged on the adapter board, or more than two groups of test points can be arranged, for example, the PCIe bus has three groups of differential pairs, because two groups of differential pairs are responsible for data differential signals, and the other group of differential pairs are responsible for clock differential signals, therefore, two groups of test points which are responsible for data differential signals can be arranged, and a group of test points can also be arranged on the bus which is responsible for clock differential signals.
In this embodiment, different test points are used to connect different differential probes of the PCIe protocol analyzer, and a receiving probe (RX probe) and a sending probe (TX probe) of the PCIe protocol analyzer may be respectively connected to a test point responsible for a data differential signal to detect the data differential signal, or may be respectively connected to a test point responsible for a clock differential signal to detect the clock differential signal, where the differential probe may be directly soldered to the set test point.
Because the test points are arranged on the adapter plate in advance, the differential probe of the PCIe protocol analyzer can easily detect the PCIe differential signal on the PCIe bus through the test points, thereby obtaining the system log, the PCIe differential signal does not need to be obtained on the original pad in a flying line mode, and the interference of other devices around the differential probe is avoided, thereby not only protecting the mainboard of the user equipment, but also welding the differential probe of the PCIe protocol analyzer on the adapter plate, so that the differential probe can be stably fixed on the adapter plate, the reliability in obtaining the PCIe differential signal is improved, thereby improving the quality of the obtained PCIe differential signal, and the system log can be accurately obtained.
In one embodiment, the at least two groups of test points comprise a receiving test point and a sending test point; the receiving test point is used for connecting a receiving differential probe of the PCIe protocol analyzer; the sending test point is used for connecting a sending differential probe of the PCIe protocol analyzer. In this embodiment, in the differential pairs of responsible data differential signals on the PCIe bus, one group of differential pairs is a PCIe bus receiving end, the receiving end further includes two differential signal lines, one of the differential signal lines is a first receiving differential signal line, and the other is a first sending differential signal line, therefore, the set receiving test point may include two test points, one is a first receiving differential signal line test point, and the other is a first sending differential signal line test point, and the receiving differential probe of the PCIe protocol analyzer includes a positive electrode and a negative electrode, two poles of the receiving differential probe are respectively connected to two test points in the receiving test points, optionally, the positive electrode of the receiving differential probe is connected to the first receiving differential signal line test point, and the negative electrode of the receiving differential probe is connected to the first sending differential signal line test point.
Similarly, in the differential pair responsible for the data differential signal on the PCIe bus, the other differential pair is a PCIe bus transmitting end, the transmitting end also includes two differential signal lines, one of which is a second receiving differential signal line, and the other is a second transmitting differential signal line, therefore, the set transmitting test point may also include two test points, one is a second receiving differential signal line test point, and the other is a second transmitting differential signal line test point, and the transmitting differential probe of the PCIe protocol analyzer also includes a positive electrode and a negative electrode, the two electrodes of the transmitting differential probe are respectively connected to two test points in the transmitting test points, optionally, the positive electrode of the transmitting differential probe is connected to the second receiving differential signal line test point, and the negative electrode of the transmitting differential probe is connected to the second transmitting differential signal line test point.
In one embodiment, the at least two sets of test points further comprise clock test points. In this embodiment, the clock test point may be connected to a differential probe of a PCIe protocol analyzer, so as to detect a clock signal, and since the clock signal is a basis of a timing logic of the wireless communication module, all signals on the PCIe bus are synchronized with the clock signal, that is, changes of all signals occur at a rising edge of the clock signal, and by analyzing the clock signal, the clock signal may be integrated with an analysis result of the data differential signal and/or other signals, so as to obtain a cause of device loss or device abnormality through analysis of the integrated result.
In one embodiment, the test point is a conical high-speed test point, in this embodiment, the test point is a solder joint for soldering a differential probe of a PCIe protocol analyzer, in practical applications, the differential probe is generally soldered manually, in the soldering process, in order to ensure the quality of the solder joint, the test point is set as the conical high-speed test point, that is, the solder joint is conical in shape, because the conical shape has the characteristics of small size and large size, the lower size can ensure that the soldering area is large enough, so that the strength of the solder joint is higher, and the upper size can ensure that when a plurality of solder joints are around, the plurality of solder joints do not touch each other, thereby affecting each other.
Therefore, the mode that the test points are conical high-speed test points can ensure that the welding points are firm, the continuity of signal transmission when the PCIe differential signals are detected can be avoided, the phenomenon that the signal transmission is sometimes not generated can be avoided, the influence of noise can be avoided, the authenticity of the detected PCIe differential signals can be ensured, the conical test points can ensure that the PCIe differential signals are rapidly transmitted, the reflection of the signals is reduced, the quality of the PCIe differential signals is improved, and the accuracy of the captured system logs is ensured.
Referring to fig. 5, a block diagram of a system 50 for acquiring a system log according to an embodiment of the present application is shown, as shown in fig. 5, the system 50 for acquiring a system log includes the wireless communication module 32, the user equipment 22, and the apparatus for acquiring a system log in the foregoing embodiment, where:
the system log acquiring device in the system log acquiring system comprises: the adapter plate is respectively connected with the wireless communication module and the user equipment; the patch board is provided with a test point, and the test point is connected with a PCIe bus on the patch board; the test point is used for being connected with a differential probe of the PCIe protocol analyzer so that the PCIe protocol analyzer can obtain the system log through the test point. Optionally, a golden finger is arranged on the adapter plate; the golden finger is respectively connected with the user equipment and the PCIe bus. Optionally, a connector is further arranged on the adapter plate; the connector is respectively connected with the wireless communication module, the golden finger and the PCIe bus. Optionally, at least two groups of test points are arranged on the adapter plate; different test points are used to connect different differential probes of the PCIe protocol analyzer. Optionally, the at least two groups of test points include a receiving test point and a sending test point; the receiving test point is used for connecting a receiving differential probe of the PCIe protocol analyzer; the sending test point is used for connecting a sending differential probe of the PCIe protocol analyzer. Optionally, the at least two sets of test points further comprise clock test points. Optionally, the test points are tapered high speed test points.
Based on the above embodiment, the working principle of the system for acquiring the system log is as follows:
the wireless communication module 32 is connected to the connector 31 on the patch panel 11, the user device 22 is connected to the gold finger 21 on the patch panel 11, the connector 31 is connected to the gold finger 21, and both the connector 31 and the gold finger 21 are connected to the PCIe bus 23. The PCIe bus test point is set on the patch panel 11, the test point is connected to the PCIe bus, and the receiving differential probe 431 and the sending differential probe 432 of the PCIe protocol analyzer 43 are respectively connected to different test points, so that the wireless communication module built in the user equipment is led out a signal to the PCIe protocol analyzer through the patch panel.
Specifically, in the process of adapting the wireless communication module based on the PCIe protocol to the host, the wireless communication module is not adapted to the host, so that when the host is lost or abnormal, the PCIe protocol analyzer 43 is accessed to the apparatus for acquiring system logs to acquire the system logs. In the process of acquiring the system log, the wireless communication module 32 sends data, the data sent by the wireless communication module 32 enters the PCIe protocol analyzer 43 through the connector 31 and the gold finger 21, the PCIe protocol analyzer 43 acquires a PCIe differential signal on the PCIe bus through the differential probe, translates the PCIe differential signal to obtain PCIe bus data, analyzes the PCIe bus data layer by layer, analyzes the meaning of the data transmitted by the PCIe bus, and acquires the system log.
The implementation principle of the system for acquiring system logs provided in this embodiment may refer to the above limitations on the embodiments of the apparatus for acquiring system logs, and is not described herein again.
When the system log is obtained, the system log can be directly connected with the wireless communication module and the user equipment through the adapter plate, the test point is arranged on the adapter plate and is connected with the PCIe bus on the adapter plate, the differential probe of the PCIe protocol analyzer is connected with the test point, and the PCIe protocol analyzer obtains the system log through the test point, so that the problem of interference on PCIe differential signals when the differential probe of the PCIe protocol analyzer is welded in a flying wire mode is solved, and the quality of the obtained PCIe differential signals is improved. In addition, the test points are arranged on the adapter plate, so that the damage to the mainboard of the whole machine is avoided, and the cost is reduced. Meanwhile, the differential probe is welded on the adapter plate, and the adapter plate is introduced to be reused on different projects, so that the efficiency of analyzing problems is improved.
Referring to fig. 6, a flowchart of a method 60 for obtaining a system log according to an embodiment of the present application is shown, and as shown in fig. 6, the method is applied to the apparatus for obtaining a system log, and the method includes the following steps:
step 601, welding a differential probe on a protocol analyzer with a test point on the adapter plate, and acquiring a differential signal through the test point.
In the process of adapting the wireless communication module based on the PCIe protocol with the host, the condition that the wireless communication module is not adapted with the host is generated, thereby when equipment loss or equipment abnormality occurs to the host, a differential probe of the PCIe protocol analyzer is connected with a set test point, the test point is a PCIe bus test point arranged on a patch panel, the test point is connected with a PCIe bus, a receiving differential probe and a sending differential probe of the PCIe protocol analyzer are respectively connected with different test points, thereby realizing that the wireless communication module arranged in user equipment in the host is led out signals through the patch panel, and the PCIe protocol analyzer can obtain PCIe differential signals through the differential probe.
Step 602, analyzing the differential signal to obtain a system log.
The PCIe protocol analyzer analyzes the received data to obtain a system log. Optionally, the PCIe analyzer acquires a PCIe differential signal on the PCIe bus through the differential probe, translates the PCIe differential signal to obtain PCIe bus data, and then analyzes the PCIe bus data layer by layer to analyze the meaning of the data transmitted by the PCIe bus, so that the system log is obtained. The implementation principle of the method for acquiring a system log provided in this embodiment may refer to the above limitations on the embodiments of the apparatus for acquiring a system log, and is not described herein again.
According to the method for acquiring the system log, when the system log is acquired, the differential probe on the protocol analyzer is welded with the test point on the adapter plate, the differential signal is acquired through the test point, then the differential signal is analyzed to obtain the system log, and the PCIe protocol analyzer acquires the system log through the test point due to the fact that the test point is arranged on the adapter plate in advance, so that the problem of interference on the PCIe differential signal when the differential probe of the PCIe protocol analyzer is welded in a flying wire mode is solved, and the quality of the acquired PCIe differential signal is improved. In addition, the test points are arranged on the adapter plate, so that the damage to the mainboard of the whole machine is avoided, and the cost is reduced. Meanwhile, the differential probe is welded on the adapter plate, and the adapter plate is introduced to be reused on different projects, so that the efficiency of analyzing problems is improved.
In an embodiment of the application, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of:
welding a differential probe on a protocol analyzer with a test point on the adapter plate, and acquiring a differential signal through the test point; and analyzing the differential signal to obtain a system log.
In the process of adapting the wireless communication module based on the PCIe protocol with the host, the condition that the wireless communication module is not adapted with the host is generated, thereby when equipment loss or equipment abnormality occurs to the host, a differential probe of the PCIe protocol analyzer is connected with a set test point, the test point is a PCIe bus test point arranged on a patch panel, the test point is connected with a PCIe bus, a receiving differential probe and a sending differential probe of the PCIe protocol analyzer are respectively connected with different test points, thereby realizing that the wireless communication module arranged in user equipment in the host is led out signals through the patch panel, and the PCIe protocol analyzer can obtain PCIe differential signals through the differential probe. The PCIe protocol analyzer analyzes the received data to obtain a system log. Optionally, the PCIe analyzer acquires a PCIe differential signal on the PCIe bus through the differential probe, translates the PCIe differential signal to obtain PCIe bus data, and then analyzes the PCIe bus data layer by layer to analyze the meaning of the data transmitted by the PCIe bus, so that the system log is obtained.
The present embodiment provides a computer-readable storage medium, on which a computer program stored is executed by a processor to perform the above steps, and the implementation principle and technical effect are similar to those of the above method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the claims. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. An apparatus for acquiring a system log, the apparatus comprising: the adapter plate is respectively connected with the wireless communication module and the user equipment; the patch board is provided with a test point, and the test point is connected with a PCIe bus on the patch board;
the test point is used for being connected with a differential probe of a PCIe protocol analyzer so that the PCIe protocol analyzer can obtain the system log through the test point.
2. The device of claim 1, wherein the adapter plate is provided with gold fingers; the golden finger is respectively connected with the user equipment and the PCIe bus.
3. The apparatus of claim 2, wherein a connector is further provided on the adapter plate; the connector is respectively connected with the wireless communication module, the golden finger and the PCIe bus.
4. The device according to any one of claims 1 to 3, wherein at least two sets of test points are provided on the adapter plate; different test points are used for connecting different differential probes of the PCIe protocol analyzer.
5. The apparatus of claim 4, wherein the at least two groups of test points comprise a receive test point and a transmit test point;
the receiving test point is used for connecting a receiving differential probe of the PCIe protocol analyzer;
the sending test point is used for being connected with a sending differential probe of the PCIe protocol analyzer.
6. The apparatus of claim 5, wherein the at least two sets of test points further comprise clock test points.
7. The apparatus of any of claims 1-3, wherein the test point is a cone-shaped high-speed test point.
8. A system log acquisition system, characterized in that the system comprises a wireless communication module, a user equipment, and a system log acquisition device according to any one of claims 1-7.
9. A method for acquiring a system log, the method being applied to the apparatus for acquiring a system log according to any one of claims 1 to 7, the method comprising:
welding a differential probe on the protocol analyzer with a test point on the adapter plate, and acquiring a differential signal through the test point;
and analyzing the differential signal to obtain a system log.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method as claimed in claim 9.
CN202011252419.8A 2020-11-11 2020-11-11 System log acquisition device, system, method and storage medium Pending CN112380103A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011252419.8A CN112380103A (en) 2020-11-11 2020-11-11 System log acquisition device, system, method and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011252419.8A CN112380103A (en) 2020-11-11 2020-11-11 System log acquisition device, system, method and storage medium

Publications (1)

Publication Number Publication Date
CN112380103A true CN112380103A (en) 2021-02-19

Family

ID=74582047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011252419.8A Pending CN112380103A (en) 2020-11-11 2020-11-11 System log acquisition device, system, method and storage medium

Country Status (1)

Country Link
CN (1) CN112380103A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102141952A (en) * 2010-02-01 2011-08-03 鸿富锦精密工业(深圳)有限公司 Device for testing system management bus
CN207319223U (en) * 2017-11-07 2018-05-04 哈尔滨工大雷信科技有限公司 Computing switching device based on PCIE X16-MXM
CN108089955A (en) * 2017-11-30 2018-05-29 郑州云海信息技术有限公司 A kind of PCIE signal measurement jig and test method based on OCuLink interfaces
CN208172783U (en) * 2018-04-03 2018-11-30 深圳市广和通无线通信软件有限公司 M.2 the test device and system of wireless module
US20180356444A1 (en) * 2017-06-12 2018-12-13 Marvell World Trade Ltd. Multi-test type probe card and corresponding testing system for parallel testing of dies via multiple test sites
CN109753465A (en) * 2017-11-07 2019-05-14 哈尔滨工大雷信科技有限公司 Operation switching device based on PCIE X16-MXM
CN109946590A (en) * 2019-04-11 2019-06-28 苏州浪潮智能科技有限公司 A kind of board interconnecting device and test macro

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102141952A (en) * 2010-02-01 2011-08-03 鸿富锦精密工业(深圳)有限公司 Device for testing system management bus
US20180356444A1 (en) * 2017-06-12 2018-12-13 Marvell World Trade Ltd. Multi-test type probe card and corresponding testing system for parallel testing of dies via multiple test sites
CN207319223U (en) * 2017-11-07 2018-05-04 哈尔滨工大雷信科技有限公司 Computing switching device based on PCIE X16-MXM
CN109753465A (en) * 2017-11-07 2019-05-14 哈尔滨工大雷信科技有限公司 Operation switching device based on PCIE X16-MXM
CN108089955A (en) * 2017-11-30 2018-05-29 郑州云海信息技术有限公司 A kind of PCIE signal measurement jig and test method based on OCuLink interfaces
CN208172783U (en) * 2018-04-03 2018-11-30 深圳市广和通无线通信软件有限公司 M.2 the test device and system of wireless module
CN109946590A (en) * 2019-04-11 2019-06-28 苏州浪潮智能科技有限公司 A kind of board interconnecting device and test macro

Similar Documents

Publication Publication Date Title
WO2021189322A1 (en) Chip testing apparatus and chip testing method
EP2449391B1 (en) Programmable protocol generator
CN108153630A (en) A kind of signal-testing apparatus
CN103852681A (en) Test apparatus and test method of electronic apparatus
CN100517257C (en) Tool for testing high speed peripheral component interconnected bus interface
CN201251780Y (en) Internal memory test tool
CN211062033U (en) Test adapter and test equipment
CN109828872A (en) Signal-testing apparatus and method
CN112711504B (en) Test system and test method
CN105677524A (en) Test component, connector and test mainboard
US20120217977A1 (en) Test apparatus for pci-e signals
CN102411528A (en) MXM (Mobile PCI-Express Module)-interface testing-connecting card and testing system provided with same
CN112380103A (en) System log acquisition device, system, method and storage medium
CN211046939U (en) Communication module testing device
CN215219678U (en) PCIE dual junction test fixture device
CN100511172C (en) Inter-board transparent transmission bus test device and method thereof
CN211878587U (en) Testing device for PCIE (peripheral component interface express) signal of communication module
CN102567167A (en) Testing card and testing system for mSATA (serial advanced technology attachment) interface
CN112653590B (en) PCIe link detection and analysis device and method
CN102141952B (en) Device for testing system management bus
CN113704152A (en) PCIe slot interface switching equipment, test equipment, system and method
CN113268390A (en) Testing jig, system and method for mSATA interface
CN109840170B (en) PCIE signal measuring circuit
CN109254937B (en) USB hub, USB device enumeration exception detection method and computer storage medium
CN112601235A (en) Test system and test method of WLAN interface

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210219

RJ01 Rejection of invention patent application after publication