Data transmission method, device and non-transitory computer readable storage medium
Disclosed is a data transmission method including the following operations: generating, by a transmitting terminal, a data packet according to a preset generation rule, and transmitting the data packet to a receiving terminal in a streaming transmission way, wherein the data packet at least comprise...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | Disclosed is a data transmission method including the following operations: generating, by a transmitting terminal, a data packet according to a preset generation rule, and transmitting the data packet to a receiving terminal in a streaming transmission way, wherein the data packet at least comprises a header identification code, sub-packet quantity information, data packet byte sum quantity information, a check bit, at least one sub-packet and an end-of-packet identification code; parsing, by the receiving terminal, the received data packet according to a preset parsing rule to extract the at least one sub-packet in the data packet; creating, by the receiving terminal, a data packet object, and establishing an internal link to each extracted sub-packet. The present disclosure also discloses a data transmission device and a computer readable storage medium. With the present disclosure, a starting position and an ending position of data can be determined and confusion of a data structure can be avoided. |
---|