CN110502184A - A kind of method of storing data, the method, apparatus and system for reading data - Google Patents
A kind of method of storing data, the method, apparatus and system for reading data Download PDFInfo
- Publication number
- CN110502184A CN110502184A CN201810474325.1A CN201810474325A CN110502184A CN 110502184 A CN110502184 A CN 110502184A CN 201810474325 A CN201810474325 A CN 201810474325A CN 110502184 A CN110502184 A CN 110502184A
- Authority
- CN
- China
- Prior art keywords
- volume
- storage
- data
- memory block
- storage volume
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0614—Improving the reliability of storage systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0638—Organizing or formatting or addressing of data
- G06F3/064—Management of blocks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0673—Single storage device
- G06F3/0674—Disk device
- G06F3/0676—Magnetic disk device
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The application is method, the method, apparatus and system of reading data about a kind of storing data, belongs to the communications field.The described method includes: the first storage equipment determines the destination virtual storage volume for storing data to be stored, and target memory block is determined from the destination virtual storage volume;Apply at least one data object that the target memory block includes in object storage platform;The data to be stored is stored at least one described data object;The corresponding corresponding relationship for saving its device identification and the first index information in management equipment;The second index information is stored in the corresponding index block object of the target memory block in the object storage platform.The application can be improved the reliability of data storage.
Description
Technical field
This application involves the communications field, in particular to a kind of method of storing data reads the method, apparatus of data and is
System.
Background technique
In monitoring field, picture pick-up device is saved for shooting video data, the video data needs of picture pick-up device shooting,
So that the later period can inquire the video data of certain section of time picture pick-up device shooting.Picture pick-up device is taking video data at present
Afterwards, network side is sent by the video data of shooting.
Management server and multiple storage servers can be disposed in advance in network side, deployed in each storage server
The biggish disk of capacity.Management server is selected when receiving the video data that picture pick-up device is sent from multiple storage server
A storage server is selected, which is stored in the disk of the storage server of selection.
During realizing the application, discovery aforesaid way at least has following defects that inventor
Since the reliability of storage server is not high, so video data is stored in storage server, lead to data
Memory reliability is relatively low.
Summary of the invention
In order to improve the reliability of data storage, the embodiment of the present application provides a kind of method of storing data, reads number
According to method, apparatus and system.The technical solution is as follows:
In a first aspect, the embodiment of the present application provides a kind of method of storing data, which comprises
First storage equipment determines the destination virtual storage volume for storing data to be stored, and from the destination virtual
Target memory block is determined in storage volume;
The first storage equipment applies at least one data that the target memory block includes in object storage platform
Object;
The first storage equipment is corresponding in management equipment to save its device identification pass corresponding with the first index information
System, first index information include at least the volume identification of the destination virtual storage volume, the target memory block block identification,
The Data Identification of the data to be stored, the first data start and the first data length;
The target memory block corresponding index block object of the first storage equipment in the object storage platform
The second index information of middle storage, second index information include at least first data start.
Optionally, the determination is used to store the destination virtual storage volume of data to be stored, and from the destination virtual
Target memory block is determined in storage volume, comprising:
Select a virtual storage volume as mesh from least one corresponding virtual storage volume of the first storage equipment
Mark virtual storage volume;
The bitmap block object of the destination virtual storage volume is obtained from object storage platform, the bitmap block object is used for
The marker of each memory block in the destination virtual storage volume is stored, the marker of memory block is for recording the memory block
It is whether idle;
Idle memory block is selected to store from the destination virtual storage volume as target according to the bitmap block object
Block.
Optionally, described that idle memory block is selected to make from the destination virtual storage volume according to the bitmap block object
After target memory block, further includes:
In the bitmap block object of the destination virtual storage volume, the marker of the target memory block is arranged for
The target memory block is identified to have been used.
Optionally, the method also includes:
It is that the first storage equipment creates the first virtual storage volume in the object storage platform.
Optionally, described is that the first storage equipment creates the first virtual storage volume in the object storage platform,
Include:
Generate the volume identification of the first virtual storage volume;
The volume identification of first virtual storage volume is added to described first in the object storage platform to deposit
It stores up in the corresponding storage volume list object of equipment;
Apply for the starting block object, bitmap block object and institute of first virtual storage volume in the object storage platform
State the index object of each memory block in the first virtual storage volume;
Wherein, the starting block object is used for storage volume essential information, and the volume essential information includes at least described first
The device identification of the capacity, memory block number and the first storage equipment of virtual storage volume;The bitmap block object is for depositing
The marker of each memory block in first virtual storage volume is stored up, the marker of memory block is for identifying the memory block
The no free time;The index object of the memory block includes at least described for storing third index information, the third index information
Data object number in memory block.
Optionally, the method also includes:
In the first storage equipment starting, according to depositing for the first storage equipment in the object storage platform
Volume list object is stored up, at least one corresponding virtual storage volume of the first storage equipment is loaded into the first storage equipment
In, the storage volume list object is used to store the label of at least one corresponding virtual storage volume of the first storage equipment
Know.
Optionally, the storage volume list object according to the first storage equipment in the object storage platform,
At least one corresponding virtual storage volume of the first storage equipment is loaded into the first storage equipment, comprising:
The storage volume list object of the first storage equipment is downloaded from the object storage platform;
According to the volume identification of the second virtual storage volume, second virtual storage volume is downloaded from the object storage platform
Starting block object, the volume identification of second virtual storage volume is any one virtual memory in the storage volume list object
The volume identification of volume;
When the starting block object is stored with the device identification of the first storage equipment, by second virtual memory
The volume identification of volume is added in the first storage equipment.
Optionally, the method also includes:
The first storage equipment takes over the third virtual storage volume, institute according to the volume identification of third virtual storage volume
Stating third virtual storage volume is the corresponding virtual storage volume of the second storage equipment, and the second storage equipment is except described first deposits
Store up other storage equipment other than equipment.
Optionally, the volume identification according to third virtual storage volume takes over the third virtual storage volume, comprising:
Takeover request message is received, the takeover request message carries the volume identification of the third virtual storage volume;
According to the volume identification of the third virtual storage volume, will be saved in the starting block object of the third virtual storage volume
Second storage equipment device identification be updated to it is described first storage equipment device identification;
The volume identification of the third virtual storage volume is respectively added to first virtual memory facilities and described first
In the storage volume list object for storing equipment.
Second aspect, this application provides a kind of methods for reading data, which comprises
The read requests message including location information is received, the location information includes that the second data of data to be read rise
Beginning position, the second data length, the volume identification of target storage pool where the data to be read and place target memory block
Block identification;
The data to be read are read from the target memory block in object storage platform according to the positional information.
Optionally, described according to the positional information from the target memory block in object storage platform described in reading
Data to be read, comprising:
According to the block identification of the volume identification of the target storage pool and the target memory block, obtained from object storage platform
The index object of the target memory block is taken, the index object includes the first number of the data stored in the target memory block
According to initial position;
According to first data start and second data start, determination is described to be read for storing
The offset of the target data objects of data and the data to be read in the target data objects;
According to the offset and second data length, access of continuing described in reading from the target data objects
According to.
The third aspect, this application provides a kind of device of storing data, described device includes:
Determining module, it is empty for determining the destination virtual storage volume for storing data to be stored, and from the target
Target memory block is determined in quasi- storage volume;
Apply for module, at least one data pair for including for applying for the target memory block in object storage platform
As;
Memory module, for the data to be stored to be stored at least one described data object;In management equipment
The middle corresponding corresponding relationship for saving its device identification and the first index information, first index information include at least the target
The volume identification of virtual storage volume, the block identification of the target memory block, the Data Identification of the data to be stored, the first data rise
Beginning position and the first data length;It is deposited in the corresponding index block object of the target memory block in the object storage platform
The second index information is stored up, second index information includes at least first data start.
Optionally, the determining module includes:
First selecting unit, for selecting a virtual memory from least one corresponding virtual storage volume of described device
Volume is used as destination virtual storage volume;
Acquiring unit, it is described for obtaining the bitmap block object of the destination virtual storage volume from object storage platform
Bitmap block object is used to store the marker of each memory block in the destination virtual storage volume, and the marker of memory block is used for
Whether idle record the memory block;
Second selecting unit, for selecting idle deposit from the destination virtual storage volume according to the bitmap block object
Block is stored up as target memory block.
Optionally, described device further include:
Setting unit, in the bitmap block object of the destination virtual storage volume, by the mark of the target memory block
Know position and be arranged for identifying the target memory block and has been used.
Optionally, described device further include:
Creation module, for creating the first virtual storage volume in the object storage platform for described device.
Optionally, the creation module includes:
Generation unit, for generating the volume identification of the first virtual storage volume;
First adding unit is put down for the volume identification of first virtual storage volume to be added to store positioned at the object
In the corresponding storage volume list object of described device in platform;
Application unit, for apply in the object storage platform first virtual storage volume starting block object,
The index object of bitmap block object and each memory block in first virtual storage volume;
Wherein, the starting block object is used for storage volume essential information, and the volume essential information includes at least described first
The device identification of the capacity, memory block number and described device of virtual storage volume;The bitmap block object is for storing described the
Whether the marker of the marker of each memory block in one virtual storage volume, memory block is idle for identifying the memory block;
The index object of the memory block includes at least in the memory block for storing third index information, the third index information
Data object number.
Optionally, described device further include:
Loading module is used in described device starting, according to the storage of the described device in the object storage platform
At least one corresponding virtual storage volume of described device is loaded into described device, the storage volume list by volume list object
Object is used to store the volume identification of at least one corresponding virtual storage volume of described device.
Optionally, the loading module includes:
Download unit, for downloading the storage volume list object of described device from the object storage platform;According to
The volume identification of two virtual storage volumes downloads the starting block object of second virtual storage volume from the object storage platform,
The volume identification of second virtual storage volume is the volume identification of any one virtual storage volume in the storage volume list object;
Second adding unit, for when the starting block object is stored with the device identification of described device, by described
The volume identification of two virtual storage volumes is added in described device.
Optionally, described device further include:
Adapter tube module takes over the third virtual storage volume for the volume identification according to third virtual storage volume, and described
Three virtual storage volumes are the corresponding virtual storage volumes of the second storage equipment, and the second storage equipment is in addition to described device
Other storage equipment.
Optionally, the adapter tube module includes:
Receiving unit, for receiving takeover request message, the takeover request message carries the third virtual storage volume
Volume identification;
Updating unit, for the volume identification according to the third virtual storage volume, by opening for the third virtual storage volume
The device identification of the second storage equipment saved in motion block object is updated to the device identification of described device;
Third adding unit is virtually deposited for the volume identification of the third virtual storage volume to be respectively added to described first
In the storage volume list object for storing up equipment and described device.
Fourth aspect, this application provides a kind of device for reading data, described device includes:
Receiving module, for receiving the read requests message including location information, the location information includes access of continuing
According to the second data start, the second data length, the volume identification of target storage pool where the data to be read and institute
Target memory block block identification;
Read module, for reading institute from the target memory block in object storage platform according to the positional information
State data to be read.
Optionally, the read module includes:
Acquiring unit, for according to the volume identification of the target storage pool and the block identification of the target memory block, from right
Index object as obtaining the target memory block in storage platform, the index object include storing in the target memory block
Data the first data start;
Determination unit, for according to first data start and second data start, determination to be used for
Store the offset of the target data objects and the data to be read of the data to be read in the target data objects;
Reading unit, for being read from the target data objects according to the offset and second data length
The data to be read.
5th aspect, the embodiment of the present application provide a kind of system of storing data, the system comprises: storage equipment,
Object storage platform and management equipment;
The storage equipment, for determining the destination virtual storage volume for storing data to be stored, and from the mesh
It marks and determines target memory block in virtual storage volume;Apply for that the target memory block includes at least in the object storage platform
One data object;The data to be stored is stored at least one described data object;It is right in the management equipment
The device identification of the storage equipment and the corresponding relationship of the first index information should be saved, first index information includes at least
The volume identification of the destination virtual storage volume, the block identification of the target memory block, the Data Identification of the data to be stored,
One data start and the first data length;The corresponding index block of the target memory block in the object storage platform
The second index information is stored in object, second index information includes at least first data start.
6th aspect, the embodiment of the present application provide a kind of system for reading data, the system comprises: storage equipment,
Management equipment and object storage platform;
The storage equipment, the read requests message including location information sent for receiving the management equipment, institute
Where stating the second data start, the second data length, the data to be read that location information includes data to be read
The block identification of the target memory block of the volume identification and place of target storage pool;It is flat from object storage according to the positional information
The data to be read are read in the target memory block in platform.
Technical solution provided by the embodiments of the present application can include the following benefits:
Since the first storage equipment determines the destination virtual storage volume for storing data to be stored, and from destination virtual
Target memory block is determined in storage volume;Apply at least one data object that target memory block includes in object storage platform;
Data to be stored is stored at least one data object.Again due to object storage platform storing data reliability compared with
Height, to improve the reliability of data storage.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The application can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the application
Example, and together with specification it is used to explain the principle of the application.
Fig. 1-1 is network architecture schematic diagram provided by the embodiments of the present application;
Fig. 1-2 is storage organization schematic diagram provided by the embodiments of the present application;
Fig. 2 is a kind of method flow diagram for creating virtual storage volume provided by the embodiments of the present application;
Fig. 3 is a kind of method flow diagram for loading virtual storage volume provided by the embodiments of the present application;
Fig. 4 is a kind of method flow diagram of adapter tube virtual storage volume provided by the embodiments of the present application;
Fig. 5 is a kind of method flow diagram of storing data provided by the embodiments of the present application;
Fig. 6 is a kind of method flow diagram for reading data provided by the embodiments of the present application;
Fig. 7 is a kind of apparatus structure schematic diagram of storing data provided by the embodiments of the present application;
Fig. 8 is a kind of apparatus structure schematic diagram for reading data provided by the embodiments of the present application;
Fig. 9 is a kind of system structure diagram of storing data provided by the embodiments of the present application;
Figure 10 is a kind of system structure diagram for reading data provided by the embodiments of the present application;
Figure 11 is a kind of device structure schematic diagram provided by the embodiments of the present application.
Through the above attached drawings, it has been shown that the specific embodiment of the application will be hereinafter described in more detail.These attached drawings
It is not intended to limit the range of the application design in any manner with verbal description, but is by referring to specific embodiments
Those skilled in the art illustrate the concept of the application.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the application.
Referring to Fig. 1-1, referring to Fig. 1-1, the embodiment of the present application provides a kind of network architecture, comprising:
Management equipment 1, at least one storage equipment 2 and object storage platform 3;
Establishing between each storage equipment 2 in management equipment 1 and at least one the storage equipment 2 has network connection, often
Establishing between a storage equipment 2 and object storage platform 3 has network connection.The network connection can be wired connection or wirelessly connect
It connects.
Object storage platform 3 uses document storage mode storing data, and the storage unit in object storage platform 3 is data
Object, a data object can be a file.
Storage equipment 2 can call the object memory interface of object storage platform 3, can be from by the object memory interface
Data are read in object storage platform 3, storing data or delete data from object storage platform 3 into object storage platform 3
Deng.
In a kind of possible embodiment, management equipment 1 can be management server or management terminal etc., store equipment
2 can be storage server or storage terminal etc..
Referring to Fig. 1-2, the corresponding storage volume list object of equipment 2 and at least one virtual storage volume, Mei Gexu are stored
Quasi- storage volume includes at least one memory block.Storage volume list object is a data object in object storage platform 3, is used for
The volume identification of the corresponding each virtual storage volume of memory storage devices 2.
For each virtual storage volume, the corresponding starting block object of the virtual storage volume and a bitmap block object;It should
Starting block object is a data object in object storage platform 3, should for storing the volume essential information of the virtual storage volume
Roll up the device identification that essential information includes at least the capacity, memory block number and the storage equipment 2 of the virtual storage volume.The block position
Figure object is also a data object in object storage platform 3, each memory block for including for storing the virtual storage volume
Marker, whether the marker of memory block idle for identifying the memory block.
For each memory block in the virtual storage volume, the corresponding index object of the memory block, and the memory block packet
Include at least one data object.The corresponding index object of the memory block is a data object in object storage platform 3, is used for
Store the index information of the memory block;In the not stored data of the memory block, i.e., in the memory block free time, which is
Third index information, third index information include at least the data object number in the memory block;Number is stored in the memory block
According to when, the index information include the second index information, can also include third index information, the second index information include at least should
The initial position of data.
Referring to fig. 2, the embodiment of the present application provide it is a kind of create virtual storage volume method, this method can be applied to as
In the network architecture shown in Fig. 1-1, and executing subject can be the storage equipment in the network architecture.
Equipment is stored for either one or two of the network architecture, the storage equipment is referred to as that the first storage is set for ease of description
Standby, the first storage equipment creates the first virtual storage volume in object storage platform for it.Referring to fig. 2, which can be with
Are as follows:
Step 201: the first storage equipment generates the volume identification of the first virtual storage volume.
In a kind of possible embodiment, the first storage equipment can distribute a character string, store equipment for first
Device identification and the character string form the first virtual storage volume volume identification.
First storage equipment can be randomly assigned a character string, or on the basis of the character string once distributed on recently
Carry out one character string of order-assigned.For the mode of order-assigned, it is assumed that the character string of last distribution is 0S251 recently,
Then the character string of order-assigned is OS252 on the basis of character string OS251.
In a kind of possible embodiment, can using the character string as suffix, and with first storage equipment equipment
The volume identification of mark the first virtual storage volume of composition;For example, it is assumed that the device identification of the first storage equipment is fall613158,
Using the character string OS252 of distribution as suffix, and the volume with device identification the first virtual storage volume of composition of the first storage equipment
It is identified as fall613158/OS252.Alternatively,
In a kind of possible embodiment, can using the character string as prefix, and with first storage equipment equipment
The volume identification of mark the first virtual storage volume of composition;For example, using the character string OS252 of distribution as prefix, and stored with first
The volume identification that the device identification of equipment forms the first virtual storage volume is OS252/fall613158.
First storage equipment is when generating the volume identification of the first virtual storage volume, it is ensured that the volume of the first virtual storage volume
It identifies not identical as the volume identification of generated virtual storage volume.It is usually the case that first storage equipment can use it is suitable
The mode of sequence distribution generates the volume identification of the first virtual storage volume.
In a kind of possible embodiment, after having executed this step, the volume identification of the first virtual storage volume can be added
It is added in the corresponding storage volume list object of the first storage equipment being located in object storage platform, the process of realization can be as follows
The operation of step 202 to 204.
Step 202: the first storage equipment determines in object storage platform with the presence or absence of the corresponding storage of the first storage equipment
Volume list object, if it does not exist, then step 203 is executed, if it is present executing step 204.
The corresponding storage volume list object of first storage equipment is the data object in object storage platform, is belonged to for storing
In the volume identification of at least one virtual storage volume of the first storage equipment.
In a kind of possible embodiment, storage volume list object may include storage volume list, belong to the first storage
The volume identification of at least one virtual storage volume of equipment can store in the storage volume list.
In this step, the object identity of the first storage available storage volume list object of equipment, passes through pair of calling
As memory interface inquires the corresponding storage volume list object of the object identity from object storage platform.
If the first storage equipment has applied for storage volume list pair in object storage platform before executing this step
As then there are object identity data objects identical with the object identity of the acquisition in object storage platform.Correspondingly, the
One storage equipment can inquire the corresponding storage volume list object of the object identity of acquisition from object storage platform.
If the first storage equipment applies storing volume list pair not in object storage platform before executing this step
As then there is no object identity data objects identical with the object identity obtained in object storage platform.Correspondingly, first
Storage equipment cannot inquire the corresponding storage volume list object of the object identity of acquisition from object storage platform.
In a kind of possible embodiment, the first storage equipment obtains the behaviour of the object identity of storage volume list object
Make, it can be with are as follows:
First storage equipment can be by the device identification composition storage volume column of the first preset characters string and the first storage equipment
The object identity of table object.
In a kind of possible embodiment, the first storage equipment can be set the first preset characters string as the first storage
The prefix of standby device identification, the object identity with the device identification composition storage volume list object of the first storage equipment.For example,
First preset characters string is LIST, the device identification using the first preset characters string LIST as prefix, with the first storage equipment
The object identity that fall613158 forms storage volume list object is LIST_fall613158.Alternatively,
First storage equipment can be using the first preset characters string as the suffix of the device identification of the first storage equipment, with the
The object identity of the device identification composition storage volume list object of one storage equipment.For example, it is assumed that the first preset characters string is
LIST is formed with the device identification fall613158 of the first storage equipment and is stored using the first preset characters string LIST as suffix
The object identity of volume list object is fall613158/LIST.
Step 203: the first storage equipment applies for storage volume list object in object storage platform, the storage volume list pair
As the volume identification for storing the first virtual storage volume, step 205 is executed.
First storage equipment can call the object memory interface of object storage platform, by the object memory interface right
As request for data object in storage platform, and the object identity that the data object is arranged is the object identity obtained, obtains the
The corresponding storage volume list object of one storage equipment, is stored in the storage volume list object for the volume identification of the first virtual storage volume
In.
Step 204: the volume identification of the first virtual virtual volume is added to being somebody's turn to do in object storage platform by the first storage equipment
In storage volume list object.
First storage equipment, can be by the after inquiring its corresponding storage volume list object in object storage platform
The volume identification of one virtual storage volume is added in the storage volume list object.
It may include storage volume list in a kind of possible embodiment, in the storage volume list object, it can be by the
The volume identification of one virtual storage volume is added in the storage volume list.For example, the volume identification of the first virtual storage volume can be chased after
It is added to the end of the storage volume list.
First storage equipment uploads the storage volume list object after addition to object storage platform, so that object storage platform
The corresponding storage volume list object of first storage equipment is updated to the storage volume list object after addition.
Step 205: first storage equipment apply in object storage platform the first virtual storage volume starting block object and
The index object of each memory block in bitmap block object and the first virtual storage volume.
The starting block object is used for storage volume essential information, which includes at least the appearance of the first virtual storage volume
The device identification of amount, memory block number and the first storage equipment.Bitmap block object is every in the first virtual storage volume for storing
Whether the marker of the marker of a memory block, memory block is idle for identifying the memory block.The index object of memory block is used for
Third index information is stored, third index information includes at least the data object number in the memory block.
In this step, the capacity of the first virtual storage volume, memory block number M can be set in the first storage equipment, and
The data object number N for including in each memory block is set, the object identity of the starting block object of the first virtual storage volume is generated
With the object identity of the index object of the object identity and each memory block of bitmap block object;The Shen in object storage platform
Please data object, set the object identity of the data object to the object identity of the starting block object, obtain first and virtually deposit
The starting block object for storing up volume, stores the volume essential information in the starting block object;The request for data pair in object storage platform
As setting the object identity of the data object to the object identity of the bitmap block object, obtaining the block of the first virtual storage volume
Bitmap object stores M marker in the bitmap block object, and one in corresponding first virtual storage volume of each marker is deposited
Block is stored up, it is whether idle for identifying the memory block;And for each memory block, the request for data pair in object storage platform
As the object identity of the data object to be arranged to the object identity of the index object of the memory block, it is corresponding to obtain the memory block
Index object, the data object number which includes is stored in the index object.
In a kind of possible embodiment, object identity and the block position of the starting block object of the first virtual storage volume are generated
The object identity of figure object, and generate the operation of the object identity of the index object of each memory block, can be with are as follows:
The volume identification of first virtual storage volume and the second preset characters string are formed to the starting block pair of the first virtual storage volume
The object identity of elephant.For example, it is assumed that default second character string boot, pair of the starting block object of the first virtual storage volume of composition
As mark can be fall613158/OS252/boot.
The volume identification of first virtual storage volume and third preset characters string are formed to the bitmap block pair of the first virtual storage volume
The object identity of elephant.For example, it is assumed that third preset characters string is map, the bitmap block object of the first virtual storage volume of composition
Object identity can be fall613158/OS252/map.
For each memory block, by the volume identification of the first virtual storage volume, the 4th preset characters string and the memory block
Block number in one virtual storage volume forms the object identity of the index object of the memory block.For example, it is assumed that the 4th preset characters string
For info, block number of the memory block in the first virtual storage volume is 1, then the object identity of the index object of the memory block formed
For fall613158/OS252/info/1.
In a kind of possible embodiment, the volume identification of the first virtual storage volume can also be added to the first storage and set
In standby memory.
It may include storage volume chained list, the storage in the memory of the first storage equipment in a kind of possible embodiment
Volume chained list is used to store the volume identification of the corresponding each virtual storage volume of the first storage equipment.
In a kind of possible embodiment, each node in the storage volume chained list is for storing a virtual storage volume
Volume identification.So adding the node for being stored with the volume identification of the first virtual storage volume in the storage volume chained list, realize
The volume identification of first virtual storage volume is added in the memory of the first storage equipment.
Referring to Fig. 3, the embodiment of the present application provides the method for load virtual storage volume, and this method can be applied to such as Fig. 1-
In the network architecture shown in 1, and executing subject can be the storage equipment in the network architecture.
Equipment is stored for either one or two of the network architecture, the storage equipment is referred to as that the first storage is set for ease of description
It is standby.In the first storage equipment starting, according to the storage volume list object of the first storage equipment in object storage platform, by the
The volume identification of the corresponding virtual storage volume of one storage equipment is loaded into the first storage equipment.Referring to Fig. 3, which can be with
Are as follows:
Step 301: the first storage equipment downloads its corresponding storage volume list object from object storage platform.
The object identity of the first storage available storage volume list object of equipment, by the object memory interface of calling from
Object storage platform downloads the corresponding storage volume list object of the object identity.
In a kind of possible embodiment, the first storage equipment can be by the first preset characters string and the first storage equipment
Device identification composition storage volume list object object identity.
In a kind of possible embodiment, the first storage equipment can be set the first preset characters string as the first storage
The prefix of standby device identification, the object identity with the device identification composition storage volume list object of the first storage equipment.For example,
Assuming that the first preset characters string is LIST, the device identification of the first storage equipment is fall613158;By the first preset characters string
As prefix, the object identity with the device identification fall613158 composition storage volume list object of the first storage equipment is LIST
LIST_fall613158.Alternatively,
First storage equipment can be using the first preset characters string as the suffix of the device identification of the first storage equipment, with the
The object identity of the device identification composition storage volume list object of one storage equipment.For example, it is assumed that the first preset characters string is
LIST is formed with the device identification fall613158 of the first storage equipment and is stored using the first preset characters string LIST as suffix
The object identity of volume list object is fall613158/LIST.
Step 302: according to the volume identification of the second virtual storage volume, the second virtual storage volume is downloaded from object storage platform
Starting block object, the volume identification of the second virtual storage volume is the volume of any one virtual storage volume in the storage volume list object
Mark.
In a kind of possible embodiment, the object identity of the starting block object of the second virtual storage volume is generated, is called
Object memory interface downloads the corresponding starting block object of the object identity by object memory interface from object storage platform.
It, can be by the volume identification of the second virtual storage volume and the second preset characters string group in a kind of possible embodiment
At the object identity of the starting block object of the second virtual storage volume.For example, it is assumed that default second character string boot, second is virtually deposited
The volume identification of storage volume is fall613158/OS252, and the object identity of the starting block object of the second virtual storage volume of composition can be with
For fall613158/OS252/boot.
Step 303:, will when the starting block object of the second virtual storage volume is stored with the device identification of the first storage equipment
The volume identification of second virtual storage volume is added in the first storage equipment.
The volume essential information of the second virtual storage volume is stored in the starting block object of second virtual storage volume, the volume is basic
Information includes at least the device identification of the capacity, memory block number and affiliated storage equipment of the second virtual storage volume.
It may include storage volume chained list, the storage in the memory of the first storage equipment in a kind of possible embodiment
Volume chained list is used to store the volume identification of the corresponding each virtual storage volume of the first storage equipment.
In this step, the device identification of the first storage equipment is stored in the starting block object of the second virtual storage volume
When, the node for being stored with the volume identification of the second virtual storage volume is added in the storage volume chained list, is realized virtual by second
The volume identification of storage volume is added in the memory of the first storage equipment.
To the volume identification of each virtual storage volume in the storage volume list object, the behaviour of above-mentioned steps 302 and 303 is executed
Make, so that the virtual storage volume of the first storage equipment is loaded into the first storage equipment.
Referring to fig. 4, the embodiment of the present application provides the method for adapter tube virtual storage volume, and this method can be applied to such as Fig. 1-
In the network architecture shown in 1, and executing subject can be the storage equipment in the network architecture.
Equipment is stored for either one or two of the network architecture, the storage equipment is referred to as that the first storage is set for ease of description
Standby, first stores volume identification of the equipment according to third virtual storage volume, adapter tube third virtual storage volume, and third virtual storage volume is
The corresponding virtual storage volume of second storage equipment, the second storage equipment are other storage equipment in addition to the first storage equipment.
Referring to fig. 4, which can be with are as follows:
Step 401: the first storage equipment receives takeover request message, which carries third virtual storage volume
Volume identification.
Management equipment can send takeover request message to the first storage equipment.
In a kind of possible embodiment, when the second storage equipment breaks down or exits, management equipment
Other storage equipment adapter tubes second in addition to the second storage equipment can be arranged to store the virtual storage volume of equipment.Realization process
It can be with are as follows:
Management equipment downloads the corresponding storage volume list object of the second storage equipment from object storage platform, determines waiting
The storage equipment of pipe referred to as first stores equipment for ease of description.It is the first storage equipment from the storage volume list object
The volume identification of virtual storage volume is selected, for ease of description the referred to as volume identification of third virtual storage volume, to the first storage equipment
Takeover request message is sent, which carries the volume identification of third virtual storage volume.
The first index that device identification and memory block are also preserved in a kind of possible embodiment, in management equipment is believed
The corresponding relationship of breath, for the first index information of each memory block in the corresponding relationship, the first index letter of the memory block
Breath is including at least the data stored in the volume identification, the block number of the memory block, the memory block of the storage volume where the memory block
Data Identification, the initial position of the data and data length etc..
In a kind of possible embodiment, after management equipment sends takeover request message to the first storage equipment, may be used also
It include the first index information of each of the volume identification of third virtual storage volume to be obtained from the corresponding relationship, by the corresponding relationship
The corresponding device identification for storing equipment of each first index information of middle storage is updated to the equipment mark of the first storage equipment
Know.
In a kind of possible embodiment, the corresponding storage volume list object of management equipment downloading the second storage equipment
Operation can be with are as follows: the device identification for obtaining the second storage equipment, by the device identification and the first preset characters of the second storage equipment
The object identity of the storage volume list object of string composition the second storage equipment;According to the object identity under in object storage platform
Carry the corresponding storage volume list object of the second storage equipment.
Step 402: first stores equipment according to the volume identification of third virtual storage volume, by the starting of third virtual storage volume
The device identification of the second storage equipment saved in block object is updated to the device identification of the first storage equipment.
First storage equipment can be by the volume identification of third virtual storage volume and the second preset characters string composition starting block pair
The object identity of elephant downloads the starting block object of third virtual storage volume according to the object identity from object storage platform;It will
The device identification of the second storage equipment saved in the starting block object is revised as the device identification of the first storage equipment;To object
Storage platform uploads modified starting block object, so that object storage platform is by the starting block of the third virtual storage volume of preservation
Object is updated to the modified starting block object.
Step 403: the volume identification of third virtual storage volume is respectively added to the first virtual memory and set by the first storage equipment
In standby and the first storage equipment storage volume list object.
In a kind of possible embodiment, the first storage equipment can be by its device identification and the first preset characters string group
At the object identity of storage volume list object, it is corresponding that the first storage equipment is downloaded from object storage platform according to the object identity
Storage volume list object, the volume identification of third virtual storage volume is added to the storage volume list object;It is flat to object storage
Platform uploads the storage volume list object after addition, so that object storage platform stores the corresponding storage volume list of equipment for first
Object is updated to the storage volume list object after addition.
In a kind of possible embodiment, the first storage equipment can add one in the storage volume chained list that it is saved
It is stored with the node of the volume identification of third virtual storage volume, realizes and the volume identification of third virtual storage volume is added to the first storage
In the memory of equipment.
In the embodiment of the present application, when the second storage device failure or when exiting, the first storage equipment can be used to connect
Pipe second stores the corresponding third virtual storage volume of equipment and can also deposit by first in this way in the second storage device failure
The data in equipment reading third virtual storage volume are stored up, are not in data with the second storage device failure or when exiting, nothing
The case where method is read improves the reliability of data storage.
Referring to Fig. 5, the embodiment of the present application provides a kind of method of storing data, which comprises
Step 501: the first storage equipment determines the destination virtual storage volume for storing data to be stored, and from target
Target memory block is determined in virtual storage volume.
Data to be stored can be the data of the first storage equipment caching, and the data of the caching can be management equipment transmission
's.
Management equipment can receive the data of terminal device transmission, which can be picture pick-up device etc., the data
It can be the image data etc. of picture pick-up device shooting.Management equipment determines the storage equipment for being used to store the data, in order to
Convenient for explanation, which is referred to as the first storage equipment, sends the data to the first storage equipment.
First storage equipment receives the data, by the data buffer storage in its buffer.In a kind of possible embodiment
In, the first storage equipment can reach preset data amount threshold value, or accounting in its buffer in the data volume in its buffer
Reach default occupancy threshold with rate, or when its buffer is full, the method for starting to execute the present embodiment will
Data to be stored in its buffer is stored into object storage platform.
In a kind of possible embodiment, the cache-time of the data in buffer reaches the preset time presentation time, also opens
The method for beginning to execute the present embodiment stores the data to be stored in its buffer into object storage platform.That is even if
Data volume in buffer is not up to preset data amount threshold value, or the not up to default occupancy threshold of occupancy in its buffer
Value, or when its buffer is uncached full, when the cache-time of the data in buffer reaches preset time threshold
When, the method for starting to execute the present embodiment stores the data to be stored in its buffer into object storage platform.
Since the reliability of object storage platform is higher, so first stores equipment for the number to be stored of its buffer
According to storage into object storage platform, the reliability of data storage can be improved.
In a kind of possible embodiment, in this step, mesh can be determined by following 5011 to 5013 process
Virtual storage volume is marked, and determines target memory block, is respectively as follows:
5011: selecting a virtual storage volume as mesh from least one corresponding virtual storage volume of the first storage equipment
Mark virtual storage volume.
The volume identification of its at least one corresponding virtual storage volume is stored in the memory of first storage equipment.In this step
In, the first storage equipment determines its corresponding each virtual storage volume according to the volume identification of each virtual storage volume of its storage,
Select a virtual storage volume as destination virtual storage volume from its corresponding each virtual storage volume.
5012: the bitmap block object of the destination virtual storage volume is downloaded from object storage platform, which uses
Whether the marker of the marker of each memory block in storage destination virtual storage volume, memory block is empty for record storage block
It is not busy.
In this step, the volume identification of destination virtual storage volume and third preset characters string composition destination virtual can be deposited
The object identity of the bitmap block object of volume is stored up, object memory interface is called, which is passed through according to the object identity
Download the bitmap block object of destination virtual storage volume.
For example, it is assumed that the volume identification of destination virtual storage volume is fall613158/OS252, third preset characters string is
Map, so the volume identification fall613158/OS252 of destination virtual storage volume and third preset characters string map composition target is empty
The object identity of the bitmap block object of quasi- storage volume is fall613158/OS252/map.Object memory interface is called, according to this
Object identity fall613158/OS252/map downloads the bitmap block object of destination virtual storage volume by the object memory interface.
The bitmap block object is used to store the corresponding marker of each memory block in destination virtual storage volume.In the block position
The storage order of the marker of each memory block is identical as the sequence of memory block each in destination virtual storage volume in figure object.
Whether the marker of memory block is idle for identifying the memory block.In a kind of possible embodiment, when the mark
When knowledge position is numerical value 1, the memory block free time can be indicated;When the marker is numerical value 0, it can indicate that the memory block is made
With.
For example, it is assumed that the bitmap block object stores 0001111, then it represents that first storage in destination virtual storage volume
Block, second memory block and third memory block are used, the 4th memory block, the 5th memory block, the 6th memory block
It is idle with the 7th memory block.
5013: selecting idle memory block to store from destination virtual storage volume as target according to the bitmap block object
Block.
According to the marker of each memory block in the destination virtual storage volume stored in the bitmap block object, can determine
Memory block idle in destination virtual storage volume out selects memory block as target memory block from idle memory block.
For example, determining that destination virtual stores according to the marker 0001111 of each memory block of bitmap block object storage
In volume idle memory block be destination virtual storage volume in the 4th memory block, the 5th memory block, the 6th memory block and
7th memory block can choose the 4th memory block as target memory block.
In a kind of possible embodiment, in the bitmap block object of destination virtual storage volume, by target memory block
Marker is arranged for mark target memory block and has been used.
Step 502: the first storage equipment applies at least one data that target memory block includes in object storage platform
Object.
Specifically, the first storage equipment obtains the index object of target memory block from object storage platform, according to the index
The data object number N that the target memory block of object storage includes, applies for N number of data object, and set from object storage platform
Set the object identity of each data object in N number of data object.
For each data object, the setting up procedure of the object identity of the data object can be with are as follows:
Block number of the target memory block in destination virtual storage volume is obtained, and obtains the data object in target memory block
In serial number will according to the volume identification of destination virtual storage volume, the object identity of the block number and serial number gencration data object
The object identity of the data object is set as the object identity generated.
It, can be by the volume identification of destination virtual storage volume, the block number and the serial number group in a kind of possible embodiment
At the object identity of the data object.For example, it is assumed that the volume identification of destination virtual storage volume is fall613158/OS252, the block
It number is 1, the serial number 1, the then object identity of the data object formed is fall613158/OS252/1/1.Alternatively,
It, can be by the volume identification of destination virtual storage volume, the block number, the serial number and in a kind of possible embodiment
Five preset characters strings form the object identity of the data object.For example, it is assumed that the volume identification of destination virtual storage volume is
Fall613158/OS252, the block number are 1, and the serial number 1, the 5th preset characters string is DATA/BLOCK, the then number formed
Object identity according to object is fall613158/OS252/DATA/BLOCK/1/1.
Step 503: data to be stored is stored at least one data object by the first storage equipment.
In a kind of possible embodiment, the first storage equipment is sent out by object memory interface to object storage platform
Storage is sent to request, storage request carries the object identity of data to be stored and data object.Object storage platform will be wait store
Data are stored into the corresponding data object of the object identity.
Step 504: the first storage equipment is in the corresponding correspondence for saving its device identification and the first index information of management equipment
Relationship stores the second index information in the corresponding index block object of the target memory block in object storage platform.
In a kind of possible embodiment, the first index information includes at least the volume identification of destination virtual storage volume, mesh
Mark the block number of memory block and Data Identification, the first data start and the first data length of data to be stored.
Second index information includes at least the first data start.
The third index information that the index object of target memory block saves can be updated to the second rope by the first storage equipment
Fuse breath, alternatively, the second index information is added in the index object of target memory block;Then it is uploaded to object storage platform
Index object after update or after addition, so that object storage platform replaces it using the index object after update or after addition
The index object of the target memory block of preservation.
First storage equipment can send management equipment for the first index information, so that management equipment sets the first storage
In standby device identification and the corresponding corresponding relationship for being stored in device identification and the first index information of the first index information.
In a kind of possible embodiment, the Data Identification of data to be stored can be the equipment of acquisition data to be stored
Device identification.For example, it is assumed that data to be stored is one section of video data of picture pick-up device shooting, then data of data to be stored
Mark can be the device identification of the picture pick-up device, and the first data start of data to be stored can be this section of video data
Initial time.
In the embodiment of the present application, since the first storage equipment determines that the destination virtual for storing data to be stored stores
Volume, and target memory block is determined from destination virtual storage volume;Apply for that target memory block includes in object storage platform
At least one data object;Data to be stored is stored at least one data object.Depositing due to object storage platform again
The reliability for storing up data is higher, data to be stored is stored in the data object of object storage platform, data can be improved and deposit
The reliability of storage.
Referring to Fig. 6, the embodiment of the present application provides a kind of method for reading data, which comprises
Step 601: receiving the read requests message including location information, which includes the second of data to be read
The volume identification of target storage pool where data start, the second data length, data to be read and the target storage at place
The block number of block.
The read requests message can be management equipment transmission.Device identification and the first index are stored in management equipment
The corresponding relationship of information.The first index information of memory block, the first index information of the memory block are stored in the corresponding relationship
Including at least the volume identification of the virtual storage volume where the memory block, the block number of the memory block and it is stored in the memory block
Data Data Identification, the first data start and the first data length.
Management equipment can receive the inquiry request of data from terminal device, which, which can carry, continues
Data Identification, the second data start and the second data length for evidence of fetching;According to the Data Identification of data to be read, from setting
The first index information of at least one memory block is obtained in standby mark and the corresponding relationship of the first index information, this at least one deposit
First index information of each memory block in storage block includes the Data Identification of data to be read, according to the first of each memory block
The first data start and the first data length for including in index information, determine the position of the data stored in each memory block
Range is set, the position range including the second data start is determined, using the corresponding memory block of determining position range as mesh
Mark memory block;The device identification of the corresponding storage equipment of the first index information of target memory block is obtained from the corresponding relationship,
And the volume identification and mesh of target memory block place destination virtual storage volume are obtained from the first index information of target memory block
Mark the block number of memory block;The read requests including location information are sent to the storage equipment according to the device identification of the storage equipment
Message, where which includes the second data start, the second data length, data to be read of data to be read
The block number of the target memory block of the volume identification and place of target storage pool.
Next data to be read can be read from the target memory block in object storage platform according to the location information.
Detailed reading process, can be by realizing the step of following 602 to 604.
Step 602: according to the block number of the volume identification of target storage pool and target memory block, being obtained from object storage platform
The index object of target memory block, the index object include the first data start of the data stored in target memory block.
Specifically, obtaining the index pair of target memory block according to the volume identification of target storage pool and the block number of target memory block
The object identity of elephant downloads the index object of the target memory block according to the object identity from object storage platform.
For the object identity of index object, can by the volume identification of destination virtual storage volume, the 4th preset characters string and
The object identity of the index object of the block number composition target memory block of target memory block.
Step 603: according to the first data start and the second data start, determining for storing data to be read
The offset in target data objects of target data objects and data to be read.
The capacity of each data object in object storage platform is equal.So the first data can be calculated in this step
Difference between initial position and the second data start can calculate use according to the capacity of the difference and data object
In the offset in target data objects of serial number and data to be read for the target data objects for storing data to be read.
Step 604: according to the offset and second data length, data to be read are read from target data objects.
The object identity of available target data objects, the object mark according to the offset, in object storage platform
Know the data to be read that the second data length is read in corresponding data object.The reading data are sent to management equipment, by
Data to be read are sent to terminal device by management equipment.
It, can volume identification according to destination virtual storage volume, target memory block for the object identity of target data objects
Block number and target data objects serial number gencration target data objects object identity.
For example, can be by the volume identification of destination virtual storage volume, the sequence of the block number of target memory block and target data objects
Number form the object identity of the data object.Alternatively, can be by the volume identification of destination virtual storage volume, the block of target memory block
Number, the serial number of target data objects and the 5th preset characters string form the object identity of the data object.
In the embodiment of the present application, the read requests message including location information is received, which includes to be read
The volume identification of target storage pool where second data start of data, the second data length, data to be read and place
Target memory block block identification;Access of continuing is read from the target memory block in object storage platform according to the location information
According to.It is stored data in object storage platform to support, since the reliability of object storage platform storing data is higher,
It stores data in object storage platform, improves the reliability of data storage.Use the data pair in object storage platform
As carrying out simulated block, it is easy to manage this unstructured data of video data, an in addition wherein event in multiple storage equipment
Barrier, other normal equipment can be with the storage volume in the rapid pipe connecting faulty equipment, to further improve reliability.
Referring to Fig. 7, the embodiment of the present application provides a kind of device 700 of storing data, and described device 700 includes:
Determining module 701, for determining the destination virtual storage volume for storing data to be stored, and from the target
Target memory block is determined in virtual storage volume;
Apply for module 702, at least one data for including for applying for the target memory block in object storage platform
Object;
Memory module 703, for the data to be stored to be stored at least one described data object;It is set in management
The standby middle corresponding corresponding relationship for saving its device identification and the first index information, first index information include at least the mesh
Mark the volume identification of virtual storage volume, the block identification of the target memory block, the Data Identification of the data to be stored, the first data
Initial position and the first data length;In the corresponding index block object of the target memory block in the object storage platform
The second index information is stored, second index information includes at least first data start.
In a kind of possible embodiment, the determining module 701 includes:
First selecting unit, for selecting a virtual memory from least one corresponding virtual storage volume of described device
Volume is used as destination virtual storage volume;
Acquiring unit, it is described for obtaining the bitmap block object of the destination virtual storage volume from object storage platform
Bitmap block object is used to store the marker of each memory block in the destination virtual storage volume, and the marker of memory block is used for
Whether idle record the memory block;
Second selecting unit, for selecting idle deposit from the destination virtual storage volume according to the bitmap block object
Block is stored up as target memory block.
In a kind of possible embodiment, described device 700 further include:
Setting unit, in the bitmap block object of the destination virtual storage volume, by the mark of the target memory block
Know position and be arranged for identifying the target memory block and has been used.
In a kind of possible embodiment, described device 700 further include:
Creation module, for creating the first virtual storage volume in the object storage platform for described device.
In a kind of possible embodiment, the creation module includes:
Generation unit, for generating the volume identification of the first virtual storage volume;
First adding unit is put down for the volume identification of first virtual storage volume to be added to store positioned at the object
In the corresponding storage volume list object of described device in platform;
Application unit, for apply in the object storage platform first virtual storage volume starting block object,
The index object of bitmap block object and each memory block in first virtual storage volume;
Wherein, the starting block object is used for storage volume essential information, and the volume essential information includes at least described first
The device identification of the capacity, memory block number and described device of virtual storage volume;The bitmap block object is for storing described the
Whether the marker of the marker of each memory block in one virtual storage volume, memory block is idle for identifying the memory block;
The index object of the memory block includes at least in the memory block for storing third index information, the third index information
Data object number.
In a kind of possible embodiment, described device 700 further include:
Loading module is used in described device starting, according to the storage of the described device in the object storage platform
At least one corresponding virtual storage volume of described device is loaded into described device, the storage volume list by volume list object
Object is used to store the volume identification of at least one corresponding virtual storage volume of described device.
In a kind of possible embodiment, the loading module includes:
Download unit, for downloading the storage volume list object of described device from the object storage platform;According to
The volume identification of two virtual storage volumes downloads the starting block object of second virtual storage volume from the object storage platform,
The volume identification of second virtual storage volume is the volume identification of any one virtual storage volume in the storage volume list object;
Second adding unit, for when the starting block object is stored with the device identification of described device, by described
The volume identification of two virtual storage volumes is added in described device.
In a kind of possible embodiment, described device 700 further include:
Adapter tube module takes over the third virtual storage volume for the volume identification according to third virtual storage volume, and described
Three virtual storage volumes are the corresponding virtual storage volumes of the second storage equipment, and the second storage equipment is in addition to described device
Other storage equipment.
In a kind of possible embodiment, the adapter tube module includes:
Receiving unit, for receiving takeover request message, the takeover request message carries the third virtual storage volume
Volume identification;
Updating unit, for the volume identification according to the third virtual storage volume, by opening for the third virtual storage volume
The device identification of the second storage equipment saved in motion block object is updated to the device identification of described device;
Third adding unit is virtually deposited for the volume identification of the third virtual storage volume to be respectively added to described first
In the storage volume list object for storing up equipment and described device.
Referring to Fig. 8, the embodiment of the present application provides a kind of device 800 for reading data, and described device 800 includes:
Receiving module 801, for receiving the read requests message including location information, the location information includes to be read
The volume identification of target storage pool where second data start of data, the second data length, the data to be read and
The block identification of the target memory block at place;
Read module 802, for being read from the target memory block in object storage platform according to the positional information
Take the data to be read.
In a kind of possible embodiment, the read module 802 includes:
Acquiring unit, for according to the volume identification of the target storage pool and the block identification of the target memory block, from right
Index object as obtaining the target memory block in storage platform, the index object include storing in the target memory block
Data the first data start;
Determination unit, for according to first data start and second data start, determination to be used for
Store the offset of the target data objects and the data to be read of the data to be read in the target data objects;
Reading unit, for being read from the target data objects according to the offset and second data length
The data to be read.
Referring to Fig. 9, the embodiment of the present application provides a kind of system 900 of storing data, and the system 900 includes: storage
Equipment 901, object storage platform 902 and management equipment 903;
The first storage equipment 901, for determining the destination virtual storage volume for storing data to be stored, Yi Jicong
Target memory block is determined in the destination virtual storage volume;Apply for the target memory block in the object storage platform 902
Including at least one data object;The data to be stored is stored at least one described data object;In the pipe
It manages and corresponds to the device identification for saving the storage equipment 901 and the corresponding relationship of the first index information in equipment 903, described first
Index information includes at least the block identification, described wait store of the volume identification of the destination virtual storage volume, the target memory block
The Data Identification of data, the first data start and the first data length;The target in the object storage platform
The second index information is stored in the corresponding index block object of memory block, second index information includes at least first data
Initial position.
Referring to Figure 10, the embodiment of the present application provides a kind of system 1000 for reading data, and the system 1000 includes: to deposit
Store up equipment 1001, management equipment 1002 and object storage platform 1003;
The storage equipment 1001, the read requests including location information sent for receiving the management equipment 1002
Message, the location information include the second data start, the second data length, the data to be read of data to be read
The block identification of the target memory block of the volume identification and place of the target storage pool at place;According to the positional information from the object
The data to be read are read in the target memory block in storage platform 1003.
Figure 11 shows the structural block diagram of the equipment 1100 of an illustrative embodiment of the invention offer.In general, equipment
1100 include: processor 1101 and memory 1102.
Processor 1101 may include one or more processing cores, such as 4 core processors, 8 core processors etc..Place
Reason device 1101 can use DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field-
Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmed
Logic array) at least one of example, in hardware realize.Processor 1101 also may include primary processor and coprocessor, master
Processor is the processor for being handled data in the awake state, also referred to as CPU (Central Processing
Unit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state.In
In some embodiments, processor 1101 can be integrated with GPU (Graphics Processing Unit, image processor),
GPU is used to be responsible for the rendering and drafting of content to be shown needed for display screen.In some embodiments, processor 1101 can also be wrapped
AI (Artificial Intelligence, artificial intelligence) processor is included, the AI processor is for handling related machine learning
Calculating operation.
Memory 1102 may include one or more computer readable storage mediums, which can
To be non-transient.Memory 1102 may also include high-speed random access memory and nonvolatile memory, such as one
Or multiple disk storage equipments, flash memory device.In some embodiments, the non-transient computer in memory 1102 can
Storage medium is read for storing at least one instruction, at least one instruction performed by processor 1101 for realizing this Shen
Please in the either method embodiment as shown in Fig. 2 to 6 provide method.
In some embodiments, equipment 1100 is also optional includes: peripheral device interface 1103 and at least one periphery are set
It is standby.It can be connected by bus or signal wire between processor 1101, memory 1102 and peripheral device interface 1103.It is each outer
Peripheral equipment can be connected by bus, signal wire or circuit board with peripheral device interface 1103.Specifically, peripheral equipment includes:
At least one of radio circuit 1104, voicefrequency circuit 1107 and power supply 1109.
Peripheral device interface 1103 can be used for I/O (Input/Output, input/output) is relevant outside at least one
Peripheral equipment is connected to processor 1101 and memory 1102.In some embodiments, processor 1101, memory 1102 and periphery
Equipment interface 1103 is integrated on same chip or circuit board;In some other embodiments, processor 1101, memory
1102 and peripheral device interface 1103 in any one or two can be realized on individual chip or circuit board, this implementation
Example is not limited this.
Radio circuit 1104 is for receiving and emitting RF (Radio Frequency, radio frequency) signal, also referred to as electromagnetic signal.
Radio circuit 1104 is communicated by electromagnetic signal with communication network and other communication equipments.Radio circuit 1104 is by telecommunications
Number being converted to electromagnetic signal is sent, alternatively, the electromagnetic signal received is converted to electric signal.Optionally, radio circuit
1104 include: antenna system, RF transceiver, one or more amplifiers, tuner, oscillator, digital signal processor, volume solution
Code chipset, user identity module card etc..Radio circuit 1104 can by least one wireless communication protocol come with it is other
Equipment is communicated.The wireless communication protocol includes but is not limited to: WWW, Metropolitan Area Network (MAN), Intranet, each third generation mobile communication network
(2G, 3G, 4G and 5G), WLAN and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.
Display screen 1105 is for showing UI (User Interface, user interface).The UI may include figure, text,
Icon, video and its their any combination.When display screen 1105 is touch display screen, display screen 1105 also there is acquisition to exist
The ability of the touch signal on the surface or surface of display screen 1105.The touch signal can be used as control signal and be input to place
Reason device 1101 is handled.At this point, display screen 1105 can be also used for providing virtual push button and/or dummy keyboard, it is also referred to as soft to press
Button and/or soft keyboard.Display screen 1105 can use LCD (Liquid Crystal Display, liquid crystal display), OLED
The preparation such as (Organic Light-Emitting Diode, Organic Light Emitting Diode) materials.
Voicefrequency circuit 1107 may include microphone and loudspeaker.Microphone is used to acquire the sound wave of user and environment, and
It converts sound waves into electric signal and is input to processor 1101 and handled, or be input to radio circuit 1104 to realize that voice is logical
Letter.For stereo acquisition or the purpose of noise reduction, microphone can be separately positioned on the different parts of equipment 1100 to be multiple.
Microphone can also be array microphone or omnidirectional's acquisition type microphone.Loudspeaker is then used to that processor 1101 or radio frequency will to be come from
The electric signal of circuit 1104 is converted to sound wave.Loudspeaker can be traditional wafer speaker, be also possible to piezoelectric ceramics loudspeaking
Device.When loudspeaker is piezoelectric ceramic loudspeaker, the audible sound wave of the mankind can be not only converted electrical signals to, can also be incited somebody to action
Electric signal is converted to the sound wave that the mankind do not hear to carry out the purposes such as ranging.In some embodiments, voicefrequency circuit 1107 may be used also
To include earphone jack.
Power supply 1109 is used to be powered for the various components in equipment 1100.Power supply 1109 can be alternating current, direct current
Electricity, disposable battery or rechargeable battery.When power supply 1109 includes rechargeable battery, which can be line charge
Battery or wireless charging battery.Wired charging battery is the battery to be charged by Wireline, and wireless charging battery is to pass through
The battery of wireless coil charging.The rechargeable battery can be also used for supporting fast charge technology.
It, can be with it will be understood by those skilled in the art that structure shown in Figure 11 does not constitute the restriction to equipment 1100
Including than illustrating more or fewer components, perhaps combining certain components or being arranged using different components.
Those skilled in the art will readily occur to its of the application after considering specification and practicing application disclosed herein
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the application, these modifications, purposes or
Person's adaptive change follows the general principle of the application and including the undocumented common knowledge in the art of the application
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the application are by following
Claim is pointed out.
It should be understood that the application is not limited to the precise structure that has been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.Scope of the present application is only limited by the accompanying claims.
Claims (24)
1. a kind of method of storing data, which is characterized in that the described method includes:
First storage equipment determines the destination virtual storage volume for storing data to be stored, and stores from the destination virtual
Target memory block is determined in volume;
The first storage equipment applies at least one data object that the target memory block includes in object storage platform;
The data to be stored is stored at least one described data object by the first storage equipment;
The first storage the equipment corresponding corresponding relationship for saving its device identification and the first index information, institute in management equipment
The first index information is stated including at least the volume identification of the destination virtual storage volume, the block identification, described of the target memory block
The Data Identification of data to be stored, the first data start and the first data length;
The first storage equipment is deposited in the corresponding index block object of the target memory block in the object storage platform
The second index information is stored up, second index information includes at least first data start.
2. the method as described in claim 1, which is characterized in that the destination virtual that the determination is used to store data to be stored is deposited
Storage volume, and target memory block is determined from the destination virtual storage volume, comprising:
Select a virtual storage volume as target void from least one corresponding virtual storage volume of the first storage equipment
Quasi- storage volume;
The bitmap block object of the destination virtual storage volume is obtained from object storage platform, the bitmap block object is for storing
The marker of each memory block in the destination virtual storage volume, whether the marker of memory block is for recording the memory block
It is idle;
Selected idle memory block as target memory block from the destination virtual storage volume according to the bitmap block object.
3. the method as described in claim 1, which is characterized in that described to be deposited according to the bitmap block object from the destination virtual
Selected in storage volume idle memory block as target memory block after, further includes:
In the bitmap block object of the destination virtual storage volume, the marker of the target memory block is arranged for identifying
The target memory block has been used.
4. the method as described in claim 1, which is characterized in that the method also includes:
It is that the first storage equipment creates the first virtual storage volume in the object storage platform.
5. method as claimed in claim 4, which is characterized in that described is first storage in the object storage platform
Equipment creates the first virtual storage volume, comprising:
Generate the volume identification of the first virtual storage volume;
The volume identification of first virtual storage volume is added to first storage in the object storage platform to set
In standby corresponding storage volume list object;
Apply for starting block object, the bitmap block object and described of first virtual storage volume in the object storage platform
The index object of each memory block in one virtual storage volume;
Wherein, the starting block object is used for storage volume essential information, and it is virtual that the volume essential information includes at least described first
The device identification of the capacity, memory block number and the first storage equipment of storage volume;The bitmap block object is for storing institute
The marker of each memory block in the first virtual storage volume is stated, whether the marker of memory block is empty for identifying the memory block
It is not busy;The index object of the memory block includes at least the storage for storing third index information, the third index information
Data object number in block.
6. the method as described in claim 1, which is characterized in that the method also includes:
In the first storage equipment starting, according to the storage volume of the first storage equipment in the object storage platform
At least one corresponding virtual storage volume of the first storage equipment is loaded into the first storage equipment by list object,
The storage volume list object is used to store the volume identification of at least one corresponding virtual storage volume of the first storage equipment.
7. method as claimed in claim 6, which is characterized in that described first according in the object storage platform is deposited
Corresponding at least one virtual storage volume of the first storage equipment is loaded into described the by the storage volume list object for storing up equipment
In one storage equipment, comprising:
The storage volume list object of the first storage equipment is downloaded from the object storage platform;
According to the volume identification of the second virtual storage volume, opening for second virtual storage volume is downloaded from the object storage platform
Motion block object, the volume identification of second virtual storage volume are any one virtual storage volume in the storage volume list object
Volume identification;
When the starting block object is stored with the device identification of the first storage equipment, by second virtual storage volume
Volume identification is added in the first storage equipment.
8. the method as described in claim 1, which is characterized in that the method also includes:
The first storage equipment takes over the third virtual storage volume according to the volume identification of third virtual storage volume, and described the
Three virtual storage volumes are the corresponding virtual storage volumes of the second storage equipment, and the second storage equipment is except first storage is set
Other storage equipment other than standby.
9. method according to claim 8, which is characterized in that the volume identification according to third virtual storage volume takes over institute
State third virtual storage volume, comprising:
Takeover request message is received, the takeover request message carries the volume identification of the third virtual storage volume;
According to the volume identification of the third virtual storage volume, will saved in the starting block object of the third virtual storage volume
The device identification of two storage equipment is updated to the device identification of the first storage equipment;
The volume identification of the third virtual storage volume is respectively added to first virtual memory facilities and first storage
In the storage volume list object of equipment.
10. a kind of method for reading data, which is characterized in that the described method includes:
The read requests message including location information is received, the location information includes the second data start bit of data to be read
It sets, the block of the target memory block at the volume identification of target storage pool where the second data length, the data to be read and place
Mark;
The data to be read are read from the target memory block in object storage platform according to the positional information.
11. method as claimed in claim 10, which is characterized in that described according to the positional information from object storage platform
The target memory block in read the data to be read, comprising:
According to the block identification of the volume identification of the target storage pool and the target memory block, institute is obtained from object storage platform
The index object of target memory block is stated, the index object includes that the first data of the data stored in the target memory block rise
Beginning position;
According to first data start and second data start, determine for storing the data to be read
The offset in the target data objects of target data objects and the data to be read;
According to the offset and second data length, the data to be read are read from the target data objects.
12. a kind of device of storing data, which is characterized in that described device includes:
Determining module is deposited for determining the destination virtual storage volume for storing data to be stored, and from the destination virtual
Target memory block is determined in storage volume;
Apply for module, at least one data object for including for applying for the target memory block in object storage platform;
Memory module, for the data to be stored to be stored at least one described data object;It is right in management equipment
The corresponding relationship of its device identification Yu the first index information should be saved, first index information includes at least the destination virtual
The volume identification of storage volume, the block identification of the target memory block, the Data Identification of the data to be stored, the first data start bit
It sets and the first data length;Is stored in the corresponding index block object of the target memory block in the object storage platform
Two index informations, second index information include at least first data start.
13. device as claimed in claim 12, which is characterized in that the determining module includes:
First selecting unit, for selecting a virtual storage volume to make from least one corresponding virtual storage volume of described device
For destination virtual storage volume;
Acquiring unit, for obtaining the bitmap block object of the destination virtual storage volume, described piece of position from object storage platform
Figure object is used to store the marker of each memory block in the destination virtual storage volume, and the marker of memory block is for recording
Whether the memory block is idle;
Second selecting unit, for selecting idle memory block from the destination virtual storage volume according to the bitmap block object
As target memory block.
14. device as claimed in claim 12, which is characterized in that described device further include:
Setting unit, in the bitmap block object of the destination virtual storage volume, by the marker of the target memory block
It is arranged for identifying the target memory block and have been used.
15. device as claimed in claim 12, which is characterized in that described device further include:
Creation module, for creating the first virtual storage volume in the object storage platform for described device.
16. device as claimed in claim 15, which is characterized in that the creation module includes:
Generation unit, for generating the volume identification of the first virtual storage volume;
First adding unit, for being added to the volume identification of first virtual storage volume in the object storage platform
The corresponding storage volume list object of described device in;
Application unit, for applying for starting block object, the block position of first virtual storage volume in the object storage platform
The index object of figure object and each memory block in first virtual storage volume;
Wherein, the starting block object is used for storage volume essential information, and it is virtual that the volume essential information includes at least described first
The device identification of the capacity, memory block number and described device of storage volume;The bitmap block object is empty for storing described first
Whether the marker of the marker of each memory block in quasi- storage volume, memory block is idle for identifying the memory block;It is described
The index object of memory block includes at least the number in the memory block for storing third index information, the third index information
According to object number.
17. device as claimed in claim 12, which is characterized in that described device further include:
Loading module, for being arranged according to the storage volume of the described device in the object storage platform in described device starting
At least one corresponding virtual storage volume of described device is loaded into described device, the storage volume list object by table object
For storing the volume identification of at least one corresponding virtual storage volume of described device.
18. device as claimed in claim 17, which is characterized in that the loading module includes:
Download unit, for downloading the storage volume list object of described device from the object storage platform;According to the second void
The volume identification of quasi- storage volume, downloads the starting block object of second virtual storage volume from the object storage platform, described
The volume identification of second virtual storage volume is the volume identification of any one virtual storage volume in the storage volume list object;
Second adding unit, it is empty by described second for when the starting block object is stored with the device identification of described device
The volume identification of quasi- storage volume is added in described device.
19. device as claimed in claim 12, which is characterized in that described device further include:
Adapter tube module takes over the third virtual storage volume for the volume identification according to third virtual storage volume, and the third is empty
Quasi- storage volume is the corresponding virtual storage volume of the second storage equipment, and the second storage equipment is other in addition to described device
Store equipment.
20. device as claimed in claim 19, which is characterized in that the adapter tube module includes:
Receiving unit, for receiving takeover request message, the takeover request message carries the volume of the third virtual storage volume
Mark;
Updating unit, for the volume identification according to the third virtual storage volume, by the starting block of the third virtual storage volume
The device identification of the second storage equipment saved in object is updated to the device identification of described device;
Third adding unit is set for the volume identification of the third virtual storage volume to be respectively added to first virtual memory
In standby and described device storage volume list object.
21. a kind of device for reading data, which is characterized in that described device includes:
Receiving module, for receiving the read requests message including location information, the location information includes data to be read
The volume identification of target storage pool where second data start, the second data length, the data to be read and place
The block identification of target memory block;
Read module, for read from the target memory block in object storage platform according to the positional information it is described to
Read data.
22. device as claimed in claim 21, which is characterized in that the read module includes:
Acquiring unit, for being deposited from object according to the volume identification of the target storage pool and the block identification of the target memory block
The index object of the target memory block is obtained in storage platform, the index object includes the number stored in the target memory block
According to the first data start;
Determination unit, for determining for storing according to first data start and second data start
The offset of the target data objects of the data to be read and the data to be read in the target data objects;
Reading unit, described in being read from the target data objects according to the offset and second data length
Data to be read.
23. a kind of system of storing data, which is characterized in that the system comprises: storage equipment, object storage platform and management
Equipment;
The storage equipment, it is empty for determining the destination virtual storage volume for storing data to be stored, and from the target
Target memory block is determined in quasi- storage volume;Apply at least one that the target memory block includes in the object storage platform
Data object;The data to be stored is stored at least one described data object;It is corresponding in the management equipment to protect
The device identification of the storage equipment and the corresponding relationship of the first index information are deposited, first index information includes at least described
The volume identification of destination virtual storage volume, the block identification of the target memory block, the Data Identification of the data to be stored, the first number
According to initial position and the first data length;The corresponding index block object of the target memory block in the object storage platform
The second index information of middle storage, second index information include at least first data start.
24. a kind of system for reading data, which is characterized in that the system comprises: storage equipment, management equipment and object storage
Platform;
The storage equipment, the read requests message including location information sent for receiving the management equipment, institute's rheme
Confidence breath includes the target where the second data start, the second data length, the data to be read of data to be read
The block identification of the target memory block of the volume identification and place of storage volume;According to the positional information from the object storage platform
The target memory block in read the data to be read.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810474325.1A CN110502184B (en) | 2018-05-17 | 2018-05-17 | Data storage method, data reading method, device and system |
PCT/CN2019/087232 WO2019219059A1 (en) | 2018-05-17 | 2019-05-16 | Method, apparatus and system for storing data, and method for reading data, apparatus, and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810474325.1A CN110502184B (en) | 2018-05-17 | 2018-05-17 | Data storage method, data reading method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110502184A true CN110502184A (en) | 2019-11-26 |
CN110502184B CN110502184B (en) | 2021-01-05 |
Family
ID=68539488
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810474325.1A Active CN110502184B (en) | 2018-05-17 | 2018-05-17 | Data storage method, data reading method, device and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110502184B (en) |
WO (1) | WO2019219059A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111262952A (en) * | 2020-03-27 | 2020-06-09 | 北京环鼎科技有限责任公司 | Breakpoint continuous loading method for downloading acoustic data file for storage logging |
CN112100184A (en) * | 2020-10-26 | 2020-12-18 | 上海擎感智能科技有限公司 | Vehicle total mileage data storage method and computer storage medium |
CN113254369A (en) * | 2020-02-07 | 2021-08-13 | 三星电子株式会社 | Storage device, storage system including the same, and method of operating the storage system |
CN113449155A (en) * | 2021-07-16 | 2021-09-28 | 百度在线网络技术(北京)有限公司 | Method, apparatus, device, medium and program product for feature representation processing |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1623136A (en) * | 2002-01-09 | 2005-06-01 | 思科技术公司 | Methods and apparatus for implementing virtualization of storage within a storage area network through a virtual enclosure |
US20090094535A1 (en) * | 2007-10-09 | 2009-04-09 | Derek L Bromenshenkel | Suggested Actions Within a Virtual Environment |
CN103064765A (en) * | 2012-12-28 | 2013-04-24 | 华为技术有限公司 | Method and device for data recovery and cluster storage system |
CN103748548A (en) * | 2011-06-30 | 2014-04-23 | 亚马逊科技公司 | Storage gateway activation process |
CN108021513A (en) * | 2016-11-02 | 2018-05-11 | 杭州海康威视数字技术股份有限公司 | A kind of date storage method and device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1602480A (en) * | 2001-12-10 | 2005-03-30 | 单球体有限公司 | Managing storage resources attached to a data network |
US9262428B2 (en) * | 2012-04-23 | 2016-02-16 | International Business Machines Corporation | Preserving redundancy in data deduplication systems by designation of virtual address |
CN107315533A (en) * | 2016-04-26 | 2017-11-03 | 杭州海康威视数字技术股份有限公司 | A kind of date storage method and device |
-
2018
- 2018-05-17 CN CN201810474325.1A patent/CN110502184B/en active Active
-
2019
- 2019-05-16 WO PCT/CN2019/087232 patent/WO2019219059A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1623136A (en) * | 2002-01-09 | 2005-06-01 | 思科技术公司 | Methods and apparatus for implementing virtualization of storage within a storage area network through a virtual enclosure |
US20090094535A1 (en) * | 2007-10-09 | 2009-04-09 | Derek L Bromenshenkel | Suggested Actions Within a Virtual Environment |
CN103748548A (en) * | 2011-06-30 | 2014-04-23 | 亚马逊科技公司 | Storage gateway activation process |
CN103064765A (en) * | 2012-12-28 | 2013-04-24 | 华为技术有限公司 | Method and device for data recovery and cluster storage system |
CN108021513A (en) * | 2016-11-02 | 2018-05-11 | 杭州海康威视数字技术股份有限公司 | A kind of date storage method and device |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113254369A (en) * | 2020-02-07 | 2021-08-13 | 三星电子株式会社 | Storage device, storage system including the same, and method of operating the storage system |
US11740829B2 (en) | 2020-02-07 | 2023-08-29 | Samsung Electronics Co., Ltd. | Storage device for storing model information, storage system including the storage device, and operating method of the storage system |
CN111262952A (en) * | 2020-03-27 | 2020-06-09 | 北京环鼎科技有限责任公司 | Breakpoint continuous loading method for downloading acoustic data file for storage logging |
CN111262952B (en) * | 2020-03-27 | 2023-11-21 | 北京环鼎科技有限责任公司 | Breakpoint continuous loading method for downloading acoustic data file for storage logging |
CN112100184A (en) * | 2020-10-26 | 2020-12-18 | 上海擎感智能科技有限公司 | Vehicle total mileage data storage method and computer storage medium |
CN113449155A (en) * | 2021-07-16 | 2021-09-28 | 百度在线网络技术(北京)有限公司 | Method, apparatus, device, medium and program product for feature representation processing |
CN113449155B (en) * | 2021-07-16 | 2024-02-27 | 百度在线网络技术(北京)有限公司 | Method, apparatus, device and medium for feature representation processing |
Also Published As
Publication number | Publication date |
---|---|
WO2019219059A1 (en) | 2019-11-21 |
CN110502184B (en) | 2021-01-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110502184A (en) | A kind of method of storing data, the method, apparatus and system for reading data | |
CN104104538B (en) | The method and system of the context-aware management of application at network edge | |
KR101743192B1 (en) | Recording method, playing method, device, terminal, system, program and recording medium | |
CN110232048A (en) | Acquisition methods, device and the storage medium of journal file | |
CN107786794A (en) | The electronic installation and method of the image obtained by imaging sensor are provided to application | |
CN108762881A (en) | Interface method for drafting, device, terminal and storage medium | |
CN105813232B (en) | Mobile terminal and network share method | |
CN106970816B (en) | Software upgrading processing method and device and audio playing equipment | |
CN110147380B (en) | Data updating method, device, server and storage medium | |
CN110213153A (en) | Display methods, acquisition methods, device, terminal and the storage medium of unread message | |
CN105187733A (en) | Video processing method, device and terminal | |
CN110493626A (en) | Video data handling procedure and device | |
CN109194972A (en) | Live stream acquisition methods, device, computer equipment and storage medium | |
CN114416723B (en) | Data processing method, device, equipment and storage medium | |
CN110278273A (en) | Multimedia file method for uploading, device, terminal, server and storage medium | |
CN108874554A (en) | Information communicating method and device | |
CN109600301A (en) | Message treatment method and device | |
CN110413383A (en) | Event-handling method, device, terminal and storage medium | |
CN113220366A (en) | Sub-application starting method and device, terminal and server | |
CN104391742B (en) | Optimizing application method and apparatus | |
CN104735643A (en) | Information processing method and data server | |
CN103873631A (en) | Method and device for displaying call interface of mobile terminal | |
CN110222224A (en) | Identify the methods, devices and systems of song information | |
CN106576293A (en) | Electronic device and method for controlling information exchange in electronic device | |
CN103297598B (en) | Messaging device, system and method |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |