High-concurrency multi-protocol communication method and device, electronic equipment and storage medium

The invention provides a high-concurrency multi-protocol communication method and device, electronic equipment and a storage medium. The method comprises the following steps: creating a first socket object at a target port, and monitoring the target port; in response to determining that the target c...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: CHEN XUERUI, LI ZHI, MEI XINSU, XIAO JUNHAO, LI JIAHAO, MING MENG, LIN JINGWEN, GUO WENJING, LIU YUMIN, MA HONGYUE, QIN WEIMING, ZHANG NAN
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 high-concurrency multi-protocol communication method and device, electronic equipment and a storage medium. The method comprises the following steps: creating a first socket object at a target port, and monitoring the target port; in response to determining that the target client creates a second socket object corresponding to the first socket object at the target port, establishing a connection between the target client and the server, and generating a connection process; monitoring a target device corresponding to the target client by using the connection process to obtain target message data; determining message beginning information and message ending information corresponding to the target message data, so as to determine a protocol type according to the message beginning information and the message ending information; determining a length byte of the target message data according to the protocol type, and determining a data type according to a type identification bit in the targ