Summary of the invention
In first aspect, embodiments provide a kind of file memory method, comprising:
Data in binary source file are carried out packet transaction and obtain data group, the data in data group described in each are identical;
By the order of described data group in described source file, for each described data group generates corresponding two-dimensional coordinate, form set of coordinates, even number coordinate figure in the abscissa value of described two-dimensional coordinate represents the first data, the ordinate value of described two-dimensional coordinate represents the number of the data represented by described abscissa value, and described first data are 0 or 1;
Described set of coordinates is stored on a storage device.
In conjunction with first aspect, in the implementation that the first is possible, the maximal value of the transverse axis coordinate figure of described two-dimensional coordinate is no more than the binary data number in described source file.
In second aspect, embodiments provide a kind of file memory method, comprising:
Data in binary source file are carried out packet transaction and obtain data group, described in each, data group has identical data volume;
By the order of described data group in described source file, for each described data group generates corresponding two-dimensional coordinate, form two-dimensional coordinate group;
By in described two-dimensional coordinate group, there is identical transverse axis coordinate figure, and ordinate of orthogonal axes value continually varying first set of coordinates boil down to cylindrical coordinates, first coordinate figure of described cylindrical coordinates is identical with the transverse axis coordinate figure of described first set of coordinates, second coordinate figure of described cylindrical coordinates is the first coordinate range, and described first coordinate range utilizes the minimum ordinate of orthogonal axes value in described first set of coordinates and maximum ordinate of orthogonal axes value to represent;
Described cylindrical coordinates is stored on a storage device.
In conjunction with second aspect, in the implementation that the first is possible, the maximal value of the ordinate of orthogonal axes value of described two-dimensional coordinate is, data represented when each in described data group being got 1.
In conjunction with the implementation that the first is possible, in the implementation that the second is possible, the ordinate of orthogonal axes value of the first coordinate in described two-dimensional coordinate group is identical with its first corresponding data, if described first data are not more than the second data, then the transverse axis coordinate figure of described first coordinate is add 1 on the basis of transverse axis coordinate figure corresponding to the second data, otherwise, the transverse axis coordinate figure that the transverse axis coordinate figure of described first coordinate is corresponding with described second data is identical, and described second data are the previous data of described first data.
In conjunction with the implementation that the second is possible, in the implementation that the third is possible, by in described two-dimensional coordinate group, there is identical transverse axis coordinate figure, and ordinate of orthogonal axes is worth the second set of coordinates boil down to cylindrical coordinates of discontinuous change, first coordinate figure of described cylindrical coordinates is identical with the transverse axis coordinate figure of described second set of coordinates, when the coordinate quantity in described second set of coordinates is no more than the first amount threshold, other coordinate figure of described cylindrical coordinates comprises the ordinate of orthogonal axes value of described second set of coordinates, otherwise
Other coordinate figure of described cylindrical coordinates comprises negative set of coordinates, and described negative set of coordinates is the ordinate of orthogonal axes value removed from the scope of described ordinate of orthogonal axes value in described second set of coordinates, and remaining ordinate of orthogonal axes value is got negative.
In the third aspect, embodiments provide a kind of file storage device, comprising:
Grouped element, obtain data group for the data in binary source file being carried out packet transaction, the data in data group described in each are identical, and described data group is sent to generation unit;
Generation unit, for receiving the described data group that described grouped element sends, by the order of described data group in described source file, for each described data group generates corresponding two-dimensional coordinate, form set of coordinates, the even number coordinate figure in the abscissa value of described two-dimensional coordinate represents the first data, and the ordinate value of described two-dimensional coordinate represents the number of the data represented by described abscissa value, described first data are 0 or 1, and described set of coordinates is sent to storage unit;
Storage unit, for receiving the described data group that described generation unit sends, stores described set of coordinates on a storage device.
In conjunction with the third aspect, in the implementation that the first is possible, the maximal value of the transverse axis coordinate figure of the described two-dimensional coordinate in described generation unit is no more than the binary data number in described source file.
In fourth aspect, embodiments provide a kind of file storage device, comprising:
Grouped element, obtain data group for the data in binary source file being carried out packet transaction, described in each, data group has identical data volume, and described data group is sent to generation unit;
Generation unit, for receiving the described data group that described grouped element sends, by the order of described data group in described source file, for each described data group generates corresponding two-dimensional coordinate, form two-dimensional coordinate group, described two-dimensional coordinate group is sent to compression unit;
Compression unit, for receiving the described two-dimensional coordinate group that described generation unit sends, by in described two-dimensional coordinate group, there is identical transverse axis coordinate figure, and ordinate of orthogonal axes value continually varying first set of coordinates boil down to cylindrical coordinates, first coordinate figure of described cylindrical coordinates is identical with the transverse axis coordinate figure of described first set of coordinates, second coordinate figure of described cylindrical coordinates is the first coordinate range, described first coordinate range utilizes the minimum ordinate of orthogonal axes value in described first set of coordinates and maximum ordinate of orthogonal axes value to represent, described cylindrical coordinates is sent to storage unit;
Storage unit, for receiving the described cylindrical coordinates that described compression unit sends, stores described cylindrical coordinates on a storage device.
In conjunction with fourth aspect, in the implementation that the first is possible, the maximal value of the ordinate of orthogonal axes value of the described two-dimensional coordinate in described generation unit is, data represented when each in described data group being got 1.
In conjunction with the implementation that the first is possible, in the implementation that the second is possible, the ordinate of orthogonal axes value of the first coordinate in the described two-dimensional coordinate group in described generation unit is identical with its first corresponding data, if described first data are not more than the second data, then the transverse axis coordinate figure of described first coordinate is add 1 on the basis of transverse axis coordinate figure corresponding to the second data, otherwise, the transverse axis coordinate figure that the transverse axis coordinate figure of described first coordinate is corresponding with described second data is identical, and described second data are the previous data of described first data.
In conjunction with the implementation that the second is possible, in the implementation that the third is possible, described compression unit also for:
By in described two-dimensional coordinate group, there is identical transverse axis coordinate figure, and ordinate of orthogonal axes is worth the second set of coordinates boil down to cylindrical coordinates of discontinuous change, first coordinate figure of described cylindrical coordinates is identical with the transverse axis coordinate figure of described second set of coordinates, when the coordinate quantity in described second set of coordinates is no more than the first amount threshold, other coordinate figure of described cylindrical coordinates comprises the ordinate of orthogonal axes value of described second set of coordinates, otherwise
Other coordinate figure of described cylindrical coordinates comprises negative set of coordinates, and described negative set of coordinates is the ordinate of orthogonal axes value removed from the scope of described ordinate of orthogonal axes value in described second set of coordinates, and remaining ordinate of orthogonal axes value is got negative.
In the embodiment of the present invention, by two-dimensional coordinate or cylindrical coordinates are stored as image file, thus reduce the size of image file, and no matter conventional image file system is in write operation or read operation, capital relates to the access of the big data quantity to disk, and on hard disk, only need write or read a small amount of coordinate data based on the mirror file system of two-dimensional coordinate, combination is then all perform at region of memory, the consumption to rear end disk can be reduced like this, the read or write speed of data can also be accelerated, thus add treatment effeciency, for each file, our piecemeal process, this makes us when mirror image, a file even the mirror image quantity of a blocks of files can be increased neatly.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, the specific embodiment of the invention is described in further detail.
We know, 2 numerals are only had inside PC World, namely 0 and 1, no matter how excellent computer software performance is, search to the bottom, still 0 and 1, so, when we at storage file time, as long as know and where writing 0, where write 1 just passable, and a file composition can simply be expressed as: file=file header+source file data, wherein, what store in source file is useful data in file, file header is also referred to as metadata, it is the storage mode to the data stored in source file, the description of data structure etc., do not belong to document text.In above-mentioned equation, the data in source file data can orientate equation below as:
Source file data=position 0* [0|1]+position 1* [0|1]+position 2* [0|1]+position 3* [0|1]+...+position (N-1) * [0|1]+position N* [0|1],
Attention: in above-mentioned equation, symbol " | " represent or the meaning, it is continuous print 0 or continuous print 1 in certain position that the factor (position N* [0|1]) represents, and plus sige (+) represents and they is together in series.
Based on above-mentioned principle, the embodiment of the present invention proposes a kind of file memory method, namely source file can be regarded as a sequence be made up of continuous print 0 and continuous print 1 by us, in source file 0 and 1 can be expressed as the form of two-dimensional coordinate by us, these two-dimensional coordinates can be stored as image file, detailed process is as described below:
What following embodiment described is a kind of file memory method.The file memory method process flow diagram that Fig. 1 provides for the embodiment of the present invention one.As shown in Figure 1, the file memory method that the embodiment of the present invention provides comprises:
S101, the data in binary source file are carried out packet transaction and obtain data group, the data in data group described in each are identical.
Particularly, suppose that source file data are: 0000111111100000011111110000011110
000000101111, then by this packet, to be source file data be the data after grouping: 0000,1111111,000000,1111111,00000,1111,0000000,1,0,1111, can find out that the data in every group are identical.
S102, by the order of described data group in described source file, for each described data group generates corresponding two-dimensional coordinate, form set of coordinates, even number coordinate figure in the abscissa value of described two-dimensional coordinate represents the first data, the ordinate value of described two-dimensional coordinate represents the number of the data represented by described abscissa value, and described first data are 0 or 1.
Particularly, need to calculate the data amount check that each data group comprises, using the ordinate of this number as two-dimensional coordinate, abscissa value enter successively from 0 one (here by transverse axis coordinate figure from 0, also can from other data, as long as transverse axis coordinate figure increases progressively, also can successively decrease, namely coordinate figure is only to successively decrease or to increase progressively always always, identical in this below, repeat no more), and the even number value set in horizontal ordinate represents 0, odd number value represents 1, can certainly do contrary setting.
Data group with above: 0000,1111111,000000,1111111,00000,1111,0000000,1,0,1111 is example, the two-dimensional coordinate generated for these data groups is respectively (0,4), (1,7), (2,6), (3,7), (4,5), (5,4), (6,7) (7,1), (8,1), (9,4).
With second coordinate (1,7) for example, source file data are seven 1, if this segment data is copied one time, then data volume is seven bits, if write as the form of coordinate, data volume is the data volume of two coordinate figures, transverse axis coordinate figure is 1, therefore takies 1 bit, and ordinate of orthogonal axes value is 7, therefore, take 3 bits, summation is 4 bits, is less than the data volume copied, therefore, stored number can be reduced.
S103, stores described set of coordinates on a storage device.
Particularly, due to set in S102 represent Y-axis record when transverse axis coordinate figure is even number be 0 number, what transverse axis coordinate figure represented Y-axis record when being odd number is 1 number, therefore, can know that the content of source file is 0000111111100000011111110000011110000000101111 according to above-mentioned coordinate.
In addition, as can be seen from said process, occur if the content of source file is 0 and 1 interval circulation, then can know that the maximal value of the transverse axis coordinate figure of two-dimensional coordinate is the binary data number in source file.
What above-described embodiment described is that the data in binary source file are carried out packet transaction and obtain data group, the data in data group described in each are identical; By the order of described data group in described source file, for each described data group generates corresponding two-dimensional coordinate, form set of coordinates, even number coordinate figure in the abscissa value of described two-dimensional coordinate represents the first data, the ordinate value of described two-dimensional coordinate represents the number of the data represented by described abscissa value, and described first data are 0 or 1; Described set of coordinates is stored on a storage device.Thus reduce the size of image file, and no matter conventional image file system is in write operation or read operation, capital relates to the access of the big data quantity to disk, and on hard disk, only need write or read a small amount of coordinate data based on the mirror file system of two-dimensional coordinate, combination is then all perform at region of memory, the consumption to rear end disk can be reduced like this, the read or write speed of data can also be accelerated, thus add treatment effeciency, for each file, our piecemeal process, this makes us when mirror image, a file even the mirror image quantity of a blocks of files can be increased neatly.
Can be found out by above-described embodiment, the number of bits comprised due to a file is very big, if as stated above, treatment effeciency is lower, for improving treatment effeciency, multiple data can be processed as a unit, therefore, the embodiment of the present invention proposes the another kind of file memory method based on two-dimensional coordinate.The file memory method process flow diagram that Fig. 2 provides for the embodiment of the present invention two.As shown in Figure 2, the file memory method that the embodiment of the present invention provides comprises:
S201, the data in binary source file are carried out packet transaction and obtain data group, described in each, data group has identical data volume.
Data volume in each data group can be 1 byte, may also be other size, for setting forth conveniently, here for 1 byte, we know that a byte is made up of 8 bits, and therefore, it has 256 kinds of combinations, also can represent 256 kinds of states, we using these 256 kinds of states namely also 0 (00000000) ~ 255 (11111111) as the content of the ordinate of orthogonal axes value of two-dimensional coordinate.Suppose that the content of source file is: 00,000,011,000,010,000,000,000,100,000,111,000,001,110,000,100,000,111,000 0011100001, the data after division are 00000011,00001000,00000001,00000111,00000111,0000100,00000010,00001001,00000110, divide into 6 groups by source file data, define data group (3,8,1,7,7,8,2,5,6), wherein the discontented byte of last group, mends 0 at low level.
S202, by the order of described data group in described source file, for each described data group generates corresponding two-dimensional coordinate, forms two-dimensional coordinate group.
Particularly, be that each described data group generates corresponding two-dimensional coordinate in order, process for data genaration two-dimensional coordinate is process data being write two-dimensional coordinate system, when in order above-mentioned data group being write in two-dimensional coordinate system, the ordinate of orthogonal axes value of the first coordinate in described two-dimensional coordinate group is identical with its first corresponding data, if described first data are not more than the second data, then the transverse axis coordinate figure of described first coordinate is add 1 on the basis of transverse axis coordinate figure corresponding to the second data, otherwise, the transverse axis coordinate figure that the transverse axis coordinate figure of described first coordinate is corresponding with described second data is identical, described second data are the previous data of described first data.
Being convenient to for making technique scheme understand, elaborating the process of data group (3,8,1,7,7,8,2,5,6) write two-dimensional coordinate system for Fig. 3 below, the file memory method schematic diagram that Fig. 3 provides for the embodiment of the present invention two.Particularly, first first data " 3 " being write X-coordinate is 0, and Y-coordinate is in the coordinate of 3, then by second data " 8 " write coordinate system, because 8 are greater than 3, therefore, X-coordinate is constant, and in the coordinate be by " 8 " write Y-coordinate, the 3rd data are " 7 ", 7 are less than 8, therefore, need X-coordinate to add that 1(enters by 0 is 1), then " 7 " being write X-coordinate is 1, Y-coordinate is in the coordinate of 7, by that analogy, and can by other data write coordinate system.
Therefrom can find out, the maximal value that Y-coordinate can represent is 255(scale-of-two: 11111111).Therefore, the maximal value of the ordinate of orthogonal axes value of described two-dimensional coordinate is, data represented when each in described data group being got 1.
S203, by in described two-dimensional coordinate group, there is identical transverse axis coordinate figure, and ordinate of orthogonal axes value continually varying first set of coordinates boil down to cylindrical coordinates, first coordinate figure of described cylindrical coordinates is identical with the transverse axis coordinate figure of described first set of coordinates, second coordinate figure of described cylindrical coordinates is the first coordinate range, and described first coordinate range utilizes the minimum ordinate of orthogonal axes value in described first set of coordinates and maximum ordinate of orthogonal axes value to represent.
Particularly, after all data genaration two-dimensional coordinates, also need the two-dimensional coordinate of generation to be done compression process, to reduce file size.The cylindrical coordinates generation method schematic diagram that Fig. 4 provides for the embodiment of the present invention two.As shown in the figure (a) in Fig. 4, suppose to have coordinate in the set of coordinates of identical X-coordinate for (A, a), (A, b), (A, c), (A, d), (A, e), then these coordinates can be written as cylindrical coordinates (A, a ~ e), this cylindrical coordinates represents that a, b, c, d, e are selected.
Described method also comprises: have identical transverse axis coordinate figure by described two-dimensional coordinate group, and ordinate of orthogonal axes is worth the second set of coordinates boil down to cylindrical coordinates of discontinuous change, first coordinate figure of described cylindrical coordinates is identical with the transverse axis coordinate figure of described second set of coordinates, when the coordinate quantity in described second set of coordinates is no more than the first amount threshold, other coordinate figure of described cylindrical coordinates comprises the ordinate of orthogonal axes value of described second set of coordinates, otherwise, other coordinate figure of described cylindrical coordinates comprises negative set of coordinates, described negative set of coordinates is the ordinate of orthogonal axes value removed from the scope of described ordinate of orthogonal axes value in described second set of coordinates, remaining ordinate of orthogonal axes value is got negative.For the figure (b) in Fig. 4, suppose that the coordinate had in the set of coordinates of identical X-coordinate is (A, b), (A, c), (A, d), (A, e), (A, g), (A, h), only have data a and f not selected, namely the data do not chosen are 2, the data chosen are 6, the coordinate that these are chosen can be expressed as cylindrical coordinates (A, b, c, d, e, f, h), also these coordinates can be expressed as cylindrical coordinates (A,-a,-f), visible, in second, method more saves space, therefore second cylindrical coordinates is adopted, this cylindrical coordinates represents except a, outside f, other data are selected.Shown in figure (c) in Fig. 4 be: the coordinate had in the set of coordinates of identical X-coordinate is (A, c), (A, e), (A, g), then these coordinates can be written as cylindrical coordinates (A, c, e, g), this cylindrical coordinates represents that c, e, g are selected.
Therefrom can find out, the first amount threshold is a half of the maximal value of described ordinate of orthogonal axes value, and the cylindrical coordinates obtained more saves space.
S204, stores described cylindrical coordinates on a storage device.
In order above-mentioned cylindrical coordinates storage can be formed image file.
What above-described embodiment described is that the data in binary source file are carried out packet transaction and obtain data group, described in each, data group has identical data volume, by the order of described data group in described source file, for each described data group generates corresponding two-dimensional coordinate, form two-dimensional coordinate group, by in described two-dimensional coordinate group, there is identical transverse axis coordinate figure, and ordinate of orthogonal axes value continually varying first set of coordinates boil down to cylindrical coordinates, described cylindrical coordinates is stored on a storage device, thus reduce the size of image file, and no matter conventional image file system is in write operation or read operation, capital relates to the access of the big data quantity to disk, and on hard disk, only need write or read a small amount of coordinate data based on the mirror file system of two-dimensional coordinate, combination is then all perform at region of memory, the consumption to rear end disk can be reduced like this, the read or write speed of data can also be accelerated, thus add treatment effeciency, for each file, our piecemeal process, this makes us when mirror image, a file even the mirror image quantity of a blocks of files can be increased neatly.
Correspondingly, embodiments provide the file storage device corresponding with file memory method, what following embodiment described is the file storage device corresponding with the file memory method of above-described embodiment one.The file storage device schematic diagram that Fig. 5 provides for the embodiment of the present invention three.As shown in Figure 5, the device that the embodiment of the present invention provides comprises: determining unit 501, generation unit 502 and storage unit 503.
Determining unit 501, obtain data group for the data in binary source file being carried out packet transaction, the data in data group described in each are identical, and described data group is sent to generation unit 502;
Generation unit 502, for receiving the described data group that described determining unit 501 sends, by the order of described data group in described source file, for each described data group generates corresponding two-dimensional coordinate, form set of coordinates, the even number coordinate figure in the abscissa value of described two-dimensional coordinate represents the first data, and the ordinate value of described two-dimensional coordinate represents the number of the data represented by described abscissa value, described first data are 0 or 1, and described set of coordinates is sent to storage unit 503;
Storage unit 503, for receiving the described data group that described generation unit 502 sends, stores described set of coordinates on a storage device.
The maximal value of the transverse axis coordinate figure of the described two-dimensional coordinate in described generation unit 502 is no more than the binary data number in described source file.
It should be noted that, the device that the embodiment of the present invention provides implants the file memory method in above-described embodiment one, and therefore, the course of work of the unit included by the device that the embodiment of the present invention provides does not repeat again at this.
What above-described embodiment described is that the data in binary source file are carried out packet transaction and obtained data group by grouped element, and the data in data group described in each are identical; Generation unit is by the order of described data group in described source file, for each described data group generates corresponding two-dimensional coordinate, form set of coordinates, even number coordinate figure in the abscissa value of described two-dimensional coordinate represents the first data, the ordinate value of described two-dimensional coordinate represents the number of the data represented by described abscissa value, and described first data are 0 or 1 yuan; Described set of coordinates stores on a storage device by storage unit.Thus reduce the size of image file, and no matter conventional image file system is in write operation or read operation, capital relates to the access of the big data quantity to disk, and on hard disk, only need write or read a small amount of coordinate data based on the mirror file system of two-dimensional coordinate, combination is then all perform at region of memory, the consumption to rear end disk can be reduced like this, the read or write speed of data can also be accelerated, thus add treatment effeciency, for each file, our piecemeal process, this makes us when mirror image, a file even the mirror image quantity of a blocks of files can be increased neatly.
What following embodiment described is the file storage device corresponding with the file memory method of above-described embodiment two.The file storage device schematic diagram that Fig. 6 provides for the embodiment of the present invention four.As shown in Figure 6, the device that the embodiment of the present invention provides comprises: grouped element 601, generation unit 602, compression unit 603 and storage unit 604.
Grouped element 601, obtain data group for the data in binary source file being carried out packet transaction, data group described in each has data group described in identical data volume and is sent to generation unit 602.
Generation unit 602, for receiving the described data group that described grouped element 601 sends, by the order of described data group in described source file, for each described data group generates corresponding two-dimensional coordinate, form two-dimensional coordinate group, described two-dimensional coordinate group is sent to compression unit 603.
Compression unit 603, the 603 described two-dimensional coordinate groups sent are sent out for receiving described generation unit, by in described two-dimensional coordinate group, there is identical transverse axis coordinate figure, and ordinate of orthogonal axes value continually varying first set of coordinates boil down to cylindrical coordinates, first coordinate figure of described cylindrical coordinates is identical with the transverse axis coordinate figure of described first set of coordinates, second coordinate figure of described cylindrical coordinates is the first coordinate range, described first coordinate range utilizes the minimum ordinate of orthogonal axes value in described first set of coordinates and maximum ordinate of orthogonal axes value to represent, described cylindrical coordinates is sent to storage unit 604.
Storage unit 604, for receiving the described cylindrical coordinates that described compression unit 603 sends, stores described cylindrical coordinates on a storage device.
The maximal value of the ordinate of orthogonal axes value of the described two-dimensional coordinate in described generation unit 602 is, data represented when each in described data group being got 1.
The ordinate of orthogonal axes value of the first coordinate in the described two-dimensional coordinate group in described generation unit 602 is identical with its first corresponding data, if described first data are not more than the second data, then the transverse axis coordinate figure of described first coordinate is add 1 on the basis of transverse axis coordinate figure corresponding to the second data, otherwise, the transverse axis coordinate figure that the transverse axis coordinate figure of described first coordinate is corresponding with described second data is identical, and described second data are the previous data of described first data.
Described compression unit 603 also for: by described two-dimensional coordinate group, there is identical transverse axis coordinate figure, and ordinate of orthogonal axes is worth the second set of coordinates boil down to cylindrical coordinates of discontinuous change, first coordinate figure of described cylindrical coordinates is identical with the transverse axis coordinate figure of described second set of coordinates, when the coordinate quantity in described second set of coordinates is no more than the first amount threshold, other coordinate figure of described cylindrical coordinates comprises the ordinate of orthogonal axes value of described second set of coordinates, otherwise, other coordinate figure of described cylindrical coordinates comprises negative set of coordinates, described negative set of coordinates is the ordinate of orthogonal axes value removed from the scope of described ordinate of orthogonal axes value in described second set of coordinates, remaining ordinate of orthogonal axes value is got negative.
First amount threshold is a half of the maximal value of described ordinate of orthogonal axes value, and the cylindrical coordinates obtained more saves space.
It should be noted that, the device that the embodiment of the present invention provides implants the file memory method in above-described embodiment two, and therefore, the course of work of the unit included by the device that the embodiment of the present invention provides does not repeat again at this.
What above-described embodiment described is that grouped element is used for the data in binary source file being carried out packet transaction and obtains data group, and described in each, data group has identical data volume, generation unit is used for by the order of described data group in described source file, for each described data group generates corresponding two-dimensional coordinate, forms two-dimensional coordinate group, compression unit is used for having identical transverse axis coordinate figure by described two-dimensional coordinate group, and ordinate of orthogonal axes value continually varying first set of coordinates boil down to cylindrical coordinates, storage unit is used for described cylindrical coordinates to store on a storage device, thus reduce the size of image file, and no matter conventional image file system is in write operation or read operation, capital relates to the access of the big data quantity to disk, and on hard disk, only need write or read a small amount of coordinate data based on the mirror file system of two-dimensional coordinate, combination is then all perform at region of memory, the consumption to rear end disk can be reduced like this, the read or write speed of data can also be accelerated, thus add treatment effeciency, for each file, our piecemeal process, this makes us when mirror image, a file even the mirror image quantity of a blocks of files can be increased neatly.
Professional should recognize further, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with electronic hardware, computer software or the combination of the two, in order to the interchangeability of hardware and software is clearly described, generally describe composition and the step of each example in the above description according to function.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
The software module that the method described in conjunction with embodiment disclosed herein or the step of algorithm can use hardware, processor to perform, or the combination of the two is implemented.Software module can be placed in the storage medium of other form any known in random access memory (RAM), internal memory, ROM (read-only memory) (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
Above-described embodiment; object of the present invention, technical scheme and beneficial effect are further described; be understood that; the foregoing is only the specific embodiment of the present invention; the protection domain be not intended to limit the present invention; within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.