CN106657997A - Method for testing performance of network port of set-top box - Google Patents
Method for testing performance of network port of set-top box Download PDFInfo
- Publication number
- CN106657997A CN106657997A CN201611110984.4A CN201611110984A CN106657997A CN 106657997 A CN106657997 A CN 106657997A CN 201611110984 A CN201611110984 A CN 201611110984A CN 106657997 A CN106657997 A CN 106657997A
- Authority
- CN
- China
- Prior art keywords
- top box
- network
- packet
- set top
- data packet
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
- H04N17/04—Diagnosis, testing or measuring for television systems or their details for receivers
Abstract
The invention discloses a method for testing the performance of a network port of a set-top box. The method comprises the following steps: (1) preparing a special network RJ45 registered jack; (2) inserting the special network RJ45 registered jack in the network port of the to-be-tested set-top box; (3) running a set-top box network port performance detection thread by the to-be-tested set-top box; (4) transmitting a network data packet back to the network port of the set-top box after passing through the registered jack, and receiving and processing the network data packet through a receiving module of the thread; (5) if the particular network data packet is not successfully received, adding 1 to a packet loss counter; (6) if the particular network data packet is received, but the data CRC in the data packet fails the verification, adding 1 to a wrong packet counter; and (7) if the particular network data packet is received, and the data CRC in the data packet passes the verification, adding 1 to a successfully received data packet counter. By adoption of the method disclosed by the invention, the link and connection correctness of the physical network port of the set-top box can be tested, the packet loss rate and the throughput of the network port of the set-top box can also be tested, and long-time pressure burn test is facilitated.
Description
Technical field
The present invention relates to set-top box technique field, more particularly to a kind of set top box port performance test methods.
Background technology
Digital video switching box (English:Set Top Box, abbreviation STB), box on so-called Set Top Box or machine is one
The equipment of individual connection television set and outside source.The data signal of compression can be changed into television content by it, and in television set
On show.Signal can come from wire cable, satellite antenna, broadband network and terrestrial broadcasting.It is interior that Set Top Box is received
Hold in addition to image, sound that simulated television can be provided, be more can to receive digital content, including electronic programming refers to
South, internet webpage, captions etc..Enable users to watch digital television program on existing television set, and can be entered by network
The amusement of row interactive digitalization, education and commercialization activity.
With the development and popularization of network technology, Most current Set Top Box all carries network interface, meets user's network of relation
Using demand.Set Top Box production needs to detect the network interface of Set Top Box that inspection set top box port hardware connects before dispatching from the factory
Correctness, prevent rosin joint etc., it is ensured that product quality.
The content of the invention
The technical problem to be solved is to provide a kind of method of set top box port performance test, relative to biography
The method of testing of system, the method for the present invention is simple, convenient, low cost, and solving the test of conventional set-top box network port performance needs PC
The equipment such as server, router build the problem of network environment.
To solve above technical problem, the technical solution used in the present invention is:A kind of set top box port performance test methods,
Comprise the following steps:
(1) making of ad hoc network RJ45 connector:Prepare a general twisted-pair power cable, 8 lines from the inside take out two,
Intercepted length 10CM or so, respectively by this both threads doubling, the crystal connector of one netting twine of preparation, the two ends insertion 1 of first,
3 points;The two ends insertion 2 of second, 6 points, clamped with clamping pliers;
(2) the good network RJ45 connector of special facture is inserted into set top box port to be measured;
(3) Set Top Box to be measured runs a set top box port performance detection thread, and the thread detects special facture
RJ45M network crystal heads are inserted, and the thread is by the set top box port periodically long particular network number of one fixed packet of transmission
According to bag;
(4) network packet is returned to set top box port after ad hoc network RJ45 connector, again, by line
The receiver module of journey receives and processes the network packet;
(5) if being unsuccessfully received the particular network packet within the time of regulation, packet loss rolling counters forward adds 1;
(6) if receiving the particular network packet within the time of regulation, but the data CRC check in packet is lost
Lose, then erroneous packets rolling counters forward adds 1;
(7) if receiving the specific network packet at the appointed time, and packet data CRC check passes through,
Then count is incremented for successful data reception package counting facility;
(8) Set Top Box shows in real time network port performance testing result by display, and handling capacity and packet loss are shown respectively.
The computational methods of the handling capacity and packet loss are:Handling capacity=be properly received network bag bit sums/receiving data
Total time;Packet loss=data-bag lost bit sums/packet bit is total for transmission.
In sum, with technical scheme, have the advantages that:This patent provides a kind of by machine
The method of top box network port performance test, the method is simple, convenient, low cost, and solving the test of conventional set-top box network port performance needs
The equipment such as PC server, router build the problem of network environment, and conventional method takes up an area space greatly, high cost.
Description of the drawings
Fig. 1 is method of the present invention flow chart;
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described.The value size of following components and parts is only preferred embodiment, does not constitute limiting the scope of the invention.
Referring to Fig. 1, set top box port performance test methods are planted, comprised the following steps:
The making of S1, ad hoc network RJ45 connector:In 10/100M network services, RJ45 interface lines define 8
Line, in this 8 lines, only 4 lines are that useful (contact point face is successively from left to right 1,2,3, and 6), other are all useless.1、2
Point is respectively:TX+, TX- are used to send data, 3,6 points be respectively RX+, RX- for receiving data, ad hoc network RJ45 crystals
Head effect is the internal loopback for realizing network data, realizes that principle is to be connected into back TX, RX reception of Ethernet and transmission interface
Road, preparation method is:Prepare a general twisted-pair power cable, 8 lines from the inside take out two, intercepted length 10CM or so,
Respectively by this both threads doubling, prepare the crystal connector of a netting twine, the two ends insertion 1 of first, 3 points;The two ends of second
Insertion 2,6 points, clamped with clamping pliers;
S2, the good network RJ45 connector of special facture is inserted into set top box port to be measured, be next to realize Set Top Box
Network interface data internal loopback is got ready;
S3, Set Top Box to be measured run a set top box port performance detection thread, and the thread detects special facture
RJ45M network crystal heads are inserted, and the thread is by the set top box port periodically long particular network number of one fixed packet of transmission
According to bag;
S4, the network packet are returned to set top box port after ad hoc network RJ45 connector, again, by line
The receiver module of journey receives and processes the network packet;
If S5, regulation time in be unsuccessfully received the particular network packet, packet loss rolling counters forward adds 1;
If S6, within the time of regulation receive the particular network packet, but the data CRC check in packet is lost
Lose, then erroneous packets rolling counters forward adds 1;
S7, if the specific network packet is received at the appointed time, and packet data CRC check passes through,
Then count is incremented for successful data reception package counting facility;
S8, Set Top Box show in real time network port performance testing result by display, and handling capacity and packet loss are shown respectively.
Specifically, the computational methods of the handling capacity and packet loss are:Handling capacity=be properly received network bag bit sums/
Receiving data total time;Packet loss=data-bag lost bit sums/packet bit is total for transmission.
A kind of method of testing of set top box port performance of the present invention, not only can test Set Top Box physical internet ports chain in succession
Correctness is connect, its packet loss, handling capacity can also be tested, facilitate long-time pressure strike-machine to test.
The above is the preferred embodiment of the present invention, it is noted that for those skilled in the art
For, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications are also considered as
Protection scope of the present invention.
Claims (2)
1. a kind of set top box port performance test methods, it is characterised in that comprise the following steps:
(1) making of ad hoc network RJ45 connector:Prepare a general twisted-pair power cable, 8 lines from the inside take out two, intercept
Length 10CM or so, respectively by this both threads doubling, prepares the crystal connector of a netting twine, the two ends insertion 1 of first, 3 points;
The two ends insertion 2 of second, 6 points, clamped with clamping pliers;
(2) the good network RJ45 connector of special facture is inserted into set top box port to be measured;
(3) Set Top Box to be measured runs a set top box port performance detection thread, and the thread is first it is detected that special facture
RJ45M network crystal heads are inserted, and the thread is by the set top box port periodically long particular network number of one fixed packet of transmission
According to bag;
(4) network packet is returned to set top box port after ad hoc network RJ45 connector, again, by thread
Receiver module receives and processes the network packet;
(5) if being unsuccessfully received the particular network packet within the time of regulation, packet loss rolling counters forward adds 1;
(6) if receiving the particular network packet within the time of regulation, but the data CRC check failure in packet, then
Erroneous packets rolling counters forward adds 1;
(7) if receiving the specific network packet at the appointed time, and packet data CRC check passes through, then into
Count is incremented for work(receiving data package counting facility;
(8) Set Top Box shows in real time network port performance testing result by display, and handling capacity and packet loss are shown respectively.
2. a kind of set top box port performance test methods according to claim 1, it is characterised in that:The handling capacity and lose
The computational methods of bag rate are:Handling capacity=be properly received network bag bit sums/receiving data total time;Packet loss=packet
Loss bit sums/packet bit is total for transmission.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611110984.4A CN106657997A (en) | 2016-12-06 | 2016-12-06 | Method for testing performance of network port of set-top box |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611110984.4A CN106657997A (en) | 2016-12-06 | 2016-12-06 | Method for testing performance of network port of set-top box |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106657997A true CN106657997A (en) | 2017-05-10 |
Family
ID=58820130
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611110984.4A Pending CN106657997A (en) | 2016-12-06 | 2016-12-06 | Method for testing performance of network port of set-top box |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106657997A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109005406A (en) * | 2018-09-04 | 2018-12-14 | 珠海迈科智能科技股份有限公司 | A kind of method of subpackage control statistical measurement set-top box signal |
CN112787879A (en) * | 2019-11-08 | 2021-05-11 | 西安诺瓦星云科技股份有限公司 | Gigabit Ethernet packet loss detection method and device thereof |
CN114760205A (en) * | 2022-04-26 | 2022-07-15 | 浙江大学 | Self-calibration optimization method of distributed network |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101742358A (en) * | 2009-12-22 | 2010-06-16 | 重庆重邮东电通信技术有限公司 | Method and device for testing quality of network television |
CN101877658A (en) * | 2010-06-30 | 2010-11-03 | 中兴通讯股份有限公司 | Method and device for detecting network port performance of IPTV set-top box |
CN202094915U (en) * | 2010-09-29 | 2011-12-28 | 康佳集团股份有限公司 | Tester aiming at network transmission rate in network television |
-
2016
- 2016-12-06 CN CN201611110984.4A patent/CN106657997A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101742358A (en) * | 2009-12-22 | 2010-06-16 | 重庆重邮东电通信技术有限公司 | Method and device for testing quality of network television |
CN101877658A (en) * | 2010-06-30 | 2010-11-03 | 中兴通讯股份有限公司 | Method and device for detecting network port performance of IPTV set-top box |
CN202094915U (en) * | 2010-09-29 | 2011-12-28 | 康佳集团股份有限公司 | Tester aiming at network transmission rate in network television |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109005406A (en) * | 2018-09-04 | 2018-12-14 | 珠海迈科智能科技股份有限公司 | A kind of method of subpackage control statistical measurement set-top box signal |
CN112787879A (en) * | 2019-11-08 | 2021-05-11 | 西安诺瓦星云科技股份有限公司 | Gigabit Ethernet packet loss detection method and device thereof |
CN114760205A (en) * | 2022-04-26 | 2022-07-15 | 浙江大学 | Self-calibration optimization method of distributed network |
CN114760205B (en) * | 2022-04-26 | 2023-03-28 | 浙江大学 | Self-calibration optimization method of distributed network |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6993008B2 (en) | Multi-packet transport structure and method for sending network data over satellite network | |
CN103957134B (en) | Modular configurable telemetry parameter analyzing and processing system | |
CN106657997A (en) | Method for testing performance of network port of set-top box | |
US20150029856A1 (en) | Packets recovery system and method | |
CN107078931A (en) | By bus system from sender by the participant of the method for frame serial transmission at least one recipient and bus system | |
WO2018059436A1 (en) | Error code detection method, device and system and computer-readable storage medium | |
CN109905205B (en) | Data sending method, data receiving method, data sending equipment, data receiving equipment, data transmission method and data transmission system | |
CN103532923B (en) | A kind of real-time media stream transmission method and system | |
WO2013098810A1 (en) | Adaptive forward error correction (fec) system and method | |
CN110769207B (en) | Electronic endoscope signal transmission method, device, equipment and system | |
CN103686186B (en) | Data transmission platform | |
CN109347598A (en) | Check code processing method, electronic equipment and storage connect medium | |
CN103475691B (en) | Video distributed cache transfer system | |
CN110225416A (en) | A kind of transmission method of video, the network terminal, intelligent terminal and storage device | |
US20160205223A1 (en) | Method and system for serialization and deserialization (serdes) for inter-system communications | |
US20180034590A1 (en) | Coding Scheme and Multiframe Transmission in Optical Networks | |
US5606558A (en) | Method of and devices for transmitting in ATM cells information supplied in the form of a series of distinct entities for a given application | |
CN112468757B (en) | Adaptive resolution ARINC818 video conversion circuit based on FPGA | |
CN102223406B (en) | System and method for network-based digitalized real-time transmission of video information | |
CN109005009B (en) | Processing method and system for data packet check error | |
CN103313073B (en) | The method and apparatus send for 3 d image data, receive, transmitted | |
US20170103727A1 (en) | Method, system and apparatus for transmitting intelligent information | |
CN108574814B (en) | Data processing method and device | |
CN112584435B (en) | Wide-narrow-band fusion communication transmission method and device and electronic equipment | |
CN110891154B (en) | Video fault-tolerant transmission system and fault-tolerant sending device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170510 |
|
RJ01 | Rejection of invention patent application after publication |