CN103809915A - Read-write method and device of magnetic disk files - Google Patents

Read-write method and device of magnetic disk files Download PDF

Info

Publication number
CN103809915A
CN103809915A CN201210436250.0A CN201210436250A CN103809915A CN 103809915 A CN103809915 A CN 103809915A CN 201210436250 A CN201210436250 A CN 201210436250A CN 103809915 A CN103809915 A CN 103809915A
Authority
CN
China
Prior art keywords
disk file
internal storage
key word
storage data
read
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
CN201210436250.0A
Other languages
Chinese (zh)
Other versions
CN103809915B (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201210436250.0A priority Critical patent/CN103809915B/en
Publication of CN103809915A publication Critical patent/CN103809915A/en
Application granted granted Critical
Publication of CN103809915B publication Critical patent/CN103809915B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a read-write method and device of magnetic disk files. The method comprises the pre-processing process and the read-write process of the magnetic disk files. The pre-processing process comprises the steps that when certain computer software is started for the first time, the magnetic disk files needed in the starting and operating process of the computer software are analyzed, and a stored data queue is built and is stored to be a binary system file. The read-write process of the magnetic disk files comprises the steps that when the current computer software is started in the follow-up process, a current unique binary system file corresponding to the current computer software is obtained from a magnetic disk; the current binary system file is loaded into an internal storage to generate a current stored data queue; target magnetic disk file data are read from the current stored data queue according to keywords to be read and written of the current computer software, or the target magnetic disk file data are written into the current stored data queue. By the adoption of the method or device, the speed for reading and writing the magnetic disk files is improved.

Description

A kind of reading/writing method of disk file and device
Technical field
The application relates to the data processing field of computer system, particularly a kind of reading/writing method of disk file and device.
Background technology
Existing computer software, in the time of start-up and operation, has the contents such as the file of some attribute datas or use and is stored in disk, generally the data or the file etc. that in these computer softwares, use and be stored in disk is called to disk file.The form of disk file is varied, for example XML (extend markup language, Extensible Markup Language) formatted file, JASON formatted file, database file or picture file etc.And computer software all need to obtain data in disk file in internal memory according to analytic method corresponding to different-format in the time reading the file of different-format.
Prior art has a kind of reading/writing method that carries out disk file, arbitrary computer software is after operation each time, when it need to read and write disk file, again according to the analytic method corresponding with the form of this disk file that will read and write, for example, XML file has the analytic method of XML, and database file needs SQL method to read and write, and the data in disk file are read in internal memory.Wherein, the speed of read-write disk file depends on the resolution speed of computer software to disk file.
Inventor finds in research process, adopt the scheme of prior art, when can making computer software read-write disk file because all need first to resolve according to the form of disk file each time, and the speed that makes to read and write disk file is slower, the efficiency that makes to read and write disk file is lower.Further, when PC software needs frequent some disk file of access, these disk files need again data to be read while using in internal memory by various analytic methods, also can cause the phenomenon of the data in frequent parsing disk file, can waste so a lot of unnecessary system performances.
In a word, need at present the urgent technical matters solving of those skilled in the art to be exactly: the reading/writing method of a kind of disk file of proposition how can innovate, to solve the lower problem of efficiency of reading and writing disk file in prior art, and then the readwrite performance of lifting disk file, the expense of reduction system performance.
Summary of the invention
The application's technical matters to be solved is to provide a kind of reading/writing method of disk file, in order to solve the lower problem of efficiency of reading and writing disk file in prior art, so that the readwrite performance of lifting disk file, the expense of reduction system performance.
The application also provides a kind of read-write equipment of disk file, in order to guarantee said method implementation and application in practice.
In order to address the above problem, the application discloses a kind of reading/writing method of disk file, and the method comprises the read-write process of preprocessing process and disk file, wherein,
Described preprocessing process comprises:
In the time starting a certain computer software, described computer software required disk file in start-up and operation process is resolved according to corresponding disk file form, and the disk file after resolving is read to the foundation internal storage data queue corresponding with described disk file in internal memory, described internal storage data queue is saved as with the unique corresponding binary file of described computer software and is stored in disk; Key word and disk file data are one to one preserved in described internal storage data queue;
The read-write process of described disk file comprises:
In the time of follow-up startup current computer software, from disk, obtain the current binary file of the unique correspondence of described current computer software;
Described current binary file is loaded in internal memory to generate current internal storage data queue;
According to described current computer software key word to be read and write, from described current internal storage data queue, read the target disk file data corresponding with described key word, or, target disk file data corresponding described key word is write in described current internal storage data queue.
Preferably, the described current computer software of described foundation key word to be read and write reads the target disk file data corresponding with described key word from described current internal storage data queue, comprising:
Judge in described internal storage data queue, whether exist with described in target disk file data corresponding to key word to be read and write, if so, directly read described target disk file data;
If not, obtain the target disk file corresponding with described key word, according to the form of described target disk file, described target disk file is resolved, and read and resolve the target disk file data that described target disk file obtains, and described key word and target disk file data are added in described internal storage data queue.
Preferably, described directly read described target disk file data after, also comprise: the first place that described key word and target disk file data is moved to described internal storage data queue;
Accordingly, described described key word and target disk file data are added in described internal storage data queue and are specially: the first place that described key word and target disk file data is inserted into described internal storage data queue;
And, described described key word and target disk file data are inserted into the first place of described internal storage data queue after, also comprise:
Judge whether end position key word and end marker bit corresponding to position disk file data in described internal storage data queue represent that described end position key word and position, end disk file data were updated, if not, remove described end position key word and position, end disk file data, if so, position, described end disk file Data Update is removed to described end position key word and position, end disk file data to original disk file again.
Preferably, the described current computer software of described foundation key word to be read and write, writes target disk file data corresponding described key word in described current internal storage data queue, comprising:
Judge in described internal storage data queue, whether exist with described in target disk file data corresponding to key word to be read and write, if so, directly upgrade described target disk file data;
If not, described key word and corresponding target disk file data are inserted in described internal storage data queue.
Preferably, after the described target disk file data of described direct renewal, also comprise: the first place that described key word and corresponding target disk file data is moved to described internal storage data queue;
Accordingly, the described target disk file data by described key word and correspondence is inserted in described internal storage data queue, is specially: the first place that the target disk file data of described key word and correspondence is inserted into described internal storage data queue;
And, after the described target disk file data by described key word and correspondence is inserted into the first place of described internal storage data queue, also comprise:
Judge whether end position key word and end marker bit corresponding to position disk file data in described internal storage data queue represent that described end position key word and position, end disk file data were updated, if not, the end position key word in described internal storage data queue and position, end disk file data are removed, if so, position, described end disk file Data Update is removed to described end position key word and position, end disk file data to original disk file again.
Preferably, also comprise:
In the time that the update cycle arrives, upgrade binary file corresponding in disk according to current internal storage data queue.
The application discloses a kind of read-write equipment of disk file, comprising: the read-write cell of pretreatment unit and disk file, wherein,
Described pretreatment unit comprises:
Parsing module, in the time starting a certain computer software, resolves described computer software required disk file in start-up and operation process according to corresponding disk file form;
Set up queue module, set up the internal storage data queue corresponding with described disk file for the disk file after resolving is read to internal memory; Key word and disk file data are one to one preserved in described internal storage data queue;
Memory module, is stored to disk for described internal storage data queue being saved as with the unique corresponding binary file of described computer software;
The read-write cell of described disk file comprises:
Acquisition module for when the follow-up startup current computer software, obtains the current binary file of the unique correspondence of described current computer software from disk;
Load-on module, for being loaded on described current binary file internal memory to generate current internal storage data queue;
Read module for according to described current computer software key word to be read and write, reads the target disk file data corresponding with described key word from described current internal storage data queue;
Writing module, for according to described current computer software key word to be read and write, writes target disk file data corresponding described key word in described current internal storage data queue.
Preferably, described read module comprises:
First judges submodule, for judge described internal storage data queue whether exist with described in target disk file data corresponding to key word to be read and write;
The first reading submodule, in the described first result that judges submodule be, directly read described target disk file data;
Obtain submodule, in the described first result that judges submodule be no, obtain the target disk file corresponding with described key word;
Analyzing sub-module, for resolving described target disk file according to the form of described target disk file;
The second reading submodule, resolves for reading the target disk file data that described target disk file obtains;
First adds submodule, for described key word and target disk file data are added into described internal storage data queue.
Preferably, described read module also comprises:
The first mover module, for moving to described key word and target disk file data the first place of described internal storage data queue;
Second judges submodule, whether represents that for the end position key word and end marker bit corresponding to position disk file data that judge described internal storage data queue described end position key word and position, end disk file data were updated;
First upgrades submodule, in the described second result that judge submodule be, by a described end disk file Data Update to original disk file;
First removes submodule, in the described second result that judges submodule be no, or, upgrade after submodule triggers described first, the end position key word in described internal storage data queue and position, end disk file data are removed;
Described first adds submodule, specifically for: the first place that described key word and target disk file data is inserted into described internal storage data queue.
Preferably, said write module comprises:
The 3rd judges submodule, for judge described internal storage data queue whether exist with described in target disk file data corresponding to key word to be read and write;
Second upgrades submodule, in the case of the described the 3rd result that judges submodule is, directly upgrades described target disk file data;
Intron module, in the described the 3rd result that judges submodule be no, described key word and corresponding target disk file data are inserted in described internal storage data queue.
Preferably, said write module also comprises:
The second mover module, for moving to described key word and corresponding target disk file data the first place of described internal storage data queue;
The 4th judges submodule, whether represents that for the end position key word and end marker bit corresponding to position disk file data that judge described internal storage data queue described end position key word and position, end disk file data were updated;
The 3rd upgrades submodule, in the described the 4th result that judge submodule be, by a described end disk file Data Update to original disk file;
Second removes submodule, in the described the 4th result that judges submodule be no, or trigger the described the 3rd upgrade submodule after, the end position key word in described internal storage data queue and position, end disk file data are removed;
Described intron module, specifically for: the first place that the target disk file data of described key word and correspondence is inserted into described internal storage data queue.
Preferably, also comprise:
Updating block, in the time that the update cycle arrives, upgrades binary file corresponding in disk according to current internal storage data queue.
Compared with prior art, the application comprises following advantage:
In this application, pass through pretreatment mode, in this computer software of follow-up startup, just can from disk, load and its unique corresponding binary file, and this binary file is because be each disk file of having resolved, so can directly read and write, and all need to resolve disk file in read-write disk file after no longer needing to start each time computer software.Visible the application is the L2 cache as disk file by binary file, improved the speed of computer software read-write disk file, promote the efficiency of computer software read-write disk file, also solved (the I/O of frequent access disk I/O, Input/Output) and to resolve the problem of data of disk file, reduced the expense of system-computed performance.
Implementing the application is transparent to computer software, makes the data of computer software read-write disk file simpler.And data in internal storage data queue can generate the frequency of utilization of data according to computer software, so most data that computer software needs can directly be read from internal storage data queue, so also can greatly reduce the access to disk I/O, improve the readwrite performance of a lot of disk files, promote the read-write efficiency of disk file.In addition, because the data of internal storage data queue and binary file have been set up the data structure of a set of (key value), when so the computer software in upper-layer service layer needs calling data, only need to input key (key word) just can obtain corresponding value (target disk file data), need not be concerned about position, concrete structure and the analysis mode of disk file, make the data call in disk file very conveniently and transparent, simplified the process of upper-layer service calling data.
Certainly, arbitrary product of enforcement the application might not need to reach above-described all advantages simultaneously.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present application, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiment of the application, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the process flow diagram of the reading/writing method embodiment 1 of a kind of disk file of the application;
Fig. 2 is the process flow diagram of reading disk file in the embodiment of the present application 1;
Fig. 3 is the process flow diagram that writes disk file in the embodiment of the present application 1;
Fig. 4 is the process flow diagram of the reading/writing method embodiment 2 of a kind of disk file of the application;
Fig. 5 is the process flow diagram of the reading/writing method embodiment 3 of a kind of disk file of the application;
Fig. 6 is the structured flowchart of the read-write equipment embodiment 1 of a kind of disk file of the application;
Fig. 7 is the structured flowchart of read module 606 in the application's device embodiment 1;
Fig. 8 is the structured flowchart of writing module 607 in the application's device embodiment 1
Fig. 9 is the structured flowchart of the read-write equipment embodiment 2 of a kind of disk file of the application;
Figure 10 is the structured flowchart of the read-write equipment embodiment 3 of a kind of disk file of the application.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is clearly and completely described, obviously, described embodiment is only the application's part embodiment, rather than whole embodiment.Based on the embodiment in the application, those of ordinary skills are not making the every other embodiment obtaining under creative work prerequisite, all belong to the scope of the application's protection.
The application can be used in numerous general or special purpose calculation element environment or configuration.For example: personal computer, server computer, handheld device or portable set, plate equipment, multi-processor device, comprise distributed computing environment of above any device or equipment etc.
The application can describe in the general context of the computer executable instructions of being carried out by computing machine, for example program module.Usually, program module comprises and carries out particular task or realize routine, program, object, assembly, data structure of particular abstract data type etc.Also can in distributed computing environment, put into practice the application, in these distributed computing environment, be executed the task by the teleprocessing equipment being connected by communication network.In distributed computing environment, program module can be arranged in the local and remote computer-readable storage medium including memory device.
One of main thought of the application can comprise, when computer software starts first, just this computer software each required disk file in start-up and operation process is resolved according to each disk file form of correspondence, and each disk file after resolving is read to the foundation internal storage data queue corresponding with described each disk file in internal memory, described internal storage data queue is saved as with the unique corresponding binary file of described arbitrary computer software and be stored in disk again, wherein key word and disk file data are one to one preserved in internal storage data queue.By above-mentioned pretreatment mode, upper once start this computer software in, just can from disk, load and its unique corresponding binary file, and this binary file is because be each disk file of having resolved, so can directly read and write, and all need to resolve disk file in read-write disk file after no longer needing to start each time computer software.Visible the application is the L2 cache as disk file by binary file, improved the speed of computer software read-write disk file, promote the efficiency of computer software read-write disk file, also solved (the I/O of frequent access disk I/O, Input/Output) and to resolve the problem of data of disk file, reduced the expense of system-computed performance.
With reference to figure 1, show the process flow diagram of the reading/writing method embodiment 1 of a kind of disk file of the application, the present embodiment comprises the read-write process of preprocessing process and disk file, wherein, preprocessing process is step 101~step 103, the read-write process of disk file comprises step 104~step 106, and the present embodiment can comprise the following steps:
Step 101: in the time starting a certain computer software first, described computer software required disk file in start-up and operation process is resolved according to corresponding disk file form.
In the present embodiment, if certain software has been installed on computing machine, so in starting for the first time this computer software, in its start-up course, need the disk file at the data place using to be resolved in advance, and in its follow-up operation process, in the disk file at the data place that can normally move, also can be resolved and could normally be read in advance.Therefore, the read-write equipment of the disk file that the present embodiment builds, when can realizing each computer software and start first, by this computer software object that each required disk file is resolved according to each disk file form of correspondence in this start-up and operation process.The embodiment of the present application is resolved required disk file in startup or operational process a certain computer software, do not represent it is that disk file to all is all resolved, it will be understood by those skilled in the art that can be only to wherein certain/some disk file resolves, or only certain or some data in a certain disk file are resolved, the application does not limit this.
For example, for this instant communication software of Ali Wang Wang, in starting for the first time Ali Wang Wang, having some configuration informations is kept in disk file, the such as attribute data such as the runnable interface of Ali Wang Wang, demonstration size, and in the prosperous operational process of Ali, the information such as the instant messaging record between client also need to be kept in disk file, these disk files just all can be resolved it in this step.
Step 102: the disk file after resolving is read to the foundation internal storage data queue corresponding with described disk file in internal memory.
After in to computer software start-up and operation process, each required disk file is resolved according to each disk file form of correspondence, each disk file after resolving is read in internal memory, to set up the internal storage data queue corresponding with each disk file in internal memory.Wherein, key word and disk file data are one to one preserved in this internal storage data queue, are to preserve key word and disk file data after corresponding parsing with the frame mode of key-value (key word-disk file data).Wherein, key word can be understood as current disk file data and is different from the unique identification of other disk file data, the content that corresponding current disk file data are the required read-writes of computer software, has had keyword, can find corresponding current disk file data.
In the time setting up this internal storage data queue, can be according to a certain particular order to key word-disk file data wherein to sorting, for example, frequency of utilization according to disk file data in current start-up and operation process sorts, be the first place that disk file data high frequency of utilization is placed on to internal storage data queue, and generating key word-disk file data pair according to the size of frequency of utilization successively, the disk file data that frequency of utilization is minimum are placed on the position, end of internal storage data queue.Certainly, those skilled in the art also can be according to demand according to other parameters to the key-value in internal storage data queue to sorting.
Be understandable that, the length of this internal storage data queue also can set in advance, and for example, the preset length of key and value is set to respectively to 4 bytes, and the shared length of a pair of key and value be 8 bytes.But, although the length of key and value can set in advance in internal storage data queue, length scale is adjustable, and those skilled in the art still can independently arrange it according to demand.
Step 103: described internal storage data queue is saved as with the unique corresponding binary file of described computer software and is stored in disk.
After setting up internal storage data queue, saved as again a binary file and be stored in disk, because for any computer software, only can be set up an internal storage data queue, therefore, a computer software is also with regard to a unique corresponding binary file.Concrete, internal storage data queue being saved as with computer software one to one when binary file, can generate binary file according to the length of the key of internal storage data queue and value, be according to the order in internal storage data queue successively using key and value to the content in binary file according to its regular length.
Suppose that key and the right regular length of value in internal storage data queue are 8 bytes, so follow-up in reading internal storage data queue, also read take 8 bytes as unit length, so guarantee can to read each time the data in the disk file that key word is corresponding.Wherein, readability, the ease for use of binary file are lower, because the data structure that the data content of binary file is the internal storage data queue required according to user is write direct, if read binary file so follow-up, do not need to resolve again, can directly binary file be read in to internal memory.
It should be noted that, when again internal storage data queue being saved as to binary file, can choose the key of N (value of N can be used according to computer software how many autonomous settings of disk file, for example first 50) position before internal storage data queue and value to a binary file of direct generation.
Wherein, step 101~step 103 is pre-treatment step, for a computer software, only after its process pre-treatment step of step 101~step 103, just can carry out step 104~the read-write process of the disk file of step 106, but for same computer software, the preprocessing process of step 101~step 103 is carried out once, follow-up can renewal binary file in real time.
Step 104: in the time of follow-up startup current computer software, obtain the current binary file of the unique correspondence of described current computer software from disk.
For the current computer software that generates binary file, when its for the second time or follow-up while starting each time, directly from disk, obtain the binary file of the unique correspondence of this current computer software.
Step 105: described current binary file is loaded in internal memory to generate current internal storage data queue.
Directly the binary file getting in step 104 is loaded be direct copying to internal memory, can generate the current internal storage data queue corresponding with current computer software.Concrete, in internal storage data queue binary file being loaded as in internal memory, can load according to the key of predefined internal storage data queue and the right regular length of value, for example, according to the unit length of 8 bytes using the data in the binary file successively key in internal storage data queue and value couple.It should be noted that, because when generating binary file, according to internal storage data queue in sequence, so now only need to read successively binary file according to key and the right regular length of value, set up internal storage data queue according to the order reading again, will generate the content the same with the internal storage data queue of setting up in preprocessing process.
Step 106: according to described current computer software key word to be read and write, from described current internal storage data queue, read the target disk file data corresponding with described key word, or, target disk file data corresponding described key word is write in described current internal storage data queue.
For a current computer software keyword to be read and write, if read operation, the internal storage data queue that can directly load from step 105, read the target disk file data corresponding with this key word (being value value), if write operation can be write direct target disk file data corresponding this key word in described current internal storage data queue.
In actual applications, shown in figure 2, according to current computer software key word to be read, from described current internal storage data queue, read the target disk file data corresponding with described key word, specifically can comprise:
Step 201: judge in described internal storage data queue whether have the target disk file data corresponding with described key word to be read, if so, enter step 202, if not, enter step 203;
Fig. 2 is the process flow diagram of reading disk file.First judge and in internal storage data queue, whether have the target disk file data corresponding with key word to be read, if existed, the data that had computer software to read in internal storage data queue are described, can perform step 202, and if there is no, the data that in internal storage data queue, computer software need to not read are described, perform step 203~step 206.
Step 202: directly read described target disk file data;
Directly from internal storage data queue, read the target disk file data corresponding with key word, then return to computer software;
Step 203: obtain the target disk file corresponding with described key word;
First obtain the target disk file in disk corresponding with this key word;
Step 204: described target disk file is resolved according to the form of described target disk file;
Because target disk file data not in internal storage data queue, illustrates this target disk file and also resolves, now need to resolve this target disk file according to the form of target disk file;
Step 205: read and resolve the target disk file data that described target disk file obtains;
After target disk document analysis, can read and resolve the target disk file data that target disk file obtains, then be returned to computer software;
Step 206: described key word and target disk file data are added in described internal storage data queue.
Finally also need using key word with resolve the target disk file data that obtains as a key-value to being added in internal storage data queue.When guarantee needs to read this target disk file data more like this, do not need to resolve again this target disk file next time, thereby realize the object of the read or write speed that improves disk file.
Shown in figure 3, according to current computer software key word to be written, target disk file data corresponding described key word is write in described current internal storage data queue, can comprise:
Step 301: judge in described internal storage data queue whether have the target disk file data corresponding with described key word to be written, if so, enter step 302, if not, enter step 303;
Fig. 3 is the process flow diagram that writes disk file.First judge and in internal storage data queue, whether have the target disk file data corresponding with key word to be written, if existed, the data that had computer software to write in internal storage data queue are described, can perform step 302, and if there is no, the data that in internal storage data queue, computer software need to not read are described, perform step 303~step 203.
Step 302: directly upgrade described target disk file data;
Directly upgrade the target disk file data having existed in internal storage data queue, realize the object that data is write to disk file;
Step 303: described key word and corresponding target disk file data are inserted in described internal storage data queue.
Key word is inserted in internal storage data queue with corresponding target disk file data.
Adopt the embodiment of the present application, first disk file is passed through to corresponding analytic method, the internal storage data queue that data in disk file are read to internal memory and set up the frame mode of (key-value), can also adjust according to preset rules the order of internal storage data queue, and internal storage data queue is saved as to the binary file corresponding with computer software, upper while once starting computer software, the data of binary file need to be copied to directly generation internal storage data queue in internal memory, now computer software is in the time that needs are read and write disk file, directly read and write from internal storage data queue by the application, after no longer needing to start each time computer software, all need in read-write disk file, resolve disk file.Visible the application is the L2 cache as disk file by binary file, has improved the speed of computer software read-write disk file, has promoted the efficiency of computer software read-write disk file.
Further, because the data in binary file can generate according to the frequency of utilization of computer software, the disk file that so most computer softwares use can directly read, the very big speed that must accelerate computer software reading disk file.
With reference to figure 4, show the process flow diagram of the reading/writing method embodiment 2 of a kind of disk file of the application, the present embodiment is after preprocessing process, realizes the method that computer software reads disk file, the present embodiment can comprise the following steps:
Step 401: in the time of follow-up startup current computer software, obtain the current binary file of the unique correspondence of described current computer software from disk.
Step 402: described current binary file is loaded in internal memory to generate current internal storage data queue.
The specific implementation of step 401~step 402 can reference example 1, does not repeat them here.
Step 403: judge in described internal storage data queue whether have the target disk file data corresponding with described key word to be read, if so, enter step 404, if not, enter step 405.
In the time that computer software need to read disk file data corresponding to certain key word, can first go to read in internal storage data queue, need first to judge in internal storage data queue, whether have the target disk file data corresponding with described key word to be read.
Step 404: directly read described target disk file data, described key word and target disk file data are moved to the first place of described internal storage data queue.
If had in internal storage data queue, just directly read described target disk file data and return to computer software.
The present embodiment difference from Example 1 is, after reading the target disk file data that key word is corresponding, this key word and target disk file data moved to the first place of internal storage data queue.Carried out the once read operation to this key word and target disk file data because current, the reading times that this key word and target disk file data are described has increased once, therefore, by the first place that moves to internal storage data queue of its correspondence, to facilitate reading next time.
Step 405: obtain the target disk file corresponding with described key word, according to the form of described target disk file, described target disk file is resolved.
If do not had in internal storage data queue, need first to obtain the disk file corresponding to this key word of preserving on disk, then this disk file is carried out to the parsing of corresponding format.
Step 406: read and resolve the target disk file data that described target disk file obtains.
Step 407: the first place that described key word and target disk file data is inserted into described internal storage data queue.
The difference of the present embodiment and embodiment 1 is, resolve after the target disk file data that obtains of described target disk file returns to computer software reading, also this key word and target disk file data are inserted into the first place of described internal storage data queue, to facilitate reading next time.
Step 408: judge whether end position key word and end marker bit corresponding to position disk file data in described internal storage data queue represent that described end position key word and position, end disk file data were updated, if not, enter step 410, if so, enter step 409.
In the present embodiment, key word in internal storage data queue and disk file data are to arranging corresponding marker bit, this marker bit is used for representing that a key word and disk file data are to whether being updated, and whether the renewal here can be understood as the data of storing in disk file consistent with the disk file data in internal storage data queue.For example, by data correspondence establishment internal storage data queue in disk file time, first marker bit correspondence is set to 0, illustrate that the data in internal storage data queue are the data in original disk file, once and follow-up data in internal storage data queue have been upgraded, now because an internal storage data queue of only upgrading, so the data in original disk file are not just synchronously upgraded, therefore,, if when these data need to remove internal storage data queue, just first judge whether to carry out renewal.
Step 409: position, described end disk file Data Update, to original disk file, is entered to step 410.
If the marker bit of the end position disk file data in internal storage data queue is 1, can illustrate that it upgraded, now just first by an end disk file Data Update to original disk file, then it is removed from internal storage data queue.
Step 410: the end position key word in described internal storage data queue and position, end disk file data are removed.
If the marker bit of position, end disk file data is 0, illustrate that it did not carry out renewal, be with original disk file in the data consistent preserved, now directly the data of position, internal storage data queue end (end position key word and position, end disk file data) are taken out and are removed.Can guarantee that so the total length of internal storage data queue is constant, the real-time of disk file data, and disk file and internal storage data queue is consistent.
Step 411: in the time that the update cycle arrives, upgrade binary file corresponding in disk according to current internal storage data queue.
In the present embodiment, can also comprise the renewal to binary file, it is half an hour that update cycle is for example set, so every half an hour, corresponding old binary file in the new binary file Replace Disk and Press Anykey To Reboot that current internal storage data queue can be generated, to can directly read in internal memory next time.
In the present embodiment, the length that not only can guarantee internal storage data queue is constant, and the up-to-date target disk file data once reading can be moved to the first place of internal storage data queue, what thereby the target disk file data that makes to read recently can be the fastest reads from internal storage data queue, and, upgrading binary file according to the default update cycle, guarantee the real-time of binary file.
With reference to figure 5, show the process flow diagram of the reading/writing method embodiment 3 of a kind of disk file of the application, the present embodiment is after preprocessing process, realizes the method that computer software writes disk file, in the present embodiment, can comprise the following steps:
Step 501: in the time of follow-up startup current computer software, obtain the current binary file of the unique correspondence of described current computer software from disk.
Step 502: described current binary file is loaded in internal memory to generate current internal storage data queue.
The specific implementation of step 501~step 502 can reference example 1, does not repeat them here.
Step 503: judge in described internal storage data queue whether have the target disk file data corresponding with described key word to be written, if so, enter step 504, if not, enter step 505.
In the time that computer software need to write disk file data corresponding to certain key word, can first judge in internal storage data queue, whether there is the target disk file data that the key word to be written with this is corresponding,
Step 504: directly upgrade described target disk file data, described key word and corresponding target disk file data are moved to the first place of described internal storage data queue.
If had in internal storage data queue, just directly upgrade described target disk file data, be that target disk file data to be written is directly replaced to the target disk file data existing in former internal storage data queue.
The present embodiment difference from Example 1 is, after upgrading described target disk file data, this key word and target disk file data moved to the first place of internal storage data queue.Carried out the once write operation to this key word and target disk file data because current, the indegree of writing that this key word and target disk file data are described has increased once, therefore, by the first place that moves to internal storage data queue of its correspondence, to facilitate writing next time.
Step 505: the first place that the target disk file data of described key word and correspondence is inserted into described internal storage data queue.
The difference of the present embodiment and embodiment 1 is, if do not had in internal storage data queue, needs this key word and target disk file data to be inserted into the first place of data queue, to facilitate writing next time.
Step 506: judge whether end position key word and end marker bit corresponding to position disk file in described internal storage data queue represent that described end position key word and position, end disk file data were updated, if not, enter step 508, if so, enter step 507.
Step 507: by described end position disk file Data Update to original disk file.
Step 508: the end position key word in described internal storage data queue and position, end disk file data are removed.
The difference of the present embodiment and embodiment 1 is, after writing the target disk file data of entry keyword and correspondence, if position, end disk file data were not carried out renewal, directly then the data of position, internal storage data queue end (end position key word and position, end disk file data) are taken out and removed, if position, end disk file data were carried out renewal, first the Data Update of position, end is removed to original disk file again.Can guarantee that so the total length of internal storage data queue is constant, the real-time of disk file data, and disk file and internal storage data queue is consistent.
Step 509: in the time that the update cycle arrives, upgrade binary file corresponding in disk according to current internal storage data queue.
Step 509 can reference example 2 description, do not repeat them here.
In the present embodiment, the length that not only can guarantee internal storage data queue is constant, and the target disk file data of up-to-date write-once can be moved to the first place of internal storage data queue, what thereby the target disk file data that makes to read recently can be the fastest writes from internal storage data queue, and, upgrading binary file according to the default update cycle, guarantee the real-time of binary file.
For aforesaid each embodiment of the method, for simple description, therefore it is all expressed as to a series of combination of actions, but those skilled in the art should know, the application is not subject to the restriction of described sequence of movement, because according to the application, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and related action and module might not be that the application is necessary.
Corresponding with the method that the reading/writing method embodiment 1 of a kind of disk file of above-mentioned the application provides, referring to Fig. 6, the application also provides a kind of read-write equipment embodiment 1 of disk file, in the present embodiment, this device can comprise: the read-write cell 61 of pretreatment unit 60 and disk file, wherein, described pretreatment unit 60 can comprise:
Parsing module 601, in the time starting a certain computer software first, resolves described computer software required disk file in start-up and operation process according to corresponding disk file form.
Set up queue module 602, set up the internal storage data queue corresponding with described disk file for the disk file after resolving is read to internal memory; Key word and disk file data are one to one preserved in described internal storage data queue.
Memory module 603, is stored to disk for described internal storage data queue being saved as with the unique corresponding binary file of described computer software.
The read-write cell 61 of described disk file can comprise:
Acquisition module 611 for when the follow-up startup current computer software, obtains the current binary file of the unique correspondence of described current computer software from disk.
Load-on module 612, for being loaded on described current binary file internal memory to generate current internal storage data queue.
Read module 613 for according to described current computer software key word to be read and write, reads the target disk file data corresponding with described key word from described current internal storage data queue.
Shown in figure 7, Fig. 7 is the structured flowchart of described read module 606, and described read module 606 specifically can comprise:
First judges submodule 701, for judge described internal storage data queue whether exist with described in target disk file data corresponding to key word to be read and write;
The first reading submodule 702, in the described first result that judges submodule be, directly read described target disk file data;
Obtain submodule 703, in the described first result that judges submodule be no, obtain the target disk file corresponding with described key word;
Analyzing sub-module 704, for resolving described target disk file according to the form of described target disk file;
The second reading submodule 705, resolves for reading the target disk file data that described target disk file obtains;
First adds submodule 706, for described key word and target disk file data are added into described internal storage data queue.
Writing module 607, for according to described current computer software key word to be read and write, writes target disk file data corresponding described key word in described current internal storage data queue.
Shown in figure 8, Fig. 8 is the structured flowchart of said write module 607, and said write module 607 specifically can comprise:
Second judges submodule 801, for judge described internal storage data queue whether exist with described in target disk file data corresponding to key word to be read and write;
Upgrade submodule 802, in the case of the described second result that judges submodule is, directly upgrade described target disk file data;
Intron module 803, in the described second result that judges submodule be no, described key word and corresponding target disk file data are inserted in described internal storage data queue.
Adopt the embodiment of the present application, first disk file is passed through to corresponding analytic method, the internal storage data queue that data in disk file are read to internal memory and set up the frame mode of (key-value), can also adjust according to preset rules the order of internal storage data queue, and internal storage data queue is saved as to the binary file corresponding with computer software, upper while once starting computer software, the data of binary file need to be copied to directly generation internal storage data queue in internal memory, now computer software is in the time that needs are read and write disk file, directly read and write from internal storage data queue by the application, after no longer needing to start each time computer software, all need in read-write disk file, resolve disk file.Visible the application is the L2 cache as disk file by binary file, has improved the speed of computer software read-write disk file, has promoted the efficiency of computer software read-write disk file.
Further, because the data in binary file can generate according to the frequency of utilization of computer software, the disk file that so most computer softwares use can directly read, the very big speed that must accelerate computer software reading disk file.
Corresponding with the method that the reading/writing method embodiment 2 of a kind of disk file of above-mentioned the application provides, referring to Fig. 9, the application also provides a kind of read-write equipment embodiment 2 of disk file, the pretreatment unit 60 that the disclosed device of the present embodiment is included and the read-write cell 61 of disk file, in the present embodiment, the read-write cell 61 of disk file can comprise:
Acquisition module 604 for when the follow-up startup current computer software, obtains the current binary file of the unique correspondence of described current computer software from disk.
Load-on module 605, for being loaded on described current binary file internal memory to generate current internal storage data queue.
Read module 606 for according to described current computer software key word to be read and write, reads the target disk file data corresponding with described key word from described current internal storage data queue.
Wherein, described read module 606 specifically can comprise:
First judges submodule 701, for judge described internal storage data queue whether exist with described in target disk file data corresponding to key word to be read and write;
The first reading submodule 702, in the described first result that judges submodule be, directly read described target disk file data;
Obtain submodule 703, in the described first result that judges submodule be no, obtain the target disk file corresponding with described key word;
Analyzing sub-module 704, for resolving described target disk file according to the form of described target disk file;
The second reading submodule 705, resolves for reading the target disk file data that described target disk file obtains;
First adds submodule 706, described key word and target disk file data is inserted into the first place of described internal storage data queue.
The first mover module 901, for moving to described key word and target disk file data the first place of described internal storage data queue;
Second judges submodule 902, whether represents that for the end position key word and end marker bit corresponding to position disk file data that judge described internal storage data queue described end position key word and position, end disk file data were updated;
First upgrades submodule 903, in the described second result that judge submodule be, by a described end disk file Data Update to original disk file;
First removes submodule 904, in the described second result that judges submodule be no, or, upgrade after submodule triggers described first, the end position key word in described internal storage data queue and position, end disk file data are removed;
Sub module stored 905, for by described end position disk file deposit data to disk.
Described device can also comprise:
Updating block 906, in the time that the update cycle arrives, upgrades binary file corresponding in disk according to current internal storage data queue.
In the present embodiment, the length that not only can guarantee internal storage data queue is constant, and the up-to-date target disk file data once reading can be moved to the first place of internal storage data queue, what thereby the target disk file data that makes to read recently can be the fastest reads from internal storage data queue, and, upgrading binary file according to the default update cycle, guarantee the real-time of binary file.
Corresponding with the method that the reading/writing method embodiment 3 of a kind of disk file of above-mentioned the application provides, referring to Figure 10, the application also provides a kind of read-write equipment embodiment 3 of disk file, the pretreatment unit 60 that the disclosed device of the present embodiment is included and the read-write cell 61 of disk file, in the present embodiment, the read-write cell 61 of disk file can comprise:
Acquisition module 604 for when the follow-up startup current computer software, obtains the current binary file of the unique correspondence of described current computer software from disk.
Load-on module 605, for being loaded on described current binary file internal memory to generate current internal storage data queue.
Writing module 607, for according to described current computer software key word to be read and write, writes target disk file data corresponding described key word in described current internal storage data queue.
Said write module 607 specifically can comprise:
Second judges submodule 801, for judge described internal storage data queue whether exist with described in target disk file data corresponding to key word to be read and write;
Upgrade submodule 802, in the case of the described second result that judges submodule is, directly upgrade described target disk file data;
Described intron module 803, specifically for: the first place that the target disk file data of described key word and correspondence is inserted into described internal storage data queue.
The second mover module 1001, for moving to described key word and corresponding target disk file data the first place of described internal storage data queue;
The 4th judges submodule 1002, whether represents that for the end position key word and end marker bit corresponding to position disk file data that judge described internal storage data queue described end position key word and position, end disk file data were updated;
The 3rd upgrades submodule 1003, in the described the 4th result that judge submodule be, by a described end disk file Data Update to original disk file;
Second removes submodule 1004, in the described the 4th result that judges submodule be no, or trigger the described the 3rd upgrade submodule after, the end position key word in described internal storage data queue and position, end disk file data are removed;
Described device can also comprise:
Updating block 906, in the time that the update cycle arrives, upgrades binary file corresponding in disk according to current internal storage data queue.
In the present embodiment, the length that not only can guarantee internal storage data queue is constant, and the target disk file data of up-to-date write-once can be moved to the first place of internal storage data queue, what thereby the target disk file data that makes to read recently can be the fastest writes from internal storage data queue, and, upgrading binary file according to the default update cycle, guarantee the real-time of binary file.
It should be noted that, each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment, between each embodiment identical similar part mutually referring to.For device class embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
Finally, also it should be noted that, in this article, relational terms such as the first and second grades is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply and between these entities or operation, have the relation of any this reality or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the equipment that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
Reading/writing method and the device of a kind of disk file above the application being provided are described in detail, applied principle and the embodiment of specific case to the application herein and set forth, the explanation of above embodiment is just for helping to understand the application's method and core concept thereof; , for one of ordinary skill in the art, according to the application's thought, all will change in specific embodiments and applications, in sum, this description should not be construed as the restriction to the application meanwhile.

Claims (12)

1. a reading/writing method for disk file, is characterized in that, the method comprises the read-write process of preprocessing process and disk file, wherein,
Described preprocessing process comprises:
In the time starting a certain computer software, described computer software required disk file in start-up and operation process is resolved according to corresponding disk file form, and the disk file after resolving is read to the foundation internal storage data queue corresponding with described disk file in internal memory, described internal storage data queue is saved as with the unique corresponding binary file of described computer software and is stored in disk; Key word and disk file data are one to one preserved in described internal storage data queue;
The read-write process of described disk file comprises:
In the time of follow-up startup current computer software, from disk, obtain the current binary file of the unique correspondence of described current computer software;
Described current binary file is loaded in internal memory to generate current internal storage data queue;
According to described current computer software key word to be read and write, from described current internal storage data queue, read the target disk file data corresponding with described key word, or, target disk file data corresponding described key word is write in described current internal storage data queue.
2. method according to claim 1, is characterized in that, the described current computer software of described foundation key word to be read and write reads the target disk file data corresponding with described key word from described current internal storage data queue, comprising:
Judge in described internal storage data queue, whether exist with described in target disk file data corresponding to key word to be read and write, if so, directly read described target disk file data;
If not, obtain the target disk file corresponding with described key word, according to the form of described target disk file, described target disk file is resolved, and read and resolve the target disk file data that described target disk file obtains, and described key word and target disk file data are added in described internal storage data queue.
3. method according to claim 2, is characterized in that, described directly read described target disk file data after, also comprise: the first place that described key word and target disk file data is moved to described internal storage data queue;
Accordingly, described described key word and target disk file data are added in described internal storage data queue and are specially: the first place that described key word and target disk file data is inserted into described internal storage data queue;
And, described described key word and target disk file data are inserted into the first place of described internal storage data queue after, also comprise:
Judge whether end position key word and end marker bit corresponding to position disk file data in described internal storage data queue represent that described end position key word and position, end disk file data were updated, if not, remove described end position key word and position, end disk file data, if so, position, described end disk file Data Update is removed to described end position key word and position, end disk file data to original disk file again.
4. method according to claim 1, is characterized in that, the described current computer software of described foundation key word to be read and write, writes target disk file data corresponding described key word in described current internal storage data queue, comprising:
Judge in described internal storage data queue, whether exist with described in target disk file data corresponding to key word to be read and write, if so, directly upgrade described target disk file data;
If not, described key word and corresponding target disk file data are inserted in described internal storage data queue.
5. method according to claim 4, is characterized in that, after the described target disk file data of described direct renewal, also comprises: the first place that described key word and corresponding target disk file data is moved to described internal storage data queue;
Accordingly, the described target disk file data by described key word and correspondence is inserted in described internal storage data queue, is specially: the first place that the target disk file data of described key word and correspondence is inserted into described internal storage data queue;
And, after the described target disk file data by described key word and correspondence is inserted into the first place of described internal storage data queue, also comprise:
Judge whether end position key word and end marker bit corresponding to position disk file data in described internal storage data queue represent that described end position key word and position, end disk file data were updated, if not, the end position key word in described internal storage data queue and position, end disk file data are removed, if so, position, described end disk file Data Update is removed to described end position key word and position, end disk file data to original disk file again.
6. according to the method described in claim 1~5 any one, it is characterized in that, also comprise:
In the time that the update cycle arrives, upgrade binary file corresponding in disk according to current internal storage data queue.
7. a read-write equipment for disk file, is characterized in that, this device comprises: the read-write cell of pretreatment unit and disk file, wherein,
Described pretreatment unit comprises:
Parsing module, in the time starting a certain computer software, resolves described computer software required disk file in start-up and operation process according to corresponding disk file form;
Set up queue module, set up the internal storage data queue corresponding with described disk file for the disk file after resolving is read to internal memory; Key word and disk file data are one to one preserved in described internal storage data queue;
Memory module, is stored to disk for described internal storage data queue being saved as with the unique corresponding binary file of described computer software;
The read-write cell of described disk file comprises:
Acquisition module for when the follow-up startup current computer software, obtains the current binary file of the unique correspondence of described current computer software from disk;
Load-on module, for being loaded on described current binary file internal memory to generate current internal storage data queue;
Read module for according to described current computer software key word to be read and write, reads the target disk file data corresponding with described key word from described current internal storage data queue;
Writing module, for according to described current computer software key word to be read and write, writes target disk file data corresponding described key word in described current internal storage data queue.
8. device according to claim 7, is characterized in that, described read module comprises:
First judges submodule, for judge described internal storage data queue whether exist with described in target disk file data corresponding to key word to be read and write;
The first reading submodule, in the described first result that judges submodule be, directly read described target disk file data;
Obtain submodule, in the described first result that judges submodule be no, obtain the target disk file corresponding with described key word;
Analyzing sub-module, for resolving described target disk file according to the form of described target disk file;
The second reading submodule, resolves for reading the target disk file data that described target disk file obtains;
First adds submodule, for described key word and target disk file data are added into described internal storage data queue.
9. device according to claim 8, is characterized in that, described read module also comprises:
The first mover module, for moving to described key word and target disk file data the first place of described internal storage data queue;
Second judges submodule, whether represents that for the end position key word and end marker bit corresponding to position disk file data that judge described internal storage data queue described end position key word and position, end disk file data were updated;
First upgrades submodule, in the described second result that judge submodule be, by a described end disk file Data Update to original disk file;
First removes submodule, in the described second result that judges submodule be no, or, upgrade after submodule triggers described first, the end position key word in described internal storage data queue and position, end disk file data are removed;
Described first adds submodule, specifically for: the first place that described key word and target disk file data is inserted into described internal storage data queue.
10. device according to claim 7, is characterized in that, said write module comprises:
The 3rd judges submodule, for judge described internal storage data queue whether exist with described in target disk file data corresponding to key word to be read and write;
Second upgrades submodule, in the case of the described the 3rd result that judges submodule is, directly upgrades described target disk file data;
Intron module, in the described the 3rd result that judges submodule be no, described key word and corresponding target disk file data are inserted in described internal storage data queue.
11. devices according to claim 10, is characterized in that, said write module also comprises:
The second mover module, for moving to described key word and corresponding target disk file data the first place of described internal storage data queue;
The 4th judges submodule, whether represents that for the end position key word and end marker bit corresponding to position disk file data that judge described internal storage data queue described end position key word and position, end disk file data were updated;
The 3rd upgrades submodule, in the described the 4th result that judge submodule be, by a described end disk file Data Update to original disk file;
Second removes submodule, in the described the 4th result that judges submodule be no, or trigger the described the 3rd upgrade submodule after, the end position key word in described internal storage data queue and position, end disk file data are removed;
Described intron module, specifically for: the first place that the target disk file data of described key word and correspondence is inserted into described internal storage data queue.
12. according to the device described in claim 7~10 any one, it is characterized in that, also comprises:
Updating block, in the time that the update cycle arrives, upgrades binary file corresponding in disk according to current internal storage data queue.
CN201210436250.0A 2012-11-05 2012-11-05 The reading/writing method of a kind of disk file and device Active CN103809915B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210436250.0A CN103809915B (en) 2012-11-05 2012-11-05 The reading/writing method of a kind of disk file and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210436250.0A CN103809915B (en) 2012-11-05 2012-11-05 The reading/writing method of a kind of disk file and device

Publications (2)

Publication Number Publication Date
CN103809915A true CN103809915A (en) 2014-05-21
CN103809915B CN103809915B (en) 2016-12-21

Family

ID=50706762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210436250.0A Active CN103809915B (en) 2012-11-05 2012-11-05 The reading/writing method of a kind of disk file and device

Country Status (1)

Country Link
CN (1) CN103809915B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106886471A (en) * 2017-02-22 2017-06-23 郑州云海信息技术有限公司 A kind of read-write fault detection method and system based on disk in linux
CN107491526A (en) * 2017-08-18 2017-12-19 国云科技股份有限公司 A kind of system and method for Achieve Database Synchronization
CN111045604A (en) * 2019-12-11 2020-04-21 苏州浪潮智能科技有限公司 Small file read-write acceleration method and device based on NVRAM
CN111831691A (en) * 2019-05-29 2020-10-27 北京嘀嘀无限科技发展有限公司 Data reading and writing method and device, electronic equipment and storage medium
CN111831691B (en) * 2019-05-29 2024-05-03 北京嘀嘀无限科技发展有限公司 Data reading and writing method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040215754A1 (en) * 2003-03-31 2004-10-28 Microsoft Corporation Peripheral device driver maintenance scheme for networked peripheral device clients
CN101329685A (en) * 2008-07-30 2008-12-24 烽火通信科技股份有限公司 Implementing method of memory database on household gateway
CN101510838A (en) * 2009-02-26 2009-08-19 北京北纬点易信息技术有限公司 Method for implementing perdurable data queue

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040215754A1 (en) * 2003-03-31 2004-10-28 Microsoft Corporation Peripheral device driver maintenance scheme for networked peripheral device clients
CN101329685A (en) * 2008-07-30 2008-12-24 烽火通信科技股份有限公司 Implementing method of memory database on household gateway
CN101510838A (en) * 2009-02-26 2009-08-19 北京北纬点易信息技术有限公司 Method for implementing perdurable data queue

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106886471A (en) * 2017-02-22 2017-06-23 郑州云海信息技术有限公司 A kind of read-write fault detection method and system based on disk in linux
CN107491526A (en) * 2017-08-18 2017-12-19 国云科技股份有限公司 A kind of system and method for Achieve Database Synchronization
CN111831691A (en) * 2019-05-29 2020-10-27 北京嘀嘀无限科技发展有限公司 Data reading and writing method and device, electronic equipment and storage medium
CN111831691B (en) * 2019-05-29 2024-05-03 北京嘀嘀无限科技发展有限公司 Data reading and writing method and device, electronic equipment and storage medium
CN111045604A (en) * 2019-12-11 2020-04-21 苏州浪潮智能科技有限公司 Small file read-write acceleration method and device based on NVRAM
CN111045604B (en) * 2019-12-11 2022-11-01 苏州浪潮智能科技有限公司 Small file read-write acceleration method and device based on NVRAM

Also Published As

Publication number Publication date
CN103809915B (en) 2016-12-21

Similar Documents

Publication Publication Date Title
CN107391653B (en) Distributed NewSQL database system and picture data storage method
CN104298760B (en) A kind of data processing method and data processing equipment applied to data warehouse
US20190034815A1 (en) Customer behavior predictive modeling
CN102129425B (en) The access method of big object set table and device in data warehouse
CN104133772A (en) Automatic test data generation method
CN110795455A (en) Dependency relationship analysis method, electronic device, computer device and readable storage medium
EP2763055B1 (en) A telecommunication method and mobile telecommunication device for providing data to a mobile application
CN108536745B (en) Shell-based data table extraction method, terminal, equipment and storage medium
CN105528418A (en) Design document generation method and apparatus
US9104724B2 (en) Dynamic bridging of application and data servers
CN110795478A (en) Data warehouse updating method and device applied to financial business and electronic equipment
Jiang et al. Application intelligent search and recommendation system based on speech recognition technology
CN111651519A (en) Data synchronization method, data synchronization device, electronic device, and storage medium
CN112860727A (en) Data query method, device, equipment and medium based on big data query engine
CN103809915A (en) Read-write method and device of magnetic disk files
CN110222047A (en) A kind of dynamic list generation method and device
CN116450723A (en) Data extraction method, device, computer equipment and storage medium
CN108073401B (en) Method and device for executing business logic and electronic equipment
CN113741864B (en) Automatic semantic service interface design method and system based on natural language processing
CN115543428A (en) Simulated data generation method and device based on strategy template
CN114625372A (en) Automatic component compiling method and device, computer equipment and storage medium
CN110222105B (en) Data summarization processing method and device
CN113609128A (en) Method and device for generating database entity class, terminal equipment and storage medium
CN111221817B (en) Service information data storage method, device, computer equipment and storage medium
CN115952203B (en) Data query method, device, system and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant