CN109189794A - A kind of data mechanism management configuration system and method for memory database - Google Patents
A kind of data mechanism management configuration system and method for memory database Download PDFInfo
- Publication number
- CN109189794A CN109189794A CN201811067204.1A CN201811067204A CN109189794A CN 109189794 A CN109189794 A CN 109189794A CN 201811067204 A CN201811067204 A CN 201811067204A CN 109189794 A CN109189794 A CN 109189794A
- Authority
- CN
- China
- Prior art keywords
- data
- memory database
- mdb
- sal
- configuration
- 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
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/0223—User address space allocation, e.g. contiguous or non contiguous base addressing
- G06F12/023—Free address space management
- G06F12/0238—Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
- G06F12/0246—Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory in block erasable memory, e.g. flash memory
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention relates to a kind of data mechanism management configuration system and methods of memory database characterized by comprising login configurations module logs in and configure memory database, creates corresponding configuration data table, typing configuration data example;Data read module reads the data in memory database, and code calls MDB by SAL and inquires corresponding allocation list, and MDB returns to corresponding enumerated value to caller after getting table data;Database update module updates memory database, calls MDB by SAL, after the upper MDB of connection, execute insert delete update order, and submit and save update result.
Description
Technical field
The invention belongs to memory database configuration technology fields, and in particular to a kind of data mechanism management of memory database
Configure system and method.
Background technique
In many software development process, front-end interface has many comboboxs, mono-/multi- select the interface of frame enumerated value and
Operational various type enumerated values etc. are usually to write extremely in code, if encountering demand change, enumerated value needs to change
If just need and backstage colleague confirm enumerated value alteration, then modify code, correspondence will be modified every time by having altered
Code, influence whether code stability in this way.
In view of the situation, the data of enumerated value etc can be sometimes configured in database, rather than write extremely in generation
In code.But be configured in database and will lead to program load slowly, these configuration datas speed itself is read from database
With regard to slow.This is in place of the deficiencies in the prior art.
Therefore, in view of the above-mentioned drawbacks in the prior art, provide and design the data mechanism management of memory database a kind of and match
Set system and method;To solve drawbacks described above in the prior art, it is necessary.
Summary of the invention
It is an object of the present invention to design a kind of memory database in view of the above-mentioned drawbacks of the prior art, providing
Data mechanism management configuration system and method, to solve the above technical problems.
To achieve the above object, the present invention provides following technical scheme:
A kind of data mechanism management configuration system of memory database characterized by comprising
Login configurations module logs in and configures memory database, creates corresponding configuration data table, typing configuration data example;
Data read module reads the data in memory database, and code calls MDB by SAL and inquires corresponding allocation list,
MDB returns to corresponding enumerated value to caller after getting table data, calls memory database to read in this way
Configuration data;
Database update module updates memory database, calls MDB by SAL, in connection after MDB, execution insert
Delete update order, and submit preservation update result.
Preferably, typing configuration data example includes enumerated value and field Type in login configurations module.
The present invention also provides a kind of data mechanism management configuration methods of memory database, which is characterized in that including following
Step:
S1: logging in and configures memory database, creates corresponding configuration data table, typing configuration data example;
S2: reading the data in memory database, and code calls MDB by SAL and inquires corresponding allocation list, and MDB is got
Corresponding enumerated value is returned to caller after table data;
S3: updating memory database, calls MDB by SAL, after the upper MDB of connection, execution insert delete update order
It enables, and preservation is submitted to update result.
Preferably, typing configuration data example includes enumerated value and field Type in the step S1.
The beneficial effects of the present invention are the effective dimension efficiency improved to configuration datas such as system enumeration values;Reduce generation
Code amount of change, improves system stability;Improve the speed of load configuration data.
When enumerated value needs change, it is only necessary to which the data for changing allocation list no longer need to more fresh code, guarantee
Code stability reduces code variations;More convenient management service configuration data, each module are responsible for safeguarding the allocation list of oneself i.e.
Can, reducing demand, rear module bring links up cost before changing;The data processing speed of memory database compares traditional database
Data processing speed it is many fastly, can effectively improve the speed that system itself loads configuration data.
In addition, design principle of the present invention is reliable, structure is simple, has very extensive application prospect.
It can be seen that compared with prior art, the present invention have substantive distinguishing features outstanding and it is significant ground it is progressive, implementation
Beneficial effect be also obvious.
Detailed description of the invention
Fig. 1 is a kind of functional block diagram of the data mechanism management configuration system of memory database provided by the invention.
Specific embodiment
The present invention will be described in detail with reference to the accompanying drawing and by specific embodiment, and following embodiment is to the present invention
Explanation, and the invention is not limited to following implementation.
Embodiment 1:
As shown in Figure 1, a kind of data mechanism management configuration system of memory database provided by the invention, which is characterized in that packet
It includes:
Login configurations module logs in and configures memory database, creates corresponding configuration data table, typing configuration data example;
Data read module reads the data in memory database, and code calls MDB by SAL and inquires corresponding allocation list,
MDB returns to corresponding enumerated value to caller after getting table data, calls memory database to read in this way
Configuration data;
Database update module updates memory database, calls MDB by SAL, in connection after MDB, execution insert
Delete update order, and submit preservation update result.
In the present embodiment, in login configurations module, typing configuration data example includes enumerated value and field Type.
In the present embodiment, with action type, service name, for these three fields of task status, each field has more
A enumerated value the enumerated value of these three fields is respectively configured in three different tables: pm_opt_type, pm_
Service, pm_task_status, page code is by reading the configuration data in these three tables, to show enumerated value, such as
Fruit customer demand has altered, as long as updating the data of these three allocation lists, no longer needs to change code, guarantees that code is steady
It is qualitative.Relative to disk, the reading and writing data speed of memory will be several orders of magnitude higher, and memory database has abandoned data in magnetic disk pipe
The traditional approach of reason has all redesigned architecture based on total data in memory, and in data buffer storage, fastly calculate quickly
It is also correspondingly improved in terms of method, parallel work-flow, so data processing speed of the data processing speed than traditional database
It is many fastly.
Embodiment 2:
The present embodiment provides a kind of data mechanism management configuration method of memory database, which comprises the following steps:
S1: logging in and configures memory database, creates corresponding configuration data table, typing configuration data example;
S2: reading the data in memory database, and code calls MDB by SAL and inquires corresponding allocation list, and MDB is got
Corresponding enumerated value is returned to caller after table data;
S3: updating memory database, calls MDB by SAL, after the upper MDB of connection, execution insert delete update order
It enables, and preservation is submitted to update result.
In the present embodiment, in the step S1, typing configuration data example includes enumerated value and field Type.
Disclosed above is only the preferred embodiment of the present invention, but the present invention is not limited to this, any this field
What technical staff can think does not have creative variation, and without departing from the principles of the present invention made by several improvement and
Retouching, should all be within the scope of the present invention.
Claims (4)
1. a kind of data mechanism management configuration system of memory database characterized by comprising
Login configurations module logs in and configures memory database, creates corresponding configuration data table, typing configuration data example;
Data read module reads the data in memory database, and code calls MDB by SAL and inquires corresponding allocation list,
MDB returns to corresponding enumerated value to caller after getting table data;
Database update module updates memory database, calls MDB by SAL, in connection after MDB, execution insert
Delete update order, and submit preservation update result.
2. a kind of data mechanism management configuration system of memory database according to claim 1, which is characterized in that log in
In configuration module, typing configuration data example includes enumerated value and field Type.
3. a kind of data mechanism management configuration method of memory database, which comprises the following steps:
S1: logging in and configures memory database, creates corresponding configuration data table, typing configuration data example;
S2: reading the data in memory database, and code calls MDB by SAL and inquires corresponding allocation list, and MDB is got
Corresponding enumerated value is returned to caller after table data;
S3: updating memory database, calls MDB by SAL, after the upper MDB of connection, execution insert delete update order
It enables, and preservation is submitted to update result.
4. a kind of data mechanism management configuration method of memory database according to claim 3, which is characterized in that described
In step S1, typing configuration data example includes enumerated value and field Type.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811067204.1A CN109189794A (en) | 2018-09-13 | 2018-09-13 | A kind of data mechanism management configuration system and method for memory database |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811067204.1A CN109189794A (en) | 2018-09-13 | 2018-09-13 | A kind of data mechanism management configuration system and method for memory database |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109189794A true CN109189794A (en) | 2019-01-11 |
Family
ID=64910679
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811067204.1A Pending CN109189794A (en) | 2018-09-13 | 2018-09-13 | A kind of data mechanism management configuration system and method for memory database |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109189794A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101183363A (en) * | 2006-11-13 | 2008-05-21 | 中兴通讯股份有限公司 | Method for unitedly configuring management EMS memory data-base by system table structure |
CN107329782A (en) * | 2017-06-23 | 2017-11-07 | 武汉长光科技有限公司 | A kind of method for lifting embedded device configuration file read-write efficiency |
US20170372592A1 (en) * | 2016-06-27 | 2017-12-28 | M/s. Hug Innovations Corp. | Wearable device for safety monitoring of a user |
CN107544807A (en) * | 2017-09-06 | 2018-01-05 | 郑州云海信息技术有限公司 | System configuration data table management method |
-
2018
- 2018-09-13 CN CN201811067204.1A patent/CN109189794A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101183363A (en) * | 2006-11-13 | 2008-05-21 | 中兴通讯股份有限公司 | Method for unitedly configuring management EMS memory data-base by system table structure |
US20170372592A1 (en) * | 2016-06-27 | 2017-12-28 | M/s. Hug Innovations Corp. | Wearable device for safety monitoring of a user |
CN107329782A (en) * | 2017-06-23 | 2017-11-07 | 武汉长光科技有限公司 | A kind of method for lifting embedded device configuration file read-write efficiency |
CN107544807A (en) * | 2017-09-06 | 2018-01-05 | 郑州云海信息技术有限公司 | System configuration data table management method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2797013B1 (en) | Database update execution according to power management schemes | |
CN109271435B (en) | Data extraction method and system supporting breakpoint continuous transmission | |
US11693912B2 (en) | Adapting database queries for data virtualization over combined database stores | |
US8032493B2 (en) | System and method of obtaining interrelated data in a database | |
CN102291450A (en) | Data online hierarchical storage method in cluster storage system | |
US9477609B2 (en) | Enhanced transactional cache with bulk operation | |
CN109885642B (en) | Hierarchical storage method and device for full-text retrieval | |
CN103425762A (en) | Telecom operator mass data processing method based on Hadoop platform | |
CN101373474A (en) | Magnanimity data real time processing structure and real time processing platform following with necessaries for the same | |
CN105069134A (en) | Method for automatically collecting Oracle statistical information | |
US9740994B2 (en) | Simulation of supply chain plans using data model | |
CN109669975B (en) | Industrial big data processing system and method | |
CN103345501A (en) | Method and device for updating database | |
US8639657B2 (en) | Reorganizing table-based data objects | |
US20230015950A1 (en) | Method and system for converting database applications into blockchain applications | |
CN109829003A (en) | Database backup method and device | |
US20150278255A1 (en) | System and method for optimizing database definitions for a new database | |
CN112817915A (en) | Automatic multi-product document uniform publishing and displaying method | |
CN109189794A (en) | A kind of data mechanism management configuration system and method for memory database | |
US10019763B2 (en) | Extension ledger | |
CN102314495A (en) | Method for maintaining database object | |
CN114064816A (en) | Method for processing and managing data of data source with different architectures | |
CN112835887A (en) | Database management method, database management device, computing equipment and storage medium | |
US20110246249A1 (en) | Simulation of supply chain plans using web service | |
CN102902825B (en) | A kind of database optimizing method and device |
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: 20190111 |