CN105574151A - Image storage method and equipment - Google Patents

Image storage method and equipment Download PDF

Info

Publication number
CN105574151A
CN105574151A CN201510940189.7A CN201510940189A CN105574151A CN 105574151 A CN105574151 A CN 105574151A CN 201510940189 A CN201510940189 A CN 201510940189A CN 105574151 A CN105574151 A CN 105574151A
Authority
CN
China
Prior art keywords
image
index
globally unique
described image
unique identifier
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
Application number
CN201510940189.7A
Other languages
Chinese (zh)
Other versions
CN105574151B (en
Inventor
赵剑锋
王程
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510940189.7A priority Critical patent/CN105574151B/en
Publication of CN105574151A publication Critical patent/CN105574151A/en
Priority to PCT/CN2016/106805 priority patent/WO2017101643A1/en
Application granted granted Critical
Publication of CN105574151B publication Critical patent/CN105574151B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Software Systems (AREA)

Abstract

The invention discloses an image storage method and equipment. The method comprises the following steps: determining globally unique identifiers of images, wherein the globally unique identifiers are mapped to memory addresses of the images one to one; establishing and storing multilevel indexes of the images according to affiliated information of the images, wherein each superior index comprises a value used for determining adjacent subordinate indexes, the value used for determining the adjacent subordinate indexes is used for dividing images involved in the superior index to corresponding adjacent subordinate indexes, and a most subordinate index comprises the globally unique identifiers of the images; and storing the images to the memory addresses of the images where the globally unique identifiers of the images are mapped. The image storage method and equipment provided by the invention solve the problems of low management operation efficiency of image retrieval, display and deletion, etc. and correspondingly, a beneficial effect of improving the image management efficiency is obtained.

Description

Image storage method and equipment
Technical field
The present invention relates to image processing field, be specifically related to a kind of image storage method and equipment.
Background technology
Current is epoch of data big bang, and the mass data such as such as text, image, sound all can be had every day to produce.Image, as information carrier the most frequently used in human social activity, itself comprises a large amount of information.Therefore, compared with text, image self just has the large feature of data volume, and each image needs larger storage space.If image is very many, a such as over ten billion image, so shared storage space will be unprecedentedly huge.On the other hand, the regularity of view data own is not strong, is difficult to easily be retrieved as text data.
For these reasons, in so large storage space, image is retrieved, show and the bookkeeping such as deletion will speed slowly.In a word, the efficiency of management of image is low.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of overcoming the problems referred to above or the image storage method solved the problem at least in part and equipment.
According to one aspect of the present invention, provide a kind of image storage method, comprising:
Determine the Globally Unique Identifier of image, wherein said Globally Unique Identifier is mapped to the memory address of described image one to one;
Set up according to the satellite information of described image and store the multiple index of described image, wherein, each higher level's index comprises the value for determining adjacent subordinate index, described for determining that the value of adjacent subordinate index is for being divided into corresponding adjacent subordinate index by the image involved by this higher level's index, and most subordinate index comprises the Globally Unique Identifier of described image; And
The memory address of the described image that the Globally Unique Identifier described image being stored into described image maps.
According to a further aspect in the invention, provide a kind of image storage apparatus, comprising:
Determining device, for determining the Globally Unique Identifier of image, wherein said Globally Unique Identifier is mapped to the memory address of described image one to one;
Indexing unit, for setting up according to the satellite information of described image and storing the multiple index of described image, wherein,
Each higher level's index comprises the value for determining adjacent subordinate index, described for determining that the value of adjacent subordinate index is for being divided into corresponding adjacent subordinate index by the image involved by this higher level's index, and most subordinate index comprises the Globally Unique Identifier of described image; And
Memory storage, the memory address of the described image that the Globally Unique Identifier for described image is stored into described image maps.
According to above-mentioned image storage method of the present invention and equipment utilization multiple index, and at least there is higher level's index that can index its multiple subordinates index.Solve the problem of the bookkeeping inefficiencies such as image retrieval in prior art, display and deletion thus, correspondingly achieve the beneficial effect improving image management efficiency.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows the indicative flowchart of image storage method according to an embodiment of the invention;
Fig. 2 shows the schematic diagram of multiple index according to an embodiment of the invention;
Fig. 3 shows the indicative flowchart of image storage method in accordance with another embodiment of the present invention;
Fig. 4 shows the schematic block diagram of image storage apparatus according to an embodiment of the invention; And
Fig. 5 shows the schematic block diagram of image storage apparatus in accordance with another embodiment of the present invention.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
In order to improve the efficiency of image management operation, according to an aspect of the present invention, provide a kind of image storage method.This image storage method is particularly useful for the storage of great amount of images.Fig. 1 shows the indicative flowchart of image storage method 100 according to an embodiment of the invention.As shown in Figure 1, image storage method 100 comprises step S110, step S120 and step S130.
In step s 110, the Globally Unique Identifier of image is determined.Wherein, the Globally Unique Identifier of image is mapped to the memory address of image one to one.
Each image to be stored will be stored in unique memory address.This memory address can be disk address, also can be based on the address in the database of disk address foundation.Globally Unique Identifier is unique in whole storage system.Mapping relations one to one between Globally Unique Identifier and the memory address of image.
Particularly, step S110 can comprise: first, and the binary number that stochastic generation is 64, using the Globally Unique Identifier as image to be stored.Then, the man-to-man mapping between the memory address setting up this Globally Unique Identifier and this image to be stored.Note that the construction method of above-mentioned Globally Unique Identifier is only example object, not restriction of the present invention.Those skilled in the art also can utilize other means to build Globally Unique Identifier.
In the step s 120, set up and the multiple index of storage figure picture according to the satellite information of image to be stored.By this multiple index, GradeNDivision is carried out to whole image storage space, the efficiency of the bookkeepings such as image retrieval, analysis and display can have been significantly improved.
The satellite information of image can comprise the Globally Unique Identifier of determined image in above-mentioned steps S110.This Globally Unique Identifier can as the key assignments of above-mentioned multiple index.The satellite information of image can also comprise the user identifier of image collecting device.For an image storage system, it may need the image storing a lot of user.User can be identified according to the user identifier of its image collecting device.Such as, user can manage multiple image collecting device with same application (APP).So user can be logged in the user identifier of user name as the image collecting device of this user of this APP.The satellite information of image can also comprise image sources identifier.There is its oneself source in each image, such as specific image harvester.Image sources identifier can be the product ID of image collecting device.The satellite information of image can also comprise date of image capture.
The multiple index of image can be set up according to the satellite information of image.Wherein, each higher level's index corresponds to one or more subordinates index.Higher level's index and subordinate's index are two relative concepts.Its subordinate's index can be indexed by higher level's index.The image involved by image subordinate all with it index involved by higher level's index is completely the same.
At least there is higher level's index that corresponds to multiple subordinates index.Thus, the image corresponding to higher level's index can be allocated to different subordinate's indexes.In concrete example, the possible overwhelming majority even all higher level's index corresponds to multiple subordinates index.
Fig. 2 shows the schematic diagram of multiple index according to an embodiment of the invention.As shown in Figure 2, this multiple index comprises two-stage.In Fig. 2, uppermost form represents first order index, and three middle forms represent second level index.First order index relate to stored all images.Each second level index comprises a part of image.Nethermost cylinder represents the storage space of image, such as different server clusters.
In multiple index, each higher level's index comprises the value for determining adjacent subordinate index.For determining that the value of adjacent subordinate index is for being divided into corresponding adjacent subordinate index by the image involved by this higher level's index.Thus, whole multiple index becomes indivisible entirety.In concrete example, each higher level's index can be a concordance list, and this concordance list can comprise multiple row, and wherein the value of certain row is used for determining adjacent subordinate index.That is, according to the difference of the value in these row, the image of correspondence is divided into different adjacent subordinate indexes.
Still for the multiple index shown in Fig. 2, the value in last row of the first order index in Fig. 2 is the collection date of image, and it is for determining adjacent subordinate index.As shown in curve different in Fig. 2, gather the date be " 20141020 " image by be divided in the second level index shown in Fig. 2 leftmost that, gather the date be the image of " 20141021 " by that in the middle of being divided in the second level index shown in Fig. 2, gather the date be " 20141022 " image by be divided in the second level index shown in Fig. 2 rightmost that.
In multiple index, most subordinate index comprises the Globally Unique Identifier of image.In other words, Globally Unique Identifier is positioned at multiple index bottom, to set up the contact of the storage space of multiple index and image.
In the multiple index shown in Fig. 2, Globally Unique Identifier is the key assignments in this multiple index, and it is expressed with word " Key ".As shown in Figure 2, namely " Key " in the index of second level row store the Globally Unique Identifier of this multiple index, the storage space one_to_one corresponding of itself and image.
Below to set up the secondary index shown in Fig. 2, the detailed process setting up multiple index is described.For image to be stored, first obtain its satellite information, satellite information can comprise the collection date (Date) of the user identifier (Uid) of image collecting device, image sources identifier (Sn) and image.Then, the satellite information of image is added to first order index.When the satellite information of image is with when in storage system, the satellite information of conventional images is identical, in this step, no longer repeat to add to first order index.As shown in the first order index of Fig. 2, fourth line in first order index can represent that the user identification code image collecting device that to be the sequence number of the user of " 135 " be " daggsd " acquires image on October 22nd, 2014, and this image has been stored in storage system.Be appreciated that the data in every a line of first order index cannot indicate the number of corresponding image, only can represent the image existing in storage system and there is this satellite information.Such as, fourth line in first order index corresponds to three row data in the index of the rightmost second level.Finally, according to the collection date of image, the part satellite information of image and Globally Unique Identifier are added to corresponding second level index.Such as, the rightmost second level index shown in Fig. 2 is added to by gathering user identifier (Uid), image sources identifier (Sn) and the Globally Unique Identifier that the date is the image collecting device of the image of " 20141022 ".Because each Globally Unique Identifier is unique, so each provisional capital in the index of the second level corresponds to an image uniquely.Such as, in the index of the second level, that the first row rightmost represents that the image collecting device that the sequence number that user identification code is the user of " 135 " is " daggsd " has been stored into the storage space corresponding with Globally Unique Identifier " D " at the image that on October 22nd, 2014 gathers.Be appreciated that, the sequence number of user that user identification code is " 135 " is that the image collecting device of " daggsd " may acquire multiple image on October 22nd, 2014, these images have mutually different Globally Unique Identifier, as shown in three row data in rightmost second level index in Fig. 2.
In step s 130, which, the memory address of the image that Globally Unique Identifier image being stored into image maps.Here store operation to as if view data itself.
Image can be stored with dot matrix way.Dot matrix is the array of point, and the point in array can be called the pixel of image.Storage figure picture can also be carried out, the mode of such as vector with mathematical way.
In another one angle, image can be the image of various form, such as JPG form, BMP form etc.
In Fig. 2, nethermost cylinder represents the storage space of image, such as different server clusters.As shown in curve in figure, the image that " Key " value of second level index is respectively " A " and " C " is stored into corresponding address in first server cluster, the image being " B " by " Key " value of second level index is stored into corresponding address in second server cluster, and the image being " D " by " Key " value of second level index is stored into corresponding address in the 3rd server cluster.
Above-mentioned image storage method 100 shows the concrete execution sequence of step S110, step S120 and step S130.But one of ordinary skill in the art will appreciate that, shown execution sequence is only example, and unrestricted.Such as, step S130 can perform prior to step S120.Alternatively, step S130 can perform with step S120 simultaneously, to improve the execution speed of image storage method 100.
When retrieving the image stored based on above-mentioned image storage method 100, show, the bookkeeping such as deletion time, first, can go to retrieve most higher level's index, according to most its subordinate's index of higher level's indexed search.Similarly, retrieve step by step, until retrieve most subordinate index.Finally, the memory address of this image can be retrieved according to the Globally Unique Identifier of the image in most subordinate index, obtain this image.
Above-mentioned image storage method 100 make use of multiple index.At least one higher level's index can index multiple subordinates index, solves the problem of the bookkeeping inefficiencies such as image retrieval in prior art, display, deletion thus, correspondingly achieves the beneficial effect improving image management efficiency.
Alternatively, the multiple index setting up image in above-mentioned steps S120 may further include step S121, and first group of satellite information according to image sets up first order index.
This step S121 can specifically comprise: first, judges whether first group of satellite information of image repeats with first group of satellite information of the image in first order index.Then, for the situation not having to repeat, first of image group of satellite information is added in this first order index.So, avoid the row duplicated in first order index, ensure that its accuracy of first order index.
Step S120 can also comprise step S122, and second group of satellite information according to image sets up second level index.In this step, second of image group of satellite information is added in the index of the second level.Thus, the multiple index set up is secondary index.As mentioned above, Fig. 2 shows the schematic diagram of secondary index according to an embodiment of the invention.
On the one hand, the memory space brought of secondary index and calculated amount all less.On the other hand, because one-level index can correspond to a lot of secondary indexs.That is, the dimension of one-level index can be far longer than secondary index.So, both can manage all images easily by secondary index, improve the efficiency of management.
One of ordinary skill in the art will appreciate that, can also set up more than three grades indexes, it can support the store and management of greater amount image.But the burden that this stores bringing to storage system and calculating aspect is larger.
According to an example of the present invention, above-mentioned steps S121 sets up first order index and comprises further: the first satellite information according to image sets up first order index with the collection date.Wherein, the collection date of image is used for the image involved by first order index to be divided into second level index.Thus, involved in the index of each second level image is image gathered on the same day.Above-mentioned steps S122 sets up second level index and comprises further: set up second level index according to the first satellite information of image and Globally Unique Identifier.
According in the scheme of this example, according to the difference on the collection date of image, image is divided into different second level indexes.Secondary index as shown in Figure 2, first order index comprises three row.On the collection date that last row " Date " are image, as mentioned above, it is for determining the second level index of image.
The collection date of image is an important attribute of image.In the management system of the image of multi-user, user may propose the request such as retrieval and display about the image on particular acquisition date.Such as, for a kind of APP of the image information for monitoring ad-hoc location, it may have millions of users.The image that this APP utilizes image acquisition device a large amount of.For user, the image reviewing and retrieve a certain period may be expected.With the collection date Further Division image of image, can more convenient image management.
Secondary index as shown in Figure 2, above-mentioned first satellite information may further include user identifier (Uid) and/or the image sources identifier (Sn) of image collecting device.Both is also one of important attribute of image.When proposing the requests such as the retrieval of image and display as user, wishing can the result expected to user of fast return.The user identifier of image collecting device is the attribute relevant with user with image sources identifier, utilizes them, can navigate to the image that user expects more quickly.
Fig. 3 shows the indicative flowchart of image storage method 300 according to another embodiment of the present invention.As shown in Figure 3, this image storage method 300 comprises step S310, step S320, step S330 and step S340.Wherein, step S310, step S320 and step S330 are similar with the corresponding steps in above-mentioned image storage method 100 respectively, for simplicity, do not repeat them here.
In step s 320, set up and the multiple index of storage figure picture according to the satellite information of image.Wherein, the satellite information of image comprises the collection date of image.In step S340, delete the index of the image gathered at first and the image gathered at first according to the collection date of image, to discharge storage space.
The storage space of storage system is limited.How this limited storage space of Appropriate application is a major issue.For user, the user of the APP of the image information for monitoring ad-hoc location such as, above in example, recent image is normally more valuable.In this step S340, delete the image that gathers at first and its index according to the collection date of image, remain for prior image user, can while meeting consumers' demand, release storage space.
Be appreciated that in above-mentioned image storage method 100 and 200, can by subordinate's index stores of image in server cluster, this server cluster is different from the server cluster of the subordinate's index storing other images.Subordinate's index of image is multiple.Server cluster also can have multiple.By subordinate's index stores of different images in different server clusters, thus, more reasonably can utilize storage space.
For certain image to be stored, its memory address can be positioned at different server clusters from the memory address of other images.Again get back to Fig. 2, the user identifier Uid of image collecting device is " 123 ", image sources identifier Sn is " dddddc " and the image that key value Key is " A " is stored in first server cluster, image collecting device user identifier Uid is similarly " 123 ", image sources identifier Sn is " adadfs " and the image that key value Key is " B " is stored in second server cluster.Different images is stored in different server clusters by the support of above-mentioned image storage method 100 and 200, is effectively expanded the storage space of image by different server clusters.
According to a further aspect of the invention, a kind of image storage apparatus is additionally provided.Fig. 4 shows the schematic block diagram of image storage apparatus 400 according to an embodiment of the invention.As shown in Figure 4, image storage apparatus 400 comprises determining device 410, indexing unit 420 and memory storage 430.
Determining device 410 is for determining the Globally Unique Identifier of image, and wherein Globally Unique Identifier is mapped to the memory address of image one to one.
Indexing unit 420 is for setting up and the multiple index of storage figure picture according to the satellite information of image.Each higher level's index comprises the value for determining adjacent subordinate index, and this value is used for the image involved by this higher level's index to be divided into corresponding adjacent subordinate index.Most subordinate index comprises the Globally Unique Identifier of image.
Alternatively, indexing unit 420 comprises the first index module 421 and the second index module 422 further.First index module 421 sets up first order index for first group of satellite information according to image.Second index module 422 sets up second level index for second group of satellite information according to image.
Alternatively, first index module 421 comprises the first index further and sets up unit, it sets up first order index for the first satellite information according to image with the collection date, and wherein, the collection date of image is used for the image involved by first order index to be divided into second level index.Second index module 422 comprises the second index further and sets up unit, and it is for setting up second level index according to the first satellite information of image and Globally Unique Identifier.
First satellite information may further include: the user identifier of image collecting device and/or image sources identifier.
Alternatively, indexing unit 420 comprises index stores module further, for by subordinate's index stores of image in server cluster, wherein, this server cluster is different from the server cluster of subordinate's index storing other images.
The memory address of the image that memory storage 430 maps for the Globally Unique Identifier that image is stored into image.Alternatively, the memory address of this image is positioned at different server clusters from the memory address of other images.
Fig. 5 shows the indicative flowchart of image storage apparatus 500 according to another embodiment of the present invention.As shown in Figure 5, this image storage apparatus 500 comprises determining device 510, indexing unit 520 and memory storage 530 and delete device 540.Wherein, determining device 510, indexing unit 520 and memory storage 530 are similar with the corresponding component in above-mentioned image storage apparatus 400 respectively, for simplicity, do not repeat them here.
Delete device 540 in image storage apparatus 500 for deleting the index of the image gathered at first and the image gathered at first according to the collection date of image, to discharge storage space.
Those of ordinary skill in the art, by reading above about the detailed description of image storage method 100 and 300, can understand the structure of above-mentioned image storage apparatus 400 and 500, realization and advantage, therefore repeat no more here.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the some or all parts in the image storage apparatus of the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
The embodiment of the invention discloses A1, a kind of image storage method, comprising:
Determine the Globally Unique Identifier of image, wherein said Globally Unique Identifier is mapped to the memory address of described image one to one;
Set up according to the satellite information of described image and store the multiple index of described image, wherein, each higher level's index comprises the value for determining adjacent subordinate index, described for determining that the value of adjacent subordinate index is for being divided into corresponding adjacent subordinate index by the image involved by this higher level's index, and most subordinate index comprises the Globally Unique Identifier of described image; And
The memory address of the described image that the Globally Unique Identifier described image being stored into described image maps.
A2, image storage method as described in A1, the described multiple index setting up described image comprises further:
First group of satellite information according to described image sets up first order index; And
Second group of satellite information according to described image sets up second level index.
A3, image storage method as described in A2,
Described first order index of setting up comprises further:
The first satellite information according to described image sets up described first order index with the collection date, and wherein, the collection date of described image is used for the image involved by described first order index to be divided into described second level index;
Described second level index of setting up comprises further:
Described second level index is set up according to the first satellite information of described image and Globally Unique Identifier.
A4, image storage method as described in A3, described first satellite information comprises further: the user identifier of image collecting device and/or image sources identifier.
A5, image storage method as described in A3 or A4, described method comprises further:
The index of image and the described image gathered at first gathered at first is deleted, to discharge storage space according to the collection date of image.
A6, image storage method as described in any one of A1 to A4, the multiple index of the described image of described storage comprises further:
By subordinate's index stores of described image in server cluster, wherein, described server cluster is different from the server cluster of the subordinate's index storing other images.
A7, image storage method as described in any one of A1 to A4, the memory address of described image is positioned at different server clusters from the memory address of other images.
The embodiment of the invention also discloses B8, a kind of image storage apparatus, comprising:
Determining device, for determining the Globally Unique Identifier of image, wherein said Globally Unique Identifier is mapped to the memory address of described image one to one;
Indexing unit, for setting up according to the satellite information of described image and storing the multiple index of described image, wherein,
Each higher level's index comprises the value for determining adjacent subordinate index, described for determining that the value of adjacent subordinate index is for being divided into corresponding adjacent subordinate index by the image involved by this higher level's index, and most subordinate index comprises the Globally Unique Identifier of described image; And
Memory storage, the memory address of the described image that the Globally Unique Identifier for described image is stored into described image maps.
B9, image storage apparatus as described in B8, described indexing unit comprises further:
First index module, sets up first order index for first group of satellite information according to described image; And
Second index module, sets up second level index for second group of satellite information according to described image.
B10, image storage apparatus as described in B9,
Described first index module comprises further:
Unit set up in first index, sets up described first order index for the first satellite information according to described image with the collection date, and wherein, the collection date of described image is used for the image involved by described first order index to be divided into described second level index;
Described second index module comprises further:
Unit set up in second index, for setting up described second level index according to the first satellite information of described image and Globally Unique Identifier.
B11, image storage apparatus as described in B10, described first satellite information comprises further: the user identifier of image collecting device and/or image sources identifier.
B12, image storage apparatus as described in B10 or B11, described equipment comprises further:
Delete device, for deleting the index of image and the described image gathered at first gathered at first according to the collection date of image, to discharge storage space.

Claims (10)

1. an image storage method, comprising:
Determine the Globally Unique Identifier of image, wherein said Globally Unique Identifier is mapped to the memory address of described image one to one;
Set up according to the satellite information of described image and store the multiple index of described image, wherein, each higher level's index comprises the value for determining adjacent subordinate index, described for determining that the value of adjacent subordinate index is for being divided into corresponding adjacent subordinate index by the image involved by this higher level's index, and most subordinate index comprises the Globally Unique Identifier of described image; And
The memory address of the described image that the Globally Unique Identifier described image being stored into described image maps.
2. image storage method as claimed in claim 1, it is characterized in that, the described multiple index setting up described image comprises further:
First group of satellite information according to described image sets up first order index; And
Second group of satellite information according to described image sets up second level index.
3. image storage method as claimed in claim 2, is characterized in that,
Described first order index of setting up comprises further:
The first satellite information according to described image sets up described first order index with the collection date, and wherein, the collection date of described image is used for the image involved by described first order index to be divided into described second level index;
Described second level index of setting up comprises further:
Described second level index is set up according to the first satellite information of described image and Globally Unique Identifier.
4. image storage method as claimed in claim 3, it is characterized in that, described first satellite information comprises further: the user identifier of image collecting device and/or image sources identifier.
5. the image storage method as described in claim 3 or 4, is characterized in that, described method comprises further:
The index of image and the described image gathered at first gathered at first is deleted, to discharge storage space according to the collection date of image.
6. the image storage method as described in any one of Claims 1-4, is characterized in that, the multiple index of the described image of described storage comprises further:
By subordinate's index stores of described image in server cluster, wherein, described server cluster is different from the server cluster of the subordinate's index storing other images.
7. the image storage method as described in any one of Claims 1-4, is characterized in that, the memory address of described image is positioned at different server clusters from the memory address of other images.
8. an image storage apparatus, comprising:
Determining device, for determining the Globally Unique Identifier of image, wherein said Globally Unique Identifier is mapped to the memory address of described image one to one;
Indexing unit, for setting up according to the satellite information of described image and storing the multiple index of described image, wherein,
Each higher level's index comprises the value for determining adjacent subordinate index, described for determining that the value of adjacent subordinate index is for being divided into corresponding adjacent subordinate index by the image involved by this higher level's index, and most subordinate index comprises the Globally Unique Identifier of described image; And
Memory storage, the memory address of the described image that the Globally Unique Identifier for described image is stored into described image maps.
9. image storage apparatus as claimed in claim 8, it is characterized in that, described indexing unit comprises further:
First index module, sets up first order index for first group of satellite information according to described image; And
Second index module, sets up second level index for second group of satellite information according to described image.
10. image storage apparatus as claimed in claim 9, is characterized in that,
Described first index module comprises further:
Unit set up in first index, sets up described first order index for the first satellite information according to described image with the collection date, and wherein, the collection date of described image is used for the image involved by described first order index to be divided into described second level index;
Described second index module comprises further:
Unit set up in second index, for setting up described second level index according to the first satellite information of described image and Globally Unique Identifier.
CN201510940189.7A 2015-12-16 2015-12-16 Image storage method and equipment Active CN105574151B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510940189.7A CN105574151B (en) 2015-12-16 2015-12-16 Image storage method and equipment
PCT/CN2016/106805 WO2017101643A1 (en) 2015-12-16 2016-11-22 Method and device for image storage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510940189.7A CN105574151B (en) 2015-12-16 2015-12-16 Image storage method and equipment

Publications (2)

Publication Number Publication Date
CN105574151A true CN105574151A (en) 2016-05-11
CN105574151B CN105574151B (en) 2019-08-06

Family

ID=55884282

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510940189.7A Active CN105574151B (en) 2015-12-16 2015-12-16 Image storage method and equipment

Country Status (2)

Country Link
CN (1) CN105574151B (en)
WO (1) WO2017101643A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017101643A1 (en) * 2015-12-16 2017-06-22 北京奇虎科技有限公司 Method and device for image storage
CN108304331A (en) * 2018-01-30 2018-07-20 浙江鸿泉车联网有限公司 Circle queue formula date storage method based on NorFlash and device
CN110362575A (en) * 2019-07-04 2019-10-22 浙江大华技术股份有限公司 A kind of method and device for the global index generating data

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110968555B (en) * 2018-09-30 2023-07-04 北京国双科技有限公司 Dimension data processing method and device
CN112307035B (en) * 2020-11-26 2024-01-05 深圳云天励飞技术股份有限公司 Method and device for managing characteristic value ID, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6629105B1 (en) * 2000-02-19 2003-09-30 Novell, Inc. Facilitating user administration of directory trees
CN101398869A (en) * 2008-10-07 2009-04-01 深圳市蓝韵实业有限公司 Mass data storage means
CN101404029A (en) * 2008-11-04 2009-04-08 深圳市蓝韵实业有限公司 DICOM image file storage method
CN101833986A (en) * 2010-05-20 2010-09-15 哈尔滨工业大学 Method for creating three-stage audio index and audio retrieval method
CN103092848A (en) * 2011-10-28 2013-05-08 浙江大华技术股份有限公司 Method for storing and retrieving pictures
CN104298747A (en) * 2014-10-13 2015-01-21 福建星海通信科技有限公司 Storage method and retrieval method of massive images
CN104679744A (en) * 2013-11-27 2015-06-03 常州校果信息服务有限公司 Storage optimization method of PACS (Picture Archiving and Communication System)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488709B (en) * 2013-09-09 2017-06-16 东软集团股份有限公司 A kind of index establishing method and system, search method and system
CN103577604B (en) * 2013-11-20 2018-07-06 电子科技大学 A kind of image index structure for Hadoop distributed environments
CN105574151B (en) * 2015-12-16 2019-08-06 北京奇虎科技有限公司 Image storage method and equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6629105B1 (en) * 2000-02-19 2003-09-30 Novell, Inc. Facilitating user administration of directory trees
CN101398869A (en) * 2008-10-07 2009-04-01 深圳市蓝韵实业有限公司 Mass data storage means
CN101404029A (en) * 2008-11-04 2009-04-08 深圳市蓝韵实业有限公司 DICOM image file storage method
CN101833986A (en) * 2010-05-20 2010-09-15 哈尔滨工业大学 Method for creating three-stage audio index and audio retrieval method
CN103092848A (en) * 2011-10-28 2013-05-08 浙江大华技术股份有限公司 Method for storing and retrieving pictures
CN104679744A (en) * 2013-11-27 2015-06-03 常州校果信息服务有限公司 Storage optimization method of PACS (Picture Archiving and Communication System)
CN104298747A (en) * 2014-10-13 2015-01-21 福建星海通信科技有限公司 Storage method and retrieval method of massive images

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017101643A1 (en) * 2015-12-16 2017-06-22 北京奇虎科技有限公司 Method and device for image storage
CN108304331A (en) * 2018-01-30 2018-07-20 浙江鸿泉车联网有限公司 Circle queue formula date storage method based on NorFlash and device
CN110362575A (en) * 2019-07-04 2019-10-22 浙江大华技术股份有限公司 A kind of method and device for the global index generating data

Also Published As

Publication number Publication date
WO2017101643A1 (en) 2017-06-22
CN105574151B (en) 2019-08-06

Similar Documents

Publication Publication Date Title
CN107391653B (en) Distributed NewSQL database system and picture data storage method
CN105574151A (en) Image storage method and equipment
US10620830B2 (en) Reconciling volumelets in volume cohorts
US20080201428A1 (en) Method for Operating a Fixed Prefix Peer to Peer Network
US20150169716A1 (en) Volume cohorts in object-redundant storage systems
US20190121901A1 (en) Database Sharding
CN107103032B (en) Mass data paging query method for avoiding global sequencing in distributed environment
CN108205577B (en) Array construction method, array query method, device and electronic equipment
CN110825733B (en) Multi-sampling-stream-oriented time series data management method and system
CN110321325B (en) File index node searching method, terminal, server, system and storage medium
CN107025243A (en) A kind of querying method of resource data, inquiring client terminal and inquiry system
CN103902702A (en) Data storage system and data storage method
CN106844676B (en) Data storage method and device
Hoque et al. Disk layout techniques for online social network data
CN115840731A (en) File processing method, computing device and computer storage medium
CN110222046B (en) List data processing method, device, server and storage medium
US10229142B2 (en) Method and system for handling binary large objects
CN114281855A (en) Data request method, data request device, computer equipment, storage medium and program product
CN106547484A (en) It is a kind of that internal storage data reliability method and system realized based on RAID5
CN106503260A (en) A kind of method and apparatus of the effective memory space for improving data base
CN102867023A (en) Method for storing and reading grid data and device
CN102955808A (en) Data acquisition method and distributed file system
US9230011B1 (en) Index-based querying of archived data sets
US10157216B2 (en) Data management system and data management method
WO2015142169A1 (en) A method and system for determining a measure of overlap between data entries

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220726

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.