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: 2019-10-25
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
  • Data processing method and device
  • Data processing method and device
  • Data processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0050] like 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 obtained;

[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 soluti...

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 provides a data processing method and device, and the method comprises the steps: obtaining a deletion type of a deletion request when the deletion request of a cloud hard disk is received; if the deletion type is soft deletion, setting a logic value of a soft deletion mark corresponding to the cloud hard disk in a database to be true, and keeping the logic value of an original deletion mark corresponding to the cloud hard disk unchanged as a default value; and, when the logic value of the soft deletion mark corresponding to the cloud hard disk in the database is set to be true and the logic value of the original deletion mark corresponding to the cloud hard disk is false, performing soft deletion operation on the cloud hard disk, wherein the default value of the logic valueof the original deletion mark corresponding to the cloud hard disk is false. Violent deletion is not performed on the data, 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 Applications(China)
IPC IPC(8): H04L29/08G06F9/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