CN101430705B - Memory method and apparatus based on embedded database - Google Patents

Memory method and apparatus based on embedded database Download PDF

Info

Publication number
CN101430705B
CN101430705B CN2008101795392A CN200810179539A CN101430705B CN 101430705 B CN101430705 B CN 101430705B CN 2008101795392 A CN2008101795392 A CN 2008101795392A CN 200810179539 A CN200810179539 A CN 200810179539A CN 101430705 B CN101430705 B CN 101430705B
Authority
CN
China
Prior art keywords
sign
storage area
data
group data
embedded database
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.)
Active
Application number
CN2008101795392A
Other languages
Chinese (zh)
Other versions
CN101430705A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2008101795392A priority Critical patent/CN101430705B/en
Publication of CN101430705A publication Critical patent/CN101430705A/en
Application granted granted Critical
Publication of CN101430705B publication Critical patent/CN101430705B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a storage method based on an embedded database and a device thereof. The method comprises the following steps: a first storage region and a second storage region are set on a memory in advance, wherein, the memory is used for storing data of the embedded database; a plurality of groups of data of the embedded database are subject to updating operation, furthermore, each group of updated data is stored in the first storage region; if a plurality of groups of updated data are successfully stored to the first storage region, a plurality of groups of data stored in the first storage region are copied to the second storage region. By means of the technical proposal, the system can be recovered once again when severe error happens in saving process, and the position of error data can be monitored by setting the two storage regions on the memory and respectively storing data on the two regions.

Description

Storage means and device based on embedded database
Technical field
The present invention relates to the communications field, relate in particular to a kind of storage means and device based on embedded database.
Background technology
Embedded database is that unit is kept on the storer with the table, if revise the data of embedded database in internal memory, need be saved in new data on the storer again, but new data is being saved in the process of storer, if system's power down or reset, the part that can cause being saved in the storer is a new data, and part is the situation of legacy data, can destroy the consistance of data like this.
At present, mainly adopt the mode of XML to store data, the method in past is after having revised a table new data to be saved in storer with a kind of intermediate form, and the Bulk Rename Utility with intermediate form is the file of XML then.If revised 3 tables simultaneously, all preserve when the 1st, 2 table and to finish, and system reset when preserving the 3rd table, after the data of the 1st, 2 table were revised exactly so, the 3rd table data were before revising.Can not guarantee the consistance and the correctness of embedded data database data like this.
Summary of the invention
Consider exist in the correlation technique in the data storage procedure of embedded database, can not guarantee the problem of the consistance of embedded data database data and correctness and propose the present invention, for this reason, fundamental purpose of the present invention is to provide a kind of storage means and device based on embedded database, to address the above problem.
According to an aspect of the present invention, provide a kind of storage means based on embedded database.
Storage means based on embedded database according to the present invention comprises: set in advance first storage area and second storage area on storer, wherein, storer is used to store the data of embedded database; Multi-group data to embedded database upgrades operation, and every group of data for finishing renewal store first storage area respectively into; All successfully store first storage area into if will finish the multi-group data of renewal, then the multi-group data of storing in first storage area is copied in second storage area.
Further, method also comprises: fail if multi-group data stored in first storage area, then again the multi-group data of embedded database is upgraded operation.
In addition, before upgrading operation, this method also comprises: set in advance indication and store the multi-group data of revising into first under first storage area sign, and indication is stored the amended multi-group data in first storage area into second under second storage area sign; The multi-group data of revising in the embedded database stored in first storage area comprise: in internal memory, write first sign, and the multi-group data of revising in the embedded database is stored in first storage area; The multi-group data of storing in first storage area copied in second storage area comprise: in internal memory, write second sign, and the multi-group data of storing in first storage area is copied in second storage area.
Preferably, after writing first sign, this method also comprises: calculate and preserve the first sign corresponding check sign indicating number, and first sign and the first sign corresponding check sign indicating number are copied in the storer; After writing second sign, this method also comprises: write second sign and cover first sign in internal memory, calculate and preserve the second sign corresponding check sign indicating number, and second sign and the second sign corresponding check sign indicating number are copied to covering first sign and the first sign corresponding check sign indicating number in the storer.
Further, this method also comprises: read sign current in the internal memory, and calculate the reference check code of the sign read, if the sign corresponding check sign indicating number of storing in the reference check code that calculates and the internal memory is consistent, then read the indicated storage area of sign, wherein, be designated first sign or second sign.
Wherein, if the reference check code that reads in internal memory is inconsistent with sign corresponding check sign indicating number, this method also comprises: read sign current in the storer, and calculate the reference check code of the sign read, if the sign corresponding check sign indicating number of storing in the reference check code that calculates and the storer is consistent, then read the indicated storage area of sign, wherein, be designated first sign or second sign.
Further, said method also comprises: for multi-group data is provided with corresponding Data Identification respectively, Data Identification when its corresponding data are stored in first storage area, be written to internal memory and cover before the Data Identification that writes; Store first storage area when failure at the multi-group data that will finish renewal, reading of data sign from internal memory, and the data of the Data Identification that reads are defined as storing the data of failure.
According to another aspect of the present invention, provide a kind of memory storage based on embedded database.
Memory storage based on embedded database according to the present invention comprises: first is provided with module, is used for setting in advance on storer first storage area and second storage area, and wherein, storer is used to store the data of embedded database; Update module is used for the multi-group data of embedded database is upgraded operation, and every group of data for finishing renewal store first storage area respectively into; Processing module when the multi-group data that is used to finish renewal all successfully stores first storage area into, copies the multi-group data of storing in first storage area in second storage area to.
Further, this device also comprises: second is provided with module, be used to be provided with indication and store the multi-group data of revising into first under first storage area sign, and indication is stored the amended multi-group data in first storage area into second under second storage area sign; Writing module is used for writing first sign and/or second sign at internal memory; Correspondingly, processing module is used for the multi-group data that embedded database is revised is stored in first storage area, and/or the multi-group data of storing in first storage area is copied in second storage area.
By above-mentioned at least one technical scheme of the present invention, by two storage areas are set on storer, and data are kept at respectively on these two zones, can recover again when the system that guaranteed in the deposit process gross error takes place, and can monitor the position that misdata takes place.
Description of drawings
Accompanying drawing is used to provide further understanding of the present invention, and constitutes the part of instructions, is used from explanation the present invention with embodiments of the invention one, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the process flow diagram based on the storage means of embedded database according to the inventive method embodiment;
Fig. 2 is the processing flow chart according to the data storage procedure of the inventive method embodiment;
Fig. 3 is the processing flow chart according to the data load process of the inventive method embodiment;
Fig. 4 is the structured flowchart based on the memory storage of embedded database according to apparatus of the present invention embodiment;
Fig. 5 is the preferred structure frame diagram based on the memory storage of embedded database according to apparatus of the present invention embodiment.
Embodiment
Functional overview
As above-mentioned description, the correctness of data is most important concerning embedded database, after in internal memory, data being rewritten, if can not be correctly with revised data storage on storer, the data of meeting loading error when system loads once more, thus system's run-time error caused.Based on this, the invention provides a kind of structure of using the binocular record, guarantee in data storage procedure, to make a mistake and also can carry out system's rollback, and increase by three identification documents and be used for the position that the designation system storing process makes a mistake, convenient system mistake is positioned.
One or more devices of data can be represented to be used to store in term " storage medium ", comprises ROM (read-only memory) (ROM), random-access memory (ram), magnetic RAM, magnetic core storage, magnetic disk storage medium, optical storage media, flash memory device and/or be used for the other machines computer-readable recording medium of canned data.Term " machine readable media " includes but not limited to that portable or fixed-storage device, light storage device, radio channel maybe can store, hold or carry various other media of instruction and/or data.
In addition, can make up by hardware, software, firmware, middleware, microcode, hardware description language or its and realize embodiment.When realizing, can in such as the machine readable media of storage medium, store the program code or the sign indicating number section that are used to carry out necessary task with software, firmware, middleware or microcode.(a plurality of) processor can be carried out necessary task.The sign indicating number section can be represented the combination in any of process, function, subroutine, program, routine, subroutine, module, object, software package, class or instruction, data structure or program language.By transmission and/or reception information, data, independent variable or memory contents the sign indicating number section is coupled to another yard section or hardware circuit.Information, independent variable, parameter, data etc. can be transmitted, transmit or transmit via any desired manner that comprises memory sharing, message transmission, token transmission, Network Transmission etc.
Under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.
Describe the present invention in detail below in conjunction with accompanying drawing.
Method embodiment
According to the embodiment of the invention, provide a kind of storage means based on embedded database.
Need to prove that for convenience of description, illustrated and described the technical scheme of method embodiment of the present invention hereinafter with the form of step, shown hereinafter step can be carried out in the computer system such as a set of computer-executable instructions.Though in relevant accompanying drawing, logical order has been shown, in some cases, can have carried out step shown or that describe with the order that is different from herein.
Fig. 1 is the process flow diagram based on the storage means of embedded database according to the embodiment of the invention, and as shown in Figure 1, this method may further comprise the steps (step S102 is to step S106):
Step S102 sets in advance first storage area and second storage area on storer, wherein, storer is used to store the data of embedded database;
Step S104 the multi-group data of embedded database is upgraded operation, and every group of data for finishing renewal stores first storage area respectively into;
Step S106 successfully stores first storage area into if will finish the multi-group data of renewal, then the multi-group data of storing in first storage area is copied in second storage area; If multi-group data stored in first storage area fail, then again the multi-group data of embedded database is upgraded operation.
In specific implementation process, can set in advance indication and store the multi-group data of revising into first under first storage area sign, and indication is stored the amended multi-group data in first storage area into second under second storage area sign; Like this, the multi-group data of revising in the embedded database stored in first storage area comprise: in internal memory, write first sign, and the multi-group data of revising in the embedded database stored in first storage area, calculate and preserve the first sign corresponding check sign indicating number, and first sign and the first sign corresponding check sign indicating number are copied in the storer; The multi-group data of storing in first storage area copied in second storage area comprise: in internal memory, write second sign, in internal memory, write second sign and cover first sign, calculate and preserve the second sign corresponding check sign indicating number, and second sign and the second sign corresponding check sign indicating number copied to cover first sign and first in the storer and identify the corresponding check sign indicating number, and the multi-group data of storing in first storage area is copied in second storage area.
When system powers on, read sign current in the internal memory, and calculate the reference check code of the sign read, if the sign corresponding check sign indicating number of storing in the reference check code that calculates and the internal memory is consistent, then read the indicated storage area of sign, wherein, be designated first sign or second sign, if the reference check code that reads in internal memory is inconsistent with sign corresponding check sign indicating number, reads sign current in the storer, and calculate the reference check code of the sign that reads, if the sign corresponding check sign indicating number of storing in the reference check code that calculates and the storer is consistent, then read the indicated storage area of sign, wherein, be designated first sign or second sign.
The technical scheme that provides by the embodiment of the invention, by two storage areas are set on storer, and data are kept at respectively on these two zones, can recover again when the system that guaranteed in the deposit process gross error takes place, and can monitor the position that misdata takes place.
Below the embodiment of the invention is elaborated, in specific implementation process, mainly be divided into file organization form process (corresponding to above-mentioned step S102), data storage (corresponding to above-mentioned step S104) and three processes of data load (corresponding to above-mentioned step S106), below each process be described.
The first, file organization form process
About storer: the catalogue that under the operation catalogue of system, increases by two sane levels, a catalogue is used to preserve current data, be called backup directory (promptly, first memory mentioned above), another catalogue is used to preserve Backup Data, become current directory (that is, mentioned above second memory).
About reserved memory (that is, internal memory mentioned above): flag is set, and coming the judgement system according to the system sign position of logo file is from the current directory loading data, still from the backup directory loading data.On the reserved memory of system, open up a zone and be used to preserve the logo file of deposit process, under the operation catalogue, preserve the copy of the data of embedded database with binary mode, under the normal condition, the copy and the data content in the reserved memory of the data of preserving under backup directory and the current directory are in full accord.Wherein, preserved cyclic redundancy check (CRC) (Cyclic Redundancy Check abbreviates CRC as) proof test value in the reserved memory, total number of the table in the embedded database, the zone bit of above-mentioned setting, the zone bit (that is, mentioned above Data Identification) of every table data storage.
The second, data storage procedure
Storing process with whole data is divided into three phases in advance: the phase one is the starting stage, and data are stored, and wherein, the process of last storage data does not make a mistake, and the data of storing in reserved memory are correct data; Subordinate phase is the preservation stage, will need data updated to be saved under the backup directory; Phase III is the copy stage, will upgrade successful copying data in the backup directory under current directory.
System provides the interface of storage data, and this interface is unit with the set, can store single table and table in batches.Because the maximum table number that system supports at present is 256, therefore set has 256, and each represents a table, if a certain table needs to preserve, just corresponding bit is changed to effectively.Can resolve this in the function body gathers and judges which table needs to preserve.
In specific implementation process, with the mark position of system sign position and the table that needs to preserve is the phase one, begin the data layout of the data in the internal memory with XML is saved in the backup directory, preserve the zone bit that a table just will show and be set to subordinate phase, promptly successfully data have been saved in the table in the backup directory, if in the process that table is stored into backup directory, make a mistake, the zone bit of this table is the phase one, promptly data are not saved in the table in the backup directory, when all tables that need preserve all preserved finish after, be the phase III with the system banner position.Copy the data on all tables that need preserve to current directory from backup directory, copying successfully a table, just will to show the mark position accordingly be the phase one, if during will showing to copy to the process of current directory, make a mistake from backup directory, the zone bit of this table is the phase III, promptly do not copy data to the current directory table from backup directory, after all tables have all copied success, be the phase one with the system sign position, storing process finishes.
Below in conjunction with Fig. 2 the data storing process is described.
Step S201, first reading system zone bit, according to the residing stage of system sign position judgment data storing process, deposit last time makes a mistake with regard to illustrative system if zone bit is undesired.If the system sign position is the system sign position that is used to indicate the starting stage, then enter into step S202, if the system sign position is the system sign position that is used to indicate subordinate phase, then enter into step S209, if the system sign position is the system sign position that is used to indicate the phase III, then enter into step S210;
Step S202 writes the system sign position that is used to indicate subordinate phase;
Step S203 judges whether to also have table to need to preserve, if judged result enters into step S204 for being, otherwise enters into step S205;
Step S204 is saved in amended all data under the backup directory, and writes the system sign position that is used to indicate the phase III;
Step S205 writes the system sign position that is used to indicate the phase III;
Step S206 judges whether to also have table to need copy, if judged result enters into step S207 for being, otherwise enters into step S208;
Step S207 arrives current directory with copying data, and writes the system sign position that is used to indicate the phase one;
Step S208 writes the system sign position that is used to indicate the phase one;
Step S209, if the system sign position of reading is a subordinate phase, illustrating that mistake occurs in is saved in backup directory following time with data, need earlier the data of mistake to be recovered, the table that makes a mistake is saved in backup directory, copy table to current directory then, the table that is about to be denoted as in the identification document subordinate phase copies current directory to from backup directory, and modified logo file correspondingly;
Step S210 if the system sign position of reading is the phase III, illustrates that mistake occurs in copying data when the current directory, copies the table that makes a mistake under the current directory to again.Begin the deposit process then, the mark position with logo file is a subordinate phase earlier, and data are saved in backup directory, and logo file is put the phase III, and data are copied to current directory from backup directory, at last logo file is changed to the phase one.
The 3rd process, data load process
Data load is to judge according to the system sign position in the logo file, if the system sign position of logo file is phase one and subordinate phase, just show that available partial data is under current directory, load the data under the current directory this moment, if the system sign position of logo file is the phase III, just show available partial data under backup directory, load the data under the backup directory this moment; If it is the phase one that logo file does not exist with regard to the initialization flag file, load the data under the respective directories.Three logo files synchronously because three logo files under normal circumstances all equate, therefore, all must be synchronized in other two logo files no matter which logo file is operated.When database powers on, the function that can provide a logo file to select, this function is not with parameter, and function is to be used for the effective document of three logo files is chosen.The principle of selecting is to be elder generation with the system sign position of preserving in the reserved memory, and then judge the copy of other two logo files, detailed process is: at first judge by CRC check whether the system sign position in the reserved memory is effective, because if the situation of system's power down occurs, content in the reserved memory can be rewritten at random, if the zone bit of preserving in keeping is effective, then according to the zone bit of the logo file of preserving in keeping come the judgement system from current directory still from the backup directory loading data.If reserved memory content invalid, then judge the copy of reserved memory, if copy is effective, then come loading data according to the system sign position of logo file copy, if reserved memory and its copy are all invalid, then reinitialize the copy of reserved memory and reserved memory, all be initialized as the phase one.
Below in conjunction with Fig. 3 this data load process is described.
Step S301, whether the judgement symbol file exists, if judged result enters into step S302 for being, otherwise enters step S305;
Step S302, the storage mark position of reading logo file;
Step S303, zone bit are phase one and subordinate phase;
Step S304, loading data from the current directory of system;
Step S305 creates logo file and is initialized as phase one of storing process;
Step S306, loading data from the backup directory of system.
Device embodiment
According to the embodiment of the invention, provide a kind of memory storage based on embedded database.
Fig. 4 shows the memory storage synoptic diagram based on embedded database according to the embodiment of the invention, and as shown in Figure 4, this device comprises module 10, update module 20 and processing module 30 are set.
First is provided with module 10, is used for setting in advance on storer first storage area and second storage area, and wherein, storer is used to store the data of embedded database; Update module 20 is connected to first module 10 is set, and be used for the multi-group data of embedded database is upgraded operation, and every group of data for finishing renewal stores first storage area respectively into; Processing module 30 is connected to first module 10 and update module 20 is set, and when the multi-group data that is used to finish renewal all successfully stores first storage area into, the multi-group data of storing in first storage area is copied in second storage area.
Fig. 5 shows the preferred structure frame diagram based on the memory storage of embedded database according to the embodiment of the invention, and as shown in Figure 5, on the basis of device shown in Figure 4, this device comprises that also second is provided with module 40 and writing module 50.
Second is provided with module 40, be used to be provided with indication and store the multi-group data of revising into first under first storage area sign, and indication is stored the amended multi-group data in first storage area into second under second storage area sign; Writing module 50 is connected to second module 40 is set, and is used for writing second at internal memory first sign and/or second sign that module 40 is provided with is set; Processing module 30, be connected to writing module 50, be used for after writing module 50 writes first sign, the multi-group data of revising in the embedded database is stored in first storage area, and/or after writing module 50 writes second sign, the multi-group data of storing in first storage area is copied in second storage area.
The memory storage that provides by the embodiment of the invention based on embedded database, by two storage areas are set on storer, and data are kept at respectively on these two zones, can recover again when the system that guaranteed in the deposit process gross error takes place, and can monitor the position that misdata takes place.
As mentioned above, by means of storage means and/or the device based on embedded database provided by the invention, by two storage areas are set on storer, and data are kept at respectively on these two zones, can recover again when the system that guaranteed in the deposit process gross error takes place, and can monitor the position that misdata takes place.For example preserve two sets of data in electric board, in the process of preserving data, if make a mistake, data can be carried out rollback so; The logo file of newly-increased deposit can indicate the table that storing process made a mistake and makes a mistake in which in step.
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 (8)

1. the storage means based on embedded database is characterized in that, comprising:
Set in advance first storage area and second storage area on storer, wherein, described storer is used to store the data of embedded database;
Multi-group data to described embedded database upgrades operation, and, for every group of data finishing renewal, store described first storage area respectively into;
All successfully store described first storage area into if will finish the multi-group data of renewal, then the described multi-group data of storing in described first storage area copied in described second storage area,
Wherein, upgrade before the operation, described method also comprises: set in advance the described multi-group data that indication will revise and store the sign of first under described first storage area into, and indication will the amended described multi-group data in described first storage area be stored second under described second storage area into and identified;
The described multi-group data of revising in the described embedded database stored in described first storage area comprise: in internal memory, write described first sign, and the described multi-group data of revising in the described embedded database is stored in described first storage area;
The described multi-group data of storing in described first storage area copied in described second storage area comprise: in described internal memory, write described second sign, and the described multi-group data of storing in described first storage area is copied in described second storage area.
2. method according to claim 1 is characterized in that, described method also comprises:
If described multi-group data stored in described first storage area fail, then again the multi-group data of described embedded database is upgraded operation.
3. method according to claim 1 and 2 is characterized in that, after described first sign of said write, also comprises:
Calculate and preserve the described first sign corresponding check sign indicating number, and described first sign and the described first sign corresponding check sign indicating number are copied in the described storer.
4. method according to claim 1 and 2 is characterized in that, after described second sign of said write, also comprises:
Described second sign that writes in described internal memory covers described first sign, calculate and preserve the described second sign corresponding check sign indicating number, and described second sign and the described second sign corresponding check sign indicating number are copied to described first sign of covering and the described first sign corresponding check sign indicating number in the described storer.
5. method according to claim 1 and 2 is characterized in that, described method also comprises:
Read sign current in the described internal memory, and calculate the reference check code of the described sign read, if that calculates is described consistent with reference to the described sign corresponding check sign indicating number of storing in check code and the described internal memory, then read storage area corresponding in the process of the indicated storage data of described sign, wherein, described described first sign or described second sign of being designated.
6. method according to claim 5 is characterized in that, if calculating is described inconsistent with reference to check code and described sign corresponding check sign indicating number, described method also comprises:
Read sign current in the described storer, and calculate the reference check code of the described sign from described storer, read, if that calculates is described consistent with reference to the described sign corresponding check sign indicating number of storing in check code and the described storer, then read corresponding storage area in the process of the indicated storage data of described sign in the described storer, wherein, described described first sign or described second sign of being designated.
7. method according to claim 1 and 2 is characterized in that, described method also comprises:
For described multi-group data is provided with corresponding Data Identification respectively, described Data Identification when its corresponding data are stored in first storage area, be written to described internal memory and cover before the Data Identification that writes;
When the multi-group data that will finish renewal stores the failure of described first storage area into, reading of data sign from described internal memory, and the data of the described Data Identification correspondence that will read are defined as storing the data of failure.
8. the memory storage based on embedded database is characterized in that, comprising:
First is provided with module, is used for setting in advance on storer first storage area and second storage area, and wherein, described storer is used to store the data of embedded database;
Update module is used for the multi-group data of described embedded database is upgraded operation, and, for every group of data finishing renewal, store described first storage area respectively into;
When processing module, the multi-group data that is used to finish renewal all successfully store described first storage area into, the described multi-group data of storing in described first storage area is copied in described second storage area;
Second is provided with module, be used to be provided with the described multi-group data that indication will revise and store the sign of first under described first storage area into, and indication will the amended described multi-group data in described first storage area be stored second under described second storage area into and identified;
Writing module is used for writing described first sign and/or described second sign at internal memory;
Described processing module is used for the described multi-group data that described embedded database is revised is stored in described first storage area, and/or the described multi-group data of storing in described first storage area is copied in described second storage area.
CN2008101795392A 2008-11-29 2008-11-29 Memory method and apparatus based on embedded database Active CN101430705B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101795392A CN101430705B (en) 2008-11-29 2008-11-29 Memory method and apparatus based on embedded database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101795392A CN101430705B (en) 2008-11-29 2008-11-29 Memory method and apparatus based on embedded database

Publications (2)

Publication Number Publication Date
CN101430705A CN101430705A (en) 2009-05-13
CN101430705B true CN101430705B (en) 2011-01-19

Family

ID=40646099

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101795392A Active CN101430705B (en) 2008-11-29 2008-11-29 Memory method and apparatus based on embedded database

Country Status (1)

Country Link
CN (1) CN101430705B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104111897B (en) * 2013-04-16 2017-06-13 华为技术有限公司 A kind of data processing method, device and computer system
CN103391246A (en) * 2013-08-02 2013-11-13 盛科网络(苏州)有限公司 Message processing method and device
CN104866388B (en) * 2014-02-24 2021-04-09 腾讯科技(北京)有限公司 Data processing method and device
CN106649654A (en) * 2016-12-12 2017-05-10 京信通信技术(广州)有限公司 Data updating method and device
CN107257281B (en) * 2017-05-31 2020-07-28 百富计算机技术(深圳)有限公司 Method, apparatus and computer readable storage medium for NOR F L ASH storage key record
CN111143899A (en) * 2018-11-06 2020-05-12 中兴通讯股份有限公司 Method and device for storing data, storage medium and electronic device
CN111221474B (en) * 2020-01-02 2023-05-26 广州虎牙科技有限公司 Data storage method, device, equipment and storage medium
CN112667650B (en) * 2020-12-28 2024-05-28 北京华大智宝电子系统有限公司 Database updating method and device
CN113434338A (en) * 2021-06-25 2021-09-24 苏州伟创电气科技股份有限公司 Fault-tolerant method, device and equipment for data storage and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1352769A (en) * 1999-06-10 2002-06-05 贝勒加特投资公司 Arrangements storing different versions of a set of data in separate memory area and method for updating a set of data in a memory
CN1776649A (en) * 2004-11-18 2006-05-24 国际商业机器公司 Method and system for managing atomic updates on metadata tracks in a storage system
CN1831786A (en) * 2005-12-14 2006-09-13 兆日科技(深圳)有限公司 Data completeness protection method of flash storage

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1352769A (en) * 1999-06-10 2002-06-05 贝勒加特投资公司 Arrangements storing different versions of a set of data in separate memory area and method for updating a set of data in a memory
CN1776649A (en) * 2004-11-18 2006-05-24 国际商业机器公司 Method and system for managing atomic updates on metadata tracks in a storage system
CN1831786A (en) * 2005-12-14 2006-09-13 兆日科技(深圳)有限公司 Data completeness protection method of flash storage

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨进才等.嵌入式实时数据库系统的存储管理.小型微型计算机系统.2003,24(1),42-45. *

Also Published As

Publication number Publication date
CN101430705A (en) 2009-05-13

Similar Documents

Publication Publication Date Title
CN101430705B (en) Memory method and apparatus based on embedded database
CN103473067B (en) Built-in Linux subregion and data restoration method, system and system development method
CN103473099B (en) Software upgrading method and system for mobile terminal
KR101143112B1 (en) Applying custom software image updates to non-volatile storage in a failsafe manner
US6314567B1 (en) Apparatus and method for transferring state data when performing on-line replacement of a running program code and data
EP1738256B1 (en) Method and apparatus for reliably updating a stored version of content
US20110145807A1 (en) Method and device for updating a computer application
JP4777426B2 (en) Apparatus, system and method for accessing persistent files in NON-EXECUTE-IN-PLACE flash memory
CN104239082A (en) Hot patching implementation method of embedded system
JP2005044370A (en) Method and system for tracing link of object
CN103577574A (en) High-reliability linear file system based on nand flash
JPH03110652A (en) Computer device
CN110162429A (en) System repair, server and storage medium
KR20070119356A (en) Componentization of software
CN111562934A (en) Software system upgrading method based on hot patch, terminal and storage medium
CN105224309A (en) A kind of method and apparatus transferring function
CN101872306A (en) Embedded system for realizing software updating and software backup and implementation method thereof
US11144299B2 (en) Firmware updating method
US8245226B2 (en) Offline migration from prior operating system installation
CN112882746B (en) Application program updating method and device, storage medium and computer equipment
US9535796B2 (en) Method, apparatus and computer for data operation
JP2000137604A (en) System for succeeding data
JP2001101087A (en) Memory and memory controlling method
CN113190244A (en) Method and device for upgrading wireless module, computer equipment and storage medium
US20050149270A1 (en) Componentware creating method, apparatus and recording 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