Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and system for data storage

A data storage system and data storage technology, applied in the field of the Internet of Things, can solve problems such as data migration

Active Publication Date: 2020-04-10
WUHAN DOUYU NETWORK TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a data storage method and system to solve the data storage method in the prior art. When expanding the storage medium, the technical problem of data migration is required.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0045] This embodiment provides a data storage method, which is applied in a data storage system, and the data storage system can be installed in a server corresponding to a certain App. Such as figure 2 As shown, the data storage system includes: an application layer (Application) and a scheduling service cluster (SchedulingServer Cluster), and the scheduling service cluster includes a plurality of scheduling service units (SchedulingServer), for example, No. 1 scheduling service unit, No. 2 scheduling service unit , No. 3 dispatching service unit, ..., No. Sn dispatching service unit.

[0046] Such as figure 1 As shown, the data storage method includes:

[0047] Step S101: the application layer sends the data to be stored to the scheduling service unit in the scheduling service cluster, and the data contains at least one keyword.

[0048] In the specific implementation process, the application layer needs to select from multiple dispatching service units in the dispatchi...

Embodiment 2

[0074] Based on the same inventive idea, such as figure 2 As shown, this embodiment provides a data storage system, including:

[0075] The application layer is used to send the data to be stored to the scheduling service unit in the scheduling service cluster, and the data contains at least one keyword;

[0076] Scheduling service cluster, including multiple scheduling service units;

[0077] Wherein, the scheduling service unit is configured to receive the data, and extract the keyword from the data; based on the keyword, determine the first database from n databases in the storage medium, wherein the The storage medium is divided into n fragmentation intervals, each fragmentation interval corresponds to a data field library, and n is an integer greater than or equal to 2; based on the keyword, determine the first A data table; storing the data in the first data table.

[0078] As an optional embodiment, the application layer is also used for:

[0079] Before the data t...

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 storage method, comprising: transmitting, by an application layer, data to be stored to a scheduling service unit in a scheduling service cluster, wherein the data includes a keyword; receiving, by the scheduling service unit, the data, and extracting the keyword; determining, by the scheduling service unit, a first database from n databases in a storage medium based on the keyword, wherein the storage medium is n sharding sections each corresponding to a data domain library; determining, by the scheduling service unit, a first data table from multiple data tables in the first database based on the keyword; storing, by the scheduling service unit, the data into the first data table. Data migration is not required to expand a storage medium, so that labor cost is reduced, and the risk of data loss in data migration is eliminated; in addition, the invention also discloses a data storage system.

Description

technical field [0001] The present invention relates to the technical field of the Internet of Things, in particular to a data storage method and system. Background technique [0002] In today's Internet era, all kinds of Apps (Applications) are flourishing, and these Apps generally have their own servers for maintaining user data. As the number of users grows, so does the user data. When the server's storage medium capacity and read / write response speed encounter bottlenecks, it is necessary to expand the server's storage space. [0003] In the existing technology, it is difficult to avoid migrating old data during capacity expansion. Data migration usually stops services for a short period of time during off-peak periods, and in the worse case, data is lost. In this way, it is labor-intensive and bears the burden of data loss. risk. Contents of the invention [0004] The embodiments of the present invention provide a data storage method and system, which solves the tec...

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): G06F3/06
CPCG06F3/0619G06F3/0647G06F3/067
Inventor 杨鹏
Owner WUHAN DOUYU NETWORK TECH CO LTD