Communication program test method and AI camera communication system

The invention discloses a communication program test method, which comprises the following steps that: a communication program comprising a domain socket virtual server and a test program comprising a domain socket virtual client are established locally, the domain socket virtual server is started a...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: HUANG CHENGZHOU, LUO FUZHANG, XIAO JINSHENG, LAI TAIBIN, MENG KEYU
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 communication program test method, which comprises the following steps that: a communication program comprising a domain socket virtual server and a test program comprising a domain socket virtual client are established locally, the domain socket virtual server is started along with the communication program, and the domain socket virtual client is started along with the test program; a communication program and a test program are started and configured, and the domain socket virtual client is connected with the domain socket virtual server; the test program sends an instruction message input by an operator to the communication program; the communication program receives the instruction message to form a message event, calls a processing function bound with the message event to process the message event, and returns a processing result; and the test program receives the processing result and judges whether the information is right or wrong. According to the scheme, the communication