Data splitting and storing method and device

A data and data volume technology, applied in the computer field, can solve problems such as low query efficiency, and achieve the effect of narrowing the query scope and improving query efficiency

Active Publication Date: 2017-03-29
ADVANCED NEW TECH CO LTD
View PDF3 Cites 15 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 splitting and storing data, which is used to solve the problem that in the prior art, when a server queries a piece of user history data, it may need to traverse all the data tables to query the piece of user history data. The problem of low query efficiency

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with specific embodiments of the present application and corresponding drawings. Apparently, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0021] In this embodiment of the application, when the number of users is small, the server may store the user history data of all users in a data table in order of generation time. Generally, tens of millions of user historical data can be stored in a data table.

[0022] However, the number of users and the user historical data of each user may con...

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 splitting and storing method and device. The method comprises the steps of: acquiring selected user historical data; determining the data volume of user historical data corresponding to each user identifier in the selected user historical data; and splitting and storing the selected user historical data according to the determined data volume of user historical data corresponding to each user identifier. By adopting the method, after the selected user historical data is split and stored, when a server inquires a certain piece of user historical data, the piece of user historical data can be inquired according to the user identifier corresponding to the piece of user historical data only in a data table storing the user historical data corresponding to the user identifier instead of traversing all data tables, so that the inquiry range can be reduced and the inquiry efficiency can be improved.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a method and device for splitting and storing data. Background technique [0002] With the rapid development of computer technology and Internet technology, users can easily access the Internet, and through business interaction with the server on the Internet, obtain various services provided by the server. [0003] The server can provide services for multiple different users, and for each user, save the user history data of the user. Generally, each piece of user history data of a user may include: the user ID of the user, and data related to a service interaction between the server and the user, such as the service ID, interaction process data, and interaction result data. [0004] In the prior art, the server can generally store the user history data of all users in the data table in the database in sequence according to the generation time sequence of each user h...

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
CPCG06F16/90339G06F16/9574
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