CN101819603A - Embedded system based method and device for searching information record based on - Google Patents
Embedded system based method and device for searching information record based on Download PDFInfo
- Publication number
- CN101819603A CN101819603A CN201010177976A CN201010177976A CN101819603A CN 101819603 A CN101819603 A CN 101819603A CN 201010177976 A CN201010177976 A CN 201010177976A CN 201010177976 A CN201010177976 A CN 201010177976A CN 101819603 A CN101819603 A CN 101819603A
- Authority
- CN
- China
- Prior art keywords
- storage block
- information
- file
- feature information
- data
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/14—Details of searching files based on file metadata
- G06F16/148—File search processing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Library & Information Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses embedded system based method and device for searching information record. The method comprises steps of: acquiring storage block feature information of a storage block pointed by a file pointer from an information record file of the embedded system; judging if the storage block feature information accords with the search condition or not; and if so, reading the content in the storage block pointed by the file pointer. The invention accelerates the search operation speed and shortens the search time.
Description
Technical field
The present invention relates to the communications field, in particular to a kind of search method and device that writes down based on the information of embedded system.
Background technology
For some equipment in the wavelength-division product supervisory system, as master control veneer, the historical performance information that the veneer of all groove positions of different time sections reports in the needs storage whole network element.For this class embedded system, owing to be subjected to the restriction of factors such as its whole cost, volume size, hardware configuration such as intrasystem processor generally can be very not high, but for this type systematic, the real-time of access data requires than higher.Will be in the limited embedded system of this condition, realize the quick access of high capacity data record, then need characteristics according to handled Large Volume Data itself, select corresponding access mode, reduce software program required temporal expense of when operation, thereby reach the real-time processing requirements of system.
Be used for wavelength-division product monitor system performance data storage at present and mainly contain two kinds of methods: a kind of method is the data storage of will gather in each time period internal memory in embedded system, when carrying out data read, directly retrieves the record in the internal memory; Another kind method be the data storage of will gather in each time period in corresponding binary file, be kept in the memory device such as SD card, need carry out traversing operation to every in All Files record when carrying out data read.
For first kind of disposal route, the defective of its existence is that the capacity of storing is influenced seriously by the internal memory of embedded system, because the hardware environment of embedded system is relatively harsher, can not store too large-capacity data record; For second kind of disposal route, the defective of its existence is: when canned data writes down, just data are stored hereof continuously, and do not have special marking to discern a different kinds of information record in the file, like this when retrieving for the record of the information in the file, often need to travel through whole file data, cause operating speed slow.
Summary of the invention
Cause operating speed problem and propose the present invention slowly easily at search method in the correlation technique, for this reason, fundamental purpose of the present invention is to provide a kind of search method and device of the information record based on embedded system.
To achieve these goals, according to an aspect of the present invention, provide a kind of search method that writes down based on the information of embedded system.
The search method that writes down based on the information of embedded system according to the present invention comprises: obtain the storage block feature information by file pointer storage block pointed in the information log file of embedded system; Judge whether storage block feature information meets search condition; If meet, then read the content in the file pointer storage block pointed.
Further, if storage block feature information does not meet search condition, also comprise: the length of obtaining file pointer storage block pointed; The value of file pointer is added the length of storage block, point to next storage block; Obtain storage block feature information by file pointer next storage block pointed; Whether the storage block feature information of judging next storage block meets search condition; If meet, then read the data in the next storage block.
Further, before in the information log file of embedded system, obtaining the storage block feature information of the storage block pointed, obtain the information log file: the filename corresponding file feature information of obtaining all canned data log files by following steps by file pointer; From all canned data log files, find information log file with the file feature information that meets search condition.
Further, file feature information comprises: the acquisition time of information record.
Further, in the information log file of embedded system, obtain the storage block feature information of the storage block pointed by file pointer before, also comprise: information to be stored record is divided into a plurality of data acquisitions according to file feature information; Create an information log file for each data acquisition, wherein, the filename of the information log file of establishment is corresponding with the file feature information of this information log file; Each data acquisition is divided into a plurality of data blocks according to storage block feature information; In the information log file of creating, use a storage block to store for each data block in the data acquisition corresponding with this information log file, wherein, each storage block canned data comprises: the storage block feature information of corresponding data block, the length of this storage block, and the content of this data block.
Further, in the information log file of creating, use after a storage block stores for each data block in the data acquisition corresponding with this information log file, also comprise: receive the deletion information that carries the deletion condition, wherein, deletion condition comprises the file feature information of information log file to be deleted; In all canned data log files, find information log file with the file feature information that meets the deletion condition; The information log file that deletion is found.
Further, in the information log file of creating, use after a storage block stores for each data block in the data acquisition corresponding with this information log file, also comprise: receive the deletion information that carries the deletion condition, wherein, deletion condition comprises file feature information and the storage block feature information that is used to delete; In all canned data log files, find information log file with the file feature information that meets the deletion condition; In the information log file that is found, search storage block with the storage block feature information that meets the deletion condition; The storage block that deletion is found.
Further, storage block feature information comprise following one of at least: the groove bit address information at veneer place, port address, Performance Detection point.
To achieve these goals, according to a further aspect in the invention, provide a kind of indexing unit that writes down based on the information of embedded system.
Indexing unit according to the information record based on embedded system according to the present invention comprises: acquisition module is used for information log file in embedded system and obtains storage block feature information by file pointer storage block pointed; Judge module is used to judge whether storage block feature information meets search condition; Read module is used for reading the content of file pointer storage block pointed when storage block feature information meets search condition.
Further, also comprise: first sort module, be used for before the information log file of embedded system obtains the storage block feature information of the storage block pointed by file pointer, information record to be stored be divided into a plurality of data acquisitions according to file feature information; Creation module is used to each data acquisition to create an information log file, and wherein, the filename of the information log file of establishment is corresponding with the file feature information of this information log file; Second sort module is used for each data acquisition is divided into a plurality of data blocks according to storage block feature information; Memory module, be used for using a storage block to store for each data block in the data acquisition corresponding with this information log file at the information log file of creating, wherein, each storage block canned data comprises: the storage block feature information of corresponding data block, the length of this storage block, and the content of this data block.
The present invention has following beneficial effect:
1) the present invention searches different storage blocks in the information log file by storage block feature information, and does not need all the elements of comparison storage block, thereby has accelerated the operating speed of retrieval, has shortened retrieval time;
2) in the present invention, can come canned data log file is deleted and revised, thereby increase the flexible row and the operability of configuration by file feature information and/or storage block feature information.
Other features and advantages of the present invention will be set forth in the following description, and, partly from instructions, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the instructions of being write, claims and accompanying drawing.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the process flow diagram based on the search method of the information of embedded system record according to the embodiment of the invention;
Fig. 2 is the imperative structures synoptic diagram according to each performance inventory file of the embodiment of the invention;
Fig. 3 is according to the data storage feature structure synoptic diagram in the performance inventory file of the embodiment of the invention;
Fig. 4 is the preferred flow charts according to the memory property log file of the embodiment of the invention;
Fig. 5 is the preferred flow charts according to the retrieval performance log file of the embodiment of the invention;
Fig. 6 is the preferred flow charts according to the deletion performance inventory file of the embodiment of the invention;
Fig. 7 is the synoptic diagram based on the searching system of the information of embedded system record according to the embodiment of the invention.
Embodiment
Hereinafter will describe the present invention with reference to the accompanying drawings and in conjunction with the embodiments in detail.Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.
Fig. 1 is the process flow diagram based on the search method of the information of embedded system record according to the embodiment of the invention.As shown in Figure 1, the search method based on the information of embedded system record according to the embodiment of the invention may further comprise the steps:
S102 obtains the storage block feature information by file pointer storage block pointed in the information log file of embedded system;
S104 judges whether storage block feature information meets search condition;
S106 if meet, then reads the content in the file pointer storage block pointed.
In the prior art, during the canned data record, just data are stored hereof continuously, and do not have special marking to discern a different kinds of information record in the file, like this when retrieving for the record of the information in the file, often need to travel through whole file data, cause operating speed slow.Review the embodiment of the invention, search different storage blocks in the information log file, and do not need all the elements of comparison storage block, thereby accelerated the operating speed of retrieval, shortened retrieval time by storage block feature information.
Preferably, if described storage block feature information does not meet described search condition, obtain the length of described file pointer storage block pointed; The value of described file pointer is added the length of the above storage block, point to next storage block; Obtain storage block feature information by described file pointer next storage block pointed; Whether the storage block feature information of judging described next storage block meets search condition; If meet, then read the data in the described next storage block.If the storage block feature information of next storage block does not meet search condition, then repeat the step in this preferred embodiment, last storage block in having judged this information log file.
By the way, judging by storage block feature information under the situation that current storage block do not meet search condition, do not need to obtain the concrete data content of this current storage block, but change file pointer address pointed, so that next storage block is carried out interpretation, thereby further accelerated the speed of retrieving.
Preferably, before in the information log file of embedded system, obtaining the storage block feature information of the storage block pointed, obtain described information log file: the filename corresponding file feature information of obtaining all canned data log files by following steps by file pointer; From all canned data log files, find information log file with the file feature information that meets described search condition.
By the way, can judge the required information log file of searching,, thereby further accelerate the speed of retrieving so that can find required information log file as soon as possible according to the pairing file feature information of filename.
Preferably, described file feature information comprises: the acquisition time of information record.
Preferably, in the information log file of embedded system, obtain the storage block feature information of the storage block pointed by file pointer before, also comprise: information to be stored record is divided into a plurality of data acquisitions according to file feature information; Create an information log file for each described data acquisition, wherein, the filename of the information log file of establishment is corresponding with the file feature information of this information log file; Each described data acquisition is divided into a plurality of data blocks according to storage block feature information; In the information log file of creating, use a storage block to store for each data block in the data acquisition corresponding with this information log file, wherein, each storage block store in the following information one of at least: the storage block feature information of corresponding data block, the length of this storage block, and the content of this data block.
By above-mentioned storage mode, can utilize the structure of being stored to accelerate follow-up retrieval and renewal operation, thereby increase the flexible row and the operability of configuration.
Preferably, in the information log file of creating, use after a storage block stores for each data block in the data acquisition corresponding with this information log file, also comprise: receive the deletion information that carries the deletion condition, wherein, described deletion condition comprises the file feature information of information log file to be deleted; In all canned data log files, find information log file with the file feature information that meets described deletion condition; The information log file that deletion is found.
By above-mentioned deletion mode, make and to come canned data log file is deleted and revised by file feature information, thereby increased the flexible row and the operability of configuration.
Preferably, in the information log file of creating, use after a storage block stores for each data block in the data acquisition corresponding with this information log file, also comprise: receive the deletion information that carries the deletion condition, wherein, described deletion condition comprises file feature information and the storage block feature information that is used to delete; In all canned data log files, find information log file with the file feature information that meets described deletion condition; In the information log file that is found, search storage block with the storage block feature information that meets described deletion condition; The storage block that deletion is found.
By above-mentioned deletion mode, make and to come the storage block in the canned data log file is deleted and revised by file feature information and storage block feature information, thereby increased the flexible row and the operability of configuration.
Preferably, in above-mentioned preferred embodiment, described storage block feature information comprises: the groove bit address information at veneer place, port address, Performance Detection point.
In the invention process example, the characteristics of related Large Volume Data information record are as follows:
1) information records identical architectural feature and huge amount.In the supervisory system that relates to such as this paper, network element need carry out the collection and the storage of historical performance to the veneer of being managed.Each network element can be managed 400 veneers at most, every day, the veneer of all management in per 15 minutes need be to network element carried out the collection of historical performance, needed in promptly one day to gather 96 times, each veneer on average reports 60 performance datas at every turn, need store the historical performance of gathering in 2 days by network element and calculate, then need the canned data record to add up to 60*400*96*2=4608000 (wherein the History Performance Data structure is identical).
2) from information record to be stored, can find some feature T (in the present embodiment, be also referred to as file feature information), all big data quantity information records are divided into the data acquisition that several have same alike result, and the number of data acquisition must be limited.Such as, the History Performance Data of gathering for said network element, can be with the acquisition time of History Performance Data as feature T, and carry out data according to this feature and divide.For example, information record to be stored can be divided into 96*2 data set according to collections in 15 minutes frequency once, each data acquisition attribute is identical, has comprised all History Performance Datas that all veneers that report performance (maximum 400) report in corresponding 15-min period.
As shown in Figure 2, the Large Volume Data of being stored in the embodiment of the invention is the History Performance Data that network element is gathered, file feature information T is set to network element and issues this temporal information constantly of collection historical performance, needs stored historical performance data can be divided into 96*2 data set according to this time information, each data acquisition comprises that interior all veneers of 15-min period report the performance data of network element, and each data acquisition is stored as an information log file.
Filename according to the value definition performance data files (in the present embodiment, being also referred to as the information log file) of selected temporal information is stored in the pairing History Performance Data set that collects of this time information in this performance data files.Such as, the temporal information 2009-1-30 13:00 that comprises all veneer historical performances of collection that network element issues among Fig. 2 in the filename of performance data files 1, relative therewith, storage is the History Performance Data that all veneers report network element in time period between 13: 15 on the 30th 13 o'clock to 2009 on the 30th January of January in 2009 in the performance data files 1.
The structure of the data of storing in each performance data files in the embodiment of the invention is as shown in Figure 3: for all data recording in the data acquisition that will store in the performance data files 1, storage block feature information Mn be set in the following information one of at least: information such as the groove bit address that reports, port address, Performance Detection point.Therefore preferably, chosen the single-board slot address among Fig. 3, reported the veneer number N of performance in can 15-min period, all data recording in this file have been divided into N data block according to the performance data files correspondence as storage block feature information Mn.Then, in performance data files, mark off N continuous storage block, data block of each storage block, preferred, all History Performance Data records that the History Performance Data total length that the continuous holding tank bit address of each storage block eigenwert, this groove position report, this groove position report.
The History Performance Data of being gathered with network element is an example below, describes the process of preferred storage, retrieval and the deletion of performance inventory file (being also referred to as the information log file) in conjunction with the accompanying drawings in detail.
Fig. 4 is the preferred flow charts according to the memory property log file of the embodiment of the invention.As shown in Figure 4, the memory property log file according to the embodiment of the invention mainly comprises the steps:
S402. choose network element and issue collection historical performance temporal information constantly as file feature information T, wherein network element was gathered once in per 15 minutes, needed in one day to gather 96 times, network element need be stored 2 days History Performance Data, like this, History Performance Data can be divided into 96*2=192 data set according to file feature information, promptly all History Performance Datas need be stored in 192 information log files altogether;
S404. define the filename of binary file according to the value of gathering historical performance temporal information constantly, whether 2 days canned data log files in the past searching this time information correspondence exist, if have the information log file before the then deletion earlier, then the pairing data acquisition of current information of time be stored in the information log file; If do not exist, then directly the pairing data acquisition of current information of time is stored in the information log file.
S406. for all data messages in the data acquisition, according to the groove bit address that reports as storage block feature information M1, and data acquisition is divided into the History Performance Data piece that several correspondences report with this, in the information log file of correspondence, use a storage block to store for a data block, preferably, the corresponding data recording that reports of the groove bit address information, History Performance Data block length that groove bit address correspondence reports and this groove position that report of storage.
Fig. 5 is the preferred flow charts according to the retrieval performance log file of the embodiment of the invention.As shown in Figure 5, the retrieval performance log file according to the embodiment of the invention mainly comprises the steps:
S502. at first obtain the filename of the binary file of all storages, temporal information in the extraction document name, mate (preferred with the temporal information in the search condition, mate with the temporal information in the search condition and to refer to: the temporal information in the filename is identical with the temporal information in the search condition), if eligiblely then open corresponding file, obtain file pointer (pointing to the file reference position), skip to step S504;
S504. read the single-board slot address information (promptly obtaining the storage block feature information of this storage block) of storing in the current indication storage block of file pointer, if it is (preferred that the value of this groove bit address does not meet search condition, the value of groove bit address does not meet search condition and refers to: the groove bit address is different with groove bit address in the search condition), skip to step S506; If the value of this groove bit address meets search condition, skip to step S508;
S506. read the reported data block length (that is, the length of corresponding storage block) of this groove bit address correspondence, the move pointer is skipped this length, thereby skips this storage block and point to next storage block, then finishes if arrive end of file, otherwise skips to step S504;
S508. read all records in this storage block, these records are exactly to meet the time in the search condition and the record of groove bit address.Preferably, when search condition relates to a plurality of storage block of retrieval, can after the record in having read this storage block, go to S506 and continue retrieval.
Fig. 6 is the preferred flow charts according to the deletion performance inventory file of the embodiment of the invention.Method according to the deletion performance inventory file of the embodiment of the invention may further comprise the steps:
S602. at first obtain the filename of the binary file of all storages, the value of the file feature information T in the extraction document name finds the information log file with the file feature information T that meets the deletion condition.If only contain file feature information in the deletion condition, then jump procedure S610; If the deletion condition also comprises storage block feature information, then open the information log file that is found, file pointer is pointed to the reference position of this document, skip to step S604;
S604. read the storage block feature information M in the current indication storage block of file pointer
n, if M
nValue do not meet the deletion condition (preferred, M
nValue do not meet the deletion condition and refer to: M
nDifferent with the storage block feature information in the deletion condition), skip to step S606; If M
nValue meet the deletion condition, skip to step S608;
S606. read this storage block length, the move pointer is skipped this storage block, thereby points to next storage block, then, skips to step S604;
S608. the data in this storage block are emptied, finish;
S610. directly with the information log file deletion that finds, finish.
To sum up, compared with prior art, the embodiment of the invention has the following advantages:
1) embodiment of the invention is according to the characteristics of the Large Volume Data that will store, extract wherein file feature information and carry out classification and storage, and with the filename of file feature information as the canned data log file, the information log file of making is managed more clear, makes things convenient for the user directly to search relevant information according to filename.
2) storage block feature information of utilizing Large Volume Data is divided different storage blocks with the information log file and is preserved different pieces of information piece in the data acquisition, thereby has made things convenient for operations such as the reading of the Large Volume Data in the information log file, deletions.
3) with respect to the configuration file log file attribute that utilizes of the prior art, thereby the mode that each file is managed, the method of embodiment of the invention record utilizes self filename to distinguish the file data content as eigenwert, thereby avoid configuration file to damage causing all file datas can not be by the serious consequence of normal management, and in the embodiment of the invention some file damage and can not have influence on the normal management of other file unusually.
Corresponding with above-mentioned search method is that the embodiment of the invention has also proposed a kind of indexing unit that writes down based on the information of embedded system.Describe this indexing unit in detail below in conjunction with accompanying drawing.
Fig. 7 is the synoptic diagram based on the searching system of the information of embedded system record according to the embodiment of the invention.As shown in Figure 7, the searching system based on the information of embedded system record according to the embodiment of the invention comprises: acquisition module 702, judge module 704 and read module 706.
Down, acquisition module 702 obtains the storage block feature information by file pointer storage block pointed in the information log file of embedded system in working order; Then, judge module 704 judges whether described storage block feature information meets search condition; Then, when described storage block feature information met described search condition, read module 706 read the content in the described file pointer storage block pointed.
The embodiment of the invention is searched different storage blocks in the information log file by storage block feature information, and does not need all the elements of comparison storage block, thereby has accelerated the operating speed of retrieval, has shortened retrieval time.
Preferably, above-mentioned indexing unit also comprises: first sort module 708, creation module 710, second sort module 712, memory module 714.These modules are used for the canned data log file.
By above-mentioned storage mode, can utilize the structure of being stored to accelerate follow-up retrieval and renewal operation, thereby increase the flexible row and the operability of configuration.
Need to prove, can in computer system, carry out in the step shown in the process flow diagram of accompanying drawing such as a set of computer-executable instructions, and, though there is shown logical order in flow process, but in some cases, can carry out step shown or that describe with the order that is different from herein.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the memory storage and carry out by calculation element, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. the search method based on the information record of embedded system is characterized in that, comprising:
In the information log file of embedded system, obtain storage block feature information by file pointer storage block pointed;
Judge whether described storage block feature information meets search condition;
If meet, then read the content in the described file pointer storage block pointed.
2. method according to claim 1 is characterized in that, if described storage block feature information does not meet described search condition, also comprises:
Obtain the length of described file pointer storage block pointed;
The value of described file pointer is added the length of the above storage block, point to next storage block;
Obtain storage block feature information by described file pointer next storage block pointed;
Whether the storage block feature information of judging described next storage block meets search condition;
If meet, then read the data in the described next storage block.
3. method according to claim 1 is characterized in that, in the information log file of embedded system, obtain the storage block feature information of the storage block pointed by file pointer before, obtain described information log file by following steps:
Obtain the filename corresponding file feature information of all canned data log files;
From all canned data log files, find information log file with the file feature information that meets described search condition.
4. method according to claim 3 is characterized in that, described file feature information comprises: the acquisition time of information record.
5. method according to claim 1 is characterized in that, in the information log file of embedded system, obtain the storage block feature information of the storage block pointed by file pointer before, also comprise:
According to file feature information information record to be stored is divided into a plurality of data acquisitions;
Create an information log file for each described data acquisition, wherein, the filename of the information log file of establishment is corresponding with the file feature information of this information log file;
Each described data acquisition is divided into a plurality of data blocks according to storage block feature information;
In the information log file of creating, use a storage block to store for each data block in the data acquisition corresponding with this information log file, wherein, each storage block canned data comprises: the storage block feature information of corresponding data block, the length of this storage block, and the content of this data block.
6. method according to claim 5 is characterized in that, uses after a storage block stores for each data block in the data acquisition corresponding with this information log file in the information log file of creating, and also comprises:
Reception carries the deletion information of deletion condition, and wherein, described deletion condition comprises the file feature information of information log file to be deleted;
In all canned data log files, find information log file with the file feature information that meets described deletion condition;
The information log file that deletion is found.
7. method according to claim 5 is characterized in that, uses after a storage block stores for each data block in the data acquisition corresponding with this information log file in the information log file of creating, and also comprises:
Reception carries the deletion information of deletion condition, and wherein, described deletion condition comprises file feature information and the storage block feature information that is used to delete;
In all canned data log files, find information log file with the file feature information that meets described deletion condition;
In the information log file that is found, search storage block with the storage block feature information that meets described deletion condition;
The storage block that deletion is found.
8. according to each the described method in the claim 1 to 7, it is characterized in that, described storage block feature information comprise following one of at least: the groove bit address information at veneer place, port address, Performance Detection point.
9. the indexing unit based on the information record of embedded system is characterized in that, comprising:
Acquisition module is used for information log file in embedded system and obtains storage block feature information by file pointer storage block pointed;
Judge module is used to judge whether described storage block feature information meets search condition;
Read module is used for reading the content of described file pointer storage block pointed when described storage block feature information meets described search condition.
10. device according to claim 9 is characterized in that, comprising:
First sort module was used for before the information log file of embedded system obtains the storage block feature information of the storage block pointed by file pointer, according to file feature information information record to be stored was divided into a plurality of data acquisitions;
Creation module is used to each described data acquisition to create an information log file, and wherein, the filename of the information log file of establishment is corresponding with the file feature information of this information log file;
Second sort module is used for each described data acquisition is divided into a plurality of data blocks according to storage block feature information;
Memory module, be used for using a storage block to store for each data block in the data acquisition corresponding with this information log file at the information log file of creating, wherein, each storage block canned data comprises: the storage block feature information of corresponding data block, the length of this storage block, and the content of this data block.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010177976A CN101819603A (en) | 2010-05-07 | 2010-05-07 | Embedded system based method and device for searching information record based on |
PCT/CN2011/071736 WO2011137684A1 (en) | 2010-05-07 | 2011-03-11 | Search method and device based on information records of embedded system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010177976A CN101819603A (en) | 2010-05-07 | 2010-05-07 | Embedded system based method and device for searching information record based on |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101819603A true CN101819603A (en) | 2010-09-01 |
Family
ID=42654700
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010177976A Pending CN101819603A (en) | 2010-05-07 | 2010-05-07 | Embedded system based method and device for searching information record based on |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101819603A (en) |
WO (1) | WO2011137684A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101980325A (en) * | 2010-09-20 | 2011-02-23 | 北京腾瑞万里科技有限公司 | Map sheet reading method and device |
CN102236718A (en) * | 2011-07-20 | 2011-11-09 | 中兴通讯股份有限公司 | Data query method and device |
WO2011137684A1 (en) * | 2010-05-07 | 2011-11-10 | 中兴通讯股份有限公司 | Search method and device based on information records of embedded system |
WO2013135059A1 (en) * | 2012-03-15 | 2013-09-19 | 北京播思无线技术有限公司 | Method for rapid data classification |
CN111221468A (en) * | 2018-11-26 | 2020-06-02 | 杭州海康威视系统技术有限公司 | Storage block data deleting method and device, electronic equipment and cloud storage system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1492362A (en) * | 2002-10-25 | 2004-04-28 | 联想(北京)有限公司 | Data back up and recovering method of embedded data bank |
CN1492363A (en) * | 2002-10-25 | 2004-04-28 | 联想(北京)有限公司 | Data storage and searching method of embedded system |
CN101187901A (en) * | 2007-12-20 | 2008-05-28 | 康佳集团股份有限公司 | High speed cache system and method for implementing file access |
CN101286157A (en) * | 2007-09-28 | 2008-10-15 | 深圳市天朗时代科技有限公司 | File retrieval method and apparatus and time stream file processor |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101819603A (en) * | 2010-05-07 | 2010-09-01 | 中兴通讯股份有限公司 | Embedded system based method and device for searching information record based on |
-
2010
- 2010-05-07 CN CN201010177976A patent/CN101819603A/en active Pending
-
2011
- 2011-03-11 WO PCT/CN2011/071736 patent/WO2011137684A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1492362A (en) * | 2002-10-25 | 2004-04-28 | 联想(北京)有限公司 | Data back up and recovering method of embedded data bank |
CN1492363A (en) * | 2002-10-25 | 2004-04-28 | 联想(北京)有限公司 | Data storage and searching method of embedded system |
CN101286157A (en) * | 2007-09-28 | 2008-10-15 | 深圳市天朗时代科技有限公司 | File retrieval method and apparatus and time stream file processor |
CN101187901A (en) * | 2007-12-20 | 2008-05-28 | 康佳集团股份有限公司 | High speed cache system and method for implementing file access |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011137684A1 (en) * | 2010-05-07 | 2011-11-10 | 中兴通讯股份有限公司 | Search method and device based on information records of embedded system |
CN101980325A (en) * | 2010-09-20 | 2011-02-23 | 北京腾瑞万里科技有限公司 | Map sheet reading method and device |
CN101980325B (en) * | 2010-09-20 | 2012-08-22 | 北京腾瑞万里科技有限公司 | Map sheet reading method and device |
CN102236718A (en) * | 2011-07-20 | 2011-11-09 | 中兴通讯股份有限公司 | Data query method and device |
WO2013135059A1 (en) * | 2012-03-15 | 2013-09-19 | 北京播思无线技术有限公司 | Method for rapid data classification |
CN111221468A (en) * | 2018-11-26 | 2020-06-02 | 杭州海康威视系统技术有限公司 | Storage block data deleting method and device, electronic equipment and cloud storage system |
CN111221468B (en) * | 2018-11-26 | 2023-10-13 | 杭州海康威视系统技术有限公司 | Storage block data deleting method and device, electronic equipment and cloud storage system |
Also Published As
Publication number | Publication date |
---|---|
WO2011137684A1 (en) | 2011-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102375853A (en) | Distributed database system, method for building index therein and query method | |
CN102419752B (en) | Industrial database message storage method | |
US8271456B2 (en) | Efficient backup data retrieval | |
CN104794228B (en) | A kind of search result provides method and device | |
CN103548024A (en) | A method for determining rules by providing data records in columnar data structures | |
US8225060B2 (en) | Data de-duplication by predicting the locations of sub-blocks within the repository | |
CN101819603A (en) | Embedded system based method and device for searching information record based on | |
CN104461390A (en) | Method and device for writing data into imbricate magnetic recording SMR hard disk | |
CN103902623A (en) | Method and system for accessing files on a storage system | |
CN101751475B (en) | Method for compressing section records and device therefor | |
CN105912687A (en) | Mass distributed database memory cell | |
CN103581331A (en) | Virtual machine on-line transfer method and system | |
CN110888837B (en) | Object storage small file merging method and device | |
JP2020518207A (en) | Lossless reduction of data using basic data sheaves, and performing multidimensional search and content-associative retrieval on losslessly reduced data using basic data sieves | |
JPH1131096A (en) | Data storage/retrieval system | |
CN104424219A (en) | Method and equipment of managing data documents | |
US20140358870A1 (en) | De-duplication deployment planning | |
CN114943287B (en) | System, method, equipment and medium for collecting and processing big data of computer | |
CN103186668A (en) | Method and device for processing data as well as data storage system based on key value data base | |
CN103473298A (en) | Data archiving method and device and storage system | |
CN104516677A (en) | Disk data read and write method and disk memory device | |
CN106648977A (en) | Recovery method and device of Android system file | |
CN101452422A (en) | Chip data read-write method, corresponding apparatus and system | |
US6804762B1 (en) | Method and system for garbage collection using a dynamically tuned write barrier | |
CN111831691B (en) | Data reading and writing method and device, electronic equipment 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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20100901 |