一种数据压缩方法与解压方法以及相关设备

文档序号:1539579 发布日期:2020-02-14 浏览:8次 >En<

阅读说明:本技术 一种数据压缩方法与解压方法以及相关设备 (Data compression method, decompression method and related equipment ) 是由 李宇翔 于 2017-05-26 设计创作,主要内容包括:本发明实施例公开了一种数据压缩方法与解压方法以及相关设备,用于压缩连续重复的数据。本方法可包括:获取待压缩的原始数据文件(101);查找所述原始数据文件中存在的对预定数据进行连续重复的重复数据段,并确定连续重复的次数d(102);将所述预定数据及所述连续重复的次数d写入所述原始数据文件中以代替所述重复数据段(103),从而压缩所述重复数据段。(The embodiment of the invention discloses a data compression method, a decompression method and related equipment, which are used for compressing continuously repeated data. The method can comprise the following steps: acquiring an original data file (101) to be compressed; searching repeated data segments which exist in the original data file and are used for continuously repeating the preset data, and determining the continuous repetition times d (102); writing the predetermined data and the number of consecutive repetitions, d, into the original data file in place of the repeated data segment (103), thereby compressing the repeated data segment.)

1页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:数据库租户迁移的系统和方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!