Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Peripheral equipment fault reason positioning method, device, equipment and medium

A technology of fault cause and locating method, applied in the field of network communication, can solve the problems of high threshold for use, destroying the hardware BUG scene, unable to obtain and locate in time, etc.

Pending Publication Date: 2021-04-20
BEIJING TOPSEC NETWORK SECURITY TECH +2
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the lspci tool can only read out the standard 256-byte space of the PCI protocol, but cannot read out the entire 4096-byte space of the PCIE extension; and the lspci tool supports the X86 platform better, and for ARM64, MIPS and other non-X86 embedded Requires custom compilation, and has dependencies on third-party libraries. The threshold for use is high and the convenience is not good.
In addition, the dedicated PCI / PCIE peripheral driver provides a dedicated debugging interface. Only specific drivers can be used for specific hardware. If additional interfaces need to be added, the driver needs to be modified and compiled. Repeated unloading and loading are very inflexible, and reloading the driver will destroy the Hardware BUG site, unable to obtain and locate hardware abnormality in time

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Peripheral equipment fault reason positioning method, device, equipment and medium
  • Peripheral equipment fault reason positioning method, device, equipment and medium
  • Peripheral equipment fault reason positioning method, device, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] In order to more clearly understand the above objects, features and advantages of the present disclosure, the solutions of the present disclosure will be further described below. It should be noted that, in the case of no conflict, the embodiments of the present disclosure and the features in the embodiments can be combined with each other.

[0046] In the following description, many specific details are set forth in order to fully understand the present disclosure, but the present disclosure can also be implemented in other ways than described here; obviously, the embodiments in the description are only some of the embodiments of the present disclosure, and Not all examples.

[0047] figure 1 It is a schematic flowchart of a method for locating a cause of a peripheral device failure provided by an embodiment of the present disclosure. This method is suitable for quickly locating the fault cause of PCI equipment, PCIE equipment and bridge equipment by obtaining the re...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention relates to a peripheral fault reason positioning method, a device, equipment and a medium. The method comprises the steps: obtaining the equipment information of a target peripheral, and enabling the equipment information to comprise the domain where the target peripheral is located, a bus number, an equipment number and a function number; exporting a standard file system interface by utilizing a Linux kernel in a user state; searching a target space file of the target peripheral under the standard file system interface based on the equipment information, the target space file comprising a configuration space file and / or a base address space file; acquiring a memory base address in a user state based on the target space file; acquiring register information of a state register related to the target peripheral based on the memory base address and a preset standard; and positioning a fault reason of the target peripheral based on the register information. By the adoption of the technical scheme, dependence on a third-party library is avoided, the compatibility problem of hardware architecture is solved, and external fault reasons can be quickly positioned.

Description

technical field [0001] The present disclosure relates to the technical field of network communication, and in particular to a method, device, equipment and medium for locating the cause of a peripheral failure. Background technique [0002] As the performance of current CPUs improves year by year, traditional low-speed peripherals are increasingly unable to meet actual production needs. So parallel PCI, PCI-X, and later the PCIE serial high-speed bus standard were developed. With the continuous development of technology, the PCIE bus architecture is becoming more and more abundant, and more and more high-speed PCIE peripherals are mounted, which are also becoming more and more complex. Due to the complexity and irrationality of hardware design, various abnormal phenomena may occur in general PCIE peripherals, such as complex problems that are difficult to locate such as function, performance, and stability. To locate these complex problems, collecting various status regist...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/07
Inventor 余建明
Owner BEIJING TOPSEC NETWORK SECURITY TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products