Data Compression Method of Telephone Number Attribution

A telephone number and data compression technology, which is applied in the field of computer programs, can solve problems such as equipment computing power and memory capacity requirements, and achieve the effects of fast computing speed, small memory occupation, and small data

Active Publication Date: 2018-02-06
SHENZHEN TOPWISE COMM CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Their common problem is that they have requirements for the computing power and memory capacity (from tens of K to hundreds of K) of the device, so they are only suitable for use on platforms with high hardware costs.

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 Compression Method of Telephone Number Attribution

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] refer to figure 1 , the telephone number attribution data compression method provided by the invention comprises the following steps:

[0020] Step 1, sort and record all the region names, and use the record number as the index value of the region name;

[0021] Step 2: Sort the number segment data, and replace the region name corresponding to each number segment with the index value;

[0022] Step 3, sorting the number segment data into blocks according to the number segment, and compressing each block of number segment data respectively;

[0023] Step 4, get the number segment through the phone number;

[0024] Step 5, find the corresponding block information through the number segment;

[0025] Step 6, decompress the block data, and obtain the index value of the region name corresponding to the corresponding number segment;

[0026] In step seven, the region name is obtained through the index value.

[0027] In the present invention, step 1 to step 3 is the proc...

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 telephone number attribution data compression algorithm, which comprises the following steps: 1) sorting and recording all region names, and taking record numbers as the index values of the region names; 2) sorting number segment data, replacing the region name corresponding to each number segment into the index value; 3) sorting and segmenting the number segment data according to the number segment, and independently compressing the data of each block of number segment; 4) obtaining the number segment through a telephone number; 5) finding corresponding block information through the number segment; 6) decompressing block data to obtain the index value of the corresponding region name of the corresponding number segment; and 7) obtaining the region name through the index value. The number segment data is partitioned, and each block of data is independently compressed; during retrieval, the corresponding block can be firstly found through the number segment, and the data of the block is then decompressed to obtain the index value; the corresponding region name is finally found through the index value; and therefore, the decompressed data is small, a compression rate is high, and operation speed is high.

Description

technical field [0001] The invention relates to the field of computer programs, in particular to a data compression method for phone number attribution. Background technique [0002] The attribution function of the telephone number is a common function on the mobile phone at present, and it is realized by searching more than 200,000 telephone section data. These raw data occupy about 5M space, which is too large for some devices with limited storage capacity and makes it take too long to read and search these data. Therefore it is necessary to compress this data. [0003] Some other similar compression methods use general methods such as zip and rar, and the compressed data is about 500K, but the decompression method is relatively complicated and the operation speed is slow. Another method uses indexing to compress, and the compressed data is about 460K. Their common problem is that they have requirements for the computing power and memory capacity (from dozens of K to hu...

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 Patents(China)
IPC IPC(8): G06F17/30
CPCG06F16/2228G06F16/245
Inventor 刘凯赞
Owner SHENZHEN TOPWISE COMM 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