CN105979256A - Set top box test method and system - Google Patents

Set top box test method and system Download PDF

Info

Publication number
CN105979256A
CN105979256A CN201610513818.2A CN201610513818A CN105979256A CN 105979256 A CN105979256 A CN 105979256A CN 201610513818 A CN201610513818 A CN 201610513818A CN 105979256 A CN105979256 A CN 105979256A
Authority
CN
China
Prior art keywords
test
code stream
top box
card
set top
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.)
Granted
Application number
CN201610513818.2A
Other languages
Chinese (zh)
Other versions
CN105979256B (en
Inventor
苏耀迪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jiuzhou Electric Appliance Co Ltd
Original Assignee
Shenzhen Jiuzhou Electric Appliance Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Jiuzhou Electric Appliance Co Ltd filed Critical Shenzhen Jiuzhou Electric Appliance Co Ltd
Priority to CN201610513818.2A priority Critical patent/CN105979256B/en
Publication of CN105979256A publication Critical patent/CN105979256A/en
Application granted granted Critical
Publication of CN105979256B publication Critical patent/CN105979256B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/004Diagnosis, testing or measuring for television systems or their details for digital television systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/4424Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to a set top box test method and a set top box test system. According to the method, a basic code stream and an analog test card are provided, the test requirements of test items are separated, and for the different test items, the set top box can be tested by only modifying the basic code stream and writing test data needed by the test item into the analog test card, and the code stream is not need to be downloaded and provided for each test item, so that plenty of time is saved, the test efficiency of the set top box is improved, and the method is less error-prone, and conductive to the test of the set top box.

Description

A kind of set-top box test method and system
Technical field
The present invention relates to digital TV field, particularly relate to a kind of set-top box test method and system.
Background technology
At present, Set Top Box, as main digital television devices, has been used widely.
Set Top Box needs to carry out multinomial test in process of production, includes multiple test item.Enter at Set Top Box During row test, need to use substantial amounts of code stream and substantial amounts of test card, and a large amount of code stream audio frequency and video be essentially the same, Simply authorization message is different.And each test item will change broadcast code flow, download code stream when can spend more Between, this just wastes the plenty of time so that set top box testing inefficiency, and easily makes mistake, and is unfavorable for machine Top box is tested.
Summary of the invention
In view of this, it is necessary to for above-mentioned set top box testing inefficiency and the problem easily made mistakes, it is provided that A kind of set-top box test method and system.
A kind of set-top box test method that the present invention provides, comprises the steps:
S10: one section of basic code stream is provided, basis code stream is stored on testing service device;
S20: providing a simulation test card, simulation test card is repeatable erasable, corresponding different test item energy The test data that enough writes are corresponding;
S30: generate test packet according to the test request of test item, test packet includes simulation test Card test data, basis code stream amendment data and test item describe information;
S40: provide test client, when testing Set Top Box, takes test client connecting test Business device, simulation test card and Set Top Box to be measured, and test packet is imported to test client;
S50: control test client and simulation test card test data are sent to simulation test card, by basis code Stream amendment data send to testing service device, and amendment basis code stream makes basis code stream meet the requirement of test item, Test client is fed back to after amendment;
S60: after test client receives feedback, if Set Top Box to be measured needs to test, then controls to survey Examination server plays amended basis code stream, and control test client describes information according to test item and treats Survey Set Top Box to test, until completing test;
S70: recover basis code stream after having tested and wipe the test data in simulation test card.
Further, described step S40 particularly as follows: by test client by network connecting test server, Simulation test card and Set Top Box to be measured is connected by serial ports.
Further, described step S50 particularly as follows:
Control test client the simulation test card test data in test packet by serial ports write simulation Test card, allows simulation test card mandate or cancellation authorize;The basic code stream amendment data in test packet Testing service device is issued, by testing service device code stream amendment data write basis, basis code stream by network.
A kind of set top box testing system that the present invention provides, including: testing service device, simulation test card and survey Examination client;Described testing service device storage has basic code stream, and described simulation test card repeats erasable, corresponding Different test items can write the test data of correspondence, described test client connecting test server, mould Intend test card and Set Top Box to be measured, generate test packet, described test number according to the test request of test item According to including that simulation test card test data, basis code stream amendment data and test item describe information;
When Set Top Box to be measured is tested, simulation test card test data are sent extremely by described test client Code stream amendment data in basis are sent to described testing service device, described testing service by described simulation test card Device amendment basis code stream also feeds back to described test client in the completed, and described test client controls described Amended basis code stream play by testing service device, and describes information according to test item and enter Set Top Box to be measured Row test, until completing test.
Further, described test client connects described testing service device by network, is connected by serial ports Described simulation test card and Set Top Box to be measured.
Further, described test client passes through string the simulation test card test data in test packet Mouth writes described simulation test card, allows described simulation test card mandate or cancellation authorize;In test packet Basic code stream amendment data issue described testing service device by network, by described testing service device basic Code stream amendment data write basis code stream.
Set-top box test method of the present invention and system, it is provided that basis code stream, simulation test card, and by test item Test request separate, for different test items, as long as to basis code stream modify, simulation Test card writes the test data needed for test item, Set Top Box can be tested, it is not necessary to each survey Examination item all downloads offer code stream, thus saves the plenty of time, improves set top box testing efficiency, and is not easy Mistake, beneficially set top box testing.
Accompanying drawing explanation
Fig. 1 is the flow chart of the set-top box test method in an embodiment;
Fig. 2 is the structure chart of the set top box testing system in an embodiment.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and reality Execute example, the present invention is further elaborated.Only should be appreciated that specific embodiment described herein In order to explain the present invention, it is not intended to limit the present invention.
Fig. 1 is the flow chart of the set-top box test method in an embodiment, as it is shown in figure 1, the method bag Include following steps:
S10: one section of basic code stream is provided, basis code stream is stored on testing service device.
When to set top box testing, multiple test items are required for respective broadcast code flow and test.But it is each The not requirement mostly of the code stream audio-video frequency content of test item, simply authorization message is different.Therefore in this embodiment, For needing all test items of code stream to provide a basic code stream, the authorization message of basis code stream to revise, Corresponding amendment is carried out for different test items.
S20: providing a simulation test card, simulation test card is repeatable erasable, corresponding different test item energy The test data that enough writes are corresponding.
When to set top box testing, different test items is required for testing in a large number card, and this is easy for causing cost High and easily make mistakes, in this embodiment, it is provided that a simulation test card, this simulation test card is for different Test item can write the test data corresponding to this test item, and wipes the data of write after test terminates, So that follow-up can continue to uses.
S30: generate test packet according to the test request of test item, test packet includes simulation test Card test data, basis code stream amendment data and test item describe information.
After provide the foundation code stream and simulation test card, for basis code stream and simulation test card can be utilized Set Top Box to be measured is tested, in this embodiment, the test request of test item is generated test data Bag, has comprised the data needed for test item in test packet, has specifically included: simulation test card test number According to, basis code stream amendment data and test item information is described, so the test request of test item is individually collected Become out, it is simple to utilize basis code stream and simulation test card to test.Wherein, simulation test card test number According to, including authorisation related data, CW etc.;Basis code stream amendment data, such as EMM, ECM etc.; Test item describes information, and how description test item is tested, detailed testing procedure etc..
S40: test client (PC etc.) is provided, when Set Top Box is tested, by test client even Connect testing service device, simulation test card and Set Top Box to be measured, and test packet is imported to test client.
Thering is provided the test client testing Set Top Box, can be PC, test client connects to be surveyed Examination server, simulation test card and Set Top Box to be measured, and import test packet, test client control Make and complete the every test item to Set Top Box.
Concrete, by test client by network connecting test server, connect simulation test by serial ports Card and Set Top Box to be measured.
S50: control test client and simulation test card test data are sent to simulation test card, by basis code Stream amendment data send to testing service device, and amendment basis code stream makes basis code stream meet the requirement of test item, Test client is fed back to after amendment.
After packet is tested in and importing complete in connection, simulation test card test data are sent to simulating survey Examination card, modifies the amendment data transmission of basis code stream to basis code stream authorization message to testing service device, Simulation test card and basis code stream is made to disclosure satisfy that the test request of test item.
Concrete, this step is: control test client the simulation test card test number in test packet Write simulation test card according to by serial ports, allow simulation test card mandate or cancellation authorize;In test packet Basic code stream amendment data issue testing service device by network, by testing service device basis code stream revise Data write basis code stream.
S60: after test client receives feedback, if Set Top Box to be measured needs to test, then controls to survey Examination server plays amended basis code stream, and control test client describes information according to test item and treats Survey Set Top Box to test, until completing test.
In basis code stream is revised as the code stream needed for test item, simulation test card after write test data, as Fruit needs to test Set Top Box to be measured, plays, by controlling testing service device, the basic code stream revised, passes through The control of simulation test card, makes the Set Top Box to be measured can be with broadcast code flow, then by test client according to test Item description information completes test.
S70: recover basis code stream after having tested and wipe the test data in simulation test card.
This set-top box test method, it is provided that basis code stream, simulation test card, and by the test request of test item Separate, for different test items, as long as basis code stream is modified, write in simulation test card Enter the test data needed for test item, Set Top Box can be tested, it is not necessary to each test item is downloaded Code stream is provided, thus saves the plenty of time, improve set top box testing efficiency, and be not easy to make mistakes, beneficially machine Top box is tested.
Meanwhile, the present invention also provides for a kind of set top box testing system, as in figure 2 it is shown, this system includes: survey Examination server 100, simulation test card 200 and test client 300.Testing service device 100 storage has basis Code stream.Simulation test card 200 is repeatable erasable, and corresponding different test item can write the test number of correspondence According to.Test client 300 connecting test server 100, simulation test card 200 and Set Top Box to be measured 400, Test request according to test item generates test packet, and test packet includes that number tested by simulation test card According to, basis code stream amendment data and test item information is described, when Set Top Box 400 to be measured is tested, Simulation test card test data are sent to simulation test card 200, code stream amendment data in basis are sent to surveying Examination server 100.Testing service device 100 is revised basis code stream and feeds back to test client 300 in the completed, Test client 300 controls testing service device 100 and plays amended basis code stream, describes according to test item Set Top Box 400 to be measured is tested by information, until completing test.
Further, test client 300, by network connecting test server 100, is connected by serial ports Simulation test card 200 and Set Top Box to be measured 400.
Simulation test card test data in test client 300 test packet are by serial ports write simulation Test card 200, allows simulation test card 200 authorize or to cancel mandate;The basic code stream in test packet Amendment data issue testing service device 100, testing service device 100 basis code stream amendment data by network Write basis code stream.
This set top box testing system, it is provided that basis code stream, simulation test card, and by the test request of test item Separate, for different test items, as long as basis code stream is modified, write in simulation test card Enter the test data needed for test item, Set Top Box can be tested, it is not necessary to each test item is downloaded Code stream is provided, thus saves the plenty of time, improve set top box testing efficiency, and be not easy to make mistakes, beneficially machine Top box is tested.
These are only presently preferred embodiments of the present invention, not in order to limit the present invention, all the present invention's Any amendment, equivalent and the improvement etc. made within spirit and principle, should be included in the guarantor of the present invention Within the scope of protecting.

Claims (6)

1. a set-top box test method, it is characterised in that comprise the steps:
S10: one section of basic code stream is provided, basis code stream is stored on testing service device;
S20: providing a simulation test card, simulation test card is repeatable erasable, corresponding different test item energy The test data that enough writes are corresponding;
S30: generate test packet according to the test request of test item, test packet includes simulation test Card test data, basis code stream amendment data and test item describe information;
S40: provide test client, when testing Set Top Box, takes test client connecting test Business device, simulation test card and Set Top Box to be measured, and test packet is imported to test client;
S50: control test client and simulation test card test data are sent to simulation test card, by basis code Stream amendment data send to testing service device, and amendment basis code stream makes basis code stream meet the requirement of test item, Test client is fed back to after amendment;
S60: after test client receives feedback, if Set Top Box to be measured needs to test, then controls to survey Examination server plays amended basis code stream, and control test client describes information according to test item and treats Survey Set Top Box to test, until completing test;
S70: recover basis code stream after having tested and wipe the test data in simulation test card.
Set-top box test method the most according to claim 1, it is characterised in that described step S40 Particularly as follows: by test client by network connecting test server, by serial ports connect simulation test card and Set Top Box to be measured.
Set-top box test method the most according to claim 2, it is characterised in that described step S50 Particularly as follows:
Control test client the simulation test card test data in test packet by serial ports write simulation Test card, allows simulation test card mandate or cancellation authorize;The basic code stream amendment data in test packet Testing service device is issued, by testing service device code stream amendment data write basis, basis code stream by network.
4. a set top box testing system, it is characterised in that including: testing service device, simulation test card and Test client;Described testing service device storage has basic code stream, and described simulation test card repeats erasable, right Should different test items can write correspondence test data, described test client connecting test server, Simulation test card and Set Top Box to be measured, generate test packet, described test according to the test request of test item Packet includes that simulation test card test data, basis code stream amendment data and test item describe information;
When Set Top Box to be measured is tested, simulation test card test data are sent extremely by described test client Code stream amendment data in basis are sent to described testing service device, described testing service by described simulation test card Device amendment basis code stream also feeds back to described test client in the completed, and described test client controls described Amended basis code stream play by testing service device, and describes information according to test item and enter Set Top Box to be measured Row test, until completing test.
Set top box testing system the most according to claim 4, it is characterised in that described test client Connect described testing service device by network, connect described simulation test card and Set Top Box to be measured by serial ports.
Set top box testing system the most according to claim 5, it is characterised in that described test client Simulation test card test data in test packet are write described simulation test card by serial ports, allows described Simulation test card mandate or cancellation authorize;Basic code stream amendment data in test packet are sent out by network To described testing service device, by described testing service device code stream amendment data write basis, basis code stream.
CN201610513818.2A 2016-06-30 2016-06-30 A kind of set-top box test method and system Expired - Fee Related CN105979256B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610513818.2A CN105979256B (en) 2016-06-30 2016-06-30 A kind of set-top box test method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610513818.2A CN105979256B (en) 2016-06-30 2016-06-30 A kind of set-top box test method and system

Publications (2)

Publication Number Publication Date
CN105979256A true CN105979256A (en) 2016-09-28
CN105979256B CN105979256B (en) 2018-12-04

Family

ID=56955195

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610513818.2A Expired - Fee Related CN105979256B (en) 2016-06-30 2016-06-30 A kind of set-top box test method and system

Country Status (1)

Country Link
CN (1) CN105979256B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080189554A1 (en) * 2007-02-05 2008-08-07 Asad Ali Method and system for securing communication between a host computer and a secure portable device
CN101827281A (en) * 2010-03-30 2010-09-08 福建新大陆通信科技有限公司 Method for detecting conditional access intelligent card slot of STB (Set Top Box)
CN104038757A (en) * 2014-06-20 2014-09-10 深圳市九洲电器有限公司 Method and system for testing digital television terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080189554A1 (en) * 2007-02-05 2008-08-07 Asad Ali Method and system for securing communication between a host computer and a secure portable device
CN101827281A (en) * 2010-03-30 2010-09-08 福建新大陆通信科技有限公司 Method for detecting conditional access intelligent card slot of STB (Set Top Box)
CN104038757A (en) * 2014-06-20 2014-09-10 深圳市九洲电器有限公司 Method and system for testing digital television terminal

Also Published As

Publication number Publication date
CN105979256B (en) 2018-12-04

Similar Documents

Publication Publication Date Title
US20220337676A1 (en) Dynamic and static data of metadata objects
DE202014011066U1 (en) Digital device
CN101360221A (en) Network television service adaptation method, server and system
CN110381383B (en) Method and device for generating interactive audio and video based on mobile terminal, computing equipment and storage medium
CN105635758B (en) A kind of smart television desktop back-stage management method and server
WO2010055418A3 (en) System and method for interactive learning on television
CN105872821A (en) Interactive information processing method, apparatus and system
CN102158742A (en) Media content releasing method, device and system
CN103856692A (en) Channel package broadcasting control method and system
WO2014161267A1 (en) Method and device for showing poster
CN105100833A (en) Subtitle loading method and device for online playing
CN104023253A (en) Method and system for transforming one-way set-top box into two-way set-top box
CN105979256A (en) Set top box test method and system
CN105812839A (en) Video stream data acquisition method, page data transmission method, system and network server
CN104683828A (en) Method and system for distributing personalized data of set top box
CN103020847A (en) Directional advertisement and information customization service management system based on specific two-dimensional code
CN106294698A (en) A kind of generation method and device of advertistics index
US10148985B2 (en) Digital transport adapter
CN108111345A (en) A kind of visualization reverse proxy configuration and test method
CN102694965A (en) Multi-scene combined broadcast control method and system for field data
CN106792202A (en) Data of set top box adaptation method, device and system
US20170034582A1 (en) News production system with dynamic character generator output
CN106127517A (en) The update method of a kind of advertisement putting plan version and device
CN103200431B (en) A kind of interactive TV business background system content assets grouting socket implementation method
CN105744344A (en) Play control method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20181204

Termination date: 20200630

CF01 Termination of patent right due to non-payment of annual fee