Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data distributed storage method, device, terminal and storage medium

A distributed storage and data storage technology, applied in the database field to achieve the effect of improving writing speed, saving query efficiency, and improving deduplication efficiency

Active Publication Date: 2020-09-29
SHENZHEN THUNDER NETWORK TECH +1
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The main purpose of the present invention is to provide a data distributed storage method, device, terminal and storage medium, aiming to solve the problem of many-to-many data storage, and store data in a forward and reverse index table in a distributed manner Medium, which helps to improve the efficiency of accessing data under high concurrency

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data distributed storage method, device, terminal and storage medium
  • Data distributed storage method, device, terminal and storage medium
  • Data distributed storage method, device, terminal and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0065] figure 2 It is a schematic flowchart of the data distributed storage method according to the first embodiment of the present invention.

[0066] The data distributed storage method can be applied to a terminal or a database server. For a terminal that needs to create a distributed database index, the function of creating a distributed database index provided by the method of the present invention can be directly integrated on the terminal. Alternatively, an interface for creating a distributed database index function is provided in the form of a software development kit (Software Development Kit, SDK), and the terminal implements distributed data storage through the provided interface.

[0067] Such as figure 2 As shown, the data distributed storage method specifically includes the following steps. According to different requirements, the order of the steps in the flow chart can be changed, and some steps can be omitted.

[0068] S21. Obtain a source data table.

...

Embodiment 2

[0128] refer to Figure 5 As shown, it is a schematic diagram of functional modules of a data distributed storage device disclosed by an embodiment of the present invention.

[0129] In some embodiments, the data distributed storage device 50 runs in a terminal. The data distributed storage device 50 may include a plurality of functional modules composed of program code segments. The program codes of the various program segments in the distributed data storage device 50 may be stored in the memory of the terminal, and executed by the at least one processor for execution (see figure 2 Description) store data in a distributed manner.

[0130] In this embodiment, the distributed data storage device 50 can be divided into multiple functional modules according to the functions it performs. The functional modules may include: an acquisition module 501 , a creation module 502 , a first storage module 503 , a second storage module 504 , a judgment module 505 , a traversal module 5...

Embodiment 3

[0189] Figure 6 It is a schematic diagram of an internal structure of a terminal disclosed by an embodiment of the present invention.

[0190] In this embodiment, the terminal 6 may be a fixed terminal or a mobile terminal.

[0191] The terminal 6 may include a memory 61 , a processor 62 and a bus 63 .

[0192] Wherein, the memory 61 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (eg, SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, etc. The memory 61 may be an internal storage unit of the terminal 6 in some embodiments, such as a hard disk of the terminal 6 . The memory 61 may also be an external storage device of the terminal 6 in other embodiments, such as a plug-in hard disk equipped on the terminal 6, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, flash memory card (FlashCard), etc. Further, the mem...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a data distributed storage method. The method comprises the steps of obtaining a source data table; creating a forward index table and a reverse index table and initializing the forward index table and the reverse index table; storing data in the source data table in the forward index table according to a preset first rule; and storing the data in the source data table in the reverse index table according to a preset second rule. The invention further discloses a data distributed storage device, a terminal and a storage medium. According to the method, the problem of storage of many-to-many type data can be solved, the data is stored in the forward index table and the reverse index table in a distributed mode, and the data access efficiency under the high concurrency condition can be improved.

Description

technical field [0001] The present invention relates to the technical field of databases, in particular to a data distributed storage method, device, terminal and storage medium. Background technique [0002] With the advent of the era of big data and cloud computing, the amount of data in various fields is showing a trend of rapid growth. These ever-growing massive data are usually stored in the form of databases. [0003] However, although the traditional relational database can guarantee the reliability of data storage, the read and write performance of the database is too low, and a large amount of computing power of the database cluster is occupied; the existing distributed database systems, such as BigTable, MongoDB, Cassandra and Redis, etc. , although it has strong data processing capabilities, but the operation and processing method based on a single data table cannot effectively break the bottleneck of traditional relational databases in terms of high concurrent a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/22G06F16/27G06F16/28
Inventor 李润恒
Owner SHENZHEN THUNDER NETWORK TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products