Method and device for processing and querying data

A data processing and data query technology, applied in the field of communication, can solve the problem of slow query response speed and so on

Active Publication Date: 2011-09-21
CHINA MOBILE SUZHOU SOFTWARE TECH CO LTD +2
View PDF3 Cites 85 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] For existing technology 3: Although this method is currently more popular, the query response speed is often relatively slow. When the amount of data is large, each query requires a lot of computing and IO resources, often requiring a very large A computer cluster can achieve a certain query 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
  • Method and device for processing and querying data
  • Method and device for processing and querying data
  • Method and device for processing and querying data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0105] The technical solutions in the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the present invention. Apparently, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0106] As shown in Figure 1 (a), it is a kind of data processing method in the embodiment of the present invention, specifically comprises the following steps:

[0107] Step 101. Establish a first-level index for data, the data is stored in at least one file, the first-level index is used to index each file, and corresponding data is stored in the file.

[0108] The method for storing the data in the file is as follows: setting keywords according to the field attribute values ​​of the data...

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 embodiment of the invention discloses a method and device for processing and querying data. The processing method comprises the following steps of: establishing a first level index for the data, wherein the data is stored in at least one file, the first level index is used for indexing each file, and the corresponding data is stored in the file; and respectively establishing a second level index for each file, wherein the second level index is used for indexing the corresponding data in the corresponding file. The querying method comprises the following steps of: utilizing the first level index to search within each file according to a received data querying request, thereby acquiring a queried file storing the data queried by the querying request; and then utilizing the second level index to search within the queried file according to the data querying request, thereby acquiring the data queried by the querying request. By using the method, the speed for querying a large amount of data is increased.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a data processing and query method and device. Background technique [0002] A telecommunication service CDR (Call Detail Record, call detail record) is data provided in a telecommunication network to record user call event information. For example, a typical call CDR includes a lot of information such as the user's communication number, the other party's number, call time, and service type. With the continuous enrichment of current telecommunication services, here for convenience, we collectively refer to the recorded data of calls, text messages, mobile Internet and other services as CDR data. For example, a typical mobile Internet CDR includes user communication number, URL (Uniform Resource Locator, Uniform Resource Locator), HTTP (HyperText Transfer Protocol, Hypertext Transfer Protocol) status code, session time, uplink and downlink traffic and many other information...

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 CHINA MOBILE SUZHOU SOFTWARE 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