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

Equipment diagnosis method and system

A technology of diagnosis system and diagnosis method, applied in the field of communication, can solve the problems of too simple information, unable to judge faults, unable to use display, etc., to achieve the effect of accurate diagnosis and realization of faults

Inactive Publication Date: 2011-06-01
HUAWEI TECH CO LTD
View PDF3 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] When using the 0x80 port for debugging, the output information is often too simple to make an accurate judgment on the fault; while using a special diagnostic program due to running under the BIOS operating system or during the BIOS startup phase, when the memory or PCI / PCIE (Peripheral When Component Interconnect / Peripheral Component Interconnect Express, peripheral connection bus / peripheral connection increased bus) fails, it is often impossible to use the display, keyboard and other equipment, so that the diagnostic function cannot be realized

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
  • Equipment diagnosis method and system
  • Equipment diagnosis method and system
  • Equipment diagnosis method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] Embodiment 1 of the present invention provides a device diagnosis method, see figure 2 , including the following steps:

[0028] S101. After the system is started, determine whether to enter the diagnosis mode;

[0029] S102. When it is determined that the diagnosis mode is entered, the device is diagnosed by executing a diagnosis program;

[0030] S103. When it is judged that the diagnosis mode is not entered, perform conventional BIOS or EFI startup.

[0031] In the embodiment of the present invention, the diagnostic program code can be located in the same memory as the original conventional BIOS or EFI of the system, such as memory such as Flash, E2PROM; it can also be located in a different memory from the BIOS or EFI, such as adding a memory to the system to store the diagnosis. program code. Regardless of the storage method used, the diagnostic program code is separate from the BIOS program code (or EFI program code).

[0032] It should be noted that the abov...

Embodiment 2

[0037] The embodiment of the present invention provides a device diagnosis method, taking the device booting with BIOS as an example, see image 3 , including the following steps:

[0038] S201. Divide the diagnostic program and the BIOS program into two independent modules and store them together;

[0039] The BIOS program here is consistent with the existing conventional BIOS program, and is used to complete the device startup function, and is usually stored in memories such as Flash and E2PROM. The diagnostic program is independent from the existing BIOS program, that is, executing the diagnostic program or the BIOS program alone will not affect the other program. The diagnostic program can be implemented in C language or other languages. After compiling, a binary computer executable program can be generated, and then it can be stored in the same memory with the BIOS, or it can be stored in a memory separately from the BIOS. Here The memory can be Flash, or E2PROM and oth...

Embodiment 3

[0075] An embodiment of the present invention provides a device diagnosis system, including:

[0076] A judging unit 31, configured to judge whether to perform a diagnostic mode when the system is started;

[0077] A diagnosis unit 32, configured to diagnose the device by executing a diagnosis program after the judgment unit judges that the diagnosis mode is performed;

[0078] A normal startup unit 33, configured to perform normal BIOS or EFI startup when the judging unit judges not to enter the diagnosis mode.

[0079] The embodiment of the present invention may also include a storage unit 34 for storing program codes, and the storage unit includes:

[0080] The first storage unit 341 is used to store the code of the program executed by the judging unit;

[0081] The second storage unit 342 is used to store the code of the diagnostic program;

[0082] The third storage unit 343 is used to store codes of BIOS or EFI programs;

[0083] The storage unit can use Flash, or E2...

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 discloses an equipment diagnosis method and system. The equipment diagnosis method comprises: when a system is started, judging whether the system enters a diagnosis mode; when the system enters the diagnosis node, diagnosing the equipment by performing a diagnosis program; when the system does not enter the diagnosis node, carrying out normal basic input output system (BIOS) or extensible firmware interface (EFI) startup. In the embodiment of the invention, whether the system enters the diagnosis node or not is firstly judged after the system is started, if yes, the diagnosis node is started, and if no, the normal BIOS or EFI startup is continuously performed to realize accurate diagnosis on equipment; and if the memory or peripheral component interconnect / peripheral component interface express (PCI / PCIE) bus errors happen in the equipment, the fault can be diagnosed because the diagnosis program is loaded before BIOS startup.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a device diagnosis method and system. Background technique [0002] In the field of IT and electronic communication, in order to improve the reliability of equipment operation and enhance the maintainability of equipment, the equipment is generally diagnosed and tested. If there is an error, relevant error information is output, and the equipment is subsequently maintained according to these error information. [0003] Devices based on the X86 system first start the system through BIOS (Basic Input Output System) or EFI (Extensible Firmware Interface, Extensible Firmware Interface), complete the initialization and diagnosis of hardware devices, and then enter the operating system. Taking booting through BIOS as an example, in order to diagnose hardware devices, the prior art often adopts the method of adding a debugging program in the BIOS and outputting debugging informat...

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
IPC IPC(8): G06F11/22
CPCG06F11/2284G06F11/2221
Inventor 王飞舟陶林李羿常琳
Owner HUAWEI TECH CO LTD
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