Data processing method and device

The invention provides a data processing method and device, and the method comprises the steps: traversing a to-be-processed text, and obtaining a target field in the to-be-processed text and the position information of the target field; obtaining a replacement field corresponding to the target fiel...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: ZHAO MAOLAN, NIU FUZHEN, XIE MINGMIN
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 provides a data processing method and device, and the method comprises the steps: traversing a to-be-processed text, and obtaining a target field in the to-be-processed text and the position information of the target field; obtaining a replacement field corresponding to the target field; generating a replacement comparison table according to the storage path of the to-be-processed text, the target field, the position information of the target field and a replacement field corresponding to the target field; and querying a to-be-replaced field at the position information in the to-be-processed text according to the replacement comparison table, and replacing the to-be-replaced field by utilizing the replacement field. Thus, a replacement comparison table can be customized basedon the obtained related information of the target field, then the corresponding positions in the to-be-processed text are found directly according to the position information in the replacement comparison table, the to-be-re