CN106021488A - Key value database management method and apparatus - Google Patents

Key value database management method and apparatus Download PDF

Info

Publication number
CN106021488A
CN106021488A CN201610334875.4A CN201610334875A CN106021488A CN 106021488 A CN106021488 A CN 106021488A CN 201610334875 A CN201610334875 A CN 201610334875A CN 106021488 A CN106021488 A CN 106021488A
Authority
CN
China
Prior art keywords
storage
key assignments
storage scheme
logical model
model
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
Application number
CN201610334875.4A
Other languages
Chinese (zh)
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.)
LeTV Holding Beijing Co Ltd
LeTV Information Technology Beijing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Information Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by LeTV Holding Beijing Co Ltd, LeTV Information Technology Beijing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610334875.4A priority Critical patent/CN106021488A/en
Publication of CN106021488A publication Critical patent/CN106021488A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a key value database management method and apparatus. The method comprises the steps of loading and displaying a logic model of a storage scheme after an operation for the storage scheme is detected, wherein the logic model is used for storing input key value data; when a conversion operation is detected, converting the logic model into a physical model corresponding to underlying storage, and converting the key value data recorded in the logic model into a data type corresponding to the underlying storage; and writing the key value data into the underlying storage according to the physical model and the data type after conversion. The operations of creation, query, modification, deletion and the like for the storage scheme are finished in a visual management tool, and the input key value data is written in the underlying storage, so that the operation of newly creating the storage scheme is simplified, the operation can be finished without using a command or a code, and the management efficiency of the key value data is improved.

Description

The management method of key value database and device
Technical field
The invention belongs to computer realm, specifically, relate to a kind of key value database management method and Device.
Background technology
Along with the fast development of the Internet, a lot of Internet firms have accumulated the data of TB magnitude the most. Increasing Internet firm begins to use key assignments (Key-Value) data base, and this is a kind of NoSQL (non-relational database) model, its data carry out organizing, index and storing according to the form of key-value pair. Key assignments storage is especially suitable for being not related to the business datum of too much data relationship and business relations, simultaneously can be effective Reduce the number of times of read-write disk, have more preferable readwrite performance than SQL database storage.
At present key value database is managed typically by the mode inputting order or code, The operations such as inquiry, process is relatively complicated and inefficient.
Summary of the invention
In view of this, embodiments provide management method and the device of a kind of key value database, use To solve prior art is managed troublesome, inefficient technical problem to key value database.
In order to solve above-mentioned technical problem, the invention discloses the management method of a kind of key value database, bag Include: after detecting for the operation of storage scheme, the logical model of storage scheme described in loaded and displayed, institute State logical model for preserving the key assignments data being transfused to;When conversion operation being detected, by described logic Model conversation is the physical model corresponding with bottom storage, and the key assignments data of described logical model record are turned Turn to the data type corresponding with bottom storage;According to convert after physical model and data type by described Key assignments data write the storage of described bottom.
In order to solve above-mentioned technical problem, the invention also discloses the managing device of a kind of key value database, Including: display module, after detecting for the operation of storage scheme, storage side described in loaded and displayed The logical model of case, described logical model is for preserving the key assignments data being transfused to;First conversion module, For when conversion operation being detected, described logical model is converted into the physics mould corresponding with bottom storage Type, the key assignments data of described logical model record are converted into the data type corresponding with bottom storage;The One writing module, for writing institute according to the physical model after converting and data type by described key assignments data State bottom storage.
Compared with prior art, the management method of the key value database that the embodiment of the present invention provides and device, Achieve complete in visualized management instrument various operations for storage scheme (as newly-built, inquiry, Amendment, deletion etc.) and the key assignments data of input are written to bottom storage, simplify newly-built storage scheme Operation, it is no longer necessary to by order or code by the way of complete operation, improve the management of key assignments data Efficiency.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that under, Accompanying drawing during face describes is some embodiments of the present invention, for those of ordinary skill in the art, On the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of the management method of a kind of key value database that the embodiment of the present invention provides;
Fig. 2 is the flow chart of the management method of a kind of key value database that the embodiment of the present invention provides;
Fig. 3 is the flow chart of the management method of a kind of key value database that the embodiment of the present invention provides;
Fig. 4 is the flow chart of the management method of a kind of key value database that the embodiment of the present invention provides;
Fig. 5 is the flow chart of the management method of a kind of key value database that the embodiment of the present invention provides;
Fig. 6 is the block diagram of the managing device of a kind of key value database that the embodiment of the present invention provides.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with this Accompanying drawing in bright embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention, Obviously, described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based on Embodiment in the present invention, those of ordinary skill in the art are obtained under not making creative work premise The every other embodiment obtained, broadly falls into the scope of protection of the invention.
Embodiments provide the visualized management instrument of key value database, can be managed by this visualization Science and engineering tool browses to bottom and stores existing storage scheme, existing storage scheme can be modified, Inquiry, deletion etc. operate, the key assignments data in existing storage scheme can also be filtered, revise, The operations such as deletion, it is also possible to by this newly-built storage scheme of visualized management instrument and in newly-built storage side Case is added key assignments data.More intuitively key value database can be carried out by this visualized management instrument Management operation, improves the efficiency of management, and the configuration operation to key assignments data also becomes to be more prone to, and is not required to The relevant knowledge that GPRS much stores about bottom can also complete operation.
The visualized management instrument of key value database can use WEB application framework, C/S (Client/Server) any one in framework and B/S (Browser/Server) framework.
The management method of a kind of key value database as shown in Figure 1, comprises the following steps.
S10, after detecting for the operation of storage scheme, the logical model of loaded and displayed storage scheme, Logical model is for preserving the key assignments data being transfused to;
S11, when conversion operation being detected, is converted into the physics corresponding with bottom storage by logical model Model, the key assignments data of logical model record are converted into the data type corresponding with bottom storage;
S12, stores key assignments data write bottom according to the physical model after converting and data type.
In visualized management instrument, the operation for storage scheme includes: for existing storage scheme Carry out inquiring about, revise, the operation such as deletion;New storage scheme can also be created and in the storage side created Case inputs key assignments data be saved in bottom storage;And too may be used for the storage scheme after creating To carry out inquiring about, to revise, the operation such as deletion.
Visualized management instrument is set up corresponding by logical model and physical model with bottom storage Relation.Bottom storage is included in internal memory the key assignments data of caching and persists the key to disk file Value Data.Bottom storage can use one or more storages to service, such as redis, memcache etc., And in every kind of storage service, may further include the multiple storage schemes being respectively directed to different business, The key assignments data of in store corresponding business in each storage scheme.In visualized management instrument, to Being present in the storage scheme of bottom storage, to realize visual process as follows.
After visualized management instrument reads bottom storage, according to the thing that the storage service creation used is corresponding Reason model.The physical model that different storage services is corresponding is different, and physical model includes storage format sum According to type.Such as, the storage format of redis includes full dose data, incremental re-quest etc., data type support String, list, set and zset;Multiple slab class, each slab class is included at menchache Under comprise multiple chunk with formed objects, key assignments data are stored in each chunk, Memcache does not support the data types such as set and zset.Therefore, given birth to for different storage services The physical model become is the most different.
The physical model of generation is converted into logical model.Logical model is positioned at corresponding interface development framework Under logical layer, can be loaded display in the middle of the interface of visualized management instrument, logical model includes Storage scheme model under storage scheme list and the key-value data model under key assignments data list.Converting During, it is character type by the title of storage scheme and the content transformation of key assignments data, with display each In corresponding storage scheme model and key-value data model.
The interface of visualized management instrument includes but not limited to storage scheme list and key assignments data list. The storage scheme read from each storage service is shown in the form of a list.Detect and open During the operation of certain storage scheme, key assignments data list shows whole key assignments numbers of this storage scheme According to.
When the operation inquiring about existing storage scheme being detected, above-mentioned by existing key assignments number in bottom storage Existing visual process is as in figure 2 it is shown, comprise the following steps factually.
S100, reads the key assignments data in bottom storage;
S101, generates corresponding physical model according to the storage scheme belonging to key assignments data;
S102, is converted into logical model by the physical model of storage scheme, and the key assignments data of reading are saved In logical model;
S103, shows the logical model of storage scheme in storage scheme list.
Achieve already present storage scheme and the visualization of key assignments data therein during bottom is stored Management, makes user's (user of this visualized management instrument, it is common that developer) can be intuitively Browse to each storage scheme in bottom storage and key assignments data therein.
User can choose in storage scheme list and open an existing storage scheme.This visualization pipe After science and engineering tool detects the operation opening existing storage scheme, this storage side of loaded and displayed in key assignments list The key assignments data preserved in the logical model of case.Key assignments data can also be filtered by user, screening etc. Operation, such as, filter data according to different keys (Key).The filtration that user inputs detected During condition, filter out and meet the key assignments data of this condition and show.Make user be no longer necessary at bottom to deposit The mode of Chu Zhongyong order or code is inquired about, the inquiry operation of simplification, and browses result also More directly perceived.
If the key assignments data in existing storage scheme are modified or deletion action, then by above-mentioned Step S11-S12 by modified or delete after key assignments data be written to bottom storage in.
In this visualized management instrument, it is also possible to newly-built storage scheme, defeated in newly-built storage scheme Enter key assignments data and the key assignments data of input be written in bottom storage.This process is as it is shown on figure 3, wrap Include following steps.
S20, after the operation creating storage scheme being detected, the logic of the storage scheme that loaded and displayed creates Model, logical model is for preserving the key assignments data being transfused to;
S21, when conversion operation being detected, is converted into the physics corresponding with bottom storage by logical model Model, the key assignments data of logical model record are converted into the data type corresponding with bottom storage;
S22, stores key assignments data write bottom according to the physical model after converting and data type.
In step S20, after the operation creating storage scheme being detected, can show in storage scheme list Show a new storage scheme model, user can be this storage scheme title is set.Choose this newly-built Storage scheme after, user can input in the key-value data model of key assignments data list need preserve Key assignments data.Key assignments data can be manually entered by user, it is also possible to imports from default file.
In the step s 21, conversion operation can be preserve, confirm, the operation such as write, its effect be by User confirms the key assignments data inputted to be written in bottom storage.When this conversion operation being detected Time, i.e. proceed by the conversion from logical layer to physical layer.
Logical model is converted into the physical model corresponding with bottom storage.Used according to bottom storage Storage service, is converted into the physical model corresponding with this storage service, and key assignments data is turned from character type Turn to this storage and service the data type supported.
In one embodiment, when bottom storage is simultaneously used multiple storage service, such as, use Memcache safeguards a part of key assignments data in internal memory, safeguards another portion in internal memory with redis Divide the key assignments data in key assignments data and disk file.After conversion operation being detected, correspondence can be shown Selection prompting, prompting user is newly-built storage scheme selection storage service to be used.According to Family select operation to determine selected a kind of storage service after, proceed by logical layer to physical layer turn Change.Logical model is converted into the physical model corresponding with selected storage service, the key assignments number of record According to being converted into the data type that selected storage service is supported.
The ablation process of step S22 is equivalent to arrive key assignments data according to physical model and data type materialization In internal memory or disk.
Newly-built storage scheme the key by input in visualized management instrument is achieved by said process Value Data be written to bottom storage, simplify the operation of newly-built storage scheme, it is no longer necessary to by order or The mode of code completes operation, improves the efficiency of management of key assignments data.
For newly-built storage scheme, it is also possible to modify, inquire about, the operation such as deletion.Described inquiry Operation, with previously mentioned in visualized management instrument, existing storage scheme inquired about, open, The mode of the operations such as filtration is identical, is not repeated.
Described amendment operation, relates to storage scheme title and the amendment of key assignments data.At logical layer No matter remodify title or the key assignments data of storage scheme, be required for re-starting conversion operation. For the amendment of storage scheme, comprise the following steps as shown in Figure 4
S30, after the operation of amendment storage scheme being detected, preserves amended key assignments in logical model Data.
S31, when conversion operation being detected, it is right with bottom storage amended key assignments data to be converted into The data type answered;
Amended key assignments data are write bottom according to the physical model after converting and data type by S32 Storage.
Process to the key assignments data being modified, identical with the key assignments data inputted time newly-built, be converted into Physical model that bottom storage is corresponding is also written to bottom storage after carrying out the conversion of data type.
Described deletion action, comprises the following steps as shown in Figure 5.
S40, after the operation deleting storage scheme being detected, deletes the logical model of storage scheme;
S41, when conversion operation being detected, deletes the physical model that logical model is corresponding;
S42, deletes storage scheme corresponding in bottom stores for physical model.
Delete storage scheme logical model can by storage scheme model corresponding in storage scheme list with And the corresponding key-value data model in key assignments data list all deletes.So corresponding physical model with And corresponding storage scheme is deleted the most therewith in bottom stores, thus this storage scheme can be discharged and take Internal memory or disk space.
In the visualization tool existing storage scheme and key assignments data therein are modified and deleted The process of operation is identical with the process shown in Fig. 4 and Fig. 5, is not repeated.
By this visualized management instrument achieve the inquiry to key assignments data, revise, the operation such as deletion, Make these key assignments data management operations to be intuitively simply done, promote the pipe of key assignments operation further Reason efficiency.
It is hereafter assembly of the invention embodiment, for performing the said method embodiment of the present invention.
Fig. 6 is the managing device of a kind of key value database that the embodiment of the present invention provides, including:
Display module 50, after detecting for the operation of storage scheme, loaded and displayed storage scheme Logical model, logical model is for preserving the key assignments data being transfused to;
First conversion module 51, for when conversion operation being detected, is converted into logical model and bottom The physical model that storage is corresponding, the key assignments data of logical model record are converted into corresponding with bottom storage Data type;
First writing module 52, for writing key assignments data according to the physical model after converting and data type Enter bottom storage.
In one embodiment, display module 50 farther includes:
First display sub-module, after the operation creating storage scheme being detected, loaded and displayed creates The logical model of storage scheme.
In one embodiment, the first conversion module 51 farther includes:
Select submodule, for when bottom storage have employed multiple storage service, according to selecting operation really Fixed selected a kind of storage service;
First transformant module, for being converted into the thing corresponding with selected storage service by logical model Reason model, the key assignments data of logical model record are converted into the data corresponding with selected storage service Type.
In one embodiment, the managing device of this key value database also includes:
Preserve module, after operation amendment storage scheme being detected, logical model preserves amendment After key assignments data;
Amended key assignments data, for when conversion operation being detected, are converted into by the second conversion module The data type corresponding with bottom storage;
Second writing module, for according to convert after physical model and data type by amended key assignments Data write bottom storage.
In one embodiment, the managing device of this key value database also includes:
First removing module, after the operation deleting storage scheme being detected, deletes patrolling of storage scheme Collect model;
Second removing module, for when conversion operation being detected, deletes the physics mould that logical model is corresponding Type;
3rd removing module, deletes for the storage scheme that physical model is corresponding in bottom stores.
In one embodiment, display module 50 farther includes:
Reading submodule, after the operation inquiring about existing storage scheme being detected, reads in bottom storage Key assignments data;
Generate submodule, for generating corresponding physical model according to the storage scheme belonging to key assignments data;
Second transformant module, for the physical model of storage scheme is converted into logical model, reading Key assignments data are stored in logical model;
Second display sub-module, for showing the logical model of storage scheme in storage scheme list.
In one embodiment, display module 50 also includes:
3rd display sub-module, after the operation opening existing storage scheme being detected, loaded and displayed is deposited The key assignments data preserved in the logical model of storage scheme.
Come real additionally, the embodiment of the present invention can be passed through hardware processor (hardware processor) Existing each functional module above-mentioned.
The embodiment of the present invention additionally provides a kind of terminal unit, and this terminal unit can be computer, distribution The equipment such as the control station of formula data-storage system, this terminal unit includes: include processor;For storing The memorizer of processor executable;Wherein, processor is configured to: detect for storage scheme Operation after, the logical model of storage scheme described in loaded and displayed, described logical model for preserve defeated The key assignments data entered;When conversion operation being detected, it is right with bottom storage to be converted into by described logical model The physical model answered, the key assignments data of described logical model record are converted into the number corresponding with bottom storage According to type;According to the physical model after converting and data type, the described key assignments data described bottom of write is deposited Storage.
In one embodiment, described in detect for the operation of storage scheme after, deposit described in loaded and displayed The logical model of storage scheme includes: after the operation creating storage scheme being detected, creates described in loaded and displayed The logical model of storage scheme.
In one embodiment, described when conversion operation being detected, described logical model is converted into The physical model that bottom storage is corresponding, the key assignments data of described logical model record are converted into deposits with bottom The data type of storage correspondence includes: when bottom storage have employed multiple storage service, according to selecting operation Determine selected a kind of storage service;Described logical model is converted into and described selected storage clothes The physical model that business is corresponding, the key assignments data of described logical model record are converted into selected with described The data type that storage service is corresponding.
In one embodiment, described processor is configured to: the described storage side of amendment detected After the operation of case, logical model preserves amended key assignments data;When conversion operation being detected, Amended key assignments data are converted into the data type corresponding with bottom storage;According to the physics after converting Amended key assignments data are write the storage of described bottom by model and data type.
In one embodiment, described processor is configured to: the described storage side of deletion detected After the operation of case, delete the logical model of described storage scheme;When conversion operation being detected, delete institute State the physical model that logical model is corresponding;The storage scheme corresponding in bottom stores by described physical model Delete.
In one embodiment, described in detect for the operation of storage scheme after, deposit described in loaded and displayed The logical model of storage scheme includes: after the operation inquiring about existing storage scheme being detected, reads bottom storage In key assignments data;Corresponding physical model is generated according to the storage scheme belonging to described key assignments data;Will The physical model of described storage scheme is converted into logical model, and the key assignments data of described reading are stored in institute State in logical model;The logical model of described storage scheme is shown in storage scheme list.
In one embodiment, described in detect for the operation of storage scheme after, deposit described in loaded and displayed The logical model of storage scheme includes also including: after the operation opening described existing storage scheme being detected, add Carry and show the key assignments data preserved in the logical model of described storage scheme.
Device embodiment described above is only schematically, wherein said illustrates as separating component Unit can be or may not be physically separate, the parts shown as unit can be or Person may not be physical location, i.e. may be located at a place, or can also be distributed to multiple network On unit.Some or all of module therein can be selected according to the actual needs to realize the present embodiment The purpose of scheme.Those of ordinary skill in the art are not in the case of paying performing creative labour, the most permissible Understand and implement.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive each reality The mode of executing can add the mode of required general hardware platform by software and realize, naturally it is also possible to by firmly Part.Based on such understanding, the portion that prior art is contributed by technique scheme the most in other words Dividing and can embody with the form of software product, this computer software product can be stored in computer can Read in storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions with so that one Computer equipment (can be personal computer, server, or the network equipment etc.) performs each to be implemented The method described in some part of example or embodiment.
Last it is noted that above example is only in order to illustrate technical scheme, rather than to it Limit;Although the present invention being described in detail with reference to previous embodiment, the ordinary skill of this area Personnel it is understood that the technical scheme described in foregoing embodiments still can be modified by it, or Person carries out equivalent to wherein portion of techniques feature;And these amendments or replacement, do not make corresponding skill The essence of art scheme departs from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (14)

1. the management method of a key value database, it is characterised in that including:
After detecting for the operation of storage scheme, the logical model of storage scheme described in loaded and displayed, institute State logical model for preserving the key assignments data being transfused to;
When conversion operation being detected, described logical model is converted into the physics mould corresponding with bottom storage Type, the key assignments data of described logical model record are converted into the data type corresponding with bottom storage;
According to the physical model after converting and data type, described key assignments data are write described bottom to store.
Method the most according to claim 1, it is characterised in that described in detect for storage side After the operation of case, the logical model of storage scheme described in loaded and displayed includes:
After the operation of establishment storage scheme being detected, the logic mould of the storage scheme created described in loaded and displayed Type.
Method the most according to claim 2, it is characterised in that described when conversion operation being detected Time, described logical model is converted into the physical model corresponding with bottom storage, described logical model record Key assignments data be converted into and include with data type corresponding to bottom storage:
When bottom storage have employed multiple storage service, determine that selected one is deposited according to selecting operation Storage service;
Described logical model is converted into the physical model corresponding with described selected storage service, described The key assignments data of logical model record are converted into the data class corresponding with described selected storage service Type.
Method the most according to claim 2, it is characterised in that described method also includes:
Detect after revising the operation of described storage scheme, logical model preserves amended key assignments number According to;
When conversion operation being detected, amended key assignments data are converted into the number corresponding with bottom storage According to type;
According to the physical model after converting and data type, amended key assignments data are write described bottom Storage.
Method the most according to claim 2, it is characterised in that described method also includes:
Detect after deleting the operation of described storage scheme, delete the logical model of described storage scheme;
When conversion operation being detected, delete the physical model that described logical model is corresponding;
Storage scheme corresponding in bottom stores for described physical model is deleted.
Method the most according to claim 1, it is characterised in that described in detect for storage side After the operation of case, the logical model of storage scheme described in loaded and displayed includes:
Detect after inquiring about the operation of existing storage scheme, read the key assignments data in bottom storage;
Corresponding physical model is generated according to the storage scheme belonging to described key assignments data;
The physical model of described storage scheme is converted into logical model, and the key assignments data of described reading are protected Exist in described logical model;
The logical model of described storage scheme is shown in storage scheme list.
Method the most according to claim 6, it is characterised in that described in detect for storage side After the operation of case, the logical model of storage scheme described in loaded and displayed includes also including:
Detect after opening the operation of described existing storage scheme, the logic of storage scheme described in loaded and displayed The key assignments data preserved in model.
8. the managing device of a key value database, it is characterised in that including:
Display module, after detecting for the operation of storage scheme, storage scheme described in loaded and displayed Logical model, described logical model is for preserving the key assignments data that are transfused to;
First conversion module, for when conversion operation being detected, is converted into described logical model and the end The physical model that layer storage is corresponding, the key assignments data of described logical model record are converted into and store with bottom Corresponding data type;
First writing module, for according to convert after physical model and data type by described key assignments data Write the storage of described bottom.
Device the most according to claim 8, it is characterised in that described display module includes:
First display sub-module, after the operation creating storage scheme being detected, creates described in loaded and displayed The logical model of the storage scheme built.
Device the most according to claim 9, it is characterised in that described first conversion module includes:
Select submodule, for when bottom storage have employed multiple storage service, according to selecting operation really Fixed selected a kind of storage service;
First transformant module, for being converted into described logical model and described selected storage service Corresponding physical model, the key assignments data of described logical model record are converted into and described selected depositing The data type that storage service is corresponding.
11. devices according to claim 9, it is characterised in that described device also includes:
Preserve module, after the operation revising described storage scheme being detected, preserve in logical model Amended key assignments data;
Amended key assignments data, for when conversion operation being detected, are converted into by the second conversion module The data type corresponding with bottom storage;
Second writing module, for according to convert after physical model and data type by amended key assignments Data write the storage of described bottom.
12. devices according to claim 9, it is characterised in that described device also includes:
First removing module, after the operation deleting described storage scheme being detected, deletes described storage The logical model of scheme;
Second removing module, for when conversion operation being detected, deletes the thing that described logical model is corresponding Reason model;
3rd removing module, for deleting the storage scheme that described physical model is corresponding in bottom stores Remove.
13. devices according to claim 8, it is characterised in that described display module includes:
Reading submodule, after the operation inquiring about existing storage scheme being detected, reads in bottom storage Key assignments data;
Generate submodule, for generating corresponding physics mould according to the storage scheme belonging to described key assignments data Type;
Second transformant module, for the physical model of described storage scheme is converted into logical model, institute The key assignments data stating reading are stored in described logical model;
Second display sub-module, for showing the logic mould of described storage scheme in storage scheme list Type.
14. devices according to claim 13, it is characterised in that described display module also includes:
3rd display sub-module, after the operation opening described existing storage scheme being detected, loads aobvious Show the key assignments data preserved in the logical model of described storage scheme.
CN201610334875.4A 2016-05-19 2016-05-19 Key value database management method and apparatus Pending CN106021488A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610334875.4A CN106021488A (en) 2016-05-19 2016-05-19 Key value database management method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610334875.4A CN106021488A (en) 2016-05-19 2016-05-19 Key value database management method and apparatus

Publications (1)

Publication Number Publication Date
CN106021488A true CN106021488A (en) 2016-10-12

Family

ID=57095887

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610334875.4A Pending CN106021488A (en) 2016-05-19 2016-05-19 Key value database management method and apparatus

Country Status (1)

Country Link
CN (1) CN106021488A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110019049A (en) * 2017-09-30 2019-07-16 阿里巴巴集团控股有限公司 A kind of processing method and processing device of operation requests
CN110968266A (en) * 2019-11-07 2020-04-07 华中科技大学 Storage management method and system based on heat degree
CN111291025A (en) * 2020-03-10 2020-06-16 北京东方金信科技有限公司 Method for supporting multi-physical model conversion by logic model and storage device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101315628A (en) * 2007-06-01 2008-12-03 华为技术有限公司 Internal memory database system and method and device for implementing internal memory data base
CN102087597A (en) * 2011-02-14 2011-06-08 浪潮通信信息系统有限公司 J2EE and component set-based visualized development platform
CN104731791A (en) * 2013-12-18 2015-06-24 东阳艾维德广告传媒有限公司 Marketing analysis data market system
CN105117442A (en) * 2015-08-12 2015-12-02 东北大学 Probability based big data query method
CN105205085A (en) * 2014-06-30 2015-12-30 中兴通讯股份有限公司 Multi-dimensional analysis method and device for mass data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101315628A (en) * 2007-06-01 2008-12-03 华为技术有限公司 Internal memory database system and method and device for implementing internal memory data base
CN102087597A (en) * 2011-02-14 2011-06-08 浪潮通信信息系统有限公司 J2EE and component set-based visualized development platform
CN104731791A (en) * 2013-12-18 2015-06-24 东阳艾维德广告传媒有限公司 Marketing analysis data market system
CN105205085A (en) * 2014-06-30 2015-12-30 中兴通讯股份有限公司 Multi-dimensional analysis method and device for mass data
CN105117442A (en) * 2015-08-12 2015-12-02 东北大学 Probability based big data query method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110019049A (en) * 2017-09-30 2019-07-16 阿里巴巴集团控股有限公司 A kind of processing method and processing device of operation requests
CN110968266A (en) * 2019-11-07 2020-04-07 华中科技大学 Storage management method and system based on heat degree
CN111291025A (en) * 2020-03-10 2020-06-16 北京东方金信科技有限公司 Method for supporting multi-physical model conversion by logic model and storage device

Similar Documents

Publication Publication Date Title
US20120246115A1 (en) Folder structure and authorization mirroring from enterprise resource planning systems to document management systems
CN104239443B (en) A kind of storage method of serialized data operation log
US20120166427A1 (en) Query Authoring by Modifying a View of the Results of the Query
CN101523391A (en) Information search system, information search method, and program
CN102959511A (en) Gui program creation support device, gui program creation support method, program and integrated circuit
CN107924357B (en) Job managing apparatus and job management method
US10540628B2 (en) Hierarchical business rule model
CN106970958A (en) A kind of inquiry of stream file and storage method and device
CN106021488A (en) Key value database management method and apparatus
CN107704203A (en) It polymerize delet method, device, equipment and the computer-readable storage medium of big file
CN108170815A (en) A kind of data processing method, device and storage medium
CN105956163A (en) Method and device for managing graph database
US8145580B2 (en) Data management apparatus and method for managing data elements using a plurality of metadata elements
CN105512325B (en) Update, deletion and the method for building up and device of multi-edition data index
CN107704633A (en) A kind of method and system of file migration
CN108205571A (en) The connection method of key assignments tables of data and device
JP2006301892A (en) Hierarchical storage management device, method, and program
CN103294794B (en) A kind of online elite archiving and the system for accessing file
CN107341072A (en) A kind of data back up method and device
US20210150436A1 (en) Dynamic extension of semantic layer universes
KR20120082176A (en) Data processing method of database management system and system thereof
JP7279524B2 (en) Data management program, data management method and data management system
US10747438B1 (en) Reporting using archived data
Vansummeren et al. Recording provenance for sql queries and updates
JP2009169474A (en) System log management support device and system log management support method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20161012

WD01 Invention patent application deemed withdrawn after publication