CN110008175A - A kind of distributed objects storage Snapshot Method, system, equipment and computer media - Google Patents

A kind of distributed objects storage Snapshot Method, system, equipment and computer media Download PDF

Info

Publication number
CN110008175A
CN110008175A CN201910290905.XA CN201910290905A CN110008175A CN 110008175 A CN110008175 A CN 110008175A CN 201910290905 A CN201910290905 A CN 201910290905A CN 110008175 A CN110008175 A CN 110008175A
Authority
CN
China
Prior art keywords
snapshot
target
data pointer
initial object
attribute
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910290905.XA
Other languages
Chinese (zh)
Inventor
胡永刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Wave Intelligent Technology Co Ltd
Original Assignee
Suzhou Wave Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Wave Intelligent Technology Co Ltd filed Critical Suzhou Wave Intelligent Technology Co Ltd
Priority to CN201910290905.XA priority Critical patent/CN110008175A/en
Publication of CN110008175A publication Critical patent/CN110008175A/en
Pending legal-status Critical Current

Links

Abstract

This application discloses a kind of distributed objects storage Snapshot Method, system, equipment and computer medias, and the initial object attribute in the bucket of distributed objects storage is carried out snapshot, obtains snapshot object properties;According to the direction of the data pointer of initial object attribute, the data pointer of snapshot object properties is adjusted, keeps initial object attribute identical as the direction of the data pointer of snapshot object properties.A kind of distributed objects disclosed in the present application store Snapshot Method, after obtaining the snapshot object properties of bucket, keep initial object attribute identical with the direction of the data pointer of snapshot object properties, so as to find corresponding object information according to the data pointer of snapshot object properties, the data loss rate of distributed objects storage can be reduced.A kind of distributed objects storage fast photographic system, equipment and computer readable storage medium disclosed in the present application also solve the problems, such as relevant art.

Description

A kind of distributed objects storage Snapshot Method, system, equipment and computer media
Technical field
This application involves distributed objects technical field of memory, store more specifically to a kind of distributed objects fast According to method, system, equipment and computer media.
Background technique
In face of the magnanimity unstructured data increasingly to increase severely, because the high concurrent of distributed objects storage, height are handled up, low investment It is more and more wider with the application of highly-safe feature, distributed objects storage.Although distributed objects storage can be entangled using copy Yard data redundant fashion is deleted to improve the safety of data, but under extreme case, the case where loss there are still storing data.
In conclusion the data loss rate for how reducing distributed objects storage is that current those skilled in the art urgently solve Certainly the problem of.
Summary of the invention
The purpose of the application is to provide a kind of distributed objects data storage Snapshot Method, can solve to a certain extent The technical issues of how reducing the data loss rate of distributed objects storage.Present invention also provides a kind of storages of distributed objects Fast photographic system, equipment and computer readable storage medium.
To achieve the goals above, the application provides the following technical solutions:
A kind of distributed objects storage Snapshot Method, comprising:
Initial object attribute in the bucket of distributed objects storage is subjected to snapshot, obtains snapshot object properties;
According to the direction of the data pointer of the initial object attribute, the data pointer of the snapshot object properties is adjusted, Keep the initial object attribute identical as the direction of data pointer of the snapshot object properties.
Preferably, after the data pointer of the adjustment snapshot object properties, further includes:
Receive the covering write request for target initial object in the bucket;
The target initial object is replicated, duplication target initial object is obtained;
Utilize target initial object described in the corresponding covering data cover of the covering write request;
In the snapshot object properties, adjust the data pointer of the target initial object is oriented to the duplication mesh Mark initial object.
Preferably, described to replicate the target initial object, obtain duplication target initial object, comprising:
Judge with the presence or absence of the duplication target initial object in the bucket, if it is not, then executing described by the mesh The step of mark initial object is replicated, and duplication target initial object is obtained.
Preferably, after the data pointer of the adjustment snapshot object properties, further includes:
Receive the removal request for target initial object in the bucket;
The target initial object is replicated, duplication target initial object is obtained;
Delete the target initial object;
In the snapshot object properties, adjust the data pointer of the target initial object is oriented to the duplication mesh Mark initial object.
Preferably, after the data pointer of the adjustment snapshot object properties, further includes:
Receive the write request for target object;
Itself is written in the target object;
The target object attribute is added to the initial object category by the target object attribute for generating the target object Property, and the data pointer for adjusting the target object attribute is oriented to the target object.
Preferably, it is described obtain snapshot object properties after, further includes:
In the attribute of the bucket, the SNAPSHOT INFO of the bucket is added, the SNAPSHOT INFO includes described fast Title, Snapshot time according to object properties.
Preferably, after the data pointer of the adjustment snapshot object properties, further includes:
When receiving the first request for reading snapshot object, according to the data pointer of the snapshot object properties, institute is read State the corresponding snapshot object of the first request;
When receiving the second request for reading initial object, according to the data pointer of the initial object attribute, institute is read State the corresponding initial object of the second request.
A kind of distributed objects storage fast photographic system, comprising:
First snapshot module, the initial object attribute in the bucket for storing distributed objects carry out snapshot, obtain To snapshot object properties;
The first adjustment module adjusts the snapshot pair for the direction of the data pointer according to the initial object attribute As the data pointer of attribute, keep the initial object attribute identical as the direction of data pointer of the snapshot object properties.
A kind of distributed objects storage Snapshot Devices, comprising:
Memory, for storing computer program;
Processor realizes that as above any distributed objects store Snapshot Method when for executing the computer program The step of.
A kind of computer readable storage medium is stored with computer program in the computer readable storage medium, described The step of as above any distributed objects storage Snapshot Method is realized when computer program is executed by processor.
A kind of distributed objects provided by the present application store Snapshot Method, will be first in the bucket of distributed objects storage Source object attribute carries out snapshot, obtains snapshot object properties;According to the direction of the data pointer of initial object attribute, snapshot is adjusted The data pointer of object properties keeps initial object attribute identical as the direction of the data pointer of snapshot object properties.The application mentions Supply a kind of distributed objects store Snapshot Method, after obtaining the snapshot object properties of bucket, make initial object attribute and The direction of the data pointer of snapshot object properties is identical, so as to be found accordingly according to the data pointer of snapshot object properties Object information, can reduce distributed objects storage data loss rate.A kind of distributed objects storage provided by the present application Fast photographic system, equipment and computer readable storage medium also solve the problems, such as relevant art.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is the first pass figure that a kind of distributed objects provided by the embodiments of the present application store Snapshot Method;
Fig. 2 is the second flow chart that a kind of distributed objects provided by the embodiments of the present application store Snapshot Method;
Fig. 3 is the structural schematic diagram that a kind of distributed objects provided by the embodiments of the present application store fast photographic system;
Fig. 4 is the structural schematic diagram that a kind of distributed objects provided by the embodiments of the present application store Snapshot Devices;
Fig. 5 is another structural schematic diagram that a kind of distributed objects provided by the embodiments of the present application store Snapshot Devices.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
In face of the magnanimity unstructured data increasingly to increase severely, because the high concurrent of distributed objects storage, height are handled up, low investment It is more and more wider with the application of highly-safe feature, distributed objects storage.Although distributed objects storage can be entangled using copy Yard data redundant fashion is deleted to improve the safety of data, but under extreme case, the case where loss there are still storing data.This A kind of distributed objects storage Snapshot Method that application provides can reduce the data loss rate of distributed objects storage.
Referring to Fig. 1, Fig. 1 is the first pass that a kind of distributed objects provided by the embodiments of the present application store Snapshot Method Figure.
A kind of distributed objects provided by the embodiments of the present application store Snapshot Method, may comprise steps of:
Step S101: the initial object attribute in the bucket of distributed objects storage is subjected to snapshot, obtains snapshot pair As attribute.
It, can be by the initial object attribute in the bucket of distributed objects storage when needing snapshot in practical application Snapshot is carried out, snapshot object properties are obtained.Initial object attribute refers to that object properties existing for script, object refer in bucket Be storage object in distributed objects storage, object properties refer to the attribute of object present in bucket.It should refer to Out, when carrying out snapshot to initial object attribute, bucket should be carried out plus writes lock, bucket is forbidden to carry out write operation etc., After the completion of snapshot, then discharges plus write lock.
Step S102: according to the direction of the data pointer of initial object attribute, adjusting the data pointer of snapshot object properties, Keep initial object attribute identical as the direction of the data pointer of snapshot object properties.
It, can be according to the finger of the data pointer of initial object attribute after obtaining snapshot object properties in practical application To the data pointer of adjustment snapshot object properties, so that the direction of initial object attribute and the data pointer of snapshot object properties It is identical.By taking initial object attribute A as an example, if initial object attribute A is directed toward object A, snapshot object properties A is also directed toward object A, thus, it is possible to the direction of the data pointer by snapshot object properties, to search corresponding object data.
In concrete application scene, when needing to cover the data of bucket, in order to guarantee the availability of snapshot object properties, After the data pointer for adjusting snapshot object properties, the covering write request for target initial object in bucket is received;It will Target initial object is replicated, and duplication target initial object is obtained;Utilize the corresponding covering data cover of covering write request Target initial object;In snapshot object properties, adjust target initial object data pointer be oriented to duplication target it is initial Object.Due to being replicated to obtain duplication target initial object to target initial object, and in snapshot object properties, adjustment The data pointer of target initial object is oriented to duplication target initial object, in this way, even if target initial object is capped, still Target initial object can be obtained according to snapshot object properties and duplication target initial object.In the process, if to target Initial object is replicated, at this time when there is covering write request, namely when carrying out covering write-in twice to a certain data, Object after covering for the first time is just to cover the target initial object write when previous, at this time just should not be again to target initial object It is replicated, because the target initial object of most original can be made to lose, in order to avoid such case, by mesh after replicating again Mark initial object is replicated, and the process for obtaining duplication target initial object can be with specifically: judges to whether there is in bucket Target initial object is replicated, replicates target initial object if it is not, then executing, obtains the step of duplication target initial object Suddenly.
In concrete application scene, when needing to delete data, in order to guarantee that target initial object is not lost, in adjustment snapshot After the data pointer of object properties, the removal request for target initial object in bucket is received;By target initial object It is replicated, obtains duplication target initial object;Delete target initial object;In snapshot object properties, adjustment target is initial The data pointer of object is oriented to duplication target initial object.
In concrete application scene, when there is new target object that bucket is written, new target data is not belonging to snapshot pair As, it is possible to without carrying out operation relevant to snapshot to it, then after the data pointer of adjustment snapshot object properties, connect Receive the write request for target object;Itself is written in target object;The target object attribute for generating target object, by target Object properties are added to initial object attribute, and the data pointer for adjusting target object attribute is oriented to target object.
In concrete application scene, the SNAPSHOT INFO of bucket is checked for the ease of the external world, the snapshot of bucket can be believed Breath is stored in bucket, then after obtaining snapshot object properties, also in the attribute of bucket, adds the snapshot letter of bucket Breath, SNAPSHOT INFO includes the title of snapshot object properties, Snapshot time etc..The attribute of bucket include bucket title, the bucket owner, Logical permission etc..
It, can be with flexible Application initial object attribute and snapshot number of objects for the ease of searching data in concrete application scene According to then after the data pointer of adjustment snapshot object properties, when receiving the first request for reading snapshot object, according to snapshot The data pointer of object properties reads the corresponding snapshot object of the first request;When receiving the second request for reading initial object, According to the data pointer of initial object attribute, the corresponding initial object of the second request is read.
A kind of distributed objects provided by the present application store Snapshot Method, will be first in the bucket of distributed objects storage Source object attribute carries out snapshot, obtains snapshot object properties;According to the direction of the data pointer of initial object attribute, snapshot is adjusted The data pointer of object properties keeps initial object attribute identical as the direction of the data pointer of snapshot object properties.The application mentions Supply a kind of distributed objects store Snapshot Method, after obtaining the snapshot object properties of bucket, make initial object attribute and The direction of the data pointer of snapshot object properties is identical, so as to be found accordingly according to the data pointer of snapshot object properties Object information, can reduce distributed objects storage data loss rate.It, can be in addition, using bucket as snapshot unit Snapshot data is handled as unit of bucket, treatment effeciency can be improved to a certain extent.
Referring to Fig. 2, Fig. 2 is the second procedure that a kind of distributed objects provided by the embodiments of the present application store Snapshot Method Figure.
In practical application, a kind of distributed objects storage Snapshot Method provided by the embodiments of the present application may include following step It is rapid:
Step S201: the initial object attribute in the bucket of distributed objects storage is subjected to snapshot, obtains snapshot pair As attribute.
Step S202: in the attribute of bucket, the SNAPSHOT INFO of bucket is added, SNAPSHOT INFO includes snapshot object category The title of property, Snapshot time.
Step S203: according to the direction of the data pointer of initial object attribute, adjusting the data pointer of snapshot object properties, Keep initial object attribute identical as the direction of the data pointer of snapshot object properties.
Step S204: it when receiving the first request for reading snapshot object, according to the data pointer of snapshot object properties, reads Take the corresponding snapshot object of the first request.
Step S205: it when receiving the second request for reading initial object, according to the data pointer of initial object attribute, reads Take the corresponding initial object of the second request.
Present invention also provides a kind of distributed objects to store fast photographic system, with one kind provided by the embodiments of the present application The correspondence effect that distributed objects storage Snapshot Method has.Referring to Fig. 3, Fig. 3 is a kind of point provided by the embodiments of the present application The structural schematic diagram of cloth object storage fast photographic system.
A kind of distributed objects provided by the embodiments of the present application store fast photographic system, may include:
First snapshot module 101, the initial object attribute in the bucket for storing distributed objects carry out snapshot, Obtain snapshot object properties;
The first adjustment module 102 adjusts snapshot object properties for the direction of the data pointer according to initial object attribute Data pointer, keep initial object attribute identical as the direction of the data pointer of snapshot object properties.
A kind of distributed objects provided by the embodiments of the present application store fast photographic system, can also include:
First receiving module, for the first adjustment module adjustment snapshot object properties data pointer after, receive for The covering write request of target initial object in bucket;
First replication module obtains duplication target initial object for replicating target initial object;
First overlay module, for utilizing the corresponding covering data cover target initial object of covering write request;
Second adjustment module, for adjusting being oriented to for the data pointer of target initial object in snapshot object properties Replicate target initial object.
A kind of distributed objects provided by the embodiments of the present application store fast photographic system, and the first replication module may include:
First judging unit, for judging with the presence or absence of duplication target initial object in bucket, if it is not, then prompting first The step of replication module execution replicates target initial object, obtains duplication target initial object.
A kind of distributed objects provided by the embodiments of the present application store fast photographic system, can also include:
Second receiving module, for the first adjustment module adjustment snapshot object properties data pointer after, receive for The removal request of target initial object in bucket;
Second replication module obtains duplication target initial object for replicating target initial object;
First removing module is used for delete target initial object;
Third adjusts module, for adjusting being oriented to for the data pointer of target initial object in snapshot object properties Replicate target initial object.
A kind of distributed objects provided by the embodiments of the present application store fast photographic system, can also include:
Third receiving module, for the first adjustment module adjustment snapshot object properties data pointer after, receive for The write request of target object;
First writing module, for itself to be written in target object;
Target object attribute is added to initially by the first generation module for generating the target object attribute of target object Object properties, and the data pointer for adjusting target object attribute is oriented to target object.
A kind of distributed objects provided by the embodiments of the present application store fast photographic system, can also include:
First adding module after obtaining snapshot object properties for the first snapshot module, in the attribute of bucket, adds Add the SNAPSHOT INFO of bucket, SNAPSHOT INFO includes the title of snapshot object properties, Snapshot time.
A kind of distributed objects provided by the embodiments of the present application store fast photographic system, can also include:
First read module, for the first adjustment module adjustment snapshot object properties data pointer after, when receive read When taking the first of snapshot object to request, according to the data pointer of snapshot object properties, the corresponding snapshot object of the first request is read;
Second read module, when for being requested when receive reading initial object second, according to the number of initial object attribute According to pointer, the corresponding initial object of the second request is read.
Present invention also provides a kind of distributed objects storage Snapshot Devices and computer readable storage mediums, all have The correspondence effect that a kind of distributed objects storage Snapshot Method provided by the embodiments of the present application has.Referring to Fig. 4, Fig. 4 is this Apply for a kind of structural schematic diagram for distributed objects storage Snapshot Devices that embodiment provides.
A kind of distributed objects provided by the embodiments of the present application store Snapshot Devices, including memory 201 and processor 202, computer program is stored in memory 201, processor 202 executes real when the computer program stored in memory 201 Existing following steps:
Initial object attribute in the bucket of distributed objects storage is subjected to snapshot, obtains snapshot object properties;
According to the direction of the data pointer of initial object attribute, the data pointer of snapshot object properties is adjusted, it is initial right to make As attribute is identical as the direction of the data pointer of snapshot object properties.
A kind of distributed objects provided by the embodiments of the present application store Snapshot Devices, including memory 201 and processor 202, computer subprogram is stored in memory 201, processor 202 executes the computer subprogram stored in memory 201 When be implemented as follows step: after the data pointer of adjustment snapshot object properties, it is initially right for target in bucket to receive The covering write request of elephant;Target initial object is replicated, duplication target initial object is obtained;Utilize covering write request Corresponding covering data cover target initial object;In snapshot object properties, the data pointer of target initial object is adjusted It is oriented to duplication target initial object.
A kind of distributed objects provided by the embodiments of the present application store Snapshot Devices, including memory 201 and processor 202, computer subprogram is stored in memory 201, processor 202 executes the computer subprogram stored in memory 201 When be implemented as follows step: judge in bucket with the presence or absence of duplication target initial object, if it is not, then execute target is initial The step of object is replicated, and duplication target initial object is obtained.
A kind of distributed objects provided by the embodiments of the present application store Snapshot Devices, including memory 201 and processor 202, computer subprogram is stored in memory 201, processor 202 executes the computer subprogram stored in memory 201 When be implemented as follows step: after the data pointer of adjustment snapshot object properties, it is initially right for target in bucket to receive The removal request of elephant;Target initial object is replicated, duplication target initial object is obtained;Delete target initial object;? In snapshot object properties, adjust the data pointer of target initial object is oriented to duplication target initial object.
A kind of distributed objects provided by the embodiments of the present application store Snapshot Devices, including memory 201 and processor 202, computer subprogram is stored in memory 201, processor 202 executes the computer subprogram stored in memory 201 When be implemented as follows step: after the data pointer of adjustment snapshot object properties, receive the write request for target object; Itself is written in target object;The target object attribute for generating target object, is added to initial object category for target object attribute Property, and the data pointer for adjusting target object attribute is oriented to target object.
A kind of distributed objects provided by the embodiments of the present application store Snapshot Devices, including memory 201 and processor 202, computer subprogram is stored in memory 201, processor 202 executes the computer subprogram stored in memory 201 When be implemented as follows step: after obtaining snapshot object properties, in the attribute of bucket, add bucket snapshot letter Breath, SNAPSHOT INFO includes the title of snapshot object properties, Snapshot time.
A kind of distributed objects provided by the embodiments of the present application store Snapshot Devices, including memory 201 and processor 202, computer subprogram is stored in memory 201, processor 202 executes the computer subprogram stored in memory 201 When be implemented as follows step: after the data pointer of adjustment snapshot object properties, read the first of snapshot object when receiving and ask When asking, according to the data pointer of snapshot object properties, the corresponding snapshot object of the first request is read;Initial object is read when receiving The second request when, according to the data pointer of initial object attribute, read the corresponding initial object of the second request.
Referring to Fig. 5, can also include: in another kind distributed objects storage Snapshot Devices provided by the embodiments of the present application The input port 203 connecting with processor 202 is used for transmission the extraneous order inputted to processor 202;Connect with processor 202 The display unit 204 connect, the processing result for video-stream processor 202 is to the external world;The communication module being connect with processor 202 205, for realizing distributed objects storage Snapshot Devices and extraneous communication.Display unit 204 can be display panel, laser Scanning makes display etc.;Communication mode used by communication module 205 includes but is not limited to mobile high definition chained technology (HML), universal serial bus (USB), high-definition media interface (HDMI), wireless connection: adopting wireless fidelity technology (WiFi), bluetooth The communication technology, the low-power consumption bluetooth communication technology, the communication technology based on IEEE802.11s.
A kind of computer readable storage medium provided by the embodiments of the present application is stored with meter in computer readable storage medium Calculation machine program, realizes following steps when computer program is executed by processor:
Initial object attribute in the bucket of distributed objects storage is subjected to snapshot, obtains snapshot object properties;
According to the direction of the data pointer of initial object attribute, the data pointer of snapshot object properties is adjusted, it is initial right to make As attribute is identical as the direction of the data pointer of snapshot object properties.
A kind of computer readable storage medium provided by the embodiments of the present application is stored with meter in computer readable storage medium Loom program is calculated, computer subprogram is implemented as follows step when being executed by processor: the data of adjustment snapshot object properties After pointer, the covering write request for target initial object in bucket is received;Target initial object is replicated, is obtained To duplication target initial object;Utilize the corresponding covering data cover target initial object of covering write request;In snapshot object In attribute, adjust the data pointer of target initial object is oriented to duplication target initial object.
A kind of computer readable storage medium provided by the embodiments of the present application is stored with meter in computer readable storage medium Loom program is calculated, computer subprogram is implemented as follows step when being executed by processor: judged in bucket with the presence or absence of multiple The step of target initial object processed replicates target initial object if it is not, then executing, and obtains duplication target initial object.
A kind of computer readable storage medium provided by the embodiments of the present application is stored with meter in computer readable storage medium Loom program is calculated, computer subprogram is implemented as follows step when being executed by processor: the data of adjustment snapshot object properties After pointer, the removal request for target initial object in bucket is received;Target initial object is replicated, is answered Target initial object processed;Delete target initial object;In snapshot object properties, the data pointer of target initial object is adjusted It is oriented to duplication target initial object.
A kind of computer readable storage medium provided by the embodiments of the present application is stored with meter in computer readable storage medium Loom program is calculated, computer subprogram is implemented as follows step when being executed by processor: the data of adjustment snapshot object properties After pointer, the write request for target object is received;Itself is written in target object;Generate the target object of target object Target object attribute is added to initial object attribute by attribute, and the data pointer for adjusting target object attribute is oriented to mesh Mark object.
A kind of computer readable storage medium provided by the embodiments of the present application is stored with meter in computer readable storage medium Loom program is calculated, computer subprogram is implemented as follows step when being executed by processor: after obtaining snapshot object properties, In the attribute of bucket, the SNAPSHOT INFO of bucket is added, SNAPSHOT INFO includes the title of snapshot object properties, Snapshot time.
A kind of computer readable storage medium provided by the embodiments of the present application is stored with meter in computer readable storage medium Loom program is calculated, computer subprogram is implemented as follows step when being executed by processor: the data of adjustment snapshot object properties After pointer, when receiving the first request for reading snapshot object, according to the data pointer of snapshot object properties, reads first and ask Seek corresponding snapshot object;When receiving the second request for reading initial object, according to the data pointer of initial object attribute, read Take the corresponding initial object of the second request.
Computer readable storage medium involved in the application includes random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field Any other form of storage medium well known to interior.
A kind of distributed objects storage fast photographic system, equipment and computer readable storage medium provided by the embodiments of the present application The explanation of middle relevant portion refers to corresponding part in a kind of distributed objects storage Snapshot Method provided by the embodiments of the present application Detailed description, details are not described herein.In addition, in above-mentioned technical proposal provided by the embodiments of the present application with it is corresponding in the prior art The consistent part of technical solution realization principle is simultaneously unspecified, in order to avoid excessively repeat.
It should also be noted that, herein, relational terms such as first and second and the like are used merely to one Entity or operation are distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation There are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to contain Lid non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence " including one ... ", it is not excluded that There is also other identical elements in the process, method, article or apparatus that includes the element.
The foregoing description of the disclosed embodiments makes those skilled in the art can be realized or use the application.To this A variety of modifications of a little embodiments will be apparent for a person skilled in the art, and the general principles defined herein can Without departing from the spirit or scope of the application, to realize in other embodiments.Therefore, the application will not be limited It is formed on the embodiments shown herein, and is to fit to consistent with the principles and novel features disclosed in this article widest Range.

Claims (10)

1. a kind of distributed objects store Snapshot Method characterized by comprising
Initial object attribute in the bucket of distributed objects storage is subjected to snapshot, obtains snapshot object properties;
According to the direction of the data pointer of the initial object attribute, the data pointer of the snapshot object properties is adjusted, institute is made It is identical as the direction of data pointer of the snapshot object properties to state initial object attribute.
2. the method according to claim 1, wherein the data pointer of the adjustment snapshot object properties it Afterwards, further includes:
Receive the covering write request for target initial object in the bucket;
The target initial object is replicated, duplication target initial object is obtained;
Utilize target initial object described in the corresponding covering data cover of the covering write request;
In the snapshot object properties, adjust the data pointer of the target initial object be oriented to the duplication target at the beginning of Source object.
3. according to the method described in claim 2, obtaining it is characterized in that, described replicate the target initial object Replicate target initial object, comprising:
Judge in the bucket with the presence or absence of the duplication target initial object, if it is not, then execute it is described will be at the beginning of the target The step of source object is replicated, and duplication target initial object is obtained.
4. the method according to claim 1, wherein the data pointer of the adjustment snapshot object properties it Afterwards, further includes:
Receive the removal request for target initial object in the bucket;
The target initial object is replicated, duplication target initial object is obtained;
Delete the target initial object;
In the snapshot object properties, adjust the data pointer of the target initial object be oriented to the duplication target at the beginning of Source object.
5. the method according to claim 1, wherein the data pointer of the adjustment snapshot object properties it Afterwards, further includes:
Receive the write request for target object;
Itself is written in the target object;
The target object attribute is added to the initial object attribute by the target object attribute for generating the target object, And the data pointer for adjusting the target object attribute is oriented to the target object.
6. method according to any one of claims 1 to 5, which is characterized in that it is described obtain snapshot object properties after, also Include:
In the attribute of the bucket, the SNAPSHOT INFO of the bucket is added, the SNAPSHOT INFO includes the snapshot pair Title, Snapshot time as attribute.
7. the method according to claim 1, wherein the data pointer of the adjustment snapshot object properties it Afterwards, further includes:
When receiving the first request for reading snapshot object, according to the data pointer of the snapshot object properties, described the is read The corresponding snapshot object of one request;
When receiving the second request for reading initial object, according to the data pointer of the initial object attribute, described the is read The corresponding initial object of two requests.
8. a kind of distributed objects store fast photographic system characterized by comprising
First snapshot module, the initial object attribute in the bucket for storing distributed objects carry out snapshot, obtain fast According to object properties;
The first adjustment module adjusts the snapshot object category for the direction of the data pointer according to the initial object attribute The data pointer of property, keeps the initial object attribute identical as the direction of data pointer of the snapshot object properties.
9. a kind of distributed objects store Snapshot Devices characterized by comprising
Memory, for storing computer program;
Processor realizes that distributed objects store as described in any one of claim 1 to 7 when for executing the computer program The step of Snapshot Method.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium Program realizes that distributed objects storage is fast as described in any one of claim 1 to 7 when the computer program is executed by processor The step of according to method.
CN201910290905.XA 2019-04-11 2019-04-11 A kind of distributed objects storage Snapshot Method, system, equipment and computer media Pending CN110008175A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910290905.XA CN110008175A (en) 2019-04-11 2019-04-11 A kind of distributed objects storage Snapshot Method, system, equipment and computer media

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910290905.XA CN110008175A (en) 2019-04-11 2019-04-11 A kind of distributed objects storage Snapshot Method, system, equipment and computer media

Publications (1)

Publication Number Publication Date
CN110008175A true CN110008175A (en) 2019-07-12

Family

ID=67171223

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910290905.XA Pending CN110008175A (en) 2019-04-11 2019-04-11 A kind of distributed objects storage Snapshot Method, system, equipment and computer media

Country Status (1)

Country Link
CN (1) CN110008175A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110515543A (en) * 2019-08-02 2019-11-29 星辰天合(北京)数据科技有限公司 Object bucket-based snapshot method, device and system
CN111581330A (en) * 2020-04-26 2020-08-25 北京明略软件系统有限公司 Method and device for canceling or recovering marking operation in unstructured text

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722536A (en) * 2012-05-22 2012-10-10 中兴通讯股份有限公司 Method and device for realizing snapshot based on distributed file system
CN108460045A (en) * 2017-02-21 2018-08-28 中兴通讯股份有限公司 A kind of processing method and distributed block storage system of snapshot
US20190073371A1 (en) * 2016-06-10 2019-03-07 Gaeasoft Co., Ltd. Method for managing files and apparatus using the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722536A (en) * 2012-05-22 2012-10-10 中兴通讯股份有限公司 Method and device for realizing snapshot based on distributed file system
US20190073371A1 (en) * 2016-06-10 2019-03-07 Gaeasoft Co., Ltd. Method for managing files and apparatus using the same
CN108460045A (en) * 2017-02-21 2018-08-28 中兴通讯股份有限公司 A kind of processing method and distributed block storage system of snapshot

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110515543A (en) * 2019-08-02 2019-11-29 星辰天合(北京)数据科技有限公司 Object bucket-based snapshot method, device and system
CN110515543B (en) * 2019-08-02 2021-02-19 星辰天合(北京)数据科技有限公司 Object bucket-based snapshot method, device and system
CN111581330A (en) * 2020-04-26 2020-08-25 北京明略软件系统有限公司 Method and device for canceling or recovering marking operation in unstructured text
CN111581330B (en) * 2020-04-26 2023-04-07 北京明略软件系统有限公司 Method and device for canceling or recovering marking operation in unstructured text

Similar Documents

Publication Publication Date Title
KR101971307B1 (en) Efficient access to storage devices with usage bitmaps
CN108415853A (en) A kind of method, apparatus and storage device of garbage reclamation
CN103413569B (en) One reads and one writes static RAM
CN109902034A (en) Snapshot creation method, device, electronic equipment and machine readable storage medium
CN103034592A (en) Data processing method and device
CN109460319A (en) A kind of creation method, device, system, equipment and the storage medium of writeable snapshot
US20160179609A1 (en) Bad Sector Repair Method and Apparatus
CN110008175A (en) A kind of distributed objects storage Snapshot Method, system, equipment and computer media
CN112783449A (en) Data migration method and device
US9575885B2 (en) Data storage apparatus for scrambled data and management method thereof
CN107798063B (en) Snapshot processing method and snapshot processing device
CN106096447A (en) A kind of document protection method and device
CN104268097B (en) A kind of metadata processing method and system
CN110187834A (en) Data processing method, the device, electronic equipment of copy are deleted again
CN104281505A (en) Data backup method and device and electronic device
CN104484354B (en) Ensure the Snapshot Method and storage device of data consistency
CN105302501A (en) Control method and device for disk sectors
CN105095352B (en) Data processing method and device applied to distributed system
CN111273862A (en) Data storage method and device, readable medium and system thereof
CN110531925A (en) Method for reading data, device, electronic equipment and machine readable storage medium
CN105488047B (en) Metadata reading/writing method and device
CN109254874A (en) Method for transformation, device and the equipment of a kind of piece of storing data snapshot type
CN107967118A (en) A kind of method and apparatus realized hard disc data high speed dump and checked
CN111399774B (en) Data processing method and device based on snapshot under distributed storage system
US9836239B2 (en) Recording device and information processing device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190712