Data processing methods

TWI941379BActive Publication Date: 2026-10-01QSAN TECH INC
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
TW114132277
Authority / Receiving Office
TW · TW
Patent Type
Patents
Current Assignee / Owner
Filing Date
2025-08-25
Publication Date
2026-10-01
Estimated Expiration
2045-08-24

Smart Images

  • Figure TWG2TB001914013_001
    Figure TWG2TB001914013_001
  • Figure TWG2TB001914013_002
    Figure TWG2TB001914013_002
  • Figure TWG2TB001914013_003
    Figure TWG2TB001914013_003
Patent Text Reader

Abstract

A data processing method is applicable to compressing and encrypting data to be processed and is implemented by a computing device. The computing device obtains an entropy value corresponding to the data to be processed, then obtains a target data compression method based on the entropy value, and compresses the data to be processed using the target data compression method to obtain compressed data. The computing device then obtains a segment of the data to be encrypted based on the entropy value and the compressed data, encrypts the segment using an encryption method to obtain a portion of encrypted data, and finally obtains a final encrypted data based on the portion of encrypted data and the compressed data.
Need to check novelty before this filing date? Find Prior Art

Claims

1. A data processing method applicable to compressing and encrypting data to be processed and implemented by a computing device, the data processing method comprising the following steps: (A) obtaining an entropy value corresponding to the data to be processed based on the data to be processed; (B) obtaining a target data compression method based on the entropy value; (C) compressing the data to be processed using the target data compression method to obtain compressed data; (D) obtaining an encrypted segment of the data to be processed based on the entropy value and the compressed data; (E) encrypting the encrypted segment using an encryption method to obtain a portion of encrypted data; and (F) obtaining a final encrypted data based on the portion of encrypted data and the compressed data, wherein... Step (B) further includes the following sub-steps: (B-1) obtaining at least one entropy threshold value, wherein the at least one entropy threshold value can define multiple entropy intervals, each entropy interval corresponding to multiple different data compression methods, wherein each entropy threshold value is obtained using a threshold value formula, which can be expressed as , where T is the entropy threshold value, is a weighting coefficient, is a minimum entropy value, and is a maximum entropy value; (B-2) obtaining a target entropy interval in which the entropy value is located from the entropy interval; and (B-3) obtaining the data compression method corresponding to the target entropy interval based on the target entropy interval in which the entropy value is located, as the target data compression method.

2. The data processing method as described in claim 1, wherein, Step (A) further includes the following sub-steps: (A-1) obtaining a data segment to be processed from the data to be processed; and (A-2) obtaining the entropy value based on the data segment to be processed.

3. The data processing method as described in claim 2, wherein, Sub-step (A-1) further includes the following sub-steps: (A-1-1) extracting multiple data segments from the data to be processed; and (A-1-2) obtaining a data segment to be analyzed from each data segment to form the data segment to be processed.

4. The data processing method as described in claim 1, wherein, Step (D) further includes the following sub-steps: (D-1) Obtaining a encryption ratio value based on the entropy value; (D-2) Obtaining the encryption segment from the compressed data based on the encryption ratio value.

5. The data processing method as described in claim 4, wherein, In sub-step (D-1), the encryption ratio is obtained using an encryption ratio formula, which can be expressed as: , where is the encryption ratio, e is the entropy value, and is the maximum entropy value.

6. The data processing method as described in claim 1, wherein, In step (F), the final encrypted data is obtained by merging the encrypted data and the remaining compressed data in the compressed data except for the segment to be encrypted.

Citation Information

Patent Citations

  • Method for securely extending key stream to encrypt high-entropy data

    TW200828938A

  • Predicting data compressibility using data entropy estimation

    US20140244604A1

  • Data compression method, electronic device and computer program product

    US20220035526A1

  • Image encryption through dynamic compression code words

    US20230328262A1

  • Compression of matrices for digital security

    US20240259185A1