摘要:
A non-volatile storage device is disclosed. The non-volatile storage device includes an interface module (11), a control module (12), a read cache (13), and a storage chip (14). The interface module is configured to: receive a first read request signal sent by a host (401), where the first read request signal includes an address of the storage chip; when read data requested by the first read request signal is not stored in the read cache (402), instruct the control module to read the read data from the storage chip (403); and before the host ends a current read operation period, send a first interrupt signal (404) and predetermined data (405) to the host, where the predetermined data is used to cause the host to end the read operation period, and the first interrupt signal is used to instruct the host to execute an interrupt handler after the read operation period (406). In this way, the interrupt signal is sent, so that the host enters the interrupt handler to wait for correct data, preventing the host from obtaining incorrect data to perform a subsequent operation.
摘要:
Embodiments of the present invention disclose a PCI express device, and a link energy management method and device. The method includes: obtaining, by a first device, adjustment information for performing adjustment processing on a current rate and/or bit width of a PCI express link; stopping, by the first device, data sending, and clearing a master enable bit of a configuration space command register of a second device at an opposite end of the link, so that the second device stops data sending after current data sending is finished; performing, by the first device, adjustment processing on the rate and/or bit width of the link according to the adjustment information; resuming, by the first device, the data sending, and resetting the master enable bit, so that the first device and the second device send and receive data again at a rate and/or bit width that is obtained after the adjustment processing.
摘要:
A data loading system is provided, and the data loading system includes a processing module (401), a nonvolatile memory (403), and a programmable logic device (402). The processing module (401) and the programmable logic device (402) are separately connected to different data interfaces of the nonvolatile memory (403); the nonvolatile memory (403) stores start code of the processing module (401) and configuration data of the programmable logic device (402); and the processing module (401) and the programmable logic device (402) are configured to respectively obtain the start code and the configuration data from the nonvolatile memory (403) at the same time under the action of a first synchronization clock. The system can increase a speed and reliability of data loading and increase a start speed and reliability of a board.
摘要:
The present invention discloses a method and an apparatus for adjusting device power consumption. The method includes: grouping multiple devices into at least one device group, setting a group power consumption ceiling threshold for the device group, and setting a device power consumption ceiling threshold for each device in the device group; obtaining current total power consumption of the device group, and when the current total power consumption of the device group exceeds the group power consumption ceiling threshold, determining whether current power consumption of each device in the device group exceeds the device power consumption ceiling threshold of the device; when the current power consumption of each device exceeds the device power consumption ceiling threshold of the device, reducing power consumption of each device to the device power consumption ceiling threshold of the device; and when current power consumption of a device exceeds a device power consumption ceiling threshold of the device, setting a new power consumption ceiling threshold for the device, and reducing power consumption of the device to the new power consumption ceiling threshold or less than the new power consumption ceiling threshold. The method and the apparatus in the present invention fully use the power budget of the device and give full play to device performance.
摘要:
The present invention discloses a method for backing up data in a case of a power failure of a storage system, and a storage system controller. The method includes: when a power failure is detected, acquiring current refresh progress of a buffer in a storage system, an address, in the buffer, of data that is in the buffer and needs to be backed up to a non-volatile memory in the storage system, and first time required for backing up the data; calculating, according to the current refresh progress of the buffer and the address of the data in the buffer, second time for which the data can at least keep being not lost since a last refresh; and stopping refreshing the buffer, and backing up the data to the non-volatile memory, if the second time is greater than the first time. According to the present invention, when a power failure occurs to a storage system and data in a buffer needs to be backed up to a non-volatile memory, a refresh operation is stopped in a case in which data backup can be completed before a refresh is performed again on to-be-backed-up data, so that power consumption resulting from an unnecessary refresh operation can be saved and power supply time of a backup power supply can be extended.
摘要:
A storage apparatus accessed by using a memory bus is disclosed. The apparatus includes an interface controller, a storage module, a storage controller, a command register, a status register, and a buffer. In addition, the interface controller can be electrically connected to a memory module interface of a computer system. The interface controller receives an access command for accessing the storage module sent by a CPU. The interface controller writes the access command into the command register, and records a current access status or result by using the status register. The storage controller performs status setting on the status register according to the access command in the command register, and performs a corresponding read/write operation on the storage module. In this solution, the storage apparatus can be electrically connected to the memory module interface of the computer system and the storage apparatus has a relatively small size, so that space is saved, thereby improving an installation density and a storage capacity of the storage apparatus. By additionally setting the command register and the status register, a data access space of the storage apparatus is no longer limited by an addressing space provided by the CPU.
摘要:
The present invention discloses a hard disk data recovery method, apparatus, and system. The method includes: recording a logical block address corresponding to erroneous data and existing in a hard disk if an error is discovered when data is read from the hard disk; performing a recovery operation for data at a first physical block address corresponding to the logical block address according to a preset algorithm to obtain recovered data; and sending an instruction of writing the recovered data into the logical block address to the hard disk so that the hard disk writes the recovered data into the logical block address according to the instruction, where the logical block address corresponds to a remapped second physical block address. The present invention further discloses a hard disk data recovery apparatus and system. The objective of the present invention is to provide a hard disk data recovery method, apparatus, and system to write the recovered data obtained according to the preset algorithm into a sector corresponding to a remapped new physical block address, thereby repairing an erroneous sector or a bad block of the hard disk quickly and improving efficiency of repairing the erroneous sector of the hard disk or the bad block of the hard disk.