Compressed encoding and decoding method for network flow data and bitmap indexes thereof
A bitmap indexing and compression coding technology, applied in database indexing, structured data retrieval, special data processing applications, etc., can solve the problems of inability to compress original network stream data synchronously, and cannot be applied well, and reduce coding complexity , the effect of increasing the compression rate and reducing the encoding length
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0066] The present invention provides a method for compressing and encoding network stream data and its bitmap index, and the specific steps are as follows:
[0067] Step 1: Split the original stream data sequence according to the field attributes and store it in a columnar database; among them, split the source and destination address sequence according to the field attributes and store them in columns, and get the following: figure 2 the database shown;
[0068] The second step: divide each column of data sequence into 4K row units; get as follows image 3 The block result shown is the original data block;
[0069] Step 3: sort the data in each data block in the original data block by row to generate Figure 4 The sorted rearranged data blocks shown, wherein the sorting can be sorted by initial letter, size, hash, etc.; and further obtain the rearrangement of the mapping relationship between the original data block and the rearranged data block Improved bitmap;
[0070]...
Embodiment 2
[0080] The present invention further provides a kind of coding structure of improving bitmap index table (such as Image 6 );
[0081] The code word length is 8 or 16 bits. The first bit is the type flag bit, 0 means 0 fill word (0-fill-word), and 1 means 1 fill word (1-fill word); the second bit indicates the length of the 0 / 1 fill word, 0 means the length is 1 byte, and 1 means the length is 2 bytes. For a 0 / 1 stuffing word with a length of 1 byte, the 3rd to 8th bits are the bit counters representing consecutive 0 / 1 bits; for a 0 / 1 stuffing word with a length of 2 bytes, the 3rd to 8th bit The 16th bit is a bit counter representing consecutive 0 / 1 bits.
Embodiment 3
[0083] The present invention further provides a coding structure for rearranging an improved bitmap (such as Figure 7 );
[0084] The code word length is 8 bits. The first bit is the type flag bit, 0 means 0 filling word (0-fill-word), and 1 means non-filling word (dirty-word). For 0 padding words, the 2nd to 8th bits are the sequence block counters representing consecutive 0 bits (7 consecutive bits form a sequence block); for non-filling words, the 2nd to 8th bits are consecutive 7 bits non-contiguous 0 sequence blocks.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com