A data processing method and device

A data processing device and data processing technology, applied in the field of cloud computing, can solve problems such as no way to recover

Active Publication Date: 2022-03-22
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The deletion of the above-mentioned block storage is relatively violent. Once it is successfully deleted, the data stored on the underlying storage device will be formatted and there is no way to recover it forever.

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
  • A data processing method and device
  • A data processing method and device
  • A data processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0050] Such as figure 1 As shown, this embodiment provides a data processing method, including:

[0051] Step S101. When a deletion request of the cloud hard disk is received, the deletion type of the deletion request is acquired;

[0052] Step S102, if the deletion type is soft deletion, then set the logical value of the soft deletion flag corresponding to the cloud hard disk in the database to true, and keep the logical value of the original deletion flag corresponding to the cloud hard disk unchanged as the default value ;

[0053] Step S103, when the logical value of the soft delete flag corresponding to the cloud hard disk in the database is set to true, and the logical value of the original delete flag corresponding to the cloud hard disk is false, perform a soft delete operation on the cloud hard disk;

[0054] Wherein, the default value of the logical value of the original delete flag corresponding to the cloud hard disk is false.

[0055] In the above technical sol...

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 present application provides a data processing method and device, and the method includes: when receiving a deletion request of a cloud hard disk, obtaining the deletion type of the deletion request; if the deletion type is soft deletion, the The logical value of the corresponding soft deletion flag of the cloud hard disk is set to true, and the logical value of the original deletion flag corresponding to the cloud hard disk is maintained as the default value; when the logical value of the soft deletion flag corresponding to the cloud hard disk in the database is set to is true, and the logical value of the original deletion flag corresponding to the cloud hard disk is false, perform a soft delete operation on the cloud hard disk; wherein, the default value of the logical value of the original deletion flag corresponding to the cloud hard disk is false. This application does not delete data violently, so that subsequent data recovery can be realized.

Description

technical field [0001] The invention relates to the field of cloud computing, in particular to a data processing method and device. Background technique [0002] Cinder provides block storage services for the cloud platform OpenStack (an open source cloud computing management platform project), and can provide persistent services for Nova (the service that provides virtual machines in the cloud platform OpenStack) and Glance (the service that provides mirror images in the cloud platform OpenStack) storage resources. In fact, block storage means that after the cloud service provider constructs large-scale physical storage, it logically divides it into volumes, and then allocates them to hard disks mounted by users. [0003] Block storage is an integral part of the OpenStack platform. In OpenStack, block storage is a service used to create cloud hard disks. Block storage can not only be used as a system disk to store image files to start a virtual machine, but also as a virtu...

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): H04L67/1097G06F9/50G06F9/455
CPCH04L67/1097G06F9/45558G06F9/5022G06F2009/45562
Inventor 马豹苏广峰
Owner INSPUR SUZHOU 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