Patent ID: 11126590

Abstract:
Embodiments of the present disclosure disclose a data processing method, including: receiving an upload instruction for a target file; obtaining storage location information of the target file in response to the upload instruction; and uploading the target file to a corresponding target first storage device in K first storage devices and M second storage devices according to location information of the K first storage devices and location information of the M second storage devices, so that when determining that a preset condition is satisfied, a target second storage device in the M second storage devices generates M parity blocks according to a file stored in the target second storage device, respectively stores M−1 parity blocks in remaining M−1 second storage devices, deletes the file stored in the target second storage device, and instructs the remaining M−1 second storage devices to delete files stored in the remaining M−1 second storage devices. The embodiments of the present disclosure further disclose a data processing device. By implementing the embodiments of the present disclosure, network bandwidth overheads caused by cache writing can be effectively reduced.