Data storage method and device

A data storage and data technology, applied in the input/output process of data processing, electrical digital data processing, instruments, etc., can solve the problems of single statistical method, unsatisfactory effect of hierarchical storage of hot data, etc., to improve the efficiency of hierarchical storage, Solve the effect of unsatisfactory effect of tiered storage of hot data

Inactive Publication Date: 2019-09-06
ZTE CORP
View PDF4 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present application provides a method and device for data storage to at least solve the problem in the related art that the effect of hierarchical storage of hotspot data is not ideal due to the single statistical method of heat value

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 storage method and device
  • Data storage method and device
  • Data storage method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] The method embodiment provided in Embodiment 1 of the present application may be executed in a computer terminal or a similar computing device. Take running on a computer terminal as an example, image 3 It is a block diagram of the hardware structure of a computer terminal of a data storage method according to an embodiment of the present application, such as image 3 As shown, the computer terminal may include one or more ( image 3 Only one is shown in the figure) a processor 302 (the processor 302 may include but not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 304 for storing data. Optionally, the above-mentioned computer terminal also Transmission means 306 for communication functions and input and output devices 308 may be included. Those of ordinary skill in the art can understand that, image 3 The shown structure is only for illustration, and does not limit the structure of the above computer te...

Embodiment 2

[0167] In this embodiment, a data storage device is also provided, which is used to implement the above embodiments and preferred implementation modes, and what has been described will not be repeated. As used below, the term "module" may be a combination of software and / or hardware that realizes a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.

[0168] According to another embodiment of the present application, a data storage device is also provided, including:

[0169] The first obtaining module is used to obtain multiple temperature monitoring configuration information set for the first service;

[0170] The second acquisition module is configured to separately monitor the popularity value of the first service according to each popularity monitoring configuration information, wherein the popu...

Embodiment 3

[0175] The embodiment of the present application also provides a storage medium. Optionally, in this embodiment, the above-mentioned storage medium may be configured to store program codes for performing the following steps:

[0176] S1. Obtain multiple temperature monitoring configuration information set for the first service;

[0177] S2, respectively monitor the popularity value of the first service according to each popularity monitoring configuration information, where the popularity value is used to indicate the frequency at which the first service is accessed;

[0178] S3. Select a location for storing data corresponding to the first service according to the multiple heat values ​​corresponding to the multiple heat monitoring configuration information, and store the data.

[0179] Optionally, in this embodiment, the above-mentioned storage medium may include but not limited to: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access M...

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 provides a data storage method and device. The method comprises the following steps of configuring a plurality of pieces of heat monitoring configuration information for the first service, and monitoring the heat of the first service according to the configuration in each piece of heat monitoring configuration information, obtaining a heat value corresponding to each piece of heat monitoring configuration information, selecting a position for storing data corresponding to the first service according to the plurality of heat values, for example, a solid-state hard disk or a mechanical hard disk, data corresponding to the first service can be migrated after a plurality of heat values are comprehensively considered, data corresponding to the first service can be migrated independently according to a heat value. By the adoption of the scheme, one service is provided with the multiple pieces of heat monitoring configuration information, hot spot data of the service can be migrated to the solid state disk more accurately and timely, hierarchical storage efficiency is greatly improved, and the problem that in the related art, the hierarchical storage effect of the hot spotdata is not ideal due to the fact that a heat value statistical mode is single is solved.

Description

technical field [0001] The present application relates to but not limited to the field of data storage, and in particular, relates to a data storage method and device. Background technique [0002] In related technologies, generally, the architecture of a distributed storage system consists of the following three parts: a file access client module, a metadata server module and a storage server module. figure 1 It is based on the structure model diagram of the distributed storage system in the related technology, such as figure 1 As shown, the file access client is an agent for applications to access the file system, providing functions such as application file operation interface and heat statistics report; the metadata server module has configuration data management and file metadata management and hierarchical storage management functions; storage The server module actually stores file data in the storage system. [0003] The storage system stores data in the form of fil...

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): G06F3/06
CPCG06F3/0604G06F3/0629G06F3/067
Inventor 王波屠要峰黄震江韩银俊洪建峰郭斌丁毅
Owner ZTE CORP
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