Telephone number attribution data compression algorithm

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, fast decompression, and reduced data size

Active Publication Date: 2014-11-05
SHENZHEN TOPWISE COMM CO LTD
View PDF5 Cites 5 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
  • Telephone number attribution data compression algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] See figure 1 , The data compression algorithm for the phone number attribution provided by the present invention includes the following steps:

[0022] Step 1: Sort and record all the area names, and use the record number as the index value of the area name;

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

[0024] Step 3: Sort the number segment data into blocks according to the number segment, and compress each block of number segment data separately;

[0025] Step four, get the number segment by phone number;

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

[0027] Step 6, decompress the block data to obtain the index value of the corresponding area name of the corresponding number segment;

[0028] Step 7: Obtain the area name through the index value.

[0029] In the present invention, step 1 to step 3 are the process of generating compressed data, and step 4 ...

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 present invention relates to the field of computer programs, in particular to a data compression algorithm for the attribution of telephone numbers. Background technique [0002] The attribution function of a telephone number is a commonly used function on mobile phones at present, which is realized by searching for more than 200,000 telephone section data. These raw data occupies about 5M space, which takes up too much space for some devices with limited storage capacity and makes it take too long to read and search for these data. Therefore, it is necessary to compress this data. [0003] Some other similar compression algorithms use general algorithms such as zip and rar, and the compressed data is about 500K, but the decompression algorithm is relatively complicated and runs slowly. Other algorithms use indexing to compress, and the compressed data is about 460K. Their common problem is that they have requirements for the computing power and memory...

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/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