Binary coding-based domain name system (DNS) data compression and decompression methods and systems

A technology of binary encoding and data compression, applied in the field of computer network

Active Publication Date: 2014-03-26
CHINA INTERNET NETWORK INFORMATION CENTER
View PDF4 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, there is a lack of a stable and effective log compression technology to improve the efficiency of log storage and transmission

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
  • Binary coding-based domain name system (DNS) data compression and decompression methods and systems
  • Binary coding-based domain name system (DNS) data compression and decompression methods and systems
  • Binary coding-based domain name system (DNS) data compression and decompression methods and systems

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] 1. Data compression module

[0062] 1) Time compression

[0063] In the log file, each record retains a complete time record. This is not necessary. Only part of the information in the time field can be retained to form the time in compressed format. When decompressing, the time in the complete format can be restored according to the relationship between records; The time field includes: year, month, day, hour, minute, second, microsecond.

[0064] Algorithms for compressing time such as figure 2 shown.

[0065] An example of the time compression process is as follows:

[0066] Read 5 records from the log in sequence:

[0067] (1) Read the first record, the time is: 20120305122356 916453. This is the first record, so finally record the complete time format in the compressed file: "20120305122356 916453".

[0068] (2) Read the second record, the time is: 20120305122356 916460, compared with the time of the previous record "20120305122356 916453", it is found that ...

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 binary coding-based domain name system (DNS) data compression and decompression methods and systems, and belongs to the field of computer network technologies. The DNS data compression method comprises the following steps: 1) reading log information from a data source file, and then packing the data into a cache queue; 2) taking out the data from a data cache queue and compressing the data through a data compression module, and storing into a compression information cache; 3) taking out the data from the compression information cache, carrying out binary encoding, and then storing in a result file. The decompression method comprises the following steps: (1) carrying out binary encoding decompression on binary encoding compression log information in a result file, and then storing in the compression information cache; 2) taking out the data from the cache, and storing into a decompression information cache; 3) taking out the data from the decompression information cache and decompressing to obtain log record information. By adopting the methods, high-ratio compression of the log is achieved, and the compressed file can be further compressed by gzip.

Description

technical field [0001] The invention relates to a method and system for compressing and decompressing DNS data based on binary coding, and belongs to the technical field of computer networks. Background technique [0002] The Domain Name System (Domain Name System, DNS) is a core service provided by the Internet infrastructure. The system includes a distributed database that can map domain names and IP addresses to each other, and a system that implements domain name and IP address conversion functions that can be recognized by the network. . [0003] After decades of development, DNS has become the largest and most complex distributed database system in the world, with good scalability and efficient resolution performance. At the same time, the huge workload makes the DNS system generate massive amounts of data. Existing systems generally use character encoding to preserve original logs. [0004] The defective of prior art is: [0005] The massive query and response ser...

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): H04L29/12H04L29/06G06F17/30
Inventor 阳任科
Owner CHINA INTERNET NETWORK INFORMATION CENTER
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