Data coding method and device, storage medium and electronic device

The invention discloses a data coding method and device, a storage medium and an electronic device, and relates to the technical field of smart home, the data coding method comprises the following steps: determining binary characters corresponding to data to be coded, grouping the binary characters...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: YIN FEI, WANG SHAOLIN, DENG QIUWEI
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 invention discloses a data coding method and device, a storage medium and an electronic device, and relates to the technical field of smart home, the data coding method comprises the following steps: determining binary characters corresponding to data to be coded, grouping the binary characters according to a target value N to obtain M character groups, N = 8W-1, and M, W and N are positive integers; determining whether any character group in the M character groups is the last character group in the M character groups; under the condition that any character group is the last character group, a first preset value is inserted at a first position of any character group, and the first preset value is used for indicating that coding of the to-be-coded data is finished when the to-be-coded data is coded to any character group; and under the condition that any character group is not the last character group, a second preset value is inserted at the first position of any character group, and the second preset val