Data storage method and apparatus

A data storage device and data storage technology, applied in the computer field, can solve the problems of high performance requirements and slow response speed of database servers, and achieve the effects of optimizing storage structure, improving response speed and reducing access times.

Active Publication Date: 2017-01-11
ADVANCED NEW TECH CO LTD
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, these methods not only have high performance requirements for database servers and networks, but also have slow response speeds.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The application will be described in detail below in conjunction with specific implementations shown in the accompanying drawings. However, these implementations do not limit the present application, and any structural, method, or functional changes made by those skilled in the art based on these implementations are included in the protection scope of the present application.

[0039] Statistical analysis of user behavior data generally changes with changes in the business, and may increase or modify the statistical dimension and the amount of statistical data at any time. Therefore, databases without architecture (such as HBase database) are commonly used to store accumulated data. User Behavior Data.

[0040] Such as figure 1 As shown, in an embodiment of the present application, the data storage method includes:

[0041] S100. After daily summary and hourly summary of user behavior data in the same dimension, store daily summary data and hourly summary data in the ...

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 and apparatus. The method comprises the steps of performing daily summarization and hourly summarization on user behavior data of the same dimension, and storing the daily summarized data and the hourly summarized data in a first storage structure, wherein the first storage structure establishes an associative relationship between the hourly summarized data and the daily summarized data corresponding to the time; and performing summarization per minute and second on the user behavior data with the same dimension as the daily summarized data and the hourly summarized data, and storing the data summarized per minute and the data summarized per second in a second storage structure, wherein the second storage structure establishes an associative relationship between the data summarized per second and the data summarized per minute and corresponding to the time. Through the data storage method and apparatus, the storage structure of the user behavior data can be optimized, so that the access frequency of a database is reduced when the accumulated user behavior data is subjected to query / reading / statistics; and the storage and reading performance of the database is optimized, so that the response speed is increased.

Description

technical field [0001] The present application relates to the computer field, in particular to a data storage method and device. Background technique [0002] In many application scenarios, user behavior data will be accumulated and stored. These user behavior data can reflect the user's historical operation behavior, and use these user behavior data to analyze user behavior (such as counting how many times a user logs in to a website within an hour, counting how much an IP pays in a day, etc.) , and then provide better services (for example, judging whether the user's operation has business risks, etc.). [0003] At present, this demand is mainly achieved by storing detailed journals or accumulative accounts. However, these methods not only have high performance requirements for database servers and networks, but also have slow response speeds. Contents of the invention [0004] The purpose of this application is to provide a data storage method and device, which can o...

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
Inventor 窦方钰冯凯陈锣斌
Owner ADVANCED NEW 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