Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Inactive Publication Date: 2012-06-20
HISENSE BROADBAND MULTIMEDIA TECH
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In order to solve the problem of poor human-computer interaction in the existing Socket communication test, the present invention provides a Socket communication test method, which can perform human-computer interaction well during the test process, and detect errors in time by sending instructions to the tested equipment position

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Socket communication interactive testing method and network television testing system using same
  • Socket communication interactive testing method and network television testing system using same
  • Socket communication interactive testing method and network television testing system using same

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a socket communication interactive testing method which is characterized by comprising the following steps: (1) operating a client and a server corresponding to the client, inputting a request at a serial port terminal of the client, waiting for feedback information from the server, and if the server properly returns feedback information, finishing testing; and (2) if the server can not properly return feedback information, outputting and displaying an error prompt and an error location. The socket communication robustness testing method disclosed by the invention is convenient to operate, can quickly position the problem, improves the man-machine interaction capacity, enhances the testing efficiency, and can select test patterns more flexibly.

Description

technical field [0001] The invention relates to a Socket communication testing method, in particular to a Socket communication testing method of an Internet TV, belonging to the technical field of Internet TV. Background technique [0002] In the technical field of Socket communication testing, the existing testing method generally is that the information interaction between the testing equipment and the server is carried out by a pre-written program during the testing process, such as figure 1 As shown, it is the flow chart of the current Socket communication test program, which automatically performs network setting checks and interface implementation checks. All checks are in one program, and testers cannot intervene, and human-computer interaction cannot be performed well, and once problems occur, Testers cannot locate the error location, they can only check all the codes to find and locate errors, and testers cannot send instructions. Contents of the invention [000...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04N21/24H04N21/4425H04N21/643
Inventor 徐磊
Owner HISENSE BROADBAND MULTIMEDIA TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products