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

Method, device and equipment for automatic testing and querying hardware information upper layer interface

A technology of automated testing and hardware information, applied in faulty hardware testing methods, faulty computer hardware detection, error detection/correction, etc., can solve problems such as waste of manpower, low efficiency of hardware fault detection, waste of time, etc.

Active Publication Date: 2020-07-07
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method of manually querying the upper-layer interface of the hardware is a waste of time and manpower, resulting in low efficiency of the entire hardware fault detection

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
  • Method, device and equipment for automatic testing and querying hardware information upper layer interface
  • Method, device and equipment for automatic testing and querying hardware information upper layer interface
  • Method, device and equipment for automatic testing and querying hardware information upper layer interface

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] In order to enable those skilled in the art to better understand the solution of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0037] The terms "first", "second", "third" and "fourth" in the specification and claims of this application and the above drawings are used to distinguish different objects, rather than to describe a specific order . Furthermore, the terms "comprising" and "having", and any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or device compris...

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 a method, device and equipment for automatically testing and inquiring an upper interface of hardware information and a computer readable storage medium. Themethod comprises: acquring a to-be-tested hardware instance, and determining a query interface corresponding to the to-be-tested hardware instance; and modifying a return value of the query interfaceaccording to the modification data field in the received modification instruction, and redirecting the return value to a preset virtual file so as to obtain the modified return value when the virtualfile is read, and generating a test result according to a matching result of a preset expected value and the modified return value. According to the invention, the hardware information upper-layer interface is automatically tested and queried in a software manner, a hardware environment is simulated in a software mode, so that upper-layer software codes and bottom-layer hardware are isolated quickly and effectively, the test efficiency is improved, the test accuracy is enhanced, software and hardware environments are isolated, the problem that hardware is damaged when an upper-layer software interface is verified traditionally is effectively avoided, and the research and development cost is reduced.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of storage hardware fault detection, and in particular to a method, device, device, and computer-readable storage medium for automatically testing and querying hardware information upper-layer interfaces. Background technique [0002] With the rapid development of cloud computing and big data, users have higher and higher requirements for storage products. It is very necessary to detect hardware failures in time and quickly repair them for the entire storage system. [0003] At present, some hardware FRU (Field Replacement Unit, Field Replaceable Unit) information of the underlying equipment is queried through command lines provided by the software. However, when verifying the validity of the command line, manual hardware operations are generally required. For example, to verify the presence status of a fan in a storage device, it is necessary to manually pull out the fan module, and c...

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 Patents(China)
IPC IPC(8): G06F11/22
CPCG06F11/2205G06F11/2273
Inventor 唐帅
Owner INSPUR SUZHOU INTELLIGENT 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