Method and device for data storage and data query

A data storage and data technology, applied in the field of communication network, can solve the problem of slow storage and query speed

Active Publication Date: 2013-01-30
HUAWEI TECH CO LTD
View PDF1 Cites 41 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, when the existing technology is used for massive data storage and data query, the storage and query speed is relatively slow

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
  • Method and device for data storage and data query
  • Method and device for data storage and data query
  • Method and device for data storage and data query

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] An embodiment of the present invention provides a data storage method, such as figure 1 As shown, the method includes:

[0038] Step 101, the cloud storage device obtains the data to be saved;

[0039] Before this step, it also includes: initial configuration of cloud storage rules, including defining rules for catalogs and sub-business types, defining import rules for files corresponding to sub-business types, and defining data life cycles. The storage strategy of class data; the initial configuration of data extraction rules, including the data source of the extracted data, the number of extraction processes, and the data range corresponding to each extraction process; the initial configuration of data upload rules, including the number of upload processes, each The data range corresponding to each upload process.

[0040] Optionally, extract the data in the external data source according to the configured data extraction rules to obtain the first data, or convert t...

Embodiment 2

[0091] The embodiment of the present invention provides a method for data storage and data query, as shown in Figure 5, the method includes:

[0092] Step 501, the cloud storage device initially configures cloud storage rules;

[0093] Optionally, the administrator of the cloud storage device receives an initial configuration of cloud storage rules, including defining basic rules for storage and defining a life cycle of data.

[0094] Further, 1) define the type of business using cloud storage;

[0095] Specifically, ① define the business name; for example, detailed bill business, bill business, electronic document business and so on.

[0096] ②Define the storage quantity of the cloud storage service; for example, set to save at least 2 copies of data, for example, you can set the detailed list service to save 3 copies.

[0097]③Set the purpose of each piece of data; for example, data can be divided into production data or backup data, among which, production data is used fo...

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 relates to the communication network technology field and discloses a method and a device for data storage and data query, enhancing the speed of storing and querying the data. According to the technical scheme provided by embodiments of the invention, to-be-stored data is obtained by a cloud storage device, is uniformly distributed to cloud-storage data nodes and is stored in parallel to a cloud-storage distributed database. An index column inputted by a user is obtained by the cloud storage device, and a query instruction is generated according to the index column. The query instruction is transmitted to the cloud-storage data nodes, and data is queried in parallel in the cloud-storage distributed database. The collection of query results of all the cloud-storage nodes is transmitted to the user. The technical scheme provided by the embodiments of the invention is suitable to be used during data storage and data query.

Description

technical field [0001] The invention relates to the technical field of communication networks, in particular to a data storage and data query method and device. Background technique [0002] Cloud computing (Cloud Computing) is the product of the development of distributed processing, parallel processing and grid computing. Cloud storage is the extension and development of cloud computing, which refers to the collection of a large number of storage devices in the network through software to work together through cluster applications, grid technology or distributed file systems, distributed databases, etc., to jointly provide data storage and A system of business access functions. [0003] Currently, relational databases store data in the form of rows and columns. Take the oracle database call list table as an example. Generally, each call list record exists in the form of rows in the database table. Each row will contain multiple fields such as number, party number, call t...

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 Applications(China)
IPC IPC(8): G06F17/30
CPCG06F17/30G06F16/2471
Inventor 韩建中
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products