Data processing method and related equipment

The embodiment of the invention discloses a data processing method and related equipment, which are used for saving storage space. The method comprises the steps of obtaining an original character string and a target displacement amount, wherein the original character string comprises a plurality of...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: YU XINSONG, YANG ZHENG, XIAO YANTING
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The embodiment of the invention discloses a data processing method and related equipment, which are used for saving storage space. The method comprises the steps of obtaining an original character string and a target displacement amount, wherein the original character string comprises a plurality of original characters arranged in sequence; encrypting each original character by using the target displacement to obtain an encrypted character corresponding to the original character; arranging the plurality of encrypted characters according to the arrangement sequence of the original characters in the original character string to obtain an encrypted character string; when the encrypted character string has a segment of characters continuously formed by a plurality of identical encrypted characters, the identical segment of identical encrypted characters are replaced by an identical encrypted character and a special character, a compressed character string is generated, and the special character is used for repres