Hardware data acquisition method, device, equipment and system and readable storage medium

A hardware device and data acquisition technology, applied in the storage field, can solve the problems of affecting test speed, time-consuming disassembly and assembly, and long time-consuming hardware data, etc.

Inactive Publication Date: 2019-07-12
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this case, the disassembly and assembly of the controller of the storage system is time-consuming; in addition, a special connector is added, and the IIC device needs to be manually unplugged and plugged in when the IIC device needs to be converted. It takes a long time to obtain hardware data. Long, further affecting the test speed

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
  • Hardware data acquisition method, device, equipment and system and readable storage medium
  • Hardware data acquisition method, device, equipment and system and readable storage medium
  • Hardware data acquisition method, device, equipment and system and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] Please refer to figure 1 , figure 1 It is a flowchart of a hardware data acquisition method in an embodiment of the present invention, the method includes the following steps:

[0041] S101. The CPLD receives the hardware data reading instruction sent by the PC.

[0042] Wherein, the CPLD is located in the mainboard of the storage system.

[0043] When performing any of the operations of testing, debugging, detection and monitoring on the storage system, especially when it is necessary to obtain the hardware data of the IIC device in the storage system, you can send the hardware data to the CPLD in the storage system by operating the PC to read instruction. Specifically, the PC can send a hardware data reading instruction to the CPLD of the storage system through the UART (Universal Asynchronous Receiver / Transmitter) inside the PC, that is, the CPLD receives the hardware data reading instruction sent by the PC using the UART. instruction. Among them, UART is a part...

Embodiment 2

[0065] Corresponding to the above method embodiment, the embodiment of the present invention also provides a hardware data acquisition device, which can be applied to CPLD, the hardware data acquisition device described below and the hardware data acquisition method described above can be referred to each other .

[0066] see figure 2 As shown, the device includes the following modules:

[0067] Instruction receiving module 101, for receiving the hardware data reading instruction that PC sends; Wherein, CPLD is positioned at the motherboard of storage system;

[0068] The instruction analysis module 102 is used for analyzing the hardware data read request, and utilizes the analysis result to determine the target hardware equipment from the hardware equipment connected with the CPLD through the IIC bus;

[0069] An instruction forwarding module 103, configured to establish a communication connection with the target hardware device, and send a hardware data reading instructio...

Embodiment 3

[0080] Corresponding to the above method embodiments, an embodiment of the present invention also provides a hardware data acquisition system, and a hardware data acquisition system described below and a hardware data acquisition method described above can be referred to in correspondence.

[0081] It should be noted that, for ease of description, a storage device is used to represent the storage system described above, and the storage device and the storage system herein may be equivalently replaced.

[0082] Please refer to image 3 , image 3 It is a schematic structural diagram of a hardware data acquisition system in an embodiment of the present invention, the system includes:

[0083] PC (200) and storage device (300) with UART (201), storage device has CPLD (301) and IIC equipment (302-30n as shown in the figure), wherein CPLD is connected with IIC, and PC is through UART Connect with CPLD; PC sends hardware data reading instruction to CPLD through UART; CPLD analyzes...

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 invention discloses a hardware data acquisition method. The method comprises: enabling a CPLD to receive a hardware data reading instruction sent by a PC, wherein the CPLD is located in a main board of the storage system; analyzing the hardware data reading request, and determining target hardware equipment from the hardware equipment connected with the CPLD through the IIC bus by utilizing ananalysis result; establishing a communication connection with the target hardware device, and sending a hardware data reading instruction to the target hardware device; and receiving hardware data returned by the target hardware equipment, and sending the hardware data to the PC. According to the method, the hardware data can be obtained without disassembling the controller of the storage systemand adding an additional connector, so that the processing efficiency can be improved when the method for quickly obtaining the hardware data is applied to the testing, debugging, detecting or monitoring process of the storage system. The invention further discloses a hardware data acquisition device and system and a readable storage medium which have corresponding technical effects.

Description

technical field [0001] The present invention relates to the field of storage technology, in particular to a hardware data acquisition method, device, equipment, system and readable storage medium. Background technique [0002] In the process of storage system development and design, you will encounter a variety of low-speed bus protocols, such as UART, IIC and so on. [0003] Generally, developers connect the PC and the storage system through a USB-to-UART cable, so that the PC can obtain the hardware data in the storage system. However, there are still many places in the storage system that use the IIC bus. At this time, if you want to access the IIC device, such as obtaining the hardware data of the IIC device, you need to disassemble the controller of the storage system (such as the storage motherboard), and then use a dedicated connector. Connect the IIC device (the hardware device connected to the storage system using the IIC bus, such as BBC, BMC, PCH) to the PC for d...

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): G06F3/06
CPCG06F3/0607G06F3/0653G06F3/0658G06F3/0659
Inventor 钱海军
Owner SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products