CN106990917A - File read/write method and system - Google Patents
File read/write method and system Download PDFInfo
- Publication number
- CN106990917A CN106990917A CN201710121517.XA CN201710121517A CN106990917A CN 106990917 A CN106990917 A CN 106990917A CN 201710121517 A CN201710121517 A CN 201710121517A CN 106990917 A CN106990917 A CN 106990917A
- Authority
- CN
- China
- Prior art keywords
- buffer window
- write
- file
- read
- window
- 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
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/061—Improving I/O performance
- G06F3/0613—Improving I/O performance in relation to throughput
-
- 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/0643—Management of files
-
- 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/0655—Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
- G06F3/0656—Data buffering arrangements
-
- 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 invention discloses a kind of file read/write method and system, wherein method includes:In response to the file read-write access request of applications, according to the position of access, buffer window is opened up in internal memory;Judge whether the file content length to be read and write is more than the length of buffer window;When file content length is more than the length of buffer window, the data in buffer window are write into disk, the direct read/write file from disk, and new buffer window is opened up in read-write end position;When file content length is less than or equal to the length of buffer window, according to the starting position of file, the position of dynamic adjustment buffer window, the reading and writing of files from buffer window.File read/write method and system that the present invention is provided, using buffer window, greatly improve the efficiency of file read-write, access efficiency during the frequent random read-write of especially big file.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of file read/write method and system.
Background technology
At present, direct read/write disk when the file random access class RandomAccessFile that Java is provided accesses file,
Disk I/O bottleneck is limited in high-frequency small range random read-write, overall performance is relatively low, and the bufferings of Java in itself are read
Writing class again can only sequential access file.
In existing off-line system, the substantial amounts of random read-write to monofile of generally existing is operated.Due to
The poor efficiency of RandomAccessFile classes in itself, has had a strong impact on the efficiency of off-line system file operation, in turn results in whole
The throughput degradation of off-line system, it is impossible to meet the use needs of client.
The content of the invention
The invention provides it is a kind of can high efficiency random access file under Java context file read/write method, read-write
During file, according to the position accessed, buffer window is opened up in internal memory, in advance the content of reading buffer window covering, follow-up
Read and write access have very maximum probability to be fallen in buffer window, and multiple disk I/O, which is thus converted into a disk I/O, adds time
Internal storage access, greatly improves access efficiency.
The file read/write method that the present invention is provided, comprises the following steps:
In response to the file read-write access request of applications, according to the position of access, buffer window is opened up in internal memory;
Judge whether the file content length to be read and write is more than the length of the buffer window;
When file content length is more than the length of the buffer window, the data in the buffer window are write into magnetic
Disk, the direct read/write file from disk, and open up new buffer window in read-write end position;
When file content length is less than or equal to the length of the buffer window, according to the starting position of file, dynamic
The position of the buffer window is adjusted, the reading and writing of files from the buffer window.
It is described when length of the file content length less than or equal to the buffer window as a kind of embodiment,
According to the position of the starting position of file, dynamically the adjustment buffer window, the reading and writing of files from the buffer window, including with
Lower step:
When the file content to be read is less than or equal to the length of the buffer window, judge to read starting position;
When the reading starting position is located in the buffer window, directly read at the position that the buffer window maps
Take file;
When the reading starting position is located at outside the buffer window, new buffering window is opened up in the reading starting position
Mouthful, file content is read in, then file is read from the new buffer window.
It is described when length of the file content length less than or equal to the buffer window as a kind of embodiment,
According to the position of the starting position of file, dynamically the adjustment buffer window, the reading and writing of files from the buffer window, including with
Lower step:
When the file content to be write is less than or equal to the length of the buffer window, starting position is write in judgement;
When it is described write starting position in the buffer window when, directly write at the position that the buffer window maps
Enter file;
When it is described write starting position outside the buffer window when, then open up new buffering window from writing starting position
Mouthful, file content is read in, file is then write into the new buffer window.
As a kind of embodiment, when the reading starting position is located in the buffer window, directly from described slow
Rush at the position of window mapping after reading file, it is further comprising the steps of:
When the data deficiencies in the buffer window, the data syn-chronization in the buffer window is first write into disk, then
New buffer window is opened up, remaining file is read from new buffer window.
As a kind of embodiment, when it is described write starting position in the buffer window when, directly from described slow
Rush at the position of window mapping after write-in file, it is further comprising the steps of:
When data to be written exceed the scope of the buffering window, the data syn-chronization in the buffer window is first write into magnetic
Disk, then new buffer window is opened up, data to be written are write into the new buffer window.
Correspondingly, the present invention also provides a kind of file read-write system, including access response module, length judge module, the
One module for reading and writing and the second module for reading and writing;
The access response module, for the file read-write access request in response to applications, according to the position of access,
Buffer window is opened up in internal memory;
Whether the length judge module, the file content length for judging to be read and write is more than the buffer window
Length;
First module for reading and writing, for when length of the file content length more than the buffer window, described will delay
The data write-in disk rushed in window, the direct read/write file from disk, and open up new buffer window in read-write end position;
Second module for reading and writing, for when file content length be less than or equal to the buffer window length when, root
According to the starting position of file, the position of the dynamic adjustment buffer window, the reading and writing of files from the buffer window.
As a kind of embodiment, second module for reading and writing includes reading starting position judging unit, the first reading list
Member and the second reading unit;
Reading starting position judging unit, for being less than or equal to the buffer window when the file content to be read
Length when, judge read starting position;
First reading unit, for when the reading starting position is located in the buffer window, directly from described
File is read at the position of buffer window mapping;
Second reading unit, for when the reading starting position is located at outside the buffer window, being read described
New buffer window is opened up in starting position, reads in file content, then reads file from the new buffer window.
As a kind of embodiment, second module for reading and writing includes writing starting position judging unit, the first write-in list
Member and the second writing unit;
It is described to write starting position judging unit, for being less than or equal to the buffer window when the file content to be write
Length when, judgement write starting position;
First writing unit, for when it is described write starting position in the buffer window when, directly from described
File is write at the position of buffer window mapping;
Second writing unit, for when it is described write starting position outside the buffer window when, then from writing out
Beginning, new buffer window was opened up in position, and then file is write the new buffer window by reading file content.
As a kind of embodiment, first reading unit is additionally operable to be located at the buffering in the reading starting position
When in window, directly from the buffer window map position at read file after, when the data in the buffer window not
When sufficient, the data syn-chronization in the buffer window is first write into disk, then opens up new buffer window, from new buffer window
Read remaining file.
As a kind of embodiment, first writing unit is additionally operable in the starting position of writing positioned at the buffering
When in window, at the position directly mapped from the buffer window after write-in file, when data to be written exceed the buffering window
Scope when, the data syn-chronization in the buffer window is first write into disk, then new buffer window is opened up, data to be written are write
Enter the new buffer window.
The present invention is compared to the beneficial effect of prior art:
File read/write method and system that the present invention is provided, by opening up buffer window in internal memory, in the file of access
It is when content exceeds buffer window scope, former buffer window content is synchronous with disk file, and buffering is opened up again in new position
Window;Access file content without departing from buffer window scope when, according to the starting position of file, dynamic adjustment buffering window
The position of mouth, the reading and writing of files from buffer window.File read/write method and system that the present invention is provided, utilize buffer window, pole
The big efficiency for improving file read-write, access efficiency during the frequent random read-write of especially big file.
Brief description of the drawings
Fig. 1 is the schematic flow sheet for the file read/write method that the embodiment of the present invention one is provided;
Fig. 2 is File Open schematic flow sheet provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet for the reading file that the embodiment of the present invention two is provided;
Fig. 4 is the schematic flow sheet for the write-in file that the embodiment of the present invention three is provided;
Fig. 5 is closing document flow schematic diagram provided in an embodiment of the present invention;
Fig. 6 is the structural representation for the file read-write system that the embodiment of the present invention four is provided.
Embodiment
Below in conjunction with accompanying drawing, the technical characteristic above-mentioned and other to the present invention and advantage are clearly and completely described,
Obviously, described embodiment is only the section Example of the present invention, rather than whole embodiments.
Referring to Fig. 1, the embodiment of the present invention one provides a kind of file read/write method, comprised the following steps:
S100, the file read-write access request in response to applications, according to the position of access, open up buffering in internal memory
Window;
S200, judge the file content length to be read and write whether be more than buffer window length;
S300, when file content length be more than buffer window length when, by buffer window data write disk, from
Direct read/write file in disk, and open up new buffer window in read-write end position;
S400, when file content length is less than or equal to the length of buffer window, according to the starting position of file, dynamic
Adjust the position of buffer window, the reading and writing of files from buffer window.
The present embodiment, according to the position accessed, buffer window is opened up in internal memory, window is read in advance in reading and writing of files
The content of covering, follow-up read and write access have very maximum probability to be fallen in buffer window, and thus multiple disk I/O is changed into
Disk I/O adds time internal storage access, so as to improve access efficiency.
It is when the file content of access exceeds buffer window scope, former buffer window content is synchronous with disk file, and
Buffer window is opened up again in new position;Access file content without departing from buffer window scope when, according to opening for file
Beginning position, dynamic adjustment buffer window position, the reading and writing of files from buffer window.Using buffer window, greatly improve
The efficiency of file read-write, access efficiency during the frequent random read-write of especially big file.
Before reading and writing of files, first have to open or establishment file.
Further, referring to Fig. 2, before step S100, flow when opening or establishment file is:
S110, opening original document, obtain file handle;
S120,8192 byte datas before top of file are read in internal memory (if create new file then only open up internal memory), note
Record file pointer position;
S130, return file handle.
File access generally includes to read and writes two kinds of mechanism, separately below for reality of both mechanism to the present invention
Existing process is illustrated.
Referring to Fig. 3, the embodiment of the present invention two provides a kind of method for reading file, and flow is as follows:
S20, applications initiate read request;
If the length of S21, the file content to be read is more than the length of buffer window, first by buffer window
Hold (i.e. data) write-in disk, file is then directly read from disk, and new buffer window is opened up reading end position;
Because the buffer window opened up in advance is used to reading or writing file, so when the length for the file content to be read
More than the length of buffer window, first content (data write before this) the write-in disk in buffer window is stored, then
File is directly read from disk, and new buffer window is opened up reading end position, subsequent file read-write is left for and uses.
S22, when the file content to be read be less than or equal to buffer window length when, judge read starting position;
S23, when read starting position be located at buffer window in when, directly from buffer window map position at read file;
When the data deficiencies in buffer window, the data syn-chronization in buffer window is first write into disk, then opens up new buffer window,
Remaining file is read from new buffer window.
When S24, reading starting position read starting position outside buffer window not in window, that is, start bit is being read
Put and open up new buffer window, read in file content, then read file from new buffer window.
Referring to Fig. 4, the embodiment of the present invention three provides a kind of method for writing file, and flow is as follows:
S30, applications initiate write request;
If the length of S31, the file content to be write is more than the length of buffer window, first by buffer window
Hold (i.e. data) write-in disk, then directly file is write into disk, and new buffer window is opened up writing end position;
Because the buffer window opened up in advance is used to reading or writing file, so when the length for the file content to be write
More than the length of buffer window, the content (data write before this) in buffer window is first synchronized to disk and stored, so
Direct written document opens up new buffer window into disk, and writing end position afterwards, leaves subsequent file read-write for and uses.
S32, when the file content to be write be less than or equal to buffer window length when, judgement write starting position;
S33, when writing starting position in the buffer window, file is directly write at the position that buffer window maps;
When data to be written exceed the scope of buffering window, the data syn-chronization in buffer window is first write into disk, then open up new buffering
Window, data to be written is write new buffer window;
S24, when reading starting position starting position write not in buffer window, that is, outside the buffer window, then from writing
New buffer window is opened up in starting position, reads in file content, then file is write to new buffer window.
Further, referring to Fig. 5, after step S300 and S400, flow when closing file is:
S510, by buffer window content write disk;
S520, closing file handle.
Based on unified inventive concept, present invention also offers a kind of file read-write system, the principle of the system and foregoing text
Part reading/writing method is identical, therefore the implementation of system can refer to above method realization.
The file read-write system provided referring to Fig. 6, the embodiment of the present invention four, including access response module 100, length judge
Module 200, the first module for reading and writing 300 and the second module for reading and writing 400;
Access response module 100 is used for the file read-write access request in response to applications, according to the position of access,
Buffer window is opened up in internal memory;
Length judge module 200 is used for the length for judging whether the file content length to be read and write is more than buffer window;
First module for reading and writing 300 is used for when file content length is more than the length of buffer window, by buffer window
Data write disk, the direct read/write file from disk, and open up new buffer window in read-write end position;
Second module for reading and writing 400 is used for when file content length is less than or equal to the length of buffer window, according to file
Starting position, dynamic adjustment buffer window position, the reading and writing of files from buffer window.
As a kind of embodiment, the second module for reading and writing include reading starting position judging unit, the first reading unit with
And second reading unit;
Starting position judging unit is read, the length for being less than or equal to buffer window when the file content to be read
When, judge to read starting position;
First reading unit, for when read starting position be located at buffer window in when, directly from buffer window map position
Put place and read file;
Second reading unit, for when reading starting position outside buffer window, being opened up in reading starting position new
Buffer window, reads in file content, then reads file from new buffer window.
As a kind of embodiment, the second module for reading and writing include write starting position judging unit, the first writing unit with
And second writing unit;
Starting position judging unit is write, the length for being less than or equal to buffer window when the file content to be write
When, starting position is write in judgement;
First writing unit, for when writing starting position in the buffer window, the position directly mapped from buffer window
Put place's write-in file;
Second writing unit, for when writing starting position outside the buffer window, is then opened up newly from writing starting position
Buffer window, read in file content, then file is write to new buffer window.
As a kind of embodiment, the first reading unit is additionally operable to when reading starting position in buffer window, directly
Connect at the position mapped from buffer window after reading file, when the data deficiencies in buffer window, first by buffer window
Data syn-chronization write-in disk, then open up new buffer window, remaining file read from new buffer window.
As a kind of embodiment, the first writing unit is additionally operable to when writing starting position in buffer window, directly
Connect at the position mapped from buffer window after write-in file, when data to be written exceed the scope of buffering window, first by buffering window
Data syn-chronization write-in disk in mouthful, then new buffer window is opened up, data to be written are write to new buffer window.
The present invention in internal memory by opening up buffer window, with the use process of file, dynamic adjustment buffer window
Position, the reading and writing of files from buffer window.Using buffer window, the efficiency of file read-write is greatly improved, especially big text
Access efficiency during the frequent random read-write of part.
System embodiment described above is only schematical, wherein the unit illustrated as separating component can
To be or may not be physically separate, the part shown as unit can be or may not be physics list
Member, you can with positioned at a place, or can also be distributed on multiple NEs.It can be selected according to the actual needs
In some or all of module realize the purpose of disclosure scheme.Those of ordinary skill in the art are not paying creative labor
In the case of dynamic, you can to understand and implement.
Particular embodiments described above, has been carried out further to the purpose of the present invention, technical scheme and beneficial effect
Describe in detail, it will be appreciated that the foregoing is only the specific embodiment of the present invention, the protection being not intended to limit the present invention
Scope.Particularly point out, to those skilled in the art, within the spirit and principles of the invention, that is done any repaiies
Change, equivalent substitution, improvement etc., should be included in the scope of the protection.
Claims (10)
1. a kind of file read/write method, it is characterised in that comprise the following steps:
In response to the file read-write access request of applications, according to the position of access, buffer window is opened up in internal memory;
Judge whether the file content length to be read and write is more than the length of the buffer window;
When file content length is more than the length of the buffer window, the data in the buffer window are write into disk, from
Direct read/write file in disk, and open up new buffer window in read-write end position;
When file content length is less than or equal to the length of the buffer window, according to the starting position of file, dynamic adjustment
The position of the buffer window, the reading and writing of files from the buffer window.
2. file read/write method according to claim 1, it is characterised in that described when file content length is less than or equal to
During the length of the buffer window, according to the starting position of file, the position of the dynamic adjustment buffer window, from the buffering
Reading and writing of files in window, comprises the following steps:
When the file content to be read is less than or equal to the length of the buffer window, judge to read starting position;
When the reading starting position is located in the buffer window, text is directly read at the position that the buffer window maps
Part;
When the reading starting position is located at outside the buffer window, new buffer window is opened up in the reading starting position,
File content is read in, then file is read from the new buffer window.
3. file read/write method according to claim 1, it is characterised in that described when file content length is less than or equal to
During the length of the buffer window, according to the starting position of file, the position of the dynamic adjustment buffer window, from the buffering
Reading and writing of files in window, comprises the following steps:
When the file content to be write is less than or equal to the length of the buffer window, starting position is write in judgement;
When it is described write starting position in the buffer window when, text is directly write at the position that the buffer window maps
Part;
When it is described write starting position outside the buffer window when, then open up new buffer window from writing starting position, read
Enter file content, file is then write into the new buffer window.
4. file read/write method according to claim 2, it is characterised in that when the reading starting position is located at the buffering
It is further comprising the steps of at the position directly mapped from the buffer window after reading file when in window:
When the data deficiencies in the buffer window, the data syn-chronization in the buffer window is first write into disk, then open up
New buffer window, reads remaining file from new buffer window.
5. file read/write method according to claim 3, it is characterised in that when the starting position of writing is positioned at the buffering
It is further comprising the steps of at the position directly mapped from the buffer window after write-in file when in window:
When data to be written exceed the scope of the buffering window, the data syn-chronization in the buffer window is first write into disk, then
New buffer window is opened up, data to be written are write into the new buffer window.
6. a kind of file read-write system, it is characterised in that including access response module, length judge module, the first module for reading and writing
And second module for reading and writing;
The access response module, for the file read-write access request in response to applications, according to the position of access, inside
Buffer window is opened up in depositing;
Whether the length judge module, the file content length for judging to be read and write is more than the length of the buffer window
Degree;
First module for reading and writing, for when length of the file content length more than the buffer window, by the buffering window
Data write-in disk in mouthful, the direct read/write file from disk, and open up new buffer window in read-write end position;
Second module for reading and writing, for when length of the file content length less than or equal to the buffer window, according to text
The starting position of part, the position of the dynamic adjustment buffer window, the reading and writing of files from the buffer window.
7. file read-write system according to claim 6, it is characterised in that second module for reading and writing includes reading start bit
Put judging unit, the first reading unit and the second reading unit;
Reading starting position judging unit, the length for being less than or equal to the buffer window when the file content to be read
When spending, judge to read starting position;
First reading unit, for when the reading starting position is located in the buffer window, directly from the buffering
File is read at the position of window mapping;
Second reading unit, for when the reading starting position is located at outside the buffer window, starting in the reading
New buffer window is opened up in position, reads in file content, then reads file from the new buffer window.
8. file read-write system according to claim 6, it is characterised in that second module for reading and writing includes writing start bit
Put judging unit, the first writing unit and the second writing unit;
It is described to write starting position judging unit, the length for being less than or equal to the buffer window when the file content to be write
When spending, starting position is write in judgement;
First writing unit, for when it is described write starting position in the buffer window when, directly from the buffering
File is write at the position of window mapping;
Second writing unit, for when it is described write starting position outside the buffer window when, then from writing start bit
Put and open up new buffer window, read in file content, file is then write into the new buffer window.
9. file read-write system according to claim 7, it is characterised in that first reading unit is additionally operable to described
When reading starting position in the buffer window, at the position directly mapped from the buffer window after reading file, when
During data deficiencies in the buffer window, the data syn-chronization in the buffer window is first write into disk, then opened up new slow
Window is rushed, remaining file is read from new buffer window.
10. file read-write system according to claim 8, it is characterised in that first writing unit is additionally operable in institute
State when writing starting position in the buffer window, at the position directly mapped from the buffer window after write-in file,
When data to be written exceed the scope of the buffering window, the data syn-chronization in the buffer window is first write into disk, then open up
Data to be written are write the new buffer window by new buffer window.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710121517.XA CN106990917B (en) | 2017-03-02 | 2017-03-02 | File reading and writing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710121517.XA CN106990917B (en) | 2017-03-02 | 2017-03-02 | File reading and writing method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106990917A true CN106990917A (en) | 2017-07-28 |
CN106990917B CN106990917B (en) | 2020-03-24 |
Family
ID=59412590
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710121517.XA Active CN106990917B (en) | 2017-03-02 | 2017-03-02 | File reading and writing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106990917B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109062513A (en) * | 2018-08-06 | 2018-12-21 | 郑州云海信息技术有限公司 | A kind of method and device of control processing write operation |
CN117974167A (en) * | 2024-03-28 | 2024-05-03 | 江苏省卫生健康发展研究中心 | Synthetic data processing method of three-dimensional copper-based metal organic framework |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101030218A (en) * | 2007-03-23 | 2007-09-05 | 北京中星微电子有限公司 | Virtual file management unit, system and method |
CN102682012A (en) * | 2011-03-14 | 2012-09-19 | 成都市华为赛门铁克科技有限公司 | Method and device for reading and writing data in file system |
CN103377142A (en) * | 2012-04-17 | 2013-10-30 | 安凯(广州)微电子技术有限公司 | Storage method and image pickup system |
CN103605485A (en) * | 2013-11-29 | 2014-02-26 | 深圳市道通科技有限公司 | Variable-length data storing method and device |
-
2017
- 2017-03-02 CN CN201710121517.XA patent/CN106990917B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101030218A (en) * | 2007-03-23 | 2007-09-05 | 北京中星微电子有限公司 | Virtual file management unit, system and method |
CN102682012A (en) * | 2011-03-14 | 2012-09-19 | 成都市华为赛门铁克科技有限公司 | Method and device for reading and writing data in file system |
CN103377142A (en) * | 2012-04-17 | 2013-10-30 | 安凯(广州)微电子技术有限公司 | Storage method and image pickup system |
CN103605485A (en) * | 2013-11-29 | 2014-02-26 | 深圳市道通科技有限公司 | Variable-length data storing method and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109062513A (en) * | 2018-08-06 | 2018-12-21 | 郑州云海信息技术有限公司 | A kind of method and device of control processing write operation |
CN109062513B (en) * | 2018-08-06 | 2021-10-15 | 郑州云海信息技术有限公司 | Method and device for controlling and processing write operation |
CN117974167A (en) * | 2024-03-28 | 2024-05-03 | 江苏省卫生健康发展研究中心 | Synthetic data processing method of three-dimensional copper-based metal organic framework |
Also Published As
Publication number | Publication date |
---|---|
CN106990917B (en) | 2020-03-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20090113130A1 (en) | System and method for updating dirty data of designated raw device | |
US7272687B2 (en) | Cache redundancy for LSI raid controllers | |
US20100250834A1 (en) | Method and system to perform caching based on file-level heuristics | |
US7533135B2 (en) | Methods and systems for reducing database accesses in an object-oriented system | |
KR102437775B1 (en) | Page cache device and method for efficient mapping | |
EP1560108A3 (en) | Remote storage disk control device with function to transfer commands to remote storage devices | |
CN109814811B (en) | Method for reducing influence of NVMe SSD response delay on write speed of high-speed data storage equipment | |
US20200257732A1 (en) | Systems and methods of managing an index | |
CN105393228A (en) | Method, device and user equipment for reading/writing data in nand flash | |
CN112346659B (en) | Storage method, equipment and storage medium for distributed object storage metadata | |
CN104657358B (en) | Realize the method and system of web page program offline cache | |
CN109144422A (en) | Data writing method, device and equipment for solid state disk and storage medium | |
CN104391653A (en) | Data block-based cache design method | |
KR20170075359A (en) | Memory system and operation method of memory controller | |
CN106990917A (en) | File read/write method and system | |
CN108132760A (en) | A kind of method and system for promoting SSD reading performances | |
CN107133369A (en) | A kind of distributed reading shared buffer memory aging method based on the expired keys of redis | |
CN105260139B (en) | A kind of disk management method and system | |
WO2022228566A1 (en) | Hardware queue management system and method, and solid state drive controller and solid state drive | |
CN106020718A (en) | A method and a system for improving virtual disk write-in performance | |
CN103345452B (en) | Data caching method in multiple buffer storages according to weight information | |
CN102650972B (en) | Date storage method, Apparatus and system | |
US6154810A (en) | System and method for utilizing the memory of a portable computer as a disk cache while in SCSI target mode | |
CN110046135A (en) | A kind of storage method that client log is not volatile | |
CN109597587A (en) | A kind of method for writing data, medium and Nonvolatile memory |
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 | ||
CP01 | Change in the name or title of a patent holder |
Address after: Xinyada technology building, 3888 Jiangnan Avenue, Binjiang District, Hangzhou City, Zhejiang Province 310000 Patentee after: Sinyada Technology Co.,Ltd. Address before: Xinyada technology building, 3888 Jiangnan Avenue, Binjiang District, Hangzhou City, Zhejiang Province 310000 Patentee before: SUNYARD SYSTEM ENGINEERING Co.,Ltd. |
|
CP01 | Change in the name or title of a patent holder |