Multi-thread controllable data communication method and device and medium

The invention provides a multi-thread controllable data communication method and device and a medium, and the method comprises the steps: obtaining a to-be-transmitted data frame according to a data communication request, and executing the storage and transmission of the data frame through employing...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: XIONG YIZHU, LI ZUMENG, LI WENJING, ZOU JINGJING, JING SHUYANG, YU ZHENYANG
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 multi-thread controllable data communication method and device and a medium, and the method comprises the steps: obtaining a to-be-transmitted data frame according to a data communication request, and executing the storage and transmission of the data frame through employing a first buffer area and a first thread; performing data transmission on the data frame through a logic channel, wherein the logic channel comprises a physical channel and a transmission protocol; receiving and storing the data frame through a second buffer area; and displaying the received data frame according to the subscription configuration. The method has the beneficial effects that the controllability of data communication in different scenes is realized, and the stability and the safety of data transmission are guaranteed. 本发明提供一种多线程的可控数据通信方法、装置及介质,该方法包括:根据数据通信请求,获取待发送数据帧,采用第一缓冲区及第一线程执行数据帧的存储及发送;对数据帧通过逻辑通道进行数据传输,逻辑通道包括物理通道及传输协议;通过第二缓冲区对数据帧进行接收及存储;根据订阅配置对接收到的数据帧执行显示。本发明的有益效果为:实现了不同场景下数据通信的可控,保障了数据传输的稳定性和安全性。