CN106909673A - A kind of implementation method of the data memory module for following database interface standard - Google Patents
A kind of implementation method of the data memory module for following database interface standard Download PDFInfo
- Publication number
- CN106909673A CN106909673A CN201710115519.8A CN201710115519A CN106909673A CN 106909673 A CN106909673 A CN 106909673A CN 201710115519 A CN201710115519 A CN 201710115519A CN 106909673 A CN106909673 A CN 106909673A
- Authority
- CN
- China
- Prior art keywords
- database
- order
- data
- module
- memory module
- 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
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/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
Abstract
The invention discloses a kind of implementation method of the data memory module for following database interface standard, including command mapping submodule.In itself, the data structure based on database distributes data cell to data storage.Command mapping submodule, for receiving the order that data application is sent, then is converted into the order that this data memory module is capable of identify that by this order.This module is compact, takes storage and internal memory very little;Because module is simple, running the module needs extra CPU overhead very little;Because the module is simple, therefore exploitation can be had by oneself, eliminate the cost of purchase database needs;The application not high to characteristic requirements such as the efficient, reliable, complete of database, motor synchronizings to those, this simple data memory module fully meets demand, even if the application higher to characteristic requirements such as the efficient, reliable, complete of database, motor synchronizings to those, also a kind of chance of the sustained improvement for stepping up these characteristics is provided to the developer for disposing the module.
Description
Technical field
The present invention relates to a kind of implementation method of data storage, belong to software field.
Background technology
Database has the characteristic such as efficient, reliable, complete, motor synchronizing, is the optimal choosing that operation system carries out data control
Select.Database Systems generally provide efficient data control and data retrieval function, and data manipulation is carried out using sql like language.
As shown in figure 1, the data access arrangement of as traditional database.Database Systems popular on the market are many at present:It is smaller
The Database Systems of type have:Mysql, MSSQL_SERVER etc., it is adaptable to which the large database of enterprise-level has:ORACEL,DB2
(IBM), INFORMIX (IBM) etc..Therefore System Architect, software developer get used to carrying out the software based on database
Design and programming.But database generally compares huge, it is necessary to extra occupancy storage and internal memory, runtime database needs extra
CPU overhead, database generally needs purchase, it is even more important that some applications are to the efficient, reliable, complete, certainly same of database
The characteristic requirements such as step are not high.
The content of the invention
To solve the above problems, the present invention provides a kind of realization side of the data memory module for following database interface standard
Method.
A kind of implementation method of the data memory module for following database interface standard, including command mapping submodule, bag
Include following steps:
1) data memory module is set up, with command mapping submodule;
2) in itself, the data structure based on database distributes data storage cell to data storage;
3) the command mapping submodule, for receiving the order that data application is sent, then is converted into this number by this order
The order being capable of identify that according to memory module.
When system uses certain database, the corresponding order of this database is converted the commands into, data access is carried out, when being
System does not use database, and when using data memory module, system carries out data access with this order.
Step 3) in, the specific method for converting the commands into the order that various commercial data bases are capable of identify that is, if number
It is order A to correspond to certain database according to library storage module and set the corresponding order of the database, then call this database
In correspondence order A order;If not finding corresponding database, then call instruction A.
The beneficial effect that the present invention is reached:
Using this data memory module for following database interface standard, because module is compact, storage and internal memory are taken
Very little;Because module is simple, running the module needs extra CPU overhead very little;Because the module is simple, therefore can have by oneself
Exploitation, eliminates the cost of purchase database needs;Will to characteristics such as the efficient, reliable, complete of database, motor synchronizings to those
Ask application not high, this simple data memory module fully meets demand, though for those to database it is efficient, can
By characteristic requirements applications higher such as, complete, motor synchronizings, also this is stepped up there is provided one kind to the developer for disposing the module
The chance of the sustained improvement of a little characteristics.
Brief description of the drawings
Fig. 1 is the data access arrangement figure of traditional database.
Fig. 2 is the data access arrangement figure of the data memory module for following database interface standard of this method.
Specific embodiment
Incorporated by reference to the data for shown in Fig. 2, being the data memory module for following database interface standard used in this method
Access system diagram.Wherein, data memory module is set up, with command mapping submodule;Data storage in itself, based on database
Data structure, distributes data storage cell;The command mapping submodule, for receiving the order that data application is sent, then will
This order is converted into the order that this data memory module is capable of identify that.
It is below the access command and traditional database issued according to the data memory module for following database interface standard
Order translation example.
Order A
If database storage module corresponds to certain database, then call the correspondence order A's of this lane database
Order.If not finding corresponding database, then call instruction A.
I.e.:
The order corresponding to order A of IF (data memory module=database 1), order A=database 1;
The order corresponding to order A of IF (data memory module=database 2), order A=database 2;
…
IF (data memory module=database N), the order corresponding to order A of order A=databases N;
ELSEIF orders A;
Order B
If database storage module corresponds to certain database, then call the correspondence order B's of this lane database
Order.If not finding corresponding database, then call instruction B.
I.e.:
The order corresponding to order B of IF (data memory module=database 1), order B=database 1;
The order corresponding to order B of IF (data memory module=database 2), order B=database 2;
…
IF (data memory module=database N), the order corresponding to order B of order B=databases N;
ELSEIF orders B;
…。
Claims (2)
1. a kind of implementation method of the data memory module for following database interface standard, including command mapping submodule, including
Following steps:
1) data memory module is set up, with command mapping submodule;
2) in itself, the data structure based on database distributes data storage cell to data storage;
3) the command mapping submodule, for receiving the order that data application is sent, converts the commands into various database energy
The order of enough identification;
When system uses certain database, the corresponding order of this database is converted the commands into, data access is carried out, when system does not have
Database is used, and when using data memory module, system carries out data access with this order.
2. implementation method as claimed in claim 1, it is characterised in that step 3) in, convert the commands into various database energy
The specific method of the order of enough identification is, if database storage module corresponds to certain database and to set the database corresponding
It is order A to order, then call the order of the correspondence order A of this lane database;If not finding corresponding database, that
Call instruction A.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710115519.8A CN106909673A (en) | 2017-03-01 | 2017-03-01 | A kind of implementation method of the data memory module for following database interface standard |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710115519.8A CN106909673A (en) | 2017-03-01 | 2017-03-01 | A kind of implementation method of the data memory module for following database interface standard |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106909673A true CN106909673A (en) | 2017-06-30 |
Family
ID=59209077
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710115519.8A Pending CN106909673A (en) | 2017-03-01 | 2017-03-01 | A kind of implementation method of the data memory module for following database interface standard |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106909673A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1585945A (en) * | 2001-09-28 | 2005-02-23 | 甲骨文国际公司 | Mechanism for mapping XML schemas to object-relational database systems |
CN103092874A (en) * | 2011-11-01 | 2013-05-08 | 镇江华扬信息科技有限公司 | XML (Extensive Makeup Language) based isomerous data exchange method |
CN104252510A (en) * | 2013-11-05 | 2014-12-31 | 深圳市华傲数据技术有限公司 | SQL (Structural Query Language) language translation method and SQL language translation device |
-
2017
- 2017-03-01 CN CN201710115519.8A patent/CN106909673A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1585945A (en) * | 2001-09-28 | 2005-02-23 | 甲骨文国际公司 | Mechanism for mapping XML schemas to object-relational database systems |
CN103092874A (en) * | 2011-11-01 | 2013-05-08 | 镇江华扬信息科技有限公司 | XML (Extensive Makeup Language) based isomerous data exchange method |
CN104252510A (en) * | 2013-11-05 | 2014-12-31 | 深圳市华傲数据技术有限公司 | SQL (Structural Query Language) language translation method and SQL language translation device |
Non-Patent Citations (1)
Title |
---|
李昭原,等: "《数据库技术新进展》", 31 May 1997 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104714972B (en) | Database divides table foundation and querying method | |
US20240012810A1 (en) | Clause-wise text-to-sql generation | |
EP3751426A1 (en) | System and method for migration of a legacy datastore | |
CN104133772A (en) | Automatic test data generation method | |
US20140237463A1 (en) | Dynamically generate and execute a context-specific patch installation procedure on a computing system | |
CN105824957A (en) | Query engine system and query method of distributive memory column-oriented database | |
CN107329987A (en) | A kind of search system based on mongo databases | |
CN108446313B (en) | Data format conversion method and device | |
CN104090901A (en) | Method, device and server for processing data | |
CN110716952A (en) | Multi-source heterogeneous data processing method and device and storage medium | |
CN106528898A (en) | Method and device for converting data of non-relational database into relational database | |
CN103425632A (en) | Serializing method, device and processor | |
US20180060364A1 (en) | Database scheme for storing generic data | |
CN103970791A (en) | Method and device for recommending video from video database | |
CN103488702A (en) | SorlCloud based unstructured data retrieval method and system | |
CN111858730A (en) | Data importing and exporting device, method, equipment and medium of graph database | |
CN110502645A (en) | Information query method and device | |
CN113407565A (en) | Cross-database data query method, device and equipment | |
CN103501341A (en) | Method and device for establishing Web service | |
CN106909673A (en) | A kind of implementation method of the data memory module for following database interface standard | |
CN111475471B (en) | Information system for industrial design resource sharing | |
CN111177234A (en) | Device and method for rapidly processing document type data file | |
US9679015B2 (en) | Script converter | |
CN104598464A (en) | Information processing method and electronic equipment | |
CN105095225A (en) | Method and apparatus for obtaining file data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170630 |