Task storage method and apparatus

A task storage and storage location technology, applied in the database field, can solve problems such as low performance of fragmented file systems

Active Publication Date: 2017-07-07
BEIJING GRIDSUM TECH CO LTD
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a task storage method and device to at least solve the technical problem in the prior art that task data is stored in a distributed database according to type information, resulting in fragmented files and resulting in low system performance

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] According to an embodiment of the present invention, an embodiment of a task storage method is provided. It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and, although in The flowcharts show a logical order, but in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0024] figure 1 is a flow chart of a task storage method according to an embodiment of the present invention, such as figure 1 As shown, the method includes the following steps:

[0025] Step S102, acquiring a task set to be stored, wherein the task set includes: a plurality of task data, and data volume information and partition information corresponding to each task data.

[0026] Specifically, the above task data may be website profile data, the type information corresponding to each website data may be a website i...

Embodiment 2

[0106] According to an embodiment of the present invention, an embodiment of a task storage device is provided, figure 2 is a schematic diagram of a task storage device according to an embodiment of the present invention, such as figure 2 As shown, the device includes: a first acquiring unit 21 , a first determining unit 23 , a first reading unit 25 and a storage unit 27 .

[0107] Wherein, the first acquiring unit 21 is configured to acquire a task set to be stored, wherein the task set includes: a plurality of task data, and data amount information and partition information corresponding to each task data.

[0108] Specifically, the above task data may be website profile data, the data volume information corresponding to each website data may be the data volume of the website data, and the partition information corresponding to each website data may be time and day, such as date.

[0109] The first determining unit 23 is configured to determine the grouping information co...

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 task storage method and apparatus. The method comprises the steps of obtaining a to-be-stored task set; according to data quantity information corresponding to task data, determining group information corresponding to the task data from preset metadata; according to the group information and partition information corresponding to the task data, reading corresponding storage positions of the task data from a pre-configured external data file; and storing the task data in the task set to the corresponding storage positions of the task data respectively. According to the method and the apparatus, the technical problem of low system performance caused by generation of fragmentary files due to storage of the task data in a distributed database according to type information in the prior art is solved.

Description

technical field [0001] The present invention relates to the field of databases, in particular to a task storage method and device. Background technique [0002] In the prior art, when performing data analysis for multiple users, one user may correspond to one profile (user configuration file), or a bunch of profiles (the unique field of the corresponding website for data analysis). Users not only hope to obtain high analysis ability when viewing the data of a single website, but also hope to put all the profile data together to view the relevant data of the entire station group. This creates a contradiction. Putting all the data in the same In a database, when querying a single site, due to data interference from other site groups, the query speed is affected. [0003] For many station groups, there are many small websites with very little data. If the data tables in the database are only partitioned according to the corresponding prfile website, it will result in a lot of ...

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
IPC IPC(8): G06F17/30
CPCG06F16/221G06F16/2282G06F16/278
Inventor 洪超何恺铎黄健褚超汤卫群
Owner BEIJING GRIDSUM 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