Storage model conversion method and device
A storage model and row storage technology, applied in the database field, can solve the problems of different non-relational data storage models, complex big data storage systems, inconsistent data access methods, etc., and achieve the effect of convenient access and storage
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] Such as figure 1 What is shown is a schematic diagram of the interaction between the server 101 and the local terminal 102 provided by the preferred embodiment of the present invention. The local terminal 102 may be a personal computer (personal computer, PC), a tablet computer, a smart phone, a personal digital assistant (personal digital assistant, PDA), or the like.
[0032] The server 101 communicates with one or more local terminals 102 through a network for data communication or interaction. The server 101 may be a web server 101, a database server 101, and the like. The server 101 provided in this embodiment may preferably be an integrated system of multiple database servers 101, the server 101 may include a peripheral interface and a built-in database, the peripheral interface may be a unified access interface, and the built-in database may Including a temporary database and an original database, the unified access interface is used to receive a data request sent ...
Embodiment 2
[0067] See Image 6 with Figure 7 , Image 6 Is the application provided by the preferred embodiment of the present invention figure 2 The flow chart of the conversion method from the non-relational database storage model to the relational database storage model of the storage model conversion device shown, Figure 7 It is a schematic diagram of the storage model conversion method. The method is applied to the above-mentioned server. The server includes an original database and a temporary database. The original database includes a non-relational database with a nested storage model, and the temporary database includes a relational database with a two-dimensional table storage model. The following will Image 6 The specific process shown is elaborated.
[0068] S601: Receive data to be converted from a local terminal, where the data to be converted is data that needs to be converted from a two-dimensional table storage model to a nested storage model.
[0069] S602. Divide the to...
Embodiment 3
[0077] See Figure 8 , Is the application provided by the preferred embodiment of the present invention figure 2 The shown schematic diagram of the functional modules of the conversion device from the non-relational database storage model of the server to the relational database storage model. The conversion device from a non-relational database storage model to a relational database storage model mainly includes:
[0078] The to-be-converted data search unit 801 is configured to search for the to-be-converted data in the original database, where the to-be-converted data is data that needs to be converted from a nested storage model to a two-dimensional table storage model;
[0079] The row segment dividing unit 802 is configured to divide the data to be converted into a plurality of row segments, where the row segments are data segments including at least one row key;
[0080] The row segment processing unit 803 is configured to obtain the original parameters of each row segment, w...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


