Socket communication interactive testing method and network television testing system using same
A technology for interactive testing and testing systems, applied in the field of network TV, can solve the problems of timely positioning of errors, poor human-computer interaction, etc., achieve the effects of rapid positioning of problems, convenient operation, and enhanced human-computer interaction capabilities
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] Embodiment one, see figure 2 As shown, the socket communication interaction testing method of the present embodiment includes the following steps:
[0034] S1. Run the client and the server corresponding to the client, input a request on the serial port terminal of the client, and wait for the server to feedback information. If the server feedbacks the information correctly, end the test;
[0035] S2. If the server fails to feed back the information correctly, the output displays an error message and an error location.
[0036] Among the many clients, at first, what needs to be verified and tested is whether the network is normal, therefore, the client includes a DHCP (Dynamic Host Configuration Protocol) client, and the server includes a DHCP server corresponding to the DHCP client, Correspondingly, in step S1, the request input by the serial port terminal of the client includes a DHCP request. As a specific embodiment, step S1 further includes the following sub-ste...
Embodiment 2
[0041] Embodiment two, see image 3 As shown, in step S12, the set-top box acts as a TCP client, and the network terminal acts as a TCP server. Include the following sub-steps:
[0042]a1. Input a communication test request on the TCP client, for example, enter "my is TCP client" on the TCP client, and the request will be sent to the TCP server through the socket. If the communication is normal, the server will give a correct response, such as replying " my is TCP server", and under normal communication conditions, you can send any message to the server, and the server will receive and give correct feedback, until you enter "bye bye TCP server" on the TCP client, and the server feedback "bye bye TCP client". If the server cannot give correct feedback, it means that there is a fault in the communication. The R&D personnel can clearly locate that the fault occurs when the set-top box acts as a TCP client and the network terminal acts as a TCP server for communication. Therefore...
Embodiment 3
[0044] Embodiment 3, in step S12, the set-top box acts as a UDP client, and the network terminal acts as a UDP server. Include the following sub-steps:
[0045] b1. Enter a communication test request on the UDP client, for example, enter "my is UDP client" on the UDP client, and the request will be sent to the UDP server through the socket. If the communication is normal, the server will respond correctly, such as replying " my is UDP server", and the communication can send any message to the server, the server will receive and give correct feedback, until the UDP client input "bye bye UDP server", the server feedback "bye bye UDP client". If the server cannot give correct feedback, it means that there is a fault in the communication. The R&D personnel can clearly locate that the fault occurs when the set-top box acts as a UDP client and the network terminal acts as a UDP server for communication. Therefore, targeted debugging can be carried out. In the same principle, the ne...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com