Compression algorithm and decompression method for black and white dot matrix data in power system protection device

A power system protection, black and white dot matrix technology, applied in the field of data compression, can solve the problems of data transmission affecting transmission efficiency and transmission quality, all 0s, etc.

Inactive Publication Date: 2020-01-10
ELECTRIC POWER RESEARCH INSTITUTE, CHINA SOUTHERN POWER GRID CO LTD +1
View PDF9 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The management CPU transmits black and white dot matrix data to the Panel board through a bus with checksum, such as the Ethernet bus. During the transmission process, due to the large amount of data, a large number of dot matrix data on a screen will appear completely black or completely white. For these two cases, the data in bytes is either all 0xFF or all 0, and a large amount of data transmission affects the transmission efficiency and quality

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
  • Compression algorithm and decompression method for black and white dot matrix data in power system protection device
  • Compression algorithm and decompression method for black and white dot matrix data in power system protection device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The present invention will be further explained in detail below in conjunction with the accompanying drawings and specific embodiments, but it should be understood that the protection scope of the present invention is not limited by the specific embodiments.

[0021] Such as figure 1 As shown, the method of the present invention

[0022] Including the following steps:

[0023] 1. The management CPU first reads a byte of original dot matrix data. If the read data is 0 or 0xFF, the counter in the management CPU starts counting. If the read data is not 0x00 or 0xFF, the counter does not count, and the counter is zero;

[0024] 2. If the compressed data counter of the management CPU has started counting, proceed to step 3; otherwise, skip to step 5;

[0025] 3. If the original data of the previous byte is the same as the original data of the current byte, go directly to step 4; otherwise, copy the value of the counter to the compressed data writing position, and then cop...

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 relates to a compression algorithm for black and white dot matrix data in a power system protection device, which comprises the following steps: S01, reading original dot matrix data ofone byte, judging whether the current byte is 0x00 or 0xFF, if not, copying the read original data to a compressed data writing position, and if so, carrying out the next step; S02, copying the read original data into the compressed data, and starting counting, wherein the counting number is the number of the continuous original data which is the same as the original data of the current byte; andS03, when bytes different from the bytes of the original data in the step S02 are read, returning to the step S01. The algorithm is good in actual engineering application effect, the data volume is averagely reduced by 35%, and the data volume of an individual interface can be reduced by 99%.

Description

technical field [0001] The invention relates to a data compression method, in particular to a compression algorithm and decompression method of black and white dot matrix data in a power system protection device. Background technique [0002] The secondary equipment of the power system is mainly used in the substation, and the surrounding electromagnetic environment is extremely complex. In actual engineering, it is found that if the screen on the panel is directly connected to the management CPU board through the driver chip plus LCD flat cable, it is easy to cause abnormal screen display due to the harsh electromagnetic environment. In order to prevent this phenomenon, the screen is connected to the management CPU through a bus with checksum. The management CPU transmits black and white dot matrix data to the Panel board through a bus with checksum, such as the Ethernet bus. During the transmission process, due to the large amount of data, a large number of dot matrix dat...

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): H03M7/30
CPCH03M7/30
Inventor 陈超李鹏习伟匡晓云姚浩丁毅陈新之崔岩峰商巍章鑫杰赵勇军董腾
Owner ELECTRIC POWER RESEARCH INSTITUTE, CHINA SOUTHERN POWER GRID 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